/* 106: quieter map labels, actual building hit areas and a restrained RTS HUD. */
.base-page{background:radial-gradient(ellipse at 50% 0,#102330,#02070d 75%);padding:16px}
.command-shell{padding:10px;background:linear-gradient(135deg,#728797,#152735 8%,#07131e 50%,#344b5b);border:1px solid #738b9c;box-shadow:0 12px 45px #000b,inset 0 0 0 3px #08131d,inset 0 0 0 5px #3c5263;clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 20px),calc(100% - 20px) 100%,20px 100%,0 calc(100% - 20px),0 20px)}
.command-shell:before{background:linear-gradient(115deg,#6f8393,#172a3a 12%,#0b1a29 80%,#607988);border:0;inset:3px}.command-shell:after{opacity:.6}
.site-header{background:linear-gradient(#132b3a,#030f1b 65%,#092b3b);box-shadow:inset 0 0 0 2px #030c14;border-color:#32637a;gap:13px}.site-header nav a{background:linear-gradient(#143448,#061723);border-bottom-color:#245168}.site-header nav [aria-current]{background:linear-gradient(#18647b,#092c42);box-shadow:inset 0 -2px #4ce9ff,inset 0 1px #7ad5e6}
.tactical-status{display:block;padding:6px 10px;margin-bottom:8px;border-color:#27667d;box-shadow:inset 0 0 0 2px #020e19,inset 0 0 0 3px #123b50;background:linear-gradient(#0b293a,#03111d);clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)}
.tactical-status .top-metrics{display:none}.tactical-status .collective-bar{display:grid;grid-template-columns:1.1fr 1fr 1fr;padding:0}.tactical-status .collective-bar>a{display:flex;align-items:center;justify-content:center;gap:15px;min-height:39px;padding:5px 10px}.tactical-status .collective-bar span{font:600 13px Rajdhani,sans-serif;color:#bad7e7}.tactical-status .collective-bar strong{font-size:21px;white-space:nowrap}
.mission-stage{grid-template-columns:minmax(0,1fr) minmax(350px,29%);gap:8px;align-items:start}.colony-column{padding:3px;background:#071522;border-color:#275d75;box-shadow:inset 0 0 0 1px #020a11}.colony-scene{border-color:#19435a}.scene-grid{pointer-events:none}.scene-caption{pointer-events:none;opacity:.7}.orbital-station{z-index:3}.orbital-station>span{font-size:10px;background:#031321d9;border:0;box-shadow:none;padding:4px 7px}
.building-hotspot{position:absolute;z-index:2;display:block;clip-path:polygon(8% 0,92% 0,100% 12%,100% 88%,92% 100%,8% 100%,0 88%,0 12%);background:transparent;cursor:pointer;-webkit-tap-highlight-color:#39dfff33}
.building-hotspot svg{position:absolute;width:100%;height:100%;inset:0;overflow:visible;pointer-events:none}.building-hotspot polygon{fill:transparent;stroke:transparent;stroke-width:.7;vector-effect:non-scaling-stroke}
.building-hotspot:hover,.building-hotspot:focus-visible{background:linear-gradient(transparent,#25d7ff16);outline:none}.building-hotspot:hover polygon,.building-hotspot:focus-visible polygon{fill:#2bdbff09;stroke:#69e9ff}.building-hotspot:focus-visible{box-shadow:inset 0 0 0 3px #6de7ff}
.hotspot-hardware{left:3%;top:43%;width:31%;height:29%}.hotspot-cpu{left:66%;top:25%;width:31%;height:32%}.hotspot-command{left:30%;top:50%;width:44%;height:33%}.hotspot-comms{left:30%;top:26%;width:18%;height:27%}.hotspot-vault{left:76%;top:59%;width:22%;height:24%}
.building-label{z-index:4;display:flex;align-items:center;justify-content:center;gap:5px;min-height:23px;padding:4px 7px;max-width:30%;font:600 11px/1.2 Rajdhani,sans-serif;letter-spacing:.3px;background:#03111cbd;border:0;border-bottom:1px solid #487384;color:#c0d3dd;box-shadow:none;clip-path:none;white-space:nowrap;opacity:.82}
.building-label .orb-icon{width:13px;height:13px;color:#91b6c8}.building-label.selected{background:#062637e6;border-color:#50d9ed;box-shadow:none;color:#d2f7ff}.building-label:hover,.building-label:focus-visible{opacity:1;color:#fff;background:#0a3a50;outline:1px solid #61dbed}
.building-hardware{left:7%;top:74%;bottom:auto;right:auto}.building-cpu{left:71%;top:21%;bottom:auto;right:auto}.building-command{left:42%;top:85%;bottom:auto;right:auto}.building-comms{left:31%;top:54%;bottom:auto;right:auto}.building-vault{left:auto;right:4%;top:85%;bottom:auto}
.building-dock{gap:3px;padding-top:5px}.dock-tile{background:linear-gradient(145deg,#213f52,#03111d 55%);border:1px solid #31566d;border-bottom-color:#3f697d;box-shadow:inset 0 0 0 2px #020c16;clip-path:polygon(13px 0,100% 0,calc(100% - 10px) 100%,0 100%,0 13px)}.dock-tile:hover,.dock-tile.selected{background:linear-gradient(135deg,#24556d,#06263b);border-bottom-color:#47e4fa;box-shadow:inset 0 -2px #13a7ca}.dock-preview{height:43px;max-width:120px}.dock-tile>span:last-child{font-size:12px}
.hud.control-panel{padding:17px 21px 22px;border:1px solid #4289a1;border-top-color:#8de6f3;background:linear-gradient(135deg,#1e4257,#041522 6%,#04111d 94%,#1c4359);box-shadow:inset 0 0 0 3px #03101b,inset 0 0 0 4px #244f65,inset 0 0 0 5px #0c2638;max-height:calc((100vw - 490px)/1.5 + 81px);scrollbar-width:thin;clip-path:polygon(15px 0,calc(100% - 15px) 0,100% 15px,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 calc(100% - 15px),0 15px)}
.panel-heading{padding:4px 0 13px;margin-bottom:13px;border-color:#1c6781}.panel-heading h1{font-size:29px;letter-spacing:1px}.expand-panel{background:#071c2b;border:1px solid #2c526a;box-shadow:none}.officer{padding-bottom:13px;margin-bottom:14px;border-color:#1c536a;align-items:center}.officer img{width:125px;height:137px;border-color:#4c849c;object-position:50% 25%}.officer h2{font-size:21px;line-height:1.1;margin-bottom:8px}.officer p{font-size:12px;line-height:1.5}.user-pane[data-page=mining] .officer p{font-style:italic}
.cpu-mode{clip-path:polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%);background:linear-gradient(#126580,#052c43);box-shadow:inset 0 0 0 2px #031422;border-color:#46d9ef;min-height:43px;margin-bottom:15px}.cpu-mode>span{font-size:20px}.cpu-mode a{font-size:10px}
.user-pane input[type=range]{appearance:none;-webkit-appearance:none;height:10px;min-height:10px;border-radius:7px;border:1px solid #38738c;background:linear-gradient(#071e30,#0a2d42);box-shadow:inset 0 2px 4px #0009;margin:7px 0 10px;cursor:pointer}.user-pane input[type=range]::-webkit-slider-thumb{appearance:none;width:21px;height:21px;border-radius:50%;border:2px solid #7defff;background:radial-gradient(circle,#1cdef8,#007699);box-shadow:0 0 9px #1bc4f6}.user-pane input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;border:2px solid #7defff;background:#0ab2d4;box-shadow:0 0 9px #1bc4f6}.user-pane input[type=range]:focus-visible{outline:2px solid #8defff;outline-offset:5px}.check{margin:15px 0 14px}.intensity-label{font-size:17px}
#admin-webminer>.mini-stats{border-color:#245b73;border-radius:5px;background:linear-gradient(110deg,#0b2638,#03101c);margin-top:10px}#admin-webminer>.mini-stats strong{font-size:27px}.wm-buttons{margin-top:17px}.wm-buttons button{min-height:56px;font-size:23px}.wm-buttons #wm-start{background:linear-gradient(#0eacca,#006080 45%,#004862);box-shadow:inset 0 0 0 3px #006180,inset 0 0 14px #47efff80;border-color:#91f5ff}
.hangar-specialties{display:flex;gap:8px;margin:12px 0 20px}.hangar-specialties span{border:1px solid #816142;background:linear-gradient(#342a22,#10202c);color:#ecc590;padding:8px;font:700 15px Rajdhani,sans-serif}.network-detail h2{font-size:22px;color:#96d7e8}.user-pane[data-page=home]>.officer{border-bottom-color:#338fa7}.base-footer{background:#061522;padding:10px 8px 4px;border-color:#244d63}.base-footer>span:first-child{color:#6e9bb2}
.control-panel.expanded{max-height:90vh;clip-path:none}.panel-expanded .command-shell{clip-path:none}
@media(min-width:1800px){.hud.control-panel{max-height:calc((min(100vw,1900px) - 510px)/1.5 + 81px)}}
@media(max-width:1250px){.site-header nav a{padding:8px 12px}.mission-stage{grid-template-columns:minmax(0,1fr) 350px}.hud.control-panel{padding:17px;max-height:calc((100vw - 440px)/1.5 + 81px)}.officer img{width:105px;height:118px}.officer h2{font-size:19px}}
@media(max-width:1000px){.mission-stage{grid-template-columns:1fr}.hud.control-panel{max-height:none}.tactical-status .collective-bar{border:0}.tactical-status .collective-bar>a{flex-direction:column;gap:2px}.tactical-status .collective-bar strong{font-size:22px}.control-panel.expanded{max-height:90vh}}
@media(max-width:600px){.base-page{padding:5px}.command-shell{padding:7px;clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)}.tactical-status{padding:5px 2px}.tactical-status .collective-bar{grid-template-columns:1.2fr .9fr 1fr}.tactical-status .collective-bar>a{padding:4px;min-height:51px}.tactical-status .collective-bar span{font-size:9px;text-align:center}.tactical-status .collective-bar strong{font-size:18px}.building-label{font-size:8px;min-height:18px;padding:3px 4px;max-width:32%;gap:2px}.building-label .orb-icon{display:none}.building-hardware{left:4%;top:74%}.building-cpu{left:71%;top:21%}.building-command{left:39%;top:85%}.building-comms{left:29%;top:54%}.building-vault{right:3%;top:85%}.orbital-station>span{font-size:7px;padding:3px}.dock-preview{height:31px}.dock-tile>span:last-child{font-size:9px}.hud.control-panel{padding:19px;max-height:none}.officer img{width:114px;height:126px}.officer h2{font-size:20px}.panel-heading h1{font-size:27px}.control-panel.expanded{max-height:calc(100svh - 16px)}.scene-caption{font-size:6px;bottom:auto;top:96%;padding:0 8px}}
.building-comms{left:30%;top:23%}.building-cpu{top:19%}
.control-panel{overflow-anchor:none}.fast-preparation .danger-button{margin-top:9px;width:100%;padding:6px;border:1px solid #bd6076;color:#ffd5df;background:#44192b;font:700 16px Rajdhani,sans-serif}
@media(max-width:600px){.building-comms{left:5%;top:24%}}
/* 110: state lighting on the ground, never a rectangular hover overlay. */
.building-hotspot,.building-hotspot:hover,.building-hotspot:focus-visible{background:transparent;box-shadow:none;outline:none;-webkit-tap-highlight-color:transparent}
.building-hotspot:before{content:'';position:absolute;left:4%;right:4%;bottom:1%;height:22%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,rgba(var(--halo-rgb,50,207,255),.06) 8%,rgba(var(--halo-rgb,50,207,255),.24) 34%,rgba(var(--halo-rgb,50,207,255),.7) 52%,rgba(var(--halo-rgb,50,207,255),.13) 66%,transparent 77%);filter:blur(3px);mix-blend-mode:screen;opacity:0}
.building-hotspot[data-map-state=active]{--halo-rgb:47,242,166}.building-hotspot[data-map-state=online]{--halo-rgb:42,202,255}.building-hotspot[data-map-state=standby]{--halo-rgb:255,184,61}.building-hotspot[data-map-state=error]{--halo-rgb:255,62,95}
.building-hotspot[data-map-state=active]:before,.building-hotspot[data-map-state=online]:before,.building-hotspot[data-map-state=standby]:before,.building-hotspot[data-map-state=error]:before{opacity:.6}
.building-hotspot:hover:before,.building-hotspot:focus-visible:before{opacity:.8}.building-hotspot:focus-visible+.building-label{outline:1px solid #83edff;outline-offset:2px}
.building-label:before{content:'';width:4px;height:4px;border-radius:50%;background:#718595;flex-shrink:0}.building-label[data-map-state=active]:before{background:#2ff2a6;box-shadow:0 0 6px #2ff2a6}.building-label[data-map-state=online]:before{background:#2acaff;box-shadow:0 0 6px #2acaff}.building-label[data-map-state=standby]:before{background:#ffb83d;box-shadow:0 0 6px #ffb83d}.building-label[data-map-state=error]:before{background:#ff3e5f;box-shadow:0 0 6px #ff3e5f}.dock-tile[data-map-state=active]{border-bottom-color:#2ff2a6}.dock-tile[data-map-state=error]{border-bottom-color:#ff3e5f}
.building-hotspot[data-map-state=offline],.building-hotspot[data-map-state=unknown]{--halo-rgb:121,148,163}.building-hotspot[data-map-state=offline]:hover:before,.building-hotspot[data-map-state=unknown]:hover:before{opacity:.35}
@media(prefers-reduced-motion:reduce){.building-hotspot,.building-label{transition:none}}
/* 111: silhouette glow, with no ground ellipse or rectangular fill. */
.building-hotspot:before{display:none!important}
.building-contours{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}
.building-contour{fill:none;stroke:currentColor;stroke-linejoin:round;stroke-linecap:round;color:#99b2bf;opacity:0;filter:drop-shadow(0 0 3px currentColor) drop-shadow(0 0 7px currentColor)}
.building-contour path{stroke-width:1;vector-effect:non-scaling-stroke}
.building-contour[data-map-state=active]{color:#42f0b2;opacity:.7}.building-contour[data-map-state=online]{color:#51d8f5;opacity:.55}.building-contour[data-map-state=standby]{color:#ffc563;opacity:.65}.building-contour[data-map-state=error]{color:#ff6889;opacity:.8}
.colony-scene:has(.hotspot-cpu:is(:hover,:focus-visible)) .contour-cpu,.colony-scene:has(.hotspot-hardware:is(:hover,:focus-visible)) .contour-hardware,.colony-scene:has(.hotspot-command:is(:hover,:focus-visible)) .contour-command,.colony-scene:has(.hotspot-comms:is(:hover,:focus-visible)) .contour-comms,.colony-scene:has(.hotspot-vault:is(:hover,:focus-visible)) .contour-vault{opacity:.85}
@media(max-width:600px){.building-contour path{stroke-width:.75}.building-contour{filter:drop-shadow(0 0 2px currentColor)}}
.network-pool [data-state=online]{color:#58e5b7}.network-pool [data-state=offline]{color:#ff8596}.network-pool [data-state=standby]{color:#f1c778}.network-pool [data-state=unknown]{color:#99afbf}.collection-card [role=timer]{font:700 25px Rajdhani,sans-serif;color:#6be8fa}.collection-card dd{margin:4px 0 15px;overflow-wrap:anywhere}.network-pool p{margin:6px 0;font-size:12px}
.cpu-modes{display:grid;grid-template-columns:1fr 1fr;gap:5px;border:0;padding:0;margin:0 0 14px;min-width:0}.cpu-modes legend{font:600 12px Rajdhani,sans-serif;color:#91b7c8;margin-bottom:6px;text-transform:uppercase}.cpu-modes label{position:relative;margin:0;cursor:pointer}.cpu-modes input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0}.cpu-modes span{display:block;text-align:center;padding:9px;border:1px solid #31637a;background:linear-gradient(#123146,#041727);font:700 21px Rajdhani,sans-serif;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.cpu-modes input:checked+span{background:linear-gradient(#117d98,#04334b);border-color:#66e8fa;box-shadow:inset 0 -2px #42e5fb;color:#edfcff}.cpu-modes input:focus-visible+span{outline:2px solid #a0f8ff;outline-offset:-4px}.cpu-modes input:disabled+span{opacity:.45;cursor:not-allowed}.fast-warning{border:1px solid #8f713c;background:#2a2117;padding:11px;margin-bottom:14px;font-size:12px;color:#ebd4ad}.fast-warning p{margin:0 0 9px}.fast-warning .check{margin:0;font-size:12px;color:#e9f6ff}.fast-preparation{padding:11px;border:1px solid #247089;background:#082638;margin:0 0 14px;font-size:12px}.fast-preparation label{display:flex;justify-content:space-between;gap:8px}.fast-preparation progress{width:100%;height:16px;accent-color:#21daf2;margin:9px 0}.fast-preparation p{margin:0;font-size:11px}.fast-warning[hidden],.fast-preparation[hidden]{display:none}#wm-status[data-state=wm_fast_running]{color:#55e7b4}#wm-status[data-state=wm_fast_seed_changed],#wm-status[data-state=wm_fast_memory_error]{color:#ff8e9f}
