.air-alert-overlay[hidden] {
  display: none !important;
}

.air-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  min-width: 100vw;
  min-height: 100dvh;
  padding: clamp(24px, 6vw, 80px);
  overflow: auto;
  color: #fff;
  background: #c40000;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: air-alert-flash 1.15s ease-in-out infinite alternate;
}

.air-alert-content {
  width: min(100%, 980px);
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.air-alert-symbol {
  width: clamp(82px, 13vw, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: clamp(5px, .7vw, 9px) solid currentColor;
  border-radius: 50%;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 900;
  line-height: 1;
}

.air-alert-title,
.air-alert-location,
.air-alert-action {
  margin: 0;
  color: inherit;
}

.air-alert-title {
  max-width: 900px;
  font-size: clamp(34px, 6.5vw, 86px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.air-alert-location {
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 760;
  line-height: 1.08;
}

.air-alert-action {
  padding-top: clamp(6px, 1vw, 14px);
  border-top: 2px solid rgba(255, 255, 255, .58);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 680;
  line-height: 1.25;
}

html.air-alert-is-active,
html.air-alert-is-active body {
  overflow: hidden !important;
}

@keyframes air-alert-flash {
  from { background-color: #9f0000; }
  to { background-color: #f00000; }
}

@media (prefers-reduced-motion: reduce) {
  .air-alert-overlay {
    animation: none;
    background: #c40000;
  }
}
