@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--lime:#d3ff6a;--muted:#7e8a94;--line:#26313a}*{box-sizing:border-box}body{margin:0;background:#090f15;color:#f2f4ef;font-family:'Noto Sans SC',Arial,sans-serif}.shell{max-width:1480px;margin:auto;padding:0 5%}header{height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:800;letter-spacing:2px;color:inherit;text-decoration:none}.brand-icon{font-size:30px;color:var(--lime)}.tag{font-size:10px;font-weight:400;letter-spacing:1px;border-left:1px solid #34414b;padding-left:16px;margin-left:10px;color:#85919b}.header-right{display:flex;align-items:center;gap:9px;font-size:11px;color:#a5b0b8}.live-dot{display:inline-block;width:5px;height:5px;border-radius:100%;background:var(--lime);box-shadow:0 0 12px #d3ff6a60}.icon-button{background:none;color:#a5b0b8;border:1px solid var(--line);border-radius:4px;padding:8px 12px;font-size:10px;margin-left:20px;cursor:pointer}.intro{display:flex;justify-content:space-between;align-items:end;padding:38px 0 30px}.eyebrow{font-size:10px;letter-spacing:2.6px;color:var(--lime);font-weight:600}h1{font-size:clamp(27px,3vw,42px);letter-spacing:1px;margin:10px 0 10px;line-height:1.4}h1 span{color:var(--lime)}.intro p{margin:0;font-size:12px;color:#8e9aa4}.edition{font-size:10px;letter-spacing:1.5px;color:#b0bcc6;text-align:right;line-height:2}.edition span{display:block;color:#697783;font-size:10px;letter-spacing:1px}.game{height:min(59vw,580px);min-height:440px;position:relative;overflow:hidden;border:1px solid #35434b;border-radius:8px;background:#786e63}canvas{width:100%;height:100%;display:block}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#06121e55,transparent 22%,transparent 65%,#060d17df)}.top-hud{position:absolute;top:25px;left:28px;right:28px;display:flex;justify-content:space-between;font-family:Arial,sans-serif;font-size:10px;letter-spacing:1.2px}.location .live-dot{margin-right:8px}.location small{display:block;color:#d2d7d4;font-size:8px;margin-top:9px;letter-spacing:1.5px;opacity:.6}.record{font-family:'Noto Sans SC',sans-serif;color:#d5d9d6;font-size:9px;letter-spacing:1px}.record strong{margin-left:12px;font-family:'Barlow Condensed',Arial,sans-serif;font-size:24px;color:white}.record>span{font-size:8px}.bottom-hud{position:absolute;bottom:30px;left:30px;right:30px;display:flex;align-items:end;justify-content:space-between;gap:20px;pointer-events:none}.speed strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:68px;font-weight:600;line-height:.95;letter-spacing:1px;font-variant-numeric:tabular-nums}.speed div>span{font-size:9px;color:#a3afbb;margin-left:9px}.hud-caption{font-size:8px;letter-spacing:1.3px;color:#93a3af;display:block;margin-top:12px}.hud-caption b{font-weight:400;color:var(--lime);margin-left:15px}.flight{width:210px}.flight-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px}.flight-label strong{font-weight:400;color:var(--lime)}.energy-track{height:4px;background:#ffffff25;margin-top:12px;overflow:hidden}.energy-track i{display:block;width:100%;height:100%;background:var(--lime);box-shadow:0 0 10px var(--lime)}.flight .hud-caption{font-size:8px;letter-spacing:0}.distance{text-align:right}.distance>strong{display:block;font-family:'Barlow Condensed',Arial,sans-serif;font-size:36px;font-weight:500;margin-top:3px;font-variant-numeric:tabular-nums}.distance strong span{font-family:Arial,sans-serif;font-size:10px;color:#9ca8b0}.integrity{display:flex;gap:5px;justify-content:end;margin-top:7px}.integrity i{width:20px;height:3px;background:var(--lime)}.integrity i.lost{background:#ff765b55}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#09132142;backdrop-filter:blur(2px);z-index:3}.overlay[hidden]{display:none}.overlay-content{text-align:center;padding-bottom:30px}.overlay .eyebrow{font-size:9px;letter-spacing:3px}h2{font-size:clamp(32px,5vw,62px);font-weight:800;letter-spacing:3px;margin:12px 0 14px;text-shadow:0 3px 30px #0005}.overlay p{font-size:12px;color:#edf0e9;line-height:2;margin-bottom:26px}.primary{background:var(--lime);color:#182113;border:0;border-radius:3px;font-size:12px;font-weight:700;padding:15px 24px;min-width:174px;cursor:pointer;box-shadow:0 3px 25px #1113}.primary span{margin-left:35px}.primary:hover{background:#e0ff96;transform:translateY(-1px)}.start-hint{font-size:8px;color:#d6dfdc90;letter-spacing:1px;margin-top:16px}.pause{position:absolute;right:28px;top:76px;color:#e8eddf;border:1px solid #fff4;border-radius:3px;background:#0e172844;width:30px;height:30px;cursor:pointer}.toast{position:absolute;top:100px;left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:2px;color:var(--lime);text-shadow:0 2px 10px #000;white-space:nowrap}.instructions{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:26px 0;gap:20px}.instructions>div{display:flex;align-items:center;gap:16px}.instructions>div+div{border-left:1px solid var(--line);padding-left:28px}.number{color:#55636f;font-family:'Barlow Condensed',Arial,sans-serif;font-size:24px}.instructions p{margin:0}.instructions strong{display:block;font-size:11px;font-weight:500;margin-bottom:8px}.instructions p>span{font-size:9px;color:#85939f}kbd{font-family:Arial,sans-serif;display:inline-block;border:1px solid #3e4a54;padding:2px 4px;min-width:18px;text-align:center;border-radius:3px;font-size:9px;color:#bdc9d2}footer{display:flex;justify-content:space-between;font-size:8px;color:#596a77;letter-spacing:.5px;padding:20px 0 24px}.touch-controls{display:none}button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:4px}@media(max-width:700px){.shell{padding:0 5%}header{height:65px}.brand{font-size:12px;gap:6px;letter-spacing:1px}.tag,.edition,.header-right>.live-dot{display:none}.header-right{font-size:9px}.icon-button{margin-left:0;padding:5px;font-size:8px}.intro{padding:25px 0 22px}.eyebrow{font-size:8px;letter-spacing:1.5px}.intro p{font-size:10px}.game{height:65vh;min-height:430px;max-height:640px}.top-hud{top:18px;left:17px;right:17px;font-size:8px}.location small{font-size:7px}.record{font-size:8px}.record strong{font-size:20px;margin-left:5px}.bottom-hud{bottom:92px;left:18px;right:18px;gap:12px}.speed strong{font-size:46px}.speed div>span{font-size:7px;margin-left:4px}.hud-caption{font-size:6px;letter-spacing:.3px}.flight{width:110px}.flight-label{font-size:8px}.flight .hud-caption{font-size:7px}.distance>strong{font-size:27px}.instructions{gap:12px;padding:20px 0}.instructions>div{gap:7px;align-items:start}.instructions>div+div{padding-left:10px}.number{font-size:18px}.instructions strong{font-size:10px}.instructions p>span{font-size:8px;line-height:2}kbd{font-size:8px;min-width:13px;padding:1px 2px}footer{line-height:1.8;font-size:7px}footer>span:last-child{display:none}.touch-controls{position:absolute;bottom:17px;left:17px;right:17px;display:flex;gap:10px;z-index:2}.touch-controls button{width:47px;height:47px;border-radius:6px;border:1px solid #fff4;background:#13202e99;color:white;font-size:20px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-controls .touch-fly{margin-left:auto;width:80px;font-size:12px;color:var(--lime);border-color:#d3ff6a77}.pause{right:17px}.overlay-content{padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.primary:hover{transform:none}}
.trick-hud{position:absolute;top:25px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:center;max-width:310px;font-size:8px;letter-spacing:1px;color:#c4d3d8}.trick-hud strong{font-family:Barlow Condensed,Arial,sans-serif;font-size:23px;color:#e3ffb5;margin-left:7px}.trick-hud small{width:100%;text-align:center;font-size:8px;color:#a9bdc7;margin-top:-12px}.touch-controls .touch-flip{font-size:11px;color:#d3ff6a}.toast{top:115px}@media(max-width:700px){.trick-hud{top:74px;gap:12px;max-width:230px;width:230px}.trick-hud strong{font-size:19px}.toast{top:132px;font-size:10px;letter-spacing:1px}.touch-controls{gap:7px}.touch-controls button{width:42px}.touch-controls .touch-fly{width:65px;margin-left:auto}.touch-controls .touch-flip{width:45px}}

.route-select{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}.route-select button{text-align:left;border:1px solid #2b3943;border-radius:5px;background:#101922;color:#dce6e6;padding:14px 18px;cursor:pointer}.route-select button[aria-pressed=true]{border-color:#b9ec68;background:#d3ff6a0b}.route-select button>span{display:block;color:#7f919f;font-size:8px;letter-spacing:1.5px}.route-select strong{display:block;font-size:14px;margin:6px 0}.route-select small{font-size:9px;color:#9fb38d}.mission-hud{position:absolute;top:77px;left:28px;right:78px;max-width:480px;padding:10px 13px;background:#091522a8;border:1px solid #b2d4df22;border-radius:4px;font-size:10px;pointer-events:none}.mission-hud>div:first-child{display:flex;justify-content:space-between;gap:15px}.mission-hud strong{font-size:10px;font-weight:500;color:#e6f2df}.mission-hud span{font-family:Arial,sans-serif;font-size:10px;color:#d3ff6a}.mission-hud p{color:#a7bac7;font-size:9px;margin:7px 0 9px;line-height:1.6}.mission-track{height:2px;background:#ffffff20}.mission-track i{display:block;height:100%;background:#d3ff6a;width:0}.toast{top:163px;font-size:10px;max-width:95%;text-align:center;white-space:normal}.nitro-track i{background:#6bd5ff;box-shadow:0 0 10px #6bd5ff}.flight-label.propulsion-label{margin-top:12px}.energy-track{margin-top:7px}.touch-controls .touch-nitro{color:#6bd5ff}.overlay-content{padding-top:80px}.overlay p{font-size:11px;max-width:560px;padding:0 25px}.overlay h2{font-size:clamp(28px,4vw,50px)}.start-hint{max-width:90%;margin:15px auto}.touch-controls .touch-hover{font-size:11px;color:#a6ebff}
@media(max-width:700px){.route-select{grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:12px}.route-select button{padding:10px 12px}.route-select strong{font-size:12px;margin:4px 0}.route-select small{font-size:8px}.route-select button>span{font-size:7px}.intro p{line-height:1.8;max-width:310px}.trick-hud{top:56px;gap:12px}.trick-hud small{display:none}.mission-hud{top:99px;left:15px;right:15px;padding:8px 10px;max-width:none}.mission-hud p{font-size:8px}.toast{top:185px;font-size:9px;letter-spacing:0;width:92%}.pause{top:52px;width:27px;height:27px}.location{font-size:7px}.record strong{font-size:18px}.game{min-height:540px;height:75vh;max-height:700px}.overlay-content{padding-top:140px;padding-bottom:85px}.overlay h2{margin-top:8px;font-size:30px}.overlay p{font-size:10px;padding:0 18px;margin-bottom:18px}.overlay .eyebrow{font-size:7px}.flight{width:115px}.flight-label{font-size:7px}.flight .hud-caption{font-size:6px}.bottom-hud{left:14px;right:14px;gap:8px;bottom:84px}.speed strong{font-size:40px}.distance>strong{font-size:26px}.touch-controls{left:12px;right:12px;gap:5px;justify-content:space-between}.touch-controls button,.touch-controls .touch-flip,.touch-controls .touch-fly{width:auto;flex:1;min-width:0;height:43px;font-size:14px;margin:0}.touch-controls .touch-flip,.touch-controls .touch-hover,.touch-controls .touch-fly{font-size:10px}.instructions{grid-template-columns:1fr;gap:13px}.instructions>div+div{border-left:0;padding-left:0}.instructions p>span{font-size:9px}.instructions strong{margin-bottom:4px}}
