html,
body {
    font-family: "Roboto", sans-serif;
    background-color: #f0f0f0;
    max-width: 100vw;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body {
    font-family: "Roboto", sans-serif;
    background-color: #f0f0f0;
    max-width: 100vw;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

input,
p,
button,
form {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.token {
    align-self: stretch;
}

.token,
input[type="number"] {
    font-size: 40vmin;
    flex: 2;
    border: none;
    display: flex;
    caret-color: transparent;
    appearance: none;
    text-align: center;
    align-self: stretch;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    /* Hide the spin buttons in WebKit-based browsers */
    -webkit-appearance: none;
    margin: 0;
}

input[type="text"] {
    font-size: 48px;
    flex: 0.4;
    border: none;
    display: flex;
    caret-color: transparent;
    appearance: none;
    text-align: center;
    align-self: stretch;
}

button {
    display: flex;
    flex: 1;
    min-width: 3vw;
    min-height: 10vh;
    cursor: pointer;
    font-size: 10vmin;
}

.status {
    font-size: 85vmin;
    text-align: center;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.controls {
    display: flex;
    flex: 1;
    align-self: stretch;
    flex-direction: row;
    align-items: stretch;
}

@media (max-width: 800px) {
    .controls {
        flex-direction: column-reverse;
    }
    body {
        background-color: #ccc;
    }
}
.loading {
    /* spin forever */
    animation: spin 1s infinite linear;
}
.mood-mod-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(10em, 1fr));
    gap: 1em;
    padding: 1em;
    flex: 1;
    min-width: 22em;
}

.mood-mod {
    min-width: 10em;
    min-height: 15em;
    cursor: pointer;
    flex: 1;
}

.mood-mod.selected {
    outline: 0.5em dotted #000;
    filter: brightness(0.45);
}
