
.topbar { display:flex; justify-content:space-between; align-items:center; gap:.6rem; flex-wrap:wrap;
  margin:0 0 .9rem; padding:.55rem 0; border-bottom:1px solid #243140; }
.topbar .tb-brand { font-weight:800; letter-spacing:.02em; text-decoration:none; color:#f7f4ee !important; }
.topbar .tb-links { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; }
.topbar .tb-links a { text-decoration:none; font-weight:700; font-size:.92rem; padding:.42rem .75rem; border-radius:8px;
  border:1px solid #ffb15a; white-space:nowrap; }
.topbar a.tb-sub { background:#ffb15a; color:#0b0f14 !important; }
.topbar .tb-live { color:#7fe0b0; font-weight:700; font-size:.9rem; }
.plans { display:grid; grid-template-columns:minmax(0,1fr); gap:.9rem; margin:1rem 0; }
@media (min-width: 720px) { .plans { grid-template-columns:1fr 1fr; } }
.plan { background:#1a2330; border:1px solid #2a3a4c; border-radius:12px; padding:1rem 1.1rem; }
.plan.pro { border-color:#ffb15a; }
.plan h2 { margin:0 0 .4rem; } .plan ul { padding-left:1.1rem; margin:.3rem 0 .6rem; } .plan li { margin:.25rem 0; }
.plan-price { font-size:1.35rem; font-weight:800; margin:.4rem 0; } .plan-price small { font-size:.7em; font-weight:600; color:#9aafbc; }
.plan-price .or { font-size:.75em; color:#9aafbc; font-weight:500; margin:0 .3rem; }
a.btn { display:inline-block; padding:.65rem 1rem; border-radius:9px; background:#ffb15a; color:#0b0f14 !important; font-weight:800; text-decoration:none; margin:.2rem .5rem .2rem 0; }
a.btn.alt { background:transparent; color:#ffb15a !important; border:1px solid #ffb15a; }
p.refund { color:#cfe3ec; }
details.menu { margin:.6rem 0 .9rem; background:#121a24; border:1px solid #243140; border-radius:10px; padding:.5rem .8rem; }
details.menu summary, details.prices summary { cursor:pointer; color:#ffb15a; font-weight:700; }
ul.city-menu { list-style:none; padding:0; margin:.6rem 0; display:grid; grid-template-columns:repeat(auto-fill, minmax(9.5rem, 1fr)); gap:.25rem .8rem; }
ul.city-menu a { text-decoration:none; } ul.city-menu .stid { color:#9aafbc; font-size:.8em; }
p.tool-links { display:flex; flex-wrap:wrap; gap:.3rem .9rem; font-size:.9rem; margin:.4rem 0 0; }
details.prices { margin:.8rem 0; }
.settle { margin:.55rem 0 .35rem; padding:.55rem .7rem; border-radius:10px; background:#10202a; border:1px solid #2a4a5a; }
.settle p { margin:.15rem 0; }
.settle .settle-value { font-size:1.15rem; color:#7fe0b0; }
.settle-full .settle-big .settle-value { font-size:1.9rem; }
.settle-full .settle-tail { color:#cfe3ec; }
.settle .cli { font-size:.92rem; }
.settle details summary { cursor:pointer; color:#ffb15a; }
table.readings td.wf small { color:#9aafbc; font-size:.78em; }
details.fc { margin:.6rem 0; } details.fc summary { cursor:pointer; color:#ffb15a; font-weight:700; }
.settle-why, .settle .sched { font-size:.88rem; line-height:1.35; }
table.readings td.wf.exact { color:#7fe0b0; }
h1.city-h1 { font-size:1.45rem; margin:.3rem 0 .1rem; }
@media (max-width: 480px) {
  main { padding-left:.7rem !important; padding-right:.7rem !important; }
  table.readings { font-size:.84rem; }
  table.readings td.wf small { display:none; }
  table.readings th, table.readings td { padding:.3rem .25rem !important; }
  .topbar .tb-links a { font-size:.85rem; padding:.38rem .6rem; }
  .now { font-size:2.6rem !important; }
  body.home > main > nav.slice-nav { flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:.3rem; }
  body.home > main > nav.slice-nav a { flex:0 0 auto; }
}
:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --bg-2: #121820;
  --ink: #e8eef3;
  --muted: #9aafbc;
  --line: #2c3b48;
  --card: #1a2330;
  --accent: #ffb15a;
  --dew: #3ddec8;
  --high: #ff6b81;
  --low: #8eb6ff;
  --up: #5ee0a0;
  --down: #ff8f7a;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { background: #0b0f14; color-scheme: dark; }
body {
  margin: 0;
  background: #0b0f14;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
}
main { max-width: 72rem; margin: 0 auto; padding: 1rem 0.9rem 2.75rem; }
a { color: var(--accent); }
h1, h2, .now { color: #f7f4ee; }
h1 {
  font-family: "Iowan Old Style", Georgia, Palatino, "Palatino Linotype", serif;
  font-size: clamp(2.05rem, 8vw, 2.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.35rem;
}
h2 {
  font-size: 1.18rem;
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.02em;
}
.brand {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.lede, .meta, .note, footer, figcaption, .station, .scope { color: var(--muted); }
.lede { margin: 0.2rem 0 0; max-width: 40rem; }
.price {
  margin: 1rem 0 0.4rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #24180f, #1b2420 55%, #16202b);
  border: 1px solid #3a2c22;
  border-radius: 1rem;
  max-width: 40rem;
  box-shadow: var(--shadow);
}
.price strong { color: var(--ink); font-size: 1.15rem; }
.board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1.15rem;
}
.card-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 1.15rem;
  padding: 0.95rem 0.95rem 0.85rem;
  box-shadow: var(--shadow);
}
.card-link:active .card { transform: translateY(1px); }
.card-id {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.stid {
  color: var(--dew);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.temp-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-end;
}
.now {
  font-family: "Iowan Old Style", Georgia, Palatino, serif;
  font-size: clamp(2.6rem, 12vw, 3.3rem);
  font-weight: 560;
  line-height: 0.95;
  margin: 0.1rem 0 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #fff7ea;
}
.change { margin: 0; text-align: right; }
.change .kicker { display: block; }
.change strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.change.up strong { color: var(--up); }
.change.down strong { color: var(--down); }
.change.flat strong { color: var(--ink); }
.extremes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin: 0.75rem 0 0.1rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}
.extremes p, .when, .wind, .dew, .scope { margin: 0.2rem 0; }
.scope { font-size: 0.88rem; }
.kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.extremes .high-line .kicker { color: var(--high); }
.extremes .low-line .kicker { color: var(--low); }
.at { color: var(--muted); font-size: 0.92rem; }
.chart svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 0.7rem;
  border-radius: 0.8rem;
}
body.city .chart-lg svg { min-height: 16rem; }
.chart figcaption { font-size: 0.82rem; margin: 0.35rem 0 0; }
.radar-still { margin: 0.9rem 0 0.4rem; max-width: 52rem; }
.radar-still img {
  width: 100%;
  height: auto;
  display: block;
  background: #101820;
  border: 1px solid #2c3a48;
  border-radius: 0.8rem;
}
.radar-still figcaption { font-size: 0.88rem; margin: 0.45rem 0 0; }
.station-links { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.station-links li { margin: 0.2rem 0; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  align-items: center;
}
.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.28rem;
}
.swatch.temp { background: #ffb15a; }
.swatch.dew { background: #3ddec8; }
.swatch.high { background: #ff6b81; }
.swatch.low { background: #8eb6ff; }
.swatch.nws { background: #d38bff; }
.swatch.gfs { background: #9dff6a; }
.hour-line, .contracts .note { font-size: 0.86rem; }
table.contracts {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
  font-size: 0.86rem;
}
table.contracts caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
table.contracts th, table.contracts td {
  text-align: left;
  padding: 0.35rem 0.55rem 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  vertical-align: top;
}
table.contracts td.contract { white-space: normal; word-break: break-all; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board { grid-template-columns: minmax(0, 1fr); }
.card-cell, .card-link, .card { min-width: 0; max-width: 100%; }
.card table.readings { width: 100%; }
table.readings {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
  font-size: 0.92rem;
}
table.readings caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
table.readings th, table.readings td {
  text-align: left;
  padding: 0.4rem 0.55rem 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.open { margin: 0.75rem 0 0; color: var(--accent); font-weight: 700; }
.back { display: inline-block; margin-bottom: 0.8rem; }
.source-filter {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}
.source-filter legend {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding: 0;
}
.source-filter label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #121922;
  font-size: 1rem;
}
.source-filter input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #ffb15a;
  flex: 0 0 auto;
}
.source-filter label:has(input:checked) {
  border-color: #ffb15a;
  background: #241c14;
}
.city-list {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.source-filter .source-name {
  display: block;
  font-weight: 700;
  color: #f7f4ee;
}
.source-filter .source-status {
  display: block;
  margin-top: 0.2rem;
}
.source-filter .source-status.off { color: #ffb15a; }
.source-filter .source-detail {
  display: block;
  margin-top: 0.28rem;
  color: #9aafbc;
  font-size: 0.92rem;
}
.list-flag {
  margin: 0.85rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.view-block h2 { margin: 0.2rem 0 0.35rem; font-size: 1.35rem; }
.view-block > p { color: var(--muted); max-width: 42rem; }
.list-city { margin-top: 0.35rem; }
.list-city .board { margin-top: 0.35rem; }

.live {
  margin: 0.8rem 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: #241c14;
  border: 1px solid #6a4b2e;
  color: #f3e6d4;
  font-size: 0.98rem;
}
.nws { margin-top: 1.1rem; }
.sub-prompt {
  margin: 0.4rem 0.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.sub-prompt a { font-weight: 700; }
.live .sub-prompt { margin: 0.35rem 0 0; color: inherit; }
footer { margin-top: 1.8rem; font-size: 0.92rem; max-width: 40rem; }
.missed {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #241c18;
  border: 1px solid #3d3028;
}
.missed h2 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.missed ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.slice-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0.2rem;
}
.slice-nav a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #1a2330;
  border: 1px solid #3a2c22;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.blend-avg { margin: 0.8rem 0 0.2rem; }
.blend-avg .now { display: block; margin-top: 0.15rem; }
table.sheet { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: 0.95rem; }
table.sheet caption { text-align: left; font-weight: 650; margin-bottom: 0.35rem; color: var(--ink); }
table.sheet th, table.sheet td {
  text-align: left;
  padding: 0.55rem 0.7rem 0.55rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
table.sheet th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.panel {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #1a2330;
  border: 1px solid #2c3b48;
}
.panel label, .notifier-form label { display: block; margin: 0.55rem 0; }
.notifier-form select, .notifier-form input[type="number"] {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #3d5160;
  background: #10161c;
  color: #f7f4ee;
  font: inherit;
}
.notifier-form button {
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #6a4b2e;
  background: #241c14;
  color: #f3e6d4;
  font: inherit;
  font-weight: 700;
}
.verdict {
  font-family: "Iowan Old Style", Georgia, Palatino, serif;
  font-size: clamp(2rem, 8vw, 2.6rem);
  margin: 0.3rem 0;
  color: #f7f4ee;
}
.verdict.hit { color: var(--up); }
.verdict.wait { color: var(--accent); }
.mode-row { display: flex; gap: 0.8rem; margin: 0.4rem 0 0.2rem; }
.mode-row label { display: flex; gap: 0.4rem; align-items: center; }

@media (min-width: 520px) {
  .extremes { grid-template-columns: 1fr 1fr; gap: 0.45rem 0.8rem; }
}
@media (min-width: 900px) {
  main { padding: 1.6rem 1.5rem 3.5rem; }
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
}

.edu p { margin: 0.55rem 0 0; max-width: 40rem; }
.edu h2 { margin-bottom: 0.15rem; }

@media (max-width: 640px) {
  body.home .card figure.chart, body.home .card .table-wrap, body.home .card .scope,
  body.home .card .city-clock, body.home .card .dew, body.home .card .meta { display: none; }
  body.home .card .extremes { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .8rem; }
}
