/* Spec 371: the quizzes - hub, start block, rounds and results. */

.quiz-page {
    display: grid;
    gap: 1rem;
}

/* Hub */
/* Spec 398 rule 7: the demo's real h1 wears the page title's look, the h2 of .game-library-header. */
.quiz-page .game-library-header h1 {
    margin: 0 0 .25rem;
    color: var(--tt-ink);
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: .06em .06em 0 var(--tt-print);
}

@media (max-width: 768px) {
    .quiz-page .game-library-header h1 {
        font-size: 1.06rem;
        line-height: 1.2;
    }
}

.quiz-group h3 {
    margin: 0 0 .6rem;
}

/* Spec 398 rule 5: the note and its button under the demo's sample. */
.quiz-demo-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.quiz-demo-more p {
    margin: 0;
}

.quiz-hub-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: .6rem;
}

/* Spec 385: the corners are cut by the BG Stats tiles' rule in tabletop-board.css. */
.quiz-hub-item {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    padding: .75rem;
    border: 1px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    text-decoration: none;
}

/* Spec 398 rule 3: the demo's rows are to read, so only the link frames itself. */
a.quiz-hub-item:hover {
    border-color: var(--ui-accent, var(--tt-accent));
    color: var(--tt-ink);
    text-decoration: none;
}

.quiz-icon {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--tt-accent);
}

.quiz-hub-body {
    display: grid;
    flex: 1;
    gap: .25rem;
    align-content: start;
    min-width: 0;
}

.quiz-hub-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    font-family: var(--tt-font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.quiz-hub-text,
.quiz-hub-best {
    color: var(--tt-muted);
    font-size: .92rem;
}

.quiz-hub-best {
    font-weight: 600;
}

.quiz-free-mark,
.quiz-rated-mark {
    padding: .05rem .4rem;
    border: 1px solid var(--tt-line);
    color: var(--tt-muted);
    font-family: var(--tt-font-text);
    font-size: .75rem;
    font-weight: 600;
}

.quiz-rated-mark {
    border-color: var(--tt-accent);
    color: var(--tt-accent);
}

/* Start block */
.quiz-start-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.quiz-settings {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .75rem 0;
}

.quiz-setting {
    display: grid;
    gap: .25rem;
    font-weight: 600;
}

.quiz-setting select {
    min-width: 7.5rem;
}

/* The pool's options are long sentences; on a phone the select stays inside the block. */
.quiz-setting:has(.quiz-pool) {
    min-width: 0;
    max-width: 100%;
}

.quiz-setting select.quiz-pool {
    max-width: 100%;
}

/* Spec 390 rule 2: the two switches side by side at every width; a long text wraps inside its own. */
.quiz-switches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: stretch;
    gap: .5rem;
    width: 100%;
}

.quiz-switches .planner-toggle-item {
    cursor: pointer;
}

/* Spec 396 rule 3: no board yet. */
.quiz-switches .planner-toggle-item:has(input:disabled) {
    opacity: .55;
    cursor: default;
}

/* A wrapping text must not squeeze the switch. */
.quiz-switches .planner-toggle-indicator {
    flex: none;
}

.quiz-start-best {
    margin: .25rem 0 .75rem;
    color: var(--tt-muted);
    font-size: .92rem;
    font-weight: 600;
}

.quiz-message {
    color: var(--tt-danger);
    font-weight: 600;
}

/* Rule 19: the whole cover, unaltered, fitted inside its box with the remaining space filled. */
.quiz-cover {
    display: block;
    aspect-ratio: 1;
    background: var(--tt-area);
}

.quiz-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quiz-cover-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--tt-accent);
    font-family: var(--tt-font-display);
    font-size: 2.25rem;
    font-weight: 800;
}

/* A round */
.quiz-progress {
    margin: 0 0 .25rem;
    color: var(--tt-muted);
    font-weight: 600;
}

/* Focused by the page at each new step, so the heading must clear the top bar and needs no ring. */
.quiz-round-title,
.quiz-result-title {
    margin-bottom: .75rem;
    outline: none;
    scroll-margin-top: 5rem;
}

