@font-face{font-family:VT323;src:url('assets/VT323-Regular.ttf') format('truetype');font-display:swap;font-style:normal;font-weight:400}
:root{color-scheme:dark;--ink:#111d31;--panel:#142538f5;--cream:#fff0d3;--muted:#bac6d1;--pink:#ff8ca9;--teal:#6ce4d1;--gold:#fff198;--pixel:'VT323',monospace;--body:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--border:#627a8d66}
*{box-sizing:border-box}html{min-width:280px;background:#15263a}body{margin:0;font-family:var(--body);color:var(--cream);overflow-x:clip;min-width:280px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.65}button{touch-action:manipulation}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--cream);outline-offset:4px}button:active{transform:translateY(2px)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;z-index:99;background:var(--ink);padding:15px}.skip-link:focus{top:10px}
#world,.world-shade,.scanlines{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}#world{image-rendering:pixelated;z-index:-3}.world-shade{z-index:-2;background:linear-gradient(180deg,#101c304a 0%,transparent 30%,transparent 46%,#0d1c2b5c 70%,#0d1c2be8 100%)}.scanlines{z-index:-1;opacity:.12;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#0e1e36 3px,#0e1e36 4px)}
#app{min-height:100svh;height:var(--viewport-height,100dvh);padding:max(20px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:18px;position:relative;isolation:isolate}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--cream)}.brand-mark{display:grid;place-items:center;font:42px/.85 var(--pixel);width:45px;height:44px;border:2px solid var(--pink);color:var(--pink);box-shadow:3px 3px 0 #73d0c0;background:#18283ec7}.brand-name{font:25px/.9 var(--pixel);letter-spacing:1.2px}.edition{display:block;font:10px/1.3 var(--body);font-weight:600;letter-spacing:1.7px;margin-top:6px;color:#dfc8c7}.topbar nav{display:flex;align-items:center;gap:8px}.icon-btn,.help-btn,.quiet-btn{border:1px solid var(--border);background:#17253ce0;box-shadow:0 3px 0 #0b1724;min-height:44px}.icon-btn{width:44px;display:inline-flex;align-items:center;justify-content:center;padding:11px}.icon-btn svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none}.icon-btn[aria-pressed=true]{color:var(--teal);border-color:#6ce4d17d}.help-btn{display:flex;gap:10px;align-items:center;padding:0 16px;font:18px var(--pixel);letter-spacing:1px}.help-btn>span:first-child{font:23px var(--pixel);color:var(--pink)}.icon-btn:hover,.help-btn:hover,.quiet-btn:hover{background:#30405a}
#main{flex:1;min-height:0;display:flex;flex-direction:column;outline:none}.loading{margin:auto;font:28px var(--pixel);letter-spacing:2px}.home{flex:1;display:flex;flex-direction:column;align-items:center;min-height:530px;text-align:center;position:relative}.hero{padding-top:28px;position:relative}.eyebrow{font:18px var(--pixel);letter-spacing:3px;color:#ffcdba;margin:0 0 12px;display:flex;justify-content:center;align-items:center;gap:12px}.eyebrow:before,.eyebrow:after{content:'';display:block;width:24px;height:1px;background:#ffc2ac8c}.hero h1{font:clamp(68px,9.2vw,142px)/.8 var(--pixel);letter-spacing:3px;margin:0 0 24px;text-shadow:4px 4px 0 #29374d,-3px 0 0 #82d9cf,5px 0 0 #df7993}.hero p{font-size:15px;line-height:1.6;color:#fae2d8;letter-spacing:.2px;margin:0;text-shadow:0 2px 3px #342842}.hero p strong{font-weight:600;color:#fff3d9}.best-badge{position:absolute;top:22px;left:0;min-width:128px;text-align:left;padding:12px 16px;background:#17273bb8;border:1px solid var(--border);box-shadow:3px 3px 0 #14213740}.tiny-label{font:15px var(--pixel);letter-spacing:1.5px;color:var(--muted);display:block}.best-badge strong{font:34px var(--pixel);color:var(--teal)}.best-badge small{font:18px var(--pixel);color:#a8bdc6}.scene-space{flex:1;min-height:130px}.launchpad{width:min(100%,510px);padding:18px 23px 20px;border:1px solid #d5adb839;background:#162637c4;backdrop-filter:blur(4px);box-shadow:0 7px 0 #101e2c4d;position:relative}.launchpad:before,.launchpad:after{content:'';position:absolute;width:5px;height:5px;background:#e8baa8;top:-1px}.launchpad:before{left:-1px}.launchpad:after{right:-1px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.mode-tab{min-height:42px;font:19px var(--pixel);letter-spacing:1px;background:transparent;border:0;border-bottom:2px solid #52677a;color:#adbdc9;padding:8px}.mode-tab[aria-selected=true]{border-color:var(--teal);color:var(--teal);background:#6ce4d109}.primary-btn{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:58px;padding:12px 16px;background:var(--pink);border:1px solid #ffd3d9;border-bottom-color:#e56e91;color:#212439;font:26px var(--pixel);letter-spacing:2px;box-shadow:0 5px 0 #984d71;transition:background .15s,transform .1s}.primary-btn:hover{background:#ffa5b9}.primary-btn .arrow{font:31px var(--pixel)}.launch-note{color:#bfd0d6;font-size:12px;line-height:1.4;margin:14px 0 0}.game-facts{display:flex;justify-content:center;align-items:center;gap:18px;font:16px var(--pixel);letter-spacing:.9px;margin-top:22px;color:#d2d5d0}.game-facts span+span:before{content:'◆';font-size:7px;color:#67b9ae;position:relative;margin-right:18px;top:-2px}.rarity-strip{display:flex;align-items:stretch;justify-content:center;gap:0;width:min(100%,930px);padding:0;margin:22px 0 8px;list-style:none}.rarity-strip li{flex:1;display:flex;flex-direction:column;align-items:center;padding:0 16px;border-right:1px solid #8da4b22e;color:var(--tier);min-width:0}.rarity-strip li:last-child{border:0}.tier-gem{width:7px;height:7px;background:var(--tier);transform:rotate(45deg);margin:4px 0 8px;box-shadow:0 0 12px color-mix(in srgb,var(--tier),transparent 60%)}.rarity-strip .tier-name{font:17px/1.1 var(--pixel);white-space:nowrap}.rarity-strip .tier-points{font:24px var(--pixel);margin-top:4px}.rarity-caption{font-size:10px;letter-spacing:1.5px;color:#9db7c0;text-transform:uppercase;margin:8px 0 0}.site-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;font:10px var(--body);font-weight:500;letter-spacing:1.15px;color:#a6bcc4;min-height:28px}.site-footer button{padding:0;background:none;border:none;color:#bfcece;font:inherit;letter-spacing:inherit;min-height:28px}.site-footer button:hover{color:var(--cream)}
.game{display:flex;flex:1;flex-direction:column;align-items:center;min-height:0;position:relative}.game-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:14px;width:100%}.score-hud{display:flex;align-items:center;gap:20px;width:fit-content;background:#132739dd;border:1px solid var(--border);padding:11px 18px;box-shadow:0 4px 0 #101b2d66}.hud-number{font:36px/1 var(--pixel);display:block;color:var(--teal);margin-top:3px;font-variant-numeric:tabular-nums}.hud-number small{font:18px var(--pixel);color:#b8c5cc}.hud-divider{height:37px;width:1px;background:#7895aa4a}.progress-hud{text-align:center;background:#15273be8;border:1px solid var(--border);padding:12px 17px}.progress-dots{display:flex;gap:5px;margin-bottom:6px}.progress-dot{width:17px;height:13px;background:#37485e;border:1px solid #6f839633}.progress-dot.current{background:var(--cream);box-shadow:0 0 8px #fff0d333}.progress-dot.done{background:var(--dot-color)}.progress-hud .tiny-label{font-size:15px}.end-run-btn{justify-self:end;min-height:44px;font:19px var(--pixel);letter-spacing:1px;padding:0 14px;display:flex;align-items:center;gap:9px}.location-label{align-self:center;margin-top:25px;text-align:center;text-shadow:0 2px 3px #172438}.location-label span{font:15px var(--pixel);letter-spacing:2px;color:#e8c4b7}.location-label strong{font:24px var(--pixel);font-weight:400;display:block;letter-spacing:1.5px;margin-top:4px}.game-spacer{flex:1;min-height:90px}.question-panel,.feedback-panel,.end-panel{width:min(100%,700px);border:1px solid #68879a88;background:var(--panel);padding:25px 28px 24px;box-shadow:0 6px 0 #0a1728b3;position:relative;margin-bottom:12px;backdrop-filter:blur(5px)}.question-panel:before,.feedback-panel:before,.end-panel:before{content:'';position:absolute;top:-1px;left:-1px;width:54px;height:2px;background:var(--teal)}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px}.question-category{font:18px var(--pixel);color:var(--teal);letter-spacing:1.4px}.timer{display:flex;align-items:center;gap:8px;font:27px var(--pixel);white-space:nowrap;font-variant-numeric:tabular-nums}.timer svg{width:17px;height:17px;stroke:var(--teal);fill:none;stroke-width:1.8}.timer.urgent{color:#ffb29f}.timer.urgent svg{stroke:#ffb29f}.question-panel h2{font-size:clamp(22px,2.3vw,29px);line-height:1.28;letter-spacing:-.5px;font-weight:650;margin:0 0 10px;max-width:630px}.question-scope{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 18px}.timer-track{width:100%;height:3px;background:#2d4356;margin:18px 0}.timer-fill{height:3px;width:100%;transform:scaleX(var(--time,1));transform-origin:left;background:var(--teal);transition:transform .1s linear}.timer-track.urgent .timer-fill{background:#ffad96}.answer-form label{font:16px var(--pixel);letter-spacing:1px;color:#bcc9d3;display:block;margin-bottom:8px}.input-row{display:flex;gap:10px;min-width:0}.input-row input{width:100%;min-width:0;border:1px solid #5a7688;background:#0d1e30;color:#fff3dc;min-height:54px;padding:13px 15px;font-size:17px;border-radius:0;box-shadow:inset 0 2px 0 #08121f;scroll-margin-block:10px}.input-row input::placeholder{color:#96acbd;font-size:15px}.input-row input:focus{border-color:var(--teal);outline:2px solid #6ce4d136;outline-offset:1px}.submit-btn{width:150px;flex-shrink:0;min-height:54px;font-size:22px;letter-spacing:1px;box-shadow:0 3px 0 #984d71}.submit-btn .arrow{font-size:24px}.answer-message{font-size:12px;line-height:1.5;color:#d3bcc1;min-height:18px;margin:10px 0 0}.answer-message.error{color:#ffc39e}.panel-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:9px}.panel-hint{font-size:11px;color:#a3bac9;line-height:1.5}.text-btn{border:none;background:none;color:#c6d3d8;padding:8px 0;min-height:36px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.text-btn:hover{color:var(--pink)}.descent-track{position:absolute;right:6px;top:145px;bottom:50px;width:36px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-right:1px solid #d6bbbc6b;pointer-events:none}.descent-mark{font:13px var(--pixel);color:#ead4c8;display:flex;align-items:center;gap:4px;position:relative;left:2px}.descent-mark:after{content:'';width:6px;height:1px;background:#d6bbbc6b}.descent-pointer{position:absolute;right:-8px;top:calc(var(--descent,0)*100%);color:var(--teal);font:20px var(--pixel);transform:translateY(-50%);transition:top 1s ease}.game-tier-caption{font:16px var(--pixel);letter-spacing:1px;color:#c1d1d6;text-align:center;margin:8px 0 0}.game-tier-caption b{color:var(--gold);font-weight:400}
.feedback-panel{text-align:center;max-height:min(65vh,650px);overflow-y:auto}.feedback-tier{font:clamp(28px,4vw,42px)/1 var(--pixel);margin:7px 0 12px;color:var(--tier);letter-spacing:1px}.points-award{display:inline-flex;align-items:baseline;gap:6px;font:58px/.95 var(--pixel);color:var(--tier);margin:6px 0 10px}.points-award small{font-size:20px}.accepted-answer{font-size:20px;line-height:1.3;margin:7px 0 10px;overflow-wrap:anywhere}.feedback-note{font-size:12px;line-height:1.5;color:#b7c9d3;margin:0 0 18px}.feedback-panel .primary-btn{max-width:350px;margin:0 auto;font-size:23px;min-height:50px}.answer-reveal{border-top:1px solid #52708466;margin-top:22px;text-align:left}.answer-reveal summary{cursor:pointer;font:17px var(--pixel);letter-spacing:1px;padding:15px 0;min-height:44px;color:#ccdadb}.answer-bank{font-size:12px;line-height:1.65;padding-top:1px}.bank-row{display:grid;grid-template-columns:160px 1fr;gap:14px;padding:10px 0;border-top:1px solid #51657e40}.bank-tier{color:var(--tier);font:18px var(--pixel);line-height:1.1}.bank-tier small{font:15px var(--pixel);display:block;margin-top:5px}.bank-answers{color:#d7e0de}.bank-note{font-size:11px;color:#a8bdcc;line-height:1.6}.bank-sources{font-size:11px;color:var(--teal);line-height:1.7;display:flex;gap:12px;flex-wrap:wrap}.end-panel{max-height:75vh;overflow-y:auto;text-align:center}.end-icon{font:38px var(--pixel);color:var(--gold);margin:3px 0 8px;letter-spacing:8px}.end-panel h1{font:clamp(35px,5vw,54px)/1 var(--pixel);letter-spacing:1px;margin:10px 0;color:var(--cream)}.end-score{font:82px/.9 var(--pixel);color:var(--teal);margin:17px 0}.end-score small{font-size:30px;color:#adc1cb}.end-panel.perfect .end-score{color:var(--gold)}.end-panel p{font-size:13px;line-height:1.7;color:#c1cfd4}.end-stats{display:flex;justify-content:center;gap:30px;margin:20px 0 25px}.end-stats strong{display:block;font:29px var(--pixel);color:var(--cream)}.end-stats span{font:15px var(--pixel);letter-spacing:1px;color:#adbcc9}.end-actions{display:flex;gap:12px;justify-content:center;align-items:stretch}.end-actions .primary-btn{font-size:23px;min-height:52px;max-width:300px}.end-actions .quiet-btn{padding:10px 15px;font:19px var(--pixel)}.round-review{margin-top:20px;text-align:left}.review-item{border-top:1px solid #5b748759;padding:12px 0;display:grid;grid-template-columns:1fr auto;gap:10px}.review-item p{margin:0;font-size:12px;color:#e3e4d9}.review-item small{display:block;color:#b4c2cc;font-size:11px;margin-top:5px}.review-item strong{color:var(--tier);font:24px var(--pixel)}.share-status{min-height:22px;font-size:12px!important;color:var(--teal)!important;margin-bottom:0!important}
dialog{color:var(--cream);border:1px solid #6d899d;background:#142639;box-shadow:8px 8px 0 #09142388;width:min(600px,calc(100% - 28px));padding:0;max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#081326bb;backdrop-filter:blur(5px)}.dialog-inner{padding:32px;position:relative}.dialog-close{position:absolute;right:14px;top:14px;font:30px var(--pixel);background:#1c3047}.dialog-inner h2{font:36px var(--pixel);letter-spacing:1px;margin:10px 45px 17px 0}.dialog-inner h3{font:23px var(--pixel);color:var(--teal);letter-spacing:1px;margin:22px 0 9px}.dialog-inner p,.dialog-inner li{font-size:14px;line-height:1.7;color:#cad5d9}.dialog-inner ol{padding-left:22px}.dialog-inner li{padding:4px 0 4px 3px}.help-tiers{list-style:none;padding:0!important;margin:20px 0}.help-tiers li{display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--tier);border-bottom:1px solid #6380953b;padding:10px 0;font:22px var(--pixel)}.help-tiers small{color:#adc0cd;font:14px var(--pixel);display:block;margin-top:4px}.help-tiers strong{font:28px var(--pixel);font-weight:400}.dialog-inner .primary-btn{font-size:23px;min-height:50px;margin-top:22px}.dialog-inner .quiet-btn{width:100%;min-height:48px;font:20px var(--pixel);margin-top:14px}.source-list{max-height:42vh;overflow:auto;border-top:1px solid var(--border);margin-top:16px;padding-top:4px}.source-list details{padding:9px 0}.source-list summary{font-size:13px;line-height:1.5;cursor:pointer;min-height:30px}.source-list a{font-size:12px;display:block;line-height:1.6;margin-top:8px}.toggle-row{display:flex;gap:12px;align-items:flex-start;margin:18px 0;font-size:13px;line-height:1.5;color:#c1cfd5}.toggle-row input{width:20px;height:20px;accent-color:#6ce4d1;flex-shrink:0;margin-top:1px}.toggle-row strong{display:block;color:var(--cream);font-weight:500}.dialog-meta{font-size:12px!important;color:#a9becb!important}.pause-time{font:48px var(--pixel);color:var(--teal);margin:18px 0}.quit-layout{text-align:center}.quit-layout h2{margin-right:0}.quit-layout p{margin-inline:auto;max-width:390px}
@media(min-width:1440px){#app{padding-inline:48px}.hero{padding-top:40px}.home{min-height:610px}.launchpad{width:530px}.scene-space{min-height:150px}.question-panel{margin-bottom:25px}}
@media(max-width:1100px){.best-badge{min-width:95px;padding:10px;top:16px}.best-badge .tiny-label{font-size:13px}.best-badge strong{font-size:29px}.hero h1{font-size:clamp(66px,10vw,112px)}.hero{padding-top:32px}.site-footer>span:nth-child(2){display:none}.rarity-strip li{padding-inline:10px}.descent-track{right:0}.question-panel,.feedback-panel{width:min(100% - 70px,700px)}}
@media(max-width:767px){#app{padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));gap:15px}.brand-name{font-size:22px}.edition{font-size:8px}.brand-mark{width:37px;height:36px;font-size:34px}.help-label{display:none}.help-btn{width:44px;justify-content:center;padding:0}.help-btn>span:first-child{font-size:25px}.topbar nav{gap:7px}.hero{padding-top:29px}.hero h1{font-size:clamp(65px,11.6vw,92px);margin-bottom:19px;letter-spacing:1px;text-shadow:3px 3px 0 #29374d,-2px 0 0 #82d9cf,3px 0 0 #df7993}.hero p{font-size:13px;line-height:1.7}.eyebrow{font-size:16px;letter-spacing:2px}.best-badge{position:static;order:0;min-width:0;display:flex;align-items:center;gap:10px;padding:5px 11px;margin-top:17px;background:#15273baa}.best-badge strong{font-size:22px}.best-badge small{font-size:16px}.home{min-height:610px}.hero{order:-1}.scene-space{min-height:125px}.launchpad{padding:13px 17px 17px;max-width:470px}.game-facts{font-size:15px;gap:10px;margin-top:18px}.game-facts span+span:before{margin-right:10px}.rarity-strip{margin-top:24px;max-width:550px}.rarity-strip li{padding-inline:6px}.rarity-strip .tier-name{font-size:15px;white-space:normal}.rarity-strip .tier-points{font-size:22px}.rarity-caption{letter-spacing:1px;font-size:9px}.site-footer{font-size:8px;letter-spacing:.7px;min-height:32px}.site-footer button{min-height:36px}.score-hud{padding:9px 12px;gap:13px}.hud-number{font-size:30px}.hud-number small{font-size:16px}.tiny-label{font-size:13px}.progress-hud{padding:10px 12px}.progress-dot{width:12px;height:10px}.progress-dots{gap:4px}.progress-hud .tiny-label{font-size:13px}.game-top{gap:10px}.end-run-btn{font-size:17px;padding:0 10px}.location-label{margin-top:20px}.descent-track{display:none}.question-panel,.feedback-panel{width:100%;padding:21px}.game-spacer{min-height:100px}.question-panel h2{font-size:24px}.game-tier-caption{font-size:14px;margin-top:2px}.end-panel{width:100%;padding:24px}.end-score{font-size:70px}}
@media(max-width:479px){#app{padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right));gap:12px}.brand-name{font-size:19px;letter-spacing:.5px}.edition{font-size:6.5px;letter-spacing:1.2px}.brand{gap:9px}.brand-mark{width:32px;height:32px;font-size:30px}.topbar nav{gap:6px}.icon-btn,.help-btn{width:40px;min-height:44px;padding:10px}.hero{padding-top:23px}.hero h1{font-size:15.3vw;letter-spacing:0}.eyebrow{font-size:14px;letter-spacing:1.8px;gap:8px}.eyebrow:before,.eyebrow:after{width:17px}.hero p{font-size:12px}.home{min-height:570px}.scene-space{min-height:100px}.launchpad{padding:11px 14px 15px}.mode-tab{font-size:18px;letter-spacing:.5px}.primary-btn{font-size:24px;min-height:55px;gap:12px}.launch-note{font-size:11px}.game-facts{font-size:13px;gap:8px;margin-top:18px;letter-spacing:.4px}.game-facts span+span:before{margin-right:8px;font-size:6px}.rarity-strip{margin:22px 0 6px}.rarity-strip li{padding-inline:4px}.rarity-strip .tier-name{font-size:13px;line-height:1.15}.rarity-strip .tier-points{font-size:19px}.tier-gem{width:5px;height:5px;margin-bottom:6px}.rarity-caption{font-size:8px;letter-spacing:.65px}.site-footer{font-size:7px;letter-spacing:.6px;gap:8px}.site-footer button{font-size:8px;letter-spacing:.3px}.score-hud{padding:8px 10px;gap:12px}.score-hud .hud-number{font-size:28px}.score-hud .tiny-label{font-size:11px;letter-spacing:.7px}.hud-divider{height:30px}.progress-hud{padding:8px}.progress-dot{width:9px;height:10px}.progress-dots{gap:3px}.progress-hud .tiny-label{font-size:11px;letter-spacing:.5px}.game-top{grid-template-columns:1fr auto auto;gap:7px}.end-run-btn{min-height:44px;padding:0 9px;gap:0;font-size:19px}.end-run-btn .end-run-label{display:none}.location-label{margin-top:18px}.location-label span{font-size:12px}.location-label strong{font-size:21px}.game-spacer{min-height:85px}.question-panel{padding:17px 15px;margin-bottom:8px}.question-panel h2{font-size:21px;line-height:1.3;letter-spacing:-.3px}.panel-top{margin-bottom:10px}.question-category{font-size:16px}.timer{font-size:25px}.question-scope{font-size:11px;line-height:1.5;margin-bottom:14px}.timer-track{margin:14px 0}.answer-form label{font-size:14px}.input-row{gap:8px}.input-row input{min-height:50px;padding:11px;font-size:16px}.input-row input::placeholder{font-size:13px}.submit-btn{width:52px;min-height:50px}.submit-btn .submit-label{display:none}.submit-btn .arrow{font-size:28px}.answer-message{font-size:11px;margin-top:9px;min-height:16px}.panel-hint{font-size:10px;max-width:210px}.panel-bottom{gap:8px;margin-top:4px}.text-btn{font-size:11px;white-space:nowrap;min-height:44px}.feedback-panel{padding:20px 17px}.feedback-tier{font-size:31px}.accepted-answer{font-size:18px}.bank-row{grid-template-columns:112px 1fr;gap:10px}.bank-tier{font-size:16px}.bank-answers{font-size:11px}.bank-note{font-size:10px}.end-panel{padding:20px 16px}.end-stats{gap:20px}.end-actions{flex-direction:column}.end-actions .primary-btn{max-width:none}.dialog-inner{padding:24px 20px}.dialog-inner h2{font-size:31px;margin-top:12px}.dialog-inner p,.dialog-inner li{font-size:13px}.help-tiers li{font-size:20px}.help-tiers small{font-size:13px}}
@media(max-height:740px) and (min-width:768px){#app{gap:12px;padding-top:16px}.home{min-height:490px}.hero{padding-top:8px}.hero h1{font-size:85px;margin-bottom:17px}.hero p{font-size:13px}.eyebrow{font-size:16px;margin-bottom:8px}.scene-space{min-height:60px}.launchpad{padding:10px 17px 14px;width:450px}.mode-tabs{margin-bottom:10px}.mode-tab{min-height:35px;padding:5px}.launchpad .primary-btn{min-height:49px}.launch-note{margin-top:12px}.game-facts{margin-top:16px}.rarity-strip{margin:18px 0 4px}.rarity-caption{margin-top:5px}.game-spacer{min-height:35px}.location-label{margin-top:12px}.question-panel{padding:18px 24px}.question-panel h2{font-size:25px}.question-scope{margin-bottom:10px}.timer-track{margin:12px 0}.descent-track{top:100px}.feedback-panel{max-height:68vh}}
@media(max-height:520px) and (orientation:landscape){#app{height:auto;min-height:100dvh;padding-top:max(10px,env(safe-area-inset-top));gap:8px}.topbar{min-height:38px}.brand-mark{width:31px;height:30px;font-size:29px}.brand-name{font-size:19px}.edition{display:none}.topbar nav button{min-height:36px;height:36px;width:36px;padding:7px}.help-label{display:none}.home{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;min-height:0;align-content:center;padding-top:13px}.hero{padding:0;grid-column:1;grid-row:1/3}.hero h1{font-size:clamp(42px,7.3vw,70px);margin-bottom:14px}.hero p{font-size:11px}.eyebrow{font-size:13px;letter-spacing:1px}.best-badge{position:static;grid-column:1;grid-row:3;justify-self:center;padding:4px 10px;margin:0;display:flex;align-items:center;gap:10px}.best-badge strong{font-size:22px}.scene-space{display:none}.launchpad{grid-column:2;grid-row:1/4;width:100%;padding:10px 14px}.mode-tab{font-size:16px;min-height:35px}.mode-tabs{margin-bottom:10px}.launchpad .primary-btn{font-size:21px;min-height:48px}.launch-note{font-size:10px}.game-facts{margin-top:15px;gap:6px;font-size:12px}.game-facts span+span:before{margin-right:6px}.rarity-strip{grid-column:1/-1;margin:6px auto 0}.rarity-strip li{padding-inline:10px}.rarity-strip .tier-name{font-size:13px}.rarity-strip .tier-points{font-size:17px}.tier-gem{display:none}.rarity-caption{grid-column:1/-1;margin:0}.site-footer{font-size:7px;min-height:24px}.site-footer button{min-height:28px}.game{display:grid;grid-template-columns:minmax(175px,.8fr) minmax(0,1.7fr);gap:12px;align-items:start}.game-top{display:flex;flex-wrap:wrap;gap:10px;grid-column:1;grid-row:1}.score-hud{padding:8px 10px;gap:12px}.progress-hud{padding:8px 10px;order:2}.end-run-btn{order:3}.location-label{grid-column:1;grid-row:2;margin:2px 0;align-self:start}.location-label strong{font-size:20px}.location-label span{font-size:12px}.game-spacer,.descent-track,.game-tier-caption{display:none}.question-panel,.feedback-panel{grid-column:2;grid-row:1/4;width:100%;margin:0;padding:14px 16px}.question-panel h2{font-size:19px}.panel-top{margin-bottom:8px}.question-category{font-size:15px}.timer{font-size:22px}.question-scope{font-size:10px;margin-bottom:8px}.timer-track{margin:9px 0}.answer-form label{font-size:13px;margin-bottom:5px}.input-row input{min-height:44px;font-size:16px;padding:9px 11px}.submit-btn{width:49px;min-height:44px}.submit-label{display:none}.answer-message{font-size:10px;margin-top:6px;min-height:15px}.panel-bottom{margin-top:0}.panel-hint{font-size:9px}.text-btn{min-height:32px;font-size:10px}.feedback-panel{max-height:75vh}.end-panel{grid-column:1/-1;max-height:75vh;max-width:650px;justify-self:center}.game-spacer:has(+.end-panel){display:none}}
/* visualViewport contracts with a mobile keyboard. Keep the complete answer area in view. */
.keyboard-open #app{height:var(--viewport-height);min-height:var(--viewport-height);padding-top:max(7px,env(safe-area-inset-top));gap:6px}.keyboard-open .topbar{display:none}.keyboard-open .site-footer,.keyboard-open .location-label,.keyboard-open .game-spacer,.keyboard-open .descent-track,.keyboard-open .game-tier-caption{display:none}.keyboard-open .game{display:flex;gap:7px;min-height:0;overflow-y:auto}.keyboard-open .game-top{flex-shrink:0}.keyboard-open .score-hud{padding:5px 9px}.keyboard-open .hud-number{font-size:23px}.keyboard-open .hud-divider{height:25px}.keyboard-open .progress-hud{padding:6px 8px}.keyboard-open .question-panel{margin:0;width:100%;padding:12px 14px;flex:1}.keyboard-open .question-panel h2{font-size:18px;line-height:1.25;margin-bottom:7px}.keyboard-open .question-scope{font-size:10px;margin-bottom:7px}.keyboard-open .panel-top{margin-bottom:6px}.keyboard-open .timer-track{margin:9px 0}.keyboard-open .panel-hint{display:none}.keyboard-open .panel-bottom{margin:0;justify-content:flex-end}.keyboard-open .answer-message{font-size:10px;min-height:14px;margin-top:5px}.keyboard-open .text-btn{min-height:32px;padding:4px 0}.keyboard-open .answer-form label{margin-bottom:5px}.keyboard-open .input-row input,.keyboard-open .submit-btn{min-height:44px}.keyboard-open .timer{font-size:22px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.scanlines{display:none}}
.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced-motion .scanlines{display:none}
@media(forced-colors:active){button,.question-panel,.feedback-panel,.end-panel,.score-hud,.progress-hud{border:1px solid CanvasText}.progress-dot.current{background:Highlight}.timer-fill{background:Highlight}}

/* Scene-first revision: compact HUD and bottom answer dock. */
.hud-number{white-space:nowrap}
.in-run #app{gap:12px}
.in-run .edition{display:none}
.game{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0}
.game-top{display:grid;grid-template-columns:1fr auto 1fr;width:100%;gap:12px}
.score-hud{padding:7px 12px;gap:14px}
.score-hud .tiny-label{font-size:12px;letter-spacing:1px}
.hud-number{font-size:28px;margin-top:1px}
.hud-number small{font-size:16px}
.hud-divider{height:28px}
.progress-hud{padding:8px 12px}
.progress-dot{height:10px;width:13px}
.progress-hud .tiny-label{font-size:12px}
.end-run-btn{justify-self:end;min-height:44px;align-self:start;padding:0 13px;font:17px var(--pixel)}
.location-label{align-self:flex-start;text-align:left;margin-top:14px}
.location-label span{display:none}
.location-label strong{font-size:19px;letter-spacing:1px}
.game-spacer{flex:1;min-height:140px}
.question-panel{width:min(100%,760px);padding:14px 18px;margin:0 0 8px;background:#142538f0}
.panel-top{margin-bottom:7px}
.question-category{font-size:15px;letter-spacing:1px}
.timer{font-size:24px;gap:5px}
.question-panel h2{font-size:22px;line-height:1.25;margin-bottom:7px;max-width:none}
.question-scope{font-size:11px;line-height:1.4;margin:0 0 8px;color:#c2ced7}
.timer-track{height:2px;margin:9px 0 12px}
.timer-fill{height:2px}
.input-row{gap:8px}
.input-row input{min-height:44px;padding:10px 12px;font-size:16px}
.submit-btn{min-height:44px;width:120px;font-size:19px;box-shadow:0 3px 0 #984d71;padding:8px}
.submit-btn .arrow{font-size:22px}
.skip-answer{flex-shrink:0;width:47px;min-height:44px;background:#263c50;border:1px solid #637b8d;color:#d1dee2;font:16px var(--pixel);padding:5px}
.skip-answer:hover{background:#3b5369}
.answer-message:empty{display:none}
.answer-message{min-height:0;margin:8px 0 0;font-size:11px}
.game-tier-caption{display:none}
.descent-track{top:115px;bottom:240px}
.feedback-panel{width:min(100%,600px);padding:16px 20px;margin-bottom:8px;text-align:left;max-height:60vh}
.feedback-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}
.feedback-tier{font-size:28px;margin:0;line-height:1.05}
.points-award{font-size:44px;white-space:nowrap;margin:0}
.points-award small{font-size:16px}
.accepted-answer{font-size:15px;margin:7px 0 0}
.feedback-note{font-size:11px;margin:10px 0 13px;line-height:1.4}
.feedback-actions{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start}
.feedback-panel .primary-btn{min-height:44px;font-size:21px;margin:0;max-width:none;padding:8px 14px}
.feedback-panel .answer-reveal{border:0;margin:0}
.feedback-panel .answer-reveal summary{font-size:14px;letter-spacing:.3px;min-height:44px;padding:14px 0 10px}
.feedback-panel .answer-reveal[open]{grid-column:1/-1}
.end-game{justify-content:flex-end}
.end-game>.game-spacer:last-child{display:none}
.end-panel{width:min(100%,560px);max-height:58vh;padding:18px 22px;margin-bottom:8px}
.end-icon{display:none}
.end-panel h1{font-size:32px;margin:7px 0}
.end-score{font-size:56px;margin:10px 0}
.end-score small{font-size:24px}
.end-panel p{font-size:12px;line-height:1.4;margin:8px 0}
.end-stats{gap:25px;margin:12px 0 17px}
.end-stats strong{font-size:23px}
.end-stats span{font-size:11px;letter-spacing:.4px}
.end-actions .primary-btn{min-height:44px;font-size:21px}
.end-actions .quiet-btn{min-height:44px;font-size:17px}
.end-panel .share-status:empty{display:none}
.round-review{margin-top:8px}
@media(max-width:767px){
  .in-run #app{gap:9px}.game-top{grid-template-columns:1fr auto auto;gap:8px}.score-hud{padding:6px 9px;gap:11px}.hud-number{font-size:25px}.progress-hud{padding:7px 9px}.progress-dot{width:10px;height:9px}.progress-dots{gap:3px;margin-bottom:4px}.progress-hud .tiny-label{font-size:11px}.location-label{margin-top:9px}.location-label strong{font-size:17px}.question-panel{padding:13px 15px;margin-bottom:5px}.question-panel h2{font-size:21px}.question-scope{font-size:10px;line-height:1.4}.game-spacer{min-height:100px}.question-category{font-size:14px}.timer{font-size:22px}.timer-track{margin:8px 0 11px}.submit-btn{width:48px}.submit-label{display:none}.skip-answer{width:43px;font-size:15px}.site-footer>span:nth-child(2){display:none}.feedback-panel{padding:14px 16px}.feedback-tier{font-size:25px}.feedback-summary{gap:10px}.points-award{font-size:38px}.feedback-note{margin:9px 0 11px}.feedback-actions{gap:12px}.feedback-panel .primary-btn{font-size:18px;letter-spacing:.8px;padding-inline:10px}.feedback-panel .answer-reveal summary{font-size:12px}.end-panel{padding:15px 18px;max-height:55vh}.end-panel h1{font-size:29px}.end-stats{gap:18px}.end-actions{flex-direction:row}.end-actions .primary-btn{max-width:240px}.end-panel .text-btn{min-height:32px}.end-panel .round-review summary{min-height:30px}
}
@media(max-width:359px){
  .brand-name{font-size:16px}.brand-mark{width:28px;height:28px;font-size:26px}.brand{gap:7px}.edition{display:none}.topbar{gap:8px}.topbar nav{gap:5px}.icon-btn,.help-btn{width:38px}.score-hud{gap:7px;padding:6px 7px}.score-hud .hud-number{font-size:22px}.hud-number small{font-size:12px}.score-hud .tiny-label{font-size:10px}.progress-hud{padding:7px}.progress-dot{width:8px}.progress-hud .tiny-label{font-size:10px}.end-run-btn{padding:0 9px;font-size:15px}.game-top{gap:6px}.question-panel h2{font-size:19px}.question-panel{padding:12px}.question-category{font-size:12px}.timer{font-size:21px}.feedback-tier{font-size:22px}.points-award{font-size:32px}.feedback-panel .answer-reveal summary{font-size:10px;letter-spacing:0}.feedback-panel .primary-btn{font-size:17px}.end-panel h1{font-size:26px}.end-score{font-size:48px}.end-stats{gap:10px}.end-stats span{font-size:10px}
}
@media(max-height:520px) and (orientation:landscape){
  .in-run #app{min-height:100dvh;height:auto;gap:7px;padding-top:8px;padding-bottom:5px}.in-run .topbar{position:absolute;top:8px;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));pointer-events:none;min-height:36px}.in-run .topbar a,.in-run .topbar button{pointer-events:auto}.in-run .brand-name{display:none}.in-run .topbar nav{gap:5px}.in-run .topbar nav button{width:36px;min-height:36px;height:36px}.in-run .game-top{display:flex;gap:8px;width:calc(100% - 180px);margin-right:64px;min-height:44px}.in-run .score-hud{padding:5px 8px;gap:9px;flex-shrink:0}.in-run .score-hud .tiny-label{font-size:9px;letter-spacing:.5px}.in-run .score-hud .hud-number{font-size:22px}.in-run .score-hud .hud-number small{font-size:12px}.in-run .progress-hud{padding:6px;order:0}.in-run .progress-dot{width:7px;height:8px}.in-run .progress-hud .tiny-label{font-size:10px;letter-spacing:0}.in-run .end-run-btn{position:absolute;left:0;top:50px;min-height:32px;font-size:14px;padding:0 9px}.in-run .location-label{align-self:flex-end;margin-top:3px}.in-run .location-label strong{font-size:15px;margin-top:0}.in-run .game-spacer{display:block;min-height:80px;flex:1}.in-run .question-panel{padding:11px 14px;width:min(100%,720px);grid-column:auto;grid-row:auto}.in-run .question-panel h2{font-size:18px;margin-bottom:5px}.in-run .question-scope{font-size:10px;margin-bottom:6px}.in-run .panel-top{margin-bottom:5px}.in-run .question-category{font-size:13px}.in-run .timer{font-size:20px}.in-run .timer-track{margin:6px 0 9px}.in-run .answer-message{font-size:10px;margin-top:6px}.in-run .feedback-panel{width:min(100% - 60px,560px);grid-column:auto;grid-row:auto;padding:12px 16px;max-height:58vh}.in-run .feedback-tier{font-size:24px}.in-run .points-award{font-size:36px}.in-run .feedback-note{margin:7px 0 10px}.in-run .accepted-answer{font-size:13px}.in-run .site-footer{min-height:20px}.in-run .site-footer button{min-height:24px}.end-game{align-items:flex-end;padding-top:45px}.end-game>.game-spacer{display:none!important}.end-panel{width:58%;max-height:calc(100dvh - 95px);padding:12px 14px;margin:0}.end-panel h1{font-size:23px}.end-panel .tiny-label{font-size:10px}.end-score{font-size:42px;margin:7px 0}.end-panel p{font-size:10px}.end-stats{display:none}.end-actions{flex-direction:row;gap:8px}.end-actions .primary-btn{font-size:17px;min-height:40px;padding:7px;letter-spacing:.5px}.end-actions .quiet-btn{font-size:14px;min-height:40px;padding:7px}.end-panel .text-btn{font-size:10px;min-height:25px;padding:5px 0}.round-review{margin-top:4px}
}
.keyboard-open .game-spacer,.keyboard-open .location-label{display:none!important}.keyboard-open .game-top{width:100%;margin:0;min-height:0}.keyboard-open .end-run-btn{position:static;min-height:44px}.keyboard-open .question-panel{flex:0 0 auto}.keyboard-open .question-category{font-size:13px}.keyboard-open .topbar{display:none}.keyboard-open .game{justify-content:space-between}.keyboard-open .input-row{padding-bottom:2px}
@media(max-height:520px) and (orientation:landscape){.in-run #app{height:var(--viewport-height,100dvh)}}
@media(max-height:360px) and (orientation:landscape){.in-run .game-spacer{min-height:8px}.in-run .location-label{margin-top:2px}.in-run .question-panel{margin-bottom:0}}
/* Long scoped prompts can use the space they need without pushing input off screen. */
.game-spacer{min-height:0}
@media(max-width:767px){.game-spacer{min-height:0}.question-scope{font-size:11px}.question-category{max-width:calc(100% - 62px);overflow-wrap:anywhere}}
@media(max-height:520px) and (orientation:landscape){.in-run .game-spacer{min-height:0}.in-run .question-scope{font-size:10px}.in-run .panel-top{gap:8px}}
@media(max-height:500px) and (max-width:500px){.in-run:has(#answer-input:focus) .topbar{display:none}.in-run:has(#answer-input:focus) .game-top{width:100%;margin:0;display:grid;grid-template-columns:1fr auto auto}.in-run:has(#answer-input:focus) .end-run-btn{position:static;min-height:44px}.in-run:has(#answer-input:focus) .site-footer{display:none}.in-run:has(#answer-input:focus) .location-label{display:none}}

/* A compact character control keeps the city in view; the roster opens on demand. */
.character-picker{display:flex;align-items:center;gap:10px;width:100%;padding:4px 10px;min-height:44px;margin:0 0 12px;border:1px solid #71978765;background:#18353c;color:#cfdfd4;text-align:left;font:15px var(--pixel);letter-spacing:.5px}
.character-picker svg{width:18px;height:30px;flex:none;image-rendering:pixelated}
.character-picker>span:nth-child(2){flex:1}.character-picker strong{color:var(--cream);font-weight:400}.character-picker>span:last-child{color:var(--teal);font-size:13px}
.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.character-option{min-width:0;display:flex;align-items:center;flex-direction:column;padding:12px 7px;border:1px solid #5f7a8966;background:#22394a;gap:8px}
.character-option[aria-pressed=true]{border-color:var(--teal);background:#29524f;box-shadow:inset 0 -3px var(--teal)}
.character-option svg{width:42px;height:70px;image-rendering:pixelated}.character-option strong{font:19px/1 var(--pixel);min-height:38px}.character-option small{font-size:10px;color:var(--muted)}.character-selected{font:13px var(--pixel);letter-spacing:1px;color:var(--teal)}
.question-host{display:flex;gap:9px;align-items:center;min-width:0}.question-host>svg{width:30px;height:34px;flex:none;image-rendering:pixelated;border:1px solid #8eb89b66}.question-host>div{display:flex;flex-direction:column;gap:3px;min-width:0}.host-name{font:14px/1 var(--pixel);letter-spacing:1.5px;color:#a5d5a6}.host-name span{font-size:8px;color:#9edb9b}.question-host .question-category{max-width:none;font-size:12px;line-height:1.15;letter-spacing:.7px}.lester-reaction{display:block;margin:0 0 6px;color:#c9d9b7;font-style:italic}.lester-reaction b{font:12px var(--pixel);letter-spacing:.8px;color:#a5d5a6}
@media(max-width:600px){.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.character-option strong{font-size:18px}.question-host{gap:7px}.question-host>svg{width:27px;height:30px}.question-host .question-category{font-size:11px}.host-name{font-size:13px}}
@media(max-width:359px){.character-picker{font-size:14px;gap:7px}.character-picker>span:last-child{font-size:12px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.question-host .question-category{font-size:10px}.question-host>svg{width:24px;height:27px}}
@media(max-height:520px) and (orientation:landscape){.character-picker{margin-bottom:8px;min-height:38px;font-size:14px}.character-picker svg{height:26px;width:16px}.question-host>svg{width:23px;height:26px}.host-name{font-size:12px}.question-host .question-category{font-size:10px}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.character-option svg{width:30px;height:50px}}

/* The briefing stays on the left; the entire scene is framed in the open space. */
@media(min-width:768px) and (min-height:521px){
  .in-run{--sidebar-width:clamp(260px,22vw,310px);--scene-inset:calc(max(32px,env(safe-area-inset-left)) + var(--sidebar-width) + 16px)}
  .in-run #world{left:var(--scene-inset);width:calc(100% - var(--scene-inset))}
  .in-run .world-shade{background:linear-gradient(90deg,#101d2e99,transparent 45%),linear-gradient(180deg,#101c3033,transparent 30%,transparent 80%,#0d1c2b66)}
  .in-run .game{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:28px;row-gap:18px;align-items:start}
  .in-run .game-top{grid-column:1/-1;grid-row:1}
  .in-run .location-label{grid-column:2;grid-row:2;justify-self:center;align-self:start;text-align:center;margin:8px 44px 0 0}
  .in-run .game-spacer{display:none}
  .in-run .question-panel,.in-run .feedback-panel{grid-column:1;grid-row:2;width:100%;height:100%;max-height:540px;min-height:0;margin:0;padding:22px;overflow-y:auto;overscroll-behavior:contain}
  .in-run .question-panel{display:flex;flex-direction:column}
  .in-run .panel-top{align-items:flex-start;gap:9px;margin-bottom:25px}
  .in-run .question-host{gap:8px}
  .in-run .question-host>svg{width:30px;height:34px}
  .in-run .host-name{font-size:14px;letter-spacing:1px}
  .in-run .question-host .question-category{font-size:11px;line-height:1.3;letter-spacing:.3px}
  .in-run .timer{font-size:24px;gap:3px}
  .in-run .timer svg{display:none}
  .in-run .question-panel h2{font-size:24px;line-height:1.3;margin-bottom:14px}
  .in-run .question-scope{font-size:12px;line-height:1.6;margin-bottom:12px}
  .in-run .timer-track{flex:none;margin:12px 0 0}
  .in-run .answer-form{margin-top:auto;padding-top:28px}
  .in-run .input-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:10px}
  .in-run .input-row input{grid-column:1/-1;min-height:48px}
  .in-run .submit-btn{width:100%;min-height:46px;font-size:20px;gap:10px}
  .in-run .submit-label{display:inline}
  .in-run .skip-answer{width:100%;min-height:46px}
  .in-run .answer-message{font-size:12px;line-height:1.4;margin-top:12px}
  .in-run .descent-track{top:100px;bottom:20px}
  .in-run .feedback-panel{height:auto;max-height:100%}
  .in-run .feedback-summary{flex-direction:column;align-items:flex-start;gap:18px}
  .in-run .feedback-tier{font-size:32px;line-height:1.05}
  .in-run .accepted-answer{font-size:17px;line-height:1.4;margin-top:13px}
  .in-run .points-award{font-size:60px}
  .in-run .feedback-note{font-size:12px;line-height:1.6;margin:18px 0}
  .in-run .feedback-actions{grid-template-columns:1fr;gap:14px}
  .in-run .feedback-panel .primary-btn{font-size:20px;letter-spacing:.7px}
  .in-run .feedback-panel .answer-reveal{border-top:1px solid var(--border)}
  .in-run .feedback-panel .answer-reveal summary{font-size:15px}
  .in-run .bank-row{grid-template-columns:1fr;gap:8px}
  .in-run .bank-tier small{display:inline;margin-left:7px}
  .in-run .end-game{grid-template-rows:minmax(0,1fr);align-items:center;padding:0}
  .in-run .end-panel{grid-column:1;grid-row:1;width:100%;max-height:100%;margin:0;padding:22px;text-align:left}
  .in-run .end-panel h1{font-size:34px}
  .in-run .end-score{font-size:68px;margin-block:22px}
  .in-run .end-stats{flex-direction:column;gap:13px;align-items:flex-start}
  .in-run .end-stats>div{display:flex;align-items:center;gap:10px}
  .in-run .end-actions{flex-direction:column;gap:12px}
  .in-run .end-actions .primary-btn{max-width:none}
}
@media(min-width:768px) and (min-height:521px) and (max-height:700px){
  .in-run .question-panel,.in-run .feedback-panel{padding:17px}
  .in-run .panel-top{margin-bottom:14px}
  .in-run .question-panel h2{font-size:21px;margin-bottom:10px}
  .in-run .question-scope{font-size:11px;line-height:1.45}
  .in-run .answer-form{padding-top:16px}
}
@media(min-width:1440px) and (min-height:521px){.in-run{--scene-inset:calc(max(48px,env(safe-area-inset-left)) + var(--sidebar-width) + 16px)}}
