/* Map UI only: no forecast charts, city selectors or model panels are modified. */
.weather-layer-bar{padding:0 18px 10px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.weather-layer-button{background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
.weather-layer-button.active{background:var(--blue);border-color:var(--blue);color:white}
.weather-layer-info{padding:0 18px 9px;font-size:12px;color:var(--muted);font-weight:700}
.weather-layer-info[hidden]{display:none}
.weather-satellite-svg{position:absolute;inset:0;display:none;width:100%;height:100%;background:#0c1929;touch-action:none;cursor:grab;user-select:none}
.weather-satellite-svg.active{display:block}
.weather-satellite-svg:active{cursor:grabbing}
.weather-storm-marker{cursor:pointer;outline:none}
.weather-storm-marker:focus circle,.weather-storm-marker:hover circle{stroke:#ffee99;stroke-width:3}
.weather-zoom-bar{position:absolute;right:12px;top:12px;display:flex;gap:5px;z-index:5;padding:4px;border:1px solid #ffffff55;border-radius:11px;background:#0b1e35dd;box-shadow:0 3px 12px #0006}
.weather-zoom-bar[hidden]{display:none}
.weather-zoom-bar button{border:1px solid #ffffff55;background:#15375a;color:#fff;min-width:35px;height:35px;border-radius:7px;font-size:18px;font-weight:800;cursor:pointer}
.weather-zoom-bar button:last-child{font-size:12px;min-width:52px}
.weather-zoom-bar button:disabled{opacity:.45;cursor:default}
.weather-point-details{position:absolute;left:12px;bottom:12px;max-width:min(290px,calc(100% - 24px));background:#09223bef;color:white;border:1px solid #a9cbe477;border-radius:11px;padding:10px 32px 10px 13px;box-shadow:0 3px 14px #0007;z-index:6;font-size:12px;line-height:1.6;pointer-events:auto}
.weather-point-details[hidden]{display:none}
.weather-point-details strong{display:block;font-size:13px}
.weather-point-close{position:absolute;right:7px;top:5px;background:transparent;color:#fff;border:0;font-size:20px;cursor:pointer}
.weather-addon-ready #map-layer-controls,.weather-addon-ready .map-toolbar{display:none!important}
/* Remove obsolete note/readout sections from the old satellite add-on if present. */
.weather-addon-ready .weather-track-readout,.weather-addon-ready .weather-bt-legend,.weather-addon-ready .weather-bt-readout{display:none!important}

/* Concise, source-timestamped satellite caption stays fixed during pan/zoom. */
.weather-image-timestamp{position:absolute;top:12px;left:12px;z-index:5;pointer-events:none;background:#081a2edd;color:#fff;border:1px solid #d2e4f344;border-radius:9px;padding:6px 10px;max-width:calc(100% - 150px);font-size:11px;font-weight:650;line-height:1.5;box-shadow:0 2px 10px #0005}
.weather-image-timestamp span{display:block}
.weather-image-timestamp[hidden]{display:none}
.weather-cyclone-spin{transform-box:fill-box;transform-origin:center;animation:weather-cyclone-spin 6s linear infinite;pointer-events:none}
@keyframes weather-cyclone-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.weather-cyclone-spin{animation:none}}
.weather-storm-name-bg{fill:#091f37;stroke:#ffd478;stroke-width:1;opacity:.94;pointer-events:none}
.weather-storm-name{fill:#fff4c6;font-size:15px;font-weight:800;font-family:Arial,sans-serif;pointer-events:none}
.weather-forecast-label-bg{fill:#082640;stroke:#54d7ff;stroke-opacity:.8;stroke-width:1;opacity:.97;pointer-events:none}
.weather-forecast-label-text{fill:#fff;font-size:13px;font-weight:750;font-family:Arial,sans-serif;pointer-events:none}
.weather-forecast-tag{pointer-events:none}
@media(max-width:540px){.weather-image-timestamp{font-size:10px;padding:5px 7px;max-width:calc(100% - 150px)}}

.weather-jtwc-cycle{margin-top:3px;padding-top:3px;border-top:1px solid #ffffff33;color:#def5ff}
.weather-jtwc-cycle[hidden]{display:none}

/* Suppress native browser pinch/pan only within the satellite map; the page and charts retain their normal touch behavior. */
.weather-satellite-svg.active{touch-action:none;-webkit-user-select:none;user-select:none}

/* MOBILE ONLY: +1 px base map-label font, then zoom-responsive scaling in JS.
   No desktop or regular forecast/chart font changes. */
@media(max-width:600px){
 .weather-city-label{font-size:15px}
 .weather-storm-name{font-size:16px}
 .weather-forecast-label-text{font-size:14px}
}
