/* MRMS radar pages (mrms.view.php, mrms-viewer.js): map, region bar, legend, buttons */
.mapbox { position:relative; }
#map { width:100%; aspect-ratio:1 / 1; background:#c9dff0; }
#map.usview { aspect-ratio:3 / 2; }   /* national view: wide, fits the lower 48 */
/* the model pages' '.mapbox img' rule (white background, width 100%) must not touch map tiles */
#map img { background:transparent; max-width:none; }
/* beyond the map tiles (far edges at zoom 4): same look as 'outside radar coverage' over water */
#map.leaflet-container { background:#afbec8; }
/* nothing on the map is selectable text: clicks and drags there never start a text selection
   (which also set off browser pop-ups such as Firefox's AI-chatbot shortcut) */
#map, #map * { -webkit-user-select:none; user-select:none; }
#map.wheel-off, #map.wheel-off .leaflet-grab, #map.wheel-off .leaflet-interactive { cursor:default; }
.citylabel span { position:absolute; left:12px; top:-10px; white-space:nowrap; font:400 15px/20px "DejaVu Sans", Verdana, sans-serif; color:#111;
  text-shadow:-1.5px 0 #fff, 1.5px 0 #fff, 0 -1.5px #fff, 0 1.5px #fff, -1px -1px #fff, 1px 1px #fff, -1px 1px #fff, 1px -1px #fff; pointer-events:none; }
.citylabel i { position:absolute; left:-2.5px; top:-2.5px; width:5px; height:5px; border-radius:50%; background:#222; box-shadow:0 0 0 1px #fff; }
.z6 .citylabel span { font-size:14px; }
.citypin { filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.regbar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.regbar[hidden] { display:none; }
.regbar .reglabel { font-weight:700; }
.regbar select { font:inherit; font-weight:600; padding:6px 8px; border:1px solid #c5cfcb; border-radius:6px; background:#fff; min-width:230px; }
body.region-mode .only-city, body:not(.region-mode) .only-region { display:none; }
.leaflet-radar-pane.smooth { filter:blur(1.2px); }
.leaflet-bar a.resetbtn { display:flex; align-items:center; justify-content:center; }
/* map buttons (+, -, home): light gray with black symbols, gray outline, same box size as Leaflet's */
#map .leaflet-bar { border:2px solid #777; box-shadow:0 1px 5px rgba(0,0,0,.45); }
#map .leaflet-bar a { background:#e9ecea; color:#111; font:700 24px/30px Arial, sans-serif; border-bottom-color:#bbb; }
#map .leaflet-bar a:hover, #map .leaflet-bar a:focus { background:#d6dbd8; color:#000; }
#map .leaflet-bar a.leaflet-disabled { background:#f3f5f4; color:#b5bbb8; }
.leaflet-container { font-family:Inter, system-ui, sans-serif; }
.timebar .tag { font-size:12px; font-weight:700; color:#fff; background:#c62828; border-radius:4px; padding:2px 7px; }
.timebar .tag.old { background:#6b7773; }
.ramp > span:last-child i { border-right:1px solid var(--line); }
#mapfail:not([hidden]) { display:block; padding:40px 20px; text-align:center; color:var(--muted); }
.mnote { background:#fff4e5; border:1px solid #f5c27a; border-radius:6px; padding:8px 12px; margin:8px 0 0; }
#mdelay { margin:10px 16px 0; }
