/* Self-hosted, so no visit goes to a font CDN. Both fonts are SIL OFL. */
@font-face { font-family: Onest; font-weight: 500 800; font-display: swap; src: url(../fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Onest; font-weight: 500 800; font-display: swap; src: url(../fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-weight: 800; font-display: swap; src: url(../fonts/unbounded-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Unbounded; font-weight: 800; font-display: swap; src: url(../fonts/unbounded-800-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

/* PeepMe colours: aktsent #c2571f, ink #12211f, soe #f5f2ec. */
:root {
    --accent: #c2571f;
    --accent-edge: #8a3a12;
    --bg: #f5f2ec;
    --surface: #ffffff;
    --ink: #12211f;
    --muted: #4a5654;
    --bar: #12211f;
    --bar-ink: #ffffff;
    --frame: #12211f;
    --line: #e2dcd0;
    --dash: #d3cbbc;
    --mystery: #a69d8c;
    --tile-off: #efeae0;
    --tile-off-ink: #8f8676;
    --listen: #12211f;
    --listen-ink: #ffffff;
    --chip: #ffffff;
    --chip-ink: #12211f;
    --belt-knot: #9a4214;
    --belt-todo: #e2dcd0;
    --belt-now: #ffffff;
    --belt-now-edge: #12211f;
    /* Room the browser's own bar takes at the bottom: the home indicator, or iOS 26 Safari's floating bar. */
    --bottom-bar: env(safe-area-inset-bottom);
    --display: Unbounded, "Arial Black", system-ui, sans-serif;
    color-scheme: light;
    font-family: Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 500;
    color: var(--ink);
    background: var(--bg);
}

/* Dark: the phone's setting until the child taps the toggle, then that choice. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --accent-edge: #6e2e0c; --bg: #121413; --surface: #1e2321; --ink: #f5f2ec; --muted: #a7aeaa;
        --bar: #0a0c0b; --bar-ink: #f5f2ec; --frame: #000000; --line: #2a302e; --dash: #3a413e;
        --mystery: #6f7774; --tile-off: #1a1e1c; --tile-off-ink: #6f7774; --listen: #f5f2ec; --listen-ink: #12211f;
        --chip: #f5f2ec; --chip-ink: #12211f; --belt-knot: #e2804a; --belt-todo: #2a302e; --belt-now: #121413; --belt-now-edge: #f5f2ec;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --accent-edge: #6e2e0c; --bg: #121413; --surface: #1e2321; --ink: #f5f2ec; --muted: #a7aeaa;
    --bar: #0a0c0b; --bar-ink: #f5f2ec; --frame: #000000; --line: #2a302e; --dash: #3a413e;
    --mystery: #6f7774; --tile-off: #1a1e1c; --tile-off-ink: #6f7774; --listen: #f5f2ec; --listen-ink: #12211f;
    --chip: #f5f2ec; --chip-ink: #12211f; --belt-knot: #e2804a; --belt-todo: #2a302e; --belt-now: #121413; --belt-now-edge: #f5f2ec;
    color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
[hidden] { display: none !important; }
.icon { width: 1.4em; height: 1.4em; flex: none; }
/* iOS 26 Safari: its bar is ~45 pt tall and floats over the page above the home indicator. */
:root.floating-bar { --bottom-bar: max(5.5rem, calc(env(safe-area-inset-bottom) + 3.6rem)); }
/* No double-tap zoom anywhere (iOS zooms on a quick second tap outside buttons); pinch zoom stays. */
html { touch-action: manipulation; }
button { font: inherit; color: inherit; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.top {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: max(.75rem, env(safe-area-inset-top)) 1rem .75rem;
    background: var(--bar); color: var(--bar-ink);
}
.brand {
    display: flex; align-items: center; gap: .6rem; min-width: 0;
    color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.1rem; white-space: nowrap;
}
.brand-mark {
    width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0 46%, var(--bar-ink) 48%);
}
.top-actions {
    display: flex; align-items: center; gap: .25rem; padding: .25rem;
    border-radius: 999px; background: rgb(255 255 255 / .1);
}
.top nav { display: flex; gap: .25rem; }
.top nav a, .theme-toggle {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    min-width: 2.75rem; height: 2.75rem; padding: 0 .65rem; border-radius: 999px; border: 0;
    color: var(--bar-ink); background: transparent; text-decoration: none; font-weight: 800; cursor: pointer;
}
.top nav a.active { background: var(--accent); color: #fff; }
.top nav .icon, .theme-toggle .icon { width: 1.35rem; height: 1.35rem; }
.theme-toggle { box-shadow: inset 1px 0 0 rgb(255 255 255 / .2); border-radius: 0 999px 999px 0; }
.theme-toggle .icon-sun { display: none; color: #ffd27a; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
/* Language: ET / RU / EN behind one button, so the phone header keeps its size. */
.lang-switch { position: relative; }
.lang-switch summary {
    display: flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .55rem;
    list-style: none; cursor: pointer; font-weight: 800; font-size: .85rem; letter-spacing: .04em; color: var(--bar-ink);
    box-shadow: inset 1px 0 0 rgb(255 255 255 / .2);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul {
    position: absolute; right: 0; top: calc(100% + .5rem); z-index: 10; margin: 0; padding: .35rem; list-style: none;
    min-width: 9rem; border-radius: 1rem; background: var(--surface); box-shadow: 0 10px 30px rgb(0 0 0 / .25);
}
.lang-switch a {
    display: block; padding: .7rem .9rem; border-radius: .7rem; color: var(--ink); text-decoration: none; font-weight: 700;
}
.lang-switch a.active { background: var(--accent); color: #fff; }
/* On a phone the nav is icons only; the label stays for screen readers. */
@media (max-width: 699px) {
    .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .top nav a { padding: 0; }
    /* A longer name ("Броски дзюдо") breaks onto two lines instead of being cut off. */
    .brand { white-space: normal; line-height: 1.05; }
}

main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: .75rem 1rem 1.25rem; }
.credit { text-align: center; font-size: .85rem; color: var(--muted); padding: 0 1rem calc(1.1rem + var(--bottom-bar)); }
.credit a { color: inherit; text-underline-offset: .15em; }

/* Phone: belts above the clip, the rest below it. */
@media (max-width: 899px) {
    .play-area { display: flex; flex-direction: column; }
    .panel { display: contents; }
    .status { order: -1; }
}

/* Belts: one per throw. */
.status { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.games-back {
    flex: none; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
    border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.games-back .icon { width: 1.4rem; height: 1.4rem; }
.stars {
    flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .8rem .3rem .45rem;
    border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.stars .icon, .done-stars .icon { width: 1.5rem; height: 1.5rem; color: #ffd27a; }
.belts { flex: 1; display: flex; gap: 4px; min-height: 22px; min-width: 0; }
.belt { position: relative; flex: 0 1 30px; min-width: 10px; height: 20px; }
.belt::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 7px; border-radius: 2px; background: var(--belt-todo); }
.belt::after { content: ""; position: absolute; left: 50%; top: 2px; width: 8px; height: 13px; margin-left: -4px; border-radius: 2px; background: var(--belt-todo); }
.belt.seen::before { background: var(--accent); }
.belt.seen::after { background: var(--belt-knot); }
.belt.now::before, .belt.now::after { background: var(--belt-now); box-shadow: inset 0 0 0 2px var(--belt-now-edge); }

/* Clip: 4:3 centre crop of the 16:9 clips, in a frame. */
.stage { position: relative; padding: 8px; border-radius: 26px; background: var(--frame); }
.stage video {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 19px; background: #000; cursor: pointer;
}
.play-overlay {
    position: absolute; inset: 0; margin: auto; width: 5.5rem; height: 5.5rem;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer;
    box-shadow: 0 6px 0 var(--accent-edge);
}
.play-overlay .icon { width: 2.6rem; height: 2.6rem; margin-left: .3rem; }
.replay {
    position: absolute; right: 18px; bottom: 18px; width: 3.5rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: var(--chip); color: var(--chip-ink); cursor: pointer;
    box-shadow: 0 2px 6px rgb(0 0 0 / .25);
}
.replay .icon { width: 1.75rem; height: 1.75rem; }

/* Name card: a dashed "?" until the answer, then the name. */
.name-card {
    display: flex; align-items: center; justify-content: center; height: 4.25rem; margin-top: .75rem; padding: .5rem 1rem;
    border-radius: 22px; background: var(--surface); text-align: center;
}
.name-card:has(.mystery:not([hidden])) { background: transparent; box-shadow: inset 0 0 0 3px var(--dash); }
@supports not selector(:has(*)) { .name-card { box-shadow: inset 0 0 0 3px var(--dash); } }
.mystery { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--mystery); }
.answer-name {
    margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.1;
    font-size: clamp(1.4rem, 7vw, 2.4rem); color: var(--ink); overflow-wrap: anywhere; animation: pop .35s ease-out;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Two big tiles. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    min-height: 9.4rem; padding: 1rem .5rem; border: 0; border-radius: 28px; cursor: pointer;
    font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.1;
}
.tile .icon { width: 3.5rem; height: 3.5rem; }
.tile:active { transform: translateY(3px); }
.tile-go { background: var(--accent); color: #fff; box-shadow: 0 6px 0 var(--accent-edge); }
.tile-go:active { box-shadow: 0 3px 0 var(--accent-edge); }
.tile-listen { background: var(--listen); color: var(--listen-ink); }
.tile-listen:disabled { background: var(--tile-off); color: var(--tile-off-ink); box-shadow: inset 0 0 0 3px var(--line); cursor: default; transform: none; }
.tile-wide { width: 100%; max-width: 22rem; min-height: 6rem; flex-direction: row; gap: .75rem; font-size: 1.2rem; }
.tile-wide .icon { width: 2.2rem; height: 2.2rem; }

.done { text-align: center; padding: 2rem 0; display: flex; flex-direction: column; align-items: center; }
.done-title { font-family: var(--display); font-weight: 800; font-size: 3rem; margin: 1rem 0 0; color: var(--accent); }
.done p { font-size: 1.15rem; }
.empty { text-align: center; color: var(--muted); margin-top: 3rem; }
.done-stars { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.2rem .5rem .8rem; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.done-stars .icon { width: 2rem; height: 2rem; }
.done-actions { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1rem; }

/* Pick the throws you know, and choose a game. */
.screen-title {
    display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .25rem 0 1rem;
    font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 5vw, 1.8rem); text-align: center;
}
.screen-title .icon { width: 1.6em; height: 1.6em; padding: .3em; border-radius: 50%; background: var(--accent); color: #fff; }
.pick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pick {
    position: relative; width: 100%; display: flex; flex-direction: column; gap: .45rem; padding: .45rem .45rem .7rem;
    border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: center;
    box-shadow: inset 0 0 0 3px transparent; transition: box-shadow .15s;
}
.pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; filter: grayscale(.6); opacity: .75; transition: filter .15s, opacity .15s; }
.pick-name { font-family: var(--display); font-weight: 800; font-size: .85rem; line-height: 1.15; overflow-wrap: anywhere; }
.pick-mark {
    position: absolute; top: .2rem; right: .2rem; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--surface); color: transparent; box-shadow: inset 0 0 0 3px var(--dash);
}
.pick-mark .icon { width: 1.5rem; height: 1.5rem; }
.pick.on { box-shadow: inset 0 0 0 4px var(--accent); }
.pick.on img { filter: none; opacity: 1; }
.pick.on .pick-mark { background: var(--accent); color: #fff; box-shadow: none; }
.pick-bar {
    position: sticky; bottom: 0; display: flex; align-items: center; gap: .75rem; margin: 1rem -1rem 0; padding: .75rem 1rem calc(.75rem + var(--bottom-bar));
    background: var(--bg); box-shadow: 0 -1px 0 var(--line);
}
.pick-bar .tile-wide { flex: 1; min-height: 4.5rem; max-width: none; }
.tile-go:disabled { background: var(--tile-off); color: var(--tile-off-ink); box-shadow: inset 0 0 0 3px var(--line); cursor: default; transform: none; }
.chip-button {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 3rem; padding: 0 1.1rem; border: 0; border-radius: 999px;
    background: var(--surface); color: var(--ink); font-weight: 800; font-size: 1rem; cursor: pointer; white-space: nowrap;
}
.chip-button .icon { width: 1.3rem; height: 1.3rem; }
.mode-tiles .tile { min-height: 13rem; font-size: 1.15rem; }
.mode-tiles .tile .icon { width: 4.5rem; height: 4.5rem; }
.chip-edit { display: flex; margin: 1.5rem auto 0; }

/* Vööeksam: the belt's own colour, so a child finds "their" belt without reading. */
.belt-yellow { --belt-color: #f5c518; --belt-edge: #b58f00; }
.belt-orange { --belt-color: #f28a1e; --belt-edge: #b35f08; }
.exam-title { margin: 2rem 0 .75rem; text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.exam-belts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.belt-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 7.5rem; padding: .75rem .5rem;
    border: 0; border-radius: 24px; cursor: pointer; background: var(--belt-color); color: #12211f; box-shadow: 0 6px 0 var(--belt-edge);
    font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.1;
}
/* The belt in its own colour on a white disc: white-on-yellow would read as a white belt. */
.belt-tile .icon { width: 3.8rem; height: 3.8rem; padding: .45rem; border-radius: 50%; background: #fff; color: var(--belt-color); }
.belt-tile:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--belt-edge); }
.belt-title .icon { background: #fff; color: var(--belt-color); box-shadow: inset 0 0 0 3px var(--belt-color); }
.exam-order { margin: -.5rem 0 .75rem; text-align: center; color: var(--muted); font-weight: 700; }
.exam-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.exam-item {
    width: 100%; display: flex; align-items: center; gap: .7rem; padding: .45rem .6rem .45rem .45rem;
    border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left;
}
.exam-number {
    display: none; flex: none; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--belt-color); color: #12211f; font-family: var(--display); font-weight: 800; font-size: 1.15rem;
}
.exam-list.ordered .exam-number { display: flex; }
.exam-item img { width: 5.5rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; }
.exam-name { flex: 1; min-width: 0; font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.15; overflow-wrap: anywhere; }
.exam-speaker { flex: none; display: flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--listen); color: var(--listen-ink); }
.exam-speaker .icon { width: 1.3rem; height: 1.3rem; }

/* Vali õige */
.choices { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.choice { display: flex; gap: .5rem; }
.choice-pick {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; min-height: 4.25rem; padding: .5rem 1rem;
    border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left;
    font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.15; box-shadow: inset 0 0 0 3px var(--line);
}
.choice-name { overflow-wrap: anywhere; }
.choice-mark { display: none; flex: none; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center; border-radius: 50%; }
.choice-mark .icon { width: 1.4rem; height: 1.4rem; }
.choice-say {
    flex: none; width: 4.25rem; display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 20px; background: var(--listen); color: var(--listen-ink); cursor: pointer;
}
.choice-say .icon { width: 1.9rem; height: 1.9rem; }
.choice.right .choice-pick { background: var(--accent); color: #fff; box-shadow: 0 5px 0 var(--accent-edge); }
.choice.right .choice-right { display: flex; background: #fff; color: var(--accent); }
.choice.wrong .choice-pick { background: var(--tile-off); color: var(--tile-off-ink); box-shadow: inset 0 0 0 3px var(--line); text-decoration: line-through; animation: shake .35s; }
.choice.wrong .choice-wrong { display: flex; background: var(--tile-off-ink); color: var(--tile-off); }
.choice-pick:disabled { cursor: default; }
.choice-next { width: 100%; max-width: none; margin-top: .9rem; min-height: 4.75rem; scroll-margin-bottom: calc(var(--bottom-bar) + 1rem); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
@media (prefers-reduced-motion: reduce) { .choice.wrong .choice-pick, .answer-name { animation: none; } }

/* Kõik heited list */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.list-item {
    width: 100%; display: flex; align-items: center; gap: .9rem; padding: .6rem;
    border-radius: 20px; background: var(--surface); color: inherit; text-decoration: none;
}
.list-item img { width: 6.5rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; flex: none; }
.list-item span { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.list-item strong { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.list-item small { color: var(--muted); font-size: .95rem; }
.list-item .chevron {
    flex: none; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
    border-radius: 50%; background: var(--accent); color: #fff;
}
.list-item .chevron .icon { width: 1.2rem; height: 1.2rem; margin-left: .15rem; }

.back {
    display: inline-flex; align-items: center; gap: .3rem; margin: -.25rem 0 .75rem; padding: .5rem .9rem .5rem .5rem;
    border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 800; font-size: 1.05rem; text-decoration: none;
}
.detail .answer-name { animation: none; }
/* Long names (Sasae-tsurikomi-ashi) get a smaller size, so the card and the tiles under it never move. */
.answer-name.long { font-size: 1.15rem; line-height: 1.15; }

/* Computer: clip on the left, everything to tap on the right, all on one screen. */
@media (min-width: 900px) {
    .top { padding: 0 3rem; min-height: 4.9rem; }
    .brand { font-size: 1.5rem; gap: .75rem; }
    .brand-mark { width: 2.5rem; height: 2.5rem; }
    .top nav a { padding: 0 1.3rem; }
    main { max-width: 1200px; padding: 1.5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
    .play-area { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 476px); justify-content: center; align-items: center; gap: 2.75rem; }
    .stage { padding: 10px; border-radius: 30px; }
    .stage video { border-radius: 21px; }
    .replay { width: 4rem; height: 4rem; right: 24px; bottom: 24px; }
    .status { margin-bottom: 1.1rem; }
    .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .pick-name { font-size: 1rem; }
    .pick-bar { margin: 1.25rem 0 0; border-radius: 24px; padding: .75rem; background: var(--surface); box-shadow: none; }
    .pick-bar .chip-button { background: var(--bg); }
    .mode-tiles { max-width: 760px; margin: 0 auto; width: 100%; }
    .mode-tiles .tile { min-height: 17rem; font-size: 1.5rem; }
    .exam-belts, .exam-list { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; }
    .exam-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .belt-tile { min-height: 8.5rem; font-size: 1.25rem; }
    .choice-pick { min-height: 4.5rem; font-size: 1.3rem; }
    .name-card { margin-top: 0; height: 6.25rem; border-radius: 26px; }
    .mystery { font-size: 3rem; }
    .answer-name { font-size: clamp(1.8rem, 3vw, 2.5rem); }
    .answer-name.long { font-size: 1.75rem; }
    .tiles { gap: 1rem; margin-top: 1.1rem; }
    .tile { min-height: 12.25rem; border-radius: 32px; font-size: 1.25rem; }
    .tile .icon { width: 4.2rem; height: 4.2rem; }
    .tile.tile-wide { min-height: 5.25rem; }
    .tile.tile-wide .icon { width: 2.4rem; height: 2.4rem; }
    .pick-bar .tile.tile-wide { min-height: 4.5rem; }
    main:has([data-list]:not([hidden])) { justify-content: flex-start; }
    .list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; width: 100%; }
    .detail { width: 100%; }
}
