/* A shared weather dock keeps both layers available without overlapping controls. */
.weather-dock{position:fixed;z-index:5;left:50%;bottom:106px;transform:translateX(-50%);width:min(420px,calc(100vw - 190px));display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 220px);overflow:auto;overscroll-behavior:contain;border-radius:20px;scrollbar-width:thin;scrollbar-color:#bde5fa50 transparent;pointer-events:none}
.weather-dock>.radar-panel,.weather-dock>.wind-panel{position:relative;left:auto;right:auto;bottom:auto;transform:none;width:100%;max-height:none;overflow:visible;pointer-events:auto;flex-shrink:0}
.wind-panel{padding:17px 20px;background-color:rgba(21,40,47,.49);border-radius:20px}.weather-fold{font-size:20px;color:#bdd3d9;flex-shrink:0}.weather-folded>:not(header){display:none!important}.weather-folded .radar-header{margin:0}.weather-folded{padding-block:10px!important}.weather-folded .radar-header .eyebrow{font-size:8px}
.wind-select-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;color:#c9dde4}.wind-select-row select{font:inherit;font-size:12px;font-weight:650;color:#e2f5ff;background:#1e36466b;border:1px solid #caeaff40;border-radius:9px;padding:9px 10px;min-width:140px;max-width:72%;color-scheme:dark;cursor:pointer}.wind-select-row select:focus-visible,.weather-fold:focus-visible{outline:2px solid #90d9ff;outline-offset:2px}.wind-select-row select:disabled{opacity:.55;cursor:wait}.wind-select-row select option{background:#263b45;color:#ecf7ff}.wind-note{font-size:9px;line-height:1.6;color:#bed0d6;margin-top:7px}.wind-legend{display:flex;justify-content:space-between;border-top:1px solid #c4eaff20;margin-top:13px;padding-top:9px;color:#cae5ee;font-size:10px}.wind-legend span{display:flex;align-items:center;gap:5px}.wind-legend svg{width:32px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.wind-legend .wind-pennant{fill:currentColor}.wind-stale .radar-status{color:#ffd39b}
.wind-popup .maplibregl-popup-content{background:#203844e8;color:#edf8ff;border:1px solid #bbdfed50;border-radius:13px;padding:17px 24px 14px 16px;box-shadow:0 10px 30px #0004;backdrop-filter:blur(16px)}.wind-popup .maplibregl-popup-tip{border-top-color:#203844e8}.wind-popup .maplibregl-popup-close-button{color:#e5f5ff;font-size:20px;padding:2px 6px}.wind-point strong{font-size:15px}.wind-point p{font-size:11px;line-height:1.6;margin:6px 0}.wind-point small{font-size:9px;color:#bad4df}
@media(min-width:761px){.layers-panel.open~.weather-dock{left:calc(50% + 70px);width:min(420px,calc(100vw - 450px))}}
@media(max-width:760px){.weather-dock{left:76px;right:14px;bottom:77px;transform:none;width:auto;max-height:calc(100dvh - 220px);z-index:7;border-radius:17px}.wind-panel{padding:13px 14px;border-radius:17px}.wind-select-row{gap:7px;font-size:10px}.wind-select-row select{font-size:11px;min-width:125px;padding:9px 7px}.wind-open .location-card{display:none}.wind-open .map-tools{top:145px;transform:none}.wind-open .toast{bottom:440px}.wind-panel .radar-status{font-size:9px}.weather-dock .radar-header{gap:7px}.weather-dock .radar-header>.icon{width:21px;height:21px}.weather-dock .radar-header h2{font-size:12px}.weather-dock .radar-header .icon-button{width:26px;height:30px}.weather-dock .radar-header .eyebrow{letter-spacing:.7px;font-size:7px}}
@media(max-height:650px) and (min-width:761px){.weather-dock{bottom:70px;max-height:calc(100dvh - 180px)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.wind-panel{background:#233e49f5}}

.wind-extent{margin-right:15px}
.weather-folded.radar-panel>.radar-observation{display:flex!important;margin:4px 0 0}.weather-folded.radar-panel .radar-observation time{font-size:11px}
@media(max-width:760px){
  .weather-dock{max-height:calc(100dvh - 285px)}
  :is(.wind-open,.radar-open) .map-tools{left:76px;right:14px;top:136px;transform:none;width:auto;height:47px;padding:4px;flex-direction:row;justify-content:space-around;border-radius:16px}
  :is(.wind-open,.radar-open) .map-tools .icon-button{width:34px;height:37px;flex-shrink:0}
  :is(.wind-open,.radar-open) .map-tools .compass{width:30px;height:37px;gap:2px;padding:0}
  :is(.wind-open,.radar-open) .map-tools .compass svg{width:14px;height:19px}
  :is(.wind-open,.radar-open) .map-tools .compass span{font-size:7px}
  :is(.wind-open,.radar-open) .map-tools .tool-divider{height:22px;width:1px;margin:0 2px}
}
