/* The marine page: v3.css plus the marine chart (from v2) and the zone map's key. */
.mg-hl { fill: var(--hl); }
.m-band { fill: var(--wind); opacity: 0.5; }
.m-band.seas { fill: #1baf7a; }
.m-gust { stroke: var(--wind); stroke-width: 2; stroke-dasharray: 4 3; }
.m-gust.seas { stroke: #1baf7a; }
.m-thresh { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.7; }
.m-threshlab { fill: var(--warn); font-size: 10.5px; opacity: 0.85; }
.m-obs { fill: var(--temp); stroke: var(--paper); stroke-width: 1.5; }
.m-obs.hollow { fill: var(--paper); stroke: var(--temp); stroke-width: 2; }
.m-opp { fill: var(--temp); }
.m-tide { fill: none; stroke: var(--tide); stroke-width: 1.8; }
.m-tidefill { fill: rgba(42, 120, 214, 0.12); }
.m-hilo { fill: var(--ink-2); font-size: 10.5px; }
.m-cur { font-size: 10px; fill: var(--ink-3); }
.m-cur.flood { fill: var(--tide); }
.mapkey { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; justify-items: end; }
.mapkey .seg { background: var(--panel); }
.mapkey .scale { display: flex; align-items: center; gap: 0; font-size: 11px; color: var(--ink-2); background: color-mix(in srgb, var(--panel) 92%, transparent); border: 1px solid var(--rule); border-radius: 8px; padding: 5px 8px; }
.mapkey .scale span { display: inline-flex; flex-direction: column; align-items: center; min-width: 30px; }
.mapkey .scale i { display: block; width: 30px; height: 9px; }
.mapkey .scale span:first-child i { border-radius: 3px 0 0 3px; } .mapkey .scale span:last-child i { border-radius: 0 3px 3px 0; }
.zone-meta { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-2); }
.warn { border-left: 3px solid var(--warn); background: var(--panel); padding: 6px 10px; border-radius: 0 8px 8px 0; margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.sea-link { font-size: 14px; }
@media (max-width: 900px) { .marine .map { aspect-ratio: 1 / 1; max-height: 78vh; } .mapkey { top: auto; bottom: 26px; } .mapkey .scale i { width: 22px; } .mapkey .scale span { min-width: 22px; } }
/* Row names stay readable where the now and time lines cross them. */
.mg-legend { paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
@media (max-width: 600px), (pointer: coarse) { .maphint { font-size: 12px; } }