.quiz-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
}

.quiz-game {
    display: grid;
    gap: .35rem;
    align-content: start;
    min-width: 0;
    padding: .45rem;
    border: 1px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    font: inherit;
    text-align: left;
}

.quiz-game:hover {
    border-color: var(--ui-accent, var(--tt-accent));
}

/* docs/UI_GUIDELINES.md: the one selected look. */
.quiz-game.selected {
    border-color: var(--ui-accent, var(--tt-accent));
    background: var(--ui-accent-soft, var(--tt-accent-soft));
    color: var(--ui-text, var(--tt-ink));
}

.quiz-game-name {
    overflow-wrap: anywhere;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.25;
}

.quiz-round-actions {
    margin-top: .75rem;
}

/* Spec 372: a closed answer - the frame only repeats what the mark says in words. */
.quiz-game-closed {
    cursor: default;
}

.quiz-game-closed:hover {
    border-color: var(--tt-line);
}

.quiz-game-right,
.quiz-game-right:hover {
    border-color: var(--tt-ok);
}

.quiz-game-wrong,
.quiz-game-wrong:hover {
    border-color: var(--tt-danger);
}

/* Spec 397 rule 8: a game not marked is no mistake made. */
.quiz-game-missed,
.quiz-game-missed:hover {
    border-color: var(--tt-muted);
}

.quiz-mark {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .9rem;
    font-weight: 700;
}

.quiz-mark svg {
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quiz-mark-right {
    color: var(--tt-ok);
}

.quiz-mark-close {
    color: var(--tt-accent);
}

.quiz-mark-wrong {
    color: var(--tt-danger);
}

.quiz-mark-missed {
    color: var(--tt-muted);
}

.quiz-value,
.quiz-mark-detail {
    font-weight: 700;
}

/* Spec 374: a detail may be a list of long names in a narrow tile. */
.quiz-mark-detail {
    overflow-wrap: anywhere;
}

.quiz-round-score {
    margin: .6rem 0 0;
}

/* Two covers side by side, down to the narrowest phone. */
.quiz-duel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    max-width: 40rem;
}

/* One game on its own: the cover stays small enough to keep the answer in reach. */
.quiz-solo {
    display: grid;
    gap: .35rem;
    align-content: start;
    width: min(100%, 15rem);
    min-width: 0;
}

.quiz-year-answer {
    display: grid;
    gap: .6rem;
    margin-top: .75rem;
    max-width: 40rem;
}

.quiz-year-number {
    width: 7.5rem;
}

/* Tall enough for a thumb; the browser draws the track, so no surface of its own. */
.quiz-year-slider {
    width: 100%;
    height: 2.75rem;
    background: transparent;
    accent-color: var(--ui-accent, var(--tt-accent));
}

/* Blind ranking: the game beside its ten places, one above the other on a phone. */
.quiz-blind-layout {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.quiz-slots {
    display: grid;
    gap: .3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quiz-slot {
    display: flex;
    gap: .5rem;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    padding: .25rem .6rem;
    border: 1px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    font: inherit;
    text-align: left;
}

.quiz-slot-free:hover {
    border-color: var(--ui-accent, var(--tt-accent));
}

.quiz-slot:disabled {
    background: var(--tt-area);
    color: var(--tt-ink);
    opacity: 1;
}

.quiz-slot-number {
    flex: none;
    min-width: 1.75rem;
    color: var(--tt-accent);
    font-family: var(--tt-font-display);
    font-weight: 800;
}

.quiz-slot-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
    line-height: 1.25;
}

/* Result */
.quiz-score {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin: .25rem 0 .75rem;
    font-family: var(--tt-font-display);
    font-size: 1.35rem;
    font-weight: 800;
}

.quiz-new-best {
    padding: .05rem .5rem;
    border: 1px solid var(--tt-accent);
    color: var(--tt-accent);
    font-family: var(--tt-font-text);
    font-size: .9rem;
    font-weight: 700;
}

.quiz-picks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: .75rem;
    margin: .75rem 0;
    padding: 0;
    list-style: none;
}

