.scene-map{--scene-accent:#286b69;--scene-alert:#c66b43;margin:18px 0;background:#fff;border:1px solid var(--line,#e4e8e1);border-radius:11px;overflow:hidden;color:var(--ink,#183838)}
.scene-map[data-type="distress"]{--scene-alert:#bd5549}.scene-map[data-type="safety"]{--scene-alert:#a88635}
.scene-map>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;cursor:pointer;font-size:12px}
.scene-map>summary::-webkit-details-marker{display:none}.scene-map>summary:focus-visible{outline:3px solid #93b966;outline-offset:-4px}
.scene-map-heading{display:flex;align-items:center;gap:9px;min-width:0}.scene-map-heading>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
.scene-map-heading strong{font-size:12px;letter-spacing:.1px}.scene-map-mode{font-size:9px;color:#6c8277;background:#f0f4ea;border-radius:20px;padding:4px 7px;white-space:nowrap}
.scene-map-chevron{font-size:17px;transform:rotate(-90deg);transition:transform .2s}.scene-map[open] .scene-map-chevron{transform:rotate(0)}
.scene-map-toolbar{border-top:1px solid #edf0e9;padding:10px 13px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.scene-map-phase{font-size:10px;font-weight:600;max-width:100%;color:#59766c}.scene-map-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.scene-map-toolbar button{font-size:9px;border:1px solid #dfe6dc;border-radius:5px;background:#fff;color:#31594f;padding:6px 8px;min-height:29px;white-space:nowrap}
.scene-map-toolbar button:hover{background:#f4f7ef}.scene-map-toolbar button:disabled{cursor:default;opacity:.55}
.scene-map-frame{position:relative;isolation:isolate;width:100%;aspect-ratio:510/254;overflow:hidden;background:#dfeeed;border-top:1px solid #d8e6df;border-bottom:1px solid #d8e6df}
.scene-map-illustration,.scene-map-overlay-host,.scene-map-overlay,.scene-map-tiles{position:absolute;inset:0;width:100%;height:100%}
.scene-map-tiles{opacity:0}.scene-map-online .scene-map-tiles{opacity:1}.scene-map-tile{position:absolute;max-width:none!important;border:0;pointer-events:none;user-select:none}.scene-map-tile-base{z-index:0}.scene-map-tile-seamark{z-index:1}.scene-map-tile[hidden]{display:none}
.scene-map-overlay-host{pointer-events:none;z-index:2}.scene-map-online .scene-map-overlay{background:#e6f1ec10}
.scene-map-overlay text{font-family:'DM Sans',system-ui,sans-serif;paint-order:stroke;stroke:#f4f9f2;stroke-width:3px;stroke-linejoin:round;fill:#2d5149}
.scene-map-background-label{font:7px system-ui,sans-serif;letter-spacing:1px;fill:#789a92}
.scene-map-simulation-tag{position:absolute;top:10px;left:calc(50% - 31px);font-size:7px;font-weight:700;letter-spacing:1.3px;border:1px solid #71999055;color:#456f66;background:#f9fcf2cf;border-radius:20px;padding:4px 7px;z-index:3}
.scene-map-attribution{position:absolute;right:0;bottom:0;max-width:100%;background:#fffffff0;color:#355950;padding:4px 6px;font:9px/1.4 system-ui,sans-serif;z-index:4}.scene-map-attribution[hidden]{display:none}.scene-map-attribution a{color:#1e5148;text-decoration:underline}
.scene-map-vessel-shape{fill:#eff7e2;stroke:var(--scene-accent);stroke-width:1.5;stroke-linejoin:round}.scene-map-own .scene-map-vessel-shape{fill:#315c52;stroke:#173e34}.scene-map-own .scene-map-sail{fill:#eff6d9;stroke:#dce8c1;stroke-width:.8}.scene-map-mast{stroke:#99b191;stroke-width:.7}.scene-map-ship-label{font-size:9px;font-weight:750;letter-spacing:.6px}.scene-map-object-label{font-size:8px;font-weight:650;letter-spacing:.4px}
.scene-map-own-location>circle{fill:#f5fbec7a;stroke:#527d6944;stroke-width:1}.scene-map-own{filter:drop-shadow(0 2px 2px #29483f25)}
.scene-map-counterpart .scene-map-vessel-shape{animation:scene-map-sway 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.scene-map-rescue .scene-map-vessel-shape{fill:#e3a66d;stroke:#8b6348}.scene-map-cabin{fill:#fff6df}.scene-map-cross{stroke:#a45942;stroke-width:1.5}
.scene-map-radio-path{fill:none;stroke:#39776a;stroke-width:1.4;stroke-dasharray:3 8;opacity:.4;animation:scene-map-flow 5s linear infinite}.scene-map-transmitting .scene-map-radio-path,.scene-map-receiving .scene-map-radio-path{opacity:.95;stroke-width:2;animation-duration:1.7s}.scene-map-receiving .scene-map-radio-path{animation-direction:reverse}
.scene-map-coast{fill:none;stroke:#496e5e;stroke-width:1.5}.scene-map-coast text{font-size:8px;font-weight:650;stroke-width:3px}.scene-map-airwaves{opacity:.55}.scene-map-receiving .scene-map-airwaves{animation:scene-map-blink 1.4s ease-in-out infinite}
.scene-map-pulse{fill:none;stroke:var(--scene-alert);stroke-width:1.2;animation:scene-map-pulse 3.7s ease-out infinite;transform-origin:0 0}.scene-map-delay{animation-delay:-1.85s}
.scene-map-container{fill:#c79662;stroke:#916845;stroke-width:1;animation:scene-map-sway 7s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.scene-map-hazard-ring{fill:none;stroke:#a88749;stroke-width:1;stroke-dasharray:2 4;opacity:.5}
.scene-map-north{fill:none;stroke:#6a8e80;stroke-width:1}.scene-map-north text{font-size:8px;font-weight:750;stroke:none}
.scene-map-footer{padding:12px 15px 5px;display:flex;justify-content:space-between;gap:12px;align-items:center}.scene-map-position-label{display:block;font-size:9px;color:#78877d;margin-bottom:4px}.scene-map-position{display:block;font:600 12px/1.4 Consolas,monospace;color:#264f43;font-variant-numeric:tabular-nums}.scene-map-channel{font:600 10px Consolas,monospace;padding:7px;background:#edf3e9;border-radius:4px;white-space:nowrap}
.scene-map .scene-map-caption{font-size:10px;line-height:1.5;color:#567367;margin:6px 15px 0}.scene-map .scene-map-note{font-size:9px;line-height:1.55;color:#7c8c80;margin:5px 15px 13px}
.scene-map-paused *,.scene-map:not([open]) *{animation-play-state:paused!important}
@keyframes scene-map-pulse{0%{opacity:.6;transform:scale(.6)}100%{opacity:0;transform:scale(2)}}
@keyframes scene-map-flow{to{stroke-dashoffset:-44}}
@keyframes scene-map-sway{0%,100%{translate:0 0;rotate:-2deg}50%{translate:0 -2px;rotate:2deg}}
@keyframes scene-map-blink{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.scene-map *{animation:none!important;transition:none!important}.scene-map-delay{display:none}.scene-map-pulse{opacity:.35}}
@media(max-width:420px){.scene-map>summary{padding:13px}.scene-map-toolbar{align-items:flex-start}.scene-map-toolbar>div{width:100%}.scene-map-position{font-size:10px}.scene-map-mode{font-size:8px}.scene-map-attribution{font-size:8px}.scene-map .scene-map-note{font-size:9px}}
