/* Empty console surfaces. Text and controls occupy explicit slots in 1600x900 coordinates. */
#topbar,#command-deck,#sidebar,#fleet-panel{background-image:none;background-color:#0c1720;border-image:none;box-shadow:0 0 18px #0008}
#topbar{height:66px;padding:0 20px;display:grid;grid-template-columns:218px minmax(150px,1fr) 190px 250px 92px 82px 104px;gap:14px;border-bottom:2px solid #526770;align-items:center}
#topbar>*{min-width:0;margin:0;max-width:100%;position:static;transform:none}
#topbar .brand-button{padding:0;font-size:24px;border:0;text-align:left;background:none;box-shadow:none}
#topbar .brand-button small{display:none}
#topbar .top-resource{display:grid;grid-template-columns:auto 1fr auto;gap:8px;height:44px;padding:0 12px;border-left:1px solid #354854;align-items:center}
#topbar .top-resource i{display:none}#topbar .top-resource span{font-size:12px;color:#90aab5}#topbar .top-resource b{font-size:21px;line-height:26px;white-space:nowrap;font-variant-numeric:tabular-nums}#topbar .top-resource small{font-size:11px}
#topbar .top-resource:has(#energy){grid-template-columns:auto 1fr}#energy{color:#95d6e8!important;text-align:right}#clock{padding:0;border:0;font-size:18px}#pause-button{height:38px;font-size:14px;padding:8px;border:1px solid #516875;border-image:none;background:#1c2b35}
#fleet-panel{position:absolute;top:66px;left:0;width:260px;bottom:148px;border-right:1px solid #526770;display:flex;flex-direction:column;padding:0 13px 13px}
#fleet-panel .side-heading{height:47px;padding:0;border-bottom:1px solid #324651;font-size:16px;letter-spacing:0}#fleet-total{color:#8eb4c5;font-size:12px}
.fleet-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:11px 0;flex-shrink:0}
#game .fleet-tabs button,#game .produce-categories button{height:34px;font-size:13px;padding:5px;border:1px solid #3c5360;border-image:none;background:#15242e;color:#adc1cc;box-shadow:none}
#game .fleet-tabs button.selected,#game .produce-categories button.selected,#game .blueprint.selected{background:#193d52;border:1px solid #78c4ee;color:#eefaff;box-shadow:inset 0 0 8px #63bcdf21}
#fleet-content{min-height:0;flex:1;overflow-x:hidden;padding-right:3px;scrollbar-gutter:stable}
.panel-caption{display:flex;justify-content:space-between;color:#d6e7ed;font-size:13px;padding:4px 0 13px;gap:8px}.panel-caption span{color:#7facbf;font-size:11px;white-space:nowrap}.panel-empty{padding:30px 6px;font-size:13px;color:#8098a7}
.weapon-status{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;padding:11px 0;border-bottom:1px solid #30424c}.weapon-status img{width:36px;height:47px;object-fit:contain}.weapon-status b{display:block;font-size:13px;font-weight:500;color:#c9dce4}.weapon-status span{display:block;color:#e4c48b;font-size:12px;margin:5px 0}.weapon-status small{font-size:10px;color:#7897a7}.cooldown-track{height:3px;background:#1b303d;margin-bottom:6px}.cooldown-track i{display:block;background:#8ed7e5;height:3px}.weapon-status.broken{opacity:.6}.weapon-status.broken span{color:#ee9b73}
.drone-status{padding:11px 0;border-bottom:1px solid #324650}.drone-status header{display:flex;align-items:center;gap:8px}.drone-status header img{height:27px;width:27px;object-fit:contain}.drone-status header b{font-size:14px;font-weight:500}.drone-status header strong{margin-left:auto;font-size:22px;color:#e0f1f5}.drone-counts{display:flex;justify-content:space-between;color:#91a8b6;font-size:12px;margin:10px 0}.drone-counts b{color:#cde8f0;font-size:14px;margin-left:7px}.drone-status footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.drone-status footer span{font-size:10px;color:#7d9aaa;min-width:0}
#game .drone-status footer button,#game .owned-unit button{border:1px solid #466274;border-image:none;background:#192c39;box-shadow:none;font-size:11px;padding:4px 8px;min-width:43px;height:25px}
.owned-unit{display:grid;grid-template-columns:47px minmax(0,1fr);gap:9px;border:1px solid #344951;background:#101f29;margin-bottom:7px;padding:9px 8px}.owned-unit.selected{border-color:#77b9dc;background:#183549}.owned-unit>img{width:47px;height:73px;object-fit:contain}.owned-unit b{font-size:13px;display:block;font-weight:500}.owned-unit small{display:block;font-size:10px;color:#9cb6c4;margin:6px 0}.owned-unit button{margin-top:8px}.unit-hull{height:3px;background:#283e47}.unit-hull i{height:3px;display:block;background:#84d4ac}
#sidebar{top:66px;bottom:148px;width:264px;padding:0 11px 10px;border-left:1px solid #526770}#sidebar>.side-heading{height:47px;padding:0;font-size:14px;letter-spacing:0;flex-shrink:0}#minimap{height:160px;width:240px;flex-shrink:0}.map-legend{padding:7px 2px;font-size:10px}.fleet-summary{padding:8px 0;margin:0;font-size:11px;gap:6px}.fleet-summary b{margin-left:6px}.side-bottom{display:none}
#side-content{padding-top:8px;padding-right:0;overflow-x:hidden;scrollbar-gutter:stable}.production-host{display:flex;justify-content:space-between;color:#d6e9f2;border-top:1px solid #354a57;font-size:14px;padding:9px 0}.production-host span{font-size:11px;color:#8ca7b5}.produce-categories{gap:4px;margin:0 0 9px}.blueprint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#game .blueprint{height:77px;border:1px solid #3d5665;border-image:none;background:#13232e;padding:5px;box-shadow:none}.blueprint img{display:block;width:42px;height:43px;object-fit:contain;margin:0 auto 3px}.blueprint span{font-size:12px;white-space:nowrap}.production-detail h3{font-family:DoHyeon,sans-serif;font-size:21px;line-height:25px;margin:12px 0 7px}.production-count{display:flex;gap:20px;color:#98b6c6;font-size:12px}.production-count b{font-size:16px;color:#d8edf4;margin-left:5px}.unit-spec{font-size:11px;color:#91aebe;margin:9px 0}.production-detail dl{margin:10px 0}.production-detail dl>div{display:flex;justify-content:space-between;margin:6px 0;font-size:12px}.production-detail dt{color:#8ba7b6}.production-detail dd{margin:0;color:#dfd0ad}.production-lock{font-size:11px;line-height:1.55;color:#d9a17d;margin:8px 0;min-height:0}
.blueprint-grid:has(>:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.blueprint-grid:has(>:nth-child(4)) .blueprint img{width:32px;height:36px}.blueprint-grid:has(>:nth-child(4)) .blueprint span{font-size:11px}.blueprint-grid:has(>:nth-child(4)) .blueprint{height:65px!important;padding:4px 1px!important}
#queue-strip>.queue-idle{position:static;display:block;white-space:nowrap;width:auto;max-width:none;height:auto;line-height:20px;padding:23px 0;background:none;border:0}
.drone-status header strong{font-size:20px}.drone-status header strong small{font-size:10px;color:#7897a7;margin-right:5px}
#game .produce-confirm{border:1px solid #7896a2;border-image:none;background:linear-gradient(#334a57,#1c303d);color:#edf6f7;height:43px;min-height:43px;width:100%;padding:7px 8px;font-size:16px;box-shadow:inset 0 1px #91b0bb55}#game .produce-confirm:disabled{color:#77909d;border-color:#354c59;background:#172832;opacity:.7}
#objective-box{left:282px;top:87px;width:342px;padding:11px 13px;background:linear-gradient(90deg,#07131ddc,#07131d70)}#objective-type{font-size:10px;margin-bottom:6px;letter-spacing:0}#objective-title{font-size:17px;line-height:22px}#objective-hint{font-size:11px;line-height:1.5;margin-top:5px}.objective-progress{margin-top:9px}.field-tips{display:none}
#camera-follow{position:absolute;left:580px;top:716px;width:436px;text-align:center;font-size:12px;padding:8px 14px;background:#091b28d9;border:1px solid #6b9bb766;color:#a9d2e8;pointer-events:none}
#command-deck{height:148px;display:grid;grid-template-columns:270px 280px minmax(0,1fr) 360px;gap:18px;padding:15px 20px;border-top:2px solid #617882}
#command-deck>section{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;height:auto;margin:0;transform:none}
#selection-info .selection-picture{position:relative;left:auto;top:auto}
#selection-info .selection-details{display:block;position:relative;left:auto;top:auto;width:auto;height:auto}
#selection-info .selection-details>*{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;height:auto;transform:none}
#selection-info .selection-details>.meter{width:100%;height:4px}
#selection-info.no-selection>*{visibility:hidden}#selection-info.no-selection:after{content:'선택 없음';position:absolute;left:0;top:43px;color:#6d8a9b;font-size:14px}
#command-deck .deck-console{grid-template-columns:1fr 1fr;grid-template-rows:78px 24px}
#selection-info{width:auto;min-width:0;display:flex;gap:11px;padding-right:13px;border-right:1px solid #344d5b}.selection-picture{width:60px;height:112px;flex-shrink:0;background:#081620;border:1px solid #34505e}.selection-picture img{width:50px;height:100px}.selection-details{min-width:0}.selection-details>small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px;line-height:16px;margin:0 0 4px}.selection-details strong{font-size:20px;line-height:24px;margin-bottom:8px}.selection-details>span{font-size:10px;line-height:16px}.meter{height:4px}.shield{margin-top:7px}
.order-controls{width:auto;min-width:0}.deck-label{font-size:12px;line-height:17px;height:19px;margin-bottom:7px}.deck-label span{font-size:10px}.order-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#game .order-grid button{height:39px;border:1px solid #4b6574;border-image:none;background:linear-gradient(#233743,#182b37);font-size:11px;padding:5px 3px;box-shadow:inset 0 1px #758a9433}.order-grid kbd{font-size:9px;margin-right:4px}
.deck-production{min-width:0;padding-right:16px;border-right:1px solid #344d5b}#queue-strip{height:87px;gap:5px;overflow:hidden}
#game .queue-tile{display:flex;flex-direction:column;align-items:center;justify-content:start;width:59px;height:85px;min-width:0;border:1px solid #3e5968;border-image:none;background:#122633;padding:4px 2px;position:relative;box-shadow:none}.queue-tile.running{border-top-color:#93d3e5!important}.queue-tile img{width:34px;height:35px}.queue-tile span{font-size:9px;line-height:14px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.queue-tile small{font-size:10px;line-height:18px;color:#9dc9d9}.queue-tile i{background:#89cfdd;height:3px}.queue-idle{font-size:12px;color:#718e9f;padding-top:25px}
.deck-console{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:78px 24px;width:auto;gap:8px}
#game .deck-console>button{border:1px solid #647981;border-image:none;background:linear-gradient(#34454e,#1b2d39);height:78px;padding:10px 13px;gap:8px;box-shadow:inset 0 1px #b4c4c533;min-width:0}.deck-console>button>img{width:30px;height:42px}.deck-console>button span{font-size:20px;min-width:0;white-space:nowrap}.deck-console>button small{display:none}.deck-console>button kbd{margin-left:auto;font-size:11px}.deck-console>button b{font-size:17px;color:#b3dcf0}#random-boon{grid-column:1 / 3;font-size:11px;color:#9fbac8;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pause-banner{left:700px;top:86px;width:196px;padding:10px 14px;font-size:18px;border:1px solid #7d9dae;background:#102332f5}#pause-banner small{display:none}
/* Modal and tab geometry never depends on content. */
#modal-subtitle,.title-desc,.chapter-line,.ship-caption,.briefing-note,.result-hero>.eyebrow,.next-operation small{display:none}
.modal-header h2{margin-top:0}.modal-header>div{align-self:center}#modal-footer>span:empty{display:block}
.result-hero>p:empty,.result-notice:empty{display:none}.result-hero h3{margin:10px 0 34px}.result-notice{background:none;border:0;padding:8px 0}.result-notice.error{color:#eea59a}.next-operation{margin-top:20px}.next-operation span{font-size:13px}.next-operation b{font-size:24px}
.engineering-rack>.side-note,.setup-preview>p,.briefing-research>p,.mission-detail>.hint:not(:last-of-type){display:none}
.schematic-v3{height:448px;width:400px;position:relative;overflow:hidden;border:1px solid #47616b;background:radial-gradient(ellipse at center,#1c3441,#0b1823)}.schematic-grid{position:absolute;inset:0;background-image:linear-gradient(#6c98ad15 1px,transparent 1px),linear-gradient(90deg,#6c98ad15 1px,transparent 1px);background-size:24px 24px}.schematic-v3 img{position:absolute;object-fit:fill}.core-plan{left:200px;top:228px;transform:translate(-50%,-50%)}.module-plan{transform:translate(-50%,-50%)}.module-plan.broken{filter:brightness(.35)}.mount-plan{position:absolute;width:25px;height:25px;transform:translate(-50%,-50%);display:grid;place-items:center;font-size:11px;border:1px dashed #91cfe3;color:#d9f6ff;background:#142e3d99}.mount-plan.installed{border-style:solid;background:#246081ae}.schematic-v3 .schematic-label{left:15px;top:14px}.schematic-v3 .schematic-footer{bottom:14px}
.settings-row .side-note{padding:0}#notifications{left:600px;right:auto;bottom:165px;width:396px;top:auto}#notifications>div{padding:9px 14px;font-size:12px;border:1px solid #678da1;background:#122837ed}
