.maplibregl-marker.fanet-wind-marker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 33px;
  padding: 3px 7px 3px 5px;
  border: 1px solid #64c7d5;
  border-radius: 8px;
  background: #102a34;
  color: #f3fdff;
  box-shadow: 0 2px 6px #00182066;
  font: 700 12px/1.1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: pointer;
}

.fanet-wind-marker:hover,
.fanet-wind-marker:focus-visible,
.fanet-wind-marker[aria-expanded="true"] {
  outline: 2px solid #facc61;
  outline-offset: 2px;
  z-index: 2;
}

.fanet-wind-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 23px;
}

.fanet-wind-icon::before {
  position: absolute;
  top: 3px;
  left: 11px;
  width: 2px;
  height: 17px;
  border-radius: 2px;
  background: #c4e7ee;
  content: "";
}

.fanet-wind-icon::after {
  position: absolute;
  inset: 0;
  clip-path: polygon(47% 0%, 100% 11%, 100% 32%, 47% 48%);
  background: repeating-linear-gradient(90deg, #fff 0 3px, #ff944d 3px 6px);
  transform: rotate(var(--fanet-wind-angle, 90deg));
  transform-origin: 50% 24%;
  content: "";
}

.fanet-weather-status,
.fanet-weather-details {
  position: absolute;
  z-index: 6;
  left: 12px;
  bottom: max(38px, env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 24px);
  border: 1px solid #64c7d5;
  border-radius: 12px;
  background: #102a34;
  color: #f3fdff;
  box-shadow: 0 6px 24px #00182066;
  font-size: 13px;
}

.fanet-weather-status {
  padding: 8px 12px;
  pointer-events: none;
}

.fanet-weather-details {
  width: 265px;
  padding: 10px 13px;
}

.fanet-weather-details header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fanet-weather-details button {
  min-width: 36px;
  min-height: 36px;
  border: 1px solid #5b8290;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.fanet-weather-details button:focus-visible {
  outline: 2px solid #facc61;
  outline-offset: 2px;
}

.fanet-weather-details dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin: 10px 0 2px;
}

.fanet-weather-details dt { color: #b8d8e0; }
.fanet-weather-details dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
