/* Forecast wind scale: same stops as wind-layer.js, responsive to chart width. */
.map-area { container-type: inline-size; }
.wind-scale {
  position: absolute;
  z-index: 450;
  top: 95px;
  left: 24px;
  width: clamp(120px, calc(100% - 290px), 320px);
  padding: 10px 12px 8px;
  border: 1px solid #e3eeec;
  border-radius: 9px;
  background: #fffffff2;
  box-shadow: 0 3px 20px #143c451a;
  pointer-events: none;
}
.wind-scale[hidden] { display: none; }
.wind-scale-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #456871;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.wind-scale-heading span:last-child { color: #748e95; }
.wind-scale-bar {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #3b88ae 0%, #158da0 25%, #158670 50%, #c2973a 75%, #c06242 100%);
}
.wind-scale-values {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #45616b;
  font-size: 9px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@container (min-width: 950px) {
  .wind-scale { top: 23px; left: 50%; width: 270px; transform: translateX(-50%); }
}
@media (max-width: 800px) {
  .wind-scale {
    top: 127px;
    left: 12px;
    right: 64px;
    width: auto;
    padding: 8px 10px 7px;
    transform: none;
  }
  .wind-scale-heading { font-size: 7px; margin-bottom: 5px; }
  .wind-scale-bar { height: 6px; }
  .wind-scale-values { font-size: 8px; margin-top: 3px; }
}

/* Keep the chart clear; extended forecast information opens only on request. */
.weather.wind-strip{left:24px;right:108px;bottom:62px;width:auto;max-width:none;padding:7px 10px;border:1px solid #a9cbd4;border-radius:8px;background:#0c3043f5;color:#fff}
.wind-strip[hidden],.wind-strip-details[hidden]{display:none!important}
.wind-strip-summary{display:flex;align-items:center;gap:15px;min-height:29px;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
.wind-strip-label{color:#76efdb;font-weight:700;font-size:11px}
.weather.wind-strip #windValue{display:inline;font:700 21px Manrope,system-ui,sans-serif;margin:0;color:#fff}
.weather.wind-strip #windValue small{font:500 11px system-ui;color:#c4e1ec}
#windDirection{color:#ffab58;font-weight:700}
#windGust{color:#d6e8f0}
.weather.wind-strip #windDetailsToggle{margin-left:auto;background:#174c60;color:#fff;border-color:#528395;font-size:15px;padding:3px 9px;min-height:30px}
.wind-strip-details{position:absolute;bottom:calc(100% + 7px);left:0;width:310px;max-width:100%;max-height:230px;overflow:auto;padding:14px;background:#0c3043fa;border:1px solid #7296a5;border-radius:9px;box-shadow:0 5px 20px #08263340}
.weather.wind-strip .eyebrow,.weather.wind-strip .wind-status{color:#76efdb}
.weather.wind-strip p{color:#d0e3ec}.weather.wind-strip a{color:#b7deec}
.weather.wind-strip .wind-strip-details button{background:#174c60;color:#fff;border-color:#528395;margin-right:5px}
@media(max-width:800px){.weather.wind-strip{left:12px;right:90px;bottom:61px;padding:6px 8px}.wind-strip-summary{gap:9px;font-size:10px;min-height:28px}.wind-strip-label{font-size:9px}.weather.wind-strip #windValue{font-size:18px}.weather.wind-strip #windValue small{font-size:10px}.weather.wind-strip #windDetailsToggle{min-height:28px;padding:3px 7px;font-size:13px}}
@media(max-width:365px){.wind-strip-summary{gap:7px}.wind-strip-label{font-size:0}.wind-strip-label::after{content:'↗';font-size:13px}}
