:root {
  --ink: #0F2A43; --ink-2: #3B536B; --glacier: #E8F4FA; --ice: #BFE3F2; --snow: #fff;
  --orange: #FF8A1F; --orange-d: #E06F00; --blue: #1F6FD6; --blue-d: #1757AB;
  --green: #2F9E57; --green-d: #23803f; --red: #D64545; --rock: #5E6E80; --line: #d3e4ee;
  --radius: 18px; --shadow: 0 6px 24px rgba(15, 42, 67, .12);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: linear-gradient(180deg, #dff0f9 0%, #f5fbfe 320px); min-height: 100vh; line-height: 1.45; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; }
h2 { font-size: 1.35rem; font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 .8em; }
a { color: var(--blue); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--ink-2); font-size: .92rem; }
.grow { flex: 1; }
.center { text-align: center; }

/* ---------- sahifa ---------- */
.page { max-width: 1180px; margin: 0 auto; padding: 16px 16px 48px; }
.page.narrow { max-width: 520px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; max-width: 1180px; margin: 0 auto; }
.page > .bar { padding: 0 0 14px; }
.brand-sm { font-weight: 900; text-decoration: none; color: var(--ink); margin-right: 6px; }
.back { display: inline-block; margin-bottom: 12px; text-decoration: none; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--snow); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.chip.link { cursor: pointer; text-decoration: none; color: var(--ink); }
.chip.link:hover { background: var(--glacier); }
.chip-code { letter-spacing: .12em; background: var(--ink); color: #fff; border-color: var(--ink); font-family: ui-monospace, Menlo, Consolas, monospace; }
.chip-warn { background: #fff3cd; border-color: #f0d37a; }
.chip[data-s="running"] { background: #dff6e8; border-color: #9bd8b3; }
.chip[data-s="paused"] { background: #fff3cd; border-color: #f0d37a; }
.chip[data-s="finished"] { background: #e9e6ff; border-color: #c4bdf5; }

/* ---------- tugmalar, shakllar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 14px; font-weight: 800; text-decoration: none; cursor: pointer; color: #fff; background: var(--blue); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .18); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn-orange { background: var(--orange); color: #2b1600; }
.btn-blue { background: var(--blue); }
.btn-green { background: var(--green); }
.btn-red { background: var(--red); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn-lg { min-height: 56px; font-size: 1.1rem; width: 100%; }
.btn-xl { min-height: 72px; font-size: 1.3rem; width: 100%; border-radius: 18px; }
.linklike { background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; padding: 8px 0; text-align: left; }
.linklike.danger { color: var(--red); margin-top: 16px; }
.card { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.field > span { font-size: .92rem; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 214, .2); }
.input:disabled { background: #f0f4f7; }
.code-input { text-align: center; font-size: 1.8rem; letter-spacing: .3em; font-weight: 900; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }
.form-error { color: var(--red); font-weight: 700; min-height: 1.2em; margin: 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row .input { flex: 1; min-width: 160px; }
.row2 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.two-col { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 20px; align-items: start; }
/* til tanlagich */
.lang-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 700; transition: border-color .15s, background .15s; }
.lang-opt b { font-size: 1.1rem; letter-spacing: .06em; color: var(--blue); }
.lang-opt span { font-size: .85rem; color: var(--ink-2); }
.lang-opt:hover:not(:disabled) { border-color: var(--blue); }
.lang-opt.on { border-color: var(--orange); background: #fff2e2; box-shadow: 0 0 0 3px rgba(255, 138, 31, .28); }
.lang-opt.on b { color: var(--orange-d); }
.lang-opt:disabled { opacity: .6; cursor: wait; }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.avatar-opt { font-size: 1.7rem; height: 56px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.avatar-opt.on { border-color: var(--orange); background: #fff2e2; box-shadow: 0 0 0 3px rgba(255, 138, 31, .3); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; transition: .25s; z-index: 50; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--green-d); } .toast.bad { background: var(--red); } .toast.warn { background: #8a5a00; }

/* ---------- bosh sahifa ---------- */
.home { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 520px); gap: 32px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 24px 16px; min-height: 100vh; }
.home-copy .kicker { font-weight: 800; color: var(--orange-d); margin-bottom: 6px; }
.home-copy h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34ch; }
.choices { display: grid; gap: 14px; margin-top: 24px; }
.home-stage { order: -1; }

/* ---------- tog' sahnasi ---------- */
.scene-wrap { width: 100%; aspect-ratio: 1 / 1; max-height: calc(100vh - 110px); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #9fd0ee; margin: 0 auto; }
.scene { display: block; width: 100%; height: 100%; }
.scene .cloud ellipse { fill: #fff; opacity: .95; }
.scene .route { fill: none; stroke: #E0394A; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.scene .marker circle { fill: #E0394A; stroke: #fff; stroke-width: 2; }
.scene .marker .dot { fill: #fff; stroke: none; }
.scene .card-lbl { filter: drop-shadow(0 2px 3px rgba(15, 42, 67, .22)); }
.scene .card-lbl rect { fill: #fff; }
.scene .lbl-line { stroke: #8fb0d6; stroke-width: 1.5; }
.scene .lbl-t { font: 800 13px var(--font); fill: #3A6DB5; letter-spacing: .02em; }
.scene .lbl-s { font: 700 12px var(--font); fill: #5b7fb0; }
.scene .pole { stroke: #4b5563; stroke-width: 4; }
.scene .pennant { fill: #FFC31F; }
.climber { transition: transform 1.3s cubic-bezier(.22, .8, .3, 1); }
.climber .disc { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.climber.me .disc { stroke: var(--orange); stroke-width: 4; }
.climber.summit .disc { fill: #FFE08A; }
.climber .emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.climber .nm { font: 800 11px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.climber .alt { font: 700 10px var(--font); fill: var(--ink-2); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.cam-btn { display: block; margin: 10px auto 0; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; }

/* ---------- o'yin sahifasi ---------- */
.play-grid { display: grid; grid-template-columns: minmax(300px, 500px) 1fr; gap: 20px; align-items: start; }
.stage { position: sticky; top: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.stat { background: var(--glacier); border-radius: 14px; padding: 10px 12px; }
.stat-v { font-weight: 900; font-size: 1.25rem; }
.stat-l { font-size: .8rem; color: var(--ink-2); font-weight: 700; }
.progress { height: 12px; border-radius: 999px; background: var(--glacier); margin-top: 12px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--orange)); border-radius: 999px; transition: width 1.2s cubic-bezier(.22, .8, .3, 1); }
.banner { padding: 12px 16px; border-radius: 14px; font-weight: 800; margin-bottom: 14px; }
.banner-win { background: #FFE9A8; } .banner-pause { background: #fff3cd; }
.wait { text-align: center; } .wait-emoji { font-size: 3rem; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person { background: var(--glacier); border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.person.me { background: #ffe2c0; }

/* krossvord (pergament uslubi) */
.cw-holder, .cw-preview { margin: 6px 0 14px; }
.parch { position: relative; margin: 38px 0 14px; padding: 58px 30px 34px; background: radial-gradient(circle at 50% 25%, #fff4cc, #f6e1a0); border: 6px solid #e6b86a; border-radius: 28px; box-shadow: var(--shadow), inset 0 0 0 3px #fadb92; }
.parch .leaf-t, .parch .leaf-b, .parch .leaf-l, .parch .leaf-r { position: absolute; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 19C3 8 10 3 19 3 19 12 14 19 3 19Z' fill='%2344a84b'/%3E%3Cpath d='M3 19L14 8' stroke='%23267a2f' stroke-width='1.3' fill='none'/%3E%3C/svg%3E"); }
.parch .leaf-t, .parch .leaf-b { left: 18px; right: 18px; height: 20px; background-repeat: repeat-x; background-size: 22px 20px; }
.parch .leaf-t { top: 8px; } .parch .leaf-b { bottom: 8px; }
.parch .leaf-l, .parch .leaf-r { top: 38px; bottom: 38px; width: 20px; background-repeat: repeat-y; background-size: 20px 22px; }
.parch .leaf-l { left: 8px; } .parch .leaf-r { right: 8px; }
.ribbon { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); min-width: 230px; padding: 8px 40px 10px; text-align: center; color: #fff; font: 900 1.6rem var(--font); background: linear-gradient(#92d65b, #4ea531); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); text-shadow: 0 2px 0 #2d6a1d, 0 0 6px #2d6a1d; }
.parch-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 8px; }
.timer { background: linear-gradient(#ffc640, #f48a00); border: 3px solid #fff1c4; border-radius: 14px; color: #fff; font: 900 1.25rem var(--font); padding: 2px 18px; text-shadow: 0 1px 0 #b05a00; font-variant-numeric: tabular-nums; }
.found { justify-self: end; text-align: right; color: #1d4fb3; font-weight: 900; line-height: 1.1; font-size: .95rem; }
.found-n { font-size: 1.3rem; }
.cw { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px; width: 100%; max-width: calc(var(--cols) * 54px); margin: 10px auto; }
.cw-void { aspect-ratio: 1; }
.cw-cell { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 7px; cursor: pointer; display: grid; place-items: center; background: linear-gradient(#7d4623, #4b250f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 2px 0 #2a1306; }
.cw-ch { font-weight: 900; font-size: clamp(.8rem, 3.4vw, 1.4rem); color: #fff6dc; }
.cw-cell.revealed { background: linear-gradient(#fff7de, #f0d99b); box-shadow: inset 0 2px 0 #fff, 0 2px 0 #b58a3c; }
.cw-cell.revealed .cw-ch { color: #3b2410; }
.cw-cell.solved { background: linear-gradient(#3fdcad, #0f9f7a); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 2px 0 #0a6b52; }
.cw-cell.solved .cw-ch { color: #0b1b17; }
.cw-cell.sel { outline: 3px solid var(--orange); outline-offset: 1px; z-index: 1; }
.cw-num { position: absolute; top: 1px; left: 3px; font-size: .6rem; font-weight: 800; color: #f6d99a; }
.cw-cell.revealed .cw-num { color: #8a6a2c; }
.cw-cell.solved .cw-num { color: #08463a; }
.cw-icons { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.cw-icon { background: none; border: 0; padding: 0; cursor: pointer; font-size: clamp(1.1rem, 4.6vw, 2rem); line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; transition: transform .15s; }
.cw-icon.small { font-size: clamp(.7rem, 2.6vw, 1.1rem); }
.cw-icon:hover { transform: scale(1.15); }
.cw-icon.sel { filter: drop-shadow(0 0 5px var(--orange)); transform: scale(1.15); }
.btn-wood { min-height: 54px; padding: 6px 26px; border: 5px solid #c9ced5; border-radius: 10px; cursor: pointer; color: #fff; font: 900 1.2rem var(--font); text-shadow: 0 2px 0 #3d1f0a, 0 0 4px #3d1f0a;
  background: radial-gradient(circle at 7px 7px, #eef1f4 0 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 7px) 7px, #eef1f4 0 2.5px, transparent 3px), radial-gradient(circle at 7px calc(100% - 7px), #eef1f4 0 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), #eef1f4 0 2.5px, transparent 3px), linear-gradient(#aa6c31, #74411c);
  box-shadow: 0 3px 0 #555d66, inset 0 0 0 2px #5a3213; }
.btn-wood:active { transform: translateY(2px); box-shadow: 0 1px 0 #555d66, inset 0 0 0 2px #5a3213; }
.btn-wood:disabled { opacity: .55; cursor: not-allowed; }
.parch .q-text { color: #4b250f; }
.parch .input { border-color: #d9a85a; background: #fffaf0; }
.parch .feedback.ok { color: #0f7a5a; }
.paw { position: absolute; bottom: 16px; font-size: 1.7rem; filter: brightness(0); opacity: .8; pointer-events: none; }
.paw-l { left: 22px; transform: rotate(-25deg); } .paw-r { right: 22px; transform: rotate(20deg); }
.clues { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clue-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.clue { display: flex; gap: 8px; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.clue.on { border-color: var(--orange); background: #fff7ec; }
.clue.done { background: #eef9f2; border-color: #b7e3c6; }
.clue-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #f6e2a2; display: grid; place-items: center; font-size: 1.1rem; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.clue.done .clue-n { background: #bff0dc; }
.clue-t { font-size: .92rem; } .clue-t small { color: var(--ink-2); } .clue-t em { font-style: normal; font-weight: 800; }
.tclue { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.answer-form { margin-top: 14px; display: grid; gap: 10px; }
.q-text { white-space: pre-line; font-weight: 800; font-size: 1.05rem; }
.answer { font-size: 1.15rem; }
.feedback { min-height: 1.4em; font-weight: 800; }
.feedback.ok { color: var(--green-d); } .feedback.bad { color: var(--red); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* podium */
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 8px; max-width: 420px; margin: 12px auto 0; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pod-avatar { font-size: 2.2rem; } .pod-name { font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .pod-m { font-size: .8rem; color: var(--ink-2); font-weight: 700; margin-bottom: 4px; }
.pod-block { width: 100%; display: grid; place-items: center; font-weight: 900; font-size: 1.8rem; color: #fff; border-radius: 12px 12px 0 0; }
.pod-1 .pod-block { height: 120px; background: linear-gradient(#FFB938, #E08A00); }
.pod-2 .pod-block { height: 88px; background: linear-gradient(#aebdca, #7c8b99); }
.pod-3 .pod-block { height: 64px; background: linear-gradient(#d99a63, #b0703a); }
.pod.empty .pod-block { opacity: .35; }
.review { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.result-card h3 { margin-bottom: 10px; }

/* o'qituvchi */
.games { display: grid; gap: 10px; }
.game-row { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--ink); box-shadow: var(--shadow); }
.game-row:hover { border-color: var(--blue); }
.game-main { flex: 1; min-width: 0; text-decoration: none; color: inherit; padding: 2px 0; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .88rem; border-radius: 12px; }
.words { display: grid; gap: 10px; margin: 12px 0; }
.word-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto 2.2fr 1.4fr auto; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; color: var(--red); }
.totals { font-weight: 800; color: var(--ink-2); }
.notice { background: #fff3cd; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.lobby-hero { text-align: center; padding: 20px 0; }
.big-code { font: 900 clamp(3rem, 14vw, 6.5rem)/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .18em; padding-left: .18em; color: var(--ink); background: #fff; border-radius: 24px; display: inline-block; padding: 14px 28px; box-shadow: var(--shadow); margin: 6px 0 12px; }
.lan-box { margin: 6px 0 12px; }
.lan-url { display: inline-block; font: 900 clamp(1.3rem, 5vw, 2rem) ui-monospace, Menlo, Consolas, monospace; background: var(--ink); color: #fff; padding: 8px 18px; border-radius: 14px; margin: 4px 0; }
.help { text-align: left; max-width: 640px; margin: 8px auto 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.help summary { cursor: pointer; font-weight: 800; }
.help ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }
.next-game { background: #fff3d6; border-color: #f3c46b; }
.next-game h3 { margin-bottom: 12px; }
.bar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.bar-actions h1 { margin: 0; font-size: 1.6rem; }
.lb-row { display: grid; grid-template-columns: 28px 30px 1fr auto; grid-template-areas: "p a n m" ". . s s" "b b b b"; gap: 2px 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.lb-row.top { background: #fff8e6; border-radius: 10px; }
.lb-place { grid-area: p; font-weight: 900; } .lb-av { grid-area: a; font-size: 1.3rem; } .lb-name { grid-area: n; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.lb-m { grid-area: m; font-weight: 900; } .lb-sub { grid-area: s; font-size: .8rem; color: var(--ink-2); font-weight: 700; }
.lb-bar { grid-area: b; height: 6px; background: var(--glacier); border-radius: 99px; overflow: hidden; } .lb-bar i { display: block; height: 100%; background: var(--green); transition: width 1s; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--glacier); font-size: .85rem; }
details.card summary { cursor: pointer; font-weight: 800; }

/* ---------- moslashuvchanlik ---------- */
@media (max-width: 900px) {
  .play-grid, .two-col, .home { grid-template-columns: 1fr; }
  .home { min-height: auto; gap: 16px; padding-top: 12px; }
  .stage { position: static; }
  .scene-wrap { max-height: 92vw; }
  .home .scene-wrap { max-height: 92vw; }
  .word-row { grid-template-columns: 1fr auto; }
  .word-row .w-clue, .word-row .w-exp { grid-column: 1 / -1; }
  .row3, .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .parch { padding: 54px 22px 32px; }
  .ribbon { min-width: 190px; font-size: 1.35rem; }
  .clues { grid-template-columns: 1fr; }
  .page { padding: 12px 12px 40px; }
  .btn-xl { min-height: 64px; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
