/* HRRR-AK wind map card — shared by /snpweather/ and /stgweather/.
   One copy at the webroot (the notams.css pattern, NOT the copied .hrrr-*
   trap). Editing this file means bumping ?v= on both weather pages. */

.windmap-map {
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    background: #10151d;
}

@media (max-width: 640px) {
    .windmap-map { height: 320px; }
}

.windmap-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 2px 2px;
}

.windmap-slider {
    flex: 1;
    accent-color: #60a5fa;
}

.windmap-when {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 9.5em;
    text-align: right;
}

.windmap-meta {
    font-size: 0.78rem;
    opacity: 0.65;
    padding: 4px 2px 0;
}

.windmap-stale { color: #fbbf24; }

.windmap-error {
    font-size: 0.9rem;
    opacity: 0.75;
    padding: 12px 0;
}

/* Legend (bottom-right, clears leaflet-velocity's hover readout). */
.windmap-legend {
    background: rgba(10, 14, 20, 0.82);
    border-radius: 6px;
    padding: 6px 8px;
    width: 150px;
}

.windmap-legend-bar {
    height: 8px;
    border-radius: 3px;
}

.windmap-legend-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #cbd5e1;
    padding-top: 2px;
}

/* leaflet-velocity's hover readout, restyled for the dark hub theme. */
.leaflet-control-velocity {
    background: rgba(10, 14, 20, 0.82);
    color: #e2e8f0;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.72rem;
    line-height: 1.4;
}
