/* V0.3: confined to the existing Rocky scene. Financial/dashboard layout is unchanged. */
#workers .wl-environment{position:relative;isolation:isolate;background:#07131d}
#workers .wl-environment:before{display:none}
.wm-mine{position:absolute;inset:0;overflow:hidden;background:#07131d;--wm-accent:#73e1ed}
.wm-scene{display:block;width:100%;height:100%;overflow:hidden}
.wm-background,.wm-ambient-light,.wm-hologram,.wm-structure,.wm-platform,.wm-crystals,.wm-robot{transition:opacity 1.5s ease,filter 1.5s ease}
.wm-scene text{font:8px monospace;letter-spacing:.1em;fill:#8bd2e4}
.wm-hologram text{font-size:7px}
.wm-hologram{opacity:.75;transition:opacity 1s}
.wm-holo-small text{font-size:6px}
.wm-crystal{color:rgb(45,151,255);cursor:pointer;outline:none}
.wm-crystal-halo{fill:currentColor;filter:url(#wmGlow)}
.wm-crystal-edge{fill:none;stroke:#a3f5ff;stroke-width:1}
.wm-crystal-solid{stroke:currentColor;stroke-width:1}
.wm-crystal-selection{fill:none;stroke:#8ff4ff;stroke-width:1.2;opacity:0;transition:opacity .2s}
.wm-crystal:hover .wm-crystal-selection,.wm-crystal:focus-visible .wm-crystal-selection,.wm-crystal.wm-selected .wm-crystal-selection{opacity:.8}
.wm-scene-hud{position:absolute;top:14px;left:20px;right:20px;display:flex;justify-content:space-between;gap:10px;pointer-events:none;color:#b0d9e7;text-shadow:0 1px 6px #000;font:8px monospace;letter-spacing:.06em}
.wm-scene-hud>span:first-child{display:grid;grid-template-columns:5px auto;gap:5px 6px}
.wm-scene-hud i{width:4px;height:4px;background:#64e5d5;border-radius:50%;box-shadow:0 0 6px #73edff77;align-self:center}
.wm-scene-hud b{font-weight:400;color:#7de5f1}
.wm-scene-hud small{grid-column:2;font:7px monospace;letter-spacing:0;color:#98b9c8}
.wm-quality{font-size:7px;opacity:.7}
.wm-scene-footer{position:absolute;left:20px;right:20px;bottom:27px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#79aab9;text-shadow:0 1px 5px #000;font:7px monospace;letter-spacing:.04em}
.wm-scene-footer button{font:8px monospace!important;border:1px solid #397181;color:#b2e8ef;background:#081d2be6;border-radius:4px;padding:6px 8px;white-space:nowrap}
.wm-scene-footer button:hover{border-color:#7bebee}
.wm-scene-footer button:disabled{opacity:.35}
.wm-scene-note{position:absolute;bottom:8px;left:20px;right:20px;font:7px monospace!important;color:#6c97a8;line-height:1.5;text-shadow:0 1px 4px #000}
.wm-mine[data-state=ANALYZING] .wm-hologram{opacity:1;filter:drop-shadow(0 0 6px #42dfff66)}
.wm-mine[data-state="RISK ALERT"] .wm-ambient-light{filter:hue-rotate(175deg);opacity:.6}
.wm-mine[data-state="RISK ALERT"] .wm-scene-hud b{color:#ebc58a}
.wm-mine[data-state=OFFLINE] .wm-background{filter:brightness(.45) saturate(.5)}
.wm-mine[data-state=OFFLINE] .wm-robot{filter:brightness(.58) saturate(.5)}
.wm-mine[data-state=OFFLINE] .wm-crystals{opacity:.4}
.wm-mine[data-state=OFFLINE] .wm-hologram,.wm-mine[data-state=OFFLINE] .wm-ambient-light{opacity:.15}
.wm-mine[data-state=OFFLINE] .wm-structure,.wm-mine[data-state=OFFLINE] .wm-platform{opacity:.4}
.wm-mine[data-state=OFFLINE] .wm-scene-hud i{background:#69808a;box-shadow:none}
.wm-mine[data-quality=low] .wm-crystal-halo,.wm-mine[data-quality=reduced-motion] .wm-crystal-halo{filter:none;opacity:.08!important}
.wm-mine[data-quality=low] .wm-impact-light{filter:none}
.wm-mine[data-quality=reduced-motion] .wm-ambient-particles,.wm-mine[data-quality=reduced-motion] .wm-impact-particles{display:none}
.wl-paused .wm-scene-hud small{color:#d7c693}
@media(max-width:600px){.wm-scene-hud{top:12px;left:12px;right:12px;font-size:7px}.wm-quality{font-size:6px}.wm-scene-hud small{font-size:6px}.wm-scene-footer{left:12px;right:12px;font-size:6px;bottom:29px}.wm-scene-footer button{font-size:7px!important;padding:5px}.wm-scene-note{left:12px;right:12px;font-size:6px!important;bottom:10px}.wm-scene{width:calc(100% + 90px);max-width:none;transform:translateX(-45px)}}
@media(prefers-reduced-motion:reduce){.wm-mine *{transition:none!important;animation:none!important}}
.wm-state-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#071722;opacity:0;pointer-events:none;border-radius:inherit;transition:opacity .32s ease,filter .32s ease,transform .55s ease}
.wm-video-ready .wm-state-video{opacity:1}
.wm-video-ready.wm-video-transition .wm-state-video{opacity:0;filter:blur(7px);transform:scale(1.025)}
#workers .wl-avatar-tag,.wm-scene-hud,.wm-scene-footer,.wm-scene-note{display:none!important}
@media(prefers-reduced-motion:reduce){.wm-state-video{transition:none}.wm-video-ready.wm-video-transition .wm-state-video{filter:none;transform:none}}
.wm-video-ready .wm-scene{visibility:hidden}
.wm-video-ready .wm-scene-hud,.wm-video-ready .wm-scene-footer,.wm-video-ready .wm-scene-note{z-index:2}
