:root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;background:#080b15;color:#ecf2ff}*{box-sizing:border-box}body{margin:0;min-width:280px}a{color:inherit;text-decoration:none}button,select,input{font:inherit}button{color:inherit;border:1px solid #344155;background:#151e30;border-radius:6px;padding:10px 14px;cursor:pointer}button:hover{border-color:#58f3ed;background:#1c2b3d}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #58f3ed;outline-offset:3px}[hidden]{display:none!important}header{height:70px;border-bottom:1px solid #243044;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1480px)/2));color:#9eabc0;font-size:13px}.brand{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:900;color:#fff}.brand span{color:#f9dc48;margin-left:-9px}main{max-width:1530px;margin:auto;padding:26px 25px 50px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.eyebrow{color:#58f3ed;letter-spacing:.16em;font-size:10px;font-weight:700}h1{font-size:38px;letter-spacing:-.04em;margin:6px 0 0}em{font-style:normal;color:#58f3ed}.heading p{color:#8193ad;font-size:13px}.machine{border:1px solid #34445c;border-radius:12px;overflow:hidden;background:#080f20;display:flex;flex-direction:column;box-shadow:0 18px 65px #0005}.toolbar{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:7px 14px;background:#101727;gap:12px;flex-shrink:0}.toolbar>span{color:#99aec7;font-size:10px;letter-spacing:.15em}.toolbar>div{display:flex;gap:7px}.toolbar button{font-size:11px;padding:7px 11px}.stage{position:relative;width:100%;height:clamp(480px,calc(100dvh - 260px),650px);min-height:480px;overflow:hidden;background:#070e23;touch-action:pan-y}#game{position:absolute;inset:0;width:100%;height:100%;outline:none;touch-action:none}.hud{position:absolute;left:25px;right:25px;top:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;font-size:10px;font-weight:700;letter-spacing:.13em;color:#8fa8c8}.hud strong{font-size:22px;color:#edffff;letter-spacing:-.04em}.progress{height:2px;position:absolute;top:0;left:0;right:0;background:#192840;pointer-events:none}.progress i{display:block;height:100%;background:#58f3ed;width:0}.input-hint{position:absolute;bottom:24px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:.12em;color:#91a7c1;pointer-events:none}.input-hint span{color:#58f3ed;margin:0 12px}.checkpoint-note{position:absolute;top:66px;width:100%;text-align:center;font-size:11px;color:#a5ffdd;pointer-events:none}.race-progress{position:absolute;top:70px;left:15%;width:70%;height:3px;background:#55627c;pointer-events:none}.race-progress i{position:absolute;width:9px;height:9px;border-radius:50%;top:-3px}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#070d1ae6;backdrop-filter:blur(5px);padding:32px}.menu{gap:38px;background:linear-gradient(90deg,#070c1bf2,#0a1225e8)}.menu-heading{width:32%;max-width:400px}.menu-heading h2{font-size:clamp(48px,6vw,84px);line-height:.88;letter-spacing:-.06em;margin:25px 0;font-weight:900}.menu-heading h2 em{display:block}.menu-heading p{font-size:13px;line-height:1.8;color:#8297b4}.menu-body{width:62%;max-width:750px}.tabs{display:flex;border-bottom:1px solid #2b3b52;gap:8px;margin-bottom:18px}.tabs button{border:0;background:none;border-radius:0;padding:12px 15px;font-size:13px;color:#8fa1bc;border-bottom:2px solid transparent}.tabs button[aria-pressed=true]{color:#58f3ed;border-bottom-color:#58f3ed}.worlds{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:17px}.worlds button{text-align:left;font-size:11px;line-height:1.4;padding:12px 10px;background:#111d31}.worlds small{display:block;font-size:8px;letter-spacing:.12em;color:#8099b8;margin-bottom:6px}.worlds button[aria-pressed=true]{border-color:#58f3ed;background:#58f3ed0d}.level-grid{display:grid;grid-template-columns:repeat(11,1fr);gap:6px;min-height:44px;margin-bottom:16px}.level-grid button{padding:9px 0;min-width:0;font-size:12px;position:relative}.level-grid button[aria-pressed=true]{background:#58f3ed;color:#07181c;border-color:#58f3ed;font-weight:900}.level-grid button.complete::after{content:'✓';position:absolute;right:2px;top:1px;font-size:8px;color:#58f3ed}.level-grid button.complete[aria-pressed=true]::after{color:#083332}.selection{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #25364d;background:#0c192b99;padding:17px;margin-bottom:16px;min-height:88px}.selection strong{font-size:16px}.selection p{font-size:11px;color:#8eabc2;line-height:1.6;margin:7px 0 0}.selection>span{font-size:9px;letter-spacing:.08em;color:#58f3ed;white-space:nowrap}.launch-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice{font-size:11px;color:#a6b7cf;display:flex;align-items:center;gap:7px}.practice input{accent-color:#58f3ed;width:17px;height:17px}.practice span{color:#6f8bab}.primary{font-weight:900;letter-spacing:.08em;color:#06212a;background:#58f3ed;border-color:#58f3ed;padding:15px 23px;font-size:11px}.primary:hover{background:#a4fff7;color:#06212a}.customize{display:flex;align-items:center;gap:8px;margin-top:20px}.customize>span{font-size:8px;letter-spacing:.1em;color:#7890ab;margin-right:8px}.customize button{width:30px;height:28px;padding:0;color:#58f3ed}.customize button[data-color]{width:18px;height:18px;border-radius:50%;background:var(--swatch);margin-left:3px;border:3px solid #0e1a2c}.customize button[aria-pressed=true]{outline:1px solid #93a8c4;outline-offset:3px}.result-panel{max-width:520px;text-align:center;width:100%}.result-panel h2{font-size:clamp(64px,10vw,115px);letter-spacing:-.07em;margin:22px 0 18px;line-height:.9}.result-panel h2 span{font-size:.45em;color:#58f3ed}.result-panel p{font-size:14px;line-height:1.7;color:#99aec7}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 0 20px}.result-panel small{font-size:10px;color:#71849e}.result-panel>button{margin:5px}.settings{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(340px,90%);background:#101e33;border:1px solid #446482;box-shadow:0 0 0 200vmax #020816c9;z-index:6;padding:28px;border-radius:10px}.settings h2{margin-top:0}.settings select{display:block;width:100%;padding:12px;margin:12px 0;background:#0a1424;border:1px solid #475b78;color:#fff}.settings p{font-size:12px;color:#a0b4cd;line-height:1.7}.guide{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;margin-top:35px}.guide h2{font-size:23px;line-height:1.25}.guide h3{font-size:15px;margin-top:3px}.guide p{font-size:12px;line-height:1.85;color:#899cb7}footer{display:flex;justify-content:space-between;padding:24px;color:#6f839e;border-top:1px solid #243044;font-size:10px;letter-spacing:.08em}.machine:fullscreen,.machine.expanded{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none}.machine.expanded{position:fixed;inset:0;z-index:1000}.machine:fullscreen .stage,.machine.expanded .stage{flex:1 1 0;width:100%;height:0;min-height:0}.machine:fullscreen .toolbar,.machine.expanded .toolbar{padding-top:max(7px,env(safe-area-inset-top))}body.expanded{overflow:hidden}
@media(max-width:850px){.menu{gap:20px;padding:24px}.menu-heading{width:27%}.menu-heading h2{font-size:49px}.menu-body{width:70%}.level-grid{gap:4px}.heading p{display:none}.guide{gap:22px}.worlds button{font-size:10px}}
@media(max-width:600px){header{height:58px;padding:0 16px}.brand{font-size:17px}.brand img{width:24px;height:24px}main{padding:18px 10px 30px}.heading{padding:0 4px;margin-bottom:15px}h1{font-size:30px}.toolbar{padding:7px;gap:6px}.toolbar>span{font-size:8px;letter-spacing:0}.toolbar button{font-size:9px;padding:7px}.stage{height:660px;min-height:480px}.hud{left:15px;right:15px;font-size:8px;letter-spacing:.05em}.hud strong{font-size:20px}.menu{flex-direction:column;gap:0;align-items:stretch;padding:25px 18px;overflow:auto;justify-content:center}.menu-heading{width:100%;max-width:none}.menu-heading h2{font-size:42px;line-height:1;margin:10px 0 17px}.menu-heading h2 em{display:inline}.menu-heading>p{display:none}.menu-body{width:100%;max-width:none}.worlds button{font-size:10px;padding:10px 7px}.worlds small{font-size:7px}.tabs{margin-bottom:13px}.tabs button{font-size:12px;padding:11px 12px}.level-grid{grid-template-columns:repeat(6,1fr);gap:6px}.level-grid button{padding:8px 0}.selection{padding:12px;min-height:78px;margin-bottom:13px}.selection strong{font-size:14px}.selection>span{font-size:8px}.selection p{font-size:10px}.launch-row{gap:8px}.primary{padding:14px 13px;font-size:10px}.practice{font-size:10px}.customize{margin-top:17px;gap:7px}.customize>span{font-size:7px}.input-hint{font-size:8px;letter-spacing:0}.guide{grid-template-columns:1fr;gap:10px;margin:24px 7px 0}.guide h2{margin:10px 0}.guide p{font-size:13px}.overlay:not(.menu){padding:22px}.result-panel h2{font-size:75px}.machine.expanded .stage,.machine:fullscreen .stage{min-height:0}}
@media(max-height:520px){.machine.expanded .menu,.machine:fullscreen .menu{flex-direction:row;gap:18px;padding:15px 25px;overflow:auto;align-items:flex-start}.machine.expanded .menu-heading,.machine:fullscreen .menu-heading{width:27%}.machine.expanded .menu-heading h2,.machine:fullscreen .menu-heading h2{font-size:44px}.machine.expanded .menu-heading h2 em,.machine:fullscreen .menu-heading h2 em{display:block}.machine.expanded .menu-body,.machine:fullscreen .menu-body{width:70%}.machine.expanded .level-grid,.machine:fullscreen .level-grid{grid-template-columns:repeat(11,1fr)}.menu-heading p{display:none}.tabs{margin-bottom:10px}.worlds{margin-bottom:10px}.worlds button{padding:7px}.selection{min-height:58px;margin-bottom:9px;padding:10px}.customize{margin-top:13px}.hud{top:15px}.input-hint{bottom:12px}}
