.wx {
  display: grid;
  gap: 1rem;
  color: var(--ink);
}
.wx-top h1 {
  margin: 0.15rem 0 0.35rem;
  color: var(--ink);
  font-family: var(--display), "Outfit", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.wx-status,
.wx-deck,
.wx-near,
.wx-updated,
.wx-feels { margin: 0.2rem 0 0; color: var(--muted); }
.wx-deck { max-width: 40rem; font-size: 1.15rem; }
.wx-note { max-width: 44rem; }
.wx-quiet {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}
.wx-alerts { display: grid; gap: 0.55rem; }
.wx-alert {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--breaking, #c62828);
  color: #fff;
}
.wx-alert strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wx-alert p { margin: 0.15rem 0 0; }
.wx-alert.is-moderate { background: #e07a1f; color: #1c1006; }
.wx-alert.is-minor { background: #f0c14a; color: #1c1404; }
.wx-alert.is-station { background: color-mix(in srgb, var(--breaking, #c62828) 88%, #000); }
.wx-current {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 20px;
  background: var(--broadcast-bg, var(--dark, #141416));
  color: var(--broadcast-ink, #f4f3f7);
}
.wx-where {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wx-current .wx-near,
.wx-current .wx-feels,
.wx-current .wx-updated { color: color-mix(in srgb, var(--broadcast-ink, #f4f3f7) 72%, transparent); }
.wx-temp {
  margin: 0.15rem 0 0;
  font-family: var(--display), "Outfit", sans-serif;
  font-size: clamp(4.6rem, 12vw, 7.4rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 0.82;
}
.wx-temp span { font-size: 0.42em; letter-spacing: 0; }
.wx-sky {
  margin: 0.45rem 0 0;
  font-family: var(--display), "Outfit", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.wx-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.wx-chip {
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--broadcast-ink, #f4f3f7) 12%, transparent);
  font-size: 0.85rem;
}
.wx-now-icon img,
.wx-hour img,
.wx-day img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 4px;
  border-radius: 14px;
  background: #e7eef8;
}
.wx-glyph {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 18%, transparent);
}
.wx-block h2 {
  margin: 0.2rem 0 0.65rem;
  color: var(--ink);
  font-family: var(--display), "Outfit", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.wx-hourly {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 4.8rem;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.85rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.wx-hour { display: grid; justify-items: center; gap: 0.15rem; text-align: center; }
.wx-hour p,
.wx-hour small { margin: 0; color: var(--muted); font-size: 0.75rem; }
.wx-hour strong { font-size: 1.05rem; }
.wx-hour img,
.wx-day img { width: 42px; height: 42px; padding: 3px; border-radius: 10px; }
.wx-daily {
  padding: 0.35rem 1rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.wx-daily h2 { padding-top: 0.7rem; }
.wx-day {
  display: grid;
  grid-template-columns: 9rem 42px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.wx-day p { margin: 0; font-weight: 700; }
.wx-day div { min-width: 0; }
.wx-day strong,
.wx-day small { display: block; }
.wx-day small { color: var(--muted); font-size: 0.82rem; }
.wx-day-written { grid-template-columns: 7.2rem minmax(0, 1fr); }
.wx-range { text-align: right; }
.wx-range b { font-size: 1.15rem; }
.wx-range span { display: block; color: var(--muted); }
.wx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.wx-stat {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.wx-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wx-stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--display), "Outfit", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.wx-radar-figure { margin: 0; }
.wx-radar-figure img {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #10141a;
}
.wx-radar-figure figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wx-embeds { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
.wx-embed,
.wx-stories .story-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.wx-embed { padding: 0.9rem 1rem 1rem; }
.wx-embed h3 { margin: 0 0 0.4rem; }
.wx-stories .story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.75rem;
}
.wx-stories .story-card a { display: block; color: inherit; text-decoration: none; }
.wx-stories .story-card .body { padding: 0.85rem 1rem 1rem; }
.wx-stories .story-card h3 { margin: 0.2rem 0; }
.wx-preview {
  padding: 0.9rem 1rem 1.1rem;
  background: var(--paper, #f6f3ec);
  color: var(--ink);
}
.wx.is-preview .wx-top h1 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 800px) {
  .wx-current,
  .wx-day,
  .wx-day-written { grid-template-columns: 1fr; }
  .wx-stats { grid-template-columns: 1fr 1fr; }
  .wx-range { text-align: left; }
}
