:root{color:#e6e1d6;font-variant-numeric:tabular-nums;background:#090b10;font-family:Avenir Next,Segoe UI,Helvetica,Arial,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;background:#090b10;height:100dvh;margin:0;overflow:hidden}#app{width:100%;max-width:100%;height:100%;background:#090b10;grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);height:100dvh;display:grid;position:relative;overflow:hidden}#stage{min-width:0;min-height:0;position:relative;overflow:hidden}#view,#overlay{touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}#overlay,#box{pointer-events:none}#box{z-index:4;background:#e6c56b1f;border:1px solid #e6c56b;position:fixed}#boot,#briefing,#end{z-index:6;place-items:center;display:grid;position:absolute;inset:0}#end{place-items:start center;padding-top:52px}#boot{background:#090b10}#briefing,#end{pointer-events:none;background:#080a0e38}#briefing .panel,#end .panel,#briefing button,#end button{pointer-events:auto}body.live #briefing,body.live #boot{display:none}.panel{touch-action:pan-y;background:#14181f;border:1px solid #e6e1d629;border-left:3px solid #e6a35c;width:min(560px,100% - 28px);max-height:calc(100% - 28px);padding:22px 22px 18px;overflow:auto;box-shadow:0 18px 50px #00000059}.eyebrow{letter-spacing:.14em;text-transform:uppercase;color:#e6a35c;margin:0;font-size:11px}h1,h2,h3,p{margin:0}h1{letter-spacing:.04em;margin:4px 0 8px;font-size:40px;font-weight:620}#brief-lead,#end-copy,.theater p{color:#b7b1a6;line-height:1.45}#theaters{gap:8px;margin:16px 0;display:grid}.theater{background:#10141a;border:1px solid #e6e1d61a;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 12px;display:grid}.theater.playable{border-color:#e6a35c73}.theater h3{font-size:15px}.theater span{color:#8d887e;letter-spacing:.08em;text-transform:uppercase;align-self:center;font-size:12px}.theater.playable span{color:#e6a35c}button,.cmd{font:inherit;color:#e6e1d6;cursor:pointer;background:#1c222b;border:1px solid #e6e1d629;min-width:44px;min-height:44px;padding:8px 12px}#deploy,#redeploy{color:#1a140d;letter-spacing:.08em;text-transform:uppercase;background:#e6a35c;width:100%;font-weight:680}#topbar,#coach,#dock{display:none}body.live #topbar,body.live #coach,body.live #dock{display:flex}#topbar{min-width:0;max-width:100%;height:calc(36px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;background:#0c1016;border-bottom:2px solid #2f6fbf;justify-content:space-between;align-items:center;gap:8px;overflow:hidden}#map-name,#player-name,#readout{display:none}#resources{pointer-events:none;gap:4px;width:100%;min-width:0;display:flex}.res{border-left:3px solid #e6c56b;flex:1;align-items:center;min-width:0;padding:0 6px;display:flex}.res:nth-child(2){border-left-color:#5c564e}.res:nth-child(3){border-left-color:#9fd0c8}.res:nth-child(4){border-left-color:#7ec8c3}.res span{display:none}.res strong{white-space:nowrap;font-size:14px;font-weight:680}.res.warn strong{color:#e07a68}#coach{background:#10141a;flex-direction:column;min-width:0;max-width:100%}#hint:empty{display:none}body:has(#tutorial:not([hidden])) #hint{display:none}#hint,#rotate-hint p,#tutorial p{color:#e6e1d6;font-size:13px;line-height:1.25}#rotate-hint,#tutorial{align-items:center;gap:6px;height:44px;min-height:44px;max-height:44px;padding:0 6px;display:flex;overflow:hidden}#rotate-hint p,#tutorial p{flex:1;min-width:0}#hint{padding:4px 8px}#stage{background:#090b10}#map-card{z-index:2;background:#10141a;border:1px solid #e6e1d633;width:72px;height:72px;display:none;position:absolute;top:8px;left:8px}body.live #map-card{display:block}body.map-collapsed #map-card{display:none}#minimap{touch-action:none;width:100%;height:100%;display:block}#dock{padding:4px 6px calc(4px + env(safe-area-inset-bottom));background:#0c1016;flex-direction:column;gap:4px;min-width:0;max-width:100%;min-height:0;max-height:25dvh}#selection{border-left:3px solid #2f6fbf;flex:0 auto;align-items:center;gap:6px;min-width:0;min-height:32px;padding-left:6px;display:flex;overflow:hidden}.portrait{background:#10141a;border:1px solid #e6e1d64d;flex:none;width:32px;height:32px}.portrait svg{width:100%;height:100%;display:block}.sel-name,.sel-meta{white-space:nowrap;flex:none;font-size:13px}.sel-meta{color:#b7b1a6}#command-bar{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%;display:flex;overflow:visible}#groups,#commands,#touch-bar{display:contents}#groups button,#touch-bar button,#commands .cmd,#more-grid .cmd,#tutorial button,#rotate-hint button,#more-toggle{white-space:nowrap;flex:none;min-width:44px;height:44px;min-height:44px;padding:0 8px}.cmd{align-items:center;gap:4px;width:auto;display:inline-flex}.cmd kbd{color:#e6a35c;font-family:inherit}.cmd small{color:#9a948a;font-size:11px}.cmd.armed,#select-toggle.armed,#cmd-attack.armed,#build-grid button.armed{color:#e6c56b;border-color:#e6c56b}.cmd:disabled{opacity:.4;cursor:default}.legend{color:#8d887e;font-size:12px;display:none}#boot-track{background:#1c222b;border:1px solid #e6e1d633;width:min(280px,70vw);height:8px;margin-top:14px}#boot-bar{background:#e6a35c;width:8%;height:100%}#build-sheet,#settings,#more-sheet{z-index:8;pointer-events:none;background:0 0;align-items:flex-end;padding:0;display:flex;position:absolute;bottom:0;left:0;right:0}#build-sheet,#more-sheet{max-height:35dvh}#settings{max-height:50dvh}.sheet,#settings .sheet,#build-sheet .sheet{pointer-events:auto;width:100%;max-height:inherit;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#14181f;border:1px solid #e6e1d633;gap:8px;display:grid}.sheet-head,.sheet-actions{align-items:center;gap:6px;display:flex}.sheet-head h2{flex:1;font-size:16px}#build-grid{touch-action:pan-x;flex-direction:row;gap:6px;display:flex;overflow:auto hidden}#build-grid button{text-align:left;white-space:nowrap;flex:none;justify-items:start;display:grid}#build-grid button small{color:#9a948a;font-size:11px}#more-grid{flex-wrap:wrap;gap:6px;display:flex}#settings label,#settings p{color:#e6e1d6;gap:6px;display:grid}#settings .check{grid-template-columns:auto 1fr;align-items:center}#settings .sheet{touch-action:pan-y;overflow:auto}.choice,#difficulty{flex-wrap:wrap;gap:8px;margin:8px 0 12px;display:flex}.choice button.armed,#difficulty button.armed{color:#e6c56b;border-color:#e6c56b}body[data-faction=russia] #topbar{border-bottom-color:#e04b3c}body[data-faction=russia] #selection{border-left-color:#e04b3c}body[data-faction=china] #topbar{border-bottom-color:#a32020}body[data-faction=china] #selection{border-left-color:#e6c56b}#lore{color:#b7b1a6;margin-top:8px}@media (max-height:520px) and (min-width:700px){#topbar{height:calc(22px + env(safe-area-inset-top))}.res strong{font-size:13px}#dock{height:calc(44px + env(safe-area-inset-bottom));max-height:calc(44px + env(safe-area-inset-bottom));padding-top:0;padding-bottom:env(safe-area-inset-bottom);flex-direction:row;align-items:center}#selection{flex:0 120px;min-width:0;max-width:120px}#command-bar{flex-wrap:nowrap;flex:1;min-width:0}#rotate-hint{display:none!important}}@media (min-width:1100px) and (min-height:700px){#map-name,#player-name,#readout,.res span,.legend{display:block}#topbar{height:calc(48px + env(safe-area-inset-top))}#player-name{font-size:16px}.res{gap:1px;display:grid}.res span{letter-spacing:.12em;text-transform:uppercase;color:#b7b1a6;font-size:10px}.res strong{font-size:18px}#readout{color:#9a948a;justify-items:end;font-size:12px;display:grid}#map-card{width:140px;height:140px}.legend{display:block}#dock{max-height:none}}@media (max-height:520px){.panel{width:min(980px,100% - 12px);padding:8px 12px}h1{margin:0 0 4px;font-size:22px}#brief-lead,#lore,#theaters{display:none}.choice,#difficulty{margin:2px 0 6px}#deploy{min-height:40px}}
