/* Emergency marker visibility rescue.
   Keeps StormerSite report/city/showreport markers visible even if old opacity prefs exist. */

:root {
  --ss-report-marker-opacity: max(var(--ss-report-marker-opacity, .9), .75);
  --ss-report-opacity: max(var(--ss-report-opacity, .9), .75);
}

/* Leaflet image markers using StormerSite marker images */
.leaflet-marker-icon[src*="/markers/"],
.leaflet-marker-icon[src*="markers/"],
.storm-map-wrap .leaflet-marker-icon[src*="/markers/"],
.storm-map-wrap .leaflet-marker-icon[src*="markers/"] {
  opacity: var(--ss-report-marker-opacity, .9) !important;
}

/* Preserve GPS/user-location style markers */
.leaflet-marker-icon .gps-marker,
.gps-marker {
  opacity: 1 !important;
}
