:root{--ink:#163e46;--cream:#f5f0dd;--orange:#ef7537;--yellow:#ffcf65;--muted:#7c8b80;--line:#d3d6c6;--navy:#122b3c;--paper:#fff8e7}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--navy);-webkit-user-select:none;user-select:none;overscroll-behavior:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f4b543;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}#app{height:100dvh;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}header{flex:0 0 62px;display:flex;align-items:center;justify-content:space-between;padding:0 3%;background:var(--cream);border-bottom:1px solid #d6d8c7;z-index:2}.logo{display:flex;align-items:center;gap:10px;background:transparent;border:0;text-align:left;font-weight:900;font-size:20px;letter-spacing:-.5px;line-height:1}.logo-arrow{font-size:35px;color:var(--cream);background:var(--ink);border-radius:8px;width:37px;height:37px;text-align:center;transform:rotate(-5deg)}.logo .to{color:var(--orange);font-size:12px;padding:0 2px}.logo small{font-size:7px;letter-spacing:2.2px;display:block;margin-top:6px}.top-actions{display:flex;gap:14px;align-items:center}.quiet{background:transparent;border:0;font-size:11px;font-weight:800;letter-spacing:1px;padding:9px}.save-label{font-size:9px;letter-spacing:1px;color:#718b70}.wallet{display:flex;align-items:center;gap:8px;background:#e8e5d2;border:1px solid #dcdcc9;padding:8px 15px;border-radius:25px;font-size:17px}.wallet i{display:grid;place-items:center;font-style:normal;width:22px;height:22px;color:#9a6c26;background:#f7ce65;border:2px solid #d2a54b;border-radius:50%}.round{width:34px;height:34px;background:#fff7e83b;border:1px solid #9ba99a60;border-radius:50%;font-size:19px;display:grid;place-items:center;flex-shrink:0}
#world{position:relative;flex:1;min-height:0;overflow:hidden;background:#74c8d5;touch-action:none}canvas{width:100%;height:100%;display:block}.vignette{position:absolute;inset:0;box-shadow:inset 0 0 85px #193e3920;pointer-events:none}#yard-copy{position:absolute;top:7%;left:3.5%;pointer-events:none;max-width:340px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;display:block}.dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:var(--orange);margin-right:7px}h1{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(34px,3.8vw,62px);line-height:.96;letter-spacing:.2px;margin:15px 0 10px;text-shadow:0 2px #fff6d450}h1 em{color:#e96832;font-style:normal}#yard-subtitle{font-size:13px;margin:0 0 22px;color:#3e6769}.vehicle-label{background:#fff6dcdf;border:1px solid #fff5dc;border-left:4px solid var(--orange);border-radius:0 7px 7px 0;padding:13px 16px;width:max-content;max-width:100%;box-shadow:0 5px 14px #153b3a10}.vehicle-label>small{font-size:8px;letter-spacing:1px;color:#768573;font-weight:700}.vehicle-label h2{font-size:21px;margin:7px 0 10px}.build-stats{display:flex;gap:17px}.build-stats span{font-size:9px;color:#758779}.build-stats b{font-size:14px;display:block;margin-bottom:3px;color:var(--ink)}.objective{position:absolute;right:3.5%;top:7%;width:220px;background:#fff8e7e8;border:1px solid #fffdf2;border-radius:8px;padding:18px;text-align:left;box-shadow:0 8px 30px #1b504513}.objective .eyebrow{font-size:9px;color:#728774}.objective-title{display:block;font-size:16px;font-weight:800;line-height:1.25;margin:10px 0 12px}.progress-track{background:#d7ddc8;height:6px;border-radius:4px;overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:var(--orange);max-width:100%}.objective-meta{display:block;font-size:11px;color:#71816d;margin-top:8px}.objective-record{display:block;padding-top:13px;margin-top:13px;border-top:1px solid var(--line);font-size:10px;font-weight:800}.workshop-note{position:absolute;left:3.5%;bottom:14px;font-size:9px;letter-spacing:1.5px;font-weight:800;color:#fff4cd;text-shadow:0 1px #4f664a}
#garage{background:var(--cream);flex:0 0 auto;padding:0 3%;border-top:2px solid #fff4d9;z-index:2}.garage-nav{display:flex;justify-content:space-between;align-items:center;height:43px;border-bottom:1px solid var(--line)}.garage-nav>div{display:flex;gap:25px;height:100%}.garage-nav button[role=tab]{padding:0 1px;background:none;border:0;border-bottom:3px solid transparent;font-size:11px;color:#8c9584;letter-spacing:.7px}.garage-nav button b{margin-left:7px}.garage-nav button.active{color:var(--ink);border-bottom-color:var(--orange)}#garage-tip{font-size:11px;font-style:italic;color:#83907c}.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:10px 0}.part{border:1px solid #d4d8c5;background:linear-gradient(145deg,#fff9e7,#e7e9d8);border-radius:7px;padding:9px 11px;position:relative;text-align:left;min-width:0;transition:transform .12s,border-color .12s;box-shadow:0 2px 0 #d2d7c466}.part:hover{transform:translateY(-3px);border-color:var(--orange)}.part .label{font-size:8px;letter-spacing:1.3px;color:#7a8b76;font-weight:800;display:flex;justify-content:space-between}.part .label i{font-style:normal;color:#d57b37}.part .icon{display:block;height:36px;text-align:center;margin:1px 0}.icon svg{height:100%;width:82px;max-width:100%}.part b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}.part .swap{position:absolute;right:9px;top:36px;color:#97a083;font-size:17px}.part .part-effect{font-size:9px;color:#74836f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.launch-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 0 11px;border-top:1px solid var(--line);min-height:63px}.launch-message{display:flex;align-items:center;gap:4px;margin-right:auto;min-width:0}.launch-message .dot{background:#5d9b6c;flex-shrink:0}.launch-message b{font-size:10px;letter-spacing:.7px;display:block}.launch-message small{font-size:11px;color:#7c8c76;display:block;margin-top:5px}.primary{background:linear-gradient(#fa8a45,#eb682f);color:#fff8df;border:1px solid #bd522b;border-bottom:4px solid #b54825;border-radius:6px;padding:13px 24px;font-size:16px;font-weight:900;letter-spacing:1px;box-shadow:0 4px 10px #a9542420;white-space:nowrap}.primary span{margin-left:35px;font-size:22px;line-height:0}.primary:hover{filter:brightness(1.08)}.primary:active{transform:translateY(2px);border-bottom-width:2px}.secondary{border:1px solid #a8b8a2;color:var(--ink);background:#f6f3df;border-radius:5px;padding:13px 16px;font-size:11px;font-weight:800}.upgrades{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:9px 0;max-height:158px;overflow:auto}.upgrade{display:flex;gap:6px;align-items:center;justify-content:space-between;text-align:left;background:#eeefdf;border:1px solid #d0d7c1;padding:8px 10px;border-radius:5px}.upgrade strong{font-size:11px;display:block}.upgrade small{font-size:9px;display:block;color:#7d8b75;margin-top:3px}.upgrade .price{font-size:12px;font-weight:800;color:#cf692f;white-space:nowrap}.pips{display:flex;gap:3px;margin-top:5px}.pips i{width:12px;height:3px;background:#cad3bc}.pips i.on{background:var(--orange)}
body.flying #garage,body.flying #yard-copy,body.flying .objective,body.flying .workshop-note{display:none}body.flying #world{flex:1}#hud{position:absolute;inset:0;pointer-events:none;color:#153d46}.hud-top{position:absolute;top:20px;left:3%;right:3%;display:flex;justify-content:space-between;align-items:start}.gauges{display:flex;gap:25px;background:#fff8e7dc;border:1px solid #fff8ed;border-radius:8px;padding:13px 18px;box-shadow:0 6px 24px #123b3520;color:#173f46}.gauges small{display:block;font-size:10px;font-weight:800;letter-spacing:1px}.gauges b{display:block;font-size:29px;line-height:1;margin-top:6px;min-width:85px;font-variant-numeric:tabular-nums}.gauges b span{font-size:12px;margin-left:2px}.flight-status{display:flex;gap:10px;align-items:center}.flight-status>span{font-size:10px;letter-spacing:1px;font-weight:800;background:#fff5dcce;padding:10px;border-radius:4px;color:#173f46}.flight-status button{pointer-events:auto;background:#fff8e7e0;color:var(--ink)}#callout{position:absolute;left:50%;top:23%;transform:translateX(-50%) rotate(-3deg);font-family:Impact,'Arial Black',sans-serif;letter-spacing:.8px;font-size:clamp(25px,3vw,45px);color:#fff4c7;-webkit-text-stroke:1px #173e46;text-shadow:2px 3px #173e4690;text-align:center;width:85%;pointer-events:none}#combo{position:absolute;top:36%;left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:1px;font-weight:900;color:#ffd568;text-shadow:1px 2px #153d46}.altimeter{position:absolute;right:3%;top:26%;bottom:150px;width:24px;display:flex;align-items:center;flex-direction:column;gap:8px;color:#fff6dc;text-shadow:0 1px #28434c}.altimeter>span{font-size:29px}.altimeter>div{width:7px;flex:1;max-height:190px;border:1px solid #fff8dc8a;background:#153f4b40;position:relative;border-radius:5px}.altimeter i{position:absolute;bottom:0;width:100%;height:0;background:#ffd36c;border-radius:3px}.altimeter small{font-size:7px;letter-spacing:1px}.hud-bottom{position:absolute;left:3%;right:3%;bottom:22px;display:flex;align-items:flex-end;gap:20px}.flight-resource{width:190px;padding:12px 14px;background:#fff8e7e8;border:1px solid #fff8e7;border-radius:7px;color:var(--ink)}.flight-resource>span{font-size:10px;letter-spacing:1px;font-weight:800;display:block}.flight-resource b{float:right}.fuel-track{height:8px;margin:8px 0;background:#d4dcc4;border-radius:5px;overflow:hidden}.fuel-track i{display:block;height:100%;background:var(--orange);width:100%}.flight-resource small{font-size:10px}.steering{display:flex;gap:7px;align-items:center;margin-right:auto;pointer-events:auto}.steering button{height:49px;width:49px;border:1px solid #fff1ce;background:#fff6dbdb;border-bottom:4px solid #a2ad92;border-radius:7px;font-size:30px;color:var(--ink);touch-action:none}.steering span{font-size:10px;color:#fff6db;font-weight:800;letter-spacing:1px;margin-left:9px;text-shadow:0 1px #173e46}.boost{pointer-events:auto;position:relative;background:linear-gradient(#ffad50,#ef6d31);color:#fff7dc;border:2px solid #ffd78c;border-bottom:5px solid #a54426;border-radius:13px;padding:13px 26px 12px 50px;min-width:160px;box-shadow:0 0 0 4px #f3733420,0 4px 16px #153b3a30;touch-action:none}.boost>span{position:absolute;font-size:40px;left:15px;top:10px;line-height:1}.boost b{font-size:19px;letter-spacing:1px;display:block}.boost small{font-size:9px;letter-spacing:1px}.boost:active,.boost.pressed{background:#ffd06c;transform:translateY(2px);color:#9b4b28}.steering button.pressed{background:#ffd06c}#onboarding{position:absolute;left:50%;bottom:138px;transform:translateX(-50%);background:#fff6dfed;border:1px solid #fffaf0;border-radius:9px;padding:12px 34px 12px 13px;display:flex;align-items:center;gap:13px;box-shadow:0 8px 30px #173e4630;color:var(--ink);pointer-events:auto;max-width:90%;width:325px}.onboarding-key{height:43px;min-width:47px;border:1px solid #aebca3;border-bottom:4px solid #95a68c;border-radius:5px;font-weight:900;font-size:22px;text-align:center;line-height:26px;background:#e9ecd9}.onboarding-key small{display:block;font-size:8px;line-height:10px}#onboarding b{display:block;font-size:12px}#onboarding span{font-size:11px;line-height:1.4;display:block;margin-top:5px}#skip-hint{position:absolute;right:8px;top:5px;background:none;border:0;font-size:21px;padding:3px}#lunar-guide{position:absolute;top:116px;left:50%;transform:translateX(-50%);text-align:center;background:#163849dc;border:1px solid #93b9bd60;border-radius:7px;padding:12px 18px;color:#fff5d9;min-width:300px}#lunar-guide b{display:block;color:#ffd274;font-size:12px;letter-spacing:1px}#lunar-guide span{display:block;font-size:11px;margin-top:6px}.moon #callout{top:38%}.moon .altimeter{display:none}#calibration-badge{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font-size:8px;color:#ffdb89;letter-spacing:1px;background:#173c48b3;padding:3px 9px;border-radius:3px}#qa-meter{position:absolute;bottom:7px;left:7px;display:flex;gap:8px;font-size:9px;color:#e7f0d2;background:#102b3bde;padding:7px;border-radius:4px;pointer-events:none}.flying #qa-meter{top:100px;bottom:auto}.moon #qa-meter{top:190px}
.modal{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:#102c40b8;backdrop-filter:blur(7px)}.modal-card{position:relative;max-width:100%;width:580px;max-height:calc(100dvh - 36px);overflow:auto;background:var(--cream);border:1px solid #fff5d9;border-radius:13px;padding:28px;box-shadow:0 20px 90px #081b3766}.modal-card.wide{width:760px}.close{position:absolute;right:12px;top:9px;font-size:26px;border:0;background:none;padding:4px 8px;color:#728675}.modal-card h2{font-family:Impact,'Arial Black',sans-serif;font-size:38px;letter-spacing:.2px;line-height:1.03;margin:10px 0 13px}.modal-card p{font-size:12px;line-height:1.65;color:#6c8074}.modal-card .primary,.modal-card>.secondary{width:100%;margin-top:11px}.modal-card .eyebrow{color:#8b976f;font-size:9px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{display:flex;gap:10px;align-items:center;text-align:left;background:linear-gradient(140deg,#fff9e9,#e5e9d6);border:1px solid #cdd6bf;border-radius:7px;padding:12px;min-width:0}.choice.selected{border:2px solid var(--orange);padding:11px}.choice .icon{width:60px;height:43px;flex-shrink:0}.choice .choice-text{min-width:0;flex:1}.choice b{display:block;font-size:12px}.choice small{display:block;color:#798773;font-size:10px;line-height:1.4;margin-top:5px}.choice .choice-price{font-size:11px;font-weight:800;color:#cb6c34;margin-top:7px;display:block}.choice.locked{background:#e2e5d5}.choice.locked .icon{opacity:.45}.choice .preview{font-size:9px;color:#426b61}.result-head{display:flex;gap:18px;align-items:center;margin-top:15px}.result-distance{font-family:Impact,'Arial Black',sans-serif;font-size:61px;color:var(--orange);line-height:1}.result-distance small{font-size:17px}.result-bests{font-size:11px;color:#7a8b73;line-height:1.8}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin:18px 0 10px}.result-stats small{display:block;font-size:9px;letter-spacing:.5px;color:#7a8c74}.result-stats b{display:block;font-size:18px;margin-top:6px}.receipt{display:flex;justify-content:space-between;padding:6px 0;font-size:12px}.receipt.total{margin-top:8px;padding-top:12px;border-top:1px solid var(--line);font-size:23px;font-weight:900}.result-tip{padding:10px 12px;background:#e4e9d3;border-radius:5px;font-size:11px;color:#54735d;margin:13px 0 5px;line-height:1.5}.result-buttons{display:flex;gap:10px}.result-buttons>*{flex:1;margin-top:13px}.victory-mark{font-size:55px;background:#173d49;color:#ffd46b;border-radius:50%;width:88px;height:88px;line-height:88px;text-align:center;margin:15px auto;box-shadow:0 0 0 6px #dfd8b5}.victory h2,.victory>.eyebrow{text-align:center}.map-list{display:flex;flex-direction:column;gap:7px;margin:17px 0}.map-stop{display:flex;gap:13px;align-items:center;background:#e8ebd9;border:1px solid #d0d8c0;padding:10px 13px;border-radius:5px}.map-stop.reached{background:#dae8cf;border-color:#a6bd99}.map-stop>span{width:28px;font-size:18px;text-align:center;color:#78916b}.map-stop b{display:block;font-size:12px}.map-stop small{display:block;font-size:10px;color:#7b8d72;margin-top:4px}.map-stop strong{margin-left:auto;font-size:11px;white-space:nowrap}.setting{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;gap:20px}.setting input[type=range]{width:145px;accent-color:var(--orange)}.setting input[type=checkbox]{accent-color:var(--orange);width:20px;height:20px}.setting select{background:#e6ebd8;border:1px solid #b7c5a9;padding:6px;border-radius:4px}.danger{background:none;border:0;color:#ad634e;margin-top:20px;font-size:11px}.help-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.help-cards>div{background:#e6ead5;border:1px solid #ccd5bc;border-radius:6px;padding:15px 12px}.help-cards strong{font-size:26px;display:block;color:var(--orange);margin-bottom:9px}.help-cards b{font-size:12px;display:block}.help-cards p{font-size:11px;margin-bottom:0}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);max-width:90%;background:#173e46;color:#fff4d4;padding:13px 22px;border:1px solid #6f9480;border-radius:7px;opacity:0;pointer-events:none;z-index:15;font-size:12px;transition:.15s;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1000px){header{flex-basis:54px}.logo{font-size:17px}.logo small{font-size:6px}.logo-arrow{height:32px;width:32px;font-size:31px}.top-actions{gap:9px}.save-label{display:none}.quiet{font-size:10px}.wallet{padding:7px 12px;font-size:15px}#yard-copy{top:7%;max-width:270px}h1{font-size:39px;margin:11px 0 7px}#yard-subtitle{font-size:11px;margin-bottom:14px}.vehicle-label{padding:10px 12px}.vehicle-label>small{font-size:7px}.vehicle-label h2{font-size:17px;margin:5px 0 8px}.build-stats{gap:12px}.build-stats b{font-size:12px}.build-stats span{font-size:8px}.objective{width:180px;padding:14px}.objective-title{font-size:14px}.objective .eyebrow{font-size:8px}.objective-meta{font-size:10px}.objective-record{font-size:9px}.part{padding:7px}.part b{font-size:11px}.part .label{font-size:7px}.part .icon{height:30px}.part-effect{font-size:8px!important}.part .swap{display:none}.cards{gap:7px;padding:8px 0}.garage-nav{height:37px}.garage-nav button[role=tab]{font-size:10px}.garage-nav .quiet{font-size:9px}.launch-message b{font-size:9px}.launch-message small{font-size:10px}.primary{font-size:14px;padding:11px 22px}.launch-row{min-height:59px;padding:8px 0}.primary span{margin-left:24px}.upgrades{max-height:136px}.upgrade{padding:6px 8px}.upgrade strong{font-size:10px}.upgrade small{font-size:8px}.gauges{padding:11px 13px;gap:18px}.gauges b{font-size:25px;min-width:74px}.gauges small{font-size:9px}.hud-top{top:16px}.hud-bottom{bottom:18px;gap:14px}.boost{min-width:140px;padding:12px 20px 10px 42px}.boost b{font-size:17px}.boost>span{font-size:34px;left:12px}.boost small{font-size:8px}.steering span{font-size:9px;margin-left:5px}.flight-resource{width:174px}.modal-card{padding:24px}.modal-card h2{font-size:34px}}
@media(max-height:600px) and (min-width:701px){header{flex-basis:48px}.logo small{display:none}.logo{font-size:17px}.logo-arrow{width:28px;height:28px;font-size:27px}.round{width:30px;height:30px}.wallet{font-size:13px;padding:5px 11px}.wallet i{height:18px;width:18px;font-size:12px}.garage-nav{height:32px}.cards{padding:6px 0;gap:7px}.part{padding:6px 7px}.part .icon{height:26px;margin:0}.part b{margin:3px 0;font-size:10px}.part-effect{display:none!important}.launch-row{min-height:48px;padding:6px 0}.launch-message small{font-size:9px}.primary{padding:8px 18px;font-size:13px}.primary span{margin-left:25px}.objective{width:165px;padding:12px}.objective-title{font-size:13px;margin:7px 0 9px}.objective-record{margin-top:9px;padding-top:9px;font-size:8px}h1{font-size:30px;margin:9px 0 6px}#yard-copy{top:7%;max-width:230px}#yard-copy>.eyebrow{font-size:8px}#yard-subtitle{margin-bottom:10px;font-size:10px}.vehicle-label>small{display:none}.vehicle-label{padding:7px 10px}.vehicle-label h2{font-size:15px;margin:0 0 7px}.build-stats b{font-size:11px}.build-stats span{font-size:7px}.workshop-note{font-size:7px;bottom:9px}.upgrades{max-height:105px;padding:6px 0;gap:5px}.upgrade small{display:none}.upgrade strong{font-size:10px}.upgrade .price{font-size:10px}.upgrade{padding:6px}.gauges{padding:8px 12px}.gauges b{font-size:24px}.gauges small{font-size:8px}.hud-top{top:12px}.hud-bottom{bottom:12px}.flight-resource{padding:9px 11px;width:155px}.flight-resource small{font-size:9px}.steering button{height:42px;width:44px}.steering span{display:none}.boost{padding:9px 20px 8px 43px}.boost b{font-size:16px}.boost>span{font-size:30px}.boost small{font-size:7px}.altimeter{bottom:115px;top:26%}#onboarding{bottom:105px;padding:8px 30px 8px 11px;width:295px}#onboarding .onboarding-key{height:37px;min-width:40px;font-size:20px}#onboarding b{font-size:11px}#onboarding span{font-size:10px}#lunar-guide{top:87px;min-width:280px;padding:8px 12px}#lunar-guide b{font-size:10px}#lunar-guide span{font-size:10px}.modal-card{padding:22px;max-height:calc(100dvh - 24px)}.modal-card h2{font-size:29px}.result-distance{font-size:48px}.result-stats{margin-top:13px;padding:10px 0}.result-stats b{font-size:16px}.receipt{padding:4px 0}.result-tip{margin-top:8px;padding:8px 10px}.result-buttons>*{margin-top:9px}.choices{gap:7px}.choice{padding:9px}.choice.selected{padding:8px}.choice small{font-size:9px}.choice .icon{height:34px;width:50px}}
@media(max-width:700px){header{flex-basis:54px;padding:0 4%}.logo{font-size:16px;gap:7px}.logo small{display:none}.logo-arrow{width:31px;height:31px;font-size:30px}.top-actions{gap:7px}.map-btn{font-size:19px;padding:4px}.map-btn span{display:none}.wallet{padding:6px 10px;font-size:14px;gap:6px}.wallet i{width:18px;height:18px;font-size:11px}.round{width:31px;height:31px}#yard-copy{top:5%;left:5%;max-width:230px}h1{font-size:35px;margin:9px 0}#yard-copy>.eyebrow{font-size:8px;letter-spacing:1px}#yard-subtitle{font-size:11px;margin-bottom:14px}.vehicle-label{padding:9px 12px}.vehicle-label>small{display:none}.vehicle-label h2{font-size:17px}.build-stats{gap:14px}.build-stats b{font-size:12px}.objective{top:auto;bottom:14px;right:5%;width:164px;padding:11px}.objective .eyebrow{font-size:7px}.objective-title{font-size:12px;margin:7px 0 8px}.objective-meta{font-size:9px}.objective-record{display:none}.workshop-note{left:5%;bottom:15px;font-size:6px;width:130px;line-height:1.5}#garage{padding:0 4%}.garage-nav{height:39px}.garage-nav>div{gap:21px}#garage-tip{display:none}#help span{display:none}#help{font-size:15px;padding:7px}.cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:9px 0 10px;gap:8px;scrollbar-width:thin;scrollbar-color:#a7b89a transparent}.part{flex:0 0 118px;scroll-snap-align:start;padding:9px 10px}.part .icon{height:33px}.part b{font-size:11px}.part-effect{font-size:8px!important}.part .label{font-size:8px}.part .label i{font-size:7px}.launch-row{height:64px;gap:8px}.launch-message b{font-size:8px;letter-spacing:.2px}.launch-message small{font-size:9px;max-width:150px;line-height:1.3}.primary{font-size:14px;padding:12px 21px}.primary span{margin-left:22px}.launch-row>.secondary{padding:12px;font-size:10px}.upgrades{grid-template-columns:repeat(2,minmax(0,1fr));max-height:126px;padding:8px 0}.upgrade{padding:8px}.upgrade strong{font-size:10px}.upgrade small{font-size:8px}.upgrade .price{font-size:10px}.hud-top{left:4%;right:4%;top:14px}.gauges{gap:13px;padding:11px 12px;flex:1;max-width:320px;margin-right:9px}.gauges small{font-size:8px;letter-spacing:.6px}.gauges b{font-size:24px;min-width:63px}.gauges b span{font-size:10px}.flight-status>span{display:none}.hud-bottom{left:4%;right:4%;bottom:18px;gap:10px;flex-wrap:wrap}.flight-resource{width:145px;position:absolute;bottom:77px;left:0;padding:9px 11px}.flight-resource small{font-size:9px}.steering{gap:7px}.steering button{width:49px;height:50px}.steering span{display:none}.boost{min-width:135px;padding:12px 17px 11px 42px;margin-left:auto}.boost b{font-size:17px}.boost>span{font-size:34px}.altimeter{bottom:210px;top:27%;right:5%}.altimeter>div{max-height:160px}#onboarding{bottom:185px;left:4%;transform:none;max-width:82%;width:290px;padding:10px 29px 10px 11px;gap:10px}#onboarding b{font-size:11px}#onboarding span{font-size:10px}.onboarding-key{min-width:40px;height:40px}#lunar-guide{top:100px;min-width:270px;padding:10px 12px}#lunar-guide b{font-size:11px}#lunar-guide span{font-size:10px}.moon #callout{top:36%}#callout{top:26%;font-size:27px}#combo{top:38%}.modal{padding:12px}.modal-card{padding:23px 19px;max-height:calc(100dvh - 24px)}.modal-card h2{font-size:31px}.choices{grid-template-columns:1fr;gap:8px}.choice{padding:11px}.choice.selected{padding:10px}.choice .icon{height:42px;width:63px}.choice b{font-size:13px}.choice small{font-size:11px}.choice .preview{font-size:10px}.choice .choice-price{font-size:12px}.result-distance{font-size:54px}.result-stats{gap:7px}.result-stats small{font-size:8px}.result-stats b{font-size:16px}.result-bests{font-size:10px}.receipt{font-size:11px}.result-buttons{gap:8px}.result-buttons .primary{padding:12px;font-size:12px}.result-buttons .secondary{font-size:10px;padding:12px}.help-cards{grid-template-columns:1fr;gap:7px;margin:15px 0}.help-cards>div{padding:12px}.help-cards strong{float:left;width:45px;font-size:26px;margin:0}.help-cards p{margin-top:5px;margin-left:45px}.help-cards b{font-size:12px}.map-stop{padding:10px}.map-stop small{font-size:9px}.setting{font-size:11px}.setting input[type=range]{width:120px}.flying #qa-meter{top:98px;font-size:7px;gap:5px}.moon #qa-meter{top:173px}#calibration-badge{font-size:7px;max-width:95%;white-space:nowrap}}
@media(max-width:360px){.logo{font-size:14px}.logo .to{font-size:10px}.logo-arrow{width:27px;height:27px;font-size:26px}.top-actions{gap:5px}.wallet{padding:6px 8px;font-size:12px}.round{height:29px;width:29px}.map-btn{font-size:17px}.launch-message{display:none}.launch-row>.primary{flex:1}.launch-row>.secondary{font-size:9px}.gauges{gap:10px;padding:10px}.gauges b{font-size:21px;min-width:54px}.gauges small{font-size:7px}.flight-resource{bottom:73px}.boost{min-width:123px;padding-right:12px}.steering button{width:45px}h1{font-size:31px}.objective{width:142px}.build-stats{gap:11px}.vehicle-label h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-height:500px) and (min-width:560px) and (max-width:700px){header{flex-basis:46px}.garage-nav{height:30px}.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:6px 0;overflow:visible}.part{min-width:0;padding:6px}.part .icon{height:23px}.part .label{font-size:7px}.part b{font-size:10px;margin:3px 0}.part-effect{display:none!important}.launch-row{height:48px;min-height:48px;padding:6px 0}.launch-message small{display:none}.launch-message b{font-size:8px}.primary{padding:9px 18px;font-size:13px}#yard-copy{top:6%;left:4%}h1{font-size:27px;margin:8px 0}.vehicle-label{padding:7px 10px}.vehicle-label h2{font-size:15px;margin:0 0 5px}#yard-subtitle{display:none}.build-stats span{font-size:7px}.build-stats b{font-size:10px}.objective{top:6%;bottom:auto;width:155px;right:4%}.workshop-note{font-size:6px}.flight-resource{position:relative;bottom:auto;width:145px}.hud-bottom{flex-wrap:nowrap}.steering button{height:43px;width:43px}.boost{min-width:125px;padding:9px 13px 8px 39px}.boost b{font-size:15px}.boost small{font-size:7px}#onboarding{left:50%;transform:translateX(-50%);bottom:105px}.altimeter{bottom:110px}.gauges{max-width:300px}.flight-status>span{display:block;font-size:8px}.flying #qa-meter{top:91px}.moon #qa-meter{top:158px}#lunar-guide{top:89px;min-width:260px;padding:8px}.moon #callout{top:40%}}
body{position:fixed;inset:0}.result-buttons{position:sticky;bottom:-24px;background:var(--cream);padding:12px 0 6px;margin-top:8px;z-index:2;box-shadow:0 -8px 15px #f5f0dde0}.result-buttons>*{margin-top:0}@media(max-height:600px) and (min-width:701px){.victory-mark{width:54px;height:54px;font-size:34px;line-height:54px;margin:10px auto}.victory h2{font-size:28px;margin:8px 0}.result-buttons{bottom:-22px}}@media(max-width:700px){.result-buttons{bottom:-23px}}
@media(max-width:360px){#lab{font-size:8px;padding:5px}}
.modal{grid-template-columns:minmax(0,1fr)}.modal-card{min-width:0;width:min(580px,100%)}.modal-card.wide{width:min(760px,100%)}
@media(max-width:360px) and (max-height:650px){#yard-copy{top:6%;max-width:220px}#yard-copy>.eyebrow{font-size:7px}h1{font-size:26px;margin:8px 0 10px}#yard-subtitle{display:none}.vehicle-label{max-width:165px;padding:7px 9px}.vehicle-label h2{font-size:13px;margin:0}.build-stats{display:none}.objective{width:auto;max-width:160px;bottom:10px;padding:7px 10px}.objective-title{font-size:10px;margin:0}.objective .eyebrow,.objective .progress-track,.objective-meta{display:none}.workshop-note{font-size:5px;width:110px;bottom:11px}}
.logo{padding:0}@media(max-width:360px){#map{display:none}}