.quiz-pick {
    display: grid;
    gap: .35rem;
    align-content: start;
    min-width: 0;
}

.quiz-pick-year {
    color: var(--tt-accent);
    font-family: var(--tt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
}

.quiz-credit {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.quiz-credit-name {
    overflow-wrap: anywhere;
    font-weight: 600;
    line-height: 1.25;
}

.quiz-credit-source {
    color: var(--tt-muted);
    font-size: .78rem;
}

.quiz-credit-people {
    overflow-wrap: anywhere;
    color: var(--tt-muted);
    font-size: .82rem;
    line-height: 1.25;
}

/* Spec 374: Game by facts - clues one under another, and the answer from names or a search. */
.quiz-clues {
    display: grid;
    gap: .35rem;
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
    outline: none;
    scroll-margin-top: 5rem;
}

.home-app-card li.quiz-clue {
    display: grid;
    gap: .1rem;
    padding: .45rem .6rem;
    border: 1px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.quiz-options,
.home-app-card ul.quiz-search-results,
.home-app-card ul.quiz-refused {
    display: grid;
    gap: .35rem;
    max-width: 40rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quiz-option {
    display: grid;
    gap: .1rem;
    width: 100%;
    min-height: 2.75rem;
    padding: .35rem .6rem;
    border: 1px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    font: inherit;
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--ui-accent, var(--tt-accent));
}

.quiz-option:disabled,
.quiz-option:disabled:hover {
    border-color: var(--tt-danger);
    background: var(--tt-area);
    color: var(--tt-ink);
    opacity: 1;
}

.quiz-option-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
    line-height: 1.25;
}

.quiz-option-aka {
    color: var(--tt-muted);
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.quiz-search {
    scroll-margin: 16px;
    display: grid;
    gap: .5rem;
    max-width: 40rem;
}

.quiz-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: flex-end;
}

.quiz-search-field {
    flex: 1 1 12rem;
    min-width: 0;
}

.quiz-search-input {
    width: 100%;
}

.quiz-search-message {
    margin: 0;
    color: var(--tt-muted);
}

.home-app-card ul.quiz-refused {
    margin-top: .5rem;
}

.home-app-card li.quiz-refused-item {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .6rem;
    align-items: center;
    padding: .35rem .6rem;
    border: 1px solid var(--tt-danger);
    background: var(--tt-area);
}

/* Spec 375: Game grid - the row's name beside its three cells; on a phone the name takes a line above them. */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
    max-width: 48rem;
}

.quiz-grid-head {
    align-self: end;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}

.quiz-grid-row {
    align-self: center;
}

.quiz-grid-cell {
    min-height: 5.5rem;
}

.quiz-grid-open {
    align-content: center;
    justify-items: center;
}

.quiz-grid-plus {
    color: var(--tt-accent);
    font-family: var(--tt-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.quiz-grid-credit {
    margin: .5rem 0 0;
}

.quiz-grid-message,
.quiz-four-message {
    margin: .6rem 0 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.quiz-grid-answer {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
}

.quiz-grid-answer-title {
    margin: 0;
    outline: none;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
    scroll-margin-top: 5rem;
}

.quiz-grid-result-cell {
    overflow-wrap: anywhere;
    color: var(--tt-accent);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}

.quiz-grid-revealed {
    color: var(--tt-muted);
    font-size: .9rem;
    font-weight: 700;
}

/* Spec 396 rule 10: more games that fit, by name. */
.quiz-grid-also-fits {
    overflow-wrap: anywhere;
    color: var(--tt-muted);
    font-size: .82rem;
    line-height: 1.25;
}

/* Spec 375: Four groups - a group set aside stands above the games still open. */
.quiz-four-group {
    margin-bottom: .75rem;
}

.quiz-four-property {
    margin: 0 0 .4rem;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

.quiz-type-text {
    margin: 0 0 .5rem;
}

@media (max-width: 767.98px) {
    .quiz-game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Three columns on most phones keep the way to Next short; the smallest take two. */
@media (max-width: 519.98px) {
    .quiz-game-grid,
    .quiz-duel {
        gap: .4rem;
    }

    .quiz-blind-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .quiz-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quiz-grid-corner {
        display: none;
    }

    .quiz-grid-row {
        grid-column: 1 / -1;
        margin-top: .35rem;
    }

    .quiz-grid-head {
        font-size: .8rem;
    }

    .quiz-solo {
        width: min(100%, 11rem);
    }

    .quiz-game {
        padding: .3rem;
    }

    .quiz-game-name {
        font-size: .82rem;
    }

    .quiz-picks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 359.98px) {
    .quiz-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Spec 389 rule 4, spec 397 rule 2: 16 games in whole rows. */
@media (min-width: 360px) and (max-width: 767.98px) {
    .quiz-save-one-grid,
    .quiz-four-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 360px) and (max-width: 519.98px) {
    .quiz-save-one-grid .quiz-game,
    .quiz-four-grid .quiz-game {
        gap: .2rem;
        padding: .2rem;
    }

    .quiz-save-one-grid .quiz-game-name,
    .quiz-four-grid .quiz-game-name,
    .quiz-four-grid .quiz-credit-name,
    .quiz-four-grid .quiz-credit-people {
        overflow-wrap: anywhere;
        font-size: .72rem;
        line-height: 1.15;
    }

    /* Spec 400: the source's longest word stays whole; the text takes the size at which it fits the tile. */
    .quiz-four-grid .quiz-credit {
        container-type: inline-size;
    }

    .quiz-four-grid .quiz-credit-source {
        overflow-wrap: normal;
        font-size: min(.72rem, 13cqi);
        line-height: 1.15;
    }
}

/* Spec 397 rule 13: at 1280 x 800 the question, both covers with their years and Next fit without a scroll. */
@media (min-width: 768px) {
    .quiz-duel {
        max-width: 32rem;
    }
}

/* Spec 389 rule 5: Next comes into view with room under it, and clear of the top bar. */
.quiz-next {
    scroll-margin-top: 5rem;
    scroll-margin-bottom: .75rem;
}

/* Spec 386 rules 19-20: the time left stays in view under the top bar while a long board scrolls. A box that hides its
   overflow would hold it to itself; clip hides the same without that. */
article.content:has(.quiz-countdown) {
    overflow: clip;
}

.quiz-countdown {
    position: sticky;
    top: 4.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: .25rem 0 .5rem;
    padding: .3rem .6rem;
    background: var(--tt-area);
    border: 1px solid var(--tt-line);
}

.quiz-countdown-number {
    min-width: 2.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.quiz-countdown-bar {
    flex: 1;
    height: .4rem;
    overflow: hidden;
    background: var(--tt-line);
}

.quiz-countdown-fill {
    display: block;
    height: 100%;
    background: var(--tt-accent);
}

.quiz-countdown-low .quiz-countdown-number {
    color: var(--tt-danger);
    font-size: 1.35rem;
    font-weight: 800;
}

.quiz-countdown-low .quiz-countdown-fill {
    background: var(--tt-danger);
}

/* The sheet of the blocks colours every paragraph in them. */
.page .home-app-card p.quiz-time-up {
    margin: .25rem 0 .5rem;
    color: var(--tt-danger);
    font-weight: 700;
}

/* Spec 387: the numbers of the rating, each with its icon. */
.quiz-rating-block {
    display: grid;
    gap: .5rem;
    justify-items: start;
}

.quiz-rating-block .game-card-btn {
    width: fit-content;
    margin: 0;
}

.quiz-rating-numbers,
.page .home-app-card p.quiz-rating-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 1.1rem;
    margin: 0;
    color: var(--tt-ink);
}

.quiz-rating-number {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.quiz-rating-lasting strong {
    font-family: var(--tt-font-display);
    font-size: 1.6rem;
    line-height: 1.1;
}

.quiz-rating-icon {
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
    color: var(--tt-accent);
}

.quiz-rating-text,
.quiz-rated-note,
.page .home-app-card p.quiz-rated-note {
    margin: 0;
    color: var(--tt-muted);
    font-size: .92rem;
}

.quiz-rated-notes {
    display: grid;
    flex-basis: 100%;
    gap: .25rem;
}

.quiz-rating-result {
    display: grid;
    gap: .4rem;
    margin-bottom: .75rem;
}

.page .home-app-card p.quiz-rating-change {
    margin: 0;
    color: var(--tt-ink);
    font-weight: 700;
}

/* Spec 430: the game of the day - one row of 8 fact tiles per guess, newest first. */
.quiz-gotd-streak,
.quiz-gotd-streak-guest,
.quiz-gotd-next,
.page .home-app-card p.quiz-gotd-streak,
.page .home-app-card p.quiz-gotd-next {
    margin: 0 0 .5rem;
    color: var(--tt-muted);
    font-weight: 600;
}

/* The hidden game's cover beside its name, once the play ends. */
.quiz-gotd-answer-row {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    margin: 0 0 .5rem;
}

.quiz-gotd-answer {
    display: grid;
    gap: .15rem;
    margin: 0;
}

.quiz-gotd-answer-name {
    overflow-wrap: anywhere;
    font-family: var(--tt-font-display);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.quiz-gotd-answer-facts {
    overflow-wrap: anywhere;
    color: var(--tt-muted);
    font-weight: 600;
}

.quiz-gotd-share-text {
    width: 100%;
    margin-top: .5rem;
    font: inherit;
    resize: vertical;
}

.quiz-gotd-rows {
    display: grid;
    gap: .75rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}

.quiz-gotd-row-name {
    margin: 0 0 .5rem;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

/* Rule 19: 4 by 2 on a phone, one row of 8 from 900 px. */
.quiz-gotd-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
}

@media (min-width: 900px) {
    .quiz-gotd-tiles {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.quiz-gotd-tile {
    display: grid;
    gap: .2rem;
    align-content: start;
    min-width: 0;
    padding: .35rem;
    border: 2px solid var(--tt-line);
    background: var(--tt-field);
    color: var(--tt-ink);
    hyphens: auto;
}

.quiz-gotd-tile-right {
    border-color: var(--tt-ok);
}

.quiz-gotd-tile-close {
    border-color: var(--tt-accent);
}

.quiz-gotd-tile-wrong {
    border-color: var(--tt-danger);
}

.quiz-gotd-tile-unknown {
    border-style: dashed;
    border-color: var(--tt-muted);
}

.quiz-gotd-tile-title {
    overflow-wrap: anywhere;
    color: var(--tt-muted);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
}

.quiz-gotd-tile-value {
    overflow-wrap: anywhere;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}

.quiz-gotd-tile .quiz-mark,
.quiz-gotd-direction {
    display: inline-flex;
    align-items: flex-start;
    gap: .2rem;
    overflow-wrap: anywhere;
    font-size: .72rem;
    line-height: 1.2;
}

.quiz-gotd-direction {
    font-weight: 700;
}

.quiz-gotd-tile .quiz-mark span,
.quiz-gotd-direction span {
    min-width: 0;
}

.quiz-mark-unknown {
    color: var(--tt-muted);
}

.quiz-gotd-direction svg {
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quiz-gotd-common,
.page .home-app-card p.quiz-gotd-common {
    margin: .5rem 0 0;
    overflow-wrap: anywhere;
    font-size: .88rem;
}

/* Four narrow tiles on a phone: a smaller hand, so a word breaks only where it has to. */
@media (max-width: 479px) {
    .quiz-gotd-tiles {
        gap: .25rem;
    }

    .quiz-gotd-tile {
        padding: .25rem .2rem;
    }

    .quiz-gotd-tile-title,
    .quiz-gotd-tile .quiz-mark,
    .quiz-gotd-direction {
        gap: .1rem;
        font-size: .62rem;
    }

    .quiz-gotd-tile-value {
        font-size: .78rem;
    }

    .quiz-gotd-tile .quiz-mark svg,
    .quiz-gotd-direction svg {
        width: 10px;
        height: 10px;
    }
}
