/* Illustrated sky and charging routes. */
.blackout-game .bo-sky{position:relative;isolation:isolate;height:210px;min-height:210px;overflow:hidden;border-radius:18px;background:linear-gradient(#bce6fa 0%,#e8f7fc 70%,#d8e9c7 71%);border:1px solid #d1e6e5;transition:background .5s}
.blackout-game .bo-sky[data-weather="cloud"]{background:linear-gradient(#aecddd 0%,#d5e6eb 70%,#c7dabd 71%)}
.blackout-game .bo-sky[data-weather="storm"]{background:linear-gradient(#6b91aa 0%,#b3cbd5 70%,#b3c8ad 71%)}
.blackout-game .bo-sky-caption{position:absolute;top:10px;right:14px;max-width:54%;z-index:6;display:flex;flex-direction:column;gap:3px;text-align:right;color:#234f68;pointer-events:none}
.blackout-game .bo-sky-caption strong{font-size:14px;font-weight:650;line-height:1.25}
.blackout-game .bo-sky-caption span{font-size:12px;color:#496c7d;line-height:1.25}
.blackout-game .bo-sky-caption span:empty{display:none}
.blackout-game .bo-sky[data-weather="storm"] .bo-sky-caption{color:#fff}
.blackout-game .bo-sky[data-weather="storm"] .bo-sky-caption span{color:#edf6fa}
.blackout-game .bo-big-sun{position:absolute;width:116px;height:116px;left:16%;top:5px;transform:translateX(-50%);z-index:1;filter:drop-shadow(0 0 16px #ffdf74a0)}
.blackout-game .bo-sun-rays{transform-origin:60px 60px;animation:bo-sun-spin 45s linear infinite}
.blackout-game .bo-weather-cloud{position:absolute;width:190px;height:129px;top:16px;left:84%;transform:translateX(-50%);z-index:4;transition:left .12s linear,opacity .2s;filter:drop-shadow(0 6px 5px #27465b18)}
.blackout-game .bo-weather-cloud[hidden]{display:none!important}
.blackout-game .bo-cloud-body{fill:#f3f8fb;stroke:#bdcfda;stroke-width:2}
.blackout-game .bo-cloud-shade{stroke:#d4e1e7}
.blackout-game .bo-rain{display:none}
.blackout-game .bo-weather-cloud[data-storm="true"] .bo-cloud-body{fill:#708da2;stroke:#577b96}
.blackout-game .bo-weather-cloud[data-storm="true"] .bo-cloud-shade{stroke:#628099}
.blackout-game .bo-weather-cloud[data-storm="true"] .bo-rain{display:block}
.blackout-game .bo-sun-beams{position:absolute;left:16%;top:59px;width:25%;height:82px;z-index:0;fill:none;stroke:#fbd85d;stroke-width:8;stroke-linecap:round;opacity:.7;transition:opacity .3s}
.blackout-game .bo-sky[data-weather="cloud"] .bo-sun-beams{opacity:.18}
.blackout-game .bo-sky[data-weather="storm"] .bo-sun-beams{opacity:.06}
.blackout-game .bo-solar-station{position:absolute;left:35%;bottom:25px;transform:translateX(-50%);display:flex;align-items:flex-end;z-index:5}
.blackout-game .bo-solar-station>img{height:81px;width:64px;object-fit:contain;margin-right:0}
.blackout-game .bo-solar-station>div{display:flex;flex-direction:column;align-items:center}
.blackout-game .bo-panel-art{display:block;width:103px;height:84px}
.blackout-game .bo-solar-station span,.blackout-game .bo-city-storage span{font-size:12px;color:#3c6557;font-weight:600;line-height:1.2;white-space:nowrap}
.blackout-game .bo-city-storage{position:absolute;left:71%;bottom:26px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;z-index:5}
.blackout-game .bo-storage-art{display:block;width:100px;height:70px;overflow:visible}
.blackout-game .bo-sky-wire{position:absolute;left:44%;right:31%;bottom:71px;height:4px;background:#cfb657;border-radius:4px;z-index:3;overflow:visible}
.blackout-game .bo-sky-wire>i{position:absolute;inset:0;background:repeating-linear-gradient(90deg,#fff8ac 0 8px,transparent 8px 19px);animation:bo-energy-across .8s linear infinite}
.blackout-game .bo-sky-wire>b{position:absolute;right:0;top:-11px;font-size:22px;color:#b09535;line-height:1}
.blackout-game .bo-sky[data-battery-flow="out"] .bo-sky-wire>i{animation-direction:reverse}
.blackout-game .bo-sky[data-battery-flow="out"] .bo-sky-wire>b{transform:rotate(180deg)}
.blackout-game .bo-sky[data-battery-flow="idle"] .bo-sky-wire>i{animation-play-state:paused;opacity:.35}
.blackout-game .bo-sky-outlet{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:7px;height:24px;background:#e8f2dd;color:#537856;font-size:11px;z-index:6}
.blackout-game .bo-sky-outlet>span{font-size:20px;color:#b29329;line-height:1}
.blackout-game .bo-sky-outlet>b{font-weight:550}
.blackout-game .bo-buildings{position:relative}
.blackout-game .bo-buildings:before{content:"";position:absolute;left:15%;right:15%;top:0;height:3px;background:#d7c785;border-radius:4px;pointer-events:none}
.blackout-game .bo-building{position:relative}
.blackout-game .bo-house-art{display:block;width:100%;height:100px;overflow:visible}
.blackout-game .bo-house-feed,.blackout-game .bo-charge-arrow{stroke:#cdd8d7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.blackout-game .bo-building[data-selected="true"] .bo-house-feed,.blackout-game .bo-building[data-selected="true"] .bo-charge-arrow{stroke:#d6ad37;opacity:1}
.blackout-game .bo-building[data-charging="true"] .bo-house-feed{stroke-dasharray:5 7;animation:bo-charge-feed .7s linear infinite}
.blackout-game .bo-house-windows{fill:#ffdf7b;stroke:#b7924e;stroke-width:1.5;transition:fill .3s}
.blackout-game .bo-building[data-lit="false"] .bo-house-windows{fill:#6b8794;stroke:#55727f}
.blackout-game .bo-building[data-lit="false"] .bo-lamp-glow{opacity:0}
.blackout-game .bo-building[data-low="true"] .bo-house-charge{fill:#deaa52}
.blackout-game .bo-building[data-selected="true"] .bo-local-battery{filter:drop-shadow(0 0 5px #ffdf6680)}
.blackout-game .bo-house-cable{position:absolute;left:50%;top:-1px;transform:translateX(-50%);height:16px;width:4px;background:#d3dfe0;overflow:hidden;pointer-events:none}
.blackout-game .bo-house-cable>i{display:none;position:absolute;inset:0;background:repeating-linear-gradient(#fff5ad 0 4px,#ddb24f 4px 10px);background-size:100% 20px;animation:bo-energy-down .55s linear infinite}
.blackout-game .bo-house-cable>b{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);font-size:18px;color:#c39b38;line-height:1;display:none}
.blackout-game .bo-building[data-selected="true"] .bo-house-cable{background:#d8b145}
.blackout-game .bo-building[data-charging="true"] .bo-house-cable>i,.blackout-game .bo-building[data-charging="true"] .bo-house-cable>b{display:block}
.blackout-game[data-blackout-phase="paused"] *,.blackout-game[data-blackout-phase="paused"] *:before,.blackout-game .bo-sky[data-stopped="true"] *{animation-play-state:paused!important}
@keyframes bo-sun-spin{to{transform:rotate(360deg)}}
@keyframes bo-energy-across{to{background-position:19px 0}}
@keyframes bo-energy-down{to{background-position:0 20px}}
@keyframes bo-charge-feed{to{stroke-dashoffset:-24}}
@media(max-width:700px){
 .blackout-game .bo-sky{height:168px;min-height:168px;border-radius:14px}
 .blackout-game .bo-big-sun{width:94px;height:94px;left:18%;top:1px}
 .blackout-game .bo-weather-cloud{width:157px;height:106px;top:10px}
 .blackout-game .bo-sky-caption{top:8px;right:8px;max-width:57%;gap:2px}
 .blackout-game .bo-sky-caption strong{font-size:12px}.blackout-game .bo-sky-caption span{font-size:11px}
 .blackout-game .bo-sun-beams{top:45px;height:62px;left:17%;width:26%;stroke-width:9}
 .blackout-game .bo-solar-station{left:35%;bottom:24px}.blackout-game .bo-solar-station>img{height:63px;width:47px}
 .blackout-game .bo-panel-art{height:62px;width:76px}
 .blackout-game .bo-city-storage{left:77%;bottom:25px}.blackout-game .bo-storage-art{width:77px;height:54px}
 .blackout-game .bo-solar-station span,.blackout-game .bo-city-storage span{font-size:11px}
 .blackout-game .bo-sky-wire{left:49%;right:22%;bottom:58px}
 .blackout-game .bo-sky-outlet{height:21px;font-size:10px}
 .blackout-game .bo-house-art{height:72px}
 .blackout-game .bo-house-cable{height:13px}
}
@media(prefers-reduced-motion:reduce){.blackout-game .bo-sun-rays,.blackout-game .bo-sky-wire>i,.blackout-game .bo-house-cable>i,.blackout-game .bo-building .bo-house-feed{animation:none}.blackout-game .bo-weather-cloud{transition:none}}
