/* Original orbital-console styling inspired by classic browser strategy layouts. */
:root { --bg:#0b0d22; --panel:#25283f; --text:#e0e3f2; --muted:#a5acc6; --cyan:#a6d9dc; --line:#555b7c; font-family:Tahoma,Arial,sans-serif; }
body { background:#0b0d22; font-size:12px; }
.starfield { background:radial-gradient(ellipse at top,#202341,#0b0d22 70%); }.starfield::before,.starfield::after { display:none; }
.app-shell { max-width:1320px; margin:14px auto; min-height:calc(100vh - 28px); grid-template-columns:180px minmax(0,1fr); grid-template-rows:88px 1fr; gap:12px; padding:0 14px; }
.topbar { position:relative; top:auto; padding:8px; gap:9px; min-height:0; flex-wrap:wrap; border:1px solid #626b8a; border-radius:7px; background:linear-gradient(#494d70,#22243f 45%,#333752); box-shadow:inset 0 1px #9ca5c455,0 3px 8px #0008; }
.brand { flex:0 0 162px; }.brand-mark { border-radius:4px; }.brand strong { font-size:12px; }
.resource-ticker { gap:3px; max-width:none; grid-template-columns:repeat(4,minmax(70px,1fr)); }.resource { padding:5px 8px; border:1px solid #656a89; border-radius:2px; background:linear-gradient(#535778,#32364f); }.resource strong { font-size:12px; text-align:right; }.resource-top { color:#e2e5f5; font-size:10px; }
.planet-switch { display:grid; gap:4px; font-size:10px; color:#c9d0e6; min-width:135px; }.planet-switch select { max-width:180px; padding:4px; color:#e2e7f5; background:#1a2034; border:1px solid #6c7392; }
.commander { width:100%; justify-content:flex-end; font-size:10px; height:15px; }.icon-button { font-size:14px; }
.sidebar { padding:0; border:0; background:none; }.planet-card { padding:12px; margin:0 0 12px; border-radius:5px; background:#282c47; }
nav { padding:0; display:block; border:1px solid #4d5478; border-radius:5px; overflow:hidden; background:#252942; }nav h2 { margin:0; padding:8px; font-size:12px; text-align:center; color:#f0edce; background:linear-gradient(#515777,#11152c 60%,#323854); border-top:1px solid #717999; border-bottom:1px solid #717999; }nav h2:not(:first-child) { margin-top:16px; }nav button { width:100%; margin:0; padding:7px 10px; border-radius:0; font-size:11px; border-bottom:1px solid #62698a; background:linear-gradient(#474c70,#303550); color:#d9ddec; }nav button:hover,nav button.active { color:white; background:linear-gradient(#7078a0,#414b76); box-shadow:inset 3px 0 #a8d5de; }nav button span { font-size:12px; }.nav-info { padding:10px; margin:0; line-height:1.7; color:#b1bad2; font-size:11px; }.sidebar-footer { margin-top:14px; padding:10px; border:1px solid #565e80; background:#272c47; }
.content { padding:0 0 30px; min-width:0; }.view-heading { margin-bottom:12px; gap:10px; padding:10px 12px; background:linear-gradient(#464c70,#242942); border:1px solid #5f688d; border-radius:5px; }.view-heading h1 { margin:3px 0; font-size:21px; letter-spacing:0; }.view-heading p { font-size:11px; margin:3px 0; }.eyebrow,.sector-label { font-size:9px; letter-spacing:.06em; }
.panel,.hero-panel { border-radius:4px; background:#292e4b; border-color:#596382; box-shadow:inset 0 1px #727c9633; }.panel-inner { padding:13px; }.panel-title { margin:0 0 10px; padding:7px 9px; background:linear-gradient(#454d73,#20263f); border:1px solid #566082; }.panel-title h2 { font-size:12px; }.panel-title span { font-size:9px; }.hero-panel { padding:15px; }.hero-panel h2 { font-size:19px; }.hero-panel p { font-size:12px; }.hero-planet-art { width:45%; height:220px; border:5px ridge #646b7b; border-radius:50%; }.overview-grid { gap:12px; }.metric-row { gap:6px; }.metric { padding:8px; }.metric strong { font-size:19px; }
.two-column { grid-template-columns:1fr; gap:16px; }.entity-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.entity-list > .panel-title { grid-column:1/-1; margin:0; }.entity-card { display:grid; grid-template-columns:1fr; gap:7px; padding:8px; border-radius:3px; background:linear-gradient(#343b5b,#1c223a); border:1px solid #60698a; box-shadow:none; }.entity-card::before,.entity-icon { display:none; }.entity-art { grid-column:1; grid-row:auto; width:100%; height:120px; border-radius:2px; object-fit:cover; }.entity-info { grid-column:1; grid-row:1; }.entity-info h2 { font-size:12px; margin:0 0 5px; }.entity-info p { font-size:10px; line-height:1.4; }.entity-info .meta { font-size:9px; }.entity-action { grid-column:1; display:block; min-width:0; text-align:left; }.entity-action .level { font-size:10px; }.entity-action .cost { font-size:10px; }.cost-token { padding:2px 4px; }.build-actions { gap:4px; }.primary-button,.secondary-button { border-radius:3px; padding:7px 9px; font-size:11px; }.primary-button { color:#f1f5ff; background:linear-gradient(#616e99,#35456e); border:1px solid #8697bf; }.secondary-button { background:linear-gradient(#454e70,#272f49); border:1px solid #637395; color:#dbe3f6; }
.galaxy-toolbar { gap:6px; margin:8px 0; }.galaxy-toolbar > div { gap:4px; }.galaxy-layout { grid-template-columns:minmax(0,1fr) 250px; gap:8px; }.universe-map { background:#737783; border-radius:2px; border:2px ridge #717a98; box-shadow:none; }.universe-map::before { display:none; }.survey-field { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }.signal-point i { width:4px; height:4px; }.signal-point span { font-size:9px; }.home-signal { color:#acffbe; }.home-signal i { border-color:#82ed9b; background:#7bf48f; width:5px; height:5px; }.galaxy-inspector { border-radius:2px; padding:12px; background:#282e4a; border:1px solid #616d91; max-height:620px; }.galaxy-inspector h2 { font-size:17px; }.galaxy-inspector p { font-size:11px; }.scanner-symbol { font-size:44px; }.map-caption { bottom:6px; left:6px; right:6px; padding:6px; color:#e0e4ec; background:#131828dd; letter-spacing:0; }.contact-console { margin-top:8px; border:1px solid #626e91; background:#292f49; }.contact-console .panel-title { margin:0; }.contact-console table { width:100%; border-collapse:collapse; font-size:11px; }.contact-console th,.contact-console td { text-align:left; padding:7px; border:1px solid #4d5876; }.contact-console th { color:#dbe1f1; background:#394562; }.contact-console tr.selected { background:#414c72; }.contact-console td button { border:0; background:none; color:white; text-decoration:underline; font-size:11px; text-align:left; }
@media(max-width:1000px) { .galaxy-layout { grid-template-columns:minmax(0,1fr) 210px; }.brand { flex-basis:145px; }.entity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }.topbar { min-height:88px; }.app-shell { grid-template-rows:auto 1fr; } }
@media(max-width:700px) { .app-shell { display:block; margin:7px auto; padding:0 8px; }.topbar { position:relative; }.brand { flex-basis:100%; }.resource-ticker { order:0; flex-basis:100%; }.sidebar { margin:10px 0; }.planet-card,.sidebar-footer,.nav-info,nav h2 { display:none; }nav { display:flex; overflow:auto; }nav button { flex:0 0 auto; width:auto; }.content { padding:0; }.galaxy-layout { grid-template-columns:1fr; }.galaxy-inspector { max-height:none; }.hero-planet-art { height:150px; }.view-heading h1 { font-size:18px; }.entity-list { grid-template-columns:repeat(2,minmax(0,1fr)); }.entity-art { height:100px; }.entity-action { grid-column:1; }.contact-console { overflow:auto; }.contact-console table { min-width:460px; } }
@media(max-width:400px) { .entity-list { grid-template-columns:1fr; } }
