:root{color-scheme:light;--bg: #f6f8fa;--card: #ffffff;--text: #1a2027;--muted: #6b7684;--border: #e2e6ea;--accent: #2563eb;--blend-bg: #eff4ff;--blend-fill: #4a6fa8;--good: #16a34a;--ok: #ca8a04;--bad: #dc2626;--series-dmi: #2a78d6;--series-yr: #008300;--series-ecmwf: #e87ba4;--series-gfs: #eda100}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--bg: #0f1419;--card: #171c22;--text: #e6e9ec;--muted: #8b97a3;--border: #2a3138;--accent: #60a5fa;--blend-bg: #1a2536;--blend-fill: #4a6fa8;--good: #4ade80;--ok: #facc15;--bad: #f87171;--series-dmi: #3987e5;--series-yr: #008300;--series-ecmwf: #d55181;--series-gfs: #c98500}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.app{max-width:1120px;margin:0 auto;padding:2rem 1.25rem 4rem}.topbar{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.25rem}header h1,.brand{margin:0;font-size:1.9rem}.brand a{color:inherit;text-decoration:none}.brand a:hover{color:var(--accent)}.nav{display:flex;flex-shrink:0;gap:1rem}.nav-link{color:var(--muted);text-decoration:none;font-size:.9rem}.nav-link:hover,.nav-link.active{color:var(--accent)}.nav-link.active{font-weight:600}.skill-chart{display:flex;flex-direction:column;gap:.6rem;margin:1.25rem 0}.skill-row{display:grid;grid-template-columns:5.5rem 1fr 4.8rem;align-items:center;gap:.6rem}.skill-label{display:inline-flex;align-items:center;gap:.4rem;font-weight:600}.skill-track{height:1.1rem;background:var(--blend-bg);border-radius:5px;overflow:hidden}.skill-bar{display:block;height:100%;border-radius:5px;min-width:2px}.skill-val{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.stat-total{margin:.5rem 0 .2rem;font-size:1.2rem}.stat-total strong{font-size:1.9rem;font-weight:700}.stat-row{display:grid;grid-template-columns:minmax(6rem,12rem) 1fr 3rem;align-items:center;gap:.6rem}.stat-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.key-form{display:flex;gap:.5rem}.key-input{padding:.5rem .8rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:8px;font-size:.95rem}.key-btn{padding:.5rem 1rem;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:8px;cursor:pointer}.subtitle{margin:.25rem 0 1.5rem;color:var(--muted)}.landing{max-width:520px;margin:2.5rem auto 0}.landing .subtitle{margin:0 0 .5rem}.landing-lead{margin:0 0 1.5rem;color:var(--muted);font-size:1.05rem;line-height:1.5}.landing-heading{margin:1.5rem 0 .6rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}.recents{display:flex;flex-direction:column}.recent-hero{display:block;width:100%;padding:0;border:none;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit}.recent-hero:hover .hero{border-color:var(--accent)}.landing-geo{margin-top:1rem;padding:.55rem 1rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:999px;cursor:pointer;font-size:.95rem}.landing-geo:hover{border-color:var(--accent)}.footer{margin-top:2.5rem;padding-top:1rem;border-top:1px solid var(--border);text-align:center;font-size:.85rem}.footer a{color:var(--muted);text-decoration:none}.footer a:hover{color:var(--accent);text-decoration:underline}.about{max-width:720px;line-height:1.6}.about h2{font-size:1.5rem;margin:.5rem 0 1rem}.about h3{font-size:1.1rem;margin:1.5rem 0 .5rem}.about p{margin:0 0 1rem}.about ul{margin:0 0 1rem;padding-left:1.2rem}.about li{margin-bottom:.4rem}.about a{color:var(--accent)}.about .models dt{display:flex;align-items:center;gap:.5rem;font-weight:600;margin-top:.9rem}.about .models dd{margin:.15rem 0 0;color:var(--muted)}.about .sources{color:var(--muted);font-size:.9rem}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;vertical-align:middle}.dot-dmi{background:var(--series-dmi)}.dot-yr{background:var(--series-yr)}.dot-ecmwf{background:var(--series-ecmwf)}.dot-gfs{background:var(--series-gfs)}.search{position:relative;margin-bottom:.75rem}.search input{width:100%;padding:.6rem .9rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:10px;font-size:.95rem}.search input:focus{outline:none;border-color:var(--accent)}.search-results{position:absolute;z-index:10;top:calc(100% + 4px);left:0;right:0;margin:0;padding:.25rem;list-style:none;background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001f;max-height:280px;overflow-y:auto}.search-results button{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;width:100%;padding:.5rem .65rem;border:none;background:none;color:var(--text);border-radius:7px;cursor:pointer;text-align:left;font-size:.9rem}.search-results button:hover{background:var(--blend-bg)}.search-results .r-meta{color:var(--muted);font-size:.8rem;white-space:nowrap}.search-heading{padding:.4rem .65rem .2rem;color:var(--muted);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.cities{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.day{border:1px solid var(--border);border-radius:12px;background:var(--card);overflow:hidden}.day.open{border-color:var(--accent)}.day-head{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem 4.5rem 5rem 3.5rem 8.5rem;align-items:center;gap:.6rem;width:100%;padding:.8rem 1rem;border:none;background:none;color:var(--text);cursor:pointer;font-size:.95rem;text-align:left}.day-head:hover{background:var(--blend-bg)}.day-name{display:inline-flex;align-items:center;gap:.5rem;min-width:0;font-weight:600;text-transform:capitalize}.day-meta{display:contents}.day-temp,.day-precip,.day-uv,.day-agree{justify-self:end;text-align:right}.day-icon{font-size:1.25rem}.day-wind{display:inline-flex;align-items:center;justify-content:flex-end;justify-self:end;gap:.2rem;color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums}.wind-arrow{display:inline-block;width:1em;text-align:center;margin:0 .2rem;line-height:1}.hour-icon{margin-right:.35rem}.hourly td.time{white-space:nowrap}.hourly tr.now td{background:var(--blend-bg)}.hourly tr.now td:first-child{background:var(--blend-bg);box-shadow:inset 3px 0 0 var(--accent),1px 0 0 var(--border);font-weight:700}.day-temp{font-variant-numeric:tabular-nums;font-weight:700}.day-temp .lo{color:var(--muted);font-weight:400}.day-precip{color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums}.day .table-wrap{border:none;border-top:1px solid var(--border);border-radius:0}@media (max-width: 560px){.app{padding:1.25rem .85rem 3rem}header h1{font-size:1.55rem}.day-head{display:flex;flex-wrap:wrap;gap:.5rem .9rem}.day-name{flex:1 1 auto;min-width:6rem}.day-meta{display:grid;grid-template-columns:4rem 4.5rem 2.8rem 1fr;align-items:center;gap:.4rem;flex-basis:100%;font-size:.82rem}.day-precip,.day-uv{justify-self:start;text-align:left}.day-wind{justify-self:start;justify-content:flex-start}.day-agree{justify-self:end}.badge .agree-word{display:none}.cities button,.search input{min-height:44px}.hero-place,.hero-temp,.hero-icon{font-size:2rem}}.skeleton{display:flex;flex-direction:column;gap:.5rem}.sk{border-radius:12px;background:var(--card);border:1px solid var(--border);position:relative;overflow:hidden}.sk-hero{height:88px;margin-bottom:.75rem}.sk-row{height:52px}.sk:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--text) 7%,transparent),transparent);animation:sk-shimmer 1.3s infinite}@keyframes sk-shimmer{to{transform:translate(100%)}}.cities button{padding:.45rem .9rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:999px;cursor:pointer;font-size:.9rem}.cities button.active{background:var(--accent);border-color:var(--accent);color:#fff}.cities button.geo{font-weight:600}.hero{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;padding:1.1rem 1.25rem;margin-bottom:1.25rem;background:var(--card);border:1px solid var(--border);border-radius:12px}.hero-place{font-size:2.4rem;font-weight:600;line-height:1.05;min-width:0}.hero-now{display:flex;align-items:center;gap:.75rem}.hero-icon{font-size:2.75rem;line-height:1}.hero-temp{font-size:2.6rem;font-weight:700;line-height:1}.hero-meta{display:flex;flex-direction:column;gap:.3rem;color:var(--muted);font-size:.9rem;margin-left:auto;text-align:right}.nowcast{margin:0 0 .5rem;font-weight:600;font-size:.95rem}.nowcast.soon,.nowcast.wet{color:var(--accent)}.nowcast.dry{color:var(--muted);font-weight:400}.updated{margin:0 0 1.1rem;color:var(--muted);font-size:.75rem}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .9rem;color:var(--muted);font-size:.85rem;margin:0 0 .75rem}.src-tag{display:inline-flex;align-items:center}.hourly th.head-dmi{box-shadow:inset 0 -2px var(--series-dmi)}.hourly th.head-yr{box-shadow:inset 0 -2px var(--series-yr)}.hourly th.head-ecmwf{box-shadow:inset 0 -2px var(--series-ecmwf)}.hourly th.head-gfs{box-shadow:inset 0 -2px var(--series-gfs)}.status{padding:.75rem 1rem;border-radius:8px;background:var(--card);border:1px solid var(--border)}.status.error{color:var(--bad)}.status.warn{color:var(--ok);font-size:.85rem}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;background:var(--card);border:1px solid var(--border);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:480px}th,td{padding:.6rem .75rem;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}th:first-child,td:first-child{text-align:left}thead th{color:var(--muted);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.02em}tbody tr:last-child td{border-bottom:none}td.blend,.hourly th.blend-head{background:var(--blend-fill);color:#fff;font-weight:700}.hourly th,.hourly td{padding:.4rem .55rem;font-size:.85rem}.hourly thead tr:first-child th:first-child,.hourly tbody td:first-child{position:sticky;left:0;background:var(--card);box-shadow:1px 0 0 var(--border);z-index:2}.hourly thead tr:first-child th:first-child{z-index:3}.hourly th.group{text-align:center;font-size:.78rem}.hourly th.sep,.hourly td.sep{border-left:2px solid var(--border)}.footnote{margin:.9rem 0 0;color:var(--muted);font-size:.78rem;line-height:1.4}.badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge.good{color:var(--good)}.badge.ok{color:var(--ok)}.badge.bad{color:var(--bad)}.badge.muted{color:var(--muted)}
