:root{color-scheme:dark;font-family:Segoe UI,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;background:#03111d;color:#eef8ff;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #03111d;--panel: rgba(5, 24, 37, .94);--panel-strong: rgba(6, 29, 44, .98);--panel-soft: rgba(7, 31, 47, .78);--line: #163e57;--line-strong: #255d7a;--muted: #8fb3c9;--muted-2: #58788b;--text: #eef8ff;--cyan: #36c9ff;--cyan-soft: rgba(54, 201, 255, .13);--green: #59f49a;--green-soft: rgba(89, 244, 154, .12);--yellow: #ffd24b;--orange: #ff9d3c;--red: #ff5d67;--shadow: rgba(0, 0, 0, .42)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:radial-gradient(circle at 50% -10%,rgba(29,103,152,.22),transparent 34%),radial-gradient(circle at 18% 20%,rgba(40,115,170,.08),transparent 24%),linear-gradient(180deg,#041422,#02101a 72%,#020b12);background-attachment:fixed}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}h1,h2,h3,p{margin-top:0}.login-screen{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;padding:max(28px,env(safe-area-inset-top)) 18px max(28px,env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 16%,rgba(36,135,190,.16),transparent 30%),radial-gradient(circle at 70% 30%,rgba(255,255,255,.22) 0 1px,transparent 2px),radial-gradient(circle at 20% 60%,rgba(255,255,255,.16) 0 1px,transparent 2px),radial-gradient(circle at 82% 76%,rgba(255,255,255,.16) 0 1px,transparent 2px),linear-gradient(180deg,#041321,#020b13)}.login-planet{position:absolute;width:min(86vw,720px);aspect-ratio:1;top:-34%;right:-18%;border-radius:50%;filter:drop-shadow(0 0 70px rgba(39,174,237,.18));opacity:.72}.login-planet-core,.brand-orb{border-radius:50%;background:radial-gradient(circle at 32% 28%,rgba(130,223,255,.95) 0 4%,transparent 5%),radial-gradient(ellipse at 30% 42%,#4d8f5e 0 9%,transparent 10%),radial-gradient(ellipse at 65% 35%,#3e7754 0 12%,transparent 13%),radial-gradient(ellipse at 44% 68%,#2f6e4f 0 14%,transparent 15%),radial-gradient(circle at 35% 26%,#2d8fca,#0d476f 55%,#08253b 75%,#03131f);box-shadow:inset -24px -22px 42px #0000007a,inset 8px 8px 18px #81dcff1f,0 0 18px #3fc5ff40}.login-planet-core{width:100%;height:100%}.login-panel{position:relative;z-index:2;width:min(100%,420px);border:1px solid rgba(68,151,198,.58);border-radius:14px;background:linear-gradient(180deg,#071d2cf5,#04141ff7);padding:26px;box-shadow:0 24px 80px #0000006b,inset 0 1px #ffffff06;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-brand,.planet-identity,.panel-title-row{display:flex;align-items:center;gap:12px}.brand-orb{width:54px;height:54px;flex:0 0 auto;border:1px solid rgba(95,204,255,.55)}.brand-orb.small{width:42px;height:42px}.eyebrow{margin:0 0 4px;color:#7eb7d6;font-size:.65rem;line-height:1;letter-spacing:.12em;text-transform:uppercase}.login-brand h1,.planet-identity h1{margin:0;font-size:1.48rem;line-height:1.05;font-weight:700;letter-spacing:-.025em}.brand-subtitle,.planet-identity p{margin:5px 0 0;color:#a9c6d6;font-size:.78rem}.login-divider{height:1px;margin:24px 0 20px;background:linear-gradient(90deg,var(--cyan),rgba(54,201,255,.08))}.login-copy{margin:0 0 20px;color:#b7ccd9;font-size:.88rem;line-height:1.5}.login-form{display:grid;gap:14px}.login-form label{display:grid;gap:7px}.login-form label>span{color:#9fb9c9;font-size:.75rem}.login-form input{width:100%;min-height:44px;border:1px solid #1e526f;border-radius:7px;padding:10px 12px;background:#03131f;color:var(--text);transition:border-color .12s ease,box-shadow .12s ease}.login-form input:hover,.login-form input:focus{border-color:#2c83ad;box-shadow:0 0 0 3px #36c9ff0d}.login-error{margin:-2px 0 0;color:#ff8f96;font-size:.76rem}.primary-button{min-height:46px;border:1px solid #39d2ff;border-radius:7px;background:linear-gradient(180deg,#0e8bbc,#08729d);color:#fff;font-weight:700;box-shadow:0 0 18px #36c9ff1c}.primary-button:hover{background:linear-gradient(180deg,#13a2d8,#0a82ae)}.demo-hint{margin-top:18px;padding-top:14px;border-top:1px solid rgba(37,93,122,.6);color:#7693a4;font-size:.72rem}.demo-hint code{color:#c8dce8;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.72rem}.game-shell{width:min(100%,980px);min-height:100vh;margin:0 auto;padding:0 14px calc(92px + env(safe-area-inset-bottom))}.planet-stage{position:relative;min-height:520px;overflow:hidden;border-inline:1px solid rgba(22,62,87,.45);background:radial-gradient(circle at 84% 24%,rgba(255,191,84,.24),transparent 12%),radial-gradient(circle at 50% 38%,rgba(26,128,184,.1),transparent 38%),linear-gradient(180deg,#03131f,#031724 70%,#04131d)}.game-topbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:max(18px,env(safe-area-inset-top)) 18px 10px}.topbar-actions{display:flex;align-items:center;gap:8px}.server-card,.icon-button{min-height:36px;border:1px solid rgba(58,120,157,.6);border-radius:8px;background:#03131fc7;color:#b9cedb}.server-card{display:flex;align-items:center;gap:7px;padding:0 10px;font-size:.72rem}.icon-button{width:36px;padding:0;font-size:1.25rem;line-height:1}.icon-button:hover{border-color:#4a9bc6;background:#0a2f45e6}.status-dot{width:7px;height:7px;border-radius:50%;background:#657d8c;box-shadow:0 0 0 3px #657d8c14}.status-dot.online{background:var(--green);box-shadow:0 0 8px #59f49a80}.planet-scene{position:absolute;inset:0;overflow:hidden}.star{position:absolute;width:2px;height:2px;border-radius:50%;background:#fff;box-shadow:0 0 6px #ffffffa6}.star-a{left:12%;top:25%}.star-b{left:82%;top:14%}.star-c{left:72%;top:61%}.planet-glow{position:absolute;left:50%;bottom:10px;width:min(84vw,690px);aspect-ratio:1;transform:translate(-50%);border-radius:50%;box-shadow:0 0 80px #2fa9e642}.planet-sphere{position:absolute;left:50%;bottom:-165px;width:min(82vw,650px);aspect-ratio:1;transform:translate(-50%);overflow:hidden;border:1px solid rgba(89,201,255,.52);border-radius:50%;background:radial-gradient(circle at 32% 25%,rgba(255,255,255,.23),transparent 7%),radial-gradient(circle at 68% 18%,rgba(255,255,255,.1),transparent 14%),radial-gradient(circle at 34% 37%,#2d8ccb,#0d547d 38%,#0b3755 68%,#051b2b);box-shadow:inset -70px -70px 110px #00000080,inset 32px 22px 52px #a4e3ff1a,0 0 38px #3dbef62e}.landmass{position:absolute;background:linear-gradient(145deg,#3a8354,#1f5d3b 60%,#17452f);filter:drop-shadow(0 0 10px rgba(92,244,147,.08))}.landmass-a{left:12%;top:19%;width:52%;height:43%;border-radius:42% 58% 46% 54%/48% 37% 63% 52%;transform:rotate(-12deg)}.landmass-b{right:7%;top:30%;width:34%;height:39%;border-radius:56% 44% 57% 43%/48% 62% 38% 52%;background:linear-gradient(145deg,#73592d,#524521 65%,#473819);transform:rotate(12deg)}.landmass-c{left:34%;bottom:10%;width:30%;height:24%;border-radius:50%;background:linear-gradient(145deg,#317148,#1a5233)}.territory-outline{position:absolute;left:18%;top:23%;width:48%;height:40%;border:2px solid #55ff9a;border-radius:45% 55% 48% 52%/52% 38% 62% 48%;transform:rotate(-10deg);box-shadow:0 0 9px #55ff9ab3,inset 0 0 18px #55ff9a0f}.base-beacon{position:absolute;left:47%;top:43%;width:10px;height:10px;border:2px solid #d7fff0;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px #59f49a26,0 0 18px #59f49acc}.territory-card{position:absolute;z-index:4;left:50%;top:47%;transform:translate(-50%,-50%);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-width:min(76%,360px);border:1px solid rgba(89,244,154,.85);border-radius:8px;padding:11px 12px;background:#021e19db;box-shadow:0 0 18px #59f49a1a,inset 0 0 24px #59f49a0a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.territory-icon{color:var(--green);font-size:1.3rem}.territory-card strong,.territory-card span{display:block}.territory-card strong{font-size:.9rem}.territory-card div span{margin-top:3px;color:#9ecbb5;font-size:.7rem}.territory-card b{color:var(--green);font-size:.72rem;font-weight:700}.resource-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:-1px;padding:9px 0}.resource-chip{min-width:0;min-height:76px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;column-gap:9px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:9px 10px 8px;background:linear-gradient(180deg,#071e2dfa,#04141ffa)}.resource-chip.active{border-color:#59f49a94;box-shadow:inset 0 0 24px #59f49a09}.resource-glyph{grid-row:1 / 3;color:#5b7586;font-size:1.25rem}.seed-glyph{color:var(--green);text-shadow:0 0 10px rgba(89,244,154,.35)}.resource-chip small,.resource-chip strong,.resource-chip em{min-width:0}.resource-chip small{color:#a7c0d0;font-size:.66rem}.resource-chip strong{display:block;margin-top:2px;font-size:1rem;line-height:1}.resource-chip em{grid-column:2;color:var(--green);font-size:.58rem;font-style:normal;text-transform:uppercase;letter-spacing:.06em}.resource-chip.locked{opacity:.56}.resource-chip.locked em{color:#6f8999}.section-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#04141fe6}.section-tab{min-height:52px;border:0;border-right:1px solid rgba(22,62,87,.8);background:transparent;color:#8faec1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.82rem}.section-tab:last-child{border-right:0}.section-tab span{color:#9cc6df}.section-tab.active{color:#d9f7ff;background:linear-gradient(180deg,#14709a52,#0a3e5b47);box-shadow:inset 0 -2px var(--cyan)}.section-tab:disabled{cursor:default;opacity:.46}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.command-panel{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:linear-gradient(180deg,var(--panel-strong),var(--panel));box-shadow:inset 0 1px #ffffff05,0 8px 24px #0000001f}.panel-header{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid rgba(22,62,87,.78)}.panel-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #347eaa;border-radius:8px;color:#9adfff;background:#36c9ff12;font-size:1.15rem}.panel-icon.green{border-color:#59f49a8c;color:var(--green);background:var(--green-soft)}.panel-header h2{margin:0;font-size:1.02rem;font-weight:700;letter-spacing:-.015em}.panel-header p{margin:4px 0 0;color:#86a7ba;font-size:.7rem}.level-badge,.panel-help{flex:0 0 auto;border:1px solid #2a6483;color:#9fc6da;background:#072232d6}.level-badge{border-radius:5px;padding:5px 7px;font-size:.58rem;letter-spacing:.08em}.panel-help{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:.76rem}.status-table{padding:10px 14px}.status-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;border-bottom:1px solid rgba(22,62,87,.55);font-size:.72rem}.status-row:last-child{border-bottom:0}.status-row span{color:#96b2c3}.status-row strong{color:#d8eaf3;font-weight:600}.status-row strong.good{color:var(--green)}.status-row.muted-row{opacity:.5}.mini-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-top:1px solid var(--line);background:var(--line)}.mini-resource{min-width:0;min-height:86px;padding:10px;background:#061924;color:#597889}.mini-resource.active{background:linear-gradient(180deg,#0a3337eb,#051d24f5);color:#d5f8e5}.mini-resource small,.mini-resource strong,.mini-resource span{display:block}.mini-resource small{font-size:.61rem;color:currentColor;opacity:.8}.mini-resource strong{margin:7px 0 5px;font-size:1rem;color:currentColor}.mini-resource span{font-size:.56rem;color:currentColor;opacity:.68}.instruction-card{display:grid;grid-template-columns:auto 1fr;gap:11px;margin:0 14px 14px;border:1px solid rgba(49,103,135,.66);border-radius:8px;padding:11px;background:#0822319e}.instruction-card>span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #2b718f;border-radius:50%;color:var(--cyan);font-size:.65rem;font-weight:700}.instruction-card strong{display:block;font-size:.75rem}.instruction-card p{margin:4px 0 0;color:#7f9eb0;font-size:.66rem;line-height:1.35}.prototype-footer{display:flex;flex-wrap:wrap;gap:7px 15px;padding:12px 3px 5px;color:#4e7185;font-size:.6rem}.bottom-nav{position:fixed;z-index:20;left:50%;bottom:0;transform:translate(-50%);width:min(100%,980px);display:grid;grid-template-columns:repeat(8,minmax(72px,1fr));overflow-x:auto;border-top:1px solid #1c506d;background:#02101af5;box-shadow:0 -10px 36px #00000047;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding-bottom:env(safe-area-inset-bottom);scrollbar-width:none}.bottom-nav::-webkit-scrollbar{display:none}.bottom-nav-item{min-height:72px;border:0;background:transparent;color:#708fa3;display:grid;place-items:center;align-content:center;gap:5px}.bottom-nav-item span{font-size:1.15rem;line-height:1}.bottom-nav-item small{font-size:.62rem}.bottom-nav-item.active{color:var(--green);background:linear-gradient(180deg,#37be7614,#19774e21);box-shadow:inset 0 2px var(--green),0 -14px 24px #59f49a0a}.bottom-nav-item:disabled{cursor:default}@media(max-width:720px){.game-shell{padding-inline:0}.planet-stage{min-height:455px;border-inline:0}.planet-sphere{bottom:-120px;width:min(104vw,560px)}.planet-glow{width:min(106vw,580px)}.resource-strip,.section-tabs,.dashboard-grid,.prototype-footer{margin-left:10px;margin-right:10px}.resource-strip{grid-template-columns:repeat(4,minmax(118px,1fr));overflow-x:auto;scrollbar-width:none}.resource-strip::-webkit-scrollbar{display:none}.resource-chip{min-width:118px}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:520px){.login-panel{padding:22px}.game-topbar{align-items:flex-start;padding-inline:13px}.planet-identity h1{font-size:1.25rem}.brand-orb.small{width:38px;height:38px}.server-card span:last-child{display:none}.territory-card{top:48%;min-width:78%}.section-tab{min-height:48px;gap:5px;font-size:.72rem}.section-tab span{font-size:.68rem}.mini-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.action-list{padding:10px}.action-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:62px;border:1px solid rgba(38,90,118,.82);border-radius:8px;padding:7px 9px;background:linear-gradient(180deg,#071f2df5,#051722f5)}.action-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(89,244,154,.5);border-radius:7px;background:#59f49a14;color:var(--green)}.action-copy{min-width:0}.action-copy strong,.action-copy span{display:block}.action-copy strong{color:#e3f1f7;font-size:.75rem}.action-copy span{margin-top:2px;color:#88a7b8;font-size:.58rem}.action-button{min-width:76px;min-height:34px;border:1px solid rgba(89,244,154,.78);border-radius:7px;padding:0 10px;background:linear-gradient(180deg,#168c58,#0e7044);color:#effff6;font-size:.66rem;font-weight:700}.action-button:disabled,.machine-build-button:disabled{cursor:default;border-color:#21485d;background:#081c27;color:#4c7083;box-shadow:none}.machine-action-list{display:grid;grid-template-columns:1fr;gap:5px}.machine-action-card{grid-template-columns:32px minmax(130px,1fr) auto minmax(260px,1.35fr);min-height:58px}.machine-upgrade{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border-left:1px solid rgba(38,90,118,.65);padding-left:10px}.machine-upgrade small,.machine-upgrade strong,.machine-upgrade span{display:block}.machine-upgrade small{color:#75dca4;font-size:.52rem;letter-spacing:.07em}.machine-upgrade strong{margin-top:2px;color:#dceef5;font-size:.64rem}.machine-upgrade span{margin-top:1px;color:#718f9f;font-size:.5rem}.compact-build{min-width:58px;min-height:31px;padding:0 8px;font-size:.61rem}.compact-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:720px){.machine-action-card{grid-template-columns:28px minmax(0,1fr) auto}.machine-upgrade{grid-column:2/4;border-left:0;border-top:1px solid rgba(38,90,118,.45);padding:5px 0 0}.action-icon{width:28px;height:28px}}.resource-strip{overflow-x:auto;scrollbar-width:thin}.resource-strip .resource-chip{min-width:128px}.resource-glyph.wood-glyph{color:#cda46f}.resource-glyph.water-glyph{color:#58c9ff}.resource-glyph.stone-glyph{color:#a2adba}.resource-glyph.metal-glyph{color:#c9e5f2}.resource-rate.positive{color:var(--green)}.section-tab:not(:disabled),.bottom-nav-item:not(:disabled){cursor:pointer}.dashboard-grid.single-column{grid-template-columns:minmax(0,1fr)}.five-resources{grid-template-columns:repeat(5,minmax(0,1fr))}.progression-panel{min-width:0}.progression-steps{display:grid;gap:1px;background:#234f668c}.progression-step{appearance:none;width:100%;min-height:72px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;border:0;padding:12px 14px;background:#041621f7;color:inherit;text-align:left}button.progression-step:hover{background:#072231fa}.progression-step>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #28556d;border-radius:50%;color:#83aabd;font-size:.68rem;font-weight:700}.progression-step strong,.progression-step small{display:block}.progression-step strong{color:#d9ebf4;font-size:.8rem}.progression-step small{margin-top:4px;color:#7595a7;font-size:.68rem}.progression-step.done>span{border-color:#59f49a8c;color:var(--green);background:#59f49a12}.locked-step{opacity:.52}.gathering-header{align-items:center;gap:14px}.batch-selector{display:flex;gap:4px;padding:4px;border:1px solid rgba(41,91,118,.78);border-radius:8px;background:#03131db8}.batch-button{min-width:42px;min-height:32px;border:1px solid transparent;border-radius:5px;background:transparent;color:#799aad;font-size:.68rem;font-weight:700}.batch-button:hover{color:#c4e5f3;background:#36c9ff12}.batch-button.active{border-color:#36c9ff73;background:#36c9ff1f;color:#bdeeff}.gathering-actions{display:grid;gap:8px}.action-economy{display:block;margin-top:7px;color:#6e91a5;font-size:.62rem;line-height:1.35}.action-economy b{padding:0 5px;color:#466b7f;font-weight:500}.automation-panel{overflow:hidden}.online-badge{border-color:#59f49a73;color:var(--green);background:#59f49a12}.automation-machine{margin:14px;border:1px solid rgba(44,99,128,.82);border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#061d2bf5,#03141ffa)}.machine-identity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border-bottom:1px solid rgba(36,82,106,.72)}.machine-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(89,244,154,.5);border-radius:9px;background:#59f49a14;color:var(--green);font-size:1.2rem;box-shadow:inset 0 0 16px #59f49a0a}.machine-identity small{color:#63899e;font-size:.58rem;letter-spacing:.1em}.machine-identity h3{margin:3px 0;color:#e6f6fc;font-size:1rem}.machine-identity p{margin:0;color:#7f9fb1;font-size:.68rem}.machine-count{min-width:64px;text-align:right}.machine-count span,.machine-count strong{display:block}.machine-count span{color:#6f91a4;font-size:.62rem}.machine-count strong{margin-top:2px;color:#effaff;font-size:1.35rem;line-height:1}.automation-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:15px;border-bottom:1px solid rgba(36,82,106,.72)}.flow-node{min-height:64px;display:grid;place-content:center;gap:4px;border:1px solid #244f67;border-radius:8px;background:#03131db8;text-align:center}.flow-node small{color:#6f91a4;font-size:.58rem;text-transform:uppercase;letter-spacing:.08em}.flow-node strong{color:#d7edf7;font-size:.76rem}.machine-node{border-color:#36c9ff80;background:#36c9ff12}.output-node{border-color:#59f49a80;background:#59f49a0f}.output-node strong{color:var(--green)}.flow-arrow{color:#497387;font-size:1rem}.automation-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid rgba(36,82,106,.72)}.automation-stat-grid>div{min-height:70px;display:grid;align-content:center;gap:5px;padding:10px 13px;border-right:1px solid rgba(36,82,106,.58)}.automation-stat-grid>div:last-child{border-right:0}.automation-stat-grid span{color:#7293a6;font-size:.62rem}.automation-stat-grid strong{color:#dcecf4;font-size:.78rem}.machine-build-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:15px}.build-label{display:block;margin-bottom:7px;color:#6d8da0;font-size:.58rem;letter-spacing:.09em}.cost-chips{display:flex;flex-wrap:wrap;gap:5px}.cost-chip{border:1px solid #264e64;border-radius:5px;padding:5px 7px;background:#021019b8;color:#7694a5;font-size:.62rem}.cost-chip.ready{border-color:#59f49a57;color:#a8d8bb}.machine-build-button{flex:0 0 auto;min-height:42px;border:1px solid rgba(89,244,154,.7);border-radius:7px;padding:0 15px;background:linear-gradient(180deg,#168c58,#0d6e43);color:#effff6;font-size:.72rem;font-weight:700}.machine-build-button:hover:not(:disabled){background:linear-gradient(180deg,#1aa969,#118350)}.machine-build-button:disabled{cursor:default;border-color:#25485c;background:#081c27;color:#4c7083}.automation-note{margin-top:0}@media(max-width:760px){.five-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-header{align-items:flex-start;flex-direction:column}.automation-stat-grid{grid-template-columns:1fr}.automation-stat-grid>div{min-height:54px;border-right:0;border-bottom:1px solid rgba(36,82,106,.58)}.automation-stat-grid>div:last-child{border-bottom:0}.machine-build-row{align-items:stretch;flex-direction:column}.machine-build-button{width:100%}}@media(max-width:520px){.resource-strip .resource-chip{min-width:116px}.five-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-selector{width:100%}.batch-button{flex:1 1 0}.automation-machine{margin:12px}.machine-identity{grid-template-columns:auto minmax(0,1fr)}.machine-count{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid rgba(36,82,106,.52);text-align:left}.automation-flow{grid-template-columns:1fr}.flow-arrow{transform:rotate(90deg);justify-self:center}}.game-shell{width:min(100%,1180px);height:100dvh;min-height:0;display:grid;grid-template-rows:minmax(210px,34dvh) auto auto minmax(0,1fr) auto;margin:0 auto;padding:0 12px;overflow:hidden}.planet-stage{min-height:0;height:auto}.planet-glow{bottom:-8%;width:min(58dvh,590px)}.planet-sphere{bottom:-39%;width:min(58dvh,590px)}.game-topbar{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:4px}.territory-card{bottom:10px;padding:8px 10px}.resource-strip{width:100%;min-height:0;margin:0;padding:5px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden}.resource-strip .resource-chip{min-width:0;min-height:54px;padding:6px 8px}.resource-chip .resource-glyph{font-size:.9rem}.resource-chip small{font-size:.56rem}.resource-chip strong{font-size:.9rem}.resource-chip em{font-size:.52rem}.section-tabs{min-height:38px;margin:0}.section-tab{min-height:38px;padding-block:4px;font-size:.76rem}.dashboard-grid,.dashboard-grid.single-column{min-height:0;height:100%;margin:6px 0;overflow:hidden}.command-panel{min-height:0;height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(54,201,255,.28) transparent}.base-command-panel,.progression-panel{overflow:hidden}.base-command-panel{display:grid;grid-template-rows:auto auto auto}.base-command-panel .status-table{padding:4px 10px}.base-command-panel .status-row{min-height:27px;font-size:.64rem}.base-command-panel .mini-resource-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.base-command-panel .mini-resource{min-height:54px;padding:6px 7px;display:flex;flex-direction:column;justify-content:center}.base-command-panel .mini-resource strong{margin:2px 0;font-size:.82rem}.base-command-panel .mini-resource small,.base-command-panel .mini-resource span{font-size:.52rem}.panel-header{min-height:0;padding:7px 10px}.panel-title-row{gap:8px}.panel-icon{width:30px;height:30px;font-size:.86rem}.panel-header h2{font-size:.88rem}.panel-header p{margin-top:1px;font-size:.58rem}.level-badge{padding:4px 6px;font-size:.52rem}.progression-step{min-height:49px;grid-template-columns:30px minmax(0,1fr);gap:7px;padding:6px 9px}.progression-step>span{width:25px;height:25px;font-size:.55rem}.progression-step strong{font-size:.67rem}.progression-step small{margin-top:1px;font-size:.55rem}.gathering-actions{gap:5px}.gathering-actions.action-list{padding:8px}.gathering-actions .action-card{min-height:61px;padding:7px 9px}.gathering-actions .action-icon{width:32px;height:32px}.gathering-actions .action-copy strong{font-size:.75rem}.gathering-actions .action-copy>span{margin-top:2px;font-size:.61rem}.gathering-actions .action-button{min-height:34px}.prototype-footer{display:none}.bottom-nav{position:static;z-index:20;width:100%;max-width:none;min-height:52px;display:grid;grid-template-columns:repeat(8,minmax(72px,1fr));overflow-x:auto;padding:0 0 env(safe-area-inset-bottom);border-top:1px solid rgba(35,82,108,.72);background:#03121df7}.bottom-nav-item{min-height:52px;gap:2px}.bottom-nav-item span{font-size:.95rem}.bottom-nav-item small{font-size:.53rem}@media(max-width:720px){.game-shell{height:100dvh;grid-template-rows:clamp(150px,22dvh,190px) 52px 42px minmax(0,1fr) 62px;padding:0;overflow:hidden}.planet-stage{height:auto;min-height:0;overflow:hidden}.game-topbar{padding:10px 14px 0}.brand-orb.small{width:38px;height:38px}.planet-identity h1{font-size:1.25rem}.planet-identity p{margin-top:2px;font-size:.7rem}.server-card{min-height:34px;padding:0 9px}.server-card span:last-child{display:none}.icon-button{width:34px;min-height:34px}.planet-sphere,.planet-glow{width:min(360px,88vw);bottom:-185px}.planet-glow{bottom:-155px}.territory-card{inset:auto 14px 12px;transform:none;min-width:0;width:auto;min-height:58px;padding:7px 10px;gap:8px}.territory-card strong{font-size:.78rem}.territory-card div span{margin-top:1px;font-size:.58rem}.territory-card b{font-size:.68rem}.territory-icon{font-size:1rem}.resource-strip{height:52px;margin:0;padding:3px 2px;gap:2px}.resource-strip .resource-chip{height:46px;min-height:46px;border-radius:6px;padding:4px 6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}.resource-chip .resource-glyph{display:none}.resource-chip small{font-size:.58rem}.resource-chip strong{margin:0;font-size:.86rem}.resource-chip em{font-size:.48rem;line-height:1}.section-tabs{height:42px;min-height:42px;margin:0 10px;border-radius:8px}.section-tab{height:42px;min-height:42px;font-size:.72rem}.dashboard-grid{height:100%;min-height:0;margin:7px 10px;grid-template-columns:1fr;gap:7px;overflow:hidden}.dashboard-grid:not(.single-column){grid-template-rows:minmax(0,1fr) 104px}.dashboard-grid:not(.single-column) .command-panel{height:100%;min-height:0}.base-command-panel{grid-template-rows:52px 82px 58px;align-self:start}.base-command-panel .panel-header{height:52px;padding:6px 10px}.base-command-panel .status-table{height:82px;padding:2px 10px}.base-command-panel .status-row{min-height:26px;font-size:.68rem}.base-command-panel .mini-resource-grid{height:58px}.base-command-panel .mini-resource{height:58px;min-height:58px;padding:5px 7px}.base-command-panel .mini-resource strong{font-size:.78rem}.base-command-panel .mini-resource small,.base-command-panel .mini-resource span{font-size:.5rem}.progression-panel{height:104px!important}.progression-panel .panel-header{height:44px;padding:5px 10px}.progression-panel .panel-header p{display:none}.progression-steps{height:60px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.progression-step{height:60px;min-height:60px;grid-template-columns:20px minmax(0,1fr);gap:5px;padding:5px 7px;border-bottom:0;border-right:1px solid rgba(35,82,108,.55)}.progression-step:last-child{border-right:0}.progression-step>span{width:20px;height:20px;font-size:.47rem}.progression-step strong{font-size:.58rem;line-height:1.12}.progression-step small{display:none}.dashboard-grid.single-column{margin-bottom:6px}.gathering-panel{overflow-y:auto}.gathering-header{position:sticky;top:0;z-index:3;background:#051825fa}.gathering-header p{display:none}.machine-action-list{padding:6px!important}.machine-action-card{grid-template-columns:28px minmax(0,1fr) auto;gap:7px;padding:7px!important}.machine-action-card .action-copy>span{font-size:.55rem}.machine-upgrade{grid-column:1/-1;margin-top:2px;padding:6px 0 0 35px}.compact-build{min-height:32px}.bottom-nav{height:62px;min-height:62px;grid-template-columns:repeat(5,1fr);overflow:hidden;padding-bottom:max(3px,env(safe-area-inset-bottom))}.bottom-nav-item{min-width:0;min-height:58px}.bottom-nav-item:nth-child(n+6){display:none}.bottom-nav-item span{font-size:.9rem}.bottom-nav-item small{font-size:.56rem}}@media(max-width:390px){.planet-identity h1{font-size:1.12rem}.brand-orb.small{width:34px;height:34px}.territory-card{left:10px;right:10px}.section-tabs,.dashboard-grid{margin-inline:6px}.base-command-panel .status-row{font-size:.63rem}.progression-step{padding-inline:4px}.progression-step strong{font-size:.54rem}}@media(max-width:720px)and (max-height:700px){.game-shell{grid-template-rows:135px 48px 38px minmax(0,1fr) 56px}.planet-identity p,.territory-card div span{display:none}.planet-sphere,.planet-glow{bottom:-210px}.territory-card{min-height:48px;bottom:7px}.resource-strip{height:48px}.resource-strip .resource-chip{height:42px;min-height:42px}.section-tabs,.section-tab{height:38px;min-height:38px}.dashboard-grid{margin-block:5px;gap:5px}.dashboard-grid:not(.single-column){grid-template-rows:minmax(0,1fr) 88px}.base-command-panel{grid-template-rows:44px 68px 50px}.base-command-panel .panel-header{height:44px}.base-command-panel .status-table{height:68px}.base-command-panel .status-row{min-height:21px}.base-command-panel .mini-resource-grid,.base-command-panel .mini-resource{height:50px;min-height:50px}.progression-panel{height:88px!important}.progression-panel .panel-header{height:36px}.progression-steps,.progression-step{height:52px;min-height:52px}.bottom-nav{height:56px;min-height:56px}.bottom-nav-item{min-height:52px}}.planet-nameplate,.base-motto,.colony-hero,.gather-tip{display:none}@media(max-width:720px){body{background:#020c14}.game-shell{display:block;height:auto;min-height:100dvh;padding:0 10px 82px;overflow:visible}.planet-stage{height:350px;min-height:350px;margin:0 -10px;overflow:hidden;background:radial-gradient(circle at 50% 48%,rgba(28,143,201,.15),transparent 38%),linear-gradient(180deg,#03111d,#041b2a)}.game-topbar{height:78px;padding:18px 18px 8px;align-items:center}.brand-orb.small{width:48px;height:48px}.planet-identity h1{font-size:1.45rem}.planet-identity p{display:block;font-size:.72rem;color:#b7d0df}.server-card{border:0;background:transparent;font-size:.68rem;color:#fff;padding:0 4px}.server-card .status-dot{display:none}.icon-button{font-size:0;width:34px;border:0;background:transparent}.icon-button:after{content:"⚙";font-size:1.1rem;color:#a9c4d5}.planet-sphere{width:570px;max-width:135vw;bottom:-300px;border-color:#46c8ffbf;box-shadow:0 0 55px #2cb0eb40}.planet-glow{width:570px;max-width:135vw;bottom:-275px}.planet-nameplate{display:flex;position:absolute;z-index:4;top:118px;left:50%;transform:translate(-50%);width:72%;flex-direction:column;align-items:center;padding:13px 10px 28px;border-radius:14px;background:linear-gradient(180deg,#06282ec2,#041c2694);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.planet-nameplate strong{font-size:1.35rem}.planet-nameplate span{margin-top:3px;color:#b7cddd;font-size:.78rem}.territory-card{inset:auto 12% 20px;width:auto;min-height:68px;padding:10px 13px;border-radius:12px;background:#01161ae6;z-index:6}.territory-card strong{font-size:.78rem}.territory-card div span{display:block;font-size:.6rem}.territory-card b,.territory-icon{font-size:.72rem}.resource-strip{height:100px;margin:0;padding:8px 0;gap:6px;overflow:visible}.resource-strip .resource-chip{height:84px;min-height:84px;padding:7px 5px;align-items:center;text-align:center;border-radius:9px;background:linear-gradient(180deg,#061c2afa,#03111bfa)}.resource-chip .resource-glyph{display:block;font-size:1.35rem}.resource-chip small{font-size:.58rem}.resource-chip strong{font-size:.95rem}.resource-chip em{display:none}.seed-glyph{color:#55ef83}.wood-glyph{color:#e7923f}.water-glyph{color:#4bc8ff}.stone-glyph{color:#9aabba}.metal-glyph{color:#c478e8}.section-tabs{height:62px;margin:0;border-radius:9px;grid-template-columns:repeat(3,1fr)}.section-tab{height:62px;min-height:62px;flex-direction:column;gap:4px;font-size:.67rem}.section-tab span{font-size:1rem}.section-tab.active{box-shadow:inset 0 -3px #35caff;background:linear-gradient(180deg,#11729d59,#05304840)}.dashboard-grid,.dashboard-grid.single-column{display:grid;height:auto;margin:12px 0;overflow:visible;gap:12px}.dashboard-grid:not(.single-column){grid-template-rows:auto auto auto}.command-panel,.base-command-panel,.progression-panel{height:auto!important;overflow:hidden;border-radius:12px}.base-command-panel{display:block}.base-command-panel .panel-header{height:74px;padding:12px 14px}.panel-icon{width:46px;height:46px;font-size:1.2rem;border-radius:10px}.panel-header h2{font-size:1.02rem}.panel-header p{display:block!important;font-size:.66rem}.level-badge{font-size:.55rem}.base-command-panel .status-table{height:auto;padding:8px 14px}.base-command-panel .status-row{min-height:38px;font-size:.72rem}.base-command-panel .mini-resource-grid{display:none}.base-motto{display:block;margin:0 14px 14px;padding:13px;border:1px solid rgba(29,78,103,.7);border-radius:8px;text-align:center;color:#a8c0cf;font-size:.7rem;font-style:italic;line-height:1.45}.progression-panel .panel-header{height:68px;padding:10px 14px}.progression-steps{display:block;height:auto}.progression-step{height:62px;min-height:62px;display:grid;grid-template-columns:42px 1fr;padding:8px 14px;border-right:0;border-bottom:1px solid rgba(28,72,96,.55)}.progression-step>span{width:36px;height:36px;font-size:.68rem}.progression-step strong{font-size:.72rem}.progression-step small{display:block;font-size:.6rem}.colony-hero{display:flex;height:130px;border:1px solid #214b63;border-radius:12px;align-items:flex-end;padding:16px;background:radial-gradient(circle at 70% 70%,rgba(67,154,116,.3),transparent 22%),linear-gradient(155deg,#745c66,#274455 38%,#173a34 65%,#071b24);overflow:hidden}.colony-hero div{padding:6px 8px;background:#020e14a6;border-radius:6px}.colony-hero strong,.colony-hero span{display:block}.colony-hero strong{font-size:.8rem}.colony-hero span{font-size:.72rem}.gathering-panel{overflow:hidden}.gathering-header{position:static;height:78px;padding:12px 14px}.gathering-header p{display:block}.machine-action-list{padding:8px!important;gap:7px}.machine-action-card{min-height:116px;display:grid;grid-template-columns:54px minmax(0,1fr) 92px;grid-template-rows:auto auto;gap:7px;padding:9px!important;border-radius:10px}.machine-action-card .action-icon{width:54px;height:54px;font-size:1.4rem}.machine-action-card .action-copy strong{font-size:.78rem}.machine-action-card .action-copy>span{font-size:.58rem}.machine-action-card .action-button{width:92px;height:38px;font-size:.68rem}.machine-upgrade{grid-column:2/4;display:grid;grid-template-columns:1fr 92px;min-height:48px;margin:0;padding:7px 0 0;border-top:1px solid rgba(38,90,118,.45)}.machine-upgrade small{font-size:.54rem}.machine-upgrade strong{font-size:.62rem}.machine-upgrade span{font-size:.52rem}.compact-build{width:92px;height:38px;padding:0 5px;font-size:.58rem}.gather-tip{display:flex;gap:10px;margin:4px 8px 12px;padding:14px;border:1px solid #1e526d;border-radius:10px;color:#c7dce7;font-size:.65rem;line-height:1.4}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(100%,720px);height:72px;min-height:72px;grid-template-columns:repeat(5,1fr);background:#02101af7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav-item{min-height:68px}.bottom-nav-item:nth-child(n+6){display:none}.bottom-nav-item span{font-size:1rem}.bottom-nav-item small{font-size:.58rem}}@media(max-width:720px){.resource-strip{height:72px;padding:5px 0;gap:5px}.resource-strip .resource-chip{height:62px;min-height:62px;padding:4px 3px;border-radius:8px;gap:0}.resource-chip .resource-glyph{font-size:1rem;line-height:1;margin-bottom:2px}.resource-chip small{font-size:.49rem;line-height:1.05}.resource-chip strong{font-size:.78rem;line-height:1.05;margin-top:2px}}@media(max-width:720px){.game-shell{padding-left:6px;padding-right:6px}.planet-stage{margin-left:-6px;margin-right:-6px}.dashboard-grid,.dashboard-grid.single-column{margin:7px 0;gap:7px}.command-panel,.base-command-panel,.progression-panel{border-radius:9px}.section-tabs{height:52px}.section-tab{height:52px;min-height:52px;gap:2px}.panel-header{padding:7px 9px}.panel-icon{width:36px;height:36px;border-radius:8px;font-size:1rem}.panel-header h2{font-size:.9rem}.panel-header p{font-size:.57rem}.base-command-panel .panel-header{height:58px;padding:7px 9px}.base-command-panel .status-table{padding:4px 9px}.base-command-panel .status-row{min-height:31px}.base-motto{margin:0 9px 9px;padding:8px}.progression-panel .panel-header{height:54px;padding:7px 9px}.progression-step{height:52px;min-height:52px;grid-template-columns:34px 1fr;padding:5px 9px}.progression-step>span{width:28px;height:28px}.progression-step small{font-size:.55rem}.colony-hero{height:100px;padding:10px}.gathering-header{height:58px;padding:7px 9px}.machine-action-list{padding:5px!important;gap:5px}.machine-action-card{min-height:78px;grid-template-columns:38px minmax(0,1fr) 76px;grid-template-rows:auto auto;gap:4px 7px;padding:6px 7px!important;border-radius:8px}.machine-action-card .action-icon{width:38px;height:38px;font-size:1.05rem;border-radius:7px}.machine-action-card .action-copy strong{font-size:.72rem}.machine-action-card .action-copy>span{margin-top:1px;font-size:.52rem}.machine-action-card .action-button{width:76px;height:32px;min-height:32px;padding:0 6px;font-size:.61rem}.machine-upgrade{grid-column:2/4;grid-template-columns:minmax(0,1fr) 76px;min-height:31px;gap:6px;padding:4px 0 0}.machine-upgrade strong{margin:0;font-size:.57rem}.machine-upgrade strong em{color:#63ee9b;font-style:normal;font-weight:600}.machine-upgrade span{margin:1px 0 0;font-size:.46rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-build{width:76px;height:30px;min-height:30px;padding:0 4px;font-size:.51rem}.gather-tip{margin:2px 5px 7px;padding:9px;font-size:.58rem}.bottom-nav{height:64px;min-height:64px}.bottom-nav-item{min-height:60px}}@media(max-width:720px){.planet-stage{height:300px;min-height:300px}.planet-nameplate{top:104px;padding:8px 8px 22px}.planet-nameplate strong{font-size:1.12rem}.territory-card{min-height:54px;bottom:12px;padding:6px 9px}.resource-strip{height:58px;padding:3px 0;gap:3px}.resource-strip .resource-chip{height:52px;min-height:52px;padding:3px 2px}.resource-chip .resource-glyph{font-size:.82rem;margin-bottom:1px}.resource-chip small{font-size:.44rem}.resource-chip strong{font-size:.72rem}.section-tabs{height:44px}.section-tab{height:44px;min-height:44px;font-size:.6rem}.section-tab span{font-size:.82rem}.dashboard-grid,.dashboard-grid.single-column{margin:5px 0;gap:5px}.gathering-header{height:46px;padding:5px 7px}.gathering-header .panel-icon{width:30px;height:30px}.gathering-header h2{font-size:.82rem}.gathering-header p{font-size:.5rem}.machine-action-list{padding:3px!important;gap:3px}.machine-action-card{min-height:57px;grid-template-columns:30px minmax(0,1fr) 64px;grid-template-rows:26px 25px;gap:2px 5px;padding:3px 5px!important;border-radius:6px}.machine-action-card .action-icon{width:30px;height:30px;grid-row:1/3;font-size:.82rem;border-radius:5px}.machine-action-card .action-copy{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}.machine-action-card .action-copy strong{font-size:.62rem;white-space:nowrap}.machine-action-card .action-copy strong b{margin-left:4px;color:#fff;font-size:.7rem}.machine-action-card .action-copy>span{margin:0;font-size:.44rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.machine-action-card .action-button{grid-column:3;grid-row:1;width:64px;height:25px;min-height:25px;border-radius:5px;padding:0 3px;font-size:.53rem}.machine-upgrade{grid-column:2/4;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) 64px;min-height:25px;height:25px;gap:4px;padding:2px 0 0;border-top:1px solid rgba(38,90,118,.35)}.machine-upgrade>div{min-width:0;display:flex;align-items:center;gap:5px}.machine-upgrade strong{font-size:.49rem;white-space:nowrap}.machine-upgrade span{margin:0;font-size:.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#688899}.compact-build{width:64px;height:23px;min-height:23px;border-radius:5px;padding:0 2px;font-size:.43rem}.gather-tip{margin:2px 3px 5px;padding:6px 7px;font-size:.5rem}.panel-header{padding:5px 7px}.panel-icon{width:31px;height:31px}.base-command-panel .panel-header{height:48px;padding:5px 7px}.base-command-panel .status-table{padding:2px 7px}.base-command-panel .status-row{min-height:26px;font-size:.62rem}.base-motto{margin:0 7px 7px;padding:6px;font-size:.58rem}.progression-panel .panel-header{height:46px;padding:5px 7px}.progression-step{height:45px;min-height:45px;grid-template-columns:29px 1fr;padding:4px 7px}.progression-step>span{width:24px;height:24px;font-size:.52rem}.progression-step strong{font-size:.62rem}.progression-step small{font-size:.49rem}.colony-hero{height:82px;padding:7px}.bottom-nav{height:58px;min-height:58px}.bottom-nav-item{min-height:54px;gap:1px}.bottom-nav-item span{font-size:.82rem}.bottom-nav-item small{font-size:.5rem}}.frontier-map{position:absolute;inset:0;overflow:hidden;background:linear-gradient(135deg,#183d37 0 54%,#1a2429 54% 100%)}.map-grid{position:absolute;inset:0;opacity:.13;background-image:linear-gradient(rgba(150,210,220,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(150,210,220,.22) 1px,transparent 1px);background-size:28px 28px;transform:rotate(-8deg) scale(1.2)}.terrain{position:absolute;border-radius:50%;filter:blur(1px);opacity:.65}.terrain-a{width:42%;height:34%;left:5%;top:35%;background:#285e43}.terrain-b{width:30%;height:28%;left:34%;top:48%;background:#386f4a}.terrain-c{width:24%;height:24%;left:15%;top:66%;background:#194f54}.unclaimed-zone{position:absolute;right:-4%;top:0;width:45%;height:100%;background:linear-gradient(90deg,#1c2225b3,#11191e 55%,#0b1115)}.frontier-border{position:absolute;left:11%;top:29%;width:68%;height:62%;border:3px solid #4de9b1;border-right-width:5px;clip-path:polygon(0 8%,75% 0,100% 18%,94% 80%,67% 100%,5% 88%);filter:drop-shadow(0 0 5px rgba(77,233,177,.65))}.colony-base-node{position:absolute;left:39%;top:57%;display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(90,210,245,.8);border-radius:5px;background:#081f2ae0;color:#d9f4ff;font-style:normal}.colony-base-node span{font-size:1.2rem}.colony-base-node small{font-size:.42rem;color:#8fc9dc}.resource-node{position:absolute;display:grid;place-items:center;width:27px;height:27px;border:1px solid rgba(117,190,211,.75);border-radius:4px;background:#071b24e0;font-size:.62rem}.node-water{left:18%;top:65%;color:#54cfff}.node-stone{left:55%;top:43%;color:#c0ccd4}.node-wood{left:27%;top:42%;color:#7fea9d}.ai-frontier-bot{position:absolute;right:18%;top:56%;display:grid;place-items:center;width:38px;height:38px;border:1px solid #61efb8;border-radius:5px;background:#0b2830;color:#61efb8;box-shadow:0 0 8px #46ebae47}.ai-frontier-bot span{font-size:.85rem}.ai-frontier-bot small{position:absolute;top:41px;white-space:nowrap;font-size:.4rem;color:#bfe4da}.ai-frontier-bot i{position:absolute;right:-11px;width:12px;height:2px;background:#61efb8;box-shadow:0 0 5px #61efb8}.map-controls{position:absolute;left:8px;top:46%;display:grid;gap:3px}.map-controls button{width:29px;height:29px;border:1px solid rgba(83,142,167,.75);border-radius:3px;background:#071b26db;color:#b9d7e4;font-size:.78rem}@media(max-width:720px){.planet-stage{height:300px;min-height:300px;background:#102b31}.frontier-map{top:72px;background:linear-gradient(135deg,#1c5140 0 55%,#20282b 55% 100%)}.planet-sphere,.planet-glow{display:none}.planet-nameplate.map-title{top:82px;left:12px;transform:none;width:auto;min-width:132px;align-items:flex-start;padding:6px 9px;border:1px solid rgba(62,127,151,.65);border-radius:4px;background:#081f2bd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.planet-nameplate.map-title strong{font-size:.72rem}.planet-nameplate.map-title span{margin-top:1px;font-size:.48rem}.territory-card.map-territory{left:auto;right:9px;bottom:8px;width:176px;min-height:42px;padding:5px 7px;border-radius:4px;background:#071c25e6;border-color:#4de9b1b3}.territory-card.map-territory strong{font-size:.58rem}.territory-card.map-territory div span{font-size:.44rem}.territory-card.map-territory b{font-size:.5rem}.frontier-border{left:12%;top:26%;width:66%;height:66%;border-width:2px;border-right-width:4px}.colony-base-node{left:39%;top:52%;width:44px;height:44px}.resource-node{width:23px;height:23px}.ai-frontier-bot{right:19%;top:54%;width:31px;height:31px}.ai-frontier-bot small{top:34px}.map-controls{left:7px;top:45%}.map-controls button{width:26px;height:26px}}.tile-map{position:absolute;inset:72px 0 0;display:grid;grid-template-columns:repeat(8,64px);grid-auto-rows:64px;justify-content:center;align-content:center;background:#14252a;transform:translateY(8px)}.map-tile{position:relative;background:#18272b;border:1px solid rgba(85,113,120,.12)}.map-tile.claimed{background:#1b493d}.map-tile:nth-child(3n).claimed{background:#205141}.map-tile:nth-child(4n).claimed{background:#1a443b}.edge{position:absolute;z-index:4;background:#55efb7;box-shadow:0 0 5px #55efb7b3}.edge.north,.edge.south{left:-1px;width:calc(100% + 2px);height:2px}.edge.north{top:-1px}.edge.south{bottom:-1px}.edge.east,.edge.west{top:-1px;height:calc(100% + 2px);width:2px}.edge.east{right:-1px}.edge.west{left:-1px}.map-object{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;height:38px;border:1px solid #5c9cb5;border-radius:3px;background:#092533;color:#d8f4ff;font-size:.9rem}.map-object small{font-size:.34rem}.bot-object{border-color:#55efb7;color:#55efb7}.factory-object{border-color:#e5bd61;color:#e5bd61}.utility-panel{min-height:220px}.utility-list{padding:6px}.utility-row{min-height:44px;display:grid;grid-template-columns:1fr 1.4fr auto;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid rgba(52,91,110,.45);font-size:.65rem}.utility-row span{color:#88a8b8}.utility-row b{color:#5ceaa7;font-size:.58rem}@media(max-width:720px){.tile-map{inset:72px 0 0;grid-template-columns:repeat(8,48px);grid-auto-rows:48px;justify-content:center;align-content:center;transform:translate(10px,5px)}.map-tile{border-color:#5d7e841a}.map-object{width:30px;height:30px;font-size:.7rem}.map-object small{font-size:.28rem}.section-tabs{grid-template-columns:repeat(4,1fr)}.section-tab{font-size:.52rem}.utility-panel{min-height:180px}.utility-row{min-height:38px;padding:4px 6px;font-size:.58rem}}.tile-map-viewport{position:absolute;inset:72px 0 0;overflow:hidden;background:#14252a}.tile-map{inset:50% auto auto 50%;width:768px;height:640px;display:grid;grid-template-columns:repeat(12,64px);grid-template-rows:repeat(10,64px);justify-content:initial;align-content:initial;transform-origin:center;transition:transform .16s ease;will-change:transform}.map-controls{z-index:12}.map-controls small{display:block;width:29px;text-align:center;color:#8eb2c0;font-size:.45rem;padding-top:2px}@media(max-width:720px){.tile-map-viewport{inset:72px 0 0}.tile-map{left:50%;top:50%;width:576px;height:480px;grid-template-columns:repeat(12,48px);grid-template-rows:repeat(10,48px);transform-origin:center}.map-controls small{width:26px;font-size:.42rem}}.tile-map.large-map{width:1920px;height:1920px;grid-template-columns:repeat(40,48px);grid-template-rows:repeat(40,48px)}@media(max-width:720px){.tile-map.large-map{width:1600px;height:1600px;grid-template-columns:repeat(40,40px);grid-template-rows:repeat(40,40px)}.tile-map.large-map .map-object{width:28px;height:28px}}.planet-stage.map-expanded{position:relative!important;inset:auto!important;z-index:30!important;width:100%!important;height:75dvh!important;min-height:75dvh!important;margin:0!important;background:#102b31!important}.planet-stage.map-expanded .frontier-map{top:72px!important}.planet-stage.map-expanded .tile-map-viewport{inset:72px 0 0!important}.planet-stage.map-expanded .map-title,.planet-stage.map-expanded .map-territory{display:none!important}.planet-stage.map-expanded .map-controls{top:18px!important;left:14px!important}.planet-stage.map-expanded .map-controls button{width:36px;height:36px;font-size:1rem}.planet-stage.map-expanded .map-controls small{width:36px;font-size:.55rem}.tile-map-viewport{background:radial-gradient(circle at 32% 28%,rgba(41,91,78,.3),transparent 26%),radial-gradient(circle at 70% 65%,rgba(33,72,82,.24),transparent 30%),#122329}.map-tile{transition:background .12s ease}.map-tile.claimed.terrain-0,.map-tile.claimed.terrain-5{background:#245747}.map-tile.claimed.terrain-2,.map-tile.claimed.terrain-8{background:#173f39}.map-tile.claimed.terrain-3{background:#285044}.map-tile.claimed.terrain-7{background:#1d5945}.map-tile:not(.claimed).terrain-1,.map-tile:not(.claimed).terrain-9{background:#17292e}.map-tile:not(.claimed).terrain-4{background:#14242a}.map-tile.claimed.terrain-6:after{content:"";position:absolute;inset:30%;border-radius:50%;background:#5b976f38}.map-tile.claimed.terrain-10:after{content:"";position:absolute;left:20%;top:22%;width:22%;height:22%;border-radius:50%;background:#50818e38;box-shadow:14px 10px #50818e1f}.world-map{position:absolute;left:50%;top:50%;width:6144px;height:6144px;transform-origin:center;transition:transform .16s ease;will-change:transform}.world-chunks{position:absolute;inset:0;display:grid;grid-template-columns:repeat(12,512px);grid-template-rows:repeat(12,512px);background:#102329}.world-chunk{display:block;border:1px solid rgba(72,111,119,.13);background:#14282d}.world-chunk.chunk-0{background:#152c30}.world-chunk.chunk-1{background:#12262b}.world-chunk.chunk-2{background:#18302f}.world-chunk.chunk-3{background:#132a31}.world-chunk.chunk-4{background:#172b2c}.world-chunk:after{content:"";display:block;width:100%;height:100%;background:radial-gradient(circle at 35% 38%,rgba(42,91,72,.24),transparent 32%),radial-gradient(circle at 72% 68%,rgba(34,68,76,.2),transparent 30%)}.world-map>.tile-map.large-map{position:absolute;left:50%;top:50%;width:1920px;height:1920px;transform:translate(-50%,-50%);display:grid;grid-template-columns:repeat(40,48px);grid-template-rows:repeat(40,48px);z-index:2}@media(max-width:720px){.world-map{width:5120px;height:5120px}.world-chunks{grid-template-columns:repeat(12,426.6667px);grid-template-rows:repeat(12,426.6667px)}.world-map>.tile-map.large-map{width:1600px;height:1600px;grid-template-columns:repeat(40,40px);grid-template-rows:repeat(40,40px)}}
