/* State labels */
.leaflet-overlay-pane svg .state-label-text {
  font-family: system-ui, "Segoe UI", Roboto, Arial;
  font-size: 10px;
  font-weight: 600;
  fill: #fff;
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 2;
  paint-order: stroke;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

@media (max-width: 768px) {
  .leaflet-overlay-pane svg .state-label-text { font-size: 8px; }
}

/* Dark mode */
#usa-climate-map.dark-mode { filter: brightness(0.85) contrast(1.15); }

/* Legend */
.legend-color {
  display:inline-block;
  width:16px;
  height:16px;
  margin-right:8px;
  border-radius:3px;
  vertical-align:middle;
}

#climate-legend-box.dark {
  background:#1c1c1c;
  color:#fff;
  border-color:#F43676;
}