/* From style.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#111310;--panel:#1a1c18;--ink:#f0f1e8;--muted:#85897c;--green:#d5fa65;--orange:#ff863e;--blue:#59b8ff;--red:#ff655b;--line:#32362c}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:25px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:5px}
button:disabled{opacity:.3;cursor:default}
a{color:inherit;text-decoration:none}
.topbar{height:92px;max-width:1440px;padding:0 5.5%;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:-.5px;display:flex;align-items:center;gap:10px;font-size:17px}
.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--bg);height:28px;width:28px;border-radius:7px;font-size:27px}
.version{font:10px monospace;color:var(--muted);margin-left:10px}
.nav-right{display:flex;align-items:center;gap:13px;font:10px monospace;letter-spacing:1px}
.status-dot,.live-label i{height:6px;width:6px;background:var(--green);border-radius:50%;display:inline-block;box-shadow:0 0 8px #d5fa6533}
.icon-button{border:1px solid var(--line);background:none;color:var(--ink);border-radius:8px;padding:10px 12px;font-size:11px}
.home{max-width:1280px;margin:auto;padding:95px 30px 30px;display:grid;grid-template-columns:1.1fr 1fr;position:relative;min-height:690px}
.eyebrow{font:10px 'Space Grotesk',monospace;font-weight:500;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:10px}
.eyebrow>span{width:6px;height:6px;background:var(--green);border-radius:50%}
h1{font:600 clamp(60px,6.8vw,94px)/1.04 'Space Grotesk',sans-serif;letter-spacing:-6px;margin:26px 0 24px;position:relative;max-width:590px}
h1 em{color:var(--green);font-style:normal}
.heading-star{font-size:65px;color:var(--green);position:absolute;right:3%;top:45%;transform:rotate(-12deg)}
.hero-copy>p{color:#9b9e94;line-height:1.8;font-size:16px}
.hero-actions{display:flex;align-items:center;gap:27px;margin-top:32px}
.primary{border:1px solid var(--green);border-radius:9px;background:var(--green);color:#161b0c;font:700 12px 'Space Grotesk',sans-serif;letter-spacing:1px;padding:19px 23px;display:inline-flex;gap:55px;align-items:center;justify-content:space-between;box-shadow:0 5px 0 #768c34;transition:transform .15s,box-shadow .15s}
.primary span{font-size:22px;line-height:15px}
.primary:hover{transform:translateY(-3px);box-shadow:0 8px 0 #768c34,0 0 28px #d5fa6518}
.primary:active{transform:translateY(5px);box-shadow:0 0 0 #768c34}
.text-button{border:0;background:none;color:var(--ink);font:10px 'Space Grotesk',sans-serif;letter-spacing:1px;padding:10px 0}
.text-button span{margin-left:10px}
.text-button:hover{color:var(--green)}
.hero-meta{display:flex;gap:25px;font:8px monospace;letter-spacing:.5px;color:var(--muted);margin-top:43px}
.character-scene{position:relative;display:flex;align-items:center;justify-content:center;min-height:420px;perspective:1000px}
.character{width:243px;background:#d7d9cb;border:3px solid #e7e9dc;border-radius:23px;padding:17px;transform:rotate(-11deg) rotateY(-15deg) rotateX(10deg);box-shadow:8px 8px 0 #858a77,17px 17px 0 #535747,25px 28px 0 #080a08;position:relative;animation:bob 4s ease-in-out infinite;z-index:2}
.character-top{display:flex;justify-content:space-between;color:#515748;font:8px monospace;font-weight:bold;margin-bottom:12px}
.face{height:105px;background:var(--green);border:5px solid #5d6651;border-radius:9px;box-shadow:inset 3px 5px 0 #a4c348;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}
.eyes{display:flex;gap:42px}
.eyes i{width:13px;height:20px;background:#2c3919;box-shadow:3px 0 #2c3919;animation:blink 5s infinite}
.smile{width:32px;height:13px;border:5px solid #2c3919;border-top:0;margin-top:10px;border-radius:0 0 10px 10px}
.face-spark{position:absolute;right:10px;top:8px;color:#68832f;font-size:20px}
.character-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:15px}
.character-keys i{height:32px;display:grid;place-items:center;background:#f0f1e9;color:#333a2c;box-shadow:0 4px 0 #949985;border-radius:5px;font:700 13px monospace}
.character-keys i:nth-child(4n){background:#3b4133;color:#e6eadd;box-shadow:0 4px 0 #24291d}
.character-keys i:nth-child(15){background:var(--orange);box-shadow:0 4px 0 #a45121}
.character-foot{position:absolute;bottom:-40px;width:55px;height:28px;background:#d7d9cb;border-radius:5px 5px 12px 12px;box-shadow:5px 7px 0 #737a62;z-index:-1}
.foot-left{left:27px;transform:rotate(10deg)}
.foot-right{right:25px;transform:rotate(-10deg)}
.character-shadow{position:absolute;bottom:9px;width:240px;height:35px;background:#090b08;border-radius:50%;filter:blur(10px)}
.orbit-label{position:absolute;top:-8px;right:29px;font:8px monospace;letter-spacing:1.5px;color:var(--muted);transform:rotate(8deg)}
.floating-symbol{position:absolute;color:var(--green);font:400 65px 'Space Grotesk';text-shadow:4px 5px 0 #333e20}
.symbol-one{top:32px;left:50px;transform:rotate(-20deg)}
.symbol-two{right:25px;top:115px;transform:rotate(12deg);color:var(--orange);text-shadow:4px 5px 0 #613e26}
.symbol-three{left:30px;bottom:45px;color:#858b7b;font-size:45px}
.scene-caption{position:absolute;bottom:-43px;font:8px monospace;letter-spacing:1px;color:var(--muted)}
.scene-caption span{margin-right:8px}
.scroll-cue{grid-column:1/-1;display:flex;align-items:center;gap:16px;font:8px monospace;letter-spacing:2px;color:var(--muted);margin-top:85px}
.scroll-cue>span:first-child{font-size:20px;color:var(--ink)}
.cue-line{height:1px;background:var(--line);flex:1;margin-left:15px}
.arcade{max-width:1220px;margin:55px auto 0;padding:0 30px}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}
h2{font:500 30px 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:10px 0 0}
h2 span{color:var(--muted)}
.live-label{font:8px monospace;letter-spacing:1px;border:1px solid var(--line);padding:10px 12px;border-radius:20px;display:flex;gap:8px;align-items:center}
.arena{background:#191c17;border:1px solid #383c32;border-radius:18px;position:relative;box-shadow:0 12px 0 #0b0d0a,0 14px 0 #30352a;overflow:hidden;transition:box-shadow .3s,border-color .3s}
.arena-top,.arena-bottom{padding:19px 28px;display:flex;justify-content:space-between;align-items:center;font:9px monospace;letter-spacing:1px;color:var(--muted)}
.arena-top{border-bottom:1px solid #2b3025}
.arena-top b{color:var(--ink);font-weight:400}
.tiny-cross{font-size:19px;color:var(--green);vertical-align:middle;margin-right:8px}
.game-layout{display:grid;grid-template-columns:1fr 360px 1fr;gap:40px;padding:30px 60px 23px;max-width:950px;margin:auto;align-items:center}
.meter-column{text-align:center;align-self:stretch;padding-top:8px}
.stat-label{font:8px monospace;color:#969d8a;letter-spacing:1.8px}
.stat-value{font:500 43px 'Space Grotesk',sans-serif;letter-spacing:-2px;margin:7px 0 3px;font-variant-numeric:tabular-nums}
.stat-caption{font:7px monospace;color:var(--muted);letter-spacing:.8px;display:block}
.fire-icon{font-size:30px;color:var(--orange);margin-left:10px}
.liquid-meter{height:254px;width:76px;background:#10140e;margin:27px auto 18px;border:1px solid #3c4434;border-radius:14px;box-shadow:inset 4px 4px 0 #0a0d08,3px 4px 0 #252b20;position:relative;overflow:hidden}
.liquid{position:absolute;bottom:0;left:0;width:100%;height:94%;background:var(--blue);transition:height .25s linear;opacity:.9}
.heat-meter .liquid{background:var(--orange);height:0}
.wave{position:absolute;width:150px;height:150px;left:-37px;top:-142px;background:#10140e;border-radius:44%;animation:wave 5s linear infinite}
.wave.second{top:-145px;opacity:.5;animation-duration:7s;border-radius:39%}
.meter-ticks{position:absolute;inset:15px 6px;border-right:5px dotted #b3bdaa44;z-index:2;pointer-events:none}
.meter-number{position:absolute;bottom:25px;left:0;right:0;color:#e8f4fa;z-index:3;text-shadow:0 1px 4px #0009}
.meter-number span{display:block;font:600 26px 'Space Grotesk'}
.meter-number small{font:8px monospace;letter-spacing:1px}
.meter-footer{font:8px monospace;letter-spacing:1px;white-space:nowrap}
.blue-dot,.orange-dot{display:inline-block;width:5px;height:5px;background:var(--blue);border-radius:50%;margin-right:6px}
.orange-dot{background:var(--orange)}
.bubble{position:absolute;width:5px;height:5px;background:#ffffff55;border-radius:50%;bottom:10px;left:20px;animation:bubble 3s linear infinite}
.b2{left:48px;animation-delay:1.5s;width:3px;height:3px}
.console{background:#252a20;border:1px solid #4b5240;border-radius:17px;padding:15px;box-shadow:0 7px 0 #0e120b,0 9px 0 #3b4430,8px 14px 22px #0006;transition:box-shadow .3s}
.display{height:192px;background:#11180e;border:1px solid #404d31;border-radius:9px;padding:15px 15px 10px;box-shadow:inset 0 4px 6px #0008;position:relative;overflow:hidden}
.display-top,.display-bottom{font:7px monospace;letter-spacing:1px;color:#7d9167;display:flex;justify-content:space-between}
.question{text-align:center;font:500 38px 'Space Grotesk';letter-spacing:3px;color:#e9f2dd;margin:13px 0 7px}
.question span{color:#8fa56f}
.answer-slot{height:48px;display:flex;justify-content:center;align-items:center;gap:5px;color:var(--green);font:500 30px 'Space Grotesk';position:relative}
.display-bottom{margin-top:10px;font-size:6px}
.pixel-pet{width:6px;height:6px;background:var(--green);color:var(--green);box-shadow:6px 0,12px 0,-6px 0,-12px 0,-12px -6px,12px -6px,-18px 6px,-12px 6px,0 6px,12px 6px,18px 6px,-18px 12px,-12px 12px,-6px 12px,0 12px,6px 12px,12px 12px,18px 12px,-12px 18px,12px 18px,-18px 24px,18px 24px;position:relative;top:-12px;animation:pet .7s steps(2) infinite}
.input-caret{height:25px;width:2px;background:var(--green);animation:blink 1s infinite;display:none}
.feedback-row{display:flex;justify-content:space-between;align-items:center;padding:14px 3px;font:700 10px 'Space Grotesk';letter-spacing:1.5px;color:var(--green);height:46px}
#multiplier{font:11px monospace;border:1px solid #4b5739;padding:4px 7px;border-radius:4px}
.keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.keypad button{height:45px;border:1px solid #505946;border-radius:7px;background:#394131;color:#edf2e5;font:500 21px 'Space Grotesk';box-shadow:0 4px 0 #151c0e;transition:transform .08s,box-shadow .08s,background .15s}
.keypad button:hover{background:#4a553d;border-color:#778c59}
.keypad button:active,.keypad button.pressed{transform:translateY(4px);box-shadow:0 0 0 #151c0e;background:#71844f}
.keypad .utility{background:#2b3324;color:#9cae87;font-size:17px}
.keypad .enter-key{grid-column:4;grid-row:3/5;height:auto;background:var(--green);color:#233113;border-color:#d5fa65;box-shadow:0 4px 0 #708f35;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:30px}
.enter-key small{font:7px monospace;margin-top:6px;letter-spacing:1px}
.console-bottom{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 1px;font:6px monospace;color:#839071;letter-spacing:1px}
.console-bottom>span:first-child{font-weight:bold;font-size:8px}
.console-bottom i{width:4px;height:4px;background:var(--green);border-radius:50%}
.arena-bottom{border-top:1px solid #2b3025;font-size:7px}
kbd{border:1px solid #414837;border-radius:3px;padding:3px 4px;margin:0 4px 0 10px;font-size:8px}
kbd:first-child{margin-left:0}
.game-overlay{position:absolute;inset:60px 0 45px;display:grid;place-items:center;background:#11150ee6;backdrop-filter:blur(7px);z-index:5}
.game-overlay.hidden{display:none}
.overlay-card{text-align:center;padding:20px}
.overlay-card .eyebrow{justify-content:center;color:var(--green)}
.overlay-card h3{font:500 48px 'Space Grotesk';letter-spacing:-2px;margin:15px 0}
.overlay-card p{font-size:14px;color:#9da793;line-height:1.8;margin:0 0 25px}
.instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;margin:65px 0 80px}
.instructions>div{border-top:1px solid var(--line);padding-top:20px}
.instructions span{font:8px monospace;letter-spacing:1.5px;color:var(--green)}
.instructions h3{font:500 21px 'Space Grotesk';margin:15px 0 9px}
.instructions p{color:var(--muted);font-size:12px;line-height:1.8;max-width:270px}
footer{max-width:1220px;padding:25px 30px 35px;border-top:1px solid var(--line);margin:auto;display:flex;justify-content:space-between;align-items:center}
footer .brand{font-size:12px}
footer .brand-icon{width:21px;height:21px;font-size:20px}
footer>span{font:7px monospace;color:var(--muted);letter-spacing:1px}
.arena.success{border-color:var(--green);box-shadow:0 0 35px #d5fa6530,0 12px 0 #0b0d0a}
.arena.success .console{box-shadow:0 0 25px #d5fa6535,0 7px 0 #0e120b}
.arena.overdrive{border-color:var(--orange);box-shadow:0 0 50px #ff863e22,0 12px 0 #0b0d0a}
.overdrive .feedback-row{color:var(--orange)}
.overdrive .display{border-color:var(--orange)}
.arena.miss{animation:shake .35s;filter:saturate(.35)}
.arena.miss .display{background:#29120f;border-color:var(--red)}
.arena.miss .feedback-row{color:var(--red)}
.cracks{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.cracks path{fill:none;stroke:#ff9680;stroke-width:1.4}
.miss .cracks{opacity:.65}
.score-pop{animation:scorePop .28s}
.feedback-pop{animation:feedbackPop .3s}
.question-in{animation:questionIn .2s}
.countdown{font:600 100px 'Space Grotesk';color:var(--green)}
#particles{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:8}
dialog{border:1px solid #4c5540;border-radius:18px;background:#1c2217;color:var(--ink);width:min(440px,calc(100% - 30px));padding:28px;box-shadow:0 12px 0 #0a0d08,0 30px 100px #000b}
dialog::backdrop{background:#070a07c9;backdrop-filter:blur(8px)}
.dialog-top{display:flex;justify-content:space-between;align-items:center}
.setting-row{display:flex;align-items:center;justify-content:space-between;margin-top:25px;font-size:14px}
.setting-row select{background:#11180e;color:var(--ink);border:1px solid #48533c;border-radius:6px;padding:10px}
input[type=checkbox]{accent-color:var(--green);width:18px;height:18px}
.settings-note{color:var(--muted);font-size:12px;line-height:1.6;margin:25px 0}
dialog .primary{width:100%}
#resultDialog{text-align:center}
.result-symbol{font-size:45px;color:var(--green);margin:10px 0}
.result-score{font:600 66px 'Space Grotesk';color:var(--green);letter-spacing:-3px;margin-top:15px}
.result-stats{display:flex;justify-content:space-around;margin:28px 0}
.result-stats strong{font:500 22px 'Space Grotesk';display:block}
.result-stats span{font:7px monospace;color:var(--muted);display:block;margin-top:8px}
.run-code{padding:15px;border:1px dashed #4c5540;border-radius:7px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.run-code span{font:7px monospace;color:var(--muted)}
.run-code strong{font:11px monospace}
.reduced-motion *, .reduced-motion *:before,.reduced-motion *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}
@keyframes bob{50%{transform:translateY(-12px) rotate(-8deg) rotateY(-12deg) rotateX(10deg)}}
@keyframes blink{0%,44%,50%,100%{opacity:1}46%,48%{opacity:.1}}
@keyframes wave{to{transform:rotate(360deg)}}
@keyframes bubble{to{transform:translateY(-180px);opacity:0}}
@keyframes pet{50%{transform:translateY(-3px)}}
@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@keyframes scorePop{0%{transform:translateY(8px);opacity:.35}100%{transform:translateY(0);opacity:1}}
@keyframes feedbackPop{0%{transform:scale(.9);opacity:.3}60%{transform:scale(1.07)}100%{transform:scale(1)}}
@keyframes questionIn{from{transform:translateY(-8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1500px){
.home{padding-top:110px;min-height:750px}
.character-scene{transform:scale(1.08)}
}
@media(max-width:900px){
.home{padding-top:65px;min-height:620px}
h1{font-size:66px;letter-spacing:-4px}
.heading-star{display:none}
.hero-meta{gap:12px;font-size:6px}
.character{width:210px}
.character-keys{gap:8px}
.character-keys i{height:26px}
.symbol-one{left:5px}
.symbol-two{right:0}
.orbit-label{font-size:6px;right:0}
.game-layout{grid-template-columns:1fr 320px 1fr;gap:20px;padding:25px 30px}
.stat-value{font-size:34px}
.stat-label{font-size:7px}
.instructions{gap:25px}
.scene-caption{font-size:6px}
.primary{gap:30px}
.hero-actions{gap:15px}
}
@media(max-width:620px){
.topbar{height:72px;padding:0 20px}
.brand{font-size:13px}
.version,.desktop-label,.nav-right>.status-dot{display:none}
.nav-right{gap:7px}
.icon-button{padding:9px}
.home{padding:45px 23px 20px;grid-template-columns:1fr;min-height:auto}
.eyebrow{font-size:8px;letter-spacing:1.3px}
h1{font-size:64px;margin-top:24px}
.hero-copy>p{font-size:14px}
.hero-actions{gap:24px}
.hero-meta{font-size:7px;margin-top:32px}
.character-scene{min-height:370px;margin-top:50px}
.character{width:208px}
.orbit-label{right:10px;top:0;font-size:7px}
.symbol-one{left:35px;top:45px}
.symbol-two{right:25px}
.symbol-three{left:30px;bottom:20px}
.scene-caption{bottom:-10px;font-size:7px}
.scroll-cue{margin-top:50px;font-size:7px}
.arcade{padding:0 14px;margin-top:45px}
.section-heading{padding:0 7px}
.section-heading h2{font-size:24px;max-width:250px}
.section-heading h2 span{display:block}
.live-label{font-size:6px;padding:8px;max-width:110px;line-height:1.6}
.arena{border-radius:13px}
.arena-top{padding:12px 14px;font-size:7px}
.arena-top .text-button{font-size:8px}
.game-layout{grid-template-columns:45px minmax(0,1fr) 45px;gap:8px;padding:22px 9px 20px;align-items:center}
.console{padding:9px;border-radius:12px}
.meter-column{padding-top:8px}
.stat-label{font-size:6px;letter-spacing:0;min-height:17px;line-height:1.5}
.stat-value{font-size:20px;letter-spacing:-1px}
.fire-icon{display:none}
.stat-caption{font-size:5px;letter-spacing:0;line-height:1.5;min-height:15px}
.liquid-meter{width:30px;height:223px;margin:22px auto 12px;border-radius:8px}
.meter-number span{font-size:16px}
.meter-number small{font-size:5px}
.meter-footer{font-size:5px;letter-spacing:0;white-space:normal;line-height:1.6}
.blue-dot,.orange-dot{width:4px;height:4px;margin-right:2px}
.meter-ticks{border-right-width:2px;right:3px}
.display{padding:12px 8px 8px;height:175px}
.display-top{font-size:5px;letter-spacing:.4px}
.question{font-size:29px;margin-top:14px}
.display-bottom{font-size:5px;letter-spacing:0}
.feedback-row{font-size:7px;letter-spacing:.5px;padding:12px 0;height:40px}
#multiplier{font-size:9px;padding:3px 5px}
.keypad{gap:7px}
.keypad button{height:42px;font-size:18px}
.keypad .utility{font-size:14px}
.keypad .enter-key{font-size:24px}
.console-bottom{font-size:4px;letter-spacing:.3px}
.console-bottom>span:first-child{font-size:6px}
.arena-bottom{padding:13px 12px;font-size:5px;letter-spacing:0;gap:8px}
kbd{font-size:6px;padding:2px;margin-left:4px}
.game-overlay{inset:49px 0 40px}
.overlay-card h3{font-size:39px}
.overlay-card p{font-size:12px}
.instructions{grid-template-columns:1fr;margin:45px 8px;gap:25px}
.instructions p{max-width:none;margin-bottom:0}
.instructions h3{font-size:20px;margin-top:10px}
footer{margin:0 20px;padding:22px 0;gap:20px;flex-wrap:wrap}
footer>span:last-child{display:none}
footer>span{font-size:6px}
.wave{left:-60px}
.result-score{font-size:55px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
.home-guide{max-width:1220px;margin:auto;padding:0 30px}
.home-guide .instructions{margin-top:20px}
.game-page{background:#10120f;min-height:100svh}
.game-page .topbar{height:66px;max-width:none;padding:0 4%}
.game-page .arcade{max-width:1140px;margin:24px auto 50px}
.game-page .section-heading{margin-bottom:18px}
.game-page h2{font-size:25px}
.game-page .arena{background:#141712;overflow:visible;border-color:#2f3528;box-shadow:0 8px 0 #090b08}
.game-page .arena-top{padding:10px 24px}
.game-page .arena-bottom{padding:15px 24px}
.game-page .game-layout{grid-template-columns:1fr 340px 1fr;max-width:890px;padding:25px 35px 51px;gap:55px}
.game-page .console{position:relative;background:#d7d9cb;border:3px solid #e7e9dc;border-radius:23px;padding:17px;box-shadow:5px 6px 0 #858a77,10px 12px 0 #535747,15px 20px 0 #080a08;transform:perspective(1200px) rotateX(3deg);z-index:1;transition:box-shadow .15s,transform .15s}
.game-page .character-top{font-size:8px;margin-bottom:12px}
.game-page .display{height:178px;background:#d5fa65;border:5px solid #5d6651;border-radius:10px;box-shadow:inset 3px 5px 0 #a4c348;padding:12px 12px 9px;transition:background .15s}
.game-page .display-top,.game-page .display-bottom{color:#536c2e;font-weight:bold}
.game-page .question{color:#243117;font-size:40px;letter-spacing:1px;margin:9px 0 2px}
.game-page .question span{color:#647f37}
.game-page .answer-slot{color:#243117;height:44px;font-weight:700}
.game-page .pixel-pet{color:#2c3919;background:#2c3919;transform:scale(.8)}
.game-page .input-caret{background:#2c3919}
.game-page .display-bottom{margin-top:9px}
.mini-face{position:absolute;right:12px;top:28px;display:flex;gap:6px;opacity:.45}
.mini-face i{width:4px;height:7px;background:#2c3919}
.mini-face b{position:absolute;top:9px;left:4px;width:6px;height:3px;border-bottom:2px solid #2c3919}
.question-fuse{margin-top:12px}
.fuse-label{display:flex;justify-content:space-between;font:700 7px monospace;color:#596047;letter-spacing:1px;margin-bottom:5px}
.fuse-track{height:4px;background:#b0b5a1;border-radius:2px;overflow:hidden}
.fuse-track i{display:block;height:100%;width:100%;background:#526a31;transform-origin:left;will-change:transform}
.game-page .feedback-row{color:#32451a;height:40px;padding:10px 0;font-size:9px;letter-spacing:.6px}
.game-page #multiplier{border-color:#a0ac89;background:#c9cebb;color:#3e4f29}
.game-page .keypad{gap:10px}
.game-page .keypad button{height:47px;background:#f0f1e9;color:#333a2c;border:1px solid #f7f8f2;border-radius:7px;box-shadow:0 5px 0 #949985,0 6px 1px #666d5844;font-size:23px;font-weight:600}
.game-page .keypad button:hover{background:#fff;border-color:#fff}
.game-page .keypad .utility{background:#3b4133;color:#e6eadd;border-color:#4c5540;box-shadow:0 5px 0 #24291d;font-size:18px}
.game-page .keypad .enter-key{height:auto;background:#ff863e;color:#39200e;border-color:#ffae69;box-shadow:0 5px 0 #a45121;font-size:32px}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(5px);box-shadow:0 0 0 #949985}
.game-page .console-bottom{color:#606a4f;margin-top:17px}
.game-page .console-bottom i{background:#5d792f}
.game-page .character-foot{bottom:-29px;height:25px;width:62px;box-shadow:4px 5px 0 #737a62;z-index:-1}
.game-page .foot-left{left:40px}
.game-page .foot-right{right:40px}
.game-page .liquid-meter{height:235px;width:66px;margin-top:24px}
.game-page .stat-value{font-size:46px}
.game-page .meter-column{padding-top:28px}
.game-page .game-overlay{inset:46px 0 38px;border-radius:12px;background:#11150ef2;z-index:6}
.game-page .success .console{box-shadow:5px 6px 0 #858a77,10px 12px 0 #535747,0 0 60px #d5fa6540;animation:hardwareHit .16s ease-out}
.game-page .overdrive .console{box-shadow:5px 6px 0 #858a77,10px 12px 0 #535747,0 0 75px #ff863e35}
.game-page .overdrive .feedback-row{color:#9b410c}
.game-page .overdrive .display{border-color:#8c613a}
.game-page .overdrive .wave{animation-duration:2s}
.game-page .miss .display{background:#dfad91;border-color:#a35542;box-shadow:inset 3px 5px 0 #b48671}
.game-page .miss .feedback-row{color:#962d22}
.game-page .miss .cracks path{stroke:#852f22;stroke-width:2}
.game-page .urgent .fuse-track i{background:#c34b25}
.game-page .urgent .fuse-label{color:#a0371c}
.game-page .urgent .time-meter{border-color:#ff655b}
.game-page .urgent:not(.miss) .display{animation:rushPulse .45s ease-in-out infinite alternate}
.game-page .arena.overdrive{border-color:#785231;box-shadow:0 0 80px #ff863e16}
.game-page .arena.success{border-color:#a4c348;box-shadow:0 0 55px #d5fa651c}
.game-page .arena.miss{filter:saturate(.6)}
@keyframes hardwareHit{50%{transform:perspective(1200px) rotateX(0) translateY(3px)}}
@keyframes rushPulse{to{box-shadow:inset 3px 5px 0 #a4c348,0 0 14px #ff863e50}}
@media(min-width:900px) and (max-height:820px){
.game-page .arcade{margin-top:16px}
.game-page .section-heading{margin-bottom:12px}
.game-page .game-layout{padding-top:16px;padding-bottom:39px}
.game-page .display{height:160px}
.game-page .keypad button{height:40px}
.game-page .keypad .enter-key{height:auto}
.game-page .question{font-size:34px;margin-top:6px}
.game-page .feedback-row{height:33px}
.game-page .liquid-meter{height:210px}
}
@media(max-width:900px){
.game-page .game-layout{gap:25px;padding-left:25px;padding-right:25px;grid-template-columns:1fr 320px 1fr}
.game-page .stat-label{font-size:7px}
}
@media(max-width:620px){
.home-guide{padding:0 23px}
.game-page .topbar{height:60px;padding:0 16px}
.game-page .arcade{margin:20px auto 35px;padding:0 10px}
.game-page .section-heading{padding:0 6px;gap:12px}
.game-page h2{font-size:22px}
.game-page .game-layout{grid-template-columns:39px minmax(0,1fr) 39px;gap:10px;padding:24px 8px 46px}
.game-page .console{padding:10px;border-radius:15px;border-width:2px;box-shadow:3px 4px 0 #858a77,6px 8px 0 #535747,9px 14px 0 #080a08}
.game-page .character-top{font-size:6px;margin-bottom:9px}
.game-page .display{height:173px;border-width:4px;padding:12px 6px 8px}
.game-page .question{font-size:32px;margin-top:15px}
.game-page .answer-slot{font-size:26px}
.game-page .mini-face{right:7px;top:26px;transform:scale(.75)}
.game-page .keypad{gap:8px}
.game-page .keypad button{font-size:20px;height:46px;border-radius:5px}
.game-page .keypad .enter-key{height:auto;font-size:27px}
.game-page .keypad .utility{font-size:15px}
.game-page .feedback-row{font-size:7px;height:38px;letter-spacing:0}
.game-page .fuse-label{font-size:6px;letter-spacing:.3px}
.game-page .console-bottom{margin-top:15px}
.game-page .liquid-meter{width:27px;height:244px;margin-top:27px}
.game-page .stat-value{font-size:22px;letter-spacing:-1px}
.game-page .stat-label{font-size:5px;letter-spacing:0}
.game-page .meter-column{padding-top:25px}
.game-page .character-foot{width:40px;height:21px;bottom:-25px}
.game-page .foot-left{left:26px}
.game-page .foot-right{right:26px}
.game-page .arena-top{padding:9px 12px}
.game-page .arena-bottom{padding:13px 8px}
.game-page .game-overlay{inset:46px 0 38px}
.game-page .stat-caption{font-size:5px;overflow-wrap:anywhere}
.game-page .meter-footer{font-size:5px}
.game-page .meter-number span{font-size:14px}
}
@media(min-width:900px) and (max-height:820px){
.game-page .topbar{height:55px}
.game-page .arcade{margin-top:14px}
.game-page .section-heading{margin-bottom:10px}
.game-page h2{font-size:22px;margin-top:6px}
.game-page .arena-top{padding:6px 22px}
.game-page .game-layout{padding-top:14px;padding-bottom:37px}
.game-page .console{padding:12px 15px}
.game-page .character-top{margin-bottom:8px}
.game-page .display{height:142px;padding-top:9px}
.game-page .question{font-size:32px;margin-top:5px;margin-bottom:0}
.game-page .answer-slot{height:35px;font-size:26px}
.game-page .display-bottom{margin-top:7px}
.game-page .question-fuse{margin-top:8px}
.game-page .feedback-row{height:29px;font-size:8px}
.game-page .keypad{gap:8px}
.game-page .keypad button{height:36px;font-size:20px}
.game-page .keypad .enter-key{height:auto}
.game-page .console-bottom{margin-top:12px}
.game-page .liquid-meter{height:205px;margin-top:20px}
.game-page .arena-bottom{padding:12px 22px}
.game-page .game-overlay{inset:40px 0 35px}
}
.face .eyes,.mini-face i{translate:var(--look-x,0px) var(--look-y,0px);transition:translate .14s ease-out}
.face .smile,.mini-face b{translate:var(--mouth-x,0px) var(--mouth-y,0px);transition:translate .2s ease-out}
.character{rotate:var(--look-tilt,0deg);transition:rotate .24s ease-out}
.reduced-motion .face .eyes,.reduced-motion .face .smile,.reduced-motion .mini-face i,.reduced-motion .mini-face b{translate:0 0}
.reduced-motion .character{rotate:0deg}
@media(prefers-reduced-motion:reduce){
.face .eyes,.face .smile,.mini-face i,.mini-face b{translate:0 0}
.character{rotate:0deg}
}
.reaction-stage{height:98px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;isolation:isolate;pointer-events:none;color:var(--green);overflow:hidden}
.reaction-word{font:700 clamp(32px,4.5vw,65px)/1 'Space Grotesk',sans-serif;letter-spacing:-3px;white-space:nowrap;text-shadow:0 4px 0 #536728,0 9px 18px #0008}
.reaction-word span{display:inline-block}
.reaction-detail{font:9px monospace;letter-spacing:2px;color:#b4bca7;margin-top:12px}
.reaction-stage[data-kind=ready] .reaction-word{font-size:22px;letter-spacing:5px;color:#788269;text-shadow:none}
.reaction-stage[data-kind=overdrive]{color:var(--orange)}
.reaction-stage[data-kind=overdrive] .reaction-word{text-shadow:0 4px 0 #823c15,0 0 24px #ff863e55}
.reaction-stage[data-kind=miss]{color:var(--red)}
.reaction-stage[data-kind=miss] .reaction-word{text-shadow:3px 3px 0 #78251e,-2px 0 0 #e0aea766}
.reaction-hit .reaction-word span{animation:letterSlam .7s cubic-bezier(.18,.85,.25,1) both;animation-delay:calc(var(--letter)*18ms)}
.reaction-hit .reaction-detail{animation:detailSnap .45s .12s both}
.reaction-stage:after{content:'';position:absolute;width:90px;height:50px;border:1px solid currentColor;border-radius:50%;opacity:0;z-index:-1}
.reaction-hit:after{animation:impactRing .65s ease-out}
.reaction-hit[data-kind=miss] .reaction-word span{animation-name:letterBreak}
.game-page .game-layout{position:relative;padding-top:10px}
.game-page .game-layout:before,.game-page .game-layout:after{content:'';position:absolute;top:47%;height:2px;width:24%;background:#465333;z-index:0;opacity:.45}
.game-page .game-layout:before{left:13%}
.game-page .game-layout:after{right:13%}
.game-page .success .game-layout:before,.game-page .success .game-layout:after{background:var(--green);box-shadow:0 0 16px #d5fa6570;animation:energyLink .25s ease-out}
.game-page .overdrive .game-layout:before,.game-page .overdrive .game-layout:after{background:var(--orange)}
.game-page .miss .game-layout:before,.game-page .miss .game-layout:after{background:var(--red);opacity:.5}
.meter-column{position:relative;z-index:1}
.meter-hit .stat-value{animation:statHit .45s ease-out}
.meter-hit .liquid-meter{animation:meterHit .45s ease-out}
.meter-damage .liquid-meter{animation:shake .3s;box-shadow:0 0 18px #ff655b55}
.game-page .success .mini-face b{height:5px;border:2px solid #2c3919;border-top:0;border-radius:0 0 5px 5px}
.game-page .miss .mini-face i{rotate:25deg}
.game-page .miss .mini-face i:nth-child(2){rotate:-25deg}
.game-page .miss .mini-face b{border-bottom:0;border-top:2px solid #2c3919;border-radius:4px 4px 0 0}
.game-page .game-overlay{top:46px}
.game-page .game-layout .console{z-index:2}
@keyframes letterSlam{0%{opacity:0;transform:translateY(-30px) scale(1.8) rotate(-9deg);filter:blur(5px)}35%{opacity:1;transform:translateY(4px) scale(.91) rotate(2deg);filter:blur(0)}60%{transform:translateY(-2px) scale(1.05) rotate(-1deg)}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes letterBreak{0%{opacity:0;transform:translateX(-22px) skewX(25deg)}25%{opacity:1;transform:translateX(8px) skewX(-12deg)}45%{transform:translateX(-5px)}65%{transform:translateX(3px) rotate(-3deg)}100%{transform:none}}
@keyframes detailSnap{from{opacity:0;transform:translateY(9px);letter-spacing:5px}to{opacity:1;transform:none;letter-spacing:2px}}
@keyframes impactRing{10%{opacity:.65;transform:scale(.5)}100%{opacity:0;transform:scale(6,2)}}
@keyframes energyLink{0%{transform:scaleX(.1);opacity:.3}50%{opacity:1}100%{transform:scaleX(1);opacity:.5}}
@keyframes statHit{30%{transform:translateY(-4px) scale(1.13);color:var(--green)}100%{transform:none}}
@keyframes meterHit{35%{box-shadow:0 0 22px #d5fa6540;transform:translateY(-3px)}100%{transform:none}}
.scroll-expand{position:relative;width:100%;margin:30px 0}
.scroll-expand__track{position:relative;width:100%}
.scroll-expand__stage{position:sticky;top:0;overflow:hidden;width:100%;height:100svh}
.scroll-expand__frame{position:absolute;inset:0;clip-path:inset(21% 29% round 24px);will-change:clip-path;background:#252e1b}
.scroll-expand__media{position:absolute;inset:0;transform:scale(1.35);will-change:transform;overflow:hidden;display:grid;place-items:center;background:#d5fa65;color:#273718}
.rush-glyph{font:700 clamp(300px,55vw,850px)/1 'Space Grotesk';text-shadow:12px 16px 0 #97ba43;transform:rotate(-12deg)}
.rush-orbit{position:absolute;width:70vw;height:70vw;min-width:500px;min-height:500px;border:1px solid #6f8f38;border-radius:50%}
.orbit-b{width:95vw;height:95vw;min-width:650px;min-height:650px}
.rush-mark{position:absolute;font:500 70px 'Space Grotesk';color:#5d7d2c}
.mark-a{left:14%;top:18%;rotate:-12deg}
.mark-b{right:13%;bottom:15%;rotate:15deg}
.mark-c{right:18%;top:16%}
.scroll-expand__scrim{position:absolute;inset:0;background:#0a1006;opacity:0;pointer-events:none}
.scroll-expand__title{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none;font:700 clamp(45px,7.5vw,105px)/.95 'Space Grotesk';letter-spacing:-5px;color:#f0f1e8;text-shadow:0 5px 0 #26341c,0 15px 35px #0007;will-change:transform,opacity}
.scroll-expand__hint{position:absolute;bottom:5%;left:0;right:0;text-align:center;font:10px monospace;letter-spacing:2px;color:#a8af9d}
.scroll-expand__overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;opacity:0;will-change:transform,opacity}
.scroll-expand__overlay .eyebrow{color:var(--green)}
.scroll-expand__overlay h2{font:600 clamp(40px,6vw,80px)/1 'Space Grotesk';letter-spacing:-3px;margin:24px 0}
.scroll-expand__overlay em{font-style:normal;color:var(--green)}
.scroll-expand__overlay p{color:#e0e5d9;font-size:14px;margin:0 0 30px}
.scroll-expand__overlay .primary{gap:50px}
@media(min-width:900px) and (max-height:820px){
.reaction-stage{height:68px}
.reaction-word{font-size:43px}
.reaction-detail{font-size:7px;margin-top:7px}
.game-page .game-layout{padding-top:4px;padding-bottom:31px}
.game-page .display{height:129px}
.game-page .keypad button{height:32px}
.game-page .keypad .enter-key{height:auto}
.game-page .character-top{margin-bottom:5px}
.game-page .question{font-size:29px}
.game-page .answer-slot{height:30px}
.game-page .console-bottom{margin-top:8px}
}
@media(max-width:620px){
.reaction-stage{height:80px}
.reaction-word{font-size:38px;letter-spacing:-2px}
.reaction-detail{font-size:6px;letter-spacing:1px}
.reaction-stage[data-kind=ready] .reaction-word{font-size:17px;letter-spacing:3px}
.game-page .game-layout{padding-top:4px}
.game-page .game-layout:before{left:7%}
.game-page .game-layout:after{right:7%}
.scroll-expand__title{letter-spacing:-2px}
.scroll-expand__overlay h2{letter-spacing:-2px}
.scroll-expand__overlay .eyebrow{font-size:8px}
.scroll-expand__hint{font-size:8px}
}
.reduced-motion .reaction-word span,.reduced-motion .reaction-detail{opacity:1!important;transform:none!important;filter:none!important}
.reduced-motion .reaction-stage:after{display:none}
@media(prefers-reduced-motion:reduce){
.reaction-word span,.reaction-detail{opacity:1!important;transform:none!important;filter:none!important}
.reaction-stage:after{display:none}
}
.hero-actions{flex-wrap:wrap}
.hero-actions .play-button{min-width:310px;min-height:88px;padding:26px 30px;font-size:21px;letter-spacing:1.5px;border-radius:13px;box-shadow:0 8px 0 #768c34,0 14px 26px #0004;gap:45px}
.hero-actions .play-button span{font-size:34px}
.hero-actions .play-button:hover{box-shadow:0 11px 0 #768c34,0 0 35px #d5fa6530}
.hero-actions .play-button:active{transform:translateY(7px);box-shadow:0 1px 0 #768c34}
.hero-actions .play-button.is-shattered{visibility:hidden;pointer-events:none}
.button-shatter{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}
.button-shard{position:fixed;min-width:0;min-height:0;padding:26px 30px;font-size:21px;letter-spacing:1.5px;border-radius:13px;box-shadow:none;gap:45px;pointer-events:none;transform-origin:center;will-change:transform,opacity}
.button-shard span{font-size:34px}
#take-over:focus{outline:none}
@media(max-width:620px){
.hero-actions .play-button{width:100%;min-width:0;min-height:84px}
.hero-actions{gap:20px}
.hero-actions .text-button{padding:8px 0}
}
.game-page.is-launching{overflow:hidden}
.game-page.is-launching>header,.game-page.is-launching>main{opacity:var(--game-reveal,0)}
.launch-intro.scroll-expand{position:fixed;inset:0;margin:0;z-index:50;background:var(--bg);height:100svh}
.launch-intro .scroll-expand__track,.launch-intro .scroll-expand__stage{height:100%;width:100%}
.launch-intro .scroll-expand__stage{position:relative}
.launch-status{font:700 13px 'Space Grotesk',sans-serif;letter-spacing:4px;color:var(--green);border:1px solid #d5fa6555;border-radius:8px;padding:18px 24px}
.launch-intro .scroll-expand__overlay{pointer-events:none}
/* From polish.css */
html{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#465039 #111310}
body{overflow-x:clip}
button,a{touch-action:manipulation}
.home{padding-top:75px;min-height:640px}
.hero-actions{gap:22px}
.hero-actions .play-button{min-width:280px;min-height:76px;font-size:17px;padding:22px 26px;letter-spacing:1px}
.hero-actions .play-button span{font-size:29px}
.hero-meta{line-height:1.7}
.home-guide .instructions{margin:20px 0 52px}
.hero-copy>p{max-width:360px}
.character-scene{align-self:center}
.scroll-cue{margin-top:65px}
.game-page{min-height:100dvh}
.game-page .topbar{height:56px}
.game-page main{min-height:calc(100dvh - 56px)}
.game-page .arcade{width:min(1120px,100%);margin:0 auto;padding:20px 24px 24px}
.game-page .section-heading{margin-bottom:14px}
.game-page .section-heading h2{font-size:24px}
.game-page .arena{border-radius:20px;background:#161a13;box-shadow:0 6px 0 #080b07}
.game-page .arena-top{padding:9px 22px}
.game-page .arena-bottom{padding:13px 22px}
.game-page .reaction-stage{height:78px}
.game-page .reaction-word{font-size:50px;letter-spacing:-2.5px}
.game-page .reaction-detail{font-size:8px;letter-spacing:1.4px}
.game-page .reaction-stage[data-kind=ready] .reaction-word{font-size:19px;letter-spacing:4px}
.game-page .game-layout{grid-template-columns:1fr 310px 1fr;gap:40px;max-width:850px;padding:6px 30px 40px}
.game-page .console{padding:13px 15px;border-radius:20px}
.game-page .display{height:157px}
.game-page .question{font-size:35px;margin-top:9px}
.game-page .answer-slot{height:37px}
.game-page .keypad{gap:9px}
.game-page .keypad button{height:43px;font-size:21px}
.game-page .keypad .enter-key{height:auto}
.game-page .feedback-row{height:35px;font-size:8px}
.game-page .console-bottom{margin-top:13px}
.game-page .stat-value{font-size:42px}
.game-page .liquid-meter{height:220px}
.game-page .game-overlay{inset:43px 0 37px}
.game-page.is-launching{overflow-y:auto}
.game-page.is-launching #gameOverlay{visibility:hidden}
.game-page .game-layout:before,.game-page .game-layout:after{opacity:.25}
.game-page .reaction-stage:after{max-width:80px}
.launch-intro.scroll-expand{height:100dvh;overflow:clip;background:#111310;pointer-events:none}
.launch-intro .scroll-expand__frame{background:#1b2116;clip-path:inset(12% 20% round 24px);border:0}
.launch-grid{position:absolute;inset:0;opacity:.4;background:none;border:1px solid #4e6137;box-shadow:inset 0 0 0 20px #161c12}
.launch-top,.launch-bottom{position:absolute;left:25%;right:25%;display:flex;align-items:center;justify-content:space-between;font:10px monospace;letter-spacing:2px;color:#97a386}
.launch-top{top:18%}
.launch-bottom{bottom:18%;gap:20px}
.launch-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;will-change:transform}
.launch-kicker{font:10px monospace;letter-spacing:4px;color:#a6b78e;margin-top:28px}
.launch-center h1{font:600 clamp(40px,6.4vw,86px)/.96 'Space Grotesk',sans-serif;letter-spacing:-4px;margin:17px 0 20px;max-width:none}
.launch-center h1 em{color:var(--green)}
.launch-center p{font-size:12px;color:#a6b09b;margin:0}
.launch-face{display:flex;gap:19px;position:relative;background:var(--green);border-radius:12px;width:76px;height:58px;align-items:center;justify-content:center;box-shadow:0 5px 0 #697f35}
.launch-face i{width:7px;height:11px;background:#26331a}
.launch-face b{position:absolute;width:14px;height:6px;bottom:9px;left:31px;border-bottom:3px solid #26331a;border-radius:0 0 6px 6px}
.launch-progress{height:3px;background:#3a452e;flex:1;overflow:hidden}
.launch-progress i{display:block;width:100%;height:100%;background:var(--green);transform:scaleX(0);transform-origin:left}
#launchCount{font-size:14px;color:var(--green);font-variant-numeric:tabular-nums}
@media(min-width:760px) and (max-height:800px){
.game-page .arcade{padding-top:12px;padding-bottom:14px}
.game-page .section-heading{margin-bottom:10px}
.game-page .section-heading h2{font-size:21px;margin-top:5px}
.game-page .reaction-stage{height:61px}
.game-page .reaction-word{font-size:40px}
.game-page .reaction-detail{font-size:7px;margin-top:8px}
.game-page .game-layout{grid-template-columns:1fr 290px 1fr;padding-top:0;padding-bottom:33px}
.game-page .console{padding:10px 13px}
.game-page .character-top{margin-bottom:7px}
.game-page .display{height:131px;padding:9px 10px}
.game-page .question{font-size:29px;margin-top:4px}
.game-page .answer-slot{height:31px;font-size:25px}
.game-page .display-bottom{margin-top:5px}
.game-page .keypad{gap:8px}
.game-page .keypad button{height:33px;font-size:19px}
.game-page .keypad .enter-key{height:auto}
.game-page .feedback-row{height:29px;font-size:7px}
.game-page .console-bottom{margin-top:9px}
.game-page .liquid-meter{height:185px;margin-top:18px}
.game-page .stat-value{font-size:35px}
.game-page .meter-column{padding-top:15px}
.game-page .question-fuse{margin-top:8px}
.game-page .arena-top{padding:5px 20px}
.game-page .arena-bottom{padding:10px 20px}
}
@media(max-width:759px){
.game-page .arcade{padding:15px 12px 22px}
.game-page .game-layout{grid-template-columns:45px minmax(0,310px) 45px;justify-content:center;gap:14px;padding:4px 12px 38px}
.game-page .stat-value{font-size:24px}
.game-page .stat-label{font-size:6px;letter-spacing:.4px}
.game-page .stat-caption{font-size:5px;letter-spacing:0}
.game-page .fire-icon{display:none}
.game-page .liquid-meter{width:30px;height:230px}
.game-page .meter-number span{font-size:16px}
.game-page .meter-number small{font-size:6px}
.game-page .meter-footer{font-size:6px;letter-spacing:0;white-space:normal}
.game-page .reaction-word{font-size:39px}
.game-page .reaction-stage{height:73px}
.game-page .section-heading h2{font-size:21px}
.game-page .arena-top,.game-page .arena-bottom{padding-left:12px;padding-right:12px}
.game-page .console{padding:11px}
.game-page .character-top{font-size:6px}
.game-page .console-bottom{font-size:5px;letter-spacing:0}
.game-page .feedback-row{font-size:7px;letter-spacing:0}
.game-page .display-top{font-size:6px}
.game-page .keypad button{height:44px}
.game-page .keypad .enter-key{height:auto}
.game-page .character-foot{width:42px;height:22px;bottom:-25px}
.game-page .foot-left{left:25px}
.game-page .foot-right{right:25px}
.launch-top,.launch-bottom{left:12%;right:12%;font-size:8px}
.launch-center h1{letter-spacing:-2px}
.launch-top{top:17%}
.launch-bottom{bottom:17%}
.launch-kicker{margin-top:22px}
}
@media(max-width:420px){
.home{padding-top:42px}
.hero-actions .play-button{min-width:0}
.game-page .game-layout{grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;padding-left:7px;padding-right:7px}
.game-page .console{padding:9px}
.game-page .keypad{gap:7px}
.game-page .keypad button{height:41px;font-size:18px}
.game-page .keypad .enter-key{height:auto}
.game-page .stat-value{font-size:20px}
.game-page .liquid-meter{width:25px}
.game-page .meter-column{padding-top:20px}
.game-page .reaction-detail{font-size:6px;letter-spacing:1px}
.game-page .display{padding-left:6px;padding-right:6px}
.game-page .question{font-size:31px}
.game-page .stat-label{font-size:5px;letter-spacing:0}
.game-page .reaction-word{font-size:35px}
}
@media(max-width:420px){
.game-page .game-layout{grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}
.game-page .stat-value{font-size:17px;letter-spacing:-.7px}
.game-page .stat-caption{overflow-wrap:anywhere}
.game-page .meter-footer{font-size:5px}
.game-page .section-heading .live-label{letter-spacing:0}
}
.launch-cheeky .character{animation:cheekyHop .7s cubic-bezier(.2,.8,.2,1) both;box-shadow:8px 8px 0 #858a77,17px 17px 0 #535747,0 0 70px #d5fa6580;rotate:0deg}
.launch-cheeky .face{background:#e5ff94;box-shadow:inset 3px 5px 0 #b7d45c,0 0 45px #d5fa65aa}
.launch-cheeky .eyes{translate:0 -2px}
.launch-cheeky .eyes i:first-child{height:5px;margin-top:8px;rotate:-12deg;animation:none}
.launch-cheeky .eyes i:last-child{rotate:12deg;animation:none}
.launch-cheeky .smile{translate:4px 2px;width:42px;height:17px;border-width:5px;rotate:-9deg;border-radius:0 0 18px 14px}
.launch-cheeky .face:before,.launch-cheeky .face:after{content:'';position:absolute;width:18px;height:7px;background:#ed975e;opacity:.8;top:60%;border-radius:4px}
.launch-cheeky .face:before{left:18px}
.launch-cheeky .face:after{right:18px}
.launch-cheeky .face-spark{animation:cheekySpark .65s ease-out both}
.launch-flow{position:fixed;inset:0;z-index:100;pointer-events:all;background:#d5fa65;clip-path:circle(0px at var(--flow-x) var(--flow-y));animation:launchWave .65s .4s cubic-bezier(.65,0,.25,1) forwards}
.game-page.arriving:after{content:'';position:fixed;inset:0;z-index:100;pointer-events:none;background:#d5fa65;animation:arrivalWave .22s ease-out forwards}
@keyframes cheekyHop{0%{transform:rotate(-11deg) translateY(0)}40%{transform:rotate(-4deg) translateY(-15px) scale(1.06)}100%{transform:rotate(-7deg) translateY(-7px) scale(1.03)}}
@keyframes cheekySpark{50%{transform:scale(1.8) rotate(45deg)}100%{transform:scale(1.2) rotate(90deg)}}
@keyframes launchWave{0%{clip-path:circle(0px at var(--flow-x) var(--flow-y))}100%{clip-path:circle(var(--flow-radius) at var(--flow-x) var(--flow-y))}}
@keyframes arrivalWave{from{opacity:1}to{opacity:0}}
.game-page.reduced-motion.arriving:after{display:none}
@media(prefers-reduced-motion:reduce){
.game-page.arriving:after{display:none}
}
.launch-flow{background:transparent;clip-path:none;animation:none;overflow:hidden;isolation:isolate}
.launch-flow:before{content:'';position:absolute;left:var(--flow-x);top:var(--flow-y);width:calc(var(--flow-radius)*2);height:calc(var(--flow-radius)*2);margin-left:calc(var(--flow-radius)*-1);margin-top:calc(var(--flow-radius)*-1);border-radius:50%;background:#d5fa65;filter:blur(28px);transform:scale(0);opacity:0;will-change:transform,opacity;animation:softCircleFlow .82s cubic-bezier(.32,0,.2,1) forwards}
@keyframes softCircleFlow{0%{transform:scale(.015);opacity:0}18%{opacity:.72}55%{opacity:1}100%{transform:scale(1);opacity:1}}
.mobile-game-header,.mobile-meters{display:none}
@media(max-width:759px){
html:has(.game-page){scrollbar-gutter:auto}
.game-page{min-height:100dvh}
.game-page>.topbar{display:none}
.mobile-game-header{display:flex;align-items:center;gap:14px;height:60px;padding:8px 16px;border-bottom:1px solid #30372a;padding-top:max(8px,env(safe-area-inset-top));}
.mobile-back{display:grid;place-items:center;width:38px;height:38px;border:1px solid #3b4532;border-radius:10px;font-size:24px}
.mobile-score{display:flex;align-items:center;gap:10px;flex:1}
.mobile-score>span{font:9px monospace;letter-spacing:1px;color:#9fa88f}
.game-page .mobile-score .stat-value{font:600 27px 'Space Grotesk';letter-spacing:-1px;margin:0;color:var(--ink)}
.mobile-actions{display:flex;align-items:center;gap:8px}
.mobile-actions .text-button{font-size:9px;letter-spacing:0;padding:12px 5px}
.mobile-actions .icon-button{height:38px;min-width:38px;font-size:16px}
.game-page main{height:calc(100dvh - 60px);min-height:535px}
.game-page .arcade{height:100%;width:100%;padding:10px 14px max(14px,env(safe-area-inset-bottom));margin:0;max-width:480px}
.game-page .section-heading,.game-page .arena-top,.game-page .arena-bottom{display:none}
.game-page .arena{display:flex;flex-direction:column;height:100%;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.mobile-meters{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:0 0 57px}
.game-page .mobile-meters .meter-column{display:flex;flex-direction:column;position:relative;padding:0;text-align:left;min-width:0;align-self:auto}
.game-page .mobile-meters .stat-label,.game-page .mobile-meters .stat-caption{display:none}
.game-page .mobile-meters .heat-column>.stat-value{position:absolute;right:0;top:0;font:600 10px monospace;margin:0;letter-spacing:0;color:#ffad75}
.game-page .mobile-meters .heat-column>.stat-value:before{content:'STREAK ';font:8px monospace;color:#9ca48f}
.game-page .mobile-meters .meter-footer{order:-1;height:21px;font:8px monospace;letter-spacing:.7px;white-space:nowrap;line-height:14px}
.game-page .mobile-meters .liquid-meter{height:26px;width:100%;margin:0;border-radius:8px;box-shadow:inset 0 2px 4px #0007;border:1px solid #3e4933}
.game-page .mobile-meters .liquid{height:100%!important;width:var(--fill,0%);transition:width .15s linear;opacity:.85;overflow:visible;border-radius:0 6px 6px 0}
.game-page .mobile-meters .wave{width:28px;height:50px;left:auto;right:-15px;top:-12px;border-radius:43%;background:inherit;animation-duration:3s}
.game-page .mobile-meters .wave.second{right:-13px;top:-13px;opacity:.3;animation-duration:4s}
.game-page .mobile-meters .liquid:has(+.meter-number){isolation:isolate}
.game-page .mobile-meters .liquid .wave{background:currentColor}
.game-page .time-meter .liquid{color:var(--blue)}
.game-page .heat-meter .liquid{color:var(--orange)}
.game-page .mobile-meters .meter-ticks,.game-page .mobile-meters .bubble{display:none}
.game-page .mobile-meters .meter-number{inset:0;display:flex;align-items:center;justify-content:center;gap:4px;text-shadow:0 1px 3px #000}
.game-page .mobile-meters .meter-number span{font:600 14px 'Space Grotesk'}
.game-page .mobile-meters .meter-number small{font:7px monospace}
.game-page .reaction-stage{height:64px;flex:0 0 64px;overflow:hidden;justify-content:center}
.game-page .reaction-word{font-size:clamp(32px,9vw,44px);letter-spacing:-1.5px}
.game-page .reaction-detail{font-size:7px;margin-top:8px;letter-spacing:.7px}
.game-page .reaction-stage[data-kind=ready] .reaction-word{font-size:20px;letter-spacing:2px}
.game-page .game-layout{display:flex;flex:1;min-height:0;width:100%;max-width:none;padding:0 5px 7px 0;margin:0}
.game-page .game-layout:before,.game-page .game-layout:after{display:none}
.game-page .console{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;width:100%;height:100%;max-height:650px;padding:12px;border-radius:19px;transform:none;box-shadow:3px 4px 0 #858a77,6px 8px 0 #424a36}
.game-page .character-top{flex:none;font-size:8px;margin:0 1px 9px}
.game-page .display{flex:0 0 clamp(112px,20dvh,175px);height:auto;padding:11px;border-width:4px}
.game-page .display-top{font-size:8px;letter-spacing:.6px}
.game-page .question{font-size:clamp(32px,5dvh,44px);line-height:1.1;margin:9px 0 5px}
.game-page .answer-slot{height:32px;font-size:27px}
.game-page .display-bottom{font-size:7px;margin-top:5px}
.game-page .mini-face{top:30px;right:11px;transform:none}
.game-page .question-fuse{flex:none;margin-top:10px}
.game-page .fuse-label{font-size:8px;margin-bottom:5px}
.game-page .feedback-row{flex:0 0 30px;height:30px;padding:5px 1px;font-size:8px;letter-spacing:.3px}
.game-page .keypad{flex:1;min-height:192px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(42px,1fr));gap:8px}
.game-page .keypad button{height:auto;min-height:42px;font-size:25px;border-radius:8px}
.game-page .keypad .utility{font-size:20px}
.game-page .keypad .enter-key{height:auto;font-size:32px}
.game-page .enter-key small{font-size:8px}
.game-page .console-bottom{flex:none;font-size:6px;letter-spacing:.6px;margin:12px 2px 0}
.game-page .console-bottom>span:first-child{font-size:8px}
.game-page .character-foot{display:none}
.game-page .game-overlay{inset:0;border-radius:15px;z-index:6}
.game-page .overlay-card h3{font-size:38px}
}
@media(max-width:759px) and (max-height:700px){
.game-page .arcade{padding-top:8px;padding-bottom:10px}
.mobile-meters{flex-basis:52px}
.game-page .reaction-stage{height:55px;flex-basis:55px}
.game-page .reaction-word{font-size:34px}
.game-page .reaction-detail{font-size:6px;margin-top:6px}
.game-page .console{padding:10px}
.game-page .display{flex-basis:116px;padding:8px 10px}
.game-page .question{font-size:32px;margin:5px 0 2px}
.game-page .answer-slot{height:29px}
.game-page .display-bottom{font-size:6px;margin-top:3px}
.game-page .character-top{margin-bottom:7px;font-size:7px}
.game-page .question-fuse{margin-top:7px}
.game-page .feedback-row{flex-basis:27px;height:27px;font-size:7px}
.game-page .console-bottom{margin-top:10px}
.game-page .keypad{min-height:192px}
}
/* From experience.css */
.home.home-stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(290px,1fr) auto auto;grid-auto-flow:row;align-items:center;justify-items:center;gap:12px;text-align:center;height:calc(100svh - 92px);min-height:620px;max-height:900px;max-width:1180px;padding:32px 24px 58px;overflow:hidden;position:relative}
.home-stage>*{grid-column:1}
.home-stage .hero-copy{display:flex;flex-direction:column;align-items:center;z-index:4}
.home-stage .hero-copy .eyebrow{justify-content:center}
.home-stage .hero-copy h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-5px;max-width:900px;margin:16px 0 13px;white-space:nowrap}
.home-stage .hero-copy p{font-size:15px;line-height:1.5;margin:0;color:#9ba190;max-width:none}
.home-stage .character-scene{width:min(920px,100%);height:100%;min-height:290px;margin:0;position:relative;isolation:isolate}
.home-stage .character{translate:var(--follow-x,0) var(--follow-y,0);transition:translate .2s ease-out,rotate .24s ease-out}
.home-stage .character-shadow{bottom:10px;transition:transform .25s ease,opacity .25s ease}
.home-stage .character-scene:hover .character-shadow{transform:scaleX(1.14);opacity:.7}
.home-stage .orbit-label{top:18px;right:19%;font-size:9px}
.symbol-stream{position:absolute;top:18px;bottom:18px;width:32%;display:flex;align-items:center;justify-content:space-around;z-index:-1;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.symbol-stream span{position:absolute;display:grid;place-items:center;width:54px;height:54px;border:1px solid #46513b;border-radius:15px;background:#171b14;color:var(--green);font:500 28px 'Space Grotesk';box-shadow:0 6px 0 #0a0c09;animation:symbolDrift 4s ease-in-out infinite;transition:transform .5s cubic-bezier(.2,.8,.2,1),border-color .3s,color .3s}
.stream-left{left:3%}
.stream-right{right:3%}
.stream-left span:nth-child(1){left:2%;top:12%}
.stream-left span:nth-child(2){left:48%;top:0;animation-delay:-1s}
.stream-left span:nth-child(3){left:14%;top:47%;animation-delay:-2.2s}
.stream-left span:nth-child(4){left:57%;top:72%;animation-delay:-.5s}
.stream-left span:nth-child(5){left:0;top:80%;animation-delay:-3s}
.stream-right span:nth-child(1){right:5%;top:10%}
.stream-right span:nth-child(2){right:50%;top:0;animation-delay:-1.8s}
.stream-right span:nth-child(3){right:12%;top:45%;animation-delay:-2.7s}
.stream-right span:nth-child(4){right:57%;top:70%;animation-delay:-.8s}
.stream-right span:nth-child(5){right:2%;top:80%;animation-delay:-3.3s}
.home-stage .character-scene:hover .stream-left{transform:translateX(-36px)}
.home-stage .character-scene:hover .stream-right{transform:translateX(36px)}
.home-stage .character-scene:hover .symbol-stream span{border-color:#76914e;color:#f0f1e8}
.home-stage .hero-actions{display:grid;grid-template-columns:minmax(260px,340px) minmax(210px,260px);gap:14px;margin:0;align-items:stretch;z-index:5;width:min(614px,100%)}
.home-stage .hero-actions .play-button{min-width:0;min-height:72px;width:100%;font-size:16px;text-align:left}
.scoreboard-button{border:1px solid #424b39;background:#1a1e17;color:var(--ink);border-radius:12px;padding:12px 16px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;box-shadow:0 6px 0 #090b08;transition:transform .15s,background .15s,border-color .15s}
.scoreboard-button:hover{background:#22281d;border-color:#697957;transform:translateY(-2px)}
.scoreboard-button:active{transform:translateY(5px);box-shadow:0 1px 0 #090b08}
.scoreboard-button span{font:9px ui-monospace,'Cascadia Code',monospace;letter-spacing:1px;color:#959d88}
.scoreboard-button strong{grid-row:1/3;grid-column:2;font:600 29px 'Space Grotesk';color:var(--green);align-self:center}
.scoreboard-button i{font:normal 8px ui-monospace,'Cascadia Code',monospace;letter-spacing:.6px;color:#e6e9df;margin-top:8px}
.home-stage .hero-meta{margin:2px 0 0;justify-content:center;font-size:9px}
.home-stage .how-button{position:absolute;left:50%;bottom:18px;translate:-50% 0;color:#92998a;white-space:nowrap}
.home-stage+.home-guide{max-width:1050px}
.scoreboard-dialog{text-align:center}
.scoreboard-dialog .scoreboard-mark{font-size:44px;color:var(--green);margin:16px}
.scoreboard-dialog>form>strong{display:block;font:600 76px 'Space Grotesk';color:var(--green);letter-spacing:-4px;margin-top:14px}
.scoreboard-dialog>form>span{font:9px ui-monospace,'Cascadia Code',monospace;letter-spacing:1.5px;color:#9da691}
.scoreboard-dialog p{font-size:13px;color:#9da691;line-height:1.6;margin:24px}
.scoreboard-dialog .primary{width:100%}
@keyframes symbolDrift{0%,100%{translate:0 0;rotate:-4deg}50%{translate:0 -11px;rotate:5deg}}
@media(min-width:760px) and (max-height:800px){
.home.home-stage{grid-template-rows:auto minmax(270px,1fr) auto auto;padding-top:26px}
.home-stage .character{scale:.73;translate:var(--follow-x,0) calc(var(--follow-y,0px) - 13px)}
.home-stage .character-shadow{scale:.74;translate:0 -8px}
.home-stage .symbol-stream span{scale:.88}
.home-stage .orbit-label{top:8px}
.home-stage .hero-copy h1{font-size:clamp(48px,5.4vw,68px);margin-top:13px}
}
.game-page .display,.game-page .display-top,.game-page .display-bottom,.game-page .fuse-label,.game-page .feedback-row{font-family:ui-monospace,'Cascadia Code','SFMono-Regular',Consolas,monospace}
.game-page .display{overflow:hidden}
.game-page .mini-face{display:none}
.game-page .question{font-family:'Space Grotesk',sans-serif;font-weight:600;font-variant-numeric:tabular-nums}
.game-page .answer-slot{font-family:'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums}
.screen-pet{position:absolute;left:50%;bottom:-34px;width:70px;height:62px;translate:-50% 18px;opacity:0;z-index:4;pointer-events:none;transition:opacity .12s,translate .22s cubic-bezier(.2,.9,.25,1)}
.screen-pet.pet-visible{opacity:1;translate:-50% 0}
.pet-head{position:absolute;left:13px;top:4px;width:44px;height:38px;background:#28351c;border:3px solid #17200f;border-radius:16px 16px 13px 13px;box-shadow:0 3px 0 #91ad4d}
.pet-ear{position:absolute;top:1px;width:17px;height:17px;background:#28351c;border:3px solid #17200f;rotate:45deg}
.pet-ear.left{left:9px}
.pet-ear.right{right:9px}
.pet-eye{position:absolute;top:13px;width:5px;height:7px;background:var(--green);border-radius:3px}
.pet-eye.left{left:10px}
.pet-eye.right{right:10px}
.pet-mouth{position:absolute;left:16px;top:24px;width:9px;height:5px;border-bottom:3px solid var(--green);border-radius:0 0 7px 7px}
.pet-hand{position:absolute;bottom:10px;width:23px;height:13px;background:#28351c;border:3px solid #17200f;border-radius:10px}
.pet-hand.left{left:2px;rotate:-13deg}
.pet-hand.right{right:2px;rotate:13deg}
.screen-pet[data-mood=happy] .pet-eye{height:4px;border-bottom:2px solid var(--green);background:none;rotate:10deg}
.screen-pet[data-mood=happy] .pet-eye.right{rotate:-10deg}
.screen-pet[data-mood=happy] .pet-mouth{width:14px;left:13px;height:7px}
.screen-pet[data-mood=sad] .pet-eye{top:14px;rotate:-12deg}
.screen-pet[data-mood=sad] .pet-eye.right{rotate:12deg}
.screen-pet[data-mood=sad] .pet-mouth{border-bottom:0;border-top:3px solid #ff7569;border-radius:7px 7px 0 0;top:27px}
.screen-pet.pet-pop{animation:petResult .55s cubic-bezier(.18,.85,.25,1)}
.question-fuse{border-radius:8px;padding:6px;transition:background .2s,box-shadow .2s}
.question-fuse.fuse-correct{background:#d5fa6524;box-shadow:0 0 0 1px #8dab42,0 0 26px #d5fa6560;animation:fusePositive .5s}
.question-fuse.fuse-correct .fuse-track i{background:var(--green);box-shadow:0 0 12px var(--green)}
.question-fuse.fuse-wrong{background:#ff655b22;box-shadow:0 0 0 1px #aa443d,0 0 22px #ff655b55;animation:fuseNegative .45s}
.question-fuse.fuse-wrong .fuse-track i{background:var(--red)}
.score-digit{display:inline-block;height:1.08em;overflow:hidden;vertical-align:top}
.score-digit i{display:block;height:1.08em;font-style:normal}
.score-roll .score-digit i{animation:digitRoll .5s cubic-bezier(.2,.8,.2,1) var(--digit-delay) both}
.arena.score-milestone{animation:milestoneGlow 1s ease-out}
.arena.score-milestone:before{content:'MILESTONE';position:absolute;inset:0;display:grid;place-items:center;color:#d5fa6518;font:700 clamp(70px,12vw,160px) 'Space Grotesk';letter-spacing:-6px;pointer-events:none;z-index:0}
.arena.heat-max{border-color:var(--orange);box-shadow:0 0 70px #ff863e42,0 6px 0 #080b07}
.arena.heat-max .heat-meter{box-shadow:0 0 24px #ff863e88,inset 0 0 12px #ff863e55;animation:maxHeatPulse .75s ease-in-out infinite alternate}
.arena.heat-max #heatValue{text-shadow:0 0 12px #fff;color:#fff}
.arena.heat-max .console{box-shadow:5px 6px 0 #858a77,10px 12px 0 #535747,0 0 55px #ff863e45}
.reaction-hit[data-kind=perfect] .reaction-word{animation:perfectImpact .65s cubic-bezier(.15,.9,.2,1)}
.reaction-hit[data-kind=perfect]:after{border-width:3px;box-shadow:0 0 30px var(--green)}
.game-page .keypad button{will-change:transform,background,box-shadow;color}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(6px) scale(.96);background:var(--green);color:#18200f;border-color:#d5fa65;box-shadow:0 0 0 #949985,inset 0 3px 0 #ffffff66,0 0 18px #d5fa6566}
.game-page .keypad .enter-key:active,.game-page .keypad .enter-key.pressed{background:#ffad70;color:#271207;box-shadow:inset 0 3px 0 #ffd0aa,0 0 20px #ff863e88}
@keyframes petResult{0%{transform:translateY(28px) scale(.7)}55%{transform:translateY(-7px) scale(1.08)}100%{transform:none}}
@keyframes fusePositive{40%{transform:scale(1.025)}}
@keyframes fuseNegative{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
@keyframes digitRoll{to{translate:0 -1.08em}}
@keyframes milestoneGlow{0%,100%{filter:none}35%{filter:brightness(1.35);box-shadow:0 0 100px #d5fa6580}}
@keyframes maxHeatPulse{to{transform:scale(1.035);filter:brightness(1.2)}}
@keyframes perfectImpact{0%{transform:scale(2.1);filter:blur(8px);opacity:0}38%{transform:scale(.86);filter:none;opacity:1}58%{transform:scale(1.16)}100%{transform:none}}
@media(max-width:759px){
.home.home-stage{grid-template-rows:auto minmax(300px,1fr) auto auto;height:calc(100svh - 72px);min-height:700px;gap:9px;padding:28px 18px 54px}
.home-stage .hero-copy h1{white-space:normal;font-size:clamp(42px,13vw,62px);letter-spacing:-3px;margin:15px 0 12px}
.home-stage .hero-copy p{font-size:14px}
.home-stage .character-scene{min-height:300px;width:100%;margin:0}
.home-stage .character{scale:.84}
.home-stage .orbit-label{right:4%;top:18px}
.symbol-stream{width:30%;top:20px;bottom:20px}
.symbol-stream span{width:42px;height:42px;border-radius:12px;font-size:21px}
.stream-left{left:-2%}
.stream-right{right:-2%}
.home-stage .character-scene:hover .stream-left{transform:translateX(-12px)}
.home-stage .character-scene:hover .stream-right{transform:translateX(12px)}
.home-stage .hero-actions{grid-template-columns:1fr 1fr;width:100%;gap:9px}
.home-stage .hero-actions .play-button{min-height:64px;font-size:13px;padding:17px 16px;gap:14px}
.scoreboard-button{padding:10px 11px}
.scoreboard-button strong{font-size:22px}
.scoreboard-button span,.scoreboard-button i{font-size:7px}
.home-stage .hero-meta{gap:13px;font-size:7px;margin:0}
.home-stage .how-button{font-size:9px;bottom:16px}
.screen-pet{scale:.86;bottom:-35px}
.arena.score-milestone:before{font-size:20vw;letter-spacing:-3px}
}
@media(max-width:390px){
.home-stage .character-scene{min-height:325px}
.home-stage .character{scale:.8}
.home-stage .hero-actions{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
.home-stage .hero-actions .play-button{font-size:11px;padding:15px 12px}
.home-stage .hero-actions .play-button span{font-size:22px}
.scoreboard-button{min-height:62px;padding:9px}
.scoreboard-button strong{font-size:19px}
.scoreboard-button i{letter-spacing:0}
.home-stage .hero-meta{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
.symbol-stream span,.arena.heat-max .heat-meter{animation:none}
.home-stage .character{translate:0 0}
.score-roll .score-digit i{animation:none}
.score-digit i:first-child{display:none}
}
.home.home-stage{
  width:min(1320px,calc(100% - 34px));
  max-width:1320px;
  margin:18px auto 0;
  padding:30px 30px 58px;
  background:#151913;
  border:1px solid #343b2e;
  border-radius:18px;
  box-shadow:0 10px 0 #090b08,0 28px 70px #0006;
}
.home.home-stage:before,.home.home-stage:after{content:"";position:absolute;pointer-events:none;z-index:0}
.home.home-stage:before{inset:12px;border:1px solid #242b20;border-radius:12px}
.home.home-stage:after{left:50%;top:112px;bottom:132px;width:1px;background:#242b20;opacity:.75}
.home-stage .hero-copy,.home-stage .character-scene,.home-stage .hero-actions,.home-stage .hero-meta{position:relative;z-index:2}
.home-stage .how-button{position:absolute;z-index:2;left:50%;bottom:18px;translate:-50% 0}
.home-stage .hero-copy h1{font-size:clamp(50px,6vw,82px);text-transform:uppercase;line-height:.88;max-width:1000px}
.home-stage .hero-copy p{color:#b1b6a8;letter-spacing:.02em}
.home-stage .character-scene{width:min(1080px,100%);overflow:visible}
.home-stage .character{z-index:5}
.home-stage .character-shadow{z-index:3}
.home-stage .orbit-label{right:10%;top:16px}
.symbol-stream{z-index:1;width:24%}
.stream-left{left:1%}
.stream-right{right:1%}
.symbol-stream span{background:#11150e;border-color:#3d4735;box-shadow:0 6px 0 #080a07,0 12px 24px #0005}
.tiny-calci{position:absolute;top:50%;width:116px;padding:9px;background:#d7d9cb;border:2px solid #eef0e6;border-radius:14px;box-shadow:5px 6px 0 #747a67,10px 12px 0 #090b08,0 20px 34px #0008;z-index:4;transition:left .45s ease,right .45s ease,filter .3s ease;will-change:translate}
.tiny-calci-left{left:12%;rotate:8deg;animation:tinyFloatLeft 3.7s ease-in-out infinite}
.tiny-calci-right{right:12%;rotate:-8deg;animation:tinyFloatRight 3.7s ease-in-out infinite}
.tiny-calci-top{display:flex;justify-content:space-between;margin:0 1px 6px;color:#545b4c;font:700 5px monospace;letter-spacing:.3px}
.tiny-calci-screen{height:61px;display:grid;place-items:center;background:var(--green);border:3px solid #5d6651;border-radius:7px;box-shadow:inset 2px 3px 0 #a4c348;position:relative}
.tiny-calci-face{position:relative;width:48px;height:31px;display:flex;justify-content:center;gap:16px;padding-top:3px}
.tiny-calci-face i{display:block;width:6px;height:10px;background:#2c3919;box-shadow:2px 0 #2c3919;transform-origin:center;animation:tinyWink 4.2s steps(1,end) infinite}
.tiny-calci-face i:first-child{animation-delay:.08s}
.tiny-calci-face b{position:absolute;left:15px;bottom:2px;width:20px;height:8px;border:3px solid #2c3919;border-top:0;border-radius:0 0 8px 8px}
.tiny-calci-face em{position:absolute;right:-13px;top:-11px;color:#66802e;font-style:normal;font-size:12px;animation:tinyTwinkle 1.8s ease-in-out infinite}
.tiny-calci-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:7px}
.tiny-calci-keys span{height:14px;display:grid;place-items:center;background:#f2f3ed;color:#3a4034;border-radius:3px;box-shadow:0 2px 0 #929886;font:700 6px monospace}
.tiny-calci-keys span:last-child{background:var(--orange);color:#3b2416;box-shadow:0 2px 0 #a45121}
.character-scene:hover .tiny-calci-left{left:8%;filter:brightness(1.07)}
.character-scene:hover .tiny-calci-right{right:8%;filter:brightness(1.07)}
@keyframes tinyFloatLeft{0%,100%{translate:0 -50%}50%{translate:0 calc(-50% - 10px)}}
@keyframes tinyFloatRight{0%,100%{translate:0 -50%}50%{translate:0 calc(-50% + 10px)}}
@keyframes tinyWink{0%,43%,49%,100%{scale:1 1}45%,47%{scale:1 .12}}
@keyframes tinyTwinkle{0%,100%{opacity:.25;scale:.7;rotate:0deg}50%{opacity:1;scale:1.35;rotate:45deg}}
@media(max-width:759px){
.home.home-stage{width:calc(100% - 20px);margin-top:10px;padding:25px 14px 52px;border-radius:14px;min-height:720px}
.home.home-stage:before{inset:8px;border-radius:9px}
.home.home-stage:after{top:116px;bottom:125px}
.home-stage .hero-copy h1{font-size:clamp(39px,11.5vw,56px);line-height:.92;letter-spacing:-3px}
.home-stage .character-scene{min-height:315px}
.home-stage .character{scale:.78}
.tiny-calci{width:72px;padding:6px;border-radius:10px;box-shadow:3px 4px 0 #747a67,6px 8px 0 #090b08,0 13px 22px #0007}
.tiny-calci-left{left:2%;rotate:7deg}
.tiny-calci-right{right:2%;rotate:-7deg}
.tiny-calci-top{font-size:3px;margin-bottom:4px}
.tiny-calci-screen{height:39px;border-width:2px}
.tiny-calci-face{width:32px;height:21px;gap:10px;padding-top:2px}
.tiny-calci-face i{width:4px;height:7px;box-shadow:1px 0 #2c3919}
.tiny-calci-face b{left:10px;bottom:1px;width:13px;height:6px;border-width:2px;border-top:0}
.tiny-calci-face em{right:-7px;top:-7px;font-size:8px}
.tiny-calci-keys{gap:3px;margin-top:5px}
.tiny-calci-keys span{height:9px;font-size:4px;box-shadow:0 1px 0 #929886}
.character-scene:hover .tiny-calci-left{left:0}
.character-scene:hover .tiny-calci-right{right:0}
.symbol-stream{width:25%}
.symbol-stream span{width:34px;height:34px;font-size:17px}
.symbol-stream span:nth-child(2),.symbol-stream span:nth-child(4){display:none}
.home-stage .orbit-label{right:4%;top:10px}
}
@media(max-width:390px){
.home.home-stage{min-height:720px}
.home-stage .character-scene{min-height:320px}
.home-stage .character{scale:.75}
.tiny-calci{width:66px}
.tiny-calci-left{left:-1%}
.tiny-calci-right{right:-1%}
}
@media(prefers-reduced-motion:reduce){
.tiny-calci,.tiny-calci-face i,.tiny-calci-face em{animation:none}
}
:root{--bg:#020617;--panel:#0f172a;--ink:#f8fafc;--muted:#94a3b8;--green:#facc15;--orange:#ec4899;--blue:#2cbaff;--red:#f43f5e;--violet:#8b5cf6;--line:#1e293b}
body{background:var(--bg)}
.topbar{background:#020617;border-color:#1e293b}
.brand-icon{background:#facc15;color:#020617;box-shadow:0 4px 0 #a16207}
.icon-button{border-color:#334155;background:#0f172a;color:#f8fafc}
.icon-button:hover{border-color:#2cbaff;color:#2cbaff}
.home.home-stage{width:min(1320px,100%);margin:0 auto;padding-top:38px;background:transparent;border:0;border-radius:0;box-shadow:none}
.home.home-stage:before,.home.home-stage:after{display:none}
.home-stage .hero-copy .eyebrow{color:#2cbaff}
.home-stage .hero-copy h1{letter-spacing:-5px;text-transform:none}
.kinetic-title{display:flex;justify-content:center;flex-wrap:wrap;column-gap:.2em;overflow:visible}
.title-word{display:inline-flex;white-space:nowrap;color:inherit;font-style:normal}
.title-word:last-child{color:#facc15}
.title-letter{display:inline-block;transition:translate .18s cubic-bezier(.2,.9,.25,1),rotate .18s ease,color .18s ease,text-shadow .18s ease;will-change:translate,rotate}
.title-letter:hover{translate:0 -14px;rotate:-3deg;color:#2cbaff;text-shadow:0 8px 0 #0f3f61}
.title-word:last-child .title-letter:hover{color:#ec4899;text-shadow:0 8px 0 #6d1748}
.home-stage .hero-copy p{color:#cbd5e1}
.home-stage .orbit-label{color:#8b5cf6}
.home-stage .character{background:#cbd5e1;border-color:#f8fafc;box-shadow:8px 8px 0 #64748b,17px 17px 0 #334155,25px 28px 0 #00030d}
.home-stage .face{background:#facc15;border-color:#a16207;box-shadow:inset 3px 5px 0 #fde047}
.home-stage .face-spark{color:#8b5cf6}
.home-stage .character-keys i:nth-child(4n){background:#1e293b;color:#f8fafc;box-shadow:0 4px 0 #020617}
.home-stage .character-keys i:nth-child(15){background:#ec4899;box-shadow:0 4px 0 #831843}
.symbol-stream span{background:#0f172a;border-color:#334155;color:#2cbaff;box-shadow:0 6px 0 #020617,0 12px 24px #0008}
.stream-right span{color:#8b5cf6}
.home-stage .character-scene:hover .symbol-stream span{border-color:#2cbaff;color:#f8fafc}
.primary,.home-stage .hero-actions .play-button{background:#facc15;border-color:#facc15;color:#020617;box-shadow:0 5px 0 #a16207}
.primary:hover,.home-stage .hero-actions .play-button:hover{box-shadow:0 8px 0 #a16207,0 0 28px #facc1533}
.scoreboard-button{background:#0f172a;border-color:#334155;box-shadow:0 5px 0 #020617}
.scoreboard-button strong{color:#2cbaff}
.hero-meta span:nth-child(1){color:#2cbaff}
.hero-meta span:nth-child(2){color:#ec4899}
.hero-meta span:nth-child(3){color:#8b5cf6}
.tiny-calci{background:#cbd5e1;border-color:#f8fafc;box-shadow:5px 6px 0 #64748b,10px 12px 0 #020617,0 20px 34px #0008}
.tiny-calci-blue{rotate:10deg}
.tiny-calci-blue .tiny-calci-screen{background:#2cbaff;border-color:#075985;box-shadow:inset 2px 3px 0 #67e8f9}
.tiny-calci-blue .tiny-calci-face i{border-radius:50%;background:#082f49;box-shadow:none}
.tiny-calci-blue .tiny-calci-face b{border-color:#082f49;width:22px;height:10px}
.tiny-calci-blue .tiny-calci-face em{color:#facc15}
.tiny-calci-blue .tiny-calci-keys span:last-child{background:#facc15;color:#422006;box-shadow:0 2px 0 #a16207}
.tiny-calci-pink{rotate:-6deg;background:#e2e8f0}
.tiny-calci-pink .tiny-calci-screen{background:#ec4899;border-color:#831843;box-shadow:inset 2px 3px 0 #f9a8d4}
.tiny-calci-pink .tiny-calci-face{gap:13px}
.tiny-calci-pink .tiny-calci-face i{width:9px;height:4px;margin-top:5px;background:#500724;box-shadow:none;rotate:-8deg}
.tiny-calci-pink .tiny-calci-face i:last-of-type{rotate:8deg}
.tiny-calci-pink .tiny-calci-face b{left:17px;width:15px;height:0;bottom:4px;border:0;border-bottom:3px solid #500724;border-radius:0}
.tiny-calci-pink .tiny-calci-face em{color:#8b5cf6}
.tiny-calci-pink .tiny-calci-keys span{background:#f8fafc;color:#0f172a}
.tiny-calci-pink .tiny-calci-keys span:last-child{background:#8b5cf6;color:#fff;box-shadow:0 2px 0 #5b21b6}
@media(max-width:759px){
.home.home-stage{width:100%;margin:0;padding-left:18px;padding-right:18px}
.home-stage .hero-copy h1{letter-spacing:-3px;column-gap:.18em}
.title-letter:hover{translate:0 -9px}
.tiny-calci-blue{rotate:7deg}
.tiny-calci-pink{rotate:-5deg}
}
.game-page{background:#020617;color:#f8fafc}
.game-page .topbar{background:#020617;border-color:#1e293b}
.game-page .arcade{width:min(1160px,100%);max-width:1160px;margin:18px auto 34px;padding:16px 24px 24px}
.game-page .section-heading{max-width:1040px;margin:0 auto 10px;padding:0 16px}
.game-page .section-heading .eyebrow{color:#2cbaff}
.game-page .section-heading h2 span{color:#94a3b8}
.game-page .live-label{border-color:#334155;background:#0f172a;color:#cbd5e1}
.game-page .arena{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.game-page .arena-top{max-width:1040px;margin:auto;padding:10px 16px;border:0;color:#64748b}
.game-page .arena-top .tiny-cross{color:#facc15}
.game-page .arena-top b{color:#2cbaff}
.game-page .arena-bottom{max-width:1040px;margin:auto;padding:12px 16px;border:0;color:#64748b}
.game-page .arena-bottom kbd{border-color:#334155;background:#0f172a;color:#cbd5e1}
.game-page .reaction-stage{height:78px;color:#facc15}
.game-page .reaction-word{text-shadow:0 4px 0 #a16207,0 9px 22px #000a}
.game-page .reaction-detail{color:#94a3b8}
.game-page .reaction-stage[data-kind=ready] .reaction-word{color:#64748b}
.game-page .reaction-stage[data-kind=overdrive]{color:#ec4899}
.game-page .reaction-stage[data-kind=overdrive] .reaction-word{text-shadow:0 4px 0 #831843,0 0 30px #ec489966}
.game-page .reaction-stage[data-kind=miss]{color:#f43f5e}
.game-page .reaction-stage[data-kind=miss] .reaction-word{text-shadow:3px 3px 0 #881337,-2px 0 0 #fecdd3aa}
.game-page .game-layout{grid-template-columns:1fr 330px 1fr;max-width:940px;gap:58px;padding:8px 32px 42px}
.game-page .game-layout:before,.game-page .game-layout:after{background:#334155;opacity:.5}
.game-page .success .game-layout:before,.game-page .success .game-layout:after{background:#2cbaff;box-shadow:0 0 18px #2cbaff88}
.game-page .overdrive .game-layout:before,.game-page .overdrive .game-layout:after{background:#ec4899}
.game-page .console{position:relative;background:#0f172a;border:1px solid #334155;border-radius:28px;padding:15px;box-shadow:0 9px 0 #020617,0 28px 65px #0009;transform:perspective(1200px) rotateX(2deg);color:#f8fafc}
.game-page .character-top{color:#64748b;margin:1px 4px 12px}
.game-page .character-top span:last-child{color:#2cbaff;letter-spacing:2px}
.game-page .display{height:174px;background:#071426;border:1px solid #164e63;border-radius:18px;box-shadow:inset 0 0 0 1px #2cbaff22,0 0 28px #2cbaff18;padding:14px 16px 10px}
.game-page .display:before{content:"";position:absolute;left:16px;right:16px;top:39px;height:1px;background:#1e3a5f;opacity:.7}
.game-page .display-top,.game-page .display-bottom{color:#38bdf8;font-weight:700}
.game-page .question{color:#f8fafc;font-size:40px;letter-spacing:0;margin:10px 0 1px;text-shadow:0 0 24px #2cbaff33}
.game-page .question span{color:#facc15}
.game-page .answer-slot{color:#facc15;height:42px;text-shadow:0 0 18px #facc1544}
.game-page .input-caret{background:#facc15;box-shadow:0 0 10px #facc15}
.game-page .display-bottom{color:#64748b}
.game-page .cracks path{stroke:#fb7185}
.game-page .question-fuse{margin:13px 4px 0}
.game-page .fuse-label{color:#94a3b8}
.game-page .fuse-track{height:5px;background:#1e293b;border-radius:99px}
.game-page .fuse-track i{background:#2cbaff;border-radius:99px;box-shadow:0 0 12px #2cbaff66}
.game-page .feedback-row{color:#2cbaff;padding:10px 4px}
.game-page #multiplier{background:#1e293b;border-color:#475569;color:#facc15}
.game-page .keypad{gap:10px}
.game-page .keypad button{height:46px;background:#1e293b;color:#f8fafc;border:1px solid #334155;border-radius:11px;box-shadow:0 5px 0 #020617,0 7px 16px #0004;font-weight:600}
.game-page .keypad button:hover{background:#334155;border-color:#2cbaff;color:#fff}
.game-page .keypad .utility{background:#312e81;color:#c4b5fd;border-color:#4c1d95;box-shadow:0 5px 0 #1e1b4b}
.game-page .keypad .enter-key{background:#facc15;color:#422006;border-color:#fde047;box-shadow:0 5px 0 #a16207,0 8px 20px #facc1522}
.game-page .keypad button:active,.game-page .keypad button.pressed{background:#2cbaff;color:#082f49;border-color:#67e8f9;box-shadow:0 0 0 #020617,inset 0 3px 0 #ffffff66,0 0 20px #2cbaff66}
.game-page .keypad .enter-key:active,.game-page .keypad .enter-key.pressed{background:#ec4899;color:#500724;border-color:#f9a8d4;box-shadow:inset 0 3px 0 #fbcfe8,0 0 24px #ec489988}
.game-page .console-bottom{color:#64748b;margin:16px 4px 2px}
.game-page .console-bottom i{background:#2cbaff;box-shadow:0 0 8px #2cbaff}
.game-page .character-foot{display:none}
.game-page .stat-label{color:#64748b}
.game-page .stat-value{color:#f8fafc;text-shadow:0 0 18px #2cbaff22}
.game-page .time-column .stat-value{color:#2cbaff}
.game-page .heat-column .stat-value{color:#ec4899}
.game-page .stat-caption{color:#64748b}
.game-page .fire-icon{color:#ec4899}
.game-page .liquid-meter{background:#07111f;border-color:#334155;box-shadow:inset 0 0 0 1px #020617,0 8px 18px #0006}
.game-page .time-meter .liquid{background:#2cbaff}
.game-page .heat-meter .liquid{background:#ec4899}
.game-page .wave{background:#07111f}
.game-page .meter-footer{color:#94a3b8}
.game-page .blue-dot{background:#2cbaff}
.game-page .orange-dot{background:#ec4899}
.game-page .screen-pet .pet-head,.game-page .screen-pet .pet-ear,.game-page .screen-pet .pet-hand{background:#1e293b;border-color:#020617;box-shadow:0 3px 0 #8b5cf6}
.game-page .screen-pet .pet-eye,.game-page .screen-pet .pet-mouth{color:#facc15;border-color:#facc15;background:#facc15}
.game-page .success .console{border-color:#2cbaff;box-shadow:0 9px 0 #020617,0 0 55px #2cbaff3d;animation:hardwareHit .16s ease-out}
.game-page .success .display{border-color:#2cbaff;box-shadow:inset 0 0 0 1px #2cbaff44,0 0 38px #2cbaff35}
.game-page .overdrive .console{border-color:#ec4899;box-shadow:0 9px 0 #020617,0 0 65px #ec489944}
.game-page .overdrive .display{border-color:#ec4899;box-shadow:inset 0 0 0 1px #ec489944,0 0 42px #ec489933}
.game-page .overdrive .feedback-row{color:#ec4899}
.game-page .miss .display{background:#260b22;border-color:#f43f5e;box-shadow:inset 0 0 0 1px #f43f5e55,0 0 34px #f43f5e33}
.game-page .miss .feedback-row{color:#fb7185}
.game-page .urgent .fuse-track i{background:#f43f5e;box-shadow:0 0 12px #f43f5e}
.game-page .urgent .fuse-label{color:#fb7185}
.game-page .arena.overdrive,.game-page .arena.success,.game-page .arena.miss{border:0;box-shadow:none}
.game-page .arena.heat-max{border:0;box-shadow:none}
.game-page .arena.heat-max .heat-meter{box-shadow:0 0 28px #ec489999,inset 0 0 12px #ec489955}
.game-page .arena.heat-max .console{box-shadow:0 9px 0 #020617,0 0 65px #ec489955}
.game-page .game-overlay{inset:42px 0 34px;border-radius:24px;background:#020617f2;border:1px solid #1e293b}
.game-page .overlay-card .eyebrow{color:#2cbaff}
.game-page dialog{background:#0f172a;border-color:#334155}
@media(max-width:759px){
.game-page{background:#020617}
.game-page .mobile-game-header{background:#020617;border-color:#1e293b}
.game-page .arcade{margin:0 auto;padding:8px 12px 12px}
.game-page .arena-top,.game-page .arena-bottom{padding-left:4px;padding-right:4px}
.game-page .game-layout{display:flex;max-width:390px;padding:2px 0 18px;gap:0}
.game-page .console{border-radius:22px;padding:11px;box-shadow:0 7px 0 #020617,0 20px 45px #0008}
.game-page .display{border-width:1px;border-radius:15px;background:#071426}
.game-page .display:before{left:10px;right:10px;top:31px}
.game-page .keypad button{border-radius:9px}
.game-page .mobile-meters .liquid-meter{background:#07111f;border-color:#334155}
.game-page .mobile-meters .meter-footer{color:#94a3b8}
.game-page .mobile-meters .heat-column>.stat-value{color:#ec4899}
.game-page .mobile-meters .heat-column>.stat-value:before{color:#64748b}
.game-page .game-overlay{inset:0;border-radius:20px}
}
@media(min-width:760px) and (max-height:820px){
.game-page .topbar{height:54px}
.game-page main{min-height:calc(100dvh - 54px)}
.game-page .arcade{margin-top:0;padding-top:8px;padding-bottom:10px}
.game-page .section-heading{margin-bottom:3px}
.game-page .section-heading h2{font-size:20px;margin-top:5px}
.game-page .arena-top{padding-top:5px;padding-bottom:5px}
.game-page .reaction-stage{height:58px}
.game-page .reaction-word{font-size:40px}
.game-page .reaction-stage[data-kind=ready] .reaction-word{font-size:17px}
.game-page .reaction-detail{margin-top:6px;font-size:7px}
.game-page .game-layout{grid-template-columns:1fr 300px 1fr;padding-top:0;padding-bottom:24px;gap:48px}
.game-page .console{padding:10px 12px;border-radius:22px}
.game-page .character-top{margin-bottom:6px}
.game-page .display{height:124px;padding:9px 12px 7px;border-radius:14px}
.game-page .display:before{top:29px;left:12px;right:12px}
.game-page .question{font-size:30px;margin-top:3px}
.game-page .answer-slot{height:29px;font-size:25px}
.game-page .display-bottom{margin-top:4px}
.game-page .question-fuse{margin-top:7px}
.game-page .feedback-row{height:28px;padding:7px 3px}
.game-page .keypad{gap:7px}
.game-page .keypad button{height:32px;font-size:18px;border-radius:8px}
.game-page .keypad .enter-key{height:auto}
.game-page .console-bottom{margin-top:9px}
.game-page .liquid-meter{height:184px;margin-top:17px}
.game-page .meter-column{padding-top:13px}
.game-page .stat-value{font-size:34px}
.game-page .arena-bottom{padding-top:8px;padding-bottom:8px}
.game-page .game-overlay{inset:32px 0 28px}
}
.theme-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:88px}
.theme-icon{font-size:14px;line-height:1}
.theme-label{font:700 9px ui-monospace,'Cascadia Code',monospace;letter-spacing:.8px}
@media(max-width:620px){
.theme-button{min-width:38px;padding-left:9px;padding-right:9px}
.theme-label{display:none}
}
.home-stage .play-button{position:relative;overflow:visible;isolation:isolate;transform-origin:center;will-change:transform,box-shadow,letter-spacing}
.home-stage .play-button:before{content:"";position:absolute;inset:-7px;border:2px solid currentColor;border-radius:14px;opacity:0;pointer-events:none}
.home-stage .play-button.launch-pressing{animation:launchButtonHit .24s cubic-bezier(.2,.9,.25,1) both}
.home-stage .play-button.launch-pressing:before{animation:launchButtonEcho .48s ease-out both}
.home-stage .play-button.launch-armed{letter-spacing:2px;box-shadow:0 0 0 transparent,0 0 38px #facc1566}
@keyframes launchButtonHit{0%{transform:translateY(0) scale(1)}42%{transform:translateY(6px) scale(.96);box-shadow:0 0 0 transparent}72%{transform:translateY(-4px) scale(1.025)}100%{transform:translateY(0) scale(1)}}
@keyframes launchButtonEcho{0%{opacity:.8;scale:.92}100%{opacity:0;scale:1.18}}
.game-page .console{transform-style:preserve-3d;isolation:isolate}
.game-page .console:before{content:"";position:absolute;left:11px;right:-11px;top:13px;bottom:-14px;background:#050916;border:1px solid #1e293b;border-radius:25px;z-index:-2;transform:translateZ(-22px);box-shadow:10px 12px 24px #0008}
.game-page .console:after{content:"";position:absolute;left:18px;right:18px;top:5px;height:2px;background:#475569;border-radius:3px;opacity:.65;z-index:3;pointer-events:none}
.game-page .keypad{perspective:800px}
.game-page .keypad button{transform:translateZ(0);transform-style:preserve-3d;transition:transform .08s,box-shadow .08s,background .15s,color .15s}
.game-page .keypad button:hover{transform:translateY(-2px) translateZ(6px)}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(6px) translateZ(-5px) scale(.965)}
.game-page .keypad .sign-key{background:#075985;color:#67e8f9;border-color:#0e7490;box-shadow:0 5px 0 #083344,0 8px 18px #2cbaff22}
.game-page .keypad .clear-key{background:#831843;color:#fbcfe8;border-color:#9d174d;box-shadow:0 5px 0 #500724,0 8px 18px #ec489922}
.game-page .keypad .enter-key{color:#422006}
.game-page .keypad .sign-key:hover{background:#0e7490;color:#cffafe;border-color:#22d3ee}
.game-page .keypad .clear-key:hover{background:#9d174d;color:#fff1f2;border-color:#ec4899}
.game-page .keypad .enter-key:hover{background:#fde047;color:#422006;border-color:#fef08a}
.game-page .success .console{animation:calculatorHit .3s cubic-bezier(.18,.9,.25,1)}
@keyframes calculatorHit{0%{transform:perspective(1200px) rotateX(2deg) translateZ(0)}38%{transform:perspective(1200px) rotateX(-1deg) translateZ(14px) scale(1.018)}100%{transform:perspective(1200px) rotateX(2deg) translateZ(0)}}
.score-energy{animation:scoreEnergy .5s cubic-bezier(.16,.9,.24,1)}
@keyframes scoreEnergy{0%{opacity:.15;scale:.72;letter-spacing:10px;filter:blur(5px)}45%{opacity:1;scale:1.16;letter-spacing:-1px;filter:blur(0);text-shadow:0 0 28px currentColor}100%{scale:1;letter-spacing:-2px;filter:blur(0)}}
.meter-column:after{position:absolute;left:50%;top:44%;translate:-50% -50%;z-index:8;opacity:0;pointer-events:none;white-space:nowrap;font:800 11px 'Space Grotesk',sans-serif;letter-spacing:1.5px}
.heat-column.meter-hit:after{content:"+ HEAT";color:#ec4899;animation:meterCallout .65s ease-out both}
.time-column.meter-hit:after{content:"HIT SYNC";color:#2cbaff;animation:meterCallout .65s ease-out both}
.time-column.meter-damage:after{content:"−2 SEC";color:#f43f5e;animation:meterDamageCallout .7s ease-out both}
.heat-column.meter-damage:after{content:"HEAT DOWN";color:#f43f5e;animation:meterDamageCallout .7s ease-out both}
.heat-column.meter-hit .heat-meter{animation:heatSurge .5s cubic-bezier(.2,.9,.25,1)}
.heat-column.meter-hit .heat-meter .liquid{filter:brightness(1.35);box-shadow:0 0 22px #ec4899}
.arena.overdrive .heat-meter .liquid{animation:heatFlow .7s ease-in-out infinite alternate}
.time-column.meter-damage .time-meter{animation:timeDamage .42s ease-out}
@keyframes meterCallout{0%{opacity:0;translate:-50% 10px;scale:.75}28%{opacity:1;translate:-50% -16px;scale:1.15}100%{opacity:0;translate:-50% -46px;scale:.9}}
@keyframes meterDamageCallout{0%{opacity:0;translate:-50% 0}25%{opacity:1;translate:calc(-50% - 5px) -12px}42%{translate:calc(-50% + 5px) -14px}100%{opacity:0;translate:-50% -40px}}
@keyframes heatSurge{0%{scale:1}45%{scale:1.1;box-shadow:0 0 34px #ec489988}100%{scale:1}}
@keyframes heatFlow{from{filter:brightness(1);box-shadow:0 0 8px #ec489955}to{filter:brightness(1.35);box-shadow:0 0 24px #ec489999}}
@keyframes timeDamage{20%{translate:-5px 0}45%{translate:5px 0}70%{translate:-3px 0}100%{translate:0 0}}
.milestone-alert{position:absolute;left:50%;top:86px;translate:-50% 0;z-index:20;width:min(430px,82%);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:12px 18px;background:#0f172a;border-top:2px solid #facc15;border-bottom:2px solid #facc15;color:#f8fafc;box-shadow:0 12px 38px #000a,0 0 28px #facc1533;opacity:0;visibility:hidden;pointer-events:none}
.milestone-alert span,.milestone-alert em{font:800 9px ui-monospace,'Cascadia Code',monospace;letter-spacing:1.6px;font-style:normal;color:#facc15}
.milestone-alert strong{font:800 29px 'Space Grotesk',sans-serif;text-align:center;letter-spacing:1px}
.milestone-alert.is-active{visibility:visible;animation:milestoneAlarm 1.4s cubic-bezier(.18,.85,.25,1) both}
.game-page .arena.score-milestone{animation:none!important}
.arena.score-milestone:before{content:'1000+';color:#facc1514;text-shadow:0 0 38px #facc1538}
.game-page .arena.score-milestone:before{animation:milestoneBackdrop 1.25s ease-out both}
@keyframes milestoneAlarm{0%{opacity:0;translate:-50% -35px;scale:1.3;filter:blur(7px)}16%{opacity:1;translate:-50% 4px;scale:1;filter:blur(0)}28%{translate:-50% -3px}72%{opacity:1}100%{opacity:0;translate:-50% -12px;scale:.96}}
@keyframes milestoneBackdrop{0%{opacity:0;scale:.75}28%{opacity:1;scale:1.05}100%{opacity:0;scale:1}}
@keyframes heatFlowLight{from{filter:brightness(1);box-shadow:0 0 8px #ff863e44}to{filter:brightness(1.16);box-shadow:0 0 23px #ff863e88}}
@media(max-width:759px){
.game-page .console:before{left:8px;right:-8px;top:10px;bottom:-11px;border-radius:20px}
.game-page .console:after{left:15px;right:15px}
.milestone-alert{position:fixed;top:72px;width:calc(100% - 28px);grid-template-columns:auto 1fr auto;padding:10px 12px;gap:10px}
.milestone-alert strong{font-size:24px}
.milestone-alert span,.milestone-alert em{font-size:7px}
.meter-column:after{top:78%;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
.home-stage .play-button.launch-pressing,.home-stage .play-button.launch-pressing:before,.score-energy,.milestone-alert.is-active,.heat-column.meter-hit .heat-meter,.arena.overdrive .heat-meter .liquid{animation:none}
}
.game-page .game-layout{grid-template-columns:1fr 346px 1fr;max-width:970px;gap:62px}
.game-page .console{background:var(--calc-shell);border:2px solid var(--calc-rim);border-radius:29px;padding:14px;box-shadow:0 10px 0 var(--calc-edge),0 30px 70px #0008;transform:perspective(1200px) rotateX(2deg) rotateY(-1deg)}
.game-page .console:before{display:none}
.game-page .console:after{left:25px;right:25px;top:6px;height:2px;background:var(--calc-rim);opacity:.85}
.game-page .character-top{height:20px;margin:0 5px 8px;align-items:center;color:var(--screen-meta);letter-spacing:.6px}
.game-page .character-top span:first-child:before{content:"●";margin-right:7px;color:var(--screen-accent)}
.game-page .character-top span:last-child{font-size:0;display:flex;gap:5px;color:var(--screen-meta)}
.game-page .character-top span:last-child:after{content:"▮ ▮ ▮";font-size:7px;letter-spacing:3px}
.game-page .display{height:180px;background:var(--screen-surface);border:2px solid var(--screen-rim);border-left-width:5px;border-radius:18px;box-shadow:inset 0 0 0 2px #00000016,0 9px 18px #0004;padding:12px 14px 10px;color:var(--screen-copy)}
.game-page .display:before{left:15px;right:15px;top:38px;height:1px;background:var(--screen-line);opacity:.85}
.game-page .display:after{content:"";position:absolute;right:11px;top:55px;width:3px;height:34px;background:var(--screen-accent);border-radius:3px;box-shadow:0 9px 0 var(--screen-meta),0 18px 0 var(--screen-meta);opacity:.38}
.game-page .display-top{align-items:center;color:var(--screen-meta);font-size:7px}
.game-page .display-top span{padding:4px 6px;border:1px solid var(--screen-line);border-radius:6px;line-height:1}
.game-page .question{color:var(--screen-copy);font-size:43px;line-height:1;margin:17px 0 3px;text-shadow:none}
.game-page .question span{color:var(--screen-accent)}
.game-page .answer-slot{height:38px;color:var(--screen-copy);font-size:27px;text-shadow:none}
.game-page .display-bottom{color:var(--screen-meta);font-size:6px;margin-top:5px;padding:0 2px}
.game-page .question-fuse{margin:10px 0 8px;padding:9px 10px;background:var(--module-surface);border:1px solid var(--module-border);border-radius:11px;box-shadow:inset 0 2px 0 #ffffff0b}
.game-page .fuse-label{color:var(--screen-meta);font-size:7px;margin-bottom:7px}
.game-page .fuse-track{height:6px;background:var(--calc-edge);border:1px solid var(--module-border);border-radius:999px}
.game-page .fuse-track i{background:var(--screen-meta);box-shadow:0 0 10px color-mix(in srgb,var(--screen-meta) 55%,transparent)}
.game-page .feedback-row{height:36px;margin:0 0 9px;padding:0 10px;background:var(--module-surface);border:1px solid var(--module-border);border-radius:11px;color:var(--screen-meta)}
.game-page #multiplier{background:var(--calc-shell);border-color:var(--module-border);color:var(--screen-accent);border-radius:7px;padding:5px 8px}
.game-page .keypad{gap:9px;padding:10px;background:var(--deck-surface);border:1px solid var(--module-border);border-radius:17px;box-shadow:inset 0 3px 0 #ffffff10}
.game-page .keypad button{height:44px;background:var(--key-surface);color:var(--key-copy);border:1px solid var(--key-border);border-radius:10px;box-shadow:0 5px 0 var(--key-edge),0 7px 13px #0003;font-size:21px}
.game-page .keypad button:hover{background:var(--key-surface);color:var(--key-copy);border-color:var(--screen-meta);filter:brightness(1.08)}
.game-page .keypad .utility{font-size:18px}
.game-page .keypad .enter-key{height:auto;font-size:30px;border-radius:11px}
.game-page .enter-key small{font-size:7px;margin-top:9px}
.game-page .console-bottom{height:20px;margin:9px 6px 0;color:var(--screen-meta);align-items:end}
.game-page .console-bottom span:nth-child(2){opacity:.58;letter-spacing:1.4px}
.game-page .console-bottom i{background:var(--screen-accent);box-shadow:0 0 9px var(--screen-accent)}
@media(min-width:760px) and (max-height:820px){
.game-page .game-layout{grid-template-columns:1fr 305px 1fr;gap:48px}
.game-page .console{padding:10px 11px;border-radius:23px}
.game-page .console:before{border-radius:21px}
.game-page .character-top{height:15px;margin-bottom:5px}
.game-page .display{height:119px;border-radius:13px;padding:7px 10px}
.game-page .display:before{top:27px;left:11px;right:11px}
.game-page .display:after{top:38px;height:22px;box-shadow:0 7px 0 var(--screen-meta),0 14px 0 var(--screen-meta)}
.game-page .display-top span{padding:3px 4px}
.game-page .question{font-size:29px;margin:7px 0 0}
.game-page .answer-slot{height:27px;font-size:23px}
.game-page .display-bottom{margin-top:1px}
.game-page .question-fuse{margin:6px 0;padding:6px 8px}
.game-page .fuse-label{margin-bottom:4px}
.game-page .feedback-row{height:27px;margin-bottom:6px;border-radius:8px}
.game-page .keypad{gap:7px;padding:7px;border-radius:13px}
.game-page .keypad button{height:31px;border-radius:7px;font-size:18px}
.game-page .keypad .enter-key{height:auto;font-size:24px}
.game-page .enter-key small{margin-top:4px;font-size:6px}
.game-page .console-bottom{height:13px;margin-top:5px}
}
@media(max-width:759px){
.game-page .game-layout{max-width:400px}
.game-page .console{padding:11px;border-radius:24px;transform:none}
.game-page .console:before{border-radius:22px}
.game-page .character-top{height:18px;margin-bottom:7px}
.game-page .display{height:auto;flex-basis:166px;border-radius:17px;padding:10px 12px}
.game-page .display:before{top:34px;left:13px;right:13px}
.game-page .display:after{top:49px}
.game-page .question{font-size:38px;margin-top:15px}
.game-page .answer-slot{height:35px}
.game-page .question-fuse{margin:8px 0 7px;padding:7px 9px}
.game-page .feedback-row{height:31px;margin-bottom:7px}
.game-page .keypad{min-height:0;padding:9px;border-radius:15px}
.game-page .keypad button{height:45px;border-radius:9px}
.game-page .keypad .enter-key{height:auto}
.game-page .console-bottom{height:17px;margin-top:7px}
}
.game-page .console{box-shadow:0 11px 0 var(--calc-edge),0 20px 0 #0002,0 34px 72px #0007}
.game-page .display{border-radius:20px;background:var(--screen-surface);border-color:var(--screen-rim);box-shadow:inset 0 2px 0 #ffffff18,inset 0 -8px 20px #00000018,0 8px 0 #0003,0 15px 28px #0003}
.game-page .display-top span{font-weight:700;letter-spacing:.7px;background:#ffffff0b}
.game-page .question{font-family:'Space Grotesk','Segoe UI',sans-serif;font-weight:750;letter-spacing:-1.8px;text-shadow:0 2px 0 #0002}
.game-page .answer-slot{font-family:'Space Grotesk','Segoe UI',sans-serif;font-weight:700;letter-spacing:-1px}
.game-page .display-bottom,.game-page .fuse-label,.game-page .feedback-row{font-family:ui-monospace,'Cascadia Code',monospace;font-weight:700}
.game-page .keypad{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px;row-gap:11px;padding:12px;border-radius:19px;background:var(--deck-surface);border-color:var(--module-border);box-shadow:inset 0 3px 0 #ffffff12,inset 0 -5px 0 #0003}
.game-page .keypad button{position:relative;overflow:hidden;height:45px;border-radius:12px;font-family:'Space Grotesk','Segoe UI',sans-serif;font-weight:700;background:var(--key-surface);color:var(--key-copy);border:1px solid var(--key-border);box-shadow:0 6px 0 var(--key-edge),0 9px 13px #0005,inset 0 1px 0 #ffffff24;transform:translateY(0);transition:transform .075s cubic-bezier(.2,.8,.2,1),box-shadow .075s,filter .14s,background .14s}
.game-page .keypad button:before{content:"";position:absolute;inset:1px 6px auto;height:38%;border-radius:9px 9px 50% 50%;background:#fff;opacity:.07;pointer-events:none}
.game-page .keypad button:hover{transform:translateY(-2px);filter:brightness(1.12);box-shadow:0 8px 0 var(--key-edge),0 12px 18px #0005,inset 0 1px 0 #ffffff2b}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(6px) scale(.985);filter:brightness(.96);box-shadow:0 1px 0 var(--key-edge),0 2px 4px #0004,inset 0 3px 7px #0006,inset 0 1px 0 #ffffff18}
.game-page .reaction-word{font-family:'Space Grotesk','Arial Black',sans-serif;font-weight:800;letter-spacing:-3.4px;-webkit-text-stroke:.5px currentColor;text-rendering:geometricPrecision}
.game-page .reaction-stage[data-kind=perfect]{color:#d8ff68}
.game-page .reaction-stage[data-kind=perfect] .reaction-word{text-shadow:0 2px 0 #90a93c,0 5px 0 #536622,0 10px 22px #000b,0 0 32px #d8ff6866;filter:drop-shadow(0 0 9px #d8ff6845)}
.game-page .reaction-stage[data-kind=overdrive]{color:#ff8a3d}
.game-page .reaction-stage[data-kind=overdrive] .reaction-word{text-shadow:0 2px 0 #ffcf5c,0 5px 0 #a73832,0 9px 0 #5e183b,0 16px 28px #000b,0 0 34px #ff3d8d88;filter:drop-shadow(0 0 12px #ff7b3d66)}
@media(max-width:759px){
.game-page .keypad{column-gap:9px;row-gap:10px;padding:10px}
.game-page .keypad button{height:44px;border-radius:11px}
.game-page .reaction-word{letter-spacing:-2.2px}
}
.home-stage .symbol-stream span{opacity:.68;filter:saturate(.72);transition:transform .3s ease,opacity .3s ease,filter .3s ease,border-color .3s ease,color .3s ease}
.home-stage .character-scene:hover .symbol-stream span{opacity:1;filter:saturate(1)}
.home-stage .character{filter:drop-shadow(0 20px 20px #0005)}
.home-stage .hero-copy h1{font-weight:650;text-wrap:balance}
.home-stage .hero-actions{filter:drop-shadow(0 12px 20px #0003)}
.game-page .reaction-stage:after{width:min(420px,68%);height:2px;border:0;border-radius:0;background:currentColor;box-shadow:0 0 18px currentColor;opacity:0}
.game-page .reaction-detail{font-weight:700;opacity:.82}
.game-page .reaction-stage[data-kind=ready] .reaction-word{font-weight:750;letter-spacing:6px}
.game-page .stat-value{font-weight:650;text-shadow:0 7px 20px #0005}
.game-page .stat-caption{font-weight:700;opacity:.8}
@media(max-width:759px){
.home-stage .character{filter:drop-shadow(0 14px 14px #0004)}
.game-page .reaction-stage[data-kind=ready] .reaction-word{letter-spacing:4px}
}
.game-page .game-layout:before,.game-page .game-layout:after,.game-page .reaction-stage:after,.game-page .display:before,.game-page .display:after{display:none}
.game-page .arena-top{border-bottom:0}
.game-page .arena-bottom{border-top:0}
.game-page .reaction-word{text-shadow:0 5px 16px #0008}
/* From revival.css */
:root{
  --bg:#080b16;--panel:#10162a;--ink:#f8fbff;--muted:#8996ad;--green:#c7f464;
  --orange:#ff8a3d;--blue:#38bdf8;--red:#ff496c;--line:#283451;
  --font-display:'Space Grotesk',Arial,sans-serif;--font-code:ui-monospace,'Cascadia Code',monospace;
  --text-xs:12px;--text-sm:14px;--text-md:16px;--text-lg:22px;--text-score:28px;
  --radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-shell:24px;
}
body{overflow-x:hidden;transition:opacity .24s ease,transform .24s ease;background:var(--bg)}
body.page-leaving{opacity:0;transform:scale(.992)}
.topbar,.home-stage,.home-guide,footer,dialog{font-family:var(--font-display)}
.topbar *,.home-stage *,.home-guide *,footer *,dialog *{font-family:var(--font-display)!important}
.version,.nav-right,.nav-right *,.eyebrow,.orbit-label,.character-top,.tiny-calci-top,.tiny-calci-keys,.character-keys,.hero-meta,.scoreboard-button span,.scoreboard-button i,.how-button,.instructions>div>span,footer>span{font-family:var(--font-code)!important}
.home-stage *,.home-guide *,footer *,dialog *{color:var(--ink)!important}
.home-stage .hero-copy p,.orbit-label,.character-top,.tiny-calci-top,.instructions>div>span,.instructions p,footer>span,dialog p,dialog label{color:var(--muted)!important}
.home-stage .hero-copy h1 em,.home-stage .hero-copy h1 em *{color:#facc15!important}
.home-stage .character-keys i,.tiny-calci-keys span{color:#30372b!important}
.home-stage .character-keys i:nth-child(4n){color:#f8fbff!important}
.home-stage .hero-meta span:nth-child(1){color:var(--blue)!important}
.home-stage .hero-meta span:nth-child(2){color:#ec4899!important}
.home-stage .hero-meta span:nth-child(3){color:var(--green)!important}
.scoreboard-button strong,.scoreboard-dialog strong{color:var(--blue)!important}
.home-stage .play-button,.home-stage .play-button span{color:#10150b!important}
.home-stage .symbol-stream span{color:#aebbd1!important}
.topbar .brand{font-size:var(--text-md)}
.topbar .brand{white-space:nowrap;min-width:max-content}
.topbar .theme-button{min-width:98px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.topbar .nav-right *{font-size:var(--text-xs)!important}
.version,.nav-right,.icon-button,.eyebrow{font-size:var(--text-xs)}
.home-stage .hero-copy p{font-size:var(--text-md)}
.orbit-label{font-size:var(--text-xs)!important;color:var(--muted)}
.character-top,.tiny-calci-top,.tiny-calci-keys span{font-size:var(--text-xs)!important}
.character-keys i{font-family:var(--font-code);font-size:var(--text-sm)}
.symbol-stream span{font-family:var(--font-display);font-size:var(--text-lg)}
.home-stage .play-button,.scoreboard-button,.scoreboard-button *,.how-button{font-size:var(--text-xs)!important}
.scoreboard-button strong{font-family:var(--font-display);font-size:var(--text-score)}
.home-stage .hero-meta{font-size:var(--text-xs);color:#aab6c9}
.instructions>div>span,footer>span{font-size:var(--text-xs);line-height:1.5;color:var(--muted)}
.instructions h2{font-family:var(--font-display);font-size:var(--text-lg);letter-spacing:-.5px;margin:14px 0 10px}
.instructions p{font-size:var(--text-sm)}
.topbar .brand-icon,footer .brand-icon{font-size:20px!important}
.primary>span{font-size:20px!important}
.scoreboard-dialog>form>strong{font-size:44px!important}
.scoreboard-mark{font-size:28px!important}
dialog h2{font-size:28px!important}
dialog p{font-size:var(--text-sm)!important}
dialog span,dialog label,dialog button,dialog select{font-size:var(--text-xs)!important}
.topbar *,.home-stage *,.home-guide *,footer *,dialog *{border-radius:0!important}
.brand-icon{border-radius:var(--radius-sm)!important}
.icon-button,.character-keys i,.symbol-stream span,.home-stage .play-button,.scoreboard-button,.how-button,.setting-row,.setting-row select,.run-code{border-radius:var(--radius-md)!important}
.tiny-calci,.tiny-calci-screen,.home-stage .face,.character-foot{border-radius:var(--radius-md)!important}
.home-stage .character,dialog{border-radius:var(--radius-shell)!important}
.eyes i{border-radius:0!important}
.smile,.tiny-calci-face b{border-radius:0 0 var(--radius-md) var(--radius-md)!important}
.home.home-stage{max-width:1180px;height:calc(100svh - 72px);min-height:700px;max-height:900px;padding:28px 28px 24px;gap:8px;overflow:hidden}
.home-stage .hero-copy{position:relative;z-index:8}
.home-stage .hero-copy h1{margin:14px 0 10px}
.home-stage .character-scene{min-height:390px;width:min(1040px,100%);margin:-2px auto 0;overflow:visible}
.home-stage .symbol-stream{display:flex;z-index:1;width:38%;top:-8px;bottom:-8px;pointer-events:none;opacity:.58}
.home-stage .stream-left{left:-2%}
.home-stage .stream-right{right:-2%}
.home-stage .symbol-stream span{background:transparent;border-color:transparent;color:#aebbd1;box-shadow:none}
.home-stage .stream-left span:nth-child(odd){animation:floatMathA 4.8s ease-in-out infinite}
.home-stage .stream-left span:nth-child(even){animation:floatMathB 5.4s ease-in-out infinite}
.home-stage .stream-right span:nth-child(odd){animation:floatMathB 5.1s ease-in-out infinite reverse}
.home-stage .stream-right span:nth-child(even){animation:floatMathA 4.5s ease-in-out infinite reverse}
.home-stage .character{z-index:4;background:#e8eadf;border-color:#fff;box-shadow:8px 8px 0 #858a77,17px 17px 0 #535747,25px 28px 0 #03050a}
.home-stage .face{background:var(--green)}
.home-stage .character-top,.home-stage .tiny-calci-top,.home-stage .orbit-label{display:none!important}
.home-stage .tiny-calci{z-index:3;filter:none!important;backface-visibility:hidden;transform:translateZ(0)}
.home-stage .tiny-calci-left{left:7%;rotate:5deg}
.home-stage .tiny-calci-right{right:7%;rotate:-5deg}
.home-stage .character-scene:hover .tiny-calci-left{left:3%}
.home-stage .character-scene:hover .tiny-calci-right{right:3%}
.home-stage .tiny-calci-face{gap:16px!important}
.home-stage .tiny-calci-face i{width:6px!important;height:10px!important;margin-top:0!important;background:#2c3919!important;box-shadow:2px 0 #2c3919!important;rotate:0deg!important}
.home-stage .tiny-calci-face b{left:15px!important;bottom:2px!important;width:20px!important;height:8px!important;border:3px solid #2c3919!important;border-top:0!important;border-radius:0 0 10px 10px!important}
.home-stage .scoreboard-button,.home-stage .hero-meta{display:none!important}
.home-stage .hero-actions{position:relative;z-index:9;margin-top:2px;grid-template-columns:minmax(260px,420px);width:min(420px,100%)}
.home-stage .hero-actions .play-button,.primary{border-radius:11px;background:var(--green);border-color:var(--green);box-shadow:0 6px 0 #667d31}
.home-stage .hero-actions .play-button:hover,.primary:hover{box-shadow:0 9px 0 #667d31,0 15px 28px #02050a3d}
.home-stage .hero-actions .play-button:active,.primary:active{box-shadow:0 1px 0 #667d31;transform:translateY(5px)}
.scoreboard-button{border-radius:11px;background:#121a31;border-color:#34425f;box-shadow:0 6px 0 #040711}
.home-stage .how-button{position:relative;inset:auto;grid-column:1/-1;justify-self:center;margin:5px 0 0;padding:8px 14px;color:var(--ink);border:1px solid var(--line);background:transparent}
.home-stage .how-button:hover{border-color:var(--green);color:var(--green)}
.game-page{background:#050816}
.game-page .arena{background:transparent;border:0;box-shadow:none;overflow:visible}
.game-page .arena-top,.game-page .arena-bottom{border-color:var(--line)}
.game-page .game-layout{grid-template-columns:minmax(125px,1fr) 350px minmax(125px,1fr);gap:46px;max-width:930px;padding:12px 40px 42px;position:relative}
.game-page .game-layout:before,.game-page .game-layout:after{display:block;opacity:.2}
.game-page .arcade{position:relative;isolation:isolate}
.game-page .arcade:before,.game-page .arcade:after{position:absolute;z-index:-1;font:700 clamp(72px,11vw,150px) 'Space Grotesk',sans-serif;color:#38bdf80b;letter-spacing:24px;pointer-events:none;white-space:nowrap}
.game-page .arcade:before{content:'7  +  3';left:-7vw;top:32%}
.game-page .arcade:after{content:'×  9  =';right:-9vw;bottom:11%;color:#ff496c0a}
.game-page .meter-column{background:transparent;border:0;box-shadow:none;padding-top:8px}
html[data-theme] .game-page .console{width:350px;background:#e6e8de!important;color:#30372b!important;border:3px solid #f7f8ef!important;border-radius:24px;box-shadow:7px 8px 0 #7b806f,14px 16px 0 #303529,0 25px 45px #0007!important;transform:translateZ(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
html[data-theme] .game-page .display-top,html[data-theme] .game-page .display-bottom{color:#91a5c4!important}
html[data-theme] .game-page .question{color:#f8fbff!important}
html[data-theme] .game-page .question span{color:var(--orange)!important}
html[data-theme] .game-page .answer-slot{color:var(--green)!important}
.game-page .answer-slot.has-answer,.game-page #answerText{transition:opacity .14s ease,transform .14s ease}
.game-page #answerText.input-fade{animation:inputFade .15s ease-out}
.game-page .question-in{animation:answerFade .24s ease both}
.game-page .character-top,.game-page .console-bottom,.game-page .display-bottom{display:none!important}
.game-page .keypad button{border-radius:8px;background:#f6f7f1;color:#31372d;box-shadow:0 5px 0 #929787;transition:transform .08s ease,box-shadow .08s ease,background .12s ease}
.game-page .keypad .utility{background:#343b30;color:#f1f4e9;box-shadow:0 5px 0 #1e231b}
.game-page .keypad .enter-key{background:var(--orange);color:#21140c;box-shadow:0 5px 0 #9b431b}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(5px);box-shadow:0 0 0 transparent}
.game-page .liquid-meter{background:#090d19;border-color:#35415c}
.game-page .time-meter .liquid{background:var(--blue)}
.game-page .heat-meter .liquid{background:var(--orange)}
.game-page .meter-glyph{position:absolute;left:50%;top:16px;translate:-50% 0;z-index:5;width:20px;height:20px;pointer-events:none}
.game-page .time-glyph{border:2px solid #d8f3ff;border-radius:50%}
.game-page .time-glyph:before,.game-page .time-glyph:after{content:"";position:absolute;left:8px;top:4px;width:2px;height:6px;background:#d8f3ff;transform-origin:bottom}
.game-page .time-glyph:after{rotate:125deg;height:5px}
.game-page .heat-glyph{width:16px;height:20px;background:var(--orange);rotate:45deg;border-radius:12px 12px 12px 2px}
.game-page .heat-glyph:after{content:"";position:absolute;width:7px;height:9px;right:2px;bottom:2px;background:#ffd1b5;border-radius:8px 8px 8px 2px}
.game-page .success .display{border-color:var(--green)!important;animation:screenPolish .48s ease-out}
.game-page .success .display:after{content:"";display:block!important;position:absolute;z-index:8;left:0;right:0;top:0;height:7px;background:var(--green);opacity:.72;animation:screenSweep .48s ease-out both;pointer-events:none}
.game-page .miss .display{background:#5b0714!important;border-color:var(--red)!important}
.game-page .miss .cracks{opacity:1;animation:crackIn .34s ease-out both}
.game-page .cracks path{stroke:#ffd8df;stroke-width:2.3}
.milestone-alert{display:none!important}
.game-page .score-thousand{animation:thousandCharge 1s cubic-bezier(.18,.9,.24,1)!important;color:#fff3a1;text-shadow:0 0 12px #ffb84d,0 0 28px #ff496c}
.game-page .arena.score-milestone:before{content:none}
.result-grave{width:min(450px,calc(100% - 28px));padding:24px 30px 30px;border:2px solid #53617d;border-radius:28px 28px 8px 8px;background:#0b1124;color:#f8fbff;box-shadow:0 12px 0 #03050d,0 28px 70px #000b}
.result-grave[open]{animation:graveRise .48s cubic-bezier(.16,.86,.25,1) both}
.grave-mark{width:190px;height:182px;margin:5px auto 20px;padding:48px 18px 20px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#17203a;border:2px solid #667694;border-radius:88px 88px 9px 9px;box-shadow:inset 0 0 0 7px #0d1429,0 8px 0 #03050d}
.grave-mark:after{content:"";position:absolute;left:-28px;right:-28px;bottom:-15px;height:17px;background:#293551;border:2px solid #667694;border-radius:4px}
.grave-mark i{position:absolute;top:28px;width:42px;height:4px;background:var(--red);box-shadow:0 10px 0 var(--red)}
.grave-mark span{font:700 8px monospace;letter-spacing:2px;color:#9eabc1}
.grave-mark strong{font:700 44px 'Space Grotesk',sans-serif;color:var(--green);line-height:1.1}
@keyframes answerFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes floatMathA{0%,100%{translate:0 0;rotate:-7deg}48%{translate:12px -16px;rotate:8deg}}
@keyframes floatMathB{0%,100%{translate:0 0;rotate:6deg}52%{translate:-14px 13px;rotate:-9deg}}
@keyframes inputFade{from{opacity:.15;transform:translateY(4px) scale(.96)}to{opacity:1;transform:none}}
@keyframes screenPolish{0%{filter:brightness(1)}45%{filter:brightness(1.65);box-shadow:inset 0 0 0 2px #fff8,0 0 38px #c7f46499}100%{filter:brightness(1)}}
@keyframes screenSweep{from{transform:translateY(-12px);opacity:0}18%{opacity:.8}to{transform:translateY(174px);opacity:0}}
@keyframes crackIn{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:none}}
@keyframes thousandCharge{0%{transform:scale(.78)}32%{transform:scale(1.22)}55%{transform:scale(.96)}100%{transform:none}}
@keyframes graveRise{from{opacity:0;transform:translateY(35px) scale(.94)}to{opacity:1;transform:none}}
@media(max-width:759px){
.home.home-stage{height:auto;min-height:780px;max-height:none;padding:30px 16px 48px}
.home-stage .character-scene{min-height:330px}
.home-stage .character{scale:.74}
.home-stage .tiny-calci-left{left:-2%;rotate:4deg}
.home-stage .tiny-calci-right{right:-2%;rotate:-4deg}
.home-stage .character-scene:hover .tiny-calci-left{left:-4%}
.home-stage .character-scene:hover .tiny-calci-right{right:-4%}
.home-stage .symbol-stream{display:flex}
.home-stage .symbol-stream{width:34%;opacity:.42}
.home-stage .symbol-stream span:nth-child(5){display:none}
.home-stage .hero-actions{grid-template-columns:1fr}
.home-stage .scoreboard-button{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;column-gap:8px}
.home-stage .scoreboard-button span,.home-stage .scoreboard-button i{grid-column:1;white-space:nowrap;letter-spacing:.2px}
.home-stage .scoreboard-button strong{grid-column:2;grid-row:1/3;align-self:center}
.game-page .game-layout{display:block;max-width:390px;padding:2px 4px 32px;margin:auto}
html[data-theme] .game-page .console{width:100%;border-radius:18px;box-shadow:4px 5px 0 #7b806f,8px 10px 0 #303529!important}
.game-page .arcade:before,.game-page .arcade:after{display:none}
.mobile-meters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.mobile-meters .meter-column{min-height:58px;padding:8px 10px;background:#0d1326;border:1px solid #2d3b5c;border-radius:11px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 13px;gap:5px 8px;text-align:left;box-shadow:0 4px 0 #03050b}
.mobile-meters .stat-label{display:block;grid-column:1;font-size:6px;color:#93a3bd}
.mobile-meters .stat-caption{display:none}
.mobile-meters .stat-value{display:block;grid-column:2;grid-row:1;font-size:19px;margin:0;color:#f7fbff}
.mobile-meters .liquid-meter{grid-column:1/3;grid-row:2;width:100%;height:13px;margin:0;border-radius:7px}
.mobile-meters .meter-number,.mobile-meters .meter-ticks,.mobile-meters .meter-footer{display:none}
.mobile-meters .meter-glyph{left:9px;top:50%;translate:0 -50%;scale:.62}
.game-page .reaction-stage{height:62px}
}
@media(max-width:420px){
.home-stage .symbol-stream{opacity:.7}
.home-stage .hero-actions{gap:8px}
.game-page .display{height:142px}
.game-page .keypad button{height:40px}
}
@media(prefers-reduced-motion:reduce){
body{transition:none}
.result-grave[open],.game-page .score-thousand,.game-page .success .display,.game-page .miss .cracks{animation:none}
}
@keyframes themeWipe{0%{clip-path:inset(0 0 0 100%);opacity:1}55%{clip-path:inset(0);opacity:1}100%{clip-path:inset(0);opacity:0}}
.topbar{height:72px}
.home.home-stage{width:100%;max-width:none;min-height:620px;padding-inline:clamp(22px,4vw,72px)}
.home-stage .character-scene{width:100%;max-width:1320px;min-height:340px}
.home-stage .character{width:270px;padding:18px;background:#f3f1e8;border-color:#fff;box-shadow:9px 10px 0 #858a77,19px 21px 0 #3d4435,0 34px 55px #0009}
.home-stage .face{height:116px;background:#facc15;border-color:#9a5d0b;box-shadow:inset 3px 5px 0 #ffe77c}
.home-stage .character-keys{gap:10px}
.home-stage .character-keys i{height:35px}
.home-stage .tiny-calci{top:50%;width:138px;padding:11px;background:#b8c3ce;border-color:#e9f1f7;box-shadow:6px 7px 0 #5e6d7c,12px 14px 0 #020617,0 24px 38px #0008}
.home-stage .tiny-calci-left{left:12%;rotate:5deg}
.home-stage .tiny-calci-right{right:12%;rotate:-5deg}
.home-stage .character-scene:hover .tiny-calci-left{left:8%}
.home-stage .character-scene:hover .tiny-calci-right{right:8%}
.home-stage .tiny-calci-screen{height:70px;background:#35c2e8!important;border-color:#155e75!important;box-shadow:inset 2px 3px 0 #8de7f7!important}
.home-stage .tiny-calci-keys span:last-child{background:#facc15!important;color:#3b2b05!important;box-shadow:0 2px 0 #a16207!important}
.home-stage .symbol-stream{inset:0;width:100%;opacity:.62;overflow:hidden;z-index:2;transform:none!important}
.home-stage .symbol-stream span{width:48px;height:48px;border:1px solid #31415c;border-radius:14px!important;background:#10172a;color:#8da0c4!important;box-shadow:0 5px 0 #020617;animation-duration:13s!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important;will-change:transform}
.home-stage .stream-left span,.home-stage .stream-right span{left:-70px!important;right:auto!important}
.home-stage .stream-left span:nth-child(1){top:4%;animation-name:orbitTop!important;animation-delay:-1s!important}
.home-stage .stream-left span:nth-child(2){top:16%;animation-name:orbitTopSoft!important;animation-delay:-7s!important}
.home-stage .stream-left span:nth-child(3){top:82%;animation-name:orbitBottom!important;animation-delay:-3s!important}
.home-stage .stream-left span:nth-child(4){top:70%;animation-name:orbitBottomSoft!important;animation-delay:-10s!important}
.home-stage .stream-left span:nth-child(5){top:91%;animation-name:orbitBottom!important;animation-delay:-6s!important}
.home-stage .stream-right span:nth-child(1){top:9%;animation-name:orbitTopSoft!important;animation-delay:-11s!important}
.home-stage .stream-right span:nth-child(2){top:20%;animation-name:orbitTop!important;animation-delay:-4s!important}
.home-stage .stream-right span:nth-child(3){top:78%;animation-name:orbitBottomSoft!important;animation-delay:-8s!important}
.home-stage .stream-right span:nth-child(4){top:88%;animation-name:orbitBottom!important;animation-delay:-1s!important}
.home-stage .stream-right span:nth-child(5){top:67%;animation-name:orbitBottomSoft!important;animation-delay:-5s!important}
@keyframes orbitTop{from{transform:translate3d(-8vw,0,0) rotate(0)}50%{transform:translate3d(54vw,-13px,0) rotate(190deg)}to{transform:translate3d(116vw,4px,0) rotate(380deg)}}
@keyframes orbitTopSoft{from{transform:translate3d(-16vw,0,0) rotate(0)}50%{transform:translate3d(48vw,12px,0) rotate(-170deg)}to{transform:translate3d(116vw,-5px,0) rotate(-360deg)}}
@keyframes orbitBottom{from{transform:translate3d(-12vw,0,0) rotate(0)}50%{transform:translate3d(52vw,14px,0) rotate(190deg)}to{transform:translate3d(118vw,-4px,0) rotate(380deg)}}
@keyframes orbitBottomSoft{from{transform:translate3d(-20vw,0,0) rotate(0)}50%{transform:translate3d(46vw,-12px,0) rotate(-180deg)}to{transform:translate3d(118vw,5px,0) rotate(-370deg)}}
@media(max-width:759px){
.home-stage .character-scene{min-height:360px}
.home-stage .character{width:245px;scale:.72}
.home-stage .tiny-calci{width:82px;padding:7px}
.home-stage .tiny-calci-left{left:-1%}
.home-stage .tiny-calci-right{right:-1%}
.home-stage .tiny-calci-screen{height:45px}
.home-stage .symbol-stream span{width:34px;height:34px;font-size:17px}
}
@media(min-width:760px) and (max-height:800px){
.home.home-stage{min-height:620px;padding-top:18px;padding-bottom:16px}
.home-stage .hero-copy h1{font-size:clamp(48px,5vw,64px);margin-top:10px}
.home-stage .character-scene{min-height:292px}
.home-stage .character{scale:.86}
.home-stage .tiny-calci{scale:.9}
.home-stage .hero-actions .play-button{min-height:64px}
}
@media(prefers-reduced-motion:reduce){
.home-stage .symbol-stream span{animation:none!important}
}
/* From redesign.css */
:root{--bg:#000;--panel:#17191e;--ink:#f6f5ef;--muted:#a8adb7;--green:#ffd720;--blue:#157dd0;--orange:#ff8548;--red:#ff526d;--line:#363941;--launch-color:#ffd720}
html body,html .game-page,html .home.home-stage{background:var(--bg)!important;color:var(--ink)!important}
.topbar{background:var(--bg);padding-inline:4vw;border-bottom:1px solid var(--line)}
.home.home-stage{max-height:none;min-height:740px;height:calc(100svh - 72px);padding:32px 0 26px;grid-template-rows:auto minmax(380px,1fr) auto;gap:10px}
.home-stage .hero-copy{padding-inline:20px}
.home-stage .hero-copy h1{font-size:clamp(48px,5vw,84px)}
.home-stage .character-scene{max-width:none;width:100%;min-height:380px}
.home-stage .character{background:#ffd720;border:3px solid #fff095;box-shadow:8px 9px 0 #b98b0b,16px 18px 0 #503d06,0 25px 35px #0006;scale:1}
.home-stage .face{background:#000;border:3px solid #443a1f;box-shadow:inset 0 3px 0 #1d1d1d;height:116px}
.home-stage .eyes i{background:#ffd720;box-shadow:none;border-radius:6px!important}
.home-stage .smile{border-color:#ffd720}
.home-stage .character-keys i{background:#fff7d0;color:#25251b!important;box-shadow:0 4px 0 #b99730;border:0}
.home-stage .character-keys i:nth-child(4n){background:#232830;color:#fff!important;box-shadow:0 4px 0 #101319}
.home-stage .character-keys i:nth-child(15){background:#157dd0;color:white!important;box-shadow:0 4px 0 #085082}
.home-stage .character-foot{background:#ffd720;box-shadow:4px 6px 0 #9d7810}
.home-stage .tiny-calci{width:156px;background:#e5e9ed;border-color:#fff;box-shadow:6px 7px 0 #98a4b0,12px 14px 0 #37414c;translate:var(--follow-x,0px) var(--follow-y,0px)}
.home-stage .tiny-calci-left{left:18%}
.home-stage .tiny-calci-right{right:18%}
.home-stage .character-scene:hover .tiny-calci-left{left:16%}
.home-stage .character-scene:hover .tiny-calci-right{right:16%}
.home-stage .tiny-calci-screen{background:#000!important;border-color:#596776!important;box-shadow:none!important}
.home-stage .tiny-calci-face i{background:#67c6ff!important;box-shadow:none!important;border-radius:5px!important;translate:var(--look-x,0px) var(--look-y,0px)}
.home-stage .tiny-calci-face b{border-color:#67c6ff!important;translate:var(--mouth-x,0px) var(--mouth-y,0px)}
.home-stage .symbol-stream{opacity:1!important}
.home-stage .symbol-stream span{display:flex!important;opacity:1!important;background:#20242c;color:#ffd720!important;border-color:#526173;box-shadow:0 5px 0 #0b0d10;animation-duration:20s!important}
.home-stage .hero-actions{width:min(540px,90%);display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.home-stage .hero-actions .play-button{flex:1;min-width:270px;min-height:70px;background:#ffd720!important;border:2px solid #fff095!important;color:#1b1a10!important;box-shadow:0 7px 0 #99730b!important;font-size:16px!important;letter-spacing:1px;transition:transform .16s,box-shadow .16s}
.home-stage .play-button span{color:#1b1a10!important}
.home-stage .hero-actions .play-button:hover{transform:translateY(-3px);box-shadow:0 10px 0 #99730b!important}
.home-stage .hero-actions .play-button:active{transform:translateY(6px);box-shadow:0 1px 0 #99730b!important}
.home-stage .how-button{margin:0;background:transparent;border:0;box-shadow:none;padding:18px 0}
.launch-flow:before,.game-page.arriving:after{background:var(--launch-color)!important}
.launch-cheeky .face{background:var(--launch-color)!important}
.launch-cheeky .eyes i{background:#000}
.launch-cheeky .smile{border-color:#000}
.game-page .arcade{width:100%;max-width:none;padding:26px 5vw;margin:0}
.game-page .arena,.game-page .arena.heat-max{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0}
.game-page .game-layout{max-width:1400px;width:100%;margin:auto;grid-template-columns:1fr minmax(320px,390px) 1fr;gap:clamp(30px,6vw,140px);padding:15px 0 32px}
.game-page .game-layout:before,.game-page .game-layout:after{display:none}
.game-page .console{background:#e9e9e3!important;border:3px solid #fff!important;box-shadow:7px 8px 0 #a4a6a2,14px 16px 0 #33383c!important;padding:20px;border-radius:28px!important}
.game-page .display{background:#000!important;border:2px solid #35383b!important;box-shadow:none!important;color:#fff!important;height:185px;border-radius:18px!important}
.game-page .question,.game-page .answer-slot{color:#fff!important}
.game-page .question span{color:#ffd720!important}
.game-page .display-top{color:#a8adb7!important;font-size:11px}
.game-page .screen-pet{display:none!important}
.game-page .keypad{background:transparent!important;gap:10px;padding:0!important}
.game-page .keypad button{height:53px;background:#fff;color:#20262d;border:1px solid #d3d5d6;border-radius:10px;box-shadow:0 5px 0 #a1a5a9;transition:transform .08s,box-shadow .08s}
.game-page .keypad .utility{background:#343b46;color:#fff;box-shadow:0 5px 0 #151a20}
.game-page .keypad .clear-key{background:#157dd0;color:#fff;box-shadow:0 5px 0 #085080}
.game-page .keypad .enter-key{height:auto;background:#ffd720;color:#25210e;box-shadow:0 5px 0 #a47d09}
.game-page .keypad button:active,.game-page .keypad button.pressed{transform:translateY(5px)!important;box-shadow:0 0 0 transparent!important}
.game-page .question-fuse,.game-page .feedback-row{background:transparent!important;color:#343b46!important}
.game-page .fuse-label,.game-page #feedback{font-size:11px}
.game-page .feedback-row{margin-bottom:14px}
.game-page .meter-column{justify-self:center;width:100%;max-width:220px}
.game-page .stat-label{font-size:12px;letter-spacing:2px}
.game-page .stat-value{font-size:clamp(42px,4vw,68px);color:var(--ink)}
.game-page .stat-caption{font-size:11px;color:var(--muted)}
.game-page .liquid-meter{height:280px;width:88px;background:#16191e;border:1px solid #3b4551;border-radius:22px;box-shadow:5px 6px 0 #20252c;margin-top:28px}
.game-page .meter-number{color:#fff}
.game-page .meter-footer{font-size:12px}
.game-page #timeLiquid{background:#157dd0}
.game-page #heatLiquid{background:#ff8548}
.game-page .reaction-word{font-size:clamp(36px,4vw,64px);text-shadow:3px 4px 0 #5d4711}
.game-page .reaction-stage[data-kind=miss] .reaction-word{color:#ff526d;text-shadow:3px 4px 0 #521b27}
.game-page .reaction-detail{font-size:11px}
.game-page .arena-top,.game-page .arena-bottom{border:0}
.game-page .arena-bottom{font-size:11px}
.run-widgets{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font:12px var(--font-code);margin-top:18px}
.run-widgets span{border-left:3px solid var(--blue);padding:6px 12px}
.run-widgets span:last-child{border-color:var(--orange)}
.hurry-label{display:none;color:var(--red);font:700 13px var(--font-code);margin-top:16px}
.time-critical .hurry-label{display:block;animation:hurry .55s infinite alternate}
.time-critical .console{animation:clockDanger .65s infinite alternate}
.time-critical .time-meter{box-shadow:0 0 28px #ff526d88}
.game-page .overdrive .console:after{content:"";position:absolute;inset:-10px;pointer-events:none;border:3px solid #ff8548;border-radius:34px;animation:heatFlare .7s infinite alternate;z-index:-1}
.game-page .success .display{animation:screenHit .42s ease-out!important}
.game-page .miss .display{animation:screenMiss .42s ease-out!important}
.game-page .success .console{animation:consoleHit .25s ease-out}
@keyframes screenHit{0%{box-shadow:inset 0 0 0 90px #ffd720!important;transform:scale(.97)}45%{box-shadow:inset 0 0 0 8px #ffd720}100%{box-shadow:none;transform:scale(1)}}
@keyframes screenMiss{0%,60%{background:#701a2c}25%{transform:translateX(-5px)}50%{transform:translateX(5px)}100%{transform:translateX(0)}}
@keyframes consoleHit{50%{translate:0 -5px}}
@keyframes heatFlare{to{inset:-16px;border-color:#ffd720;box-shadow:0 -12px 30px #ff854878;transform:rotate(.5deg)}}
@keyframes clockDanger{to{filter:drop-shadow(0 0 14px #ff526d)}}
@keyframes hurry{to{opacity:.55}}
#resultDialog{background:var(--panel);border:1px solid var(--line);padding:28px;max-width:440px;width:calc(100% - 32px)}
#resultDialog .grave-mark{border-radius:120px 120px 12px 12px!important;background:#343b46;border:3px solid #626d7d;padding:32px 18px 24px;box-shadow:0 8px 0 #15181e;text-align:center;margin:24px auto;width:85%;color:#fff!important}
#resultDialog .grave-mark span,#resultDialog .grave-mark strong{color:#fff!important}
#resultDialog #resultScore{display:block;font-size:64px!important}
#resultDialog .grave-mark i{display:block;width:24px;height:24px;border:2px solid #ffd720;rotate:45deg;margin:0 auto 20px}
.result-actions{display:flex;gap:12px;margin-top:20px}
.result-actions>*{flex:1;text-align:center;padding:16px!important;border-radius:10px!important}
.result-home{border:1px solid var(--line);color:var(--ink);text-decoration:none}
#resultDialog #replayButton{background:#ffd720;color:#201d10!important;box-shadow:0 4px 0 #99730b}
@media(min-width:1700px){
.home-stage .character{scale:1.15}
.home-stage .tiny-calci{scale:1.2}
.game-page .game-layout{max-width:1600px;grid-template-columns:1fr 440px 1fr}
.game-page .display{height:210px}
.game-page .keypad button{height:60px}
}
@media(max-width:759px){
.home.home-stage{height:auto;min-height:calc(100svh - 64px);padding:28px 0 32px;grid-template-rows:auto 345px auto}
.home-stage .hero-copy h1{font-size:46px}
.home-stage .character-scene{min-height:345px}
.home-stage .character{width:240px;scale:.68}
.home-stage .tiny-calci{width:82px;padding:7px;scale:1;top:48%}
.home-stage .tiny-calci-left,.home-stage .character-scene:hover .tiny-calci-left{left:3%}
.home-stage .tiny-calci-right,.home-stage .character-scene:hover .tiny-calci-right{right:3%}
.home-stage .symbol-stream span{width:30px;height:30px}
.home-stage .hero-actions{gap:18px}
.home-stage .hero-actions .play-button{min-height:60px}
.game-page .arcade{padding:10px 12px}
.game-page .game-layout{display:block;padding:0 12px 22px}
.game-page .console{width:min(100%,350px);margin:auto;padding:14px}
.game-page .display{height:135px}
.game-page .keypad button{height:42px}
.game-page .keypad .enter-key{height:auto}
.game-page .reaction-stage{height:66px}
.game-page .reaction-word{font-size:32px}
.game-page .reaction-detail{font-size:9px}
.game-page .meter-column{max-width:none}
.game-page .liquid-meter{height:18px;width:100%;margin:0}
.game-page .stat-value{font-size:26px}
.run-widgets{display:none}
.game-page .question-fuse{margin-top:14px}
.game-page .feedback-row{margin-bottom:10px}
.hurry-label{position:absolute;right:8px;top:0;font-size:10px;margin:0}
}
@media(prefers-reduced-motion:reduce){
*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}
body.reduced-motion .console,body.reduced-motion .console:after,body.reduced-motion .display,body.reduced-motion .hurry-label{animation:none!important}
@media(min-width:760px) and (max-height:850px){
.home.home-stage{height:calc(100svh - 72px);min-height:580px;padding:22px 0;grid-template-rows:auto minmax(310px,1fr) auto}
.home-stage .character-scene{min-height:310px}
.home-stage .character{scale:.8}
.home-stage .tiny-calci{scale:.95}
.home-stage .hero-copy h1{font-size:54px}
.home-stage .hero-actions .play-button{min-height:58px}
.game-page .display{height:142px}
.game-page .keypad button{height:42px}
.game-page .keypad .enter-key{height:auto}
.game-page .liquid-meter{height:230px}
.game-page .arcade{padding-top:18px}
.game-page .reaction-stage{height:72px}
.game-page .console{padding:16px}
}
.game-page .success .display:after{content:"";position:absolute;inset:0;pointer-events:none;border:4px solid #ffd720;border-radius:inherit;animation:polishPass .45s ease-out}
@keyframes polishPass{from{background:#ffd72055;clip-path:inset(0 100% 0 0)}50%{clip-path:inset(0)}to{clip-path:inset(0 0 0 100%)}}
.game-page .miss .display{background:#701a2c!important}
.home-stage .hero-actions{display:grid!important;grid-template-columns:minmax(0,360px) 140px!important;width:min(550px,90%);gap:24px}
.home-stage .hero-actions .play-button{width:100%;min-width:0!important}
.home-stage .hero-actions .how-button{position:static!important;grid-column:auto!important;transform:none!important;align-self:center;background:transparent!important;box-shadow:none!important;border:0!important}
.game-page .console:before{display:none!important}
.game-page .question-fuse,.game-page .feedback-row,.game-page .keypad{border:0!important;box-shadow:none!important;border-radius:0!important}
.game-page .display-top span{background:transparent!important;border:0!important;padding:0!important}
.game-page .keypad{height:auto!important;grid-template-rows:repeat(4,53px)!important;align-content:start!important}
.game-page .keypad button{background:#fff!important;color:#20262d!important}
.game-page .keypad .utility{background:#343b46!important;color:#fff!important}
.game-page .keypad .clear-key{background:#157dd0!important}
.game-page .keypad .enter-key{background:#ffd720!important;color:#25210e!important}
.game-page .keypad button:before,.game-page .keypad button:after{display:none!important}
.game-page .time-meter .wave{background:#157dd0!important}
.game-page .heat-meter .wave{background:#ff8548!important}
.game-page .question-fuse .fuse-label{color:#343b46!important}
.game-page #startButton{background:var(--launch-color)!important;color:#25210e!important;box-shadow:0 5px 0 #99730b!important}
@media(max-height:850px) and (min-width:760px){
.game-page .keypad{grid-template-rows:repeat(4,42px)!important}
}
@media(max-width:759px){
.home-stage .hero-actions{grid-template-columns:1fr!important;gap:12px}
.game-page .keypad{grid-template-rows:repeat(4,42px)!important}
.game-page .mobile-meters .liquid-meter{height:18px!important}
.game-page .mobile-meters .meter-column{min-height:42px!important;padding-bottom:4px!important}
.game-page .mobile-meters .stat-label{font-size:10px}
.game-page .console{min-height:0!important}
.game-page .feedback-row{padding:8px 0!important}
}
.game-page .console{height:auto!important;flex:none!important}
.game-page .console .keypad{flex:none!important}
.game-page .console .display{flex:none!important}
.game-page .console .question-fuse{flex:none!important}
.game-page .console .feedback-row{flex:none!important}
@media(max-width:759px){
.game-page .console{display:block!important}
.game-page .display{height:148px!important}
.game-page .reaction-detail{letter-spacing:1px}
.game-page .reaction-stage{overflow:hidden}
.hurry-label{font-size:9px!important;top:-10px!important}
.game-page .time-critical .mobile-meters{border-color:#ff526d}
}
.home-stage .tiny-calci{cursor:pointer}
.home-stage .tiny-calci-keys{gap:5px!important}
.home-stage .tiny-calci-keys span{height:20px;border-radius:5px!important;display:grid;place-items:center}
.home-stage .tiny-calci.twinkle .tiny-calci-face i:last-of-type{animation:wink .65s ease}
.home-stage .character.twinkle .eyes i:last-child{animation:wink .65s ease}
.home-stage .twinkle{filter:brightness(1.12)!important}
@keyframes wink{30%,65%{scale:1 .15}100%{scale:1}}
.home-stage .symbol-stream span{display:grid!important;place-items:center!important;line-height:1!important;font-size:24px!important;padding:0!important;font-weight:700;box-shadow:0 5px 0 #0c111e,inset 0 2px 0 #526079;background:#202d44;border:2px solid #44516b}
.home-stage .symbol-stream span:nth-child(3n){color:#7ed2ff!important}
.home-stage .symbol-stream span:nth-child(3n + 1){color:#ffd720!important}
.home-stage .hero-actions .how-button{width:140px!important;min-width:0!important;white-space:nowrap;justify-self:center;margin:0!important}
.home-stage .hero-actions .play-button{box-sizing:border-box!important;max-width:100%}
.game-page{isolation:isolate}
.space-field{position:fixed;inset:60px 0 0;z-index:-1;pointer-events:none;overflow:hidden}
.space-field:before,.space-field:after{content:"";position:absolute;width:95vw;height:48vw;border:1px solid #253044;border-radius:50%;left:2%;top:22%;transform:rotate(-16deg)}
.space-field:after{width:120vw;height:65vw;left:-10%;top:5%;transform:rotate(17deg);border-color:#182234}
.space-field i{position:absolute;width:3px;height:3px;background:#8298b5;border-radius:50%}
.space-field i:nth-child(3n){width:2px;height:2px;background:#445269}
.speed-field{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:8}
.speed-field i{position:absolute;left:50%;top:50%;width:16vw;height:2px;background:#f8d752;transform-origin:left;opacity:0;rotate:var(--angle)}
body.speed-hit .speed-field i{animation:speedRay .42s ease-out both;animation-delay:var(--delay)}
@keyframes speedRay{0%{opacity:0;translate:0 0;transform:translateX(32vw) scaleX(.1)}25%{opacity:.75}100%{opacity:0;transform:translateX(68vw) scaleX(2)}}
body.jackpot .speed-field i{background:#ffd720;animation:speedRay .8s ease-out 2}
.jackpot .console{animation:jackpotLift 1.4s ease-out!important}
.jackpot #heatValue{color:#ffd720!important;text-shadow:0 0 20px #ffd720}
@keyframes jackpotLift{15%,45%{translate:0 -8px;filter:drop-shadow(0 0 22px #ffd720)}30%,65%{translate:0 0;filter:drop-shadow(0 0 8px #ff8548)}100%{filter:none}}
.game-page .time-critical .console{animation:dangerBeat .8s ease-in-out infinite alternate}
.game-page .time-critical .time-meter{animation:dangerBeat .8s ease-in-out infinite alternate}
@keyframes dangerBeat{to{filter:drop-shadow(0 0 10px #ff526d);translate:0 -2px}}
.game-page .collapsing .console{animation:loseGrip .65s ease-out!important}
.game-page .collapsing .keypad button:nth-child(3n){animation:keySlip .65s ease-out}
@keyframes loseGrip{25%{rotate:-1deg;translate:0 3px}65%{rotate:1deg;translate:0 6px}100%{rotate:0deg;translate:0 0}}
@keyframes keySlip{50%{transform:translateY(6px) rotate(3deg);opacity:.55}}
.game-page .reaction-hit .reaction-word,.game-page .reaction-hit .reaction-word span{animation:none!important}
.game-page .reaction-hit .reaction-word{animation:wordStrike .5s cubic-bezier(.16,1,.3,1)!important;text-shadow:0 4px 0 #594713}
.game-page .reaction-hit[data-kind=miss] .reaction-word{animation:wordFracture .4s ease-out!important;text-shadow:3px 0 #522238}
.game-page .reaction-word span{opacity:1!important;filter:none!important;transform:none!important}
.game-page .reaction-stage:after{display:none!important}
@keyframes wordStrike{0%{opacity:0;transform:scale(1.45) skewX(-9deg);letter-spacing:8px}50%{opacity:1;transform:scale(.97) skewX(0);letter-spacing:-1px}100%{transform:scale(1);letter-spacing:-1px}}
@keyframes wordFracture{0%{opacity:0;transform:translateY(-14px)}30%{opacity:1;transform:translateX(-6px)}60%{transform:translateX(4px)}100%{transform:translate(0)}}
#resultDialog .grave-mark{background:#333e4b;border-color:#738190;box-shadow:0 8px 0 #141c25;padding-top:28px}
#resultDialog .grave-mark i{position:static!important;background:transparent!important;rotate:0deg;width:28px;height:36px;border:0;border-left:4px solid #d7dfdf;margin:0 auto 18px;transform:translateX(12px)}
#resultDialog .grave-mark i:after{content:"";display:block;width:24px;height:4px;background:#d7dfdf;position:relative;left:-14px;top:11px}
#resultDialog .grave-mark span{display:block;position:static!important;margin-top:12px}
@media(max-width:759px){
.home-stage .symbol-stream span{font-size:19px!important}
.home-stage .tiny-calci-keys{gap:2px!important}
.home-stage .tiny-calci-keys span{height:12px;font-size:8px!important}
.space-field:before{width:160vw;height:100vw;left:-30%;top:28%}
.speed-field i{width:25vw}
.home-stage .hero-actions .how-button{width:auto!important}
}
@media(prefers-reduced-motion:reduce){
.speed-field{display:none!important}
.game-page .reaction-hit .reaction-word,.game-page .time-critical .console,.game-page .collapsing .console,.jackpot .console{animation:none!important}
}
body.reduced-motion .speed-field{display:none}
body.reduced-motion .reaction-word,body.reduced-motion .console,body.reduced-motion .keypad button{animation:none!important}
.home-stage .hero-actions .play-button{grid-column:1!important;grid-row:1!important;margin:0!important;transform-origin:center}
.home-stage .hero-actions .how-button{grid-column:2!important;grid-row:1!important;left:auto!important;right:auto!important;translate:none!important}
@media(max-width:759px){
.home-stage .hero-actions .how-button{grid-column:1!important;grid-row:2!important}
.home-stage .tiny-calci-left,.home-stage .character-scene:hover .tiny-calci-left{left:5%}
.home-stage .tiny-calci-right,.home-stage .character-scene:hover .tiny-calci-right{right:5%}
.home-stage .tiny-calci{width:72px}
.topbar .theme-button{min-width:64px}
}
.game-page .overdrive .console:after{width:auto!important;height:auto!important;background:transparent!important;left:-10px!important;right:-10px!important;top:-10px!important;bottom:-10px!important;transform:none;opacity:1}
.home-stage .symbol-stream span{background:#334a66!important;color:#f2f8ff!important;border-color:#6b8bab!important;opacity:1!important;box-shadow:0 5px 0 #142338,inset 0 2px 0 #7791ac!important}
.home-stage .symbol-stream span:nth-child(3n){background:#61dbf5!important;color:#15394b!important;border-color:#a7f0ff!important;box-shadow:0 5px 0 #248298!important}
.home-stage .symbol-stream span:nth-child(3n + 1){background:#ee8cbb!important;color:#4b1f39!important;border-color:#ffc4e4!important;box-shadow:0 5px 0 #93476f!important}
.space-field:before,.space-field:after{display:none!important}
@media(min-width:760px){
.game-page .game-layout{max-width:1050px!important;grid-template-columns:minmax(130px,1fr) minmax(320px,390px) minmax(130px,1fr)!important;gap:clamp(24px,3vw,52px)!important}
.game-page .time-column{justify-self:end;max-width:180px}
.game-page .heat-column{justify-self:start;max-width:180px}
}
@media(min-width:1700px){
.game-page .game-layout{max-width:1150px!important;grid-template-columns:180px 440px 180px!important;justify-content:center}
}
html .launch-flow{background:transparent!important}
.launch-flow:before{animation-delay:.52s!important;animation-duration:.62s!important;filter:blur(12px)}
.launch-cheeky .character{animation:launchNod .55s ease-in-out both!important}
.launch-cheeky .eyes i:first-child{height:16px!important;margin-top:0!important;rotate:0deg!important;animation:none!important}
.launch-cheeky .eyes i:last-child{rotate:0deg!important;animation:launchWink .52s ease-in-out both!important;transform-origin:center}
.launch-cheeky .face:before,.launch-cheeky .face:after{display:none!important}
.launch-cheeky .smile{rotate:0deg;translate:0 0}
@keyframes launchWink{0%,100%{scale:1 1}25%,70%{scale:1 .12}}
@keyframes launchNod{0%{translate:0 0}45%{translate:0 -12px;rotate:-3deg}100%{translate:0 0;rotate:0deg}}
@media(prefers-reduced-motion:reduce){
.launch-cheeky .character,.launch-cheeky .eyes i:last-child{animation:none!important}
}
@media(min-width:760px){
.game-page .liquid{overflow:hidden;min-height:0!important}
.game-page .liquid .wave{height:28px!important;width:130%!important;left:-15%!important;top:-14px!important;background:inherit!important}
.game-page .liquid .wave.second{top:-16px!important}
}
html{overflow-x:clip}
.game-page #score{position:relative;text-align:center;font-variant-numeric:tabular-nums;text-shadow:none!important}
.game-page #score.score-thousand{animation:scoreBorderPulse 1s ease-out!important;text-shadow:none!important;border-radius:10px}
@keyframes scoreBorderPulse{0%,100%{box-shadow:0 0 0 1px transparent}35%{box-shadow:0 0 0 1px #61dbf5,0 0 14px 2px #61dbf566}65%{box-shadow:0 0 0 1px #61dbf588,0 0 8px #61dbf533}}
.home-stage .hero-copy,.home-stage .hero-actions{justify-self:center}
.home-stage .hero-copy{text-align:center}
.home-stage .hero-copy p{margin-inline:auto}
.game-page .meter-column{text-align:center}
.game-page .liquid-meter{margin-inline:auto}
.game-page .reaction-stage{text-align:center}
@media(prefers-reduced-motion:reduce){
.game-page #score.score-thousand{animation:none!important;outline:1px solid #61dbf5}
}
@keyframes scoreRimSurge{0%,100%{border-color:transparent;box-shadow:none}45%{border-color:#ffb16b;box-shadow:0 0 14px #ff854866}}
@media(prefers-reduced-motion:reduce){
.game-page #score.score-energy,.game-page #score:after{animation:none!important}
}
body.reduced-motion #score,body.reduced-motion #score:after{animation:none!important}
.game-page #score.score-energy,.game-page #score.score-thousand,.game-page .meter-hit .stat-value,.game-page .heat-column.meter-hit #heatValue{animation:counterHit .45s ease-out!important}
@keyframes counterHit{30%{transform:translateY(-4px) scale(1.13)}100%{transform:none}}
.game-page #heatValue{display:inline-block}
@media(prefers-reduced-motion:reduce){
.game-page #score.score-energy,.game-page #score.score-thousand,.game-page .meter-hit .stat-value,.game-page .heat-column.meter-hit #heatValue{animation:none!important}
}
body.reduced-motion #score.score-energy,body.reduced-motion #score.score-thousand,body.reduced-motion .meter-hit .stat-value,body.reduced-motion .heat-column.meter-hit #heatValue{animation:none!important}
/* Score and streak receive one shared counter treatment, including mobile. */
.game-page #score.score-energy,.game-page #score.score-thousand,.game-page .meter-hit .stat-value{animation:counterHit .45s ease-out!important;text-shadow:0 0 14px #ffb16b66!important}
.game-page #score:after{animation:none!important;box-shadow:none!important;border-color:transparent!important}
.game-page #score.score-energy:after,.game-page #score.score-thousand:after{animation:scoreRimSurge .45s ease-out!important}
.time-bonus{position:absolute;left:50%;top:-24px;translate:-50% 0;color:var(--blue);font:700 14px var(--font-code);white-space:nowrap;pointer-events:none}
.time-bonus.bonus-pop{animation:bonusRise .9s ease-out both}
@keyframes bonusRise{0%{opacity:0;transform:translateY(8px) scale(.8)}25%{opacity:1;transform:translateY(0) scale(1.1)}100%{opacity:0;transform:translateY(-16px)}}
@media(prefers-reduced-motion:reduce){.game-page #score.score-energy,.game-page #score.score-thousand,.game-page .meter-hit .stat-value{animation:none!important}}
body.reduced-motion #score.score-energy,body.reduced-motion #score.score-thousand,body.reduced-motion .meter-hit .stat-value{animation:none!important}

/* ═══════════════════════════════════════════════════════════════
   SCALABILITY & ALIGNMENT FIXES
   Consolidate character centering and reaction-stage sizing
   into responsive, balanced values.
   ═══════════════════════════════════════════════════════════════ */

/* ── Character scene: proper centering ────────────────────────
   The character uses CSS scale() which doesn't shrink the layout
   box, leaving uneven gaps. We fix this with explicit flex centering
   and controlled min-heights. */
.home-stage .character-scene{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:clamp(280px,42vh,400px);
  width:100%;
  max-width:1320px;
  margin:0 auto;
  position:relative;
  overflow:visible}

/* ── Tiny calculators: balanced symmetric positioning ────────── */
.home-stage .tiny-calci{
  position:absolute;
  top:50%;
  translate:0 -50%;
  z-index:3}
.home-stage .tiny-calci-left{
  left:clamp(2%,8vw,14%)}
.home-stage .tiny-calci-right{
  right:clamp(2%,8vw,14%)}

/* ── Reaction stage: consolidated responsive height ──────────
   Replace the 15+ conflicting pixel heights with a single
   clamp-based value that scales gracefully. */
.game-page .reaction-stage{
  height:clamp(55px,9vh,80px)!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden}

/* ── Reaction word: responsive font size ──────────────────── */
.game-page .reaction-word{
  font-size:clamp(30px,4vw,64px)!important;
  line-height:1;
  white-space:nowrap;
  text-align:center}

/* ── Reaction detail: consistent sizing ───────────────────── */
.game-page .reaction-detail{
  font-size:clamp(7px,1.2vw,11px);
  margin-top:clamp(5px,1vh,12px)}

/* ── Hero section: balanced vertical rhythm ───────────────── */
.home.home-stage{
  gap:clamp(6px,1.5vh,14px)}

/* ── Game layout: balanced columns ────────────────────────── */
@media(min-width:760px){
  .game-page .game-layout{
    display:grid;
    grid-template-columns:minmax(130px,1fr) minmax(320px,400px) minmax(130px,1fr);
    gap:clamp(28px,4vw,60px);
    align-items:start;
    max-width:1100px;
    margin:0 auto}

  .game-page .meter-column{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center}

  .game-page .liquid-meter{
    margin:clamp(18px,3vh,28px) auto}
}

/* ── Mobile: compact balanced layout ──────────────────────── */
@media(max-width:759px){
  .home-stage .character-scene{
    min-height:clamp(280px,45vh,360px)}

  .home-stage .character{
    scale:clamp(.65,.12vw + .6,.82)}

  .home-stage .tiny-calci-left{left:3%}
  .home-stage .tiny-calci-right{right:3%}

  .game-page .reaction-stage{
    height:clamp(50px,8vh,65px)!important;
    flex:0 0 auto}

  .game-page .reaction-word{
    font-size:clamp(28px,8vw,42px)!important}
}

/* ── Short desktop viewports ──────────────────────────────── */
@media(min-width:760px) and (max-height:800px){
  .home-stage .character-scene{
    min-height:clamp(260px,38vh,310px)}

  .home-stage .character{
    scale:clamp(.7,.15vh + .5,.88)}

  .game-page .reaction-stage{
    height:clamp(50px,7vh,68px)!important}
}

/* ── Ultra-wide: keep proportions ─────────────────────────── */
@media(min-width:1700px){
  .home-stage .character-scene{
    min-height:420px;
    max-width:1500px}

  .game-page .reaction-word{
    font-size:clamp(48px,3.5vw,68px)!important}
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-SHARP FLOATING CALCULATOR & PROFESSIONAL MOBILE LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Floating Calculator Sharpness (Eliminate 3D Blur) ──── */
.home-stage .character{
  transform:rotate(-3deg)!important;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  -webkit-font-smoothing:antialiased;
  image-rendering:-webkit-optimize-contrast;
  filter:none!important;
  will-change:transform;
}
.home-stage .character-scene{
  perspective:none!important;
}
@keyframes bob{
  0%,100%{transform:rotate(-3deg) translateY(0)}
  50%{transform:rotate(-3deg) translateY(-14px)}
}

/* ── 2. Professional Topbar & Navbar ───────────────────────── */
.topbar{
  height:68px!important;
  max-width:1440px!important;
  padding:0 clamp(16px,4vw,40px)!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  position:relative;
  z-index:100;
  transition:all .2s ease-in-out;
}
.topbar .brand{
  font-family:var(--font-display)!important;
  font-weight:800!important;
  font-size:clamp(15px,1.8vw,19px)!important;
  letter-spacing:-.4px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  text-decoration:none!important;
}
.topbar .brand-icon{
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
  display:inline-grid!important;
  place-items:center!important;
  font-size:16px!important;
  font-weight:900!important;
}
.topbar .version{
  font-size:11px!important;
  font-weight:600!important;
  opacity:.65;
}
.topbar .nav-right{
  display:flex!important;
  align-items:center!important;
  gap:clamp(6px,1.2vw,12px)!important;
}
.topbar .icon-button{
  height:36px!important;
  padding:0 14px!important;
  border-radius:20px!important;
  font-family:var(--font-display)!important;
  font-weight:700!important;
  font-size:11px!important;
  letter-spacing:.5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  cursor:pointer!important;
  transition:all .15s ease-in-out!important;
}
.topbar .desktop-label{
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:1px!important;
  margin-right:4px;
}

/* ── 3. Mobile Layout Scaling Fixes ───────────────────────── */
@media(max-width:759px){
  .topbar{height:58px!important;padding:0 12px!important}
  .topbar .desktop-label{display:none!important}
  .topbar .brand{font-size:14px!important;gap:6px!important}
  .topbar .brand-icon{width:26px!important;height:26px!important;font-size:13px!important;border-radius:7px!important}
  .topbar .icon-button{height:32px!important;padding:0 9px!important;font-size:10px!important}

  /* Mobile header bar alignment */
  .mobile-game-header{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:8px 16px!important;
    height:50px!important;
    border-bottom:1px solid var(--line);
  }
  .mobile-game-header .mobile-back{
    font-size:18px!important;
    font-weight:700;
    text-decoration:none;
  }
  .mobile-game-header .mobile-score{
    font-family:var(--font-display);
    font-weight:800;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .mobile-game-header .mobile-actions{
    display:flex;
    align-items:center;
    gap:6px;
  }

  /* Mobile meters (Time/Water timeline & Heat streak) alignment */
  .mobile-meters{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    margin:10px 0 14px!important;
    width:100%!important;
  }
  .mobile-meters .meter-column{
    min-height:50px!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:4px!important;
  }
  .mobile-meters .stat-label{
    display:block!important;
    font-size:9px!important;
    font-weight:700!important;
    letter-spacing:.6px!important;
  }
  .mobile-meters .stat-value{
    font-size:18px!important;
    font-weight:800!important;
    line-height:1!important;
  }
  .mobile-meters .liquid-meter{
    height:14px!important;
    width:100%!important;
    margin-top:2px!important;
    border-radius:6px!important;
    overflow:hidden!important;
  }
  .mobile-meters .liquid{
    height:100%!important;
  }

  /* Mobile Console & Display / Screen / Mouth Scaling */
  .game-page .console{
    width:100%!important;
    max-width:380px!important;
    margin:0 auto!important;
    padding:14px 16px!important;
    box-shadow:4px 6px 0 var(--calc-edge)!important;
  }
  .game-page .display{
    min-height:145px!important;
    padding:10px 14px!important;
  }
  .game-page .question{
    font-size:clamp(26px,7.5vw,36px)!important;
    margin:6px 0!important;
  }
  .game-page .mini-face{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
  }
}

/* ── 4. Tiny Calculators Face & Mouth Centering Fix (NO OVERFLOW) ── */
.home-stage .tiny-calci-screen,
.tiny-calci-screen{
  overflow:hidden!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:2px 4px!important;
}
.home-stage .tiny-calci-face,
.tiny-calci-face{
  position:relative!important;
  width:100%!important;
  max-width:44px!important;
  height:100%!important;
  max-height:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  padding-top:0!important;
  overflow:hidden!important;
}
.home-stage .tiny-calci-face i,
.tiny-calci-face i{
  display:block!important;
  width:5px!important;
  height:8px!important;
  flex-shrink:0!important;
  transform-origin:center!important;
  translate:var(--look-x,0px) var(--look-y,0px)!important;
}
.home-stage .tiny-calci-face b,
.tiny-calci-face b{
  position:absolute!important;
  left:50%!important;
  bottom:2px!important;
  width:16px!important;
  height:6px!important;
  transform:translateX(-50%)!important;
  translate:var(--mouth-x,0px) var(--mouth-y,0px)!important;
  border-top:0!important;
  border-radius:0 0 6px 6px!important;
  box-sizing:border-box!important;
}
.home-stage .tiny-calci-face em,
.tiny-calci-face em{
  position:absolute!important;
  right:-2px!important;
  top:-2px!important;
}

/* ── 5. CLEAN SOFT CROSSFADE THEME TRANSITION ── */
body, .topbar, .home-stage, .game-page, .console, .character, .tiny-calci,
.face, .display, .symbol-stream span,
.instructions > div, footer, dialog, .arena, .liquid-meter {
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 6. CLEAN FLOATING ANIMATION FOR 'FASTER.' KEYWORD ── */
@keyframes heroFasterFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.home-stage .hero-copy h1 em {
  display: inline-block !important;
  animation: heroFasterFloat 2.6s ease-in-out infinite !important;
  will-change: transform;
}

.home-stage .hero-copy h1 em .title-letter {
  display: inline-block !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  animation: none !important;
}

.home-stage .hero-copy h1 em .title-letter:hover {
  transform: translateY(-4px) scale(1.05) !important;
}

/* ── 7. SVG PATH MORPHING SUN-TO-MOON THEME TOGGLE (PURE PATHS) ── */
.theme-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.theme-svg-icon {
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
  display: inline-block !important;
  vertical-align: middle !important;
  position: relative !important;
}

.theme-svg-icon path {
  transform-origin: 12px 12px !important;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease,
              fill 0.45s ease,
              stroke 0.45s ease !important;
  will-change: transform, opacity;
}

/* Light Mode: Sun Path Active, Moon Path Hidden */
html[data-theme="light"] .theme-svg-icon .sun-path {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
  fill: #ff863e !important;
  stroke: #ff863e !important;
}
html[data-theme="light"] .theme-svg-icon .moon-path {
  opacity: 0 !important;
  transform: rotate(-90deg) scale(0) !important;
  fill: #ff863e !important;
  stroke: none !important;
}

/* Dark Mode: Moon Path Active, Sun Path Hidden */
html[data-theme="dark"] .theme-svg-icon .sun-path {
  opacity: 0 !important;
  transform: rotate(90deg) scale(0) !important;
  fill: #00f5a0 !important;
  stroke: #00f5a0 !important;
}
/* ── 8. CLEAN & MINIMAL PLAY BUTTON ── */
.home-stage .hero-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 24px auto 0 !important;
  position: relative !important;
}

.home-stage .hero-actions .play-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 340px !important;
  min-height: 58px !important;
  padding: 16px 28px !important;
  border-radius: 14px !important;
  font-family: var(--font-display, 'Space Grotesk', sans-serif) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.25, 1), box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.home-stage .hero-actions .play-button:hover {
  transform: translateY(-3px) !important;
}

.home-stage .hero-actions .play-button:active {
  transform: translateY(2px) !important;
}

.home-stage .hero-actions .play-button .launch-label {
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
}

.home-stage .hero-actions .play-button .launch-arrow {
  font-size: 19px !important;
  font-weight: 700 !important;
  transition: transform 0.18s ease !important;
}

.home-stage .hero-actions .play-button:hover .launch-arrow {
  transform: translateX(4px) !important;
}

/* Mobile Responsive Scaling (<760px) */
@media(max-width: 759px) {
  .home-stage .hero-actions .play-button {
    min-height: 52px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}

/* ── 9. SMOOTH GLIDING MAGNET HOVER FOR SIDE TINY CALCULATORS ── */
.tiny-calci,
.home-stage .tiny-calci,
.tiny-calci-left,
.tiny-calci-right,
.home-stage .tiny-calci-left,
.home-stage .tiny-calci-right {
  transition: left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              right 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.3s ease !important;
  will-change: left, right, transform;
}

/* Hover: Smoothly glide side calculators inwards closer to the main hero character */
@media(min-width: 760px) {
  .character-scene:hover .tiny-calci-left,
  .home-stage .character-scene:hover .tiny-calci-left {
    left: 21% !important;
    transform: scale(1.08) rotate(4deg) !important;
    filter: brightness(1.1) !important;
  }

  .character-scene:hover .tiny-calci-right,
  .home-stage .character-scene:hover .tiny-calci-right {
    right: 21% !important;
    transform: scale(1.08) rotate(-4deg) !important;
    filter: brightness(1.1) !important;
  }
}

@media(max-width: 759px) {
  .character-scene:hover .tiny-calci-left,
  .home-stage .character-scene:hover .tiny-calci-left {
    left: 10% !important;
    transform: scale(1.05) rotate(3deg) !important;
    filter: brightness(1.1) !important;
  }

  .character-scene:hover .tiny-calci-right,
  .home-stage .character-scene:hover .tiny-calci-right {
    right: 10% !important;
    transform: scale(1.05) rotate(-3deg) !important;
    filter: brightness(1.1) !important;
  }
}



/* Score badge, spaced below the headline. */
.home-stage .hero-copy #heroScore{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:calc(100% - 24px);margin:30px auto 8px!important;padding:0;border:0;background:transparent;box-shadow:none;font-size:14px;line-height:1.4}
.home-stage #heroScore .hero-score-label{font:600 10px var(--font-code)!important;letter-spacing:1.5px;color:var(--muted)!important;padding-right:0;border-right:0}
.home-stage #heroScore strong{font-size:26px!important;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.home-stage #heroScore .hero-score-unit{font:600 10px var(--font-code)!important;letter-spacing:1px;color:var(--muted)!important}
@media(max-width:759px){.home-stage .hero-copy #heroScore{margin-top:24px!important;padding:0;gap:10px;font-size:12px}.home-stage #heroScore strong{font-size:23px!important}}

/* Downward digit reels on homepage entry; no box around the score. */
.home-stage #heroScore .hero-score-number{display:inline-flex;align-items:baseline;letter-spacing:0}
.home-stage #heroScore .hero-score-number span{color:inherit!important;font:inherit!important}
.home-stage #heroScore .hero-score-reel{display:inline-block;width:.68em;height:1em;overflow:hidden;vertical-align:bottom}
.home-stage #heroScore .hero-score-strip{display:flex;flex-direction:column;animation:heroScoreDown 1.05s cubic-bezier(.16,.8,.2,1) var(--reel-delay,0ms) both}
.home-stage #heroScore .hero-score-strip>span{display:block;flex:none;height:1em;line-height:1!important;text-align:center}
.home-stage #heroScore .score-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes heroScoreDown{from{transform:translateY(-12em)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.home-stage #heroScore .hero-score-strip{animation:none;transform:none}}
body.reduced-motion #heroScore .hero-score-strip{animation:none;transform:none}

/* Requested interaction and hierarchy refinements. */
.home-stage .hero-actions{filter:none!important}
.home-stage .hero-actions .play-button,
.home-stage .hero-actions .play-button:hover,
.home-stage .hero-actions .play-button:active,
.home-stage .hero-actions .play-button.launch-armed{box-shadow:none!important}
.home-stage .hero-actions .play-button:not(.launch-pressing){animation:launchBreathe 2.5s ease-in-out infinite;transform-origin:center}
.home-stage .hero-actions .play-button:not(.launch-pressing):hover{animation-play-state:paused;transform:scale(1.06)}
@keyframes launchBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}

body:not(.game-page)>.arcade-nav,
.home-stage .hero-copy,
.home-stage .character-scene,
.home-stage .hero-actions,
.home-stage .hero-meta,
body:not(.game-page)>footer{animation:pageElementIn .62s cubic-bezier(.2,.75,.25,1) both}
.home-stage .hero-copy{animation-delay:.08s}.home-stage .character-scene{animation-delay:.17s}.home-stage .hero-actions{animation-delay:.28s}.home-stage .hero-meta{animation-delay:.36s}body:not(.game-page)>footer{animation-delay:.44s}
@keyframes pageElementIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

.game-page .question{font-size:clamp(46px,4.2vw,64px)!important;line-height:1!important;margin:10px 0 8px!important}
.game-page .answer-slot{width:min(76%,250px);height:48px!important;margin:0 auto 5px;padding:5px 14px;display:flex;align-items:center;justify-content:center;border:2px solid var(--screen-accent);background:color-mix(in srgb,var(--screen-accent) 10%,transparent);font-size:32px!important;border-radius:8px}
.game-page #answerText:empty:before{content:"?";opacity:.28}
.game-page #answerText{min-width:1ch;text-align:center}
@media(max-width:759px){.game-page .question{font-size:38px!important}.game-page .answer-slot{height:38px!important;font-size:27px!important}}
@media(prefers-reduced-motion:reduce){.home-stage .hero-actions .play-button,body:not(.game-page)>.arcade-nav,.home-stage .hero-copy,.home-stage .character-scene,.home-stage .hero-actions,.home-stage .hero-meta,body:not(.game-page)>footer{animation:none!important}}

/* Mobile-only launch button matches scorecard white/red outline style. */
@media (max-width: 759px) {
  .home-stage .hero-actions .play-button {
    width: min(92vw, 340px) !important;
    min-height: 58px !important;
    margin-inline: auto !important;
    background: #fff !important;
    color: #e11d48 !important;
    border: 3px solid #e11d48 !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 0 #e11d48 !important;
  }

  .home-stage .hero-actions .play-button .launch-label,
  .home-stage .hero-actions .play-button .launch-arrow,
  .home-stage .hero-actions .play-button span {
    color: #e11d48 !important;
  }

  .home-stage .hero-actions .play-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 0 #e11d48 !important;
  }

  .home-stage .hero-actions .play-button:active,
  .home-stage .hero-actions .play-button.launch-pressing {
    transform: translateY(4px) !important;
    box-shadow: 0 1px 0 #e11d48 !important;
  }
}
