:root{--bg:#101410;--panel:#181e18;--panel-dark:#141914;--line:#30392d;--text:#edf1e5;--muted:#98a58f;--acid:#d5fa70;--mint:#a5d6a2;--orange:#efbe7c;--mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:14px;line-height:1.5}body:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 25% 0,#29412330,#0000 60%);position:fixed;inset:0}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}button,a,summary,input{outline-offset:5px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--acid)}button{touch-action:manipulation}button:disabled:not(.machine-card){opacity:.42}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button svg{width:22px;height:22px;display:block}[hidden]{display:none!important}.app-shell{max-width:1380px;margin:0 auto;padding:0 42px}.skip-link{background:var(--acid);color:var(--bg);z-index:50;padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;height:100px;display:flex}.brand{letter-spacing:1.5px;align-items:center;gap:13px;font-size:16px;font-weight:800;display:flex}.brand-mark{background:var(--acid);width:38px;height:38px;color:var(--bg);border-radius:10px;place-items:center;padding-bottom:8px;font-size:37px;line-height:1;display:grid}.brand-light{color:var(--muted);margin-left:6px;font-weight:450}.version{font:9px var(--mono);color:var(--muted);border:1px solid var(--line);letter-spacing:1px;border-radius:4px;margin-left:4px;padding:4px 6px}.header-actions{align-items:center;gap:20px;display:flex}.save-status{font:11px var(--mono);color:var(--muted)}.save-status:before{content:"";background:var(--mint);border-radius:50%;width:5px;height:5px;margin-right:8px;display:inline-block}.save-status.warning{color:var(--orange)}.icon-button{border:1px solid var(--line);background:0 0;border-radius:9px;place-items:center;width:40px;height:40px;font-size:26px;display:grid}.icon-button:hover{background:var(--line)}.game-layout{grid-template-columns:minmax(0,1fr) 378px;gap:34px;padding:35px 0 30px;display:grid}.challenge-home,.challenge-run,.challenge-result{border:1px solid var(--line);background:var(--panel);border-radius:14px;grid-column:1/-1;width:min(760px,100%);margin:auto;padding:34px;position:relative;overflow:hidden}.challenge-home{background:linear-gradient(120deg,#202a19,#171d16)}.challenge-home h1,.challenge-result h1{letter-spacing:0;margin:4px 0 8px;font-size:clamp(32px,6vw,62px)}.challenge-home>p:not(.eyebrow):not(.challenge-best){color:var(--mint);font-size:16px}.challenge-home-actions{align-items:center;gap:10px;margin-top:26px;display:flex}.challenge-start{background:var(--acid);color:#162010;min-height:54px;font:700 13px var(--mono);letter-spacing:.5px;border:1px solid #a7cb59;border-radius:7px;padding:10px 16px}.challenge-start kbd{color:#162010;background:#dffb9b;border-color:#60763b}.challenge-link{border:1px solid var(--line);min-height:42px;color:var(--text);font:11px var(--mono);background:0 0;border-radius:7px;padding:8px 12px}.challenge-best{color:var(--muted);font:11px var(--mono);margin-top:24px}.challenge-run{align-content:center;gap:24px;min-height:350px;padding:20px 24px 22px;display:grid}.challenge-run-top{font:12px var(--mono);color:var(--mint);grid-template-columns:1fr 1fr 1fr auto;align-items:center;gap:12px;display:grid}.challenge-run-top span:nth-child(2){text-align:center;color:var(--text);font-size:24px}.challenge-run-top span:nth-child(3){text-align:right}.timing-lane{align-items:center;height:94px;display:grid;position:relative}.lane-track{background:#11170f;border:1px solid #566449;border-radius:2px;height:12px}.lane-target{border:2px solid var(--acid);color:#effcc3;width:44%;height:42px;font:11px var(--mono);letter-spacing:1px;background:#52732d;place-items:center;display:grid;position:absolute;left:28%;overflow:hidden}.lane-perfect{background:#91bd48;width:40.91%;height:100%;position:absolute;left:29.545%;box-shadow:inset 0 0 0 1px #dfffa3}.lane-target b{z-index:1;position:relative}.lane-marker{background:var(--orange);width:8px;height:66px;position:absolute;left:0;transform:translate(-50%);box-shadow:0 0 12px #efbe7c88}.challenge-feedback{text-align:center;min-height:27px;font:600 20px var(--mono);color:var(--mint);margin:0}.challenge-feedback.perfect{color:var(--acid)}.challenge-feedback.good{color:var(--orange)}.challenge-feedback.miss{color:#d8a58b}.challenge-key{background:var(--acid);color:#1c2712;width:min(420px,92%);min-height:66px;font:700 17px var(--mono);letter-spacing:4px;border:0;border-radius:9px;justify-self:center;box-shadow:0 7px #809c40}.challenge-key:active,.challenge-key.pressed{transform:translateY(5px);box-shadow:0 2px #809c40}.challenge-run>.challenge-link{justify-self:center}.challenge-result{text-align:center;background:linear-gradient(120deg,#202a19,#171d16)}.result-stars{font:42px/1 var(--mono);color:var(--acid);letter-spacing:5px;margin:15px 0}.result-score{font:28px var(--mono);margin:0}.result-reward{color:var(--mint);font:15px var(--mono);margin-top:7px}.result-best{color:var(--muted);font:11px var(--mono);margin-top:10px}.result-best.new-record{color:var(--acid)}.result-next{color:var(--mint);font:10px var(--mono);margin-top:5px}.challenge-result .challenge-home-actions{justify-content:center}body.challenge-home .workshop,body.challenge-home .shop,body.challenge-home .page-footer,body.challenge-running .workshop,body.challenge-running .shop,body.challenge-running .page-footer,body.challenge-result .workshop,body.challenge-result .shop,body.challenge-result .page-footer{display:none}body.challenge-home .game-layout,body.challenge-running .game-layout,body.challenge-result .game-layout{grid-template-columns:1fr;min-height:calc(100svh - 100px);padding-top:clamp(18px,7vh,70px);display:grid}.section-top{justify-content:space-between;align-items:center;gap:12px;margin:0 0 25px;display:flex}.workshop-header-actions{align-items:center;gap:10px;display:flex}.workshop-challenge{min-height:32px;color:var(--acid);font:9px var(--mono);letter-spacing:.4px;background:#26341d;border:1px solid #718d47;border-radius:6px;padding:6px 9px}.workshop-challenge:hover{background:#354d24}.eyebrow{font:9px var(--mono);letter-spacing:1.5px;color:var(--muted);line-height:1.6}h1{letter-spacing:-1px;margin-top:5px;font-size:27px;font-weight:600}.live-pill{font:9px var(--mono);white-space:nowrap;border:1px solid var(--line);color:var(--mint);letter-spacing:.6px;border-radius:20px;padding:6px 9px}.live-pill i,.status-dot{background:var(--mint);border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.playfield{background:var(--panel);border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden}.field-top{font:9px var(--mono);letter-spacing:1px;color:var(--muted);justify-content:space-between;gap:12px;padding:20px 23px;display:flex}.field-top>:last-child{color:#809278;font-size:8px}.balance-wrap{text-align:center;z-index:1;padding:16px 12px 0;position:relative}.balance{font:clamp(40px,5.6vw,75px)/1.22 var(--mono);letter-spacing:-5px;color:var(--text);font-variant-numeric:tabular-nums;min-height:85px;margin-top:8px;font-weight:500}.balance.balance-wide{letter-spacing:-2px;font-size:clamp(25px,4vw,55px)}.balance.balance-ultra-wide{letter-spacing:-1px;font-size:clamp(18px,3vw,42px)}.auto-line{font:12px var(--mono);color:var(--muted);margin-top:5px}.auto-line strong{color:var(--acid);font-weight:500}.recent-income{min-height:15px;color:var(--mint);font:10px var(--mono);letter-spacing:.2px;margin-top:5px}.spark-icon{color:var(--acid);margin-right:4px}.auto-tag{font:8px var(--mono);letter-spacing:.7px;color:var(--mint);background:#283225;border-radius:4px;margin-left:8px;padding:4px 5px}.first-objective{z-index:2;background:#20291a;border:1px solid #526b37;border-radius:10px;align-items:center;gap:18px;width:min(460px,100% - 28px);margin:18px auto 0;padding:13px 16px;display:flex;position:relative}.objective-copy{flex:1;gap:2px;min-width:0;display:grid}.objective-copy .eyebrow{font-size:8px}.objective-copy strong{font-size:14px;font-weight:600}.objective-copy span{font:11px var(--mono);color:var(--mint)}.objective-action{gap:7px;width:160px;display:grid}.objective-track{background:#3c4b32;border-radius:3px;height:3px;overflow:hidden}.objective-track span{background:var(--acid);height:100%;transition:width .15s;display:block}.quick-buy{min-height:38px;color:var(--acid);font:11px var(--mono);letter-spacing:.25px;text-align:center;background:#344427;border:1px solid #718d47;border-radius:6px;padding:7px 9px}.quick-buy span,.quick-buy small{display:block}.quick-buy small{color:var(--mint);font:7px var(--mono);letter-spacing:0;margin-top:3px}.quick-buy:not(:disabled):hover{background:var(--acid);color:var(--bg)}.quick-buy:not(:disabled):hover small{color:#26321b}.breakthrough-buy{color:var(--mint);background:#202d1b;border-color:#567749;font-size:9px}.quick-buy.recommended{border-color:var(--acid);box-shadow:inset 0 0 0 1px #d5fa7030}.route-choice-active{padding:8px 10px;display:block}.route-choice-active .objective-copy,.route-choice-active .objective-track{display:none}.route-choice-active .objective-action{grid-template-columns:1fr;gap:6px;width:100%}.route-choice-active .quick-buy{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:58px;padding:7px 9px;font-size:12px;display:grid}.route-choice-active .quick-buy small{color:var(--mint);font-size:11px;line-height:1.3}.route-copy{min-width:0}.route-copy strong{font-size:12px;line-height:1.2;display:block}.route-buy{min-width:54px;font:12px var(--mono);text-align:right;border-left:1px solid #7d9b4d;grid-template-rows:auto auto;align-content:center;align-self:stretch;justify-items:end;gap:2px;padding-left:8px;display:grid}.route-buy b{font-size:14px;line-height:1}.route-buy em{font:9px/1 var(--mono);color:var(--mint);white-space:nowrap;font-style:normal}.quick-buy:not(:disabled):hover .route-buy,.quick-buy:not(:disabled):hover .route-buy em{color:#26321b;border-color:#60783a}.machine-stage{isolation:isolate;perspective:850px;place-items:center;height:236px;display:grid;position:relative}.factory-stage{isolation:isolate;background:radial-gradient(at 50% 78%,#28371d 0%,#151c13 50%,#101410 100%);border-top:1px solid #52664055;border-bottom:1px solid #52664055;height:272px;display:block;overflow:hidden}.factory-scene{z-index:0;width:100%;height:100%;display:block;position:absolute;inset:0}.factory-stage .space-key{z-index:3;margin:0;position:absolute;bottom:7px;left:50%;transform:translate(-50%)rotate(-5deg)}.factory-stage .space-key:active,.factory-stage .space-key.pressed{transform:translate(-50%)rotate(-5deg)translateY(7px)}.factory-stage .particles{z-index:5}.stage-grid{z-index:-2;background-image:linear-gradient(#82967214 1px,#0000 1px),linear-gradient(90deg,#82967214 1px,#0000 1px);background-size:32px 32px;position:absolute;inset:-10%;transform:rotateX(63deg);-webkit-mask-image:radial-gradient(#000,#0000 67%);mask-image:radial-gradient(#000,#0000 67%)}.orbit{z-index:-1;border:1px solid #758d6225;border-radius:50%;width:460px;height:128px;position:absolute;transform:rotate(-7deg)}.orbit-2{opacity:.55;border-style:dashed;width:530px;height:160px;transform:rotate(-7deg)}.space-key{z-index:3;-webkit-user-select:none;user-select:none;background:#4c5939;border:0;border-radius:17px;width:330px;height:107px;padding:0;transition:transform 90ms,box-shadow 90ms;position:relative;transform:rotate(-7deg)translateY(-5px);box-shadow:0 10px #38432d,0 13px 0 2px #10150e,0 22px 40px #050a07aa}.key-top{color:#24321b;background:linear-gradient(155deg,#d9edac 0%,#c7df8e 50%,#afca72 100%);border:1px solid #e0f8b078;border-radius:17px;padding:16px 22px;display:block;position:absolute;inset:0;box-shadow:inset 0 2px 1px #ecffbd,inset 0 -4px #8fa757}.key-label{font:10px var(--mono);letter-spacing:2px;font-weight:700;position:absolute;top:17px;left:22px}.key-glyph{font:49px var(--mono);text-align:center;line-height:1;position:absolute;top:20px;left:0;right:0}.key-bottom{font:8px var(--mono);letter-spacing:1px;opacity:.8;justify-content:space-between;align-items:center;display:flex;position:absolute;bottom:16px;left:22px;right:22px}.key-light{background:#476334;border-radius:3px;width:16px;height:4px;box-shadow:0 0 8px #52763455}.space-key:hover{filter:brightness(1.07)}.space-key:active,.space-key.pressed{transform:rotate(-7deg)translateY(3px);box-shadow:0 3px #38432d,0 6px 0 2px #10150e,0 12px 24px #050a0788}.key-shadow{filter:blur(9px);background:radial-gradient(#bad98122,#0000 70%);border-radius:50%;width:380px;height:70px;position:absolute;top:120px}.mini-station{color:#a2bb8b;width:49px;height:64px;font:8px var(--mono);opacity:.45;background:linear-gradient(150deg,#39482f,#222e1e);border:1px solid #526543;border-radius:8px;padding:7px;transition:opacity .4s;position:absolute;top:92px;transform:rotate(-7deg);box-shadow:4px 7px #10170c}.station-left{left:9%}.station-right{top:80px;right:9%}.machine-stage.has-one .station-left,.machine-stage.has-two .station-right{opacity:1}.mini-bars{align-items:end;gap:3px;height:24px;margin:4px 0;display:flex}.mini-bars i{background:var(--acid);border-radius:1px;width:5px;height:10px}.mini-bars i:nth-child(2){height:18px}.mini-bars i:nth-child(3){height:14px}.has-one .station-left .mini-bars i,.has-two .station-right .mini-bars i{animation:1.4s ease-in-out infinite alternate work}.mini-bars i:nth-child(2){animation-delay:.4s!important}.energy-line{z-index:-1;background:linear-gradient(90deg,#0000,#c4e28c55);width:130px;height:2px;position:absolute;top:119px}.line-left{left:12%;transform:rotate(6deg)}.line-right{right:12%;transform:rotate(-16deg)}.input-hint{text-align:center;color:var(--muted);z-index:2;margin-top:-15px;margin-bottom:28px;font-size:11px;position:relative}.input-hint strong{color:#b5c3a8;margin-left:5px;font-weight:400}kbd{font:9px var(--mono);color:var(--text);border:1px solid #58624f;border-bottom-width:2px;border-radius:4px;margin:0 3px;padding:3px 5px}.rhythm-row{justify-content:center;gap:38px;padding:0 15px 26px;display:flex}.rhythm-row>span{font:12px var(--mono);flex-direction:column;align-items:center;gap:5px;display:flex}.muted{color:var(--muted)}.rhythm-row .muted{letter-spacing:1px;font-size:8px}.rhythm-row strong{font-weight:400}.overdrive-strip{border-top:1px solid var(--line);background:#1d251c;align-items:center;gap:13px;padding:20px 23px;display:flex}.overdrive-symbol{width:34px;height:40px;color:var(--acid);place-items:center;font-size:35px;line-height:1;display:grid}.overdrive-info{flex:1;min-width:0}.overdrive-title{justify-content:space-between;gap:10px;font-size:11px;display:flex}.overdrive-title>span{color:var(--acid);font:10px var(--mono)}.charge-track{background:#35402e;border-radius:3px;height:4px;margin-top:8px;overflow:hidden}.charge-track span,.goal-track span{background:var(--acid);border-radius:3px;width:0;height:100%;transition:width .15s;display:block}.overdrive-info p{color:var(--muted);margin-top:6px;font-size:8px}.boost-button{font:9px var(--mono);letter-spacing:.4px;color:var(--acid);background:#354526;border:1px solid #5e703e;border-radius:7px;min-width:113px;padding:12px}.boost-button:not(:disabled):hover{background:var(--acid);color:var(--bg)}.boost-button span{margin-left:10px}.below-field{grid-template-columns:1.15fr 1fr;gap:14px;margin-top:15px;display:grid}.power-card,.goal-card{border:1px solid var(--line);background:#171c16;border-radius:12px;padding:17px 16px}.power-card{align-items:center;gap:11px;display:flex}.tiny-icon{color:var(--mint);align-self:flex-start;font-size:21px}.power-copy{flex:1}.power-card .eyebrow,.goal-card .eyebrow{letter-spacing:1px;font-size:8px}h2{letter-spacing:-.2px;font-size:14px;font-weight:550}.power-card h2{margin:5px 0}.power-card h2 span{font:8px var(--mono);color:var(--muted);margin-left:6px}.power-card p:not(.eyebrow){color:var(--muted);font-size:9px}.power-card .upgrade-preview{color:var(--mint);font:8px var(--mono);margin-top:6px;line-height:1.55}.small-buy{min-width:67px;font:13px var(--mono);color:var(--acid);background:#293324;border:1px solid #4b5a3e;border-radius:7px;flex-direction:column;align-items:center;gap:7px;padding:10px 8px;display:flex}.small-buy .muted{letter-spacing:.5px;font-size:7px}.small-buy:hover:not(:disabled){background:#37482b}.goal-heading{justify-content:space-between;gap:8px;margin-bottom:5px;display:flex}.goal-heading>span{font:8px var(--mono);color:var(--muted)}.goal-card>p{color:var(--muted);margin-top:4px;font-size:9px}.goal-track{background:#35402e;border-radius:3px;height:3px;margin-top:13px}.workshop-foot{color:var(--muted);justify-content:space-between;gap:12px;margin:18px 3px 0;font-size:10px;display:flex}.quiet-tag{font:8px var(--mono);white-space:nowrap;letter-spacing:.6px}.shop-heading{justify-content:space-between;align-items:center;margin:1px 0 23px;display:flex}.shop-heading h2{letter-spacing:-.8px;margin-top:5px;font-size:23px}.shop-glyph{color:var(--acid);font-size:27px}.shop-tabs{border-bottom:1px solid var(--line);gap:22px;display:flex}.shop-tabs button{color:var(--muted);background:0 0;border:0;padding:0 0 15px;font-size:12px;position:relative}.shop-tabs button[aria-selected=true]{color:var(--text)}.shop-tabs button[aria-selected=true]:after{content:"";background:var(--acid);height:2px;position:absolute;bottom:-1px;left:0;right:0}.shop-tabs span{min-width:18px;height:17px;color:var(--mint);font:9px var(--mono);background:#2a3425;border-radius:4px;place-items:center;margin-left:6px;padding:2px;display:inline-grid}.shop-options{justify-content:space-between;align-items:center;gap:6px;padding:20px 0 14px;display:flex}.shop-options>span{font:8px var(--mono);color:var(--muted);letter-spacing:.5px}.buy-modes{border:1px solid var(--line);background:#20281d;border-radius:6px;gap:3px;padding:3px;display:flex}.buy-modes button{font:9px var(--mono);min-width:28px;min-height:27px;color:var(--muted);background:0 0;border:0;border-radius:4px;padding:5px}.buy-modes button.selected{color:var(--acid);background:#52603b}.machine-list{scrollbar-width:thin;scrollbar-color:#4c5b3e transparent;flex-direction:column;gap:10px;max-height:505px;padding:2px 3px 8px 1px;display:flex;overflow:auto}.machine-card{border:1px solid var(--line);text-align:left;background:linear-gradient(120deg,#20271c,#191f18);border-radius:11px;width:100%;padding:16px;transition:border-color .15s,background .15s;position:relative}.machine-card:not(:disabled):hover{background:#25311e;border-color:#8aab54}.machine-card:disabled{opacity:.78}.machine-card.affordable{background:linear-gradient(120deg,#2c3922,#20281a);border-color:#829b4c}.machine-head{align-items:center;gap:11px;display:flex}.machine-icon{width:38px;height:38px;color:var(--acid);background:#303e26;border:1px solid #4d6039;border-radius:8px;flex-shrink:0;place-items:center;display:grid}.machine-icon svg{width:24px;height:24px}.machine-name{flex:1;font-size:12px;font-weight:550}.machine-name small{font:8px var(--mono);letter-spacing:.5px;color:var(--muted);margin-top:3px;font-weight:400;display:block}.machine-level{font:11px var(--mono);color:var(--muted);background:#12190f;border-radius:4px;padding:3px 6px}.machine-flavor{color:var(--muted);margin:11px 0 12px;font-size:9px;line-height:1.65}.machine-stats{font:10px var(--mono);justify-content:space-between;align-items:center;display:flex}.machine-gain{color:var(--mint)}.machine-price{color:var(--acid);font-size:12px}.machine-meta{font:8px var(--mono);color:var(--muted);justify-content:space-between;gap:6px;margin-top:7px;display:flex}.machine-card.locked{opacity:.6;background:0 0;border-style:dashed}.machine-card.locked .machine-icon{color:var(--muted);background:#22291f;border-color:#394632}.machine-card.locked .machine-price{color:var(--muted)}.shop-note{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:12px;margin:20px 0;padding:18px 3px;display:flex}.shop-note>span{color:var(--mint);font-size:24px;line-height:1.2}.shop-note p{font-size:10px;line-height:1.7}.shop-note strong{color:#bdcbb2;margin-bottom:3px;font-weight:500;display:block}.goals-intro{color:var(--muted);padding:19px 0;font-size:11px;line-height:1.9}.goals-list{scrollbar-width:thin;max-height:580px;overflow:auto}.milestone{border-bottom:1px solid var(--line);gap:12px;padding:13px 4px;display:flex}.milestone-badge{color:var(--muted);font:17px var(--mono);margin-top:2px}.milestone.done .milestone-badge{color:var(--acid)}.milestone h3{margin:0;font-size:12px;font-weight:500}.milestone p{color:var(--muted);margin-top:4px;font-size:10px}.milestone.done h3{color:var(--acid)}.milestone-progress{font:9px var(--mono);color:var(--muted);white-space:nowrap;align-self:center;margin-left:auto}.page-footer{border-top:1px solid var(--line);color:var(--muted);font:9px var(--mono);letter-spacing:.7px;justify-content:space-between;align-items:center;gap:15px;padding:24px 0 30px;display:flex}.footer-spark{color:var(--acid);margin-left:15px;font-size:18px}.notice{background:#293422;border:1px solid #677844;border-radius:9px;align-items:center;gap:15px;margin:18px 0 0;padding:12px 15px;font-size:12px;display:flex}.notice>span{flex:1}.notice button{background:0 0;border:0;min-width:36px;min-height:36px;font-size:24px}.toast{right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:30;color:#18210f;text-align:left;pointer-events:none;background:#d5fa70;border-radius:8px;max-width:min(340px,100% - 32px);padding:12px 15px;font-size:12px;position:fixed;box-shadow:0 9px 40px #0006}.particles{pointer-events:none;z-index:4;position:absolute;inset:0;overflow:visible}.particle{color:var(--acid);font:16px var(--mono);text-shadow:0 2px 8px #000;white-space:nowrap;font-weight:600;animation:.7s ease-out forwards float-up;position:absolute;left:50%}.particle.critical{color:var(--orange);font-size:23px}.overdriving .space-key{filter:brightness(1.14);box-shadow:0 10px #475931,0 13px 0 2px #10150e,0 0 45px #d5fa7030}.overdriving .live-pill{color:var(--acid);border-color:#677b3a}dialog{background:var(--panel);color:var(--text);border:1px solid #564;border-radius:17px;width:min(560px,100% - 28px);max-height:90dvh;padding:28px;overflow:auto;box-shadow:0 30px 100px #0008}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050805bb}.dialog-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.dialog-heading h2,#import-title{letter-spacing:-.6px;margin-top:7px;font-size:22px}.dialog-intro,dialog>p{color:var(--muted);margin:17px 0;font-size:12px;line-height:1.8}.setting-list{border-top:1px solid var(--line);margin:20px 0}.setting-list label{border-bottom:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;display:flex}.setting-list strong{font-size:13px;font-weight:500}.setting-list small{color:var(--muted);margin-top:4px;font-size:10px;display:block}input[type=checkbox]{width:21px;height:21px;accent-color:var(--acid);cursor:pointer;flex-shrink:0}.save-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.primary-button,.secondary-button,.danger-button{border-radius:7px;min-height:44px;padding:12px 16px;font-size:12px}.primary-button{background:var(--acid);border:1px solid var(--acid);color:#202c12}.secondary-button{color:var(--text);background:0 0;border:1px solid #5d6c50}.danger-button{color:#f2c2aa;background:#492e24;border:1px solid #92634d}.how-to,.danger-zone{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;font-size:12px}summary{cursor:pointer;color:var(--mint);padding:6px 0}details p{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.9}.danger-zone summary{color:#e8b593}.danger-zone label{margin:14px 0 5px;font-size:10px;display:block}.reset-row{gap:10px;display:flex}.reset-row input{background:var(--bg);border:1px solid var(--line);width:100%;min-width:0;color:var(--text);border-radius:6px;padding:10px}.reset-row button{white-space:nowrap}.settings-message{color:var(--orange);margin-top:12px;font-size:11px}.reduced-motion *,.reduced-motion :before,.reduced-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reduced-motion .particle{display:none}.paused .space-key{filter:grayscale(.65)}@keyframes float-up{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-70px)}}@keyframes work{0%{transform-origin:bottom;transform:scaleY(.55)}to{transform-origin:bottom;transform:scaleY(1)}}@media (min-width:1500px){.app-shell{padding:0 30px}.game-layout{grid-template-columns:minmax(0,1fr) 405px;gap:44px}.playfield .machine-stage{height:250px}.balance-wrap{padding-top:25px}}@media (max-width:1120px){.app-shell{padding:0 25px}.game-layout{grid-template-columns:minmax(0,1fr) 330px;gap:23px}.shop{padding-left:22px}.section-top{display:block}.live-pill{margin-top:11px;display:inline-block}.shop-heading{align-items:flex-start;height:88px;margin-top:0;padding-top:0}.shop-heading>div{padding-top:0}.below-field{grid-template-columns:1fr}.goal-card{padding:14px 16px}.goal-card h2{font-size:13px}.goal-card .goal-track{margin-top:9px}.balance{font-size:60px}.machine-stage{height:230px}.space-key{width:275px;height:100px}.mini-station{width:39px;height:57px}.station-left{left:6%}.station-right{right:6%}.overdrive-strip{gap:9px;padding:16px 14px}.overdrive-symbol{display:none}.overdrive-info p{max-width:210px}.shop-options>span{font-size:7px}.rhythm-row{gap:24px}.workshop-foot{display:block}.quiet-tag{display:none}.field-top{padding:18px 17px;font-size:8px}.field-top>:last-child{font-size:7px}}@media (max-width:800px){.app-shell{max-width:620px;padding:0 18px}.topbar{gap:8px;height:78px}.brand{letter-spacing:.7px;gap:8px;font-size:13px}.brand-mark{width:32px;height:32px;font-size:32px}.version{display:none}.header-actions{gap:10px}.save-status{font-size:9px}.icon-button{width:36px;height:36px}.game-layout{flex-direction:column;gap:35px;padding-top:24px;display:flex}.section-top{align-items:center;margin-bottom:18px;display:flex}.section-top .eyebrow{letter-spacing:.8px;font-size:7px}h1{letter-spacing:-.7px;font-size:22px}.live-pill{margin-top:0;padding:5px 7px;font-size:7px}.shop{border-left:0;border-top:1px solid var(--line);padding-top:25px;padding-left:0}.shop-heading{align-items:center;height:auto;margin-bottom:22px}.shop-heading h2{font-size:25px}.shop-options>span{font-size:9px}.machine-list{max-height:none;padding-right:0;overflow:visible}.machine-card{padding:16px 18px}.machine-name{font-size:14px}.machine-flavor{font-size:11px}.machine-stats{font-size:12px}.machine-meta{font-size:9px}.machine-price{font-size:14px}.machine-icon{width:42px;height:42px}.machine-level{font-size:12px}.shop-note p{font-size:11px}.below-field{grid-template-columns:1.2fr 1fr;gap:10px}.power-card{padding:14px 12px}.tiny-icon{display:none}.goal-card{padding:14px 12px}.page-footer{letter-spacing:0;font-size:8px}.input-hint{font-size:10px}.overdrive-info p{max-width:none}.overdrive-strip{padding:18px}.overdrive-symbol{display:block}.overdrive-title{font-size:11px}.balance{min-height:83px;font-size:70px}.balance-wrap{padding-top:10px}.first-objective{margin-top:12px}.machine-stage{height:220px}.space-key{width:290px}.station-left{left:8%}.station-right{right:8%}.mini-station{width:40px}.rhythm-row{gap:35px}.field-top{font-size:8px}.goals-list{max-height:none}.shop-tabs button{min-height:44px}.buy-modes button{min-width:34px;min-height:32px}.factory-stage{height:214px}.factory-stage .space-key{width:min(300px,84%);height:88px}.factory-stage .key-shadow{display:none}}@media (max-width:420px){.factory-stage{height:178px}.factory-stage .space-key{width:min(255px,84%);height:76px}.factory-stage .key-label{top:12px;left:17px}.factory-stage .key-bottom{bottom:11px;left:17px;right:17px}.factory-stage .key-glyph{font-size:38px;top:15px}.app-shell{padding:0 12px}.workshop-header-actions{gap:5px}.workshop-challenge{min-height:28px;padding:5px 6px;font-size:7px}.challenge-home,.challenge-run,.challenge-result{padding:22px 16px}.challenge-home h1,.challenge-result h1{font-size:37px}.challenge-home-actions{flex-wrap:wrap;margin-top:18px}.challenge-start{width:100%;font-size:12px}.challenge-run{gap:18px;min-height:350px;padding:18px 12px}.challenge-run-top{grid-template-columns:1fr 1fr auto;gap:7px}.challenge-run-top span:nth-child(3){display:none}.challenge-run-top span:nth-child(2){font-size:20px}.timing-lane{height:80px}.lane-target{height:40px}.challenge-key{min-height:60px}.result-stars{font-size:34px}body.challenge-result .challenge-result{margin:8px auto;padding:16px 14px}body.challenge-result .challenge-result h1{margin:3px 0 5px;font-size:30px;line-height:1.22}body.challenge-result .result-stars{margin:8px 0;font-size:28px}body.challenge-result .result-score{font-size:23px;line-height:1.25}body.challenge-result .result-reward{margin-top:5px;font-size:13px}body.challenge-result .result-best{margin-top:6px;font-size:9px}body.challenge-result .result-next{margin-top:4px;font-size:8px}body.challenge-result .challenge-home-actions{margin-top:13px}body.challenge-result .challenge-start{min-height:46px}.topbar{height:56px}.brand-mark{width:28px;height:28px;font-size:27px}.header-actions{gap:5px}.save-status{display:none}.icon-button{width:34px;height:34px}.game-layout{gap:22px;padding-top:12px}.section-top{margin-bottom:9px}.section-top .eyebrow{display:none}h1{margin:0;font-size:17px}.live-pill{margin-top:0;font-size:6px}.brand-light{margin-left:4px}.brand{font-size:11px}.save-status{font-size:8px}.section-top{align-items:flex-start}h1{font-size:20px}.live-pill{margin-top:18px;padding:5px 6px;font-size:6px}.field-top{padding:11px 14px;font-size:7px}.field-top>:last-child{font-size:6px}.balance{min-height:59px;margin-top:2px;font-size:49px}.auto-line{margin-top:0;font-size:10px}.auto-tag{display:none}.first-objective{gap:10px;width:calc(100% - 20px);margin-top:9px;padding:10px 11px}.objective-copy strong{font-size:12px}.objective-copy span{font-size:10px}.objective-action{gap:5px;width:135px}.quick-buy{min-height:36px;padding:6px;font-size:10px}.breakthrough-buy{min-height:31px;font-size:8px}.balance.balance-wide{letter-spacing:-1.5px;font-size:clamp(21px,7vw,32px)}.balance.balance-ultra-wide{letter-spacing:-1px;font-size:clamp(16px,5.2vw,25px)}.route-choice-active{padding:7px 8px}.route-choice-active .objective-action{gap:5px}.route-choice-active .quick-buy{min-height:56px;padding:6px 7px;font-size:11px}.route-choice-active .quick-buy small{font-size:10px}.route-copy strong{font-size:11px}.route-buy{min-width:48px;padding-left:6px}.route-buy b{font-size:13px}.route-buy em{font-size:8px}.space-key{width:220px;height:78px}.key-top{border-radius:15px}.key-label{font-size:9px}.key-glyph{font-size:42px}.key-bottom{font-size:7px}.machine-stage{height:140px}.mini-station,.energy-line{display:none}.orbit{width:310px;height:86px}.orbit-2{width:350px;height:105px}.key-shadow{width:290px;height:42px;top:83px}.mini-bars{gap:2px;height:18px}.mini-bars i{width:3px}.input-hint strong{display:none}.input-hint{margin-top:-3px;margin-bottom:13px;font-size:9px}.rhythm-row{gap:22px;padding-bottom:15px}.rhythm-row>span{gap:2px;font-size:10px}.rhythm-row .muted{font-size:7px}.rhythm-row strong{font-size:11px}.overdrive-strip{gap:9px;padding:16px 12px}.overdrive-symbol{display:none}.overdrive-info p{font-size:7px}.overdrive-title{font-size:10px}.boost-button{min-width:95px;padding:12px 8px;font-size:8px}.boost-button span{margin-left:4px}.below-field{grid-template-columns:1fr}.tiny-icon{display:block}.goal-heading{margin-bottom:3px}.power-card{padding:15px}.goal-card{padding:14px 15px}.power-copy h2{font-size:15px}.power-card p:not(.eyebrow){font-size:10px}.goal-card h2{font-size:14px}.goal-card>p{font-size:10px}.page-footer{font-size:7px}.footer-spark{margin-left:5px}.notice{font-size:11px}.toast{top:max(8px,env(safe-area-inset-top));bottom:auto;left:max(8px,env(safe-area-inset-left));max-width:calc(100% - 76px);font-size:11px;right:auto}body.embed-mode .toast{max-width:none;left:56px;right:80px}dialog{padding:21px}.dialog-heading h2{font-size:19px}}body.embed-mode{min-height:0}body.embed-mode:before{position:absolute}body.embed-mode .app-shell{max-width:none;margin:0;padding:0 12px}body.embed-mode .topbar{border-bottom:0;justify-content:flex-end;height:48px;display:flex}body.embed-mode .brand,body.embed-mode .save-status{display:none}body.embed-mode .header-actions{margin-left:0;margin-right:auto}body.embed-mode .page-footer{display:none}body.embed-mode .game-layout{padding:12px 0 14px}body.embed-mode .section-top{margin-top:0}body.embed-mode .notice{margin-top:12px}@media (max-width:760px){body.embed-mode .app-shell{padding:0 8px}body.embed-mode .game-layout{padding-top:8px}}@media (max-height:520px) and (orientation:landscape){body.challenge-home .game-layout,body.challenge-running .game-layout,body.challenge-result .game-layout{min-height:0;padding:12px 0}.challenge-home,.challenge-run,.challenge-result{padding:16px 20px}.challenge-home h1,.challenge-result h1{font-size:29px}.challenge-home-actions{margin-top:12px}.challenge-home p:not(.eyebrow):not(.challenge-best){font-size:12px}.challenge-best{margin-top:12px}.challenge-run{gap:10px;min-height:0}.timing-lane{height:60px}.lane-target{height:34px}.lane-marker{height:48px}.challenge-key{min-height:46px}.challenge-feedback{min-height:18px;font-size:15px}.result-stars{margin:8px;font-size:28px}.result-score{font-size:22px}.app-shell{padding:0 18px}.topbar{height:48px}.version,.save-status{display:none}.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px;padding:12px 0}.section-top{margin-bottom:8px}.section-top .eyebrow{display:none}h1{margin:0;font-size:17px}.live-pill{font-size:7px}.workshop-challenge{min-height:28px;font-size:7px}.field-top{padding:8px 13px}.balance-wrap{padding:4px 10px 0}.balance{min-height:50px;margin-top:0;font-size:42px}.auto-line{margin-top:0;font-size:9px}.auto-tag{display:none}.first-objective{width:min(430px,100% - 20px);margin-top:6px;padding:8px 10px}.objective-action{width:135px}.quick-buy{min-height:30px;font-size:8px}.machine-stage{height:108px}.space-key{width:215px;height:68px}.key-label,.key-bottom{font-size:7px}.key-glyph{font-size:34px;top:15px}.key-shadow{top:65px}.mini-station,.energy-line{display:none}.input-hint{margin:-2px 0 8px;font-size:8px}.input-hint strong{display:none}.rhythm-row{gap:24px;padding-bottom:10px}.rhythm-row>span{gap:1px;font-size:9px}.overdrive-strip{padding:9px 12px;display:flex}.overdrive-info p,.overdrive-symbol{display:none}.below-field{margin-top:9px;display:grid}.workshop-foot{display:none}.shop{padding-left:18px}.shop-heading{height:auto;margin:0 0 8px}.shop-heading .eyebrow,.shop-glyph{display:none}.shop-heading h2{font-size:17px}.shop-tabs button{padding-bottom:8px}.shop-options{padding:8px 0}.shop-options>span,.shop-note{display:none}.machine-list{gap:6px;max-height:230px}.machine-card{padding:9px}.machine-flavor{display:none}.machine-icon{width:30px;height:30px}.machine-name{font-size:11px}.machine-stats{font-size:9px}.machine-meta{margin-top:4px;font-size:7px}}@media (min-width:801px) and (max-height:800px){.topbar{height:72px}.game-layout{gap:28px;padding:18px 0}.section-top{margin-bottom:12px}.section-top .eyebrow{font-size:8px}h1{font-size:22px}.field-top{padding:12px 18px}.balance-wrap{padding-top:7px}.balance{min-height:65px;margin-top:3px;font-size:55px}.auto-line{margin-top:0}.first-objective{margin-top:9px;padding:10px 13px}.machine-stage{height:158px}.space-key{width:280px;height:88px}.key-shadow{top:88px}.mini-station{top:65px;transform:scale(.8)rotate(-7deg)}.station-right{top:55px}.energy-line{top:88px}.input-hint{margin-top:-2px;margin-bottom:12px}.rhythm-row{padding-bottom:13px}.overdrive-strip{padding:13px 18px}.overdrive-symbol{height:30px;font-size:28px}.overdrive-info p{display:none}.below-field,.workshop-foot{margin-top:10px}.page-footer{padding:13px 0 16px}}@media (min-width:801px) and (max-height:520px) and (orientation:landscape){.topbar{height:44px}.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px;padding:8px 0}.section-top{margin-bottom:5px}.section-top .eyebrow{display:none}h1{margin:0;font-size:17px}.field-top{padding:7px 13px}.balance-wrap{padding:2px 10px 0}.balance{min-height:46px;margin-top:0;font-size:40px}.auto-line{margin-top:0;font-size:9px}.auto-tag{display:none}.playfield{flex-direction:column;display:flex}.field-top{order:1}.balance-wrap{order:2}.machine-stage{order:3;height:96px}.first-objective{order:4;width:min(430px,100% - 20px);margin:0 auto;padding:7px 10px}.input-hint{order:5;margin:6px 0 8px;font-size:8px}.rhythm-row{order:6;gap:24px;padding-bottom:10px}.overdrive-strip{order:7;padding:9px 12px;display:flex}.space-key{width:205px;height:64px}.key-label,.key-bottom{font-size:7px}.key-glyph{font-size:32px;top:14px}.key-shadow{top:58px}.mini-station,.energy-line,.input-hint strong,.overdrive-info p,.overdrive-symbol{display:none}.objective-action{width:135px}.quick-buy{min-height:30px;font-size:8px}.below-field{margin-top:9px;display:grid}.workshop-foot{display:none}}@media (max-height:520px) and (orientation:landscape){.playfield{flex-direction:column;display:flex}.first-objective{order:3;width:min(510px,100% - 16px);margin:0 auto;padding:6px 10px}.objective-copy{gap:0}.objective-copy .eyebrow{font-size:7px}.objective-copy strong{font-size:11px}.objective-copy span{font-size:8px}.objective-action{grid-template-columns:1fr 1fr;gap:5px;width:270px}.objective-track{display:none}.quick-buy{min-height:44px;padding:4px 5px;font-size:7px}.quick-buy small{font-size:6px;line-height:1.25}.route-choice-active .objective-action{grid-template-columns:1fr 1fr;gap:6px}.route-choice-active .quick-buy{min-height:57px;padding:6px 7px;font-size:11px}.route-choice-active .quick-buy small{font-size:10px}.route-copy strong{font-size:11px}.route-buy b{font-size:13px}.route-buy em{font-size:8px}.machine-stage{order:4;height:68px}.space-key{width:180px;height:52px}.key-shadow{top:48px}.key-label,.key-bottom{font-size:6px}.key-glyph{font-size:27px;top:12px}.input-hint{order:5;margin:4px 0 5px}.rhythm-row{order:6;padding-bottom:6px}.overdrive-strip{order:7}}.factory-stage{height:292px;overflow:hidden}.factory-stage .space-key{bottom:40px}.balance-wrap{padding-bottom:14px}.route-choice-active .route-buy{grid-template-rows:auto auto;align-content:center;justify-items:end;gap:4px;min-width:76px;padding-left:10px;display:grid}.route-choice-active .route-buy b,.route-choice-active .route-buy em{white-space:nowrap;line-height:1;display:block}.route-choice-active .route-buy em{letter-spacing:.45px;font-size:10px}.route-choice-active .quick-buy:disabled{opacity:1;color:var(--text);background:#20291a;border-color:#5e713f}.route-choice-active .quick-buy:disabled .route-copy strong{color:var(--text)}.route-choice-active .quick-buy:disabled .route-copy small{color:var(--mint)}.route-choice-active .quick-buy:disabled .route-buy b{color:var(--acid)}.route-choice-active .quick-buy:disabled .route-buy em{color:var(--orange)}@media (max-width:800px){.factory-stage{height:250px}.factory-stage .space-key{width:min(300px,84%);height:88px;bottom:38px}}@media (max-width:420px){.section-top{min-height:34px;margin-bottom:6px}.section-top>div:first-child,.field-top{display:none}.workshop-header-actions{justify-content:space-between;width:100%}.balance-wrap{padding-top:7px;padding-bottom:0}.factory-stage{height:190px}.first-objective{margin-top:4px}.factory-stage .space-key{width:min(258px,84%);height:76px;bottom:35px}.route-choice-active{padding:4px 8px}.route-choice-active .objective-action{gap:3px}}@media (max-height:520px) and (min-width:700px){.playfield .factory-stage{order:3;height:127px}.playfield .first-objective{order:4}.route-choice-active{padding:3px 8px}.route-choice-active .quick-buy{min-height:52px}.section-top>div:first-child,.field-top{display:none}.workshop-header-actions{justify-content:space-between;width:100%}.balance-wrap{padding-top:0;padding-bottom:0}.balance{min-height:42px;font-size:36px}.factory-stage .space-key{width:200px;height:52px;bottom:32px}.factory-stage .key-label,.factory-stage .key-bottom{font-size:7px}.factory-stage .key-label{top:8px;left:13px}.factory-stage .key-bottom{bottom:7px;left:13px;right:13px}.factory-stage .key-glyph{font-size:27px;top:8px}}.factory-stage{overflow:clip}.press-deck{isolation:isolate;border:1px solid color-mix(in srgb, var(--brass,#c48a32) 42%, #2c1b10);background:linear-gradient(105deg,#ffe6b033,#0000 36%),repeating-linear-gradient(90deg,#5b321a 0 2px,#6d4021 2px 12px,#4c2917 12px 14px);border-radius:18px;place-items:center;min-height:126px;margin:-10px auto 8px;padding:16px 18px 22px;display:grid;position:relative;box-shadow:inset 0 2px #fff3,inset 0 -12px #190c074d,0 12px 22px #14090442}.press-deck .space-key{z-index:2;margin:0;position:relative;inset:auto}.press-deck .particles{z-index:3;pointer-events:none;position:absolute;inset:0}@media (max-width:420px){.press-deck{border-radius:15px;min-height:108px;margin-top:-7px;padding:12px 14px 18px}}@media (max-height:440px) and (orientation:landscape){.press-deck{border-radius:12px;min-height:92px;margin:-6px 0 4px;padding:8px 12px 12px}}.speed-console{grid-template-columns:minmax(132px,.8fr) minmax(0,1.45fr);align-items:stretch;gap:10px;margin:0 0 10px;display:grid}.speed-live,.speed-trial{background:#1f140db3;border:1px solid #e1bb7057;border-radius:12px;min-width:0;display:flex;box-shadow:inset 0 1px #fff7df14}.speed-live{flex-direction:column;justify-content:center;padding:10px 12px}.speed-live .eyebrow{margin:0 0 3px}#speed-cps{color:#fff3d0;font:700 23px/1 var(--mono);letter-spacing:-.07em}.speed-source{color:#b9a98b;font:8px/1.25 var(--mono);letter-spacing:.07em;margin-top:3px}.speed-trial{align-items:center;gap:10px;padding:8px}.speed-trial-start{color:#241609;min-height:42px;font:700 11px/1 var(--mono);letter-spacing:.03em;background:linear-gradient(#f0c46f,#b9782e);border:1px solid #d6a24f;border-radius:8px;flex:none;padding:8px 10px;box-shadow:inset 0 1px #ffffff6b,0 3px #6c3b14}.speed-trial-start:disabled{opacity:.48;box-shadow:none;cursor:default}.speed-trial-copy{gap:3px;min-width:0;display:grid}.speed-trial-copy strong{color:#f8e9c5;font:700 11px/1.2 var(--sans)}.speed-trial-copy span{color:#ad9c7e;font:9px/1.28 var(--mono)}.speed-console[data-trial=running] .speed-trial{background:#394e1fb8;border-color:#d3ed82}.speed-console[data-trial=running] #speed-cps{color:#d8f277}.speed-console[data-trial=armed] .speed-trial-start{background:linear-gradient(#d9ef83,#9ab74b)}@media (max-width:520px){.speed-console{grid-template-columns:1fr;gap:7px}.speed-live{flex-flow:wrap;align-items:baseline;column-gap:8px;padding:8px 10px}.speed-live .eyebrow{margin:0}#speed-cps{font-size:21px}.speed-source{margin:0 0 0 auto}}@media (max-height:440px) and (orientation:landscape){.speed-console{grid-template-columns:150px minmax(0,1fr);gap:6px;margin-bottom:5px}.speed-live{padding:7px 9px}#speed-cps{font-size:18px}.speed-trial{gap:7px;padding:6px}.speed-trial-start{min-height:34px;font-size:10px}}.factory-view-toggle{color:#f2dfb9;font:700 9px/1 var(--mono);letter-spacing:.05em;background:#2f1d12b3;border:1px solid #efcd8470;border-radius:6px;margin-left:auto;padding:5px 7px;display:none}@media (max-width:620px){.factory-view-toggle{align-items:center;display:inline-flex}}.enable-full-motion{color:#d8f277;font:700 9px/1 var(--mono);letter-spacing:.04em;background:#4f6f267a;border:1px solid #d8f277b3;border-radius:6px;padding:5px 7px}:root{--bg:#17100b;--panel:#24180f;--panel-dark:#1b120c;--line:#503522;--text:#f4e7cc;--muted:#b39a79;--mint:#d7e9ae;--acid:#d5ef78}.playfield{background:#23170e;border-color:#604128}.field-top{color:#b89a76}.balance-wrap .eyebrow{color:#a98a67;font-size:8px}.balance{letter-spacing:-2.5px;color:#efdcb9;min-height:48px;margin-top:1px;font-size:clamp(29px,3.3vw,45px)}.auto-line{color:#b99d7b;margin-top:0;font-size:10px}.auto-line strong{color:#d7ef83}.auto-tag{color:#d7ef83;background:#413521}.press-deck{background:linear-gradient(105deg,#ffe5b238,#0000 36%),repeating-linear-gradient(90deg,#613719 0 2px,#774924 2px 12px,#512d16 12px 14px);border-color:#875a31}.press-deck .space-key{background:#7f623e;width:min(350px,92%);box-shadow:0 9px #4a321d,0 12px 0 2px #24150b,0 22px 35px #0a05027a}.press-deck .key-top{color:#402716;background:linear-gradient(150deg,#fff2d4 0%,#efd9ad 54%,#cfaf76 100%);border-color:#fff8dacc;box-shadow:inset 0 2px 1px #fffbe5,inset 0 -4px #a97843}.press-deck .key-light{background:#9b6b32;box-shadow:0 0 8px #dbad51b3}.press-deck .space-key:active,.press-deck .space-key.pressed{box-shadow:0 3px #4a321d,0 6px 0 2px #24150b,0 12px 22px #0a05026b}.speed-console{grid-template-columns:minmax(156px,.85fr) minmax(0,1.25fr);gap:9px;margin:3px 0 11px}.speed-live{background:linear-gradient(125deg,#322011,#21160e);border-color:#976b37;padding:9px 13px 10px}.speed-live .eyebrow{color:#c6a77c}#speed-cps{color:#fff0c9;letter-spacing:-.09em;font-size:31px;line-height:.98}.speed-source{color:#c5ab84;font-size:8px}.speed-trial{background:linear-gradient(110deg,#2d1e12,#22160d);border-color:#75502d}.speed-trial-start{color:#35200f;background:linear-gradient(#f4ce83,#bd7931);border-color:#d5a34d;box-shadow:inset 0 1px #ffffff80,0 3px #704016}.speed-trial-copy strong{color:#f7e5c0}.speed-trial-copy span{color:#bfa27d}.first-objective{background:#2b1c10;border-color:#75502e}.objective-copy span{color:#d7e9ae}.input-hint{color:#b69a78}.overdrive-strip{background:#21160e;border-color:#543921}@media (max-width:520px){.balance{letter-spacing:-2px;min-height:37px;font-size:31px}.balance-wrap{padding-top:5px}.speed-console{grid-template-columns:1fr;gap:7px;margin-top:4px}.speed-live{min-height:58px;padding:9px 11px}#speed-cps{font-size:33px}.speed-source{font-size:8px}.press-deck .space-key{width:min(320px,91%)}}.press-deck{min-height:156px;margin:0 auto 8px;padding:18px 20px 24px}.factory-stage{height:250px}.factory-stage .space-key{margin:0;position:relative;inset:auto}.input-hint{margin:8px 0 14px}@media (max-width:800px){.factory-stage{height:210px}.press-deck{min-height:142px}}@media (max-width:520px){.factory-stage{height:160px}.press-deck{min-height:108px;margin:0 0 6px;padding:11px 14px 16px}.press-deck .space-key{width:min(270px,88%);height:76px}.speed-console{grid-template-columns:122px minmax(0,1fr);gap:6px;margin:2px 0 7px}.speed-live{align-content:center;min-height:62px;padding:7px 9px;display:grid}.speed-live .eyebrow{margin:0}#speed-cps{font-size:28px}.speed-source{margin:2px 0 0;font-size:7px}.speed-trial{gap:7px;min-height:62px;padding:6px}.speed-trial-start{min-height:44px;padding:6px 7px;font-size:9px}.speed-trial-copy{gap:2px}.speed-trial-copy strong{font-size:10px}.speed-trial-copy span{font-size:8px;line-height:1.2}.first-objective{min-height:58px;margin-top:4px}}@media (max-width:420px){.factory-stage{height:140px}.press-deck{min-height:100px;padding:9px 12px 14px}.press-deck .space-key{width:min(245px,86%);height:70px}.speed-console{grid-template-columns:112px minmax(0,1fr)}.speed-trial-copy strong{font-size:9px}.speed-trial-copy span{font-size:7px}.first-objective{padding:8px 10px}.rhythm-row{padding-bottom:11px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield{grid-template-columns:minmax(0,1fr) 218px;grid-template-areas:"top top""balance balance""stage deck""stage speed""stage objective";align-items:stretch;display:grid}.field-top{order:initial;grid-area:top}.balance-wrap{order:initial;grid-area:balance;padding:2px 10px}.factory-stage{order:initial;border-bottom:0;grid-area:stage;height:190px}.press-deck{order:initial;border-radius:0 14px 0 0;grid-area:deck;min-height:80px;margin:0;padding:8px 10px 12px}.press-deck .space-key{width:172px;height:55px}.speed-console{order:initial;grid-area:speed;grid-template-columns:1fr;gap:4px;margin:0;padding:5px 7px}.speed-live{flex-direction:row;align-items:center;gap:6px;min-height:34px;padding:5px 7px}.speed-live .eyebrow,.speed-source{margin:0}#speed-cps{font-size:20px}.speed-trial{gap:5px;min-height:38px;padding:4px}.speed-trial-start{min-height:30px;padding:5px;font-size:8px}.speed-trial-copy strong{font-size:8px}.speed-trial-copy span{display:none}.first-objective{order:initial;border-radius:0 0 14px;grid-area:objective;width:100%;min-height:48px;margin:0;padding:6px 8px}.objective-copy .eyebrow,.objective-copy span{font-size:7px}.objective-copy strong{font-size:10px}.objective-action{width:108px}.quick-buy{min-height:31px;font-size:8px}.input-hint,.rhythm-row,.overdrive-strip{display:none}}.press-deck .space-key{top:8px}@media (min-width:801px){.factory-stage{height:220px}.press-deck{min-height:142px}.speed-console{min-height:70px}}@media (min-width:521px) and (max-width:800px){.factory-stage{height:190px}.press-deck{min-height:136px}.speed-console{min-height:62px}.speed-trial-copy span{display:none}}@media (max-width:420px){.speed-trial-copy span{display:none}.speed-trial-copy strong{font-size:8px;line-height:1.15}.speed-console{min-height:64px}.first-objective{min-height:56px;padding:7px 9px}.objective-action{width:122px}}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.topbar{height:44px}.game-layout{padding-top:6px}.section-top{min-height:28px;margin-bottom:3px}.section-top h1,.section-top .eyebrow{display:none}.field-top{padding:8px 12px}.balance-wrap{padding:2px 10px 0}.balance-wrap .eyebrow{display:none}.balance{min-height:28px;font-size:26px}.auto-line{font-size:8px}.factory-stage{height:120px}.press-deck{min-height:90px;padding:7px 10px 11px}.press-deck .space-key{width:min(225px,84%);height:64px}.first-objective{min-height:54px}.input-hint,.rhythm-row,.overdrive-strip{display:none}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.speed-console{grid-template-columns:78px minmax(0,1fr);align-items:stretch;min-height:50px;padding:3px 5px}.speed-live{align-content:center;min-height:44px;padding:4px 5px;display:grid}.speed-live .eyebrow,.speed-source{display:none}#speed-cps{font-size:20px}.speed-trial{min-height:44px}.first-objective{min-height:48px}}@media (max-width:800px) and (min-width:521px){.topbar{height:64px}.game-layout{padding-top:14px}.section-top{margin-bottom:9px}.section-top h1{font-size:20px}.speed-console{grid-template-columns:138px minmax(0,1fr)}.speed-live,.speed-trial{min-height:58px}}@media (max-width:420px){.press-deck{min-height:94px}}@media (min-width:801px){.press-deck{min-height:136px}.speed-trial-copy span{display:none}.speed-live,.speed-trial{min-height:62px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.press-deck{min-height:80px}}@media (min-width:521px) and (max-width:800px){.first-objective{min-height:60px;padding:8px 11px}}@media (min-width:801px){.first-objective{min-height:64px;padding:9px 12px}}@media (min-width:521px){.speed-console{margin-bottom:3px}.first-objective{margin-top:3px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.first-objective{gap:5px;padding:4px 6px}.quick-buy{min-height:28px}}.balance-wrap{padding:5px 12px 0}.balance-wrap .eyebrow{font-size:7px}.balance{letter-spacing:-1.6px;min-height:31px;font-size:clamp(21px,2.3vw,33px)}.auto-line{font-size:9px}.speed-console{background:linear-gradient(110deg,#332011,#1d130b);border:1px solid #8f6334;border-radius:14px;margin:5px 0 9px}.speed-live,.speed-trial{box-shadow:none;background:0 0;border:0;border-radius:0}.speed-live{border-right:1px solid #dcae5d59}#speed-cps{font-size:clamp(38px,6vw,54px);line-height:.86}.speed-source{color:#d7bc8f}.speed-trial-start{min-width:116px}.workshop-status{border-top:1px solid #543821;margin:9px 14px 0}.workshop-status>summary{color:#c8aa7c;cursor:pointer;font:9px var(--mono);letter-spacing:.06em;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.workshop-status>summary span{color:#95b95a;font-size:8px}.workshop-status .input-hint{margin:2px 0 12px}.shop{border-left:0;padding-left:0}.shop-disclosure{background:#21150d;border:1px solid #5e4028;border-radius:12px}.shop-disclosure>summary{cursor:pointer;color:#f0d7ab;min-height:52px;font:700 11px var(--mono);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;list-style:none;display:flex}.shop-disclosure>summary::-webkit-details-marker{display:none}.shop-disclosure>summary small{color:#d4ee77;font:8px var(--mono);letter-spacing:.08em}.shop-disclosure[open]>summary{border-bottom:1px solid #5e4028}.shop-content{padding:0 16px 16px}@media (min-width:801px){.game-layout{grid-template-columns:minmax(0,1fr) 238px;gap:26px}.shop{align-self:start}.shop-disclosure>summary{min-height:58px}}@media (max-width:420px) and (min-height:601px){.factory-stage{height:190px}.speed-console{grid-template-columns:132px minmax(0,1fr)}#speed-cps{font-size:42px}.speed-trial-start{min-width:94px}}@media (max-width:520px){.speed-live{border-right:1px solid #dcae5d59}.shop-content{padding:0 12px 12px}}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console{grid-template-columns:112px minmax(0,1fr);min-height:62px;max-height:62px;margin:4px 0 5px}.speed-live,.speed-trial{height:60px;min-height:60px}.speed-live{padding:6px 8px}#speed-cps{font-size:27px}.speed-trial{gap:5px;padding:4px 5px}.speed-trial-start{min-width:82px;min-height:42px;font-size:8px}.speed-trial-copy span{display:none}.speed-trial-copy strong{font-size:8px;line-height:1.15}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.speed-console{grid-template-columns:72px minmax(0,1fr);min-height:52px;max-height:52px;margin:0;padding:3px 4px}.speed-live,.speed-trial{height:46px;min-height:46px}.speed-trial{padding:3px}.speed-trial-start{min-width:72px;min-height:34px}.speed-trial-copy strong{font-size:8px}}.legend-skip{color:#f9df9e;font:700 10px/1 var(--mono);letter-spacing:.05em;background:#3d2815;border:1px solid #e0bd72;border-radius:7px;margin-left:auto;padding:6px 9px}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.topbar{height:38px;min-height:38px}.game-layout{padding-top:4px}.section-top{min-height:24px;margin-bottom:2px}.section-top>div:first-child{display:none}.playfield{grid-template-rows:28px 34px 74px 78px 54px;grid-template-columns:minmax(0,1fr) 236px}.field-top{min-height:28px;padding:5px 9px}.balance-wrap{min-height:34px;padding:1px 9px}.balance-wrap .eyebrow{display:none}.balance{min-height:22px;font-size:24px;line-height:1}.auto-line{margin:0;font-size:9px}.factory-stage{height:240px}.press-deck{min-height:74px;padding:8px 10px 13px}.press-deck .space-key{width:178px;height:54px}.speed-console{grid-template-columns:1fr;gap:0;min-height:78px;max-height:none;padding:4px 6px;overflow:visible}.speed-live,.speed-trial{height:35px;min-height:35px;overflow:visible}.speed-live{border-bottom:1px solid #dcae5d59;border-right:0;grid-template-columns:auto 1fr;grid-template-areas:"number source";align-items:center;padding:3px 6px;display:grid}.speed-live .eyebrow{display:none}#speed-cps{grid-area:number;font-size:27px;line-height:1}.speed-source{text-align:right;grid-area:source;justify-self:end;margin:0;font-size:11px;line-height:1.1;display:block}.speed-trial{gap:7px;padding:3px 5px}.speed-trial-start{min-width:94px;min-height:28px;padding:5px 6px;font-size:11px}.speed-trial-copy{gap:1px}.speed-trial-copy strong{font-size:11px;line-height:1.1}.speed-trial-copy span{display:none}.first-objective{min-height:54px;padding:5px 7px}.workshop-status{grid-area:6/1/auto/-1;align-self:start;margin:9px 14px 0}.objective-copy .eyebrow,.objective-copy span{font-size:9px}.objective-copy strong{font-size:12px}.objective-action{width:118px}.quick-buy{min-height:31px;font-size:11px}.legend-skip{padding:5px 7px;font-size:10px}}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console{min-height:70px;max-height:none}.speed-live,.speed-trial{height:68px;min-height:68px}.speed-source{font-size:10px;line-height:1.1}.speed-trial-start{font-size:10px}.speed-trial-copy strong{font-size:10px;line-height:1.15}}.machine-stage .legend-skip{z-index:3;margin:0;position:absolute;top:10px;right:10px}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.machine-stage .legend-skip{top:7px;right:7px}}@media (min-width:801px){.game-layout:has(.shop-disclosure:not([open])){grid-template-columns:minmax(0,1fr)}.game-layout:has(.shop-disclosure:not([open])) .shop{grid-column:1;width:min(100%,420px)}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield{grid-template-rows:28px 34px 94px 78px 54px}.factory-stage{height:260px}.press-deck{min-height:94px;padding-bottom:27px}.press-deck .space-key{top:6px}.playfield .factory-stage{height:226px}}@media (min-width:521px) and (max-width:800px) and (min-height:600px){.speed-console{margin-top:16px}}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console{margin-top:18px}}@media (min-width:521px) and (max-width:800px) and (min-height:600px){.speed-console{margin-top:20px}}@media (min-width:521px) and (min-height:601px) and (max-height:850px){.game-layout{padding-top:0}.section-top{min-height:32px;margin-bottom:0}.section-top>div:first-child{display:none}}.balance-wrap{pointer-events:none}@media (max-width:420px) and (min-height:601px){.press-deck{min-height:134px}}.machine-stage .factory-view-toggle,.machine-stage .enable-full-motion{z-index:3;align-items:center;margin:0;display:inline-flex;position:absolute;top:10px;left:10px}.machine-stage .enable-full-motion{left:102px}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.machine-stage .factory-view-toggle,.machine-stage .enable-full-motion{top:7px}.machine-stage .enable-full-motion{left:96px}}.speed-console[data-trial=completed] .speed-trial-copy{gap:4px}.speed-console[data-trial=completed] .speed-trial-copy strong,.speed-console[data-trial=completed] .speed-trial-copy span{overflow-wrap:anywhere}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console[data-trial=completed]{min-height:98px}.speed-console[data-trial=completed] .speed-live,.speed-console[data-trial=completed] .speed-trial{height:96px;min-height:96px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield:has(.speed-console[data-trial=completed]){grid-template-rows:28px 34px 94px 94px 54px}.speed-console[data-trial=completed]{min-height:94px}.speed-console[data-trial=completed] .speed-trial{height:51px;min-height:51px}.speed-console[data-trial=completed] .speed-trial-copy strong,.speed-console[data-trial=completed] .speed-trial-copy span{font-size:10px;line-height:1.1}}.speed-console[data-trial=completed] .speed-trial-copy span{font-size:10px;line-height:1.15;display:block}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console[data-trial=completed]{min-height:112px}.speed-console[data-trial=completed] .speed-live,.speed-console[data-trial=completed] .speed-trial{height:110px;min-height:110px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.speed-console[data-trial=completed] .speed-trial-copy span{font-size:9px;line-height:1.05;display:block}}.speed-console.record-pulse{border-color:#d8ef82;box-shadow:0 0 0 2px #d8ef8233,0 0 22px #d8ef822e}.machine-stage.record-pulse:after{content:"NEW HAND-SPEED RECORD";z-index:4;color:#f7e3ac;font:700 9px/1 var(--mono);letter-spacing:.07em;pointer-events:none;background:#301d0fd6;border:1px solid #d8ef82;border-radius:5px;padding:5px 7px;position:absolute;bottom:8px;right:10px}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.speed-console[data-trial=completed]{grid-template-columns:1fr;gap:0;min-height:150px}.speed-console[data-trial=completed] .speed-live{border-bottom:1px solid #dcae5d59;border-right:0;flex-direction:row;align-items:center;gap:8px;height:44px;min-height:44px;padding:6px 9px;display:flex}.speed-console[data-trial=completed] .speed-live .eyebrow{margin:0;font-size:9px;display:block}.speed-console[data-trial=completed] #speed-cps{font-size:28px;line-height:1}.speed-console[data-trial=completed] .speed-source{margin-left:auto;font-size:10px}.speed-console[data-trial=completed] .speed-trial{grid-template-rows:32px 1fr;grid-template-columns:1fr;align-items:start;gap:6px;height:102px;min-height:102px;padding:6px 8px;display:grid}.speed-console[data-trial=completed] .speed-trial-start{width:100%;min-height:30px;font-size:11px}.speed-console[data-trial=completed] .speed-trial-copy{gap:4px}.speed-console[data-trial=completed] .speed-trial-copy strong,.speed-console[data-trial=completed] .speed-trial-copy span{font-size:11px;line-height:1.15}.speed-console[data-trial=completed] .speed-live{flex-wrap:nowrap}.speed-console[data-trial=completed] .speed-live .eyebrow{display:none}.speed-console[data-trial=completed] #speed-cps{white-space:nowrap}}@media (max-width:420px) and (max-height:600px) and (orientation:portrait){.speed-console{grid-template-columns:1fr;gap:0}.speed-live{border-bottom:1px solid #dcae5d59;border-right:0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"number source";align-items:center;height:58px;min-height:58px;padding:7px 10px;display:grid}.speed-live .eyebrow{display:none}#speed-cps{white-space:nowrap;grid-area:number;font-size:42px;line-height:1}.speed-source{text-align:right;grid-area:source;margin:0;font-size:8px}.speed-trial{gap:8px;height:48px;min-height:48px;padding:5px 8px}.speed-trial-start{min-width:104px;min-height:34px}.balance,.balance.balance-wide,.balance.balance-ultra-wide{letter-spacing:-1px;font-size:24px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield:has(.route-choice-active){grid-template-rows:28px 34px 94px 78px 70px}.route-choice-active{padding:4px 6px}.route-choice-active .objective-action{grid-template-columns:minmax(0,1fr);gap:3px;width:100%;display:grid}.route-choice-active .quick-buy{grid-template-columns:minmax(0,1fr) auto;gap:6px;height:29px;min-height:29px;padding:3px 6px}.route-choice-active .quick-buy small{display:none}.route-choice-active .route-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:0;line-height:1.1;overflow:hidden}.route-choice-active .route-copy strong:after{content:attr(data-compact-title);font-size:11px}.route-choice-active .route-buy{gap:1px;min-width:56px;padding-left:5px}.route-choice-active .route-buy b{font-size:11px}.route-choice-active .route-buy em{font-size:9px}}@media (min-width:801px){.press-deck{margin-bottom:20px}.speed-console{margin-bottom:5px}.balance-wrap{padding-top:0}.balance{font-size:27px}}@media (max-width:420px) and (min-height:601px){body.embed-mode .press-deck{min-height:134px}}.factory-toolbar{background:linear-gradient(90deg,#20140e,#322016 52%,#20140e);border-top:1px solid #5d3b27;border-bottom:1px solid #6b4630;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:6px 10px;display:flex}.factory-toolbar-actions{align-items:center;gap:6px;min-width:0;display:flex}.factory-toolbar .factory-view-toggle,.factory-toolbar .enable-full-motion,.factory-toolbar .legend-skip{color:#f4ddb0;min-height:25px;font:700 9px/1 var(--mono);letter-spacing:.04em;white-space:nowrap;background:#2c1b10;border:1px solid #b88947;border-radius:6px;align-items:center;margin:0;padding:5px 7px;display:inline-flex;position:static}.factory-toolbar .enable-full-motion{color:#baf7ff;border-color:#60d7e8}.factory-toolbar .legend-skip{color:#e7c3ff;border-color:#c48ced}.factory-legend-label{color:#ead2ff;font:700 9px/1 var(--mono);letter-spacing:.08em;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.machine-stage .factory-view-toggle,.machine-stage .enable-full-motion,.machine-stage .legend-skip{display:none}@media (max-width:420px){.factory-toolbar{gap:6px;min-height:34px;padding:5px 8px}.factory-toolbar-actions{gap:4px}.factory-toolbar .factory-view-toggle,.factory-toolbar .enable-full-motion,.factory-toolbar .legend-skip{min-height:23px;padding:4px 5px;font-size:8px}.factory-legend-label{display:none}}@media (max-height:520px) and (orientation:landscape){.factory-toolbar{min-height:31px;padding:3px 6px}.factory-toolbar .factory-view-toggle,.factory-toolbar .enable-full-motion,.factory-toolbar .legend-skip{min-height:22px;padding:4px 5px;font-size:8px}}.playfield .recent-income{min-height:15px;color:var(--mint);text-align:center;margin:0;position:absolute;inset:auto 12px 0}@media (min-width:801px) and (min-height:521px){.playfield .field-top{padding-block:2px}.playfield .balance-wrap{padding-bottom:20px}}@media (min-width:521px) and (max-width:800px) and (min-height:600px){.playfield .field-top{padding-block:2px}.playfield .balance-wrap{padding-bottom:20px}}@media (max-width:520px),(min-width:521px) and (max-width:800px) and (max-height:599px),(min-width:801px) and (max-height:520px){.playfield .recent-income{display:none!important}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield{grid-template-rows:28px 34px 70px 94px 74px;grid-template-areas:"top top""balance balance""speed speed""deck deck""stage objective"}.speed-console{grid-template-columns:minmax(156px,.85fr) minmax(0,1.25fr);min-height:70px;padding:5px 9px}.speed-live,.speed-trial{height:58px;min-height:58px}.speed-live{border-bottom:0;border-right:1px solid #dcae5d59;align-content:center;padding:5px 9px;display:grid}#speed-cps{font-size:42px}.speed-source{text-align:left;margin:2px 0 0;font-size:8px;display:block}.speed-trial{padding:5px 7px}.speed-trial-start{min-width:94px;min-height:36px;font-size:10px}.speed-trial-copy strong{font-size:10px}.press-deck{min-height:94px;padding:8px 10px 27px}.press-deck .space-key{width:205px;height:64px}.playfield .factory-stage{height:74px}.first-objective{min-height:74px}.playfield:has(.route-choice-active){grid-template-rows:28px 34px 70px 94px 70px}.route-choice-active{min-height:70px}}.speed-live{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;display:grid;position:relative}.speed-readout{align-content:center;min-width:0;display:grid}.speed-records-panel{min-width:0;margin:0;position:relative}.speed-records-panel summary{color:#d7bc8f;min-width:88px;font:700 7px/1.05 var(--mono);letter-spacing:.04em;text-align:right;cursor:pointer;gap:1px;list-style:none;display:grid}.speed-records-panel summary::-webkit-details-marker{display:none}.speed-records-panel summary:after{content:"TOP 5 ▾";color:#a98354;font-size:7px}.speed-records-panel[open] summary:after{content:"TOP 5 ▴";color:#f2cd84}#speed-best{color:#fff0c9;font:700 12px/1 var(--mono);letter-spacing:0;white-space:nowrap}.speed-records{z-index:12;background:#21150c;border:1px solid #956734;border-radius:5px;width:152px;margin:0;padding:5px;list-style:none;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 7px 18px #00000061}.speed-records:empty:after{content:"Your first streak appears here.";color:#b99a70;font:700 8px/1.3 var(--mono);padding:4px;display:block}.speed-records li{color:#c8aa7d;font:700 8px/1 var(--mono);grid-template-columns:22px 1fr auto;align-items:baseline;gap:4px;padding:3px 4px;display:grid}.speed-records li:not(:last-child){border-bottom:1px solid #dcae5d29}.speed-records li strong{color:#fff0c9;font-size:10px}.speed-records li small{color:#9f8057;font:700 7px/1 var(--mono)}@keyframes speed-peak-fade{0%,to{opacity:1}50%{opacity:.34}}.speed-console[data-peak=held] #speed-cps{color:#f4d283}.speed-console[data-peak=fading] #speed-cps{animation:.3s ease-in-out 3 speed-peak-fade}@media (max-width:600px){.speed-records-panel summary{min-width:78px}#speed-best{font-size:11px}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.speed-live{grid-template-columns:minmax(0,1fr) auto}.speed-readout{grid-template-rows:36px 10px;grid-template-columns:1fr;align-content:center}.speed-readout #speed-cps{grid-area:1/1;align-self:end}.speed-readout .speed-source{grid-area:2/1;align-self:start;margin:0;line-height:1;display:block}.speed-records-panel summary{min-width:86px}.speed-records{top:auto;bottom:calc(100% + 6px)}}@media (max-width:360px){.speed-records-panel summary>span{display:none}.speed-records-panel summary:after{content:"PB · TOP 5 ▾"}.speed-records-panel[open] summary:after{content:"PB · TOP 5 ▴"}}@media (min-width:701px){.speed-live{grid-template-columns:max-content max-content;justify-content:start;gap:12px}.speed-records-panel{border-left:1px solid #dcae5d59;padding-left:12px}.speed-records-panel summary{text-align:left;min-width:118px;font-size:11px}.speed-records-panel summary:after{font-size:8px}#speed-best{font-size:22px;line-height:.95}}@media (max-width:700px){.speed-live{gap:5px}.speed-readout{grid-template-rows:34px 10px;grid-template-columns:1fr;align-content:center}.speed-readout .eyebrow{display:none}.speed-readout #speed-cps{grid-area:1/1;align-self:end}.speed-readout .speed-source{text-align:left;grid-area:2/1;align-self:start;margin:0;line-height:1;display:block}.speed-records-panel summary{text-align:left;min-width:76px;font-size:10px}.speed-records-panel summary:after{font-size:7px}#speed-best{font-size:18px;line-height:1}}@media (max-width:420px) and (max-height:600px) and (orientation:portrait){.speed-readout{grid-template-rows:28px 10px}.speed-readout #speed-cps{font-size:32px;line-height:.86}}@media (max-width:600px) and (max-height:600px) and (orientation:portrait){.playfield{flex-direction:column;display:flex}.playfield .field-top{order:0}.playfield .speed-console{order:1}.playfield .press-deck{order:2;width:100%;min-height:118px;margin:0;padding:16px 10px 36px}.playfield .balance-wrap{order:3}.playfield .first-objective{order:4}.playfield .factory-toolbar{order:5;margin-top:8px}.playfield .factory-stage{order:6}.playfield .workshop-status{order:7}}@media (max-height:520px) and (min-width:700px) and (orientation:landscape){.playfield{grid-template-rows:28px 34px 70px 110px 74px}.playfield:has(.route-choice-active){grid-template-rows:28px 34px 70px 110px 70px}.playfield .press-deck{min-height:110px;margin:0;padding:16px 10px 28px}.playfield .press-deck .space-key{top:5px}.first-objective:not(.route-choice-active) .objective-action{grid-template-columns:minmax(0,1fr)}body.embed-mode .topbar{height:38px;min-height:38px}body.embed-mode .game-layout{padding-top:4px}}@media (min-width:421px) and (max-width:700px){.speed-console{grid-template-columns:minmax(215px,1.2fr) minmax(0,1fr)}.speed-readout #speed-cps{white-space:nowrap;font-size:32px;line-height:1}}
