/* Tsunami evacuation map: additions to the shared map page styles. Zone colours follow the official sheets. */
:root{--zone-1:#d9483b;--zone-2:#e8b923}::selection{background:#cfe5e2;color:#12343a}input{caret-color:#176b73}
.calm-tiles{filter:grayscale(1) contrast(.85) brightness(1.08)}.map-stage .leaflet-container{background:#f1f2f0}
.noscript-note{position:relative;z-index:5;max-width:640px;margin:0 auto;padding:20px 16px;background:#fff;line-height:1.6}
.zone-key{position:absolute;left:12px;bottom:28px;z-index:700;background:#fffffff2;border:1px solid #d7e3df;border-radius:13px;box-shadow:0 4px 20px #28434a20;padding:10px 14px;max-width:min(320px,calc(100% - 24px));font-size:13px}
.zone-key p{margin:4px 0;display:flex;align-items:center;gap:8px}.zone-key .muted{display:block;margin-top:8px;font-size:12px}
.zone-swatch{display:inline-block;width:16px;height:16px;border-radius:3px;flex:none;border:1px solid #0003}.zone-1{background:var(--zone-1)}.zone-2{background:var(--zone-2)}
.zone-lead{font-size:20px;font-weight:700;line-height:1.3;margin:0 0 8px;display:flex;align-items:baseline;gap:10px}.zone-lead::before{content:'';flex:none;width:14px;height:14px;border-radius:3px;background:var(--lead,#9fb1b4);border:1px solid #0003}
.zone-lead[data-zone="1"]{--lead:var(--zone-1)}.zone-lead[data-zone="2"]{--lead:var(--zone-2)}
@media(max-width:760px){.zone-key{left:9px;right:9px;bottom:auto;top:10px;max-width:none;padding:8px 10px}.zone-key .muted{display:none}.leaflet-top.leaflet-left{top:92px}.leaflet-top,.leaflet-bottom{z-index:650}.map-modes{top:auto;bottom:-154px;right:9px}.panel{max-height:50dvh}.map-message{top:100px}}

.related-maps{margin:10px 0 0;font-size:13px;line-height:1.6;color:#4d6061}.related-maps a{margin-left:10px;font-weight:600;color:#176b70;text-underline-offset:3px;white-space:nowrap}.related-maps a[hidden]{display:none}
/* A phone on its side: Harita / Uydu sits beside the zoom buttons, clear of the panel column on the right. */
@media(max-width:760px) and (max-height:500px){.map-modes{top:calc(100% + 113px);bottom:auto;right:auto;left:62px}}
