:root { --bg:#27251f; --text:#f5eddc; --muted:#d1c3a8; --cyan:#f0ca87; --line:#8c795b; }
body { background:#27251f; }.starfield { background:radial-gradient(ellipse at top,#66563e,#27251f 80%); }
.topbar,.view-heading { background:linear-gradient(#ab9670,#695a43); border-color:#cbb68c; }.brand span,.resource-top,.commander,.planet-switch { color:#f8edda; }.resource { background:linear-gradient(#78684c,#514632); border-color:#b69c71; }.planet-switch select { background:#403929; border-color:#b69c71; }
.planet-card,nav,.sidebar-footer,.panel,.hero-panel,.galaxy-inspector,.contact-console { background:#514937; border-color:#ad9670; }nav h2,.panel-title { background:linear-gradient(#9a845d,#5d513b); border-color:#baa37b; color:#fff0cd; }nav button { background:linear-gradient(#7e7054,#60533e); border-color:#aa9571; color:#f8ecd4; }nav button:hover,nav button.active { background:linear-gradient(#b39967,#8d7349); box-shadow:inset 3px 0 #ffdd98; color:white; }
.nav-info,.view-heading p,.galaxy-inspector p,.meta,.view-note { color:#e3d4b7; }.secondary-button { background:linear-gradient(#8d7855,#625239); border-color:#c2a571; color:#fff1d7; }.primary-button { background:linear-gradient(#d3ac63,#9b7135); border-color:#efce90; color:#21190e; }.primary-button:hover { filter:brightness(1.15); }
.entity-card { background:linear-gradient(135deg,rgba(var(--accent-rgb),.20),#3a362e 65%); border-color:var(--accent); border-top:4px solid var(--accent); }.entity-art { height:145px; filter:saturate(1.25); }.entity-card.locked .entity-art { filter:saturate(.85); }.entity-info h2 { color:var(--accent); }.entity-card--solarPlant { --accent:#ffcf67; --accent-rgb:255,207,103; }.entity-card--crystalMine { --accent:#c7a0ff; --accent-rgb:199,160,255; }.entity-card--researchLab { --accent:#6edee9; --accent-rgb:110,222,233; }
.contact-console th { background:#756246; }.contact-console td,.contact-console th { border-color:#8e7c5f; }.contact-console tr.selected { background:#947848; }.contact-console td button { color:#fff0c5; }.scanner-symbol,.sensor-stat,.report-heading { color:#f4d397; }.intel-locked,.intel-section h3 { color:#decbaa; }.galaxy-inspector a,.panel a { color:#ffdc98; }
.signal-point { width:34px; height:34px; z-index:4; cursor:pointer; touch-action:manipulation; }.signal-point i { width:6px; height:6px; pointer-events:none; }.signal-point span { top:28px; pointer-events:none; opacity:0; }.signal-point:hover span,.signal-point:focus-visible span,.signal-point.selected span { opacity:1; }.signal-point:hover,.signal-point:focus-visible,.signal-point.selected { outline:2px solid #ffd48a; background:#d8ad5322; }.signal-point.selected span { color:#ffe1a0; }.occupied-signal i { box-shadow:0 0 5px white,0 0 12px #ff9077; }.free-signal i { box-shadow:0 0 6px white; }.signal-point.selected { z-index:5; }.view-note { padding:12px; line-height:1.7; }.galaxy-inspector { position:sticky; top:10px; }.galaxy-toolbar span { color:#f3ddb6; }
@media(max-width:700px) { .galaxy-inspector { position:static; } }
.universe-map { touch-action:none; cursor:grab; }.universe-map:active { cursor:grabbing; }.signal-point { width:26px; height:26px; }.signal-point i { transition:transform .2s,box-shadow .2s; }.signal-point:hover i { transform:scale(1.7); box-shadow:0 0 12px #ffeac2; }.signal-point.selected i { animation:signal-pulse 2s ease-in-out infinite; }@keyframes signal-pulse { 50% { box-shadow:0 0 18px #ffda83; transform:scale(1.4); } }@media(prefers-reduced-motion:reduce){.signal-point.selected i{animation:none;}}
.fleet-selector { padding:10px 0; border-top:1px solid #ab9570; }.fleet-selector summary { color:#ffdf9d; cursor:pointer; margin-bottom:10px; }.fleet-selector label { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:7px 0; font-size:11px; }.fleet-selector small { display:block; color:#c4b28e; }.fleet-selector input { width:65px; padding:5px; background:#302a20; border:1px solid #b69967; color:white; }
.entity-card--smallTransport,.entity-card--mediumTransport,.entity-card--largeTransport { --accent:#edc475; --accent-rgb:237,196,117; }.entity-card--frigate,.entity-card--cruiser { --accent:#77d7e3; --accent-rgb:119,215,227; }.entity-card--battleship,.entity-card--destroyer { --accent:#f79075; --accent-rgb:247,144,117; }.entity-card--teslaCoil { --accent:#c8a5ff; --accent-rgb:200,165,255; }.entity-card--rocketBattery,.entity-card--missileDefense { --accent:#ffbf70; --accent-rgb:255,191,112; }.entity-card--sensorJammer { --accent:#80e1b4; --accent-rgb:128,225,180; }
.hero-panel { min-height:320px; }.hero-planet-art { width:min(46%,240px); height:auto; aspect-ratio:1; margin:-5px 0 14px 22px; border:0; border-radius:50%; box-shadow:none; }.hero-planet-art > i { left:50%; right:auto; width:100%; height:100%; }.planet-mini-card { grid-template-columns:82px minmax(0,1fr); }.planet-mini-art { width:82px; height:auto; aspect-ratio:1; border:0; border-radius:50%; }.fleet-dashboard-panel { grid-column:1 / -1; }.fleet-operations { display:grid; gap:11px; }.fleet-operation { display:grid; grid-template-columns:minmax(170px,.7fr) minmax(0,1fr) minmax(0,1fr); gap:9px; padding:11px; border:1px solid var(--line); border-radius:12px; background:#27251f55; }.fleet-operation-head { display:flex; flex-direction:column; justify-content:center; gap:4px; }.fleet-operation-head div,.fleet-operation-head span { display:block; }.fleet-operation-head strong { color:#f0cf8c; }.fleet-operation-head span,.fleet-operation-head small { color:var(--muted); font-size:10px; }.fleet-operation .queue-row { min-width:0; }.return-leg { filter:saturate(.35); opacity:.56; }.return-leg.active-return { opacity:.76; }.completed-leg { opacity:.55; }
@media(max-width:900px){.fleet-operation{grid-template-columns:1fr;}.hero-planet-art{width:min(44%,220px);}}
@media(max-width:600px){.hero-planet-art{float:none;width:min(100%,260px);margin:0 auto 18px;}.planet-mini-card{grid-template-columns:72px minmax(0,1fr);}.planet-mini-art{width:72px;}}
.queue-planning-panel { margin-bottom:15px; }.queue-planning-panel .queue-row.waiting { background:#2d2a2366; }.queue-planning-panel .queue-top > span { text-align:right; }
.atlas-art { position:relative; display:block; overflow:hidden; background:#070b11; }.atlas-art::before { content:""; position:absolute; left:0; top:50%; width:400%; aspect-ratio:var(--art-ratio); background-image:var(--art-image); background-repeat:no-repeat; background-size:100% 100%; transform:translate(var(--art-x),var(--art-y)); transform-origin:top left; }
.signal-point.system-signal { width:var(--star-size,38px); height:var(--star-size,38px); }
.signal-point.system-signal i { width:calc(var(--star-size,38px) * .32); height:calc(var(--star-size,38px) * .32); box-shadow:0 0 calc(var(--star-size,38px) * .25) #fff,0 0 calc(var(--star-size,38px) * .7) rgba(255,204,108,var(--star-light,.5)); }
.signal-point.system-signal:hover i { transform:translate(-50%,-50%) scale(1.18); box-shadow:0 0 18px #fff4d8,0 0 42px #ffc866; }
.signal-point.system-signal.selected i { animation:system-pulse 1.8s ease-in-out infinite; }
.orbit-slot { border-color:#b89f7350; background:#302a20b8; }.orbit-slot.empty { background:#29261f88; }.orbit-slot.free { border-color:#88d3a05c; }.orbit-slot.occupied { border-color:#e1bb765c; }.orbit-slot:hover,.orbit-slot.selected { border-color:#ffdc98; background:#9b78453b; }.orbit-slot small { color:#c6b38f; }
/* Command mailbox, logistics and timed construction support. */
.mailbox-filters {display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.mailbox-filters .active {background:#cfac6b;color:#201b12}
.mailbox-shell {display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);gap:14px;align-items:start}
.mailbox-list {max-height:640px;overflow:auto;border:1px solid #9c865f;background:#29271f;border-radius:10px}
.mail-row {display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;width:100%;background:#423b2e;color:#f5ead4;padding:15px;border:0;border-bottom:1px solid #847052}
.mail-row strong,.mail-row small {grid-column:1/-1;overflow-wrap:anywhere}
.mail-row small,.mail-row time {font-size:11px;color:#c9bda2}.mail-row .badge {justify-self:start}
.mail-row.unread {border-left:4px solid #6ed4ea;background:#504834}.mail-row.selected,.mail-row:hover {background:#756044}
.mail-row:focus-visible {outline:2px solid #91e6f7;outline-offset:-3px}
.mailbox-reading {min-height:360px;overflow-wrap:anywhere}
.mailbox-reading .mail-card {border:0;background:transparent}.mailbox-reading .mail-card p {white-space:pre-wrap;line-height:1.65}
.report-attack {margin-top:18px;padding:15px;border:1px solid #caa76c88;border-radius:10px;background:#5e4b3047}
.report-attack h4 {margin:0 0 10px;color:#ffdfaa}
.report-attack .fleet-selector {max-height:260px;overflow:auto}
.report-attack .report-actions {display:flex;gap:9px;flex-wrap:wrap;margin:13px 0 9px}
.report-attack > small {display:block;color:#d5c7a8;line-height:1.5}
.compose-panel {margin-top:18px}.compose-panel summary {padding:17px;cursor:pointer;font-weight:700}
.transfer-console {margin:18px 0}.transfer-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.transfer-grid label {display:block;font-size:12px}.transfer-grid input,.transfer-grid select {display:block;width:100%;padding:10px;margin-top:7px;background:#27251f;color:#fff0cf;border:1px solid #af966a;border-radius:5px}
.transfer-ships {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.transfer-ships label {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background:#27251f88;border-radius:6px}
.transfer-ships small {display:block;color:#c5b393;font-size:11px}.transfer-ships input {width:80px;background:#25231d;color:white;border:1px solid #ad9365;padding:8px}
.cargo-inputs {grid-template-columns:repeat(3,minmax(0,1fr))}
.transfer-footer {display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px}
.boost-banner {padding:14px 18px;margin-bottom:15px;background:linear-gradient(100deg,#315548,#625028);border:1px solid #b6d18c;border-radius:8px;color:#e9ffbc;font-weight:700}
.entity-card--computerTech {--accent:#79d9ee;--accent-rgb:121,217,238}
.entity-card--storageTech {--accent:#e7ba66;--accent-rgb:231,186,102}
.entity-card--computerTech .atlas-art {filter:hue-rotate(18deg) saturate(1.2)}
@media(max-width:800px){.mailbox-shell{grid-template-columns:1fr}.mailbox-list{max-height:360px}.transfer-ships,.transfer-grid{grid-template-columns:1fr}.transfer-footer{align-items:stretch;flex-direction:column}}
.command-overview {grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);align-items:start}
.command-overview .compact-planet {grid-column:1/-1;min-height:0;padding:18px 22px}
.compact-planet .hero-planet-art {width:160px;height:160px;margin:0 22px 0 0;float:left;aspect-ratio:1}
.compact-planet .hero-planet-art { border: 3px solid #cdb68d99; box-shadow: 0 0 0 6px #141b21, 0 0 0 7px #cdb68d55, 0 18px 30px #0008; }
.compact-planet h2 {max-width:none;margin:6px 0;font-size:23px}.compact-planet p {max-width:none;font-size:12px}
.compact-planet .field-meter {clear:none;margin:12px 0 0 182px}.compact-planet .metric-row {clear:none;margin:10px 0 0 182px}.compact-planet .metric {padding:6px 9px}.compact-planet .metric strong {font-size:16px}
.command-overview .fleet-dashboard-panel {grid-column:1/-1;grid-row:2}
.command-alerts .notification-list {max-height:240px;overflow:auto}.command-alerts .notification-high {border-left:4px solid #f29c72}
.entity-list .entity-card {grid-template-rows:145px 1fr auto;align-items:stretch;overflow:hidden}
.entity-list .entity-card .entity-art {grid-row:1;grid-column:1;height:145px;width:100%;margin:0}
.entity-list .entity-card .entity-info {grid-row:2;grid-column:1;padding:4px 2px}
.entity-list .entity-card .entity-info h2 {font-size:14px;line-height:1.35}
.entity-list .entity-card .entity-action {grid-row:3;grid-column:1;display:flex;flex-direction:column;border-top:1px solid #ad967055;padding-top:9px}
.entity-list .entity-action .level {font-size:12px;color:#ffe3aa}.entity-list .entity-action .cost {line-height:1.9;margin:7px 0 10px;min-height:64px}
.entity-list .entity-action > button,.entity-list .build-actions {margin-top:auto}.entity-list .build-actions {display:flex;flex-wrap:wrap}
.wizard-steps {display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:0;list-style:none;margin:16px 0}.wizard-steps li {padding:10px;background:#302c24;border:1px solid #8c795755;color:#bcae92;font-size:12px;border-radius:4px}.wizard-steps .current {background:#80653b;color:#fff0cd;border-color:#e6c080}.wizard-steps .done {color:#add8b2;border-color:#7ca883}
.wizard-stage {min-height:215px}.wizard-stage h3 {margin:15px 0;color:#f5dab0}.wizard-stage p {color:#d4c3a6;line-height:1.6;font-size:12px}
.transfer-review {display:grid;gap:0}.transfer-review > div {display:grid;grid-template-columns:160px 1fr;padding:10px 0;border-bottom:1px solid #ad967044;gap:12px}.transfer-review span {color:#c7b99c;font-size:12px}.transfer-review strong {font-size:13px;font-weight:500}
.fleet-inventory {margin:16px 0}.fleet-inventory summary {padding:14px;cursor:pointer;font-weight:600}
.mailbox-search {display:flex;gap:8px;margin:12px 0}.mailbox-search input {min-width:0;flex:1;padding:10px;background:#29261f;border:1px solid #ae9368;border-radius:4px;color:#fff0d4}
.mailbox-tools {display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.mailbox-tools span {margin-left:auto;font-size:11px;color:#dac5a0}
.mail-list-item {display:flex;align-items:center;border-bottom:1px solid #a78e6233;background:#393328}.mail-list-item > input {margin:12px;accent-color:#d9ad66;width:16px;height:16px;flex-shrink:0}.mail-list-item .mail-row {flex:1;min-width:0;border-bottom:0}.mail-row strong,.mail-row small {overflow-wrap:anywhere}
.coordinate-grid path {fill:none;stroke:#b7c9c5;stroke-width:.07;opacity:.25}.coordinate-grid text {fill:#c9d3cf;font-size:1.4px;paint-order:stroke;stroke:#191c1b;stroke-width:.25;stroke-linejoin:round}
.map-legend {display:flex;gap:14px;flex-wrap:wrap;color:#cdbfa5;font-size:11px;margin:12px 0}.map-legend span {display:flex;align-items:center;gap:5px}.map-legend i {display:inline-block;width:8px;height:8px;border-radius:50%}.legend-home {background:#86e9a1}.legend-star {background:white;box-shadow:0 0 5px white}.legend-range {border:1px solid #86b68c}
@media(max-width:800px){.command-overview{grid-template-columns:1fr}.wizard-steps{grid-template-columns:repeat(2,1fr)}.transfer-review>div{grid-template-columns:1fr;gap:4px}.mailbox-tools span{margin-left:0}}
@media(max-width:500px){.compact-planet .hero-planet-art{width:120px;height:120px;float:none;margin:0 auto 12px}.compact-planet .field-meter,.compact-planet .metric-row{margin-left:0}.compact-planet .metric-row{grid-template-columns:repeat(3,1fr)}.mailbox-search{flex-wrap:wrap}.mailbox-search input{flex-basis:100%}.entity-list{grid-template-columns:1fr}}
:root { --survey-fog:#292c36; }
.galaxy-layout { grid-template-columns:minmax(0,1fr) 290px; gap:14px; }
.universe-map { background:var(--survey-fog); border:1px solid #8f805f; border-radius:12px; isolation:isolate; box-shadow:inset 0 0 45px #05060c55; }
.coordinate-grid path { stroke:#b3bdce; stroke-opacity:.12; stroke-width:.08; }
.coordinate-grid text { fill:#b2b5bf; font-size:1.15px; }
.galaxy-inspector { border-radius:12px; max-height:760px; scrollbar-width:thin; }
.system-signal { width:34px; height:34px; }
.system-signal i { width:var(--star-size); height:var(--star-size); }
.system-signal.selected i { animation:none; }
.system-signal span { top:25px; background:#090d16df; border:1px solid #ad957044; padding:4px 7px; border-radius:5px; }
.colony-marker { position:absolute; z-index:6; transform:translate(-50%,-50%); width:28px; height:28px; border:0; background:transparent; cursor:pointer; color:#d8e8dc; }
.colony-marker i { display:block; width:10px; height:10px; margin:auto; border:2px solid #bfd0bd; background:#11191a; box-shadow:0 0 0 2px #080a10; }
.colony-marker.active i { border-color:#a0e5b3; background:#447d59; }
.colony-marker span { position:absolute; top:27px; left:50%; transform:translateX(-50%); white-space:nowrap; font-size:10px; text-shadow:0 2px 3px black; padding:3px 5px; background:#020309cc; border-radius:4px; }
.colony-marker:hover,.colony-marker:focus-visible { outline:2px solid #f1d49b; border-radius:5px; }
.colony-nav { display:flex; gap:7px; flex-wrap:wrap; margin:10px 0; }
.colony-nav button { display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:8px; }
.colony-nav button i { width:7px; height:7px; background:#a5d1af; }
.colony-nav button small { opacity:.65; font-size:10px; }
.colony-nav button.active { border-color:#aed8b8; }
.solar-preview { margin-top:16px; padding:20px; background:linear-gradient(135deg,#111723,#060910); border:1px solid #ae967058; border-radius:12px; overflow:hidden; color:#edf0f6; }
.solar-preview-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.solar-preview h2 { margin:5px 0; font-size:20px; }.solar-preview-heading>span { font-size:11px; color:#b1bac8; }
.solar-orbits { display:flex; align-items:stretch; gap:6px; overflow-x:auto; padding:22px 0 12px; scrollbar-width:thin; }
.solar-sun { flex:0 0 65px; align-self:center; width:65px; height:65px; border-radius:50%; margin:0 16px 45px 0; background:radial-gradient(circle at 38% 38%,#fff8d3,#ffc16a 45%,#bd642c 72%,#642918); box-shadow:0 0 30px #f4b96666,0 0 60px #cb793c22; }
.solar-orbit { position:relative; flex:1 0 70px; min-width:70px; display:flex; flex-direction:column; align-items:center; gap:6px; min-height:130px; border:1px solid transparent; border-radius:9px; padding:12px 5px; background:#ffffff03; color:#e5eaf1; text-align:center; }
.solar-orbit:before { content:""; position:absolute; left:50%; top:0; bottom:0; border-left:1px solid #ffffff08; z-index:-1; }
.orbit-planet { display:block; width:30px; height:30px; flex-shrink:0; border-radius:50%; background:radial-gradient(circle at 30% 28%,#dbc18e,#8b7052 40%,#24202b 78%); box-shadow:inset -7px -5px 9px #000a,0 0 12px #ffffff10; }
.planet-tone-1 { background:radial-gradient(circle at 30% 28%,#bce4ec,#487e98 40%,#13252d 78%); }.planet-tone-2 { background:radial-gradient(circle at 30% 28%,#dfc8aa,#9d6d59 40%,#2b1920 78%); }.planet-tone-3 { background:radial-gradient(circle at 30% 28%,#cedbba,#638575 40%,#172525 78%); }
.solar-orbit span { font-size:10px; opacity:.6; }.solar-orbit strong { font-size:10px; max-width:76px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.solar-orbit small { font-size:9px; color:#8d9bad; }
.solar-orbit.vacant { opacity:.38; }.solar-orbit.vacant i { width:30px; height:30px; border:1px dashed #718093; border-radius:50%; }
.solar-orbit.own small { color:#9dd8ad; }.solar-orbit.free small { color:#d9be86; }.solar-orbit.selected,.solar-orbit:hover:not(.vacant),.solar-orbit:focus-visible { border-color:#d9b978; background:#d9b97810; outline:none; }
.solar-preview p { color:#8e9bad; font-size:11px; line-height:1.6; margin-bottom:0; }
.orbit-slot.own { border-color:#a1d4aa66; }.orbit-slot.own small { color:#add9b5; }
@media(max-width:1000px) { .galaxy-layout { grid-template-columns:1fr; }.galaxy-inspector { position:static; max-height:none; }.orbit-list { grid-template-columns:repeat(2,minmax(0,1fr)); }.solar-preview-heading { align-items:start; flex-direction:column; } }
@media(max-width:600px) { .solar-preview { padding:14px; }.orbit-list { grid-template-columns:1fr; }.colony-nav button { padding:8px; }.colony-nav small { display:none; }.map-caption { font-size:9px; }.map-caption small { font-size:8px; } }
@media(prefers-reduced-motion:reduce) { .system-signal i,.signal-point i { animation:none; transition:none; } }
.commander-gate { background:#040811; backdrop-filter:none; grid-template-columns:minmax(0,1fr) minmax(330px,440px); gap:6vw; padding:clamp(24px,6vw,100px); overflow-y:auto; }
.gate-battle { position:absolute; inset:0; background-image:linear-gradient(90deg,#03070b15 0%,#03070b05 45%,#03070b70 100%),url("/assets/login-battle-v1.webp"); background-size:cover; background-position:center; pointer-events:none; }
.commander-gate:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#02060bdd,transparent 55%); pointer-events:none; }
.gate-intro { position:relative; align-self:end; z-index:1; padding-bottom:10vh; max-width:660px; text-shadow:0 3px 20px #000; }
.gate-intro>.eyebrow { letter-spacing:.35em; color:#e9c990; font-size:12px; }
.gate-intro h2 { font-size:clamp(35px,4.5vw,72px); color:#fff4de; line-height:1.05; letter-spacing:-.04em; margin:20px 0; }
.gate-intro p { color:#d6dce5; font-size:16px; line-height:1.8; }
.gate-features { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; color:#dcc69d; font-size:9px; letter-spacing:.12em; }
.gate-features span { padding:8px 10px; border:1px solid #e6c18255; border-radius:4px; background:#02060b70; }
.commander-gate .gate-card { width:100%; z-index:2; background:linear-gradient(145deg,#121923f5,#080c14f5); border:1px solid #cdb68d80; border-radius:18px; padding:32px; box-shadow:0 25px 80px #0008; text-align:left; }
.gate-card .gate-logo { margin-left:0; border-radius:12px; background:#d0ad6015; color:#f0cc8f; border-color:#ddbd8170; }
.gate-card h1 { color:#fff0d6; font-size:29px; }.gate-card>p:not(.eyebrow) { max-width:none; color:#b7c2d0; font-size:13px; }
.gate-card input { min-height:46px; background:#060a12; color:#f4f5f7; border-color:#586273; }
.gate-card label { color:#d9e1ec; }.gate-card small { color:#a5b0be; line-height:1.6; }.gate-card .auth-switch { background:#060a12; }
.gate-card .auth-switch button { color:#b2bdcd; }.gate-card .auth-switch button.active { color:#17130b; background:#dab977; }
@media(max-width:850px) { .commander-gate { grid-template-columns:1fr; place-items:center; padding:24px; gap:22px; }.gate-intro { align-self:auto; width:min(440px,100%); padding-bottom:0; margin-top:24px; }.gate-intro h2 { font-size:36px; margin:10px 0; }.gate-intro p,.gate-features { display:none; }.commander-gate .gate-card { max-width:440px; padding:26px; margin-bottom:24px; }.gate-battle { background-position:32% center; }.commander-gate:after { background:linear-gradient(0deg,#02060bdd,#02060b35); } }
.fleet-filter { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:14px; }
.fleet-filter button { border-radius:7px; padding:7px 10px; }.fleet-filter button.active { background:#c5a464; color:#211a0d; }.fleet-filter span { margin-left:auto; font-size:10px; color:#caba9a; }.fleet-filter b { margin-left:6px; }
.flight-route { display:grid; grid-template-columns:minmax(70px,1fr) 2fr minmax(70px,1fr); gap:14px; align-items:center; padding:15px 0; color:#f0dfc2; font-size:11px; }.flight-route>span:last-child { text-align:right; }
.flight-route-track { height:1px; background:linear-gradient(90deg,#b59c62,#72aeba); position:relative; }.flight-route-track:before,.flight-route-track:after { content:""; position:absolute; width:5px; height:5px; top:-2px; border:1px solid #dbbd78; border-radius:50%; background:#121820; }.flight-route-track:after { right:0; }
.flight-route-track i { position:absolute; top:-9px; transform:translateX(-50%); color:#a5daef; font-size:17px; font-style:normal; text-shadow:0 0 10px #83c8f7; }.flight-route.returning i { color:#cbb5ee; text-shadow:0 0 10px #b39ed9; }
.flight-manifest { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:12px; color:#c1c5ce; font-size:10px; }.flight-phase { color:#e2c17d; letter-spacing:.12em; }
.sim-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.sim-grid .panel { min-width:0; }
.sim-grid h3 { margin:18px 0 8px; }
.sim-inputs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; }
.sim-inputs label, .sim-grid label { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.sim-inputs input, .sim-grid input { width:86px; min-width:70px; }
.sim-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.sim-result { border-left:4px solid #d6a24b; }
.sim-win { border-left-color:#7dbb90; }
.sim-loss { border-left-color:#d47b71; }
.command-alerts .notification-high { border-left:3px solid #d47b71; }
.combat-power {display:flex;flex-wrap:wrap;gap:10px;margin:13px 0;color:#e1cb9f;font-size:12px}.combat-power span {padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:#cba96b12}.combat-power strong {margin-left:5px;color:#f5e4be}
.combat-rosters {display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:15px 0}.combat-roster {min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#10192488}.combat-roster:nth-child(1) {border-top:3px solid #d0a967}.combat-roster:nth-child(2) {border-top:3px solid #78aeca}.combat-roster:nth-child(3) {border-top:3px solid #b58c7c}.combat-roster h4,.combat-bonuses h4 {margin:0 0 10px;color:#f2d9a7;font-size:12px}.combat-roster-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:5px 0;border-top:1px solid #ffffff14;font-size:11px}.combat-roster-row span {min-width:0;color:#d4dce5}.combat-roster-row strong {color:#f3ead9}.combat-roster-row small {grid-column:1/-1;text-align:right;color:#e39a8d}.combat-roster p {margin:0}.combat-bonuses {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.combat-bonuses h4 {flex-basis:100%;margin-bottom:2px}.combat-bonuses span {padding:5px 7px;border:1px solid var(--line);border-radius:5px;color:#b9c7d4;font-size:10px}.combat-legacy {padding:10px;border-left:3px solid #bda26b;background:#bd9e5c15}
.sim-intel-source {margin-bottom:15px;border-left:3px solid #c8ad77}.sim-intel-source h2 {margin:5px 0}.sim-intel-source .warning {padding:9px 11px;border-left:3px solid #d88f75;background:#a957381b;color:#f4c1ad}.report-rescan {display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.report-rescan label {display:grid;gap:4px;color:#bfcee0;font-size:11px}.report-rescan input {width:76px;min-height:35px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:#0b1520;color:#f4e5c5}.report-rescan small {flex-basis:100%}
@media (max-width:800px) { .sim-grid { grid-template-columns:1fr; } .sim-inputs { grid-template-columns:1fr; } }
.starter-flightpath { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 15px; padding:13px 17px; border:1px solid #caa76c88; border-radius:10px; background:linear-gradient(100deg,#775b3370,#1d282f 62%); box-shadow:inset 0 1px #ffe1a52c; }
.starter-flightpath > div { display:grid; gap:3px; min-width:0; }
.starter-flightpath strong { color:#ffdfaa; font-size:15px; }
.starter-flightpath small { color:#c9c6b9; font-size:10px; }
.starter-flightpath .primary-button { flex:0 0 auto; }
@media (max-width:640px) { .starter-flightpath { align-items:stretch; flex-direction:column; } .starter-flightpath .primary-button { width:100%; } }

/* Computer-controlled outposts */
.npc-intel{margin:14px 0;padding:12px;border:1px solid #d2a253;border-left:3px solid #e8b95d;border-radius:6px;background:rgba(192,139,47,.1)}
.npc-intel>strong{color:#f1c97d}.npc-intel p{margin:8px 0}.npc-intel small{color:var(--text-muted,#c5b99f)}

/* Illustrated career selection */
.career-status {display:flex;flex-wrap:wrap;gap:10px 24px;padding:16px 20px;margin-bottom:18px;border:1px solid #ba9b6255;background:#151920;color:#e9d4ac}
.career-status span {font-size:12px;color:#b9bec8;line-height:1.6}
.career-card {overflow:hidden;position:relative;--career-color:#5fcbb8}
.career-card--warrior {--career-color:#e99469}
.career-card.is-selected {border-color:var(--career-color);box-shadow:0 0 0 1px var(--career-color)}
.career-art {height:210px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#24404d,#060b14 75%);border-bottom:1px solid #c5a46455}
.career-card--warrior .career-art {background:radial-gradient(ellipse at 50% 35%,#52362d,#080c16 75%)}
.career-art img {width:100%;height:100%;object-fit:contain;padding:15px 20px 38px;box-sizing:border-box;filter:drop-shadow(0 10px 20px #0009)}
.career-art span {position:absolute;left:18px;bottom:14px;letter-spacing:.17em;font-size:10px;color:var(--career-color)}
.career-card .panel-inner {padding:20px}
.career-card p {color:#bcc5cf;line-height:1.65;min-height:52px}
.career-card .stat-line {gap:15px;align-items:start;padding:10px 0}
.career-card .stat-line strong {text-align:right;color:var(--career-color)}
.career-card button {width:100%;margin-top:12px;min-height:44px}
@media(max-width:600px){.career-art{height:165px}.career-card .stat-line{font-size:12px}.career-card .panel-title{flex-wrap:wrap}}

/* Game feel: animations run only on navigation or completed orders. */
.view-enter {animation:view-enter .22s ease-out}
@keyframes view-enter {from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:none}}
#nav button,.secondary-button,.primary-button,.orbit-slot {transition:background-color .18s,border-color .18s,box-shadow .18s}
.progress i {transition:width .65s linear;box-shadow:0 0 10px #d9b97866}
.attack-imminent {border-color:#f97777!important;background:#611d2844!important}
.hostile-countdown {font-variant-numeric:tabular-nums;color:#ffb0a6}
.attack-imminent .hostile-countdown {animation:attack-warning 1.5s ease-in-out infinite}
@keyframes attack-warning {50%{color:#fff; text-shadow:0 0 10px #ff526c}}
.order-finished .resource-ticker {animation:completion-glow 1.4s ease-out}
@keyframes completion-glow {30%{box-shadow:0 0 25px #75dfb688}100%{box-shadow:none}}
.battle-visual {display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:20px;margin:16px 0;background:radial-gradient(ellipse at center,#31435577,#080d18);border:1px solid #c6a66c55;border-radius:12px}
.battle-side {display:grid;gap:8px;min-width:0}.battle-side:last-of-type{text-align:right}
.battle-side>span:not(.battle-ship),.battle-side small{font-size:12px;color:#bbc7d1}
.battle-ship {font-size:34px;color:#8ad5d1;animation:battle-fly .65s ease-out}
.battle-side:last-of-type .battle-ship{color:#efad90}
@keyframes battle-fly {from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
.battle-health {height:10px;border-radius:5px;overflow:hidden;background:#9b454566}
.battle-health i {display:block;height:100%;width:var(--remaining);background:linear-gradient(90deg,#4bada5,#bbebbf);animation:battle-health .95s ease-out}
@keyframes battle-health {from{width:100%}to{width:var(--remaining)}}
.battle-impact {font-size:24px;color:#f1c787}
.battle-visual>p {grid-column:1/-1;margin:4px 0 0;color:#9fadb9;font-size:11px}
.offline-receipt {color:#f2e3c8;background:#111925;border:1px solid #b99a66;border-radius:16px;padding:26px;width:min(490px,calc(100vw - 32px));box-sizing:border-box}
.offline-receipt::backdrop {background:#02060bbd}
.offline-receipt p {line-height:1.6;color:#b8c7d1;font-size:13px}
.receipt-resources {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}
.receipt-resources>div{display:grid;gap:7px;justify-items:center;background:#ffffff06;padding:14px 4px;border-radius:8px}
.receipt-resources span{font-size:12px}.offline-receipt button{width:100%}
@media(max-width:600px){.content{padding:18px 12px 40px;overflow-x:hidden}.battle-visual{padding:12px;gap:8px}.battle-side strong{font-size:12px}.battle-side>span:not(.battle-ship){font-size:10px}.receipt-resources{gap:5px}.resource-ticker{font-variant-numeric:tabular-nums}.planet-switcher{min-width:0}}
@media(prefers-reduced-motion:reduce){.view-enter,.attack-imminent .hostile-countdown,.order-finished .resource-ticker,.battle-ship,.battle-health i{animation:none!important}.progress i,#nav button,.secondary-button,.primary-button,.orbit-slot{transition:none!important}}

.daily-progress{margin-bottom:18px}.daily-progress>p,.season-cosmetic p{color:#aab7c5;font-size:12px;line-height:1.6}
.daily-goal{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:13px 0;border-bottom:1px solid #ffffff12}.daily-goal>div{display:grid;gap:6px;flex:1}.daily-goal small{color:#b9c6cc;font-size:11px}.daily-goal progress{width:100%;height:7px;accent-color:#d3b579}.season-cosmetic{padding:16px 0 0}
html[data-planet-skin="aurora"] .hero-planet-art,html[data-planet-skin="aurora"] .planet-portrait{box-shadow:0 0 0 2px #8fe5d6,0 0 26px #73ccb855;border-radius:50%}
@media(max-width:600px){.daily-goal{flex-wrap:wrap}.daily-goal>div{min-width:180px}.daily-goal button{width:100%}}

.daily-progress>summary{cursor:pointer;font-weight:700;padding:3px 0;min-height:24px}.daily-progress>summary small{float:right;font-weight:400;font-size:10px;color:#bdc7d0}.daily-progress[open]>summary{margin-bottom:14px}
.mobile-planet-nav{display:none}
@media(max-width:600px){.mobile-planet-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:8px;background:#101925;border:1px solid #c8aa6b44;border-radius:9px}.mobile-planet-nav>span{display:grid;gap:4px;text-align:center;min-width:0}.mobile-planet-nav strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.mobile-planet-nav small{font-size:10px;color:#aebbc8}.mobile-planet-nav button{min-width:44px;min-height:44px}}
