/* FrameRush — film-first dark UI. Projection visibility never fades or moves. */
.challenge-banner { margin:18px auto; padding:16px; max-width:960px; border:1px solid #456454; background:#1b2623; border-radius:8px; }
.challenge-banner p { margin:0 0 10px; line-height:1.6; }
.score-results { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:24px 0 12px; }
.score-results li { background:#20282d; border:1px solid #4d6258; border-radius:5px; padding:12px 4px; font-size:14px; font-variant-numeric:tabular-nums; }
.share-actions { flex-wrap:wrap; justify-content:center; }
#share-manual { margin:16px 0; text-align:left; }
#share-manual label { display:block; margin-bottom:8px; }
#share-content { box-sizing:border-box; width:100%; min-width:0; padding:12px; font:inherit; font-size:16px; color:#edf1f3; background:#11181c; border:1px solid #637b70; border-radius:5px; resize:vertical; }
#share-status { overflow-wrap:anywhere; }
@media (max-width:600px) { .score-results { gap:4px; } .score-results li { font-size:11px; padding:10px 2px; } }
:root { color-scheme:dark; --bg:#14181c; --panel:#1c232b; --raised:#26313c; --ink:#e4e9ed; --muted:#a3b0bc; --accent:#7bc797; --button:#70bc8b; --line:#35424e; --control-border:#657989; --error:#e7ae96; --font:'Segoe UI',Arial,sans-serif; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { min-width:280px; background:var(--bg); }
body { margin:0; min-width:280px; min-height:100vh; color:var(--ink); background:linear-gradient(#1a222a 0,transparent 450px),var(--bg); font:15px/1.6 var(--font); }
a { color:inherit; text-underline-offset:4px; }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid #a5dbbb; outline-offset:4px; }
main:focus { outline:none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:12px; left:20px; z-index:100; padding:12px 20px; background:var(--ink); color:var(--bg); transform:translateY(-200%); }
.skip-link:focus { transform:none; }
.shell { max-width:1440px; margin:auto; padding:0 max(40px,env(safe-area-inset-right)) 18px max(40px,env(safe-area-inset-left)); }
.masthead { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--line); }
.brand { display:inline-flex; align-items:center; gap:11px; min-height:44px; text-decoration:none; font-size:20px; font-weight:800; letter-spacing:1px; color:#f1f4f6; }
.brand-mark { display:grid; place-items:center; width:29px; height:32px; border-radius:5px; background:#2b4339; color:#9bd8b2; font-size:22px; font-weight:800; letter-spacing:-1px; }
.header-links { display:flex; align-items:center; gap:25px; }
.nav-link { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; color:var(--muted); font-size:13px; }
button { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:46px; padding:11px 22px; border:1px solid transparent; border-radius:5px; background:var(--button); color:#102117; font-size:14px; line-height:1.45; font-weight:650; cursor:pointer; }
button:hover:enabled { background:#8bcca2; }
button:active:enabled { background:#63ae7e; }
button:disabled { opacity:.45; cursor:default; }
.nav-modes { padding:8px 0; border:0; background:transparent; font-weight:600; }
.nav-modes:hover:enabled { background:transparent; color:var(--ink); }
.hero { display:grid; grid-template-columns:minmax(0,620px) minmax(0,1fr); align-items:center; gap:64px; padding:65px 0 62px; }
.intro { min-width:0; }
.eyebrow { color:var(--muted); font-size:10px; line-height:1.6; font-weight:650; letter-spacing:1.8px; text-transform:uppercase; margin:0 0 18px; }
.premiere { font-size:10px; letter-spacing:1.9px; color:var(--accent); }
h1 { margin:0; font-size:clamp(39px,4.7vw,62px); line-height:1.1; font-weight:750; letter-spacing:-2.2px; }
h1 em { font-style:normal; color:#a3d5b5; }
.lead { font-size:16px; line-height:1.8; color:var(--muted); margin:25px 0 28px; }
.actions button { min-height:48px; font-size:15px; padding-inline:24px; }
.actions button > span { font-size:20px; }
.stage-note { display:flex; flex-wrap:wrap; gap:8px 15px; color:#b1bec8; font-size:11px; margin:22px 0 11px; }
.stage-note span { white-space:nowrap; }
.stage-note span + span::before { content:'·'; color:#6e8293; padding-right:15px; }
.status { max-width:430px; font-size:11px; line-height:1.7; color:var(--muted); margin:0; }
.error { color:var(--error); }
.film-collage { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-self:center; min-width:0; pointer-events:none; user-select:none; }
.poster-kicker { grid-column:1/-1; color:var(--muted); font-size:14px; letter-spacing:1px; font-weight:650; margin-bottom:2px; }
.still { display:block; position:static; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; border-radius:5px; border:1px solid #46535e; filter:saturate(.85); }
.poster-edition { color:#b8c6cf; font-size:14px; line-height:1.5; margin:0; }
.rules { display:none; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; padding:30px 0 35px; border-top:1px solid var(--line); scroll-margin-top:20px; }
.rules:target, .rules.is-open { display:grid; }
.rules > div { display:flex; gap:14px; } .rule-number { color:var(--accent); font-size:12px; font-weight:700; }
.rules p { margin:0; } .rules strong { display:block; font-size:16px; margin-bottom:8px; } .rules p span { color:var(--muted); font-size:12px; }
footer { min-height:88px; display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
footer a { display:inline-flex; align-items:center; gap:7px; min-height:44px; text-decoration:none; }
.footer-identity { display:grid; gap:4px; } .footer-brand { color:#c9d3dc; font-size:12px; font-weight:750; letter-spacing:1px; } .footer-identity > span:last-child { font-size:10px; } #demo-note { text-align:center; font-size:10px; }
.game { max-width:1000px; margin:28px auto 20px; }
.game-header { display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px 20px; margin-bottom:18px; }
.round-info { display:flex; align-items:center; gap:12px; } .game-header .eyebrow { margin:0; color:#c5d0d9; font-size:11px; letter-spacing:.8px; }
.level-badge { width:fit-content; color:var(--muted); background:#26313a; border-radius:3px; padding:2px 8px; font-size:10px; }
.score-block { text-align:right; } .score-caption { display:block; color:var(--muted); font-size:8px; font-weight:600; letter-spacing:1.3px; } .score-block strong { font-size:22px; line-height:1.4; font-weight:650; font-variant-numeric:tabular-nums; }
progress { grid-column:1/-1; width:100%; height:3px; appearance:none; border:0; border-radius:2px; background:#2e3a45; color:var(--accent); accent-color:var(--accent); }
progress::-webkit-progress-bar { background:#2e3a45; } progress::-webkit-progress-value { background:var(--accent); } progress::-moz-progress-bar { background:var(--accent); }
.hint-status { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:11px; color:var(--muted); }
.reel-counter { display:flex; align-items:center; gap:12px; } #hint-label { display:inline-flex; align-items:center; padding:3px 9px; background:#26313b; border:1px solid #3b4a57; border-radius:4px; color:#cbd6df; font-size:11px; }
.reel-strip { display:flex; gap:4px; } .reel-strip i { display:block; width:17px; height:4px; border-radius:2px; background:#3a4855; font-size:0; }
.reel-strip [data-reel-state='used'] { background:#719780; } .reel-strip [data-reel-state='current'] { background:#94d2ac; }
.game-surface { position:relative; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:38px minmax(460px,auto) auto; background:#10151a; border:1px solid #36434f; border-radius:7px; }
.screen-bar { grid-area:1/1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 20px; border-bottom:1px solid #2d3944; color:#93a3b1; font-size:8px; font-weight:600; letter-spacing:1.2px; }
.stage { grid-area:2/1; align-self:center; position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#0a0e12; }
.image-layer { position:absolute; inset:0; background:#000; }
.image-layer img { display:block; width:100%; height:100%; object-fit:contain; user-select:none; pointer-events:none; }
.stage,.image-layer,.image-layer img,.game-surface { animation:none; transition:none; transform:none; filter:none; }
.projection-patina { position:absolute; inset:0; z-index:3; overflow:hidden; pointer-events:none; }
.projection-patina::before { content:''; position:absolute; inset:0; background:url('../assets/textures/film-grain.svg') repeat; opacity:.12; mix-blend-mode:soft-light; }
.stage-decoration,.stage > p { position:relative; z-index:4; }
.stage-sigil { color:#8d9eac; font-size:9px; letter-spacing:1.9px; font-weight:600; }
.loading-dots { display:none; color:var(--muted); font-size:9px; letter-spacing:1.5px; }
.game[data-state='loading'] .stage-sigil { display:none; } .game[data-state='loading'] .loading-dots { display:block; }
.stage > p { margin:15px 20px 0; max-width:90%; text-align:center; color:#e0e7ec; font-size:30px; line-height:1.25; font-weight:650; letter-spacing:-.7px; }
.stage > .stage-hint { margin-top:15px; max-width:80%; color:var(--muted); font-size:12px; font-weight:400; letter-spacing:0; line-height:1.7; }
.stage .countdown { display:grid; place-items:center; width:142px; height:142px; margin:0; border:1px solid #839aa955; outline:1px solid #839aa922; outline-offset:9px; border-radius:50%; color:#e6edf2; font-size:89px; font-weight:300; line-height:1; letter-spacing:-4px; }
.stage .countdown::before { content:''; position:absolute; width:180px; height:1px; background:#839aa933; } .stage .countdown::after { content:''; position:absolute; width:1px; height:180px; background:#839aa933; }
.game-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:24px; }
.preparation-actions { grid-area:2/1; align-self:end; justify-self:center; position:relative; z-index:5; margin:0; padding:0 22px 35px; }
.preparation-actions button { min-height:44px; padding:10px 27px; }
.notice { grid-area:3/1; margin:0; padding:15px 24px; color:var(--error); border-top:1px solid var(--line); }
.surface-content { grid-area:2/1; align-self:center; width:100%; min-width:0; padding:43px 45px; }
.surface-content h2 { font-size:32px; line-height:1.25; font-weight:650; letter-spacing:-.8px; margin:0 0 17px; }
.surface-content > .eyebrow { margin-bottom:12px; color:var(--accent); font-size:9px; letter-spacing:1.5px; }
.supporting-copy { color:var(--muted); font-size:13px; line-height:1.8; margin:0 0 23px; }
.answer-form { max-width:820px; margin:auto; } .answer-form label { display:block; margin:23px 0 9px; font-size:12px; color:#c8d3dc; font-weight:600; }
.title-search { position:relative; }
input { width:100%; min-height:55px; padding:13px 16px; border:1px solid var(--control-border); border-radius:5px; background:#202a33; color:#e6edf2; font-size:17px; line-height:1.5; scroll-margin-block:32px; }
input::placeholder { color:#9caebb; } input[aria-invalid='true'] { border-color:var(--error); } input:disabled { color:var(--muted); }
.title-suggestions { position:absolute; z-index:20; left:0; right:0; top:100%; margin:6px 0 0; padding:5px; max-height:230px; overflow:auto; list-style:none; background:#26333e; border:1px solid #627789; border-radius:5px; box-shadow:0 10px 24px #0005; }
.title-suggestions li { min-height:44px; padding:11px 12px; color:#dae4eb; font-size:14px; line-height:1.5; cursor:pointer; border-radius:3px; }
.title-suggestions li:hover,.title-suggestions li[aria-selected='true'] { background:#364c48; color:#d8f2e1; }
.answer-form .error { min-height:19px; margin:7px 0 0; font-size:12px; } .answer-form .game-actions { margin-top:14px; }
.secondary { background:#27343e; color:#d1dde5; border-color:#485b6b; } .secondary:hover:enabled { background:#33444f; }
.text-button { min-height:44px; padding:8px 3px; border-color:transparent; background:transparent; color:var(--muted); font-size:12px; font-weight:400; text-decoration:underline; text-underline-offset:4px; }
.text-button:hover:enabled { background:transparent; color:var(--ink); }
.keyboard-hint { margin-top:16px; color:#97a8b6; font-size:10px; } kbd { font:inherit; border:1px solid #526473; border-radius:3px; padding:1px 4px; }
.game-result { max-width:800px; margin:auto; text-align:center; }
.result-symbol { display:inline-grid; place-items:center; width:42px; height:42px; margin:0 auto 18px; color:#99d2ac; background:#243b30; border-radius:50%; font-size:22px; }
.result-symbol.neutral { color:#aebfcf; background:#2a3540; } .game-result[data-outcome='incorrect'] .result-symbol { color:#e0b6a3; background:#3b2e29; }
.game-result[data-outcome='correct'] #feedback-heading { color:var(--accent); }
.game-result .expected-title { margin:10px 0 28px; color:#e3ebf1; font-size:28px; line-height:1.35; font-weight:650; letter-spacing:-.6px; overflow-wrap:anywhere; }
.game-result .supporting-copy { margin-bottom:9px; } .game-result .final-score { color:var(--accent); font-size:clamp(40px,5vw,62px); line-height:1.2; font-weight:700; letter-spacing:-2px; margin:24px 0 16px; white-space:nowrap; }
.summary-detail { color:#b3c2cd; font-size:15px; }
.game-bottom { min-height:65px; display:flex; justify-content:space-between; align-items:center; gap:15px; color:#96a8b7; font-size:11px; }
.credits { max-width:850px; margin:45px auto; } .credits h1 { font-size:43px; letter-spacing:-1.5px; } .credits h2 { font-size:22px; margin-top:34px; } .credits p,.credits li { font-size:14px; color:var(--muted); } .credits li { margin-bottom:16px; }
@media (prefers-reduced-motion:no-preference) {
 button,a,input { transition:background-color .18s ease,border-color .18s ease,color .18s ease; }
 .surface-content { animation:panel-in .2s ease-out; }
 @keyframes panel-in { from { opacity:.5; } to { opacity:1; } }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media (forced-colors:active) { button,input,.game-surface,.title-suggestions,.reel-strip i { border:1px solid ButtonText; } .projection-patina { display:none; } }
@media (max-width:1050px) { .shell { padding-inline:28px; } .hero { gap:35px; padding-block:50px; } h1 { font-size:48px; } .lead { font-size:14px; } }
@media (max-width:760px) {
 .shell { padding:0 max(20px,env(safe-area-inset-right)) 15px max(20px,env(safe-area-inset-left)); }
 .masthead { min-height:72px; gap:15px; } .brand { font-size:17px; letter-spacing:.6px; gap:8px; } .brand-mark { width:24px; height:28px; font-size:20px; }
 .header-links { gap:14px; } .nav-link { font-size:11px; } .nav-modes { display:none; }
 .hero { grid-template-columns:1fr; gap:34px; padding:38px 0 35px; } h1 { font-size:clamp(37px,8.9vw,54px); letter-spacing:-1.5px; } .premiere { font-size:8px; letter-spacing:1.4px; }
 .lead { font-size:14px; margin:20px 0 24px; } .lead br { display:none; } .actions button { min-height:47px; font-size:14px; }
 .stage-note { font-size:10px; gap:7px 10px; margin-top:19px; } .stage-note span + span::before { padding-right:10px; } .status { font-size:10px; }
 .film-collage { gap:8px; max-width:480px; width:100%; margin:auto; } .poster-kicker { font-size:14px; }
 .rules:target, .rules.is-open { grid-template-columns:1fr; gap:24px; }
 .game { margin:22px auto 15px; } .game-header { gap:12px 10px; } .round-info { display:grid; gap:5px; } .score-block strong { font-size:21px; } .score-caption { font-size:8px; } .game-header .eyebrow { font-size:10px; letter-spacing:.4px; }
 .hint-status { font-size:10px; gap:10px; } .reel-counter { gap:8px; } #hint-label { font-size:10px; padding:3px 7px; } .reel-strip { gap:3px; } .reel-strip i { width:11px; height:3px; }
 .game-surface { grid-template-rows:34px minmax(335px,auto) auto; } .screen-bar { padding:0 12px; font-size:7px; letter-spacing:.6px; }
 .stage { aspect-ratio:4/3; } .stage > p { font-size:23px; letter-spacing:-.5px; margin-top:13px; } .stage-sigil { font-size:8px; letter-spacing:1px; } .stage > .stage-hint { font-size:10px; margin-top:12px; }
 .stage .countdown { width:105px; height:105px; font-size:70px; outline-offset:6px; } .stage .countdown::before { width:136px; } .stage .countdown::after { height:136px; }
 .preparation-actions { padding-bottom:25px; } .preparation-actions button { min-height:44px; padding-inline:24px; }
 .surface-content { padding:30px 21px; } .surface-content h2 { font-size:26px; } .surface-content > .eyebrow { font-size:8px; } .supporting-copy { font-size:12px; margin-bottom:20px; }
 .answer-form label { margin-top:20px; font-size:11px; } input { font-size:17px; padding:12px; min-height:53px; }
 .game-actions { flex-direction:column; align-items:stretch; gap:10px; } .game-actions button { width:100%; font-size:13px; min-height:44px; }
 .title-suggestions { max-height:200px; } .title-suggestions li { min-height:44px; } .keyboard-hint { display:none; }
 .game-result .expected-title { font-size:24px; } .game-result .final-score { font-size:41px; } .game-bottom { flex-wrap:wrap; gap:0 10px; font-size:10px; padding-block:9px; } .game-bottom button { margin-left:auto; font-size:11px; }
 footer { flex-wrap:wrap; gap:8px 20px; padding:22px 0; } #demo-note { order:3; width:100%; text-align:left; } footer a { font-size:10px; }
 .credits { margin:30px auto; } .credits h1 { font-size:33px; }
}
@media (max-width:350px) { .shell { padding-inline:14px; } .brand { font-size:16px; } .nav-link { font-size:10px; } h1 { font-size:36px; } .surface-content { padding-inline:16px; } .hint-status { font-size:9px; } }

/* Native language choice stays available outside the home-only navigation. */
.language-choice { display:flex; align-items:center; gap:8px; margin-left:auto; color:var(--muted); font-size:12px; white-space:nowrap; }
.language-choice select { color-scheme:dark; min-height:44px; min-width:140px; max-width:160px; padding:8px 8px 8px 40px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:#202830; background-repeat:no-repeat; background-size:22px 15px; background-position:10px center; font:inherit; cursor:pointer; }
.language-choice select:has(option[value="en"]:checked) { background-image:url('../assets/flags/gb.svg'); }
.language-choice select:has(option[value="fr"]:checked) { background-image:url('../assets/flags/fr.svg'); }
.language-choice option { color:#e4e9ed; background-color:#202830; }
.language-choice select:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.language-choice select:disabled { opacity:.5; cursor:default; }
@media (max-width:600px) { .masthead { flex-wrap:wrap; gap:8px 12px; padding-block:10px; } .language-choice { gap:5px; font-size:11px; } .language-choice > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); } .header-links { margin-left:auto; } }

.genre-choice { display:grid; gap:6px; max-width:320px; margin:20px 0; }
.genre-choice label { color:var(--ink); font-size:13px; font-weight:600; }
.genre-choice select { width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--control-border); border-radius:4px; background:#202830; color:var(--ink); font:inherit; cursor:pointer; }
.genre-choice select:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.genre-choice select:disabled { opacity:.5; cursor:default; }
.genre-choice #genre-status { margin:0; color:var(--muted); font-size:12px; }

/* Home previews are decorative; the game projection keeps its static styles. */
.gallery-panel { align-self:center; min-width:0; }
.gallery-tile { display:grid; aspect-ratio:3/4; overflow:hidden; border:1px solid #46535e; border-radius:6px; background:#12181d; }
.gallery-tile .still { grid-area:1/1; height:100%; border:0; border-radius:0; }
.gallery-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-top:12px; padding:12px; border:1px solid var(--line); border-radius:6px; background:#1b232b; }
.gallery-toggle { display:inline-flex; gap:8px; margin:0 0 0 auto; min-height:44px; padding:8px 12px; font-size:14px; font-weight:600; color:var(--ink); background:#293831; border:1px solid #526c5d; box-shadow:none; }
.gallery-toggle:hover:enabled,.gallery-toggle:active:enabled { color:var(--ink); background:#232e37; border-color:#46535e; }
@media (prefers-reduced-motion:no-preference) {
 .gallery-tile .gallery-incoming { animation:gallery-dissolve .7s ease-in-out both; }
 @keyframes gallery-dissolve { from { opacity:0; } to { opacity:1; } }
}
@media (max-width:760px) { .gallery-panel { width:100%; max-width:480px; margin:auto; } }


.daily-info { margin:0 0 16px; font-size:14px; color:var(--muted); }
.daily-info strong { color:var(--ink); } .daily-info p { margin:6px 0; }
.daily-info a { display:inline-block; min-height:44px; padding:10px 0; margin-right:16px; color:var(--accent); }
.daily-info .daily-wait { color:#a9dfbc; font-size:15px; font-weight:600; }
.is-daily #rules-link,.is-daily #copy-link,.is-daily #challenge-link { display:none!important; }
.is-daily .daily-warning { color:var(--muted); font-size:14px; margin:12px 0; }
.is-daily .lead { margin-bottom:24px; }
.is-daily #daily-panel .summary { padding:18px 0 0; border-top:1px solid var(--line); }
.is-daily #daily-panel .summary .final-score { font-size:48px; margin:12px 0; }
.is-daily #daily-panel .summary h2 { font-size:23px; }
.is-daily #daily-panel .summary .summary-detail { font-size:14px; }
.is-daily #daily-panel .summary .share-actions { gap:10px; }
.is-daily #daily-panel .summary .share-actions button { flex:1; min-width:130px; }
@media (max-width:460px) {
 .masthead { gap:8px 10px; } .masthead .brand { font-size:16px; gap:7px; } .masthead .nav-link { font-size:10px; }
 .is-daily #daily-panel .summary .final-score { font-size:40px; }
}

.daily-info .daily-classic-action { display:flex; align-items:center; justify-content:center; width:100%; margin:16px 0 0; padding:12px 16px; border-radius:5px; background:var(--button); color:#102117; font-size:14px; font-weight:650; text-decoration:none; }
.daily-info .daily-classic-action:hover { background:#8bcca2; }
.daily-info .daily-classic-action:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }

.daily-card-number { color:#c5d8cb; font-size:14px; line-height:1.4; }
.daily-card-status { align-self:flex-start; padding:2px 9px; border:1px solid #4f695a; border-radius:4px; color:#b0ddbf; background:#22382b; font-size:14px; line-height:1.5; }
.daily-card-status[data-state="done"],.daily-card-status[data-state="started"] { color:#cad3db; background:#29343d; border-color:#586874; }
.daily-card-status[data-state="invalid"],.daily-card-status[data-state="unavailable"] { color:var(--error); background:#342a25; border-color:#8b6654; }
@media (min-width:761px) { .intro { width:100%; max-width:620px; } }

/* Game layout: compact controls; countdown and exposure share the same static stage. */
.game { max-width:900px; }
.game-header { gap:10px 18px; margin-bottom:16px; }
.game .round-info { display:grid; gap:5px; }
.game-header .eyebrow { font-size:16px; font-weight:700; letter-spacing:.3px; }
.game .level-badge { font-size:12px; }
.game .score-block { padding:6px 14px; min-width:138px; border:1px solid #3d5449; border-radius:6px; background:#1d2c25; }
.game .score-caption { font-size:11px; letter-spacing:1px; }
.game .score-block strong { font-size:30px; line-height:1.25; color:#b1e3c2; }
.game progress { height:4px; }
.game .hint-status { gap:10px; flex-wrap:wrap; }
.game #hint-label { font-size:14px; }
.game #available-points { padding:4px 10px; border:1px solid #436450; border-radius:5px; background:#20382b; color:#b2e2c2; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; }
.game .game-surface { grid-template-rows:34px auto auto; }
.game .screen-bar { font-size:10px; letter-spacing:.7px; }
.game .stage-sigil { font-size:11px; letter-spacing:1px; }
.game .stage > .stage-hint { font-size:14px; line-height:1.5; margin-top:12px; }
.stage .preparation-actions { grid-area:auto; align-self:center; justify-self:auto; flex-direction:row; align-items:center; margin:20px 0 0; padding:0 18px; }
.game .preparation-actions button { width:auto; min-height:48px; font-size:15px; }
.game .surface-content:not(.summary) { max-width:640px; padding:28px; }
.game .answer-form { text-align:center; }
.game .answer-form > .eyebrow { display:none; }
.game .surface-content h2 { font-size:28px; line-height:1.25; margin:0 0 12px; }
.game .answer-form .supporting-copy { font-size:14px; line-height:1.5; margin:0 0 16px; }
.game .answer-form label { text-align:left; font-size:14px; margin:0 0 7px; }
.game .answer-form input { min-height:50px; }
.game .answer-form .game-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin-top:10px; }
.game .answer-form .game-actions button { width:100%; min-height:46px; font-size:15px; }
.game .answer-form #pass { width:fit-content; justify-self:center; font-size:14px; }
.game .hint-cost { margin:0; font-size:14px; line-height:1.45; color:#b5c5d0; }
.game .answer-form .error { min-height:0; font-size:14px; }
.game .answer-form .error:empty { margin:0; }
.game .keyboard-hint { display:block; font-size:12px; margin:10px 0 0; }
.game[data-state="hintFeedback"] #answer-help { padding:12px; border:1px solid #82634f; border-radius:5px; background:#30261f; color:#f0c1a3; }
.game #feedback { margin:18px auto; border-radius:6px; }
.game #feedback[data-outcome="correct"] { background:#192b22; }
.game #feedback[data-outcome="incorrect"] { background:#2b2220; }
.game #feedback .result-symbol { width:48px; height:48px; font-size:26px; margin-bottom:14px; }
.game #feedback .eyebrow { font-size:11px; margin-bottom:10px; }
.game #feedback .supporting-copy { font-size:14px; }
.game #feedback .expected-title { margin:8px 0 22px; }
.game #feedback button { min-width:220px; min-height:48px; font-size:15px; }
.game #feedback .expected-title { margin-bottom:8px; }
.film-credits { margin:0 0 20px; color:var(--muted); font-size:14px; line-height:1.5; }
.film-frames { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin:0 0 24px; }
.film-frames img { grid-column:span 2; display:block; width:100%; aspect-ratio:16/9; object-fit:contain; background:#0c1115; border:1px solid #39454e; border-radius:4px; }
.film-frames img:nth-child(4) { grid-column:2/span 2; }
@media (max-width:480px) {
 .film-frames { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .film-frames img, .film-frames img:nth-child(4) { grid-column:auto; }
 .film-frames img:last-child { grid-column:1/-1; width:calc(50% - 4px); justify-self:center; }
}
.game .game-bottom { font-size:13px; }
@media (max-width:760px) {
 .game { margin:18px auto; }
 .game-header .eyebrow { font-size:14px; }
 .game .score-block { min-width:114px; padding:6px 10px; }
 .game .score-block strong { font-size:25px; }
 .game .score-caption { font-size:10px; }
 .game .reel-counter { gap:7px; }
 .game .reel-strip { gap:3px; } .game .reel-strip i { width:6px; }
 .game .screen-bar { padding:0 12px; font-size:9px; }
 .game #stage-message:not(.countdown) { font-size:24px; }
 .game .stage > .stage-hint { font-size:14px; }
 .game .stage-sigil { font-size:10px; }
 .stage .preparation-actions { margin-top:16px; }
 .game .surface-content:not(.summary) { padding:24px 18px; }
 .game .surface-content h2 { font-size:25px; }
 .game #feedback { width:calc(100% - 24px); margin:12px auto; }
 .game #feedback button { width:100%; min-width:0; }
 .game .game-bottom { gap:8px; padding-block:10px; }
 .game .game-bottom button { margin-left:0; }
}

/* Shared readable controls; game projection geometry is unchanged. */
:root { --text-small:14px; --text-control:16px; }
.masthead .nav-link,.game .keyboard-hint,.game .game-bottom,.game .game-bottom button { font-size:var(--text-small); }
.language-choice select { font-size:var(--text-control); }
.brand[aria-disabled="true"] { cursor:default; }
.game .score-caption { font-size:12px; }
.game .screen-bar { font-size:12px; }
.daily-card-heading { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; }
@media(max-width:760px) {
 .masthead .header-links { order:3; flex-basis:100%; justify-content:space-between; gap:12px; }
 .masthead .language-choice { order:2; }
 .masthead .nav-link { font-size:14px; }
 .hero { padding-top:24px; gap:26px; }
 .hero .lead { margin:12px 0 16px; font-size:16px; line-height:1.5; }
 .mode-selection { margin-top:16px; }
 .game .score-caption { font-size:12px; }
 .game .game-bottom button { font-size:14px; }
}

.stats-save-status { color:var(--muted); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.stats-save-status[data-error="true"] { color:var(--error); }

.stats-save-status:empty { display:none; }

/* Shared platform identity; logo lettering is outlined and font-independent. */
.brand .brand-logo { display:block; width:190px; height:auto; max-width:100%; }
@media(max-width:760px) { .brand .brand-logo { width:160px; } }
@media(max-width:350px) { .brand .brand-logo { width:144px; } }

/* Only shown after a film is revealed, never as an extra game clue. */
.film-reveal-image { display:block; width:100%; height:auto; max-width:560px; aspect-ratio:16/9; max-height:280px; object-fit:contain; margin:16px auto 20px; background:#0c1115; }
