:root{--ink:#17261f;--muted:#617269;--paper:#edf2ed;--line:#cbd8cf;--green:#1f5c45;--orange:#e7784e;--gold:#c49a42}
body{background:radial-gradient(circle at 15% 0,#ffffff 0,#edf3ee 34%,#dfe9e2 100%);color:var(--ink)}
.shell{max-width:1460px;padding:0 34px}
.topbar{height:72px;border-color:#bfcfc5}.brand{font-size:27px}.top-note{font-size:10px;color:#5f7469}
.wallet-button{background:#fff;border-color:#bdcec3;border-radius:999px;padding:9px 15px;box-shadow:0 4px 18px #183e2b0d}
.intro{padding:24px 0 18px}.intro h1{font-family:Arial,Helvetica,sans-serif;font-size:clamp(28px,3.2vw,45px);font-weight:700;letter-spacing:-2px;line-height:1.03;margin:8px 0 0}.intro h1 em{font-style:normal;color:#3d745d}.intro-copy{font-size:11px;line-height:1.6}
.journey-bar{margin-bottom:14px}.journey-intro{margin-bottom:8px}.journey-steps{gap:6px;padding-bottom:4px}.journey-step{min-width:126px;border:1px solid #c8d5cc!important;border-radius:10px!important;background:#f7faf7!important;padding:10px 11px!important;box-shadow:none!important}.journey-step>span{font:700 13px Arial!important;color:#83a092!important}.journey-step b{font-size:10px!important}.journey-step small{font-size:7px!important}.journey-step.selected{color:white!important;background:#204f3d!important;border-color:#204f3d!important}.journey-step.selected>span,.journey-step.selected small{color:#bcd8c9!important}
.game-layout{grid-template-columns:minmax(0,1fr) 330px;gap:16px}.flight-stage{min-height:650px;border:1px solid #183f3099;border-radius:22px;box-shadow:0 24px 70px #183b2a2b;background:#8ead88}.stage-grain{opacity:.035}.stage-top{top:18px;left:18px;right:18px}.location-tag{background:#12392fda;border-color:#ffffff2b;color:#f4fff8;border-radius:999px;padding:9px 13px;box-shadow:0 7px 25px #102d2240}.location-tag .green-dot{background:#a7dc8e}.best-tag{color:#f4fff3;background:#15372db8;border:1px solid #ffffff20;padding:8px 11px;border-radius:999px;backdrop-filter:blur(10px)}.round-button{background:#f8fff8e8;border-color:#ffffff7a}
.welcome-copy{top:auto;bottom:46px;left:22px;max-width:320px;padding:19px 21px;border-radius:16px;background:#122d26cf;border:1px solid #ffffff29;backdrop-filter:blur(14px);box-shadow:0 16px 50px #09261b40}.welcome-copy .tiny-label{color:#a8cdb9}.welcome-copy h2{font:600 38px/1.02 Arial,Helvetica,sans-serif;letter-spacing:-1.7px;color:white;margin:11px 0}.welcome-copy p{margin:0;color:#cce0d5;font-size:10px}.build-shortcut{border-color:#ffffff42;background:#ffffff12;color:white;margin-top:14px}.stage-bottom{bottom:17px;font-size:8px;color:#ecfff2}.flight-hud{top:72px;left:18px;right:auto;gap:0;background:#14362dc9;border:1px solid #ffffff21;border-radius:13px;padding:10px 13px;backdrop-filter:blur(12px)}.flight-hud>div{padding:0 13px;border-right:1px solid #ffffff20}.flight-hud>div:first-child{padding-left:0}.flight-hud>div:last-child{border:0;padding-right:0}.flight-hud>div>span,.flight-hud small{color:#bcd3c6}.flight-hud b{font:600 22px Arial;color:white;margin-top:3px;letter-spacing:-.6px}.flight-hud .gold-text{color:#f6d87c}.level-progress{background:#16382fca!important;border-color:#ffffff22!important;color:#eafff1!important;border-radius:10px!important;backdrop-filter:blur(12px)}
.flight-stage .welcome-copy{background:#fff9e9f2;border-color:#ffffffcc;box-shadow:0 16px 50px #09261b30}.flight-stage .welcome-copy .tiny-label{color:#537261}.flight-stage .welcome-copy h2{color:#173b2f;text-shadow:none}.flight-stage .welcome-copy p{color:#52695e}.flight-stage .welcome-copy .build-shortcut{border-color:#2d604b55;background:#285942;color:#fffdf4}
body[data-world] .flight-stage .location-tag{color:#244c3d!important;background:#fff9e9f2!important;border:1px solid #708b7b!important;text-shadow:none!important}body[data-world] .flight-stage .location-tag .green-dot{background:#4c9a63!important}
.workshop{padding:24px 22px;border:1px solid #c8d6cd;border-radius:22px;background:#fbfdfb;box-shadow:0 18px 55px #173a2915}.workshop h2{font:700 25px/1.08 Arial,Helvetica,sans-serif;letter-spacing:-1px}.paper-preview{border:1px solid #d7e1da;border-radius:14px;background-color:#f0f5f1}.options-heading{color:#344f43}.design-button{border-radius:10px}.design-button.selected{border-color:#4e806b;background:#e4f0e8;color:#1d533d}.primary-button{border-radius:10px;background:#205c45;padding:14px 16px}.primary-button:hover{background:#174a37}.plane-stats>div{border-radius:9px!important;background:#eef4f0!important}.controls-strip{padding:15px 4px;border-bottom:0}.controls-strip>div{padding:8px 12px;border:1px solid #c9d7ce;border-radius:999px;background:#f8fbf8}.controls-strip p>span{display:none}.keyboard-note{margin-left:auto}footer{display:none}
.flight-ribbon{left:18px;right:18px;bottom:45px}.flight-energy{background:#133a30ed;border-radius:12px}.flight-ribbon>button{background:#133a30ed;border-radius:12px}.steering-guide{top:186px;bottom:auto;left:18px;background:#123c31df;border-radius:12px}.turn-cue{top:246px;left:18px;border-radius:9px}.zone-toast{background:#153d31ed;color:white;border:1px solid #ffffff27;border-radius:12px;font-family:Arial;font-weight:700}.game-overlay{background:#0b211a80}.overlay-card{border-radius:18px;background:#fbfdfb}.overlay-card h2{font-family:Arial;font-weight:700}
.mode-flight .flight-stage{top:12px;height:calc(100dvh - 24px);border-radius:18px}.mode-flight .workshop{border-radius:18px}
@media(max-width:1100px){.shell{padding:0 20px}.game-layout{grid-template-columns:minmax(0,1fr) 300px}.flight-stage{min-height:610px}.welcome-copy h2{font-size:34px}}
@media(max-width:760px){.shell{padding:0 12px}.topbar{min-height:70px}.intro{padding:17px 0 14px}.intro h1{font-size:30px}.journey-step{min-width:112px}.game-layout{grid-template-columns:1fr}.flight-stage{min-height:520px;border-radius:16px}.workshop{border-radius:16px;padding:20px}.welcome-copy{left:14px;right:14px;bottom:42px;max-width:none;padding:16px}.welcome-copy h2{font-size:31px}.flight-hud{left:12px;top:66px}.flight-hud>div{padding:0 8px}.flight-hud b{font-size:19px}.steering-guide{top:178px;left:12px}.turn-cue{top:238px;left:12px}.controls-strip{gap:6px}.controls-strip>div{padding:7px 9px}.keyboard-note{display:none}}

/* Brief alerts temporarily use the location strip, keeping the flight path clear. */
body[data-world] .flight-stage .zone-toast{top:12px;left:18px;right:auto;max-width:calc(100% - 86px);width:max-content;padding:9px 12px;font:600 12px/1.4 Arial,Helvetica,sans-serif;text-align:left;background:var(--flight-ui-surface);color:var(--flight-ui-text);border-color:var(--flight-ui-border);border-radius:9px;transform:translateY(-4px);z-index:3}
body[data-world] .flight-stage .zone-toast.visible{transform:translateY(0)}
.flight-stage:has(.zone-toast.visible) .location-tag,.flight-stage:has(.zone-toast.visible) .best-tag{visibility:hidden}
@media(max-width:760px){body[data-world] .flight-stage .zone-toast{left:12px;font-size:11px;padding:8px 10px}}
/* Flight instruments share one layout while their palette follows the current world. */
body[data-world]{--flight-ui-surface:#244c3ff2;--flight-ui-border:#f9f1d255;--flight-ui-text:#fffdf3;--flight-ui-muted:#c6ddcf;--flight-ui-accent:#f2c968;--flight-ui-track:#ffffff2b}body[data-world="1"]{--flight-ui-surface:#31594bf2;--flight-ui-border:#dfead967;--flight-ui-muted:#d4e5db;--flight-ui-accent:#f2cf76}body[data-world="2"]{--flight-ui-surface:#234d65f2;--flight-ui-border:#c9e7f28a;--flight-ui-muted:#cae0ea;--flight-ui-accent:#ffd177}body[data-world="3"]{--flight-ui-surface:#244c64f2;--flight-ui-border:#cfe8f58a;--flight-ui-muted:#cae1ed;--flight-ui-accent:#ffc969}body[data-world="4"]{--flight-ui-surface:#28545af2;--flight-ui-border:#cfe9de7d;--flight-ui-muted:#cbe4dc;--flight-ui-accent:#f4d17a}body[data-world="5"]{--flight-ui-surface:#202f4cf2;--flight-ui-border:#acc8e28a;--flight-ui-muted:#c8d9ea;--flight-ui-accent:#ffd070}body[data-world="6"]{--flight-ui-surface:#654639f2;--flight-ui-border:#ffe0b875;--flight-ui-muted:#f0d9c8;--flight-ui-accent:#ffd27b}
body[data-world] .flight-stage .flight-hud{top:74px!important;left:18px!important;right:auto!important;width:auto!important;max-width:calc(100% - 36px)!important;display:grid!important;grid-template-columns:repeat(3,minmax(92px,auto));gap:0!important;padding:12px 14px!important;border:1px solid var(--flight-ui-border)!important;border-radius:14px!important;background:var(--flight-ui-surface)!important;box-shadow:0 12px 34px #102b2738!important;backdrop-filter:blur(14px)}body[data-world] .flight-stage .flight-hud>div{padding:0 16px!important;border-right:1px solid var(--flight-ui-border)!important;background:transparent!important;box-shadow:none!important;transform:none!important}body[data-world] .flight-stage .flight-hud>div:first-child{padding-left:0!important}body[data-world] .flight-stage .flight-hud>div:last-child{padding-right:0!important;border-right:0!important}body[data-world] .flight-stage .flight-hud>div>span,body[data-world] .flight-stage .flight-hud small{color:var(--flight-ui-muted)!important}body[data-world] .flight-stage .flight-hud b{color:var(--flight-ui-text)!important;font:600 24px/1.05 Arial,Helvetica,sans-serif!important}body[data-world] .flight-stage .flight-hud .gold-text{color:var(--flight-ui-accent)!important}
body[data-world] .flight-stage .level-progress{top:158px!important;left:18px!important;right:auto!important;width:min(520px,calc(100% - 36px));max-width:none!important;padding:9px 12px;border:1px solid var(--flight-ui-border)!important;border-radius:10px!important;background:var(--flight-ui-surface)!important;box-shadow:0 8px 24px #102b2728;backdrop-filter:blur(12px)}body[data-world] .flight-stage .level-progress>div{color:var(--flight-ui-muted)!important}body[data-world] .flight-stage .level-progress progress,body[data-world] .flight-stage .level-progress progress::-webkit-progress-bar{background:var(--flight-ui-track)!important}body[data-world] .flight-stage .level-progress progress::-webkit-progress-value{background:var(--flight-ui-accent)!important}
body[data-world] .flight-stage .steering-guide{top:216px;left:18px;width:210px;background:var(--flight-ui-surface);border-color:var(--flight-ui-border);color:var(--flight-ui-text);box-shadow:0 8px 24px #102b2728}body[data-world] .flight-stage .steering-guide small{color:var(--flight-ui-muted)}body[data-world] .flight-stage .steering-track{background:var(--flight-ui-track)}body[data-world] .flight-stage .steering-track i{background:var(--flight-ui-accent)}body[data-world] .flight-stage .turn-cue{top:296px;left:18px;background:var(--flight-ui-surface);border-color:var(--flight-ui-border);color:var(--flight-ui-text);box-shadow:0 8px 24px #102b2728}
@media(max-width:760px){body[data-world] .flight-stage .flight-hud{left:12px!important;max-width:calc(100% - 24px)!important;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 11px!important}body[data-world] .flight-stage .flight-hud>div{padding:0 9px!important}body[data-world] .flight-stage .flight-hud b{font-size:19px!important}body[data-world] .flight-stage .level-progress{left:12px!important;width:calc(100% - 24px)}body[data-world] .flight-stage .steering-guide{left:12px;width:180px}body[data-world] .flight-stage .turn-cue{left:12px}}
