:root{color-scheme:light;--bg: #f6f8fa;--card: #ffffff;--text: #1a2027;--muted: #6b7684;--border: #e2e6ea;--accent: #2563eb;--blend-bg: #eff4ff;--good: #16a34a;--ok: #ca8a04;--bad: #dc2626;--series-dmi: #2a78d6;--series-yr: #008300;--series-ecmwf: #e87ba4;--series-gfs: #eda100}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0f1419;--card: #171c22;--text: #e6e9ec;--muted: #8b97a3;--border: #2a3138;--accent: #60a5fa;--blend-bg: #1a2536;--good: #4ade80;--ok: #facc15;--bad: #f87171;--series-dmi: #3987e5;--series-yr: #008300;--series-ecmwf: #d55181;--series-gfs: #c98500}}:root[data-theme=dark]{color-scheme:dark;--bg: #0f1419;--card: #171c22;--text: #e6e9ec;--muted: #8b97a3;--border: #2a3138;--accent: #60a5fa;--blend-bg: #1a2536;--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}.header-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem}header h1{margin:0;font-size:1.9rem}.subtitle{margin:.25rem 0 1.5rem;color:var(--muted)}.controls{display:flex;flex-shrink:0;align-items:center;gap:.5rem}.theme-toggle{padding:.45rem .8rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:999px;cursor:pointer;font-size:.85rem;white-space:nowrap}.theme-toggle:hover{border-color:var(--accent)}.lang-switch{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}.lang-switch button{padding:.45rem .7rem;border:none;background:var(--card);color:var(--muted);cursor:pointer;font-size:.8rem;font-weight:600}.lang-switch button.active{background:var(--accent);color:#fff}.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}.header-row{margin-bottom:1rem}.day-head{display:flex;flex-wrap:wrap;gap:.5rem .9rem}.day-name{flex:1 1 auto;min-width:6rem}.day-meta{display:flex;flex-wrap:wrap;flex-basis:100%;gap:.4rem .9rem}.day-temp,.day-precip,.day-wind,.day-uv,.day-agree{justify-self:auto;text-align:left}.cities button,.lang-switch button,.theme-toggle,.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{background:var(--blend-bg);font-weight:700}.hourly th,.hourly td{padding:.4rem .55rem;font-size:.85rem}.hourly th:first-child,.hourly td:first-child{position:sticky;left:0;background:var(--card);box-shadow:1px 0 0 var(--border);z-index:2}.hourly thead 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)}
