:root { --bg: #ffffff; --ink: #15212c; --ink-2: #44515c; --muted: #6b7680; --rule: #e1dccf; --accent: #2a5d8f; --soft: #eef3f8;
  --rain: #2f6fb0; --rain-soft: #d4e3f2; --sun: #e9a825; --day: #f6d27a; --tw: #c9d6e6; --night: #24384d;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.theme-dark { --bg: #16202a; --ink: #e9edf0; --ink-2: #c0c8cf; --muted: #93a0ab; --rule: #2a3742; --accent: #9fc3e6; --soft: #1c2a37;
  --rain: #7fb2e5; --rain-soft: #23405c; --day: #d9b04f; --tw: #3a5068; --night: #0b1117; }
@media (prefers-color-scheme: dark) {
  .theme-auto { --bg: #16202a; --ink: #e9edf0; --ink-2: #c0c8cf; --muted: #93a0ab; --rule: #2a3742; --accent: #9fc3e6; --soft: #1c2a37;
    --rain: #7fb2e5; --rain-soft: #23405c; --day: #d9b04f; --tw: #3a5068; --night: #0b1117; }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: transparent; }
body { font: 14px/1.4 var(--sans); color: var(--ink); }
.wgt { background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px 8px; min-height: 100vh; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.solo .wgt { min-height: 0; max-width: var(--w); margin: 16px auto; }
.wgt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wgt-place { font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.wgt-place:hover { color: var(--accent); text-decoration: underline; }
.wgt-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.wgt-now { display: flex; align-items: center; gap: 12px; }
.wgt-now .wx, .wgt-now .moon-icon { flex: none; overflow: visible; }
.wgt-big { margin: 0; font-size: 2.6rem; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.wgt-mid { font-size: 1.45rem; font-weight: 500; }
.wgt-u { font-size: .9rem; color: var(--muted); margin-left: 2px; vertical-align: top; }
.wgt-cond { margin: 4px 0 0; color: var(--ink-2); }
.wgt-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wgt-facts li { background: var(--soft); border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; }
.wgt-facts li.wide { grid-column: 1 / -1; }
.wgt-facts span { font-size: .72rem; color: var(--muted); }
.wgt-facts strong { font-weight: 600; }
.wgt-line, .wgt-lead { margin: 0; color: var(--ink-2); font-size: .86rem; }
.wgt-lead { font-size: .95rem; color: var(--ink); font-weight: 500; }
.wgt-empty { margin: 0; color: var(--ink-2); }
.wgt-note { margin: -4px 0 0; font-size: .78rem; color: var(--muted); }
.na { color: var(--muted); }
.wgt-hours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; text-align: center; }
.size-sm .wgt-hours { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
.wgt-hours li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border-radius: 6px; }
.wgt-hours li:hover { background: var(--soft); }
.wgt-hours .wx { overflow: visible; }
.wgt-t { font-size: .75rem; color: var(--muted); }
.wgt-bar { width: 70%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--rain) 0 var(--p), var(--rain-soft) var(--p)); }
.wgt-bar.is-na { background: none; border: 1px dashed var(--muted); height: 4px; }
.wgt-pct { font-size: .72rem; color: var(--rain); }
.wgt-days { list-style: none; margin: 0; padding: 0; }
.wgt-days li { display: grid; grid-template-columns: 6em 30px 2.6em 2.4em 1fr 2.4em; align-items: center; gap: 6px; padding: 3px 0; border-top: 1px solid var(--rule); }
.wgt-days li:first-child { border-top: 0; }
.wgt-dn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wgt-days .wx { overflow: visible; }
.wgt-dn { font-weight: 600; font-size: .88rem; }
.wgt-days .wgt-pct { color: var(--muted); }
.wgt-days .wgt-pct.is-wet { color: var(--rain); font-weight: 600; }
.wgt-lo { color: var(--muted); text-align: right; }
.wgt-hi { font-weight: 600; }
.wgt-range { position: relative; height: 6px; border-radius: 3px; background: var(--soft); }
.wgt-range.is-na { background: none; border-top: 1px dashed var(--rule); height: 0; }
.wgt-range i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #5b93c9, #e9a825 60%, #c0392b); }
.size-sm .wgt-days li { grid-template-columns: 6.2em 26px 2.4em 2.2em 1fr 2.2em; gap: 4px; font-size: .86rem; }
.wgt-rainbars { display: flex; align-items: flex-end; gap: 2px; height: 70px; padding-top: 4px; }
.wgt-rainbars span { flex: 1; height: max(3px, var(--p)); border-radius: 2px 2px 0 0; background: var(--rain-soft); }
.wgt-rainbars .b-possible { background: #7fa9d6; }
.wgt-rainbars .b-wet { background: var(--rain); }
.wgt-gusts span { background: #8fa6bb; }
.wgt-rainbars .b-unknown { background: repeating-linear-gradient(135deg, var(--rule) 0 3px, transparent 3px 6px); }
.wgt-axis { position: relative; height: 1.1em; font-size: .7rem; color: var(--muted); margin-top: -6px; }
.wgt-axis span { position: absolute; top: 0; }
.wgt-arrow circle { fill: var(--soft); stroke: var(--rule); }
.wgt-arrow path { fill: var(--accent); }
.wgt-sunrow { display: flex; justify-content: space-between; }
.wgt-sunrow div { display: flex; flex-direction: column; }
.wgt-sunrow div:last-child { text-align: right; }
.wgt-sunrow span { font-size: .75rem; color: var(--muted); }
.wgt-sunrow strong { font-size: 1.6rem; font-weight: 400; }
.wgt-daybar { position: relative; height: 14px; border-radius: 7px; background: var(--night); overflow: hidden; }
.wgt-daybar i { position: absolute; top: 0; bottom: 0; }
.wgt-daybar .tw { background: var(--tw); }
.wgt-daybar .day { background: var(--day); }
.wgt-daybar b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); }
.moon-icon .moon-dark { fill: #2b3542; }
.moon-icon .moon-lit { fill: #f3e7c4; }
.wgt-gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wgt-gauge { border-radius: 10px; padding: 10px; display: flex; flex-direction: column; background: var(--soft); border-left: 6px solid var(--muted); }
.wgt-gauge span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.wgt-gauge strong { font-size: 1.3rem; }
.wgt-gauge em { font-style: normal; font-size: .8rem; color: var(--ink-2); }
.aq-low, .pol-1 { border-left-color: #3f9b4f; }
.aq-moderate, .pol-2 { border-left-color: #e0a100; }
.aq-high, .pol-3 { border-left-color: #d9541e; }
.aq-very-high, .pol-4 { border-left-color: #8e2a8e; }
.wgt-acts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wgt-acts li { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; background: var(--soft); border-radius: 8px; padding: 6px 8px; }
.wgt-acts svg { grid-row: 1 / 4; align-self: center; fill: var(--accent); }
.wgt-an { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.wgt-acts em { font-style: normal; font-size: .8rem; color: var(--ink-2); }
.wgt-f { margin-top: auto; display: flex; flex-wrap: wrap; column-gap: 8px; justify-content: space-between; font-size: .72rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 6px; }
.wgt-f a { color: var(--accent); text-decoration: none; font-weight: 600; }
.wgt-f a:hover { text-decoration: underline; }
