.game-mode-selector{max-width:1180px;margin:30px auto 0}.game-mode-selector>header{gap:5px;margin-bottom:14px;display:grid}.game-mode-selector>header h2,.game-mode-selector>header p{margin-bottom:0}.game-mode-selector>header>p:last-child{max-width:720px;font-size:.84rem}.game-mode-grid{gap:12px;display:grid}.game-mode-card{border:1px solid var(--line);background:linear-gradient(145deg, var(--panel), #091017);grid-template-columns:48px minmax(0,1fr);gap:14px;min-width:0;padding:18px;display:grid;position:relative;overflow:hidden}.game-mode-card:after{border:1px solid var(--mode-accent);opacity:.14;content:"";pointer-events:none;border-radius:50%;width:220px;height:220px;position:absolute;bottom:-100px;right:-50px}.game-mode-card.colony-mode{--mode-accent:var(--cyan)}.game-mode-card.stellar-mode{--mode-accent:#f0a85d;background:radial-gradient(circle at 92% 10%,#f0a85d1c,#0000 35%),linear-gradient(145deg,#171611,#0b1117);border-color:#554431}.game-mode-card>div{z-index:1;min-width:0;position:relative}.game-mode-card small{color:var(--mode-accent);letter-spacing:.09em;text-transform:uppercase;font:700 .63rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.game-mode-card h3{margin:6px 0;font-size:1.2rem}.game-mode-card p{margin-bottom:10px;font-size:.8rem;line-height:1.5}.game-mode-card ul{color:var(--muted);flex-wrap:wrap;gap:5px 14px;margin:0;padding:0;font-size:.7rem;list-style:none;display:flex}.game-mode-card li:before{color:var(--mode-accent);content:"+";margin-right:5px}.game-mode-card>.button{z-index:1;grid-column:1/-1;position:relative}.game-mode-mark{z-index:1;border:1px solid var(--mode-accent);width:44px;height:44px;color:var(--mode-accent);place-items:center;font:800 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:grid;position:relative}.stellar-mark-mini{border-radius:50%;font-size:1.25rem}.stellar-shell{--stellar-bg:#060810;--stellar-surface:#0c101c;--stellar-surface-strong:#121725;--stellar-line:#292f42;--stellar-line-bright:#48516b;--stellar-text:#e8ebf5;--stellar-muted:#98a0b8;--stellar-dim:#697188;--stellar-accent:#f0a85d;--stellar-accent-soft:#3b2919;--stellar-blue:#8ab9ff;--stellar-blue-soft:#172741;--stellar-success:#83d8b1;--stellar-danger:#ff9187;min-height:100vh;color:var(--stellar-text);background:radial-gradient(circle at 72% -12%, #5673bd24, transparent 34rem), radial-gradient(circle at 18% 28%, #f0a85d0e, transparent 25rem), var(--stellar-bg)}.stellar-shell[data-stellar-stage=mainSequence]{--stellar-accent:#f5c975;--stellar-accent-soft:#3c3019}.stellar-shell[data-stellar-stage=giant],.stellar-shell[data-stellar-stage=terminal]{--stellar-accent:#ef8b57;--stellar-accent-soft:#412319}.stellar-shell[data-game-state=overall-ending]{--stellar-accent:#a8c8ff;--stellar-accent-soft:#1d2942;background:radial-gradient(circle at 65% 16%, #96c2ff2e, transparent 32rem), var(--stellar-bg)}.stellar-shell :focus-visible{outline-color:var(--stellar-accent)}.stellar-shell .button{border-color:var(--stellar-line-bright);color:var(--stellar-text);background:#161c2a}.stellar-shell .button:hover:not(:disabled){border-color:var(--stellar-accent);background:#202638}.stellar-shell .button.primary{background:var(--stellar-accent-soft);color:#ffe1b9;border-color:#9f6d3c}.stellar-shell .button.ghost{color:var(--stellar-muted);background:0 0;border-color:#0000}.stellar-shell p{color:var(--stellar-muted)}.stellar-shell h1,.stellar-shell h2,.stellar-shell h3,.stellar-shell strong{color:#f6f3ec}.stellar-shell small{color:var(--stellar-muted)}.stellar-skip-link{z-index:1000;color:#161009;background:var(--stellar-accent);padding:10px 14px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.stellar-skip-link:focus{transform:translateY(0)}.stellar-mobile-header{z-index:30;border-bottom:1px solid var(--stellar-line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#060810f0;grid-template-columns:42px minmax(0,1fr) 48px;align-items:center;gap:10px;min-height:62px;padding:8px 13px;display:grid;position:sticky;top:0}.stellar-mobile-header>div{gap:2px;min-width:0;display:grid}.stellar-mobile-header b{font-size:.8rem}.stellar-mobile-header span:not(.stellar-mark){color:var(--stellar-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.stellar-mobile-header>button{width:48px;min-height:44px;color:var(--stellar-muted);cursor:pointer;background:0 0;border:0;font-size:.7rem}.stellar-mark{border:1px solid var(--stellar-accent);border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:relative}.stellar-mark:before{background:var(--stellar-accent);width:9px;height:9px;box-shadow:0 0 14px var(--stellar-accent);content:"";border-radius:50%}.stellar-mark i{border:1px solid var(--stellar-accent);opacity:.58;border-radius:50%;width:28px;height:10px;position:absolute;transform:rotate(18deg)}.stellar-mark i:nth-child(2){transform:rotate(78deg)}.stellar-mark i:nth-child(3){transform:rotate(138deg)}.stellar-side-nav{display:none}.stellar-main{min-width:0;padding:18px 13px 92px}.stellar-bottom-nav{z-index:40;min-height:70px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--stellar-line-bright);background:#070911f7;display:flex;position:fixed;bottom:0;left:0;right:0}.stellar-bottom-nav a{min-width:64px;min-height:64px;color:var(--stellar-muted);text-align:center;flex:1;place-content:center;gap:5px;padding:8px 5px;text-decoration:none;display:grid}.stellar-bottom-nav a span{letter-spacing:.08em;font:700 .55rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-bottom-nav a b{font-size:.68rem}.stellar-bottom-nav a.active{color:var(--stellar-accent);background:var(--stellar-accent-soft);box-shadow:inset 0 2px var(--stellar-accent)}.stellar-page{gap:18px;width:100%;max-width:1480px;margin:0 auto;display:grid}.stellar-page-heading{border-bottom:1px solid var(--stellar-line);gap:6px;padding-bottom:14px;display:grid}.stellar-page-heading h1{max-width:900px;margin-bottom:0;font-size:clamp(1.65rem,4vw,2.35rem)}.stellar-page-heading>p:last-child{max-width:850px;margin:0;font-size:.88rem;line-height:1.55}.stellar-kicker{letter-spacing:.14em;text-transform:uppercase;margin:0;font:750 .62rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--stellar-accent)!important}.stellar-feedback{z-index:22;border:1px solid var(--stellar-line-bright);max-width:1480px;color:var(--stellar-text);background:#161b29;justify-content:space-between;align-items:center;gap:12px;margin:0 auto 14px;padding:10px 12px;font-size:.8rem;display:flex;position:sticky;top:70px;box-shadow:0 10px 28px #00000059}.stellar-feedback.success{color:#a9e9c9;background:#10251d;border-color:#35654f}.stellar-feedback.danger{color:#ffc0ba;background:#351a1b;border-color:#74403e}.stellar-feedback button{min-width:44px;min-height:36px;color:inherit;cursor:pointer;background:0 0;border:0}.stellar-loading{text-align:center;align-content:center;justify-items:center;gap:10px;min-height:calc(100vh - 160px);display:grid}.stellar-loading>span{border:1px solid var(--stellar-accent);background:radial-gradient(circle, var(--stellar-accent) 0 8%, transparent 9%);border-radius:50%;width:86px;height:86px;animation:1.8s ease-in-out infinite stellar-load;box-shadow:0 0 36px #f0a85d38}.stellar-loading h1,.stellar-loading p{margin:0}.stellar-stage-track{background:var(--stellar-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;padding:1px;list-style:none;display:grid}.stellar-stage-track li{min-width:0;color:var(--stellar-dim);background:#0a0e18;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:9px;display:grid}.stellar-stage-track li span{font:700 .55rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-stage-track li b{text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.stellar-stage-track li[data-status=complete]{color:var(--stellar-success)}.stellar-stage-track li[data-status=complete] span:after{content:" ✓"}.stellar-stage-track li[data-status=current]{color:var(--stellar-accent);background:var(--stellar-accent-soft);box-shadow:inset 0 -2px var(--stellar-accent)}.stellar-observatory{gap:10px;display:grid}.stellar-observatory>:only-child{grid-column:1/-1}.stellar-figure{border:1px solid var(--stellar-line);background:radial-gradient(circle at 50% 40%,#3e49701f,#0000 44%),#080b14;min-width:0;margin:0}.stellar-figure figcaption{border-bottom:1px solid var(--stellar-line);justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.stellar-figure figcaption span{color:var(--stellar-muted);letter-spacing:.1em;text-transform:uppercase;font:700 .62rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-figure figcaption strong{font-size:.78rem}.stellar-figure>svg{width:100%;height:auto;max-height:310px;display:block}.stellar-figure>small{padding:0 13px 11px;font-size:.67rem;line-height:1.45;display:block}.stellar-blueprint circle,.stellar-blueprint path{fill:none;stroke:#30374d;stroke-width:.75px;stroke-dasharray:3 7}.stellar-halo{opacity:.14;filter:blur(8px)}.stellar-body{stroke:#ffffff85;stroke-width:1px}.stellar-core-layers circle{stroke:#ffffff47;stroke-width:.6px}.stellar-cloud circle{fill:#706ba6;opacity:.18;filter:blur(3px)}.stellar-callouts path{fill:none;stroke:#59627b;stroke-width:.8px}.stellar-callouts text{fill:#9ca6bf;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-core-page[data-onboarding=first-pulse] .stellar-blueprint,.stellar-core-page[data-onboarding=first-pulse] .stellar-callouts,.stellar-core-page[data-onboarding=first-pulse] .stellar-cross-section>small{display:none}.stellar-pulse circle{fill:none;stroke:var(--stellar-accent);stroke-width:1.5px;transform-origin:210px 144px;animation:.72s ease-out both stellar-pulse}.stellar-pulse circle:nth-child(2){animation-delay:80ms}.hr-grid path{stroke:#252c40;stroke-width:.7px}.hr-axes path{fill:none;stroke:#74809b;stroke-width:1px}.hr-axes text,.hr-regions text,.hr-sun text,.hr-current-point text{fill:#9da7bf;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.hr-main-band{fill:none;stroke:#f0a85d6b;stroke-width:16px;stroke-linecap:round}.hr-giant-region{fill:#ef7b4d1a;stroke:#ef8b5757}.hr-dwarf-region{fill:#8ab9ff14;stroke:#8ab9ff52}.hr-sun circle{fill:#fff2bb}.hr-current-point circle:first-child{fill:var(--stellar-accent);opacity:.18;animation:1.4s ease-out infinite alternate stellar-point}.hr-current-point circle:nth-child(2){fill:var(--stellar-accent);stroke:#fff;stroke-width:1px}.hr-current-point text{fill:#f5e7d4;font-weight:700}.stellar-evidence-pair{background:var(--stellar-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 12px 12px;display:grid}.stellar-evidence-pair div{background:#0d111c;gap:3px;min-width:0;padding:8px;display:grid}.stellar-evidence-pair dt{color:var(--stellar-dim);font-size:.62rem}.stellar-evidence-pair dd{overflow-wrap:anywhere;color:var(--stellar-text);margin:0;font-size:.68rem}.stellar-automation-strip{background:linear-gradient(100deg,#0a1b17,#0b111b);border:1px solid #355f50;grid-template-columns:minmax(180px,1fr) auto minmax(180px,.75fr) auto;align-items:center;gap:8px 14px;min-height:54px;padding:7px 9px;display:grid}.stellar-automation-state{align-items:center;gap:9px;min-width:0;display:flex}.stellar-automation-state>i{background:var(--stellar-dim);border-radius:50%;flex:none;width:8px;height:8px}.stellar-automation-strip[data-automation-status=running] .stellar-automation-state>i{background:var(--stellar-success);box-shadow:0 0 10px #83d8b18c}.stellar-automation-strip[data-automation-status=waiting] .stellar-automation-state>i{background:var(--stellar-accent)}.stellar-automation-state>span,.stellar-automation-next{gap:3px;min-width:0;display:grid}.stellar-automation-state b,.stellar-automation-next span{text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;overflow:hidden}.stellar-automation-state small,.stellar-automation-next small{text-overflow:ellipsis;white-space:nowrap;font-size:.59rem;overflow:hidden}.stellar-automation-strip>strong{color:var(--stellar-success);white-space:nowrap;font:800 1rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-automation-strip>strong small{margin-left:2px;font-size:.58rem}.stellar-automation-next{border-left:1px solid var(--stellar-line);padding-left:13px}.stellar-automation-next span{color:var(--stellar-text);font-weight:700}.stellar-automation-strip>.button{white-space:nowrap;min-height:40px;padding:7px 11px;font-size:.66rem}.stellar-operation{box-shadow:inset 3px 0 var(--stellar-accent);background:linear-gradient(110deg,#15130f,#0c101a);border:1px solid #56412c;gap:14px;padding:15px;display:grid}.stellar-operation h2,.stellar-operation p{margin-bottom:0}.stellar-operation h2{margin-top:5px;font-size:1.05rem}.stellar-operation-copy>p:last-child{margin-top:6px;font-size:.78rem;line-height:1.5}.stellar-progress{align-content:center;gap:8px;display:grid}.stellar-progress>div:first-child{color:var(--stellar-muted);justify-content:space-between;gap:12px;font-size:.7rem;display:flex}.stellar-progress b{font:750 .74rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-progress small{font-size:.66rem}.stellar-meter{background:#080b12;border:1px solid #2d3448;border-radius:99px;height:7px;overflow:hidden}.stellar-meter>span{border-radius:inherit;background:linear-gradient(90deg, var(--stellar-blue), var(--stellar-accent));height:100%;transition:width .22s ease-out;display:block}.stellar-primary-actions{align-content:center;gap:7px;display:grid}.stellar-pulse-button{color:#ffe3bd;cursor:pointer;text-align:left;background:linear-gradient(135deg,#432918,#241a14);border:1px solid #9e6d3f;grid-template-columns:40px minmax(0,1fr);min-width:min(100%,240px);min-height:62px;padding:9px 13px;display:grid;box-shadow:0 8px 28px #00000047}.stellar-pulse-button>span{color:var(--stellar-accent);text-align:center;grid-row:1/3;align-self:center;font-size:1.5rem}.stellar-pulse-button b{align-self:end;font-size:.88rem}.stellar-pulse-button small{color:#cbb496;align-self:start;font-size:.64rem}.stellar-pulse-button:hover:not(:disabled){background:linear-gradient(135deg,#56331b,#292018);border-color:#ffd095;transform:translateY(-1px)}.stellar-pulse-button:active:not(:disabled){transform:translateY(1px)}.stellar-pulse-button:disabled{opacity:.48;cursor:not-allowed}.stellar-pulse-button.advance{color:#dbe9ff;background:linear-gradient(135deg,#172942,#171d2b);border-color:#607ca9}.stellar-pulse-button.advance>span{color:var(--stellar-blue)}.stellar-coach,.stellar-inline-coach{border-left:2px solid var(--stellar-blue);background:var(--stellar-blue-soft);color:#c4d9f7}.stellar-coach{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;padding:12px 14px;display:grid}.stellar-coach b{color:#dbeaff;font-size:.78rem}.stellar-coach p{color:#aebfd8;grid-column:2;margin:-2px 0 0;font-size:.75rem;line-height:1.5}.stellar-inline-coach{margin:12px 0 0;padding:9px 11px;font-size:.72rem;line-height:1.5}.stellar-evidence-grid,.stellar-archive-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stellar-evidence-card{border:1px solid var(--stellar-line);border-top:2px solid var(--stellar-blue);background:var(--stellar-surface);gap:7px;min-width:0;padding:12px;display:grid}.stellar-evidence-card>span{color:var(--stellar-muted);font-size:.67rem;font-weight:700}.stellar-evidence-card>strong{overflow-wrap:anywhere;font:750 clamp(1rem,4vw,1.35rem)/1.1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-evidence-card>small{font-size:.64rem;line-height:1.4}.stellar-panel{border:1px solid var(--stellar-line);background:var(--stellar-surface);min-width:0;padding:15px}.stellar-section-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:13px;display:flex}.stellar-section-heading h2{margin:4px 0 0;font-size:1.05rem}.stellar-section-heading>span{color:var(--stellar-accent);font:700 .68rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-composition-bar{border:1px solid var(--stellar-line-bright);background:#050710;width:100%;height:12px;display:flex;overflow:hidden}.stellar-composition-bar span{min-width:1px}.element-hydrogen{background:#82b5ff}.element-helium{background:#f5c674}.element-carbonOxygen{background:#ec8f6c}.element-silicon{background:#c3a6df}.element-iron{background:#d5dce4}.stellar-composition-values{background:var(--stellar-line);grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:9px 0 0;display:grid}.stellar-composition-values div{background:#0a0e18;min-width:0;padding:8px}.stellar-composition-values dt{color:var(--stellar-muted);font-size:.6rem}.stellar-composition-values dd{overflow-wrap:anywhere;margin:4px 0 0;font:700 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-composition>p{margin:11px 0 0;font-size:.75rem;line-height:1.5}.stellar-upgrade-grid{gap:8px;display:grid}.stellar-upgrade{border:1px solid var(--stellar-line);background:#090d17;align-content:start;gap:8px;min-width:0;padding:11px;display:grid}.stellar-upgrade header{gap:4px;display:grid}.stellar-upgrade header span{color:var(--stellar-accent);font:700 .59rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-upgrade h3,.stellar-upgrade p{margin:0}.stellar-upgrade h3{font-size:.86rem}.stellar-upgrade p{font-size:.7rem;line-height:1.42}.stellar-upgrade>small{color:var(--stellar-blue);font-size:.65rem}.stellar-upgrade .button{width:100%;margin-top:auto;font-size:.7rem}.stellar-core-drawer{border:1px solid var(--stellar-line-bright);background:#0b101b}.stellar-core-drawer>summary{min-height:46px;color:var(--stellar-text);cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:9px 12px;list-style:none;display:flex}.stellar-core-drawer>summary::-webkit-details-marker{display:none}.stellar-core-drawer>summary:after{color:var(--stellar-accent);content:"+";font:800 1rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-core-drawer[open]>summary:after{content:"−"}.stellar-core-drawer>summary>span{gap:3px;display:grid}.stellar-core-drawer>summary b{font-size:.75rem}.stellar-core-drawer>summary small{font-size:.61rem}.stellar-core-drawer>summary em{color:var(--stellar-accent);margin-left:auto;font:700 .64rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-core-drawer-body{border-top:1px solid var(--stellar-line);gap:10px;padding:10px;display:grid}.stellar-mass-comparison{gap:10px;display:grid}.stellar-mass-card{--mass-color:#fff0bd;border:1px solid var(--stellar-line);background:var(--stellar-surface);grid-template-columns:64px minmax(0,1fr);align-content:start;gap:12px;min-width:0;padding:15px;display:grid}.stellar-mass-card.mass-ember{--mass-color:#ff9c69}.stellar-mass-card.mass-titan{--mass-color:#9dc8ff}.stellar-mass-card[data-contract-preferred=true]{box-shadow:inset 0 2px var(--stellar-accent);border-color:#9c7143}.stellar-mass-orb{place-items:center;min-height:68px;display:grid}.stellar-mass-orb>span{background:radial-gradient(circle at 38% 35%, #fff 0 5%, var(--mass-color) 38%, color-mix(in srgb, var(--mass-color), #744 35%) 100%);width:42px;height:42px;box-shadow:0 0 28px color-mix(in srgb, var(--mass-color), transparent 62%);border-radius:50%;display:block}.mass-ember .stellar-mass-orb>span{width:31px;height:31px}.mass-titan .stellar-mass-orb>span{width:62px;height:62px}.stellar-mass-card header{min-width:0}.stellar-mass-card header>span{color:var(--mass-color);font:700 .66rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-mass-card h2{margin:6px 0;font-size:1rem}.stellar-mass-card header p{margin:0;font-size:.72rem;line-height:1.45}.stellar-mass-card dl{background:var(--stellar-line);grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;display:grid}.stellar-mass-card dl div{background:#090d16;min-width:0;padding:8px}.stellar-mass-card dt{color:var(--stellar-muted);font-size:.59rem}.stellar-mass-card dd{overflow-wrap:anywhere;color:var(--stellar-text);margin:4px 0 0;font-size:.68rem}.stellar-mass-card>.button{grid-column:1/-1}.stellar-settings-grid{gap:10px;display:grid}.stellar-history,.stellar-definition-list{margin:0;padding:0;list-style:none}.stellar-settings-grid>.danger-zone{grid-column:1/-1}.stellar-history{display:grid}.stellar-history li{border-bottom:1px solid var(--stellar-line);grid-template-columns:14px minmax(0,1fr);gap:10px;padding:10px 0;display:grid}.stellar-history li>span{border:1px solid var(--stellar-accent);width:7px;height:7px;box-shadow:0 0 0 3px var(--stellar-accent-soft);border-radius:50%;margin-top:6px}.stellar-history li>div{gap:4px;display:grid}.stellar-history b{font-size:.74rem}.stellar-history small{font-size:.59rem}.stellar-history p{margin:0;font-size:.69rem;line-height:1.42}.stellar-empty{color:var(--stellar-muted);text-align:center;margin:0;padding:18px;font-size:.74rem}.stellar-science-notes dl{background:var(--stellar-line);gap:1px;margin:0;display:grid}.stellar-science-notes dl div{background:#090d16;gap:5px;padding:10px;display:grid}.stellar-science-notes dt{color:var(--stellar-accent);font-size:.7rem;font-weight:700}.stellar-science-notes dd{color:var(--stellar-muted);margin:0;font-size:.72rem;line-height:1.48}.stellar-science-notes details{border-top-color:var(--stellar-line);margin-top:12px}.stellar-science-notes summary{color:var(--stellar-blue)}.stellar-science-notes ul{gap:8px;padding:0 0 0 20px;font-size:.72rem;display:grid}.stellar-definition-list{background:var(--stellar-line);gap:1px;display:grid}.stellar-definition-list li{background:#090d16;gap:4px;padding:10px;display:grid}.stellar-definition-list b{font-size:.74rem}.stellar-definition-list span{color:var(--stellar-muted);font-size:.7rem;line-height:1.45}.stellar-legacy-intro{margin:-4px 0 12px;font-size:.72rem;line-height:1.48}.stellar-legacy-grid{gap:8px;display:grid}.stellar-legacy-node{border:1px solid var(--stellar-line);background:#090d16;gap:8px;padding:11px;display:grid}.stellar-legacy-node header{gap:4px;display:grid}.stellar-legacy-node header span{color:var(--stellar-muted);font:700 .59rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-legacy-node h3,.stellar-legacy-node p{margin:0}.stellar-legacy-node h3{font-size:.82rem}.stellar-legacy-node p{font-size:.68rem}.stellar-legacy-node[data-legacy-status=unlocked]{background:#0c1b17;border-color:#3f6d58}.stellar-legacy-node[data-legacy-status=unlocked] header span{color:var(--stellar-success)}.stellar-form{gap:12px;display:grid}.stellar-check-row{cursor:pointer;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;min-height:48px;display:grid}.stellar-check-row input{width:20px;min-width:20px;height:20px;min-height:20px;accent-color:var(--stellar-accent);margin-top:2px}.stellar-check-row span{gap:3px;display:grid}.stellar-check-row b{font-size:.76rem}.stellar-check-row small{font-size:.66rem;line-height:1.4}.stellar-remnant{background:radial-gradient(circle at 80% 5%,#8bbbff29,#0000 33%),linear-gradient(145deg,#101827,#0a0e18);border:1px solid #59749f;gap:15px;padding:clamp(16px,3vw,28px);display:grid}.stellar-remnant>header{max-width:900px}.stellar-remnant>header h2{margin:5px 0 7px;font-size:clamp(1.45rem,4vw,2.2rem)}.stellar-remnant>header p:last-child{margin:0}.stellar-mass-ledger{border:1px solid var(--stellar-line-bright);background:#070b13;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:12px;display:grid}.stellar-mass-ledger span{gap:5px;min-width:0;display:grid}.stellar-mass-ledger small{font-size:.61rem}.stellar-mass-ledger b{overflow-wrap:anywhere;font:750 .9rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-mass-ledger i{color:var(--stellar-accent);font-style:normal}.stellar-ending-actions{justify-content:flex-end;display:flex}.stellar-return-dialog{width:min(620px,100vw - 28px);max-height:calc(100vh - 28px);color:var(--stellar-text);background:#111724;border:1px solid #52627f;margin:auto;padding:0;overflow:auto;box-shadow:0 28px 100px #000000b8}.stellar-return-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02040ad6}.stellar-return-dialog form{gap:15px;padding:20px;display:grid}.stellar-return-dialog header{justify-content:space-between;align-items:start;gap:12px;display:flex}.stellar-return-dialog h2,.stellar-return-dialog p{margin:0}.stellar-return-dialog header>span{color:var(--stellar-accent);font:700 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-return-dialog dl{background:var(--stellar-line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;display:grid}.stellar-return-dialog dl div{background:#090d17;padding:9px}.stellar-return-dialog dt{color:var(--stellar-muted);font-size:.62rem}.stellar-return-dialog dd{margin:4px 0 0;font:700 .78rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-return-dialog ul{color:var(--stellar-muted);margin:0;padding-left:20px;font-size:.72rem}@keyframes stellar-pulse{0%{opacity:.9;transform:scale(.96)}to{opacity:0;transform:scale(1.32)}}@keyframes stellar-point{to{opacity:.42;transform-origin:50%;transform:scale(1.22)}}@keyframes stellar-load{50%{transform:scale(.88);box-shadow:0 0 18px #f0a85d29}}@media (min-width:620px){.game-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-card{grid-template-columns:48px minmax(0,1fr)}.game-mode-card>.button{grid-column:2;justify-self:start}.stellar-main{padding-left:22px;padding-right:22px}.stellar-stage-track{grid-template-columns:repeat(6,minmax(0,1fr))}.stellar-evidence-grid,.stellar-archive-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.stellar-upgrade-grid,.stellar-legacy-grid,.stellar-mass-comparison{grid-template-columns:repeat(3,minmax(0,1fr))}.stellar-mass-card{grid-template-columns:1fr}.stellar-mass-card .stellar-mass-orb{min-height:92px}.stellar-mass-card header{text-align:center}.stellar-mass-card dl{grid-template-columns:1fr}.stellar-mass-card>.button,.stellar-mass-card dl{grid-column:1}.stellar-science-notes dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:768px){.stellar-shell{grid-template-columns:210px minmax(0,1fr);display:grid}.stellar-mobile-header,.stellar-bottom-nav{display:none}.stellar-side-nav{z-index:30;border-right:1px solid var(--stellar-line);background:#070911fa;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.stellar-brand{border-bottom:1px solid var(--stellar-line);align-items:center;gap:10px;min-height:76px;padding:13px;display:flex}.stellar-brand>div{gap:4px;display:grid}.stellar-brand b{font-size:.77rem}.stellar-brand div span{color:var(--stellar-dim);letter-spacing:.1em;font:700 .51rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-generation-status{border-bottom:1px solid var(--stellar-line);gap:5px;padding:13px;display:grid}.stellar-generation-status>span{color:var(--stellar-dim);letter-spacing:.08em;font:700 .57rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-generation-status strong{font-size:.88rem}.stellar-generation-status small{font-size:.63rem}.stellar-side-nav nav{gap:2px;padding:11px 8px;display:grid}.stellar-side-nav nav a{min-height:46px;color:var(--stellar-muted);border-left:2px solid #0000;grid-template-columns:42px minmax(0,1fr);align-items:center;padding:7px 9px;text-decoration:none;display:grid}.stellar-side-nav nav a span{font:700 .55rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.stellar-side-nav nav a b{font-size:.74rem}.stellar-side-nav nav a:hover{color:var(--stellar-text);background:#121725}.stellar-side-nav nav a.active{border-left-color:var(--stellar-accent);background:var(--stellar-accent-soft);color:var(--stellar-accent)}.stellar-save-state{border:1px solid var(--stellar-line);background:#0a0e18;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:8px;margin:auto 10px 0;padding:10px;display:grid}.stellar-save-state>span{border-radius:50%;width:7px;height:7px}.stellar-save-state>span.saved{background:var(--stellar-success)}.stellar-save-state>span.syncing{background:var(--stellar-accent);animation:.7s ease-in-out infinite alternate stellar-point}.stellar-save-state>div{gap:3px;min-width:0;display:grid}.stellar-save-state b{font-size:.64rem}.stellar-save-state small{text-overflow:ellipsis;white-space:nowrap;font-size:.56rem;overflow:hidden}.stellar-account{border-top:1px solid var(--stellar-line);gap:4px;padding:10px;display:grid}.stellar-account>span{font-size:.73rem;font-weight:700}.stellar-account>small{text-overflow:ellipsis;white-space:nowrap;font-size:.59rem;overflow:hidden}.stellar-account .button{min-height:38px;font-size:.67rem}.stellar-main{grid-column:2;padding:25px 25px 44px}.stellar-feedback{top:10px}.stellar-observatory{grid-template-columns:repeat(2,minmax(0,1fr))}.stellar-operation{grid-template-columns:minmax(0,1.15fr) minmax(220px,.8fr) minmax(230px,.7fr);align-items:center}.stellar-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1100px){.stellar-shell{grid-template-columns:228px minmax(0,1fr)}.stellar-main{padding-left:30px;padding-right:30px}.stellar-figure>svg{max-height:294px}}@media (max-width:480px){.game-mode-card{grid-template-columns:42px minmax(0,1fr);padding:14px}.game-mode-card ul{gap:4px;display:grid}.stellar-main{padding-top:14px}.stellar-page{gap:14px}.stellar-page-heading h1{font-size:1.55rem}.stellar-stage-track li{padding:8px 6px}.stellar-stage-track li b{font-size:.61rem}.stellar-figure>svg{max-height:270px}.stellar-evidence-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.stellar-evidence-pair div:last-child{grid-column:1/-1}.stellar-operation{padding:13px}.stellar-pulse-button{width:100%}.stellar-composition-values{grid-template-columns:repeat(3,minmax(0,1fr))}.stellar-mass-ledger{text-align:center;grid-template-columns:1fr}.stellar-mass-ledger i{transform:rotate(90deg)}.stellar-coach{grid-template-columns:1fr}.stellar-coach p{grid-column:1}.stellar-return-dialog dl{grid-template-columns:1fr}}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]){height:100vh;height:100svh;min-height:100vh;min-height:100svh;overflow:hidden}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-main{min-height:0;overflow:hidden}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-page{gap:8px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-page-heading{gap:2px;padding-bottom:7px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-page-heading h1{font-size:clamp(1.25rem,3vw,1.75rem)}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-page-heading>p:last-child{font-size:.72rem;line-height:1.35}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-stage-track li{min-height:34px;padding:5px 7px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-figure figcaption{padding:7px 9px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-figure>svg{max-height:176px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-figure>small{padding:0 9px 7px;font-size:.59rem}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-operation{gap:9px;padding:10px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-operation-copy>p:last-child{font-size:.69rem;line-height:1.35}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-progress{gap:5px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-coach{display:none}.stellar-shell[data-stellar-view=core][data-game-state=opening] .stellar-page{gap:8px}@media (min-width:768px){.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-main{padding:14px 20px}}@media (max-width:767px){.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]){flex-direction:column;display:flex}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-main{flex:auto;padding:9px 12px 78px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-page-heading>p:last-child{display:none}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-core-page[data-onboarding=first-pulse] .stellar-page-heading>p:last-child{display:block}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-stage-track{grid-template-columns:repeat(6,minmax(0,1fr))}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-stage-track li{grid-template-columns:1fr;justify-items:center;padding:5px 2px;display:grid}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-stage-track li b,.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-observatory>.stellar-hr{display:none}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-figure>svg{max-height:142px}.stellar-automation-strip{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}.stellar-automation-next{border-left:0;grid-column:1;padding-left:17px}.stellar-automation-strip>.button{grid-area:2/2;min-height:44px}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-operation h2{font-size:.88rem}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-operation-copy>p:last-child{display:none}.stellar-shell[data-stellar-view=core]:where([data-game-state=opening],[data-game-state=active-play]) .stellar-pulse-button{min-height:54px}}@media (max-width:480px){.stellar-automation-state small{display:none}.stellar-automation-next small{font-size:.56rem}.stellar-automation-strip>.button{padding:6px 8px}.stellar-core-drawer>summary em{font-size:.56rem}}@media (prefers-reduced-motion:reduce){.stellar-shell *,.stellar-shell :before,.stellar-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.stellar-shell[data-reduced-motion=true] *,.stellar-shell[data-reduced-motion=true] :before,.stellar-shell[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}@media (forced-colors:active){.stellar-mark:before,.stellar-composition-bar span,.stellar-meter>span{forced-color-adjust:none}.stellar-pulse-button,.stellar-upgrade{border:1px solid buttontext}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#070b10;--bg-raised:#0b1219;--panel:#0e171f;--panel-strong:#121e27;--line:#22313c;--line-bright:#36515e;--text:#dce6e8;--muted:#82959b;--dim:#5d7077;--cyan:#53d8d1;--cyan-soft:#183b3c;--amber:#e3b65b;--amber-soft:#3a2d18;--red:#ef7b70;--red-soft:#3c201f;--green:#73d39b;--green-soft:#173526;--violet:#aa94ff;--violet-soft:#292344;--resource-energy:var(--amber);--resource-energy-soft:var(--amber-soft);--resource-materials:var(--green);--resource-materials-soft:var(--green-soft);--resource-research:var(--violet);--resource-research-soft:var(--violet-soft);--radius:4px;--page-gap:22px;font-synthesis:none;text-rendering:optimizelegibility;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html{background:var(--bg);min-width:320px;min-height:100%}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input,textarea{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--cyan);text-underline-offset:3px}a:hover{color:#8ce9e4}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:#edf5f5;letter-spacing:-.025em}h1{margin-bottom:8px;font-size:clamp(1.75rem,5vw,2.5rem);line-height:1.08}h2{margin-bottom:6px;font-size:1.12rem}h3{margin-bottom:5px;font-size:1rem}p{color:#a9b8bc;line-height:1.65}small{color:var(--muted)}strong{color:#f2f8f8}hr{border:0;border-top:1px solid var(--line);width:100%;margin:22px 0}::selection{color:#041011;background:var(--cyan)}:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.skip-link{z-index:1000;color:#051012;background:var(--cyan);padding:10px 14px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.muted{color:var(--muted)}.danger-text{color:var(--red)!important}.button,.icon-button,.choice-button{border:1px solid var(--line-bright);border-radius:var(--radius);min-height:44px;color:var(--text);cursor:pointer;background:#111d25;transition:border-color .15s,color .15s,background-color .15s,transform .15s}.button{justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-size:.88rem;font-weight:650;text-decoration:none;display:inline-flex}.button:hover:not(:disabled),.icon-button:hover:not(:disabled),.choice-button:hover:not(:disabled){border-color:var(--cyan);color:#fff;background:#14272e}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:translateY(1px)}.button:disabled,.icon-button:disabled,.choice-button:disabled{opacity:.42;cursor:not-allowed}.button.primary{background:var(--cyan-soft);color:#abf2ee;border-color:#357b7c}.button.ghost{color:var(--muted);background:0 0;border-color:#0000}.button.active{border-color:var(--cyan);color:var(--cyan)}.button.compact{min-height:44px;padding:7px 10px;font-size:.78rem}.button.full{width:100%}.danger-button{background:var(--red-soft);color:#ffaaa2;border-color:#77423f}.icon-button{place-items:center;width:44px;min-width:44px;padding:0;font-size:1.1rem;display:inline-grid}input,textarea{border:1px solid var(--line-bright);border-radius:var(--radius);width:100%;min-height:44px;color:var(--text);background:#080e13;padding:9px 11px;font-size:16px}input:hover,textarea:hover{border-color:#4c6974}input:focus,textarea:focus{border-color:var(--cyan);outline:1px solid var(--cyan);outline-offset:0}input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;accent-color:var(--cyan);margin:0;padding:0}label{gap:6px;display:grid}fieldset{border:1px solid var(--line);border-radius:var(--radius);min-width:0;margin:0;padding:12px}legend{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;padding:0 7px;font:700 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.field-label{color:#c4d0d3;font-size:.79rem;font-weight:700}.field-hint{color:var(--muted);font-size:.75rem;line-height:1.5;display:block}.form-stack{gap:16px;display:grid}.form-grid,.control-grid{gap:14px;display:grid}.two-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.check-row{cursor:pointer;grid-template-columns:22px minmax(0,1fr);align-items:start;min-height:44px;padding:8px 0}.check-row input{margin-top:2px}.check-row span{gap:3px;display:grid}.check-row small{line-height:1.4}.eyebrow{color:var(--cyan);letter-spacing:.16em;text-transform:uppercase;margin-bottom:7px;font:700 .66rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.status-chip,.tag-row span{border:1px solid var(--line-bright);color:#b7c7cb;letter-spacing:.05em;background:#101a21;border-radius:999px;align-items:center;width:-moz-fit-content;width:fit-content;min-height:28px;padding:4px 8px;font:700 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.status-chip.warning{color:var(--amber);background:var(--amber-soft);border-color:#80652e}.grade{color:#dbf5f2;background:#0c2124;border:1px solid #2d5558;border-radius:2px;justify-content:space-between;align-items:baseline;gap:7px;min-width:46px;min-height:42px;padding:9px;font:750 .86rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.grade b{color:var(--cyan);font-size:.68rem}.grade-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.grade-grid.small{grid-template-columns:repeat(2,minmax(0,1fr))}.grade span{text-align:right;overflow-wrap:anywhere;line-height:1.25}.meter{background:#1b2930;border-radius:99px;width:100%;height:4px;position:relative;overflow:hidden}.meter>span:first-child{background:var(--cyan);height:100%;display:block}.meter.tone-energy>span:first-child{background:var(--resource-energy)}.meter.tone-materials>span:first-child{background:var(--resource-materials)}.meter.tone-research>span:first-child{background:var(--resource-research)}.alert,.feedback-banner{border:1px solid var(--line-bright);border-radius:var(--radius);color:#c6d3d5;background:#111b22}.alert{gap:4px;padding:12px;font-size:.86rem;line-height:1.5;display:grid}.alert.warning,.feedback-banner.warning{background:var(--amber-soft);color:#f1ce87;border-color:#72592a}.alert.danger,.feedback-banner.danger{background:var(--red-soft);color:#ffaaa2;border-color:#74403e}.feedback-banner.success{background:var(--green-soft);color:#a5e6bf;border-color:#2d6545}.choice-group{border:0;gap:7px;min-width:0;padding:0;display:grid}.choice-group>legend{color:#c4d0d3;font:inherit;letter-spacing:0;text-transform:none;padding:0;font-size:.79rem;font-weight:700}.choice-group>div{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.choice-group button{border:1px solid var(--line-bright);border-radius:var(--radius);color:#aebdc1;cursor:pointer;text-align:left;background:#0b141b;min-width:0;min-height:44px;padding:8px 11px}.choice-group button:hover:not(:disabled){color:#eef7f7;border-color:#4e707b}.choice-group button[aria-pressed=true]{border-color:var(--cyan);background:var(--cyan-soft);color:#b8f4f0;box-shadow:inset 0 -2px var(--cyan)}.choice-group button:disabled{opacity:.38;cursor:not-allowed}.choice-group button b,.choice-group button small{line-height:1.35;display:block}.choice-group button b{font-size:.78rem}.choice-group button small{color:var(--muted);margin-top:3px;font-size:.68rem;font-weight:500}.choice-compact button{flex:0 auto}.choice-cards>div{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.choice-cards button{width:100%}.choice-rows>div{grid-template-columns:1fr;max-height:260px;padding-right:2px;display:grid;overflow-y:auto}.choice-rows button{width:100%}.choice-group button.tone-energy{border-left:3px solid var(--resource-energy)}.choice-group button.tone-materials{border-left:3px solid var(--resource-materials)}.choice-group button.tone-research{border-left:3px solid var(--resource-research)}.choice-group button.tone-energy[aria-pressed=true]{border-color:var(--resource-energy);background:var(--resource-energy-soft);color:#ffe1a3;box-shadow:inset 0 -2px var(--resource-energy)}.choice-group button.tone-materials[aria-pressed=true]{border-color:var(--resource-materials);background:var(--resource-materials-soft);color:#b9eccc;box-shadow:inset 0 -2px var(--resource-materials)}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.return-dialog{border:1px solid var(--line-bright);border-radius:var(--radius);background:var(--panel-strong);width:min(620px,100vw - 28px);max-height:calc(100vh - 28px);color:var(--text);margin:auto;padding:0;overflow:auto;box-shadow:0 24px 90px #000000a6}.return-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020508d1}.return-dialog form{gap:18px;padding:22px;display:grid}.return-dialog header{justify-content:space-between;align-items:start;gap:14px;display:flex}.return-dialog h2,.return-dialog p{margin-bottom:0}.return-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.return-resource-grid>span{border:1px solid var(--line);background:#091016;gap:6px;min-width:0;padding:12px;display:grid}.return-resource-grid small{font-size:.7rem;font-weight:700}.return-resource-grid b{overflow-wrap:anywhere;font:750 1rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.return-resource-grid .tone-energy{border-color:#6c5528}.return-resource-grid .tone-energy small,.return-resource-grid .tone-energy b{color:var(--resource-energy)}.return-resource-grid .tone-materials{border-color:#2d6545}.return-resource-grid .tone-materials small,.return-resource-grid .tone-materials b{color:var(--resource-materials)}.return-resource-grid .tone-research{border-color:#51477e}.return-resource-grid .tone-research small,.return-resource-grid .tone-research b{color:var(--resource-research)}.return-events{border-left:2px solid var(--cyan);background:#091016;gap:8px;padding:12px;font-size:.8rem;display:grid}.return-events ul{color:#aebcc0;gap:5px;margin:0;padding-left:18px;line-height:1.45;display:grid}.auth-shell{background:linear-gradient(165deg,#0a1218 0%,#070b10 50%,#0a1114 100%);align-items:stretch;min-height:100vh;display:grid}.auth-intro,.auth-panel{padding:32px 22px}.auth-intro{border-bottom:1px solid var(--line);align-content:center;min-height:36vh;display:grid}.auth-intro>p:not(.eyebrow){max-width:600px}.auth-panel{align-content:center;gap:24px;width:100%;max-width:520px;margin:auto;display:grid}.auth-panel h2{font-size:1.35rem}.auth-signal{border:1px solid var(--line);background:var(--line);grid-template-columns:repeat(3,1fr);gap:1px;margin:20px 0 0;display:grid}.auth-signal div{background:#0a1117;gap:5px;padding:10px;display:grid}.auth-signal dt{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font:700 .6rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.auth-signal dd{color:#d7e1e3;margin:0;font-size:.74rem}.auth-alternate{text-align:center;margin:0;font-size:.85rem}.recovery-code{border:1px solid var(--cyan);background:#071719;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.recovery-code code{overflow-wrap:anywhere;color:#aef4ef;font-size:.93rem}.save-lobby{background:radial-gradient(circle at 82% 0, #53d8d114, transparent 32%), var(--bg);min-height:100vh;padding:18px clamp(14px,4vw,56px) 56px}.save-lobby-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-width:0;max-width:1180px;margin:0 auto;padding-bottom:18px;display:flex}.save-lobby .brand{align-items:center;gap:10px;display:flex}.save-lobby .brand>div{gap:3px;display:grid}.save-lobby .brand b{letter-spacing:.07em;font:750 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.save-lobby .brand span:not(.brand-mark){color:var(--dim);letter-spacing:.08em;font:700 .52rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.save-account{min-width:0;color:var(--muted);align-items:center;gap:10px;font-size:.78rem;display:flex}.save-account>span{overflow-wrap:anywhere;min-width:0}.save-hero{justify-content:space-between;align-items:end;gap:24px;max-width:1180px;margin:52px auto 22px;display:flex}.save-hero p:last-child{max-width:600px;margin:0}.save-intro{border:1px solid var(--line);background:var(--panel);grid-template-columns:repeat(3,minmax(0,1fr));max-width:1180px;margin:0 auto 24px;display:grid}.save-intro span{border-right:1px solid var(--line);gap:5px;padding:12px 14px;display:grid}.save-intro span:last-child{border-right:0}.save-intro b{color:var(--cyan);font-size:.75rem}.save-lobby>.feedback-banner,.save-lobby>.loading-panel,.save-lobby>.error-panel{max-width:1180px;margin-left:auto;margin-right:auto}.save-lobby>.loading-panel,.save-lobby>.error-panel{min-height:260px}.save-grid{gap:12px;max-width:1180px;margin:0 auto;display:grid}.save-card,.empty-save-slot{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg, var(--panel), #0a1117);min-height:250px}.save-card{align-content:space-between;gap:18px;padding:17px;display:grid}.save-card>header,.save-card-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.save-slot{color:var(--cyan);letter-spacing:.12em;font:750 .64rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.save-card h2{overflow-wrap:anywhere;margin-bottom:7px;font-size:1.25rem}.save-card p{color:#c6d5d7;margin:0}.save-card dl{gap:8px;margin:0;display:grid}.save-card dl div{justify-content:space-between;gap:12px;font-size:.72rem;display:flex}.save-card dt{color:var(--muted)}.save-card dd{text-align:right;margin:0}.save-card-actions .button:first-child{flex:1}.empty-save-slot{color:var(--muted);cursor:pointer;border-style:dashed;place-content:center;justify-items:center;gap:7px;display:grid}.empty-save-slot:hover{border-color:var(--cyan);color:var(--cyan);background:var(--cyan-soft)}.empty-save-slot>span{font-size:2rem;line-height:1}.empty-save-slot small{font-weight:500}.save-dialog{border:1px solid var(--line-bright);border-radius:var(--radius);background:var(--panel-strong);width:min(520px,100vw - 28px);max-height:calc(100vh - 28px);color:var(--text);margin:auto;padding:22px;overflow:auto;box-shadow:0 24px 90px #000000a6}.save-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020508d1}.save-dialog h2,.save-dialog p{margin-bottom:5px}.game-shell{min-height:100vh}.mobile-topbar{z-index:30;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#070b10f0;grid-template-columns:40px minmax(0,1fr) 44px;align-items:center;gap:10px;min-height:60px;padding:8px 14px;display:grid;position:sticky;top:0}.mobile-topbar>div{gap:2px;min-width:0;display:grid}.mobile-topbar b{letter-spacing:.08em;font:750 .76rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.mobile-topbar span:not(.brand-mark,.online-dot){overflow-wrap:anywhere;color:var(--muted);font-size:.7rem}.brand-mark{border:1px solid var(--cyan);width:36px;height:36px;color:var(--cyan);place-items:center;font:800 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.online-dot{background:var(--green);border-radius:50%;width:7px;height:7px;box-shadow:0 0 10px #73d39b8c}.mobile-logout{width:44px;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-content:center;gap:4px;font:700 .52rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.mobile-logout .online-dot{margin:auto;display:block}.side-nav,.summary-rail{display:none}.game-main{min-width:0;padding:20px 14px 98px}.bottom-nav{z-index:40;border-top:1px solid var(--line-bright);overscroll-behavior-x:contain;scrollbar-width:none;background:#080d12f7;height:74px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}.bottom-nav::-webkit-scrollbar{display:none}.bottom-nav a{min-height:60px;color:var(--muted);text-align:center;flex:1 0 52px;place-content:center;gap:5px;text-decoration:none;display:grid}.bottom-nav a span{letter-spacing:.08em;font:700 .56rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.bottom-nav a b{font-size:.7rem}.bottom-nav a.active{color:var(--cyan);box-shadow:inset 0 2px var(--cyan);background:#102125}.splash,.loading-panel,.error-panel{text-align:center;align-content:center;justify-items:center;gap:14px;min-height:100vh;padding:24px;display:grid}.loading-bar{background:var(--line);width:140px;height:2px;overflow:hidden}.loading-bar:after{content:"";background:var(--cyan);width:45%;height:100%;animation:1.2s ease-in-out infinite alternate loading;display:block}@keyframes loading{to{transform:translate(120%)}}.feedback-banner{z-index:10;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;padding:10px 12px;font-size:.82rem;display:flex;position:relative}.feedback-banner>div{flex-wrap:wrap;gap:8px;display:flex}.page-stack{gap:var(--page-gap);max-width:1420px;margin:0 auto;display:grid}.page-header{border-bottom:1px solid var(--line);gap:14px;padding-bottom:18px;display:grid}.page-header p:last-child{max-width:780px;margin-bottom:0;font-size:.9rem}.page-actions{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.section-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:14px;display:flex}.section-heading h2,.section-heading p{margin-bottom:0}.section-heading a{white-space:nowrap;font-size:.78rem}.branch-heading{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:10px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-width:0;padding:16px}.panel.attention{box-shadow:inset 3px 0 var(--amber);border-color:#6e592b}.danger-zone{background:linear-gradient(135deg, var(--panel), #181213);border-color:#54302f}.metric-grid{gap:10px;display:grid}.metric-card{border:1px solid var(--line);background:var(--panel);gap:10px;min-width:0;padding:15px;display:grid}.metric-card>span{color:var(--muted);font-size:.73rem;font-weight:700}.metric-card>strong{font:700 clamp(1.25rem,6vw,1.75rem)/1 ui-monospace,SFMono-Regular,Menlo,monospace}.metric-card>small{line-height:1.45}.resource-card{background:linear-gradient(145deg, var(--panel), #0b1218);border-top-width:3px}.resource-card.tone-energy{border-top-color:var(--resource-energy)}.resource-card.tone-energy>span{color:var(--resource-energy)}.resource-card.tone-materials{border-top-color:var(--resource-materials)}.resource-card.tone-materials>span{color:var(--resource-materials)}.resource-card.tone-research{border-top-color:var(--resource-research)}.resource-card.tone-research>span{color:var(--resource-research)}.unlock-preview{background:linear-gradient(100deg, var(--panel), #19160f);border-color:#5d4d2a;align-items:center;gap:14px;display:grid}.unlock-preview h2,.unlock-preview p{margin-bottom:0}.unlock-preview p:last-child{font-size:.82rem}.locked-feature{border-style:dashed;align-items:start;gap:14px;display:grid}.locked-feature h2,.locked-feature p{margin-bottom:0}.split-grid,.three-grid,.settings-grid,.diplomacy-grid,.event-grid{gap:12px;display:grid}.delta-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.delta-grid span{color:var(--muted);background:#0a1117;gap:4px;padding:9px;font-size:.72rem;display:grid}.delta-grid b{color:var(--text);font:700 .9rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.milestone-grid{gap:8px;display:grid}.milestone-grid>div{border:1px solid var(--line);background:#0a1117;gap:8px;padding:11px;display:grid}.milestone-grid span{color:var(--muted);font-size:.72rem}.milestone-grid b{font:700 .95rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.campaign-complete{box-shadow:inset 3px 0 var(--green);border-color:#2d6545}.focus-picker{border:1px solid var(--line);background:var(--panel);gap:8px;min-width:0;padding:14px;display:grid}.focus-picker p{margin:0;font-size:.8rem}.object-picker{margin-bottom:12px}.overview-archive>summary,.archive-summary{justify-content:space-between;gap:12px}.overview-archive>summary>span:first-child,.archive-summary>span:first-child{gap:4px;min-width:0;display:grid}.overview-archive>summary small,.archive-summary small{color:var(--muted);font-weight:500;line-height:1.4}.overview-archive-content{gap:22px;padding-top:14px;display:grid}.resource-details>summary{justify-content:space-between;gap:12px}.resource-details>summary>span:first-child{gap:4px;min-width:0;display:grid}.resource-details>summary small{color:var(--muted);font-weight:500;line-height:1.4}.resource-detail-content{gap:12px;padding-top:12px;display:grid}.resource-detail-content.split-grid{display:grid}.archive-section>:not(summary){margin-top:12px}.progress-item,.progress-list li{gap:8px;min-width:0;display:grid}.progress-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.progress-heading>span{gap:4px;min-width:0;display:grid}.progress-heading>b{color:#f2f8f8;font:750 1rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.progress-heading strong,.progress-heading small{overflow-wrap:anywhere}.progress-item>small,.progress-list li>small{color:var(--muted);line-height:1.45}.progress-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.progress-list li{border-bottom:1px solid var(--line);padding:11px 0}.progress-list li:last-child{border-bottom:0}.project-row{gap:12px;display:grid}.project-row>div,.data-list li>span{gap:4px;display:grid}.empty-state{color:var(--muted);text-align:center;margin:0;padding:18px 0;font-size:.86rem}.data-list,.log-list{margin:0;padding:0;list-style:none}.data-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:9px 0;font-size:.84rem;display:flex}.data-list li:last-child{border-bottom:0}.data-list li>span:last-child{color:var(--muted);text-align:right}.data-list small{max-width:62ch;line-height:1.45;display:block}.log-list.compact{color:#aebcc0;gap:6px;margin-top:12px;font-size:.8rem;list-style:none;display:grid}.log-list.compact li:before{content:"//";color:var(--cyan);margin-right:7px}.table-scroll{border:1px solid var(--line);scrollbar-color:var(--line-bright) var(--bg);max-width:100%;overflow-x:auto}.table-scroll:focus-visible{outline-offset:2px}table{border-collapse:collapse;width:100%;min-width:660px;font-size:.8rem}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:12px 11px}th{z-index:1;color:#8da0a6;letter-spacing:.08em;text-transform:uppercase;background:#111c24;font:750 .65rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;position:sticky;top:0}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#53d8d109}td small{margin-top:4px;display:block}td .meter{min-width:72px;margin-top:5px}.priority-list{counter-reset:priority;margin:0 0 14px;padding:0;list-style:none}.priority-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:54px;display:flex}.priority-list li>span{align-items:center;gap:8px;display:flex}.priority-list li b{border:1px solid var(--line-bright);width:26px;height:26px;color:var(--cyan);place-items:center;font:700 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.research-console{border-color:#2c5154}.active-research{gap:15px;display:grid}.active-research h3{margin:6px 0;font-size:1.25rem}.active-research p{margin:0}.active-research>div:nth-child(2){align-content:center;gap:8px;display:grid}.tech-id{width:-moz-fit-content;width:fit-content;color:var(--cyan);letter-spacing:.08em;background:#0b2426;border:1px solid #356467;padding:3px 6px;font:750 .67rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.queue-row{border-top:1px solid var(--line);gap:8px;margin-top:18px;padding-top:14px;display:grid}.queue-row>span{color:var(--muted);font-size:.72rem;font-weight:700}.queue-row ol{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style-position:inside;display:flex}.queue-row li{border:1px solid var(--line);background:#0a1117;padding:7px 9px;font-size:.77rem}.tech-legend{color:var(--muted);flex-wrap:wrap;gap:12px 18px;font-size:.75rem;display:flex}.tech-legend span{align-items:center;gap:6px;display:flex}.dot{background:var(--dim);border-radius:50%;width:8px;height:8px;display:inline-block}.dot.complete{background:var(--green)}.dot.active{background:var(--cyan)}.dot.available{background:var(--amber)}.dot.locked{background:var(--dim)}.tech-tree{gap:10px;display:grid}.tech-node{border:1px solid var(--line);background:var(--panel);align-content:start;gap:10px;min-width:0;padding:14px;display:grid;position:relative}.tech-node:not(:last-child):after{content:"";z-index:-1;background:var(--line-bright);width:1px;height:11px;position:absolute;bottom:-11px;left:28px}.tech-node.complete{background:#0d1c16;border-color:#29543b}.tech-node.active{border-color:var(--cyan);box-shadow:inset 3px 0 var(--cyan)}.tech-node.available{border-color:#6b572b}.tech-node.locked{opacity:.63}.tech-node-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:.7rem;display:flex}.tech-node p{min-height:0;margin:0;font-size:.8rem;line-height:1.5}.inline-specs{background:var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;display:grid}.inline-specs div{background:#0a1117;min-width:0;padding:7px}.inline-specs dt{color:var(--muted);font-size:.65rem}.inline-specs dd{overflow-wrap:anywhere;color:#cbd6d8;margin:3px 0 0;font-size:.74rem}.lock-reason{color:var(--amber);align-self:end}.system-section{min-width:0}.body-grid{gap:12px;display:grid}.body-card{border:1px solid var(--line);background:var(--panel);gap:15px;min-width:0;padding:15px;display:grid}.body-card>header,.civilization-card>header{justify-content:space-between;gap:12px;display:flex}.body-card h3,.civilization-card h3{margin-bottom:0;font-size:1.1rem}.stat-line{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;font-size:.78rem;display:flex}.installation-list{flex-wrap:wrap;gap:6px;display:flex}.installation-list>span{border:1px solid var(--line);color:#aab9bd;background:#0a1117;padding:5px 7px;font-size:.7rem}.installation-effect{color:var(--muted);font-size:.68rem;line-height:1.45;display:block}details{border-top:1px solid var(--line)}summary{min-height:44px;color:var(--cyan);cursor:pointer;align-items:center;font-size:.78rem;font-weight:700;display:flex}.detail-specs{margin-top:8px}.body-actions,.button-stack{gap:9px;display:grid}.cost-line{border-left:2px solid var(--amber);background:var(--amber-soft);color:#d8c18e;gap:4px;padding:9px;font-size:.7rem;line-height:1.45;display:grid}.development-console{gap:12px;min-width:0;padding-top:2px;display:grid}.development-console>.section-heading,.development-console>.section-heading h3{margin-bottom:0}.resource-costs{gap:6px;display:grid}.resource-cost{border:1px solid var(--line);background:#091016;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:8px 9px;display:grid}.resource-cost small{color:var(--muted);font-weight:700}.resource-cost b{font:750 .76rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.resource-cost.tone-energy{border-left:2px solid var(--resource-energy)}.resource-cost.tone-energy b{color:var(--resource-energy)}.resource-cost.tone-materials{border-left:2px solid var(--resource-materials)}.resource-cost.tone-materials b{color:var(--resource-materials)}.resource-cost.short{border-color:#74403e}.resource-cost em{color:var(--red);grid-column:1/-1;font-size:.68rem;font-style:normal}.installation-build-grid{gap:9px;display:grid}.installation-build-card{border:1px solid var(--line);background:#091016;align-content:start;gap:9px;padding:11px;display:grid}.installation-build-card h4,.installation-build-card p{margin:0}.installation-build-card p{margin-top:4px;font-size:.76rem;line-height:1.45}.map-page{max-width:1600px}.map-toolbar{flex-wrap:wrap;gap:8px;display:flex}.map-toolbar label{flex:220px}.map-layout{gap:12px;min-width:0;display:grid}.map-viewport{touch-action:none;-webkit-user-select:none;user-select:none;background-color:#05090d;background-image:radial-gradient(circle at 15% 25%,#74aab41f 0 1px,#0000 1.5px),radial-gradient(circle at 75% 65%,#74aab414 0 1px,#0000 1.5px);background-size:170px 170px,230px 230px;border:1px solid #28434d;min-width:0;height:min(62vh,580px);min-height:390px;position:relative;overflow:hidden}.map-viewport svg{cursor:grab;width:100%;height:100%;display:block}.map-viewport svg:active{cursor:grabbing}.orbit{fill:none;stroke:#263b45;stroke-width:1px;stroke-dasharray:3 5}.star-halo{opacity:.85}.star-core{fill:#ffe39b;stroke:#fff3c4;stroke-width:2px}.map-label{fill:#8da0a6;pointer-events:none;paint-order:stroke;stroke:#05090d;stroke-width:3px;stroke-linejoin:round;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.star-label{fill:#ead9aa;font-weight:700}.celestial{cursor:pointer;pointer-events:bounding-box;outline:none}.celestial circle{fill:#7f9ba3;stroke:#d6e7e9;stroke-width:1px;vector-effect:non-scaling-stroke}.celestial .celestial-hit-target{fill:#0000;stroke:#0000;pointer-events:all}.celestial-rocky circle{fill:#9d7962}.celestial-metallic circle{fill:#839ba0}.celestial-iceMoon circle,.celestial-comet circle{fill:#9ac5ce}.celestial-gasGiant circle{fill:#c89d68}.celestial-iceGiant circle{fill:#6ba1bd}.celestial-lava circle{fill:#d56746}.celestial-rogue circle{fill:#605f7d}.celestial-unknown circle{fill:#536067;stroke:#9aa8ac}.celestial:focus-visible .selection-ring,.celestial.selected .selection-ring{fill:none;stroke:var(--cyan);stroke-width:2px}.celestial:focus-visible>circle:not(.selection-ring){stroke:var(--cyan);stroke-width:3px}.mission-track line{stroke:var(--violet);stroke-width:1.5px;stroke-dasharray:7 4;opacity:.8}.mission-track circle{fill:var(--violet)}.mission-complete{opacity:.35}.map-scale{color:#71858c;pointer-events:none;font:700 .6rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;position:absolute;bottom:9px;right:10px}.map-zoom-controls{gap:6px;display:flex;position:absolute;top:10px;right:10px}.map-detail{align-content:start;gap:15px;display:grid}.map-detail .grade-grid.small{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-workspace{gap:13px;display:grid}.unknown-body-panel{background:linear-gradient(145deg,#10171c,#0b1116);border-color:#46545a}.unknown-scan{background:#0a1015;border:1px dashed #4a5960;gap:7px;padding:13px;display:grid}.unknown-scan strong{color:#c4ced0}.unknown-scan p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.55}.survey-progress,.local-resource-grid{gap:7px;display:grid}.local-resource-grid article{border:1px solid var(--line);background:#091016;border-left:3px solid;gap:7px;min-width:0;padding:10px;display:grid}.local-resource-grid article>span,.local-resource-grid article>small{color:var(--muted);font-size:.69rem;line-height:1.45}.local-resource-grid article>strong{overflow-wrap:anywhere;font:750 .9rem/1.25 ui-monospace,SFMono-Regular,Menlo,monospace}.local-resource-grid .tone-energy{color:var(--resource-energy)}.local-resource-grid .tone-materials{color:var(--resource-materials)}.local-resource-grid .tone-research{color:var(--resource-research)}.body-facilities{gap:8px;display:grid}.body-facilities h3{margin:0;font-size:.86rem}.environment-archive{padding-top:2px}.cargo-checks{flex-wrap:wrap;gap:6px;display:flex}.cargo-checks span{border:1px solid var(--line);color:var(--muted);padding:5px 7px;font-size:.68rem}.map-action-picker{z-index:2;background:var(--panel);padding:10px 0;position:sticky;top:-15px}.map-mission-actions{padding-top:2px}.detail-list{gap:0;margin:0;display:grid}.detail-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;min-height:35px;padding:8px 0;font-size:.76rem;display:flex}.detail-list dt{color:var(--muted)}.detail-list dd{text-align:right;margin:0}.ship-build-grid{align-items:start}.combat-launch{align-items:end}.shipyard-order{align-content:start;gap:12px;min-width:0;display:grid}.ship-type-picker.choice-cards>div{grid-template-columns:1fr}.ship-choice-cost{color:#d6bd88;margin-top:6px;font:700 .66rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;display:block}.choice-group button[aria-pressed=true] .ship-choice-cost{color:#f4d99e}.selected-definition{border:1px solid var(--line);background:#0a1117;gap:12px;min-width:0;padding:13px;display:grid}.selected-definition>header{gap:6px;display:grid}.selected-definition>header>div{gap:4px;display:grid}.selected-definition>header span{color:#a9b8bc;font-size:.8rem;line-height:1.5}.selected-definition>header>small{color:var(--cyan);font-size:.7rem;font-weight:700}.ship-build-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.ship-cost-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.ship-cost-heading b{font-size:.82rem}.ship-cost-heading small{font-size:.68rem}.ship-resource-costs{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.ship-roster{gap:9px;display:grid}.ship-card{border:1px solid var(--line);background:#0a1117;padding:0 12px}.ship-card>summary{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:8px 0;display:grid}.ship-card>summary>span:first-child{gap:4px;min-width:0;display:grid}.ship-card>summary small{overflow-wrap:anywhere;color:var(--muted);font-weight:500;line-height:1.4}.ship-detail-grid{background:var(--line);gap:1px;margin-bottom:12px;display:grid}.ship-detail-grid>div{background:#091016;align-content:start;gap:6px;min-width:0;padding:10px;display:grid}.ship-detail-grid span{color:var(--muted);font-size:.68rem;font-weight:700}.ship-detail-grid b{overflow-wrap:anywhere;font-size:.82rem;line-height:1.4}.ship-detail-grid small{color:var(--muted);font-size:.7rem;line-height:1.4}.ship-actions{gap:9px;margin-bottom:12px;display:grid}.mission-form{align-content:start;gap:14px;display:grid}.mission-form>div:first-child{min-height:116px}.mission-form p{margin-bottom:0;font-size:.82rem}.logistics-planner{max-width:860px}.route-origin{border-left:3px solid var(--cyan);background:#09171b;gap:4px;padding:11px;display:grid}.route-origin span{color:var(--muted);font-size:.7rem}.route-origin b{font-size:.9rem}.combat-grid{margin-top:16px}.inline-actions{flex-wrap:wrap;gap:6px;display:flex}.civilization-card{gap:15px;display:grid}.tag-row{flex-wrap:wrap;gap:5px;display:flex}.tag-row span{border-radius:2px;min-height:24px}.trade-proposal{margin-bottom:18px}.trade-resource-fields{gap:10px;display:grid}.pending-event{border-color:#5d4d2a;gap:12px;display:grid}.pending-event>header{color:var(--muted);justify-content:space-between;align-items:center;font-size:.7rem;display:flex}.pending-event p{margin:0}.choice-list{gap:8px;display:grid}.choice-button{text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.choice-button>span:first-child{gap:4px;display:grid}.choice-button small{line-height:1.4}.report-list{gap:8px;display:grid}.report-list details{border:1px solid var(--line);padding:0 10px}.report-list summary{justify-content:space-between;gap:12px}.report-list summary>span{gap:3px;display:grid}.combat-phases{gap:7px;padding:12px 0;display:grid}.combat-phases>div{background:#091016;grid-template-columns:1fr auto;gap:4px 12px;padding:9px;font-size:.78rem;display:grid}.combat-phases p{grid-column:1/-1;margin:0;font-size:.76rem}.log-controls{gap:8px;margin-bottom:12px;display:grid}.timeline{margin:0;padding:0;list-style:none}.timeline li{border-bottom:1px solid var(--line);grid-template-columns:14px minmax(0,1fr);gap:12px;padding:12px 0;display:grid;position:relative}.timeline li:last-child{border-bottom:0}.timeline-marker{background:var(--dim);border-radius:50%;width:8px;height:8px;margin-top:5px;box-shadow:0 0 0 3px #152028}.category-research{background:var(--violet)}.category-mission{background:var(--cyan)}.category-combat{background:var(--red)}.category-event{background:var(--amber)}.category-economy{background:var(--green)}.timeline li.important .timeline-marker{background:var(--amber);box-shadow:0 0 0 3px #483b21}.timeline li>div>span{justify-content:space-between;gap:12px;display:flex}.timeline p{margin:5px 0 0;font-size:.8rem;line-height:1.5}.settings-grid .panel{align-self:start}.game-guide{grid-column:1/-1}.game-guide>p{max-width:82ch}.game-guide details:first-of-type{margin-top:12px}.guide-content{color:#b4c1c4;gap:10px;padding:0 2px 14px;font-size:.82rem;line-height:1.65;display:grid}.guide-content p,.guide-content ul,.guide-definitions{margin:0}.guide-content ul{gap:5px;padding-left:20px;display:grid}.guide-definitions{background:var(--line);gap:1px;display:grid}.guide-definitions div{background:#0a1117;gap:4px;padding:9px;display:grid}.guide-definitions dt{color:var(--cyan);font-weight:700}.guide-definitions dd{margin:0}.session-list+.field-hint a{margin:0 3px}html[data-density=compact]{--page-gap:14px}html[data-density=compact] .panel,html[data-density=compact] .metric-card{padding:12px}html[data-density=compact] th,html[data-density=compact] td{padding-top:8px;padding-bottom:8px}@media (min-width:560px){.save-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-main{padding-left:22px;padding-right:22px}.metric-grid,.milestone-grid,.grade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.split-grid,.settings-grid,.body-grid,.diplomacy-grid,.event-grid,.form-grid,.log-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-picker{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:end}.body-card .grade-grid.small{grid-template-columns:repeat(3,minmax(0,1fr))}.installation-build-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-detail .installation-build-grid{grid-template-columns:1fr}.ship-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ship-detail-wide{grid-column:1/-1}.page-header{grid-template-columns:minmax(0,1fr) auto;align-items:end}.project-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.unlock-preview{grid-template-columns:minmax(0,1fr) auto}.locked-feature{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}}@media (min-width:768px){.game-shell{grid-template-columns:208px minmax(0,1fr);display:grid}.mobile-topbar,.bottom-nav{display:none}.side-nav{z-index:30;border-right:1px solid var(--line);background:#080d12;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.brand{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:76px;padding:14px;display:flex}.brand>div{gap:3px;display:grid}.brand b{letter-spacing:.07em;font:750 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.brand span:not(.brand-mark){color:var(--dim);letter-spacing:.08em;font:700 .52rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.nav-clock{border-bottom:1px solid var(--line);gap:6px;padding:12px 14px;display:grid}.nav-clock>span{color:var(--muted);letter-spacing:.09em;font:700 .58rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.nav-clock strong{color:#d7e1e3;font:700 .74rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.side-nav nav{gap:2px;padding:12px 8px;display:grid}.side-nav nav a{min-height:44px;color:var(--muted);border-left:2px solid #0000;grid-template-columns:36px 1fr;align-items:center;padding:6px 9px;text-decoration:none;display:grid}.side-nav nav a>span{letter-spacing:.07em;font:700 .59rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.side-nav nav a>b{font-size:.78rem}.side-nav nav a:hover{color:var(--text);background:#101820}.side-nav nav a.active{border-left-color:var(--cyan);color:var(--cyan);background:var(--cyan-soft)}.nav-account{border-top:1px solid var(--line);gap:4px;margin-top:auto;padding:12px;display:grid}.nav-account>span{font-size:.78rem;font-weight:700}.nav-account>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-main{grid-column:2;padding:28px 26px 44px}.auth-shell{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr)}.auth-intro{border-right:1px solid var(--line);border-bottom:0;min-height:100vh;padding:8vw}.auth-panel{padding:44px}.active-research{grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr) auto;align-items:center}.tech-tree{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-node:not(:last-child):after{display:none}.body-grid,.control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ship-build-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.ship-build-grid .selected-definition{align-self:stretch}.combat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.combat-launch{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.trade-proposal{grid-template-columns:minmax(150px,.7fr) minmax(260px,1fr) minmax(260px,1fr) minmax(160px,.7fr)}.log-controls{grid-template-columns:180px minmax(220px,1fr)}}@media (min-width:1040px){.save-grid,.three-grid,.body-grid,.diplomacy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tech-tree{grid-template-columns:repeat(5,minmax(0,1fr))}.tech-node p{min-height:72px}.grade-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.ship-type-picker.choice-cards>div{grid-template-columns:repeat(2,minmax(0,1fr))}.map-layout{grid-template-columns:minmax(0,1fr) 280px}.map-detail{max-height:min(62vh,580px);overflow-y:auto}}@media (min-width:1200px){.game-shell{grid-template-columns:220px minmax(0,1fr) 236px}.game-main{grid-column:2;padding-left:30px;padding-right:30px}.summary-rail{border-left:1px solid var(--line);background:#080d12;flex-direction:column;grid-area:1/3;gap:0;height:100vh;display:flex;position:sticky;top:0}.summary-rail>div{border-bottom:1px solid var(--line);gap:6px;padding:22px 16px;display:grid}.summary-rail strong{font:700 1.05rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.rail-label{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font:700 .62rem/1 ui-monospace,SFMono-Regular,Menlo,monospace}.summary-rail .rail-resource{box-shadow:inset 3px 0 #0000}.summary-rail .tone-energy{box-shadow:inset 3px 0 var(--resource-energy)}.summary-rail .tone-energy .rail-label{color:var(--resource-energy)}.summary-rail .tone-materials{box-shadow:inset 3px 0 var(--resource-materials)}.summary-rail .tone-materials .rail-label{color:var(--resource-materials)}.summary-rail .tone-research{box-shadow:inset 3px 0 var(--resource-research)}.summary-rail .tone-research .rail-label{color:var(--resource-research)}.map-layout{grid-template-columns:minmax(0,1fr) minmax(320px,360px)}}@media (max-width:559px){.two-fields{grid-template-columns:1fr}.save-lobby{padding-top:12px}.save-lobby-header{align-items:start}.save-account{justify-items:end;display:grid}.save-hero{margin-top:30px;display:grid}.save-hero>.button{width:100%}.save-intro{grid-template-columns:1fr}.save-intro span{border-right:0;border-bottom:1px solid var(--line)}.save-intro span:last-child{border-bottom:0}.save-card,.empty-save-slot{min-height:230px}.choice-cards>div{grid-template-columns:1fr}.shipyard-panel .section-heading{display:grid}.shipyard-panel .section-heading .status-chip{width:100%;line-height:1.4}.return-dialog form{padding:18px}.return-dialog header{display:grid}.return-resource-grid{grid-template-columns:1fr}.map-viewport{height:52vh;min-height:320px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}html[data-reduced-motion=true] *,html[data-reduced-motion=true] :before,html[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}@media print{.side-nav,.bottom-nav,.mobile-topbar,.summary-rail,.page-actions,button{display:none!important}.game-shell,.game-main{padding:0;display:block}body,.panel,.metric-card{color:#111;background:#fff}}
