:root{color-scheme:dark;font:13px Inter,system-ui,sans-serif;background:#05080b;color:#e8f5f8}*{box-sizing:border-box}html,body,#game{margin:0;width:100%;height:100%;overflow:hidden}#game{position:relative;background:#080d12}#stage{position:absolute;transform-origin:0 0}#background,#foreground,#game-canvas,#debug-overlay,.runtime-occlusion{position:absolute;inset:0;width:100%;height:100%;display:block}.background-video{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;object-fit:fill;pointer-events:none}#game-canvas{z-index:1}.runtime-occlusion{z-index:2;pointer-events:none}#foreground{pointer-events:none;z-index:3}#foreground[hidden]{display:none}#debug-overlay{z-index:4;pointer-events:none}header{position:absolute;z-index:8;left:20px;right:20px;top:18px;display:flex;align-items:center;gap:14px;text-shadow:0 2px 8px #000}header strong{letter-spacing:.2em}header span{color:#9eb2ba}header button,header a{color:#dff;background:#071117cc;border:1px solid #496573;padding:7px 10px;text-decoration:none}header button{margin-left:auto}#message{position:absolute;z-index:8;left:50%;bottom:20px;transform:translateX(-50%);padding:8px 13px;background:#071117dd;border-left:2px solid #ef8c47}#hotspot{display:none;position:absolute;z-index:8;transform:translate(-50%,-130%);padding:6px 9px;background:#071117e8;border:1px solid #ef9a57;color:#fff}.walk{fill:#31df7130;stroke:#31df71;stroke-width:2}.hot{fill:#ff9d4130;stroke:#ff9d41;stroke-width:2}.target{fill:#fff;stroke:#111;stroke-width:2}.route-debug{fill:none;stroke:#52e5ff;stroke-width:3}.route-rejected{stroke:#ff4d5d;stroke-width:3;stroke-dasharray:8 6}.route-waypoint{fill:#fff;stroke:#167f9f;stroke-width:2}.character-debug{fill:#fff;font:18px ui-monospace,monospace;paint-order:stroke;stroke:#071117;stroke-width:5px}
:where(#background[hidden]){display:none!important}
.weather-layer{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}.weather-layer--background{z-index:1}.weather-layer--foreground{z-index:4}#game-canvas{z-index:2}.runtime-occlusion{z-index:3}#foreground{z-index:5}#debug-overlay{z-index:6}
