#command-boot{position:fixed;inset:0;margin:0;padding:24px;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;background:#000;color:var(--g);overflow:auto}
#command-boot::backdrop{background:#000}
#command-boot[open]{display:grid;place-items:center}
.boot-shell{width:min(650px,100%);margin:auto}
.boot-shell h2{font-size:17px;letter-spacing:2px;margin:16px 0}
.boot-console{height:min(49dvh,420px);min-height:160px;margin:0;padding:20px;border:1px solid var(--line);overflow:auto;background:#000;color:var(--g);font:13px/1.85 Consolas,"Courier New",monospace!important;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:var(--dim) #000}
#boot-status{font-size:12px;line-height:1.6;min-height:2em;margin:16px 0 8px}
#boot-progress{display:block;width:100%;height:7px;appearance:none;border:1px solid var(--line);background:#000;accent-color:var(--g)}
#boot-progress::-webkit-progress-bar{background:#000}#boot-progress::-webkit-progress-value{background:var(--g)}#boot-progress::-moz-progress-bar{background:var(--g)}
.boot-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.boot-bottom button{padding:12px;font-size:12px}.boot-bottom small{font-size:11px}
.command-boot-mask>header,.command-boot-mask>#stats,.command-boot-mask>.log,.command-boot-mask>main.layout{visibility:hidden!important}
.command-starting [data-boot-panel]:not(.boot-panel-online),.command-starting #cities .city:not(.boot-city-online){opacity:0!important;pointer-events:none!important}
.command-starting .boot-panel-online,.command-starting #cities .boot-city-online{animation:boot-signal-lock .6s steps(1,end) both}
.command-starting #cities .boot-city-online{animation-duration:.4s}
@keyframes boot-signal-lock{0%{opacity:.12}18%{opacity:.85}34%{opacity:.3}54%{opacity:1}72%{opacity:.7}100%{opacity:1}}
@media(max-width:500px){#command-boot{padding:16px}.boot-shell h2{font-size:14px}.boot-bottom{align-items:stretch;flex-direction:column;gap:12px}}
.boot-gentle .boot-panel-online,.boot-gentle #cities .boot-city-online{animation:none!important}
@media(prefers-reduced-motion:reduce){.command-starting .boot-panel-online,.command-starting #cities .boot-city-online{animation:none!important}}
