/* Scene labels stay readable outside the moving SVG. */
.encounter-chart [data-heading]{transform-box:view-box;transform-origin:0 0}.vessel-legend{display:flex;flex-wrap:wrap;gap:10px 20px;margin-bottom:12px;font-size:14px;line-height:1.5}.vessel-legend b{display:inline-flex;justify-content:center;min-width:22px;margin-right:5px}.vessel-A{color:#d8f476}.vessel-B{color:#ffac7a}.scene-footer>p{margin:10px 0 0;font-size:14px;line-height:1.6}.scene-footer .scene-phase{color:#c8ddd7;border-top:1px solid #ffffff24;padding-top:12px}.chart-wrap .scene-play{position:relative;right:auto;bottom:auto;display:block;margin:0 16px 16px auto;min-height:44px;border:1px solid #729b9a;max-width:calc(100% - 32px);font-size:14px;white-space:normal}.scene-play:disabled{opacity:.7;cursor:default}.scene-panel .chart-wrap{background:#0b323a}.scene-footer .scene-phase:empty{display:none}.encounter-chart{display:block;max-height:none}
@media(max-width:700px){.scene-panel .encounter-chart{max-height:none;aspect-ratio:520/350;width:100%}.scene-footer .vessel-legend{gap:6px 13px;font-size:14px}.scene-footer>p{font-size:14px}.chart-wrap .scene-play{margin-right:12px;margin-bottom:12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.encounter-chart *{animation:none!important;transition:none!important}}
