:root{color-scheme:dark;--bg:#090e18;--line:#29364a;--text:#edf3f8;--muted:#a5b2c5;--lime:#d8ff62;--cyan:#74e5ea;--danger:#ff957e;font-family:Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:280px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;min-height:44px;border:1px solid var(--line);background:transparent;border-radius:9px;padding:10px 14px}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button:hover:not(:disabled){background:#1b293c}button[aria-pressed=true]{color:var(--lime);border-color:#70844c}a{color:inherit;text-decoration:none}.shell{max-width:1520px;margin:auto;padding:24px clamp(16px,4vw,64px) 14px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(14px,env(safe-area-inset-bottom))}header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:19px;letter-spacing:2px;font-weight:800}.brand .light{font-weight:400;color:var(--muted)}.brandmark{font-size:36px;color:var(--lime);margin-right:12px}.utilities{display:flex;gap:8px}.utilities button{font-size:14px}#pause{font-size:20px;min-width:44px}.game-layout{display:grid;grid-template-columns:1fr minmax(300px,600px) .7fr;align-items:center;gap:clamp(20px,3.5vw,58px);min-height:calc(100svh - 160px);padding:28px 0}.eyebrow,.label{font:700 12px/1.5 Arial,sans-serif;letter-spacing:1.6px;color:var(--muted)}.signal{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);margin-right:7px}h1{font-size:clamp(38px,4.7vw,68px);line-height:1.03;letter-spacing:-3px;margin:26px 0 22px;font-weight:500}h1 em{font-style:normal;color:var(--lime)}.lede{font-size:18px;line-height:1.65;color:var(--muted)}.instructions{margin-top:38px}.instructions>div{display:flex;align-items:center;gap:15px;margin:20px 0}.instructions p{font-size:14px;color:var(--muted);line-height:1.6;margin:0}.instructions strong{color:var(--text);font-weight:500}.key{border:1px solid #475637;border-radius:9px;color:var(--lime);padding:9px;font-size:12px}.key.hazard{border-color:#63433c;color:var(--danger)}.key.spark{color:var(--cyan);border-color:#345456}.desktop-note{color:var(--muted);font-size:13px;line-height:1.7;margin-top:32px}.scorebar{display:flex;justify-content:space-between;align-items:start;padding:0 16px 14px}.scorebar .label{font-size:11px;letter-spacing:1.5px}.scorebar strong{display:block;font-size:38px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-1.5px;margin-top:5px}.scorebar .timecell{text-align:center}.scorebar .timecell strong{font-size:25px;margin-top:12px;color:var(--muted)}.timecell strong span{font-size:15px;margin-left:3px}.bestcell{text-align:right}.bestcell strong{color:var(--lime)}.arena{position:relative;width:100%;aspect-ratio:1;border:1px solid #263349;border-radius:50%;background:radial-gradient(circle,#18283a 0,#101d30 38%,#0c1523 70%);overflow:hidden;isolation:isolate}canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:1}.center-readout{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.center-readout>span{font-size:11px;letter-spacing:2px;color:var(--muted)}.center-readout strong{font-size:clamp(20px,3vw,39px);letter-spacing:3px;font-weight:400;margin:10px 0}.center-readout #combo{font-size:10px;letter-spacing:1px;color:var(--cyan)}.overlay{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:#09111be8;backdrop-filter:blur(5px)}.overlay[hidden]{display:none}.overlay-box{text-align:center;width:85%;max-width:320px}.overlay h2{font-size:clamp(23px,2.8vw,36px);font-weight:400;line-height:1.13;letter-spacing:-1px;margin:15px 0}.overlay p{font-size:14px;color:var(--muted);line-height:1.6;margin:12px 0 20px}.overlay .eyebrow{font-size:10px;color:var(--cyan)}.primary{display:flex;justify-content:space-between;align-items:center;background:var(--lime);color:#152006;border:0;font-weight:700;width:100%;padding:15px 20px;border-radius:12px}.primary:hover:not(:disabled){background:#e4ff98}.primary span{font-size:24px}.secondary{border:0;color:var(--muted);font-size:14px;margin-top:7px}.switch-button{display:flex;justify-content:center;align-items:center;gap:18px;width:100%;margin-top:22px;min-height:55px;border-radius:14px;background:#142133;letter-spacing:2px;font-size:13px;font-weight:600}.switch-button>span{font-size:25px;color:var(--lime)}kbd{font-size:10px;letter-spacing:1px;color:var(--muted);border:1px solid #3a4960;border-radius:4px;padding:4px}.hint{text-align:center;font-size:12px;color:var(--muted);min-height:30px;line-height:1.5}.journal{align-self:center}.record{margin-top:25px}.record>span{font-size:25px;letter-spacing:-.5px}.record p{font-size:14px;line-height:1.6;color:var(--muted)}.rank-track{background:var(--line);height:3px;border-radius:3px;margin:22px 0 12px}.rank-track div{height:3px;background:var(--lime);width:0}.record small,.session small{color:var(--muted);font-size:12px;line-height:1.6}.logstats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-top:25px}.logstats>div{display:flex;justify-content:space-between;gap:12px;margin:12px 0;font-size:13px;color:var(--muted)}.logstats strong{color:var(--text)}.legend{margin:25px 0;display:grid;gap:16px;font-size:13px;color:var(--muted)}.legend>div{display:flex;gap:13px;align-items:center}.legend i{display:inline-block;width:12px;height:12px}.orb{border-radius:50%;background:var(--lime);box-shadow:0 0 10px #d8ff6240}.diamond{background:var(--cyan);transform:rotate(45deg);width:9px!important;height:9px!important;margin:1.5px}.barrier{border:1px solid var(--danger);background:repeating-linear-gradient(45deg,transparent 0 2px,var(--danger) 2px 3px);border-radius:2px}.session{margin-top:38px}.session p{margin:7px 0 10px;font-size:18px}footer{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding-top:10px;font-size:12px;color:var(--muted)}footer>span:first-child{font-size:10px;letter-spacing:2px;margin-right:auto}footer button{border:0;padding:6px;font-size:12px}.version{font-size:11px}
@media(min-width:1700px){.game-layout{min-height:780px}}
@media(max-width:1100px){.game-layout{grid-template-columns:1fr minmax(300px,560px);gap:28px}.journal{display:none}h1{font-size:52px}}
@media(max-width:720px){.shell{padding-inline:16px}header{padding-bottom:10px}.brand{font-size:14px;letter-spacing:1px}.brandmark{font-size:27px;margin-right:5px}.utilities{gap:5px}.utilities button{font-size:12px;padding:8px}.game-layout{display:block;min-height:0;padding:20px 0 0}.intro{display:none}.arena-column{max-width:480px;margin:auto}.scorebar{padding:0 8px 14px}.scorebar strong{font-size:32px}.scorebar .label{font-size:10px}.switch-button{margin-top:16px}.hint{margin-bottom:8px}.overlay h2{font-size:29px;margin:10px 0}.overlay p{font-size:14px}.overlay-box{max-width:260px}.overlay .primary{padding:10px 18px;min-height:48px}footer{gap:14px}footer>span:first-child{display:none}footer .version{margin-left:auto}kbd{display:none}#effects{max-width:70px;line-height:1.2}}
@media(max-width:360px){.brand .light{display:none}.overlay h2{font-size:24px}.overlay p{font-size:12px;margin:8px 0}.overlay .eyebrow{font-size:9px}.overlay .secondary{margin:0;min-height:40px}.scorebar .label{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.overlay-box{max-height:85%;overflow-y:auto;scrollbar-width:thin}.overlay-box .primary{flex-shrink:0}
.phasebar{display:flex;justify-content:space-between;gap:8px;margin:0 16px 12px;font-size:12px;letter-spacing:1px;color:var(--cyan)}.phasebar span:first-child{color:var(--lime);font-weight:bold}.result-actions{display:flex;justify-content:center;gap:10px;margin-top:12px}.result-actions button{font-size:13px}.sync-note{text-align:center;font-size:12px;color:var(--cyan);min-height:18px}.hub{max-width:1000px;margin:26px auto 60px}.hub[hidden],.hub [hidden],[hidden]{display:none!important}.hub-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.hub h2{font-size:32px;font-weight:500;letter-spacing:-1px}.hub h3{font-size:20px;font-weight:500}.hub p{color:var(--muted);line-height:1.6}.hub-head button{white-space:nowrap}.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.shop-card{border:1px solid var(--line);background:#111c2c;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:12px}.shop-card h4{font-size:22px;margin:0;font-weight:500}.shop-card p{font-size:14px;margin:0;flex:1}.shop-card .sample{display:flex;align-items:center;gap:16px;min-height:56px}.sample i{width:30px;height:30px;border-radius:50%;background:var(--sample);box-shadow:0 0 25px color-mix(in srgb,var(--sample) 30%,transparent)}.sample b{font-size:14px;color:var(--muted);font-weight:400}.shop-card button{font-size:14px}.shop-card .buy{color:var(--lime)}.shop-section{margin:35px 0}.shop-footnote{font-size:13px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:420px}th,td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line);font-size:14px}th{color:var(--muted);font-weight:500}td:first-child{color:var(--lime)}input{background:#111c2c;border:1px solid var(--line);border-radius:9px;padding:12px;color:var(--text);font:inherit;max-width:100%;min-height:44px}#profileForm{max-width:500px;display:grid;gap:16px}#profileForm a{font-size:14px;color:var(--muted)}.signin{display:inline-flex;width:auto;max-width:100%;padding:16px;margin:12px 0}.account-options{margin-top:40px;display:flex;gap:12px;flex-wrap:wrap}.account-options p{width:100%;font-size:13px}.slow-symbol{color:#90e8ff}.boost-symbol{color:#ffcc7c}.legend b{font-size:18px;width:12px}#shareFallback{width:100%;font-size:13px}.shop-intro{font-size:18px}#recordCard{border-left:3px solid var(--lime);padding:12px 18px}.game-layout[hidden]{display:none!important}
@media(max-width:720px){header{flex-wrap:wrap}.utilities{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.utilities button{min-height:40px}#effects{max-width:none}.brand{font-size:14px}.hub-head h2{font-size:25px}.shop-grid{grid-template-columns:1fr}.shop-card{padding:20px}.phasebar{margin-inline:8px;font-size:11px}.game-layout{padding-top:18px}}
