/* The world is the stage. Interface elements float in the same open sky. */
:root,body.light{--bg:#09080d;--panel:#15131c;--panel2:#211c28;--ink:#f2eee3;--muted:#b9b2be;--gold:#e5c595;--border:#77717c;--canvas:#131217;--grid:#d5bba51a;--chart:#d8c7a3;--chart-faint:#e5c59515;--rust:#ca6260;--pixel-shadow:#000;--glass-a:#15131c;--glass-b:#15131c}
body,body.light{background:#09080d;color:var(--ink);isolation:isolate}
body.light{--canvas:#eee8db;--grid:#302b241c;--border:#a19aa3}
#cosmos{position:fixed;inset:0;z-index:-1;width:100%;height:100%;background:none;pointer-events:none;touch-action:auto;image-rendering:pixelated}
.app{overflow:hidden;background:none}.app:before,.app:after{display:none!important}
header{max-width:1300px;height:76px;margin:auto;padding:0 32px;border:0;background:none;box-shadow:none}
.logo{font-size:25px;letter-spacing:.07em}.compass{color:var(--gold);font-size:22px}nav{gap:18px}nav button{color:#ded8df;font-size:12px}.theme{border:0!important}
.screen{max-width:1250px;padding-top:24px}.screen .eyebrow{color:var(--gold)}
#home.active{display:block}.hero{background:none;border:0;box-shadow:none;padding:4px 0 20px;max-width:none;width:100%;min-height:0;gap:0}
.hero>.eyebrow:first-child{font-size:10px;letter-spacing:.2em;color:var(--muted)}.hero h1{font-size:clamp(26px,4vw,43px);margin:10px 0;text-shadow:none;letter-spacing:.12em}.hero .tag{font-size:12px;letter-spacing:.16em;color:var(--muted);margin:5px 0}
.space-question{font:600 clamp(27px,4vw,45px)/1.12 'Pixelify Sans',monospace;margin:16px auto 0;max-width:680px;color:var(--ink)}
.home-flight-slot{max-width:880px;margin:0 auto;width:100%}.hero .primary{width:auto;min-width:270px;margin:18px auto 0}.hero>p{font-size:12px;max-width:650px}.hero>.progress{display:none}#edition{order:-1;font-size:9px!important;margin:0 0 7px!important}
.home-side{max-width:990px;margin:45px auto 20px;display:grid;grid-template-columns:1.3fr 1fr;gap:50px}.home-side .hero-foot{background:none;border:0;box-shadow:none;padding:25px 0}.rank-card{background:#111016c4;border:1px solid #82798255;box-shadow:none;border-radius:2px;border-top:1px solid #82798255;padding:24px}.rank-card h2{font-size:27px}.rank-count{color:var(--muted)}.chart-bar{fill:#c3ae8b}.chart-you{stroke:#ed8171}.chart-you-label{fill:#edb19a}
.flight-panel,.flight-round,.flight-final,.flight-ready,.flight-game{display:flex;flex-direction:column;background:none;box-shadow:none;border:0;color:var(--ink);text-align:center;isolation:isolate;max-width:900px;margin:auto}
.flight-panel:before,.flight-panel:after,.globe-stage:after{display:none}.flight-top{border:0;padding:0;position:relative;height:22px;justify-content:center}.flight-kicker{display:none}.flight-badge{font-size:10px;color:var(--gold);letter-spacing:.18em}
.globe-stage,.flight-round .globe-stage,.flight-final .globe-stage{position:relative;isolation:auto;background:none!important;border:0;max-width:560px;width:min(100%,62vh);margin:-8px auto -30px;overflow:visible}
.globe-stage canvas,.flight-round .globe-stage canvas,.flight-final .globe-stage canvas{width:100%;height:auto!important;object-fit:contain;background:none!important;aspect-ratio:320/300;filter:drop-shadow(0 15px 35px #0008)}
.globe-coordinate,.globe-scale{top:auto;bottom:32px;color:#bfb8c6;font-size:8px}.globe-coordinate{left:0}.globe-scale{right:0}
.flight-readout,.flight-round .flight-readout,.flight-final .flight-readout{display:grid;width:min(580px,100%);margin:0 auto;background:none;border:0;grid-template-columns:1fr 1fr 1fr;position:relative;z-index:1}
.flight-readout>div{border:0;padding:12px 10px}.flight-readout small{color:var(--muted);font-size:9px;letter-spacing:.15em}.flight-readout b{font:600 36px/1 'Pixelify Sans',monospace;color:var(--ink)}.flight-readout b span{color:var(--muted);font-size:13px}
.flight-meter,.flight-round .flight-meter,.flight-final .flight-meter{width:min(540px,94%);margin:10px auto 0;height:3px;background:#72677455}.flight-meter>span{background:#e47c6a}.flight-message,.flight-round .flight-message,.flight-final .flight-message{font:11px/1.7 'Courier New',monospace;color:var(--muted);padding:0;margin:12px auto;min-height:20px;max-width:600px}
.flight-stops,.flight-round .flight-stops,.flight-final .flight-stops{width:min(580px,100%);margin:auto;padding:0;gap:14px}.flight-stops li{border-top:1px solid #655d69;padding-top:7px;color:#aca3b1}.flight-stops li.reached{border-color:#ed8273;color:#eee5d6}.flight-stops li.next-stop b{color:#e5c595}.flight-stops b{font-size:16px}.flight-stops small{font-size:7px}.flight-stops span{font-size:7px}
.flight-controls,.flight-round .flight-controls,.flight-final .flight-controls{justify-content:center;gap:22px;border:0;padding:10px 0 0}.flight-controls button{font-size:10px;color:#c8bfcc;min-height:44px}.flight-controls .replay-flight{background:none;border:0;color:#f2cfad;padding:8px 12px;text-decoration:underline;box-shadow:none}
.round-flight-slot,.final-flight-slot{max-width:900px;margin:0 auto 35px}.flight-panel[data-won="true"]{border:0}.flight-panel[data-flying="true"] .flight-badge{color:#ffad84}
.primary{background:#e9d6af!important;color:#201917;border:1px solid #fff2d4;box-shadow:3px 3px 0 #5c493c;font-size:16px;letter-spacing:.06em}.primary:hover{box-shadow:4px 4px 0 #5c493c}.secondary,.tool{background:#17141acc;color:var(--ink);border-color:#827782;box-shadow:none}.secondary:hover,.tool:hover{background:#312832}
#ready .section-title{font-size:clamp(35px,6vw,64px);margin:12px auto 10px}#ready>.panel{background:none;border:0;box-shadow:none;padding:10px 0}#ready>.panel>p:first-child{margin:4px auto 10px;color:var(--muted);font:12px monospace}.ready-flight-slot .flight-readout,.ready-flight-slot .flight-meter,.ready-flight-slot .flight-message,.ready-flight-slot .flight-stops,.ready-flight-slot .flight-controls,.ready-flight-slot .flight-top{display:none}.ready-flight-slot .globe-stage{margin:-20px auto -22px;width:min(100%,48vh)}
#game.active{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);column-gap:30px}#game>.headrow,#game>.round-title,#game>.below{grid-column:1/-1}.round-title{margin:5px 0 20px}.round-title h2{font-size:clamp(40px,6vw,74px)}.game-flight-slot{grid-column:1;grid-row:3;align-self:center;min-width:0}.game-flight-slot .flight-top,.game-flight-slot .flight-message,.game-flight-slot .flight-stops,.game-flight-slot .flight-controls,.game-flight-slot .flight-meter{display:none}.game-flight-slot .globe-stage{width:100%;margin:auto}.game-flight-slot .flight-readout b{font-size:24px}.game-flight-slot .flight-readout small{font-size:7px}.game-flight-slot .globe-coordinate,.game-flight-slot .globe-scale{display:none}
#game .game-layout{grid-column:2;grid-row:3;display:flex;flex-direction:column;gap:12px;min-width:0}#game .game-layout .canvas-wrap{width:100%;order:0}#game .tools{flex-direction:row;order:1}.tool{min-height:44px;min-width:90px;padding:6px 12px}.tool span{display:inline;margin-right:8px}.aside{display:none}.canvas-wrap{border:1px solid #a69a87;background:var(--canvas);box-shadow:none;padding:0}.canvas-wrap:before,.canvas-wrap:after{display:none}.canvas-wrap canvas{background:var(--canvas);background-image:radial-gradient(var(--grid) 1px,transparent 1px);background-size:22px 22px}#drawCanvas{height:min(48vh,450px)}.timer{background:none;border:0;box-shadow:none;color:var(--ink);font-size:30px}.headrow .eyebrow{font-size:10px}
#roundResult:before{display:none}#roundResult .section-title{font-size:clamp(36px,6vw,62px);margin:12px auto}#roundResult>.canvas-wrap{max-width:620px!important}#compareCanvas{height:min(42vh,380px)!important}.metric,.score-formula,.results-list{background:none;box-shadow:none;border:0}.metric b{color:var(--ink)}.score-formula{margin:10px auto}.result-row{border-color:#70657355}.results-list{padding:0}.result-number{color:#e5c595}#final .result-number{font-size:56px;margin:0 auto 12px}.final-flight-slot{margin-top:0}.section-title{margin-top:10px!important}.panel{background:#141118db;border:1px solid #5f5562;box-shadow:none}.service-status{max-width:1180px;margin:0 auto;background:none;border:0;color:#aaa2b2;font-size:9px}.footer{border-color:#72677444;background:none;font-size:9px}.settings-row{border-color:#72677455}.note{line-height:1.8}.dialog{background:#19151e;border-color:#b8a18a;box-shadow:0 25px 100px #000c}
@media(min-width:1500px){.globe-stage{width:min(100%,65vh);max-width:640px}}
@media(max-width:700px){header{padding:12px 15px;height:auto;margin:0;gap:8px;flex-wrap:wrap}.logo{font-size:23px}nav{gap:6px}nav button{font-size:10px}.screen{padding:20px 16px 40px}.hero{padding:5px 0}.hero h1{font-size:30px}.space-question{font-size:29px;margin:15px auto 8px}.hero>.eyebrow:first-child{font-size:8px}.hero .tag{font-size:10px}.globe-stage,.flight-round .globe-stage,.flight-final .globe-stage{width:100%;max-width:460px;margin:0 auto -24px}.flight-readout b{font-size:30px}.flight-readout small{font-size:8px}.flight-stops{gap:7px}.flight-stops small{font-size:6px}.home-side{display:block;margin-top:30px}.home-side .hero-foot{display:none}.ready-flight-slot .globe-stage{width:min(100%,42vh);margin:-5px auto -12px}.flight-controls{gap:14px}.globe-coordinate,.globe-scale{bottom:25px;font-size:7px}#game.active{display:block}.game-flight-slot{max-width:190px;margin:-15px auto 8px}.game-flight-slot .globe-stage{margin:-10px auto -25px}.game-flight-slot .flight-readout{display:none}#game .game-layout{display:flex}#drawCanvas{height:min(43vh,390px);aspect-ratio:auto}#game .round-title h2{font-size:44px;margin:8px auto}.round-title{margin-bottom:5px}.timer{font-size:25px;padding:0;min-width:75px}.below .note{font-size:10px}.service-status{margin:0 16px}.hero .primary{min-width:0;width:100%;font-size:14px}.flight-message{font-size:10px}.flight-panel .flight-controls button{font-size:9px}.home-side .rank-card{padding:20px 15px}}
/* A compact prompt and telemetry around the planet keep the first view playable. */
#home{padding-top:8px}.hero>.eyebrow:first-child,.hero .tag{display:none}.hero h1{font-size:12px;letter-spacing:.2em;color:var(--muted);margin:0 0 5px}.hero #edition{display:none}.space-question{font-size:clamp(25px,3.3vw,39px);max-width:1000px;margin:10px auto 10px}.flight-home .globe-stage{width:min(100%,59vh);margin:0 auto -22px}.flight-home .flight-readout{position:absolute;left:0;right:0;top:65px;display:block;width:100%;height:0;text-align:left;pointer-events:none}.flight-home .flight-readout>div{position:absolute;left:25px;top:0}.flight-home .flight-readout>div:nth-child(2){left:auto;right:25px;text-align:right}.flight-home .flight-readout>div:nth-child(3){top:105px}.flight-home .flight-readout b{font-size:42px}.flight-home .flight-message{display:none}.flight-home .flight-controls{position:absolute;right:20px;top:185px}.flight-home .flight-meter{margin:8px auto 14px}.flight-home .flight-top{height:17px}.hero>p{margin-bottom:0}.hero .primary{margin-top:14px}
@media(max-width:700px){.hero h1{font-size:11px}.space-question{font-size:27px;max-width:350px}.flight-home .globe-stage{width:min(100%,43vh)}.flight-home .flight-readout{position:relative;display:grid;top:auto;height:auto;text-align:center;grid-template-columns:repeat(3,1fr)}.flight-home .flight-readout>div,.flight-home .flight-readout>div:nth-child(2),.flight-home .flight-readout>div:nth-child(3){position:static;text-align:center;padding:9px 2px}.flight-home .flight-readout b{font-size:29px}.flight-home .flight-controls{display:none}.flight-home .flight-stops{gap:5px}.flight-home .flight-meter{margin-bottom:10px}.hero>p{font-size:10px}.hero .primary{margin-top:10px}.flight-home .globe-coordinate,.flight-home .globe-scale{display:none}}
