@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");

:root {
  --bg: #0b1830;
  --bg-2: #0e2040;
  --surface: #12254a;
  --surface-2: #16294f;
  --line: #24365e;
  --text: #eaf1ff;
  --text-muted: #93a4c9;
  --primary: #2f8dff;
  --primary-2: #7fb8ff;
  --glow: rgba(47, 141, 255, 0.25);
  --warn-bg: #3a2a12;
  --warn-line: #6b4a1c;
  --warn-text: #ffcf8a;
  --ok-bg: #113a26;
  --ok-line: #1f6b45;
  --ok-text: #86e0b3;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
:root[data-theme="light"] {
  --bg: #eef2f9;
  --bg-2: #e4ebf7;
  --surface: #ffffff;
  --surface-2: #f4f7fc;
  --line: #dfe6f2;
  --text: #101a30;
  --text-muted: #5c6b8a;
  --primary: #2184ff;
  --primary-2: #176dcc;
  --glow: rgba(33, 132, 255, 0.12);
  --warn-bg: #fff7ed;
  --warn-line: #fed7aa;
  --warn-text: #9a5b12;
  --ok-bg: #f0fdf4;
  --ok-line: #bbf7d0;
  --ok-text: #197a4a;
  --shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }
html { direction: rtl; color-scheme: dark; overflow-x: hidden; overflow-anchor: none; }
:root[data-theme="light"] html { color-scheme: light; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-anchor: none;
  background:
    radial-gradient(120% 60% at 15% -10%, var(--glow) 0%, transparent 60%),
    radial-gradient(100% 50% at 100% 0%, var(--glow) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  line-height: 1.7;
  transition: background-color .25s ease, color .25s ease;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1160px, calc(100% - 28px)); margin: auto; }

header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.3);
}
.nav { height: 68px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 900; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; display: block; }
.brand-title { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.brand-title b { color: var(--primary-2); }
.links { display: flex; gap: 18px; color: var(--text-muted); font-size: 14px; }
.links a { transition: color .15s ease; }
.links a:hover { color: var(--primary-2); }
.spacer { flex: 1; }
.date-label { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.clock { font-variant-numeric: tabular-nums; color: var(--text-muted); font-size: 14px; min-width: 44px; text-align: center; }
.btn { border: 0; border-radius: 12px; padding: 10px 14px; background: var(--surface-2); color: var(--primary-2); cursor: pointer; border: 1px solid var(--line); transition: transform .12s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.icon-btn { padding: 10px 12px; font-size: 15px; }
.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #06111f; border-color: transparent; font-weight: 700; }
:root[data-theme="light"] .primary { color: #fff; }

main { padding: 25px 0 55px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.search input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 13px;
  outline: none; background: var(--surface); color: var(--text);
}
.search input::placeholder { color: var(--text-muted); }

.hero { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 16px; align-items: stretch; }
.current, .side, .section { padding: 22px; }
.muted { color: var(--text-muted); }
.place { font-size: 28px; font-weight: 900; margin-top: 2px; }
.tempRow { display: flex; align-items: center; gap: 20px; margin: 16px 0; }
.temp { font-size: 68px; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--text), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { font-size: 56px; filter: drop-shadow(0 6px 18px var(--glow)); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 9px; }
.metric { background: var(--bg-2); padding: 11px; border-radius: 13px; border: 1px solid var(--line); }
.metric span, .metric b { display: block; }
.metric span { font-size: 12px; color: var(--text-muted); }
.metric b { margin-top: 2px; }

.side h3 { margin: 0 0 12px; font-size: 15px; }
.sun-arc { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sun-arc svg { width: 100%; height: auto; }
.arc-track { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.sun-dot { fill: #ffd166; filter: drop-shadow(0 0 8px #ffd16699); transition: cx .4s ease, cy .4s ease; }
.sun-arc.is-night .sun-dot { fill: var(--primary-2); filter: drop-shadow(0 0 8px var(--glow)); }
.sun-times { display: flex; justify-content: space-between; width: 100%; padding: 0 6px; font-size: 13px; }
.sun-times div { display: flex; align-items: center; gap: 6px; }
.sun-times b { font-variant-numeric: tabular-nums; }
.daylight-length { margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.daylight-length b { color: var(--text); font-variant-numeric: tabular-nums; }

.alert { padding: 13px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-text); border-radius: 13px; margin-bottom: 9px; }
.alert b { color: var(--text); }
.alert.ok { border-color: var(--ok-line); background: var(--ok-bg); }
.alert.ok b { color: var(--ok-text); }
.alert small { display: block; color: var(--text-muted); margin-top: 3px; }

.section { margin-top: 17px; }
.section h2 { margin: 0 0 13px; font-size: 18px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
.section-head h2 { margin: 0; }
.section-head span { color: var(--text-muted); font-size: 13px; }

.hourly { display: flex; gap: 9px; overflow: auto; padding-bottom: 4px; }
.hour { min-width: 96px; text-align: center; padding: 12px 8px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 14px; }
.hour > * { display: block; }
.hour-wind { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.chart-block { margin-top: 16px; }
.chart-block h3 { margin: 0 0 10px; font-size: 14px; color: var(--text-muted); }
.chart-shell { height: 220px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
@media (max-width: 480px) { .chart-shell { height: 180px; } }
.hourly-summary { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.hourly-summary > div { flex: 1; min-width: 120px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 13px; padding: 11px; text-align: center; }
.hourly-summary span { display: block; font-size: 12px; color: var(--text-muted); }
.hourly-summary b { display: block; margin-top: 3px; font-variant-numeric: tabular-nums; }

.aqi { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.aqi-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 110px; padding: 10px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.aqi-main b { font-size: 34px; font-weight: 900; line-height: 1; }
.aqi-main span { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.aqi-main small { margin-top: 2px; font-size: 11px; color: var(--text-muted); }
.aqi[data-band="ok"] .aqi-main b { color: var(--ok-text); }
.aqi[data-band="warn"] .aqi-main b { color: var(--warn-text); }
.aqi[data-band="bad"] .aqi-main b { color: #ff6b6b; }
.aqi-metrics { display: flex; gap: 9px; flex: 1; min-width: 200px; }
.aqi-metrics .metric { flex: 1; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; }
.day { text-align: center; padding: 13px 8px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 14px; }
.day > * { display: block; }

.provinces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.province { padding: 12px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 13px; cursor: pointer; transition: border-color .15s ease; }
.province:hover { border-color: var(--primary); }
.province small { display: block; color: var(--text-muted); }
.cities { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.city { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-block; }
.city:hover { border-color: var(--primary); }

.links a.active { color: var(--primary-2); }
.page-title { margin: 0 0 8px; font-size: 24px; }
.small { font-size: 13px; }

.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.nearby-card { display: block; width: 100%; text-align: right; cursor: pointer; padding: 15px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 15px; transition: border-color .15s ease, transform .12s ease; font: inherit; color: inherit; }
.nearby-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.nearby-card b { display: block; font-size: 16px; margin-bottom: 5px; }
.nearby-card span { color: var(--text-muted); font-size: 13px; }
.province-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.province-card { display: block; padding: 15px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 15px; transition: border-color .15s ease, transform .12s ease; }
.province-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.province-card b { display: block; font-size: 16px; margin-bottom: 5px; }
.province-card span { color: var(--text-muted); font-size: 13px; }

.dir-search { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: var(--surface); color: var(--text); margin: 12px 0; }
.dir-search::placeholder { color: var(--text-muted); }
.province-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.tab { border: 1px solid var(--line); background: var(--bg-2); color: var(--text-muted); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; }
.tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #06111f; border-color: transparent; font-weight: 700; }
:root[data-theme="light"] .tab.active { color: #fff; }
.city-group { margin-bottom: 20px; }
.city-group:last-child { margin-bottom: 0; }
.city-group h3 { margin: 0 0 10px; font-size: 15px; }

.widget-variant-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.hidden { display: none !important; }
.widget { max-width: 420px; margin: 15px auto; padding: 18px; }
.widget .temp { font-size: 48px; }
.foot { text-align: center; color: var(--text-muted); font-size: 12px; padding: 25px; }
.weather-credit { display: inline-flex; align-items: center; gap: 6px; }
.weather-credit img { width: 18px; height: 18px; object-fit: contain; display: block; }

.notice { padding: 14px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 14px; line-height: 1.9; }
.rank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rank-card { padding: 13px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 14px; }
.rank-card b { display: block; margin-bottom: 6px; }
.rank-card span { color: var(--text-muted); font-size: 13px; }
.actions { margin: 8px 0; }

html, body, button, input, select, textarea { font-family: Vazirmatn, Tahoma, Arial, sans-serif !important; }
.brand, .place, h1, h2, h3, .temp { font-weight: 800; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero .current { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: repeat(2, 1fr); }
  .provinces { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: 1fr 1fr; }
  .temp { font-size: 56px; }
}
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand-logo { width: 26px; height: 26px; }
  .date-label { display: none; }
  .clock { font-size: 12px; min-width: 34px; }
  .btn { padding: 8px 10px; font-size: 13px; }
  .btn.icon-btn { padding: 8px 9px; font-size: 13px; }
}

/* v2.1 visual weather system */
.story-card{position:relative;display:flex;align-items:center;gap:18px;padding:20px 22px;margin-bottom:16px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 15%,var(--surface)),var(--surface))}
.story-icon{font-size:42px;line-height:1;filter:drop-shadow(0 8px 22px var(--glow))}
.story-copy{flex:1}.story-kicker{font-size:12px;color:var(--primary-2);font-weight:800}.story-copy h1{font-size:21px;margin:3px 0 4px}.story-copy p{margin:0;color:var(--text-muted);line-height:1.8}
.favorite-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--bg-2);color:#ffd166;font-size:25px;cursor:pointer}
.weather-scene{position:relative;overflow:hidden;isolation:isolate}.weather-scene>*{position:relative;z-index:2}
.weather-scene::before,.weather-scene::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;opacity:0;transition:opacity .3s}
.weather-scene[data-weather="rain"]::before,.weather-scene[data-weather="storm"]::before{opacity:.25;background-image:repeating-linear-gradient(110deg,transparent 0 16px,rgba(174,214,255,.7) 17px 18px,transparent 19px 30px);background-size:160px 160px;animation:rainfall 1.1s linear infinite}
.weather-scene[data-weather="snow"]::before{opacity:.55;background-image:radial-gradient(circle,#fff 0 2px,transparent 2.5px);background-size:28px 28px;animation:snowfall 7s linear infinite}
.weather-scene[data-weather="clear"]::after{opacity:.28;background:radial-gradient(circle at 15% 15%,#ffd166 0,transparent 38%)}
.weather-scene[data-weather="cloud"]::after,.weather-scene[data-weather="fog"]::after{opacity:.18;background:radial-gradient(ellipse at 20% 30%,#fff 0,transparent 35%),radial-gradient(ellipse at 75% 60%,#9fb2c9 0,transparent 42%);animation:cloudfloat 10s ease-in-out infinite alternate}
@keyframes rainfall{to{background-position:-40px 160px}}@keyframes snowfall{to{background-position:15px 180px}}@keyframes cloudfloat{to{transform:translateX(18px)}}
.days{grid-template-columns:repeat(7,minmax(120px,1fr));overflow:auto}.day{min-width:120px}.day-icon{font-size:29px}
.favorites-strip{margin:0 0 16px}.favorites{display:flex;gap:8px;overflow:auto}.favorite-chip{min-width:130px;text-align:right;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;padding:10px 13px;cursor:pointer}.favorite-chip b,.favorite-chip small{display:block}.favorite-chip small{color:var(--text-muted);margin-top:2px}
.map-shell{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--bg-2);height:360px}.map-shell iframe{border:0;width:100%;height:100%}
#mapFrame{width:100%;height:100%;background:var(--bg-2)}
.radar-toggle{padding:8px 12px;font-size:13px}
.radar-controls .btn.icon-btn{padding:8px 10px;font-size:14px}
.radar-controls .btn.icon-btn:disabled{opacity:.5;cursor:default}
.radar-time{position:absolute;bottom:10px;inset-inline-start:10px;inset-inline-end:10px;z-index:1000;background:color-mix(in srgb,var(--bg) 82%,transparent);color:var(--text-muted);font-size:11px;line-height:1.5;padding:6px 10px;border-radius:10px;max-width:calc(100% - 20px)}
.rank-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:780px){.story-card{align-items:flex-start}.story-copy h1{font-size:18px}.story-icon{font-size:34px}.map-shell{height:300px}.days{grid-template-columns:none}.rank-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.weather-scene::before,.weather-scene::after{animation:none!important}}

.forecast-head{gap:12px;align-items:center;flex-wrap:wrap}.forecast-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--bg-2)}.forecast-tab{border:0;border-radius:9px;padding:7px 11px;background:transparent;color:var(--text-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.forecast-tab.active{background:var(--primary);color:#fff}@media(max-width:620px){.forecast-tabs{width:100%;overflow:auto}.forecast-tab{flex:1}}

/* ---- Runama ecosystem navigation (P0) ---- */
.runama-bar{background:var(--bg-2);border-bottom:1px solid var(--line)}
.runama-back{display:inline-flex;align-items:center;gap:6px;width:min(1160px,calc(100% - 28px));margin:auto;padding:7px 0;font-size:12.5px;color:var(--text-muted);transition:color .15s ease}
.runama-back:hover,.runama-back:focus-visible{color:var(--primary-2)}
.brand{transition:opacity .15s ease}
.brand:hover,.brand:focus-visible{opacity:.85}

/* ---- Mobile bottom navigation (P0 — replaces "just hide .links") ---- */
.mobile-nav{display:none}
@media (max-width:780px){
  .mobile-nav{
    display:flex; position:fixed; inset-inline:0; bottom:0; z-index:20;
    background:color-mix(in srgb,var(--bg) 92%,transparent); backdrop-filter:blur(14px);
    border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-nav a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;font-size:11px;color:var(--text-muted);padding:7px 2px;border-radius:10px}
  .mobile-nav a:active,.mobile-nav a:focus-visible{background:var(--surface-2);color:var(--primary-2)}
  main{padding-bottom:78px}
}

/* ---- "More" overflow menu (P0 header simplification) ---- */
.menu-more{position:relative}
.more-menu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);min-width:170px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:6px;z-index:30;display:flex;flex-direction:column;gap:2px}
.more-menu a,.more-menu button{display:block;width:100%;text-align:right;padding:9px 12px;border-radius:9px;color:var(--text);background:none;border:0;font:inherit;cursor:pointer}
.more-menu a:hover,.more-menu button:hover,.more-menu a:focus-visible,.more-menu button:focus-visible{background:var(--surface-2)}
@media (max-width:780px){.links{display:none}}

/* ---- Search autocomplete (P0) ---- */
.search-field{position:relative;flex:1}
.search-dropdown{position:absolute;top:calc(100% + 6px);inset-inline:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);max-height:320px;overflow:auto;z-index:25}
.search-option{display:block;width:100%;text-align:right;padding:11px 14px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:13.5px;cursor:pointer}
.search-option:last-child{border-bottom:0}
.search-option:hover,.search-option.active{background:var(--surface-2);color:var(--primary-2)}
.search-option.notice-row{color:var(--text-muted);cursor:default;display:flex;align-items:center;gap:8px}
.search-option.notice-row:hover{background:none;color:var(--text-muted)}
.search-message,.loc-message{margin:-8px 0 14px;font-size:13px;color:var(--warn-text);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.loc-message b{color:var(--text)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- Loading / error states (P0) ---- */
.spinner{display:inline-block;width:14px;height:14px;border:2px solid var(--text-muted);border-top-color:var(--primary-2);border-radius:50%;animation:spin .7s linear infinite;vertical-align:-2px}
@keyframes spin{to{transform:rotate(360deg)}}
.loading-notice{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.error-notice{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;border-color:var(--warn-line);background:var(--warn-bg);color:var(--warn-text)}
.error-notice b{color:var(--text)}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:1.4s}}

/* ---- Focus-visible accessibility pass (P0) ---- */
a:focus-visible,button:focus-visible,input:focus-visible,.city:focus-visible,.province:focus-visible,.tab:focus-visible,.nearby-card:focus-visible,.forecast-tab:focus-visible,.favorite-chip:focus-visible{
  outline:2px solid var(--primary-2); outline-offset:2px; border-radius:8px;
}
.forecast-tab[aria-selected="true"]{background:var(--primary);color:#fff}

/* ---- Leaflet dark-mode fix (P0 — real "white component in dark mode" bug):
   OpenStreetMap tiles are only ever produced light, so without this the map
   is a bright white rectangle inside an otherwise dark UI. Standard technique:
   invert + hue-rotate the raster tiles back to a dark, legible palette. ---- */
:root[data-theme="dark"] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.9)}
:root[data-theme="dark"] .leaflet-marker-icon,:root[data-theme="dark"] .leaflet-popup-content-wrapper,:root[data-theme="dark"] .leaflet-popup-tip{filter:invert(1) hue-rotate(180deg)}
.leaflet-control-zoom a{background:var(--surface) !important;color:var(--text) !important;border-color:var(--line) !important}
.leaflet-control-attribution{background:color-mix(in srgb,var(--bg) 75%,transparent) !important;color:var(--text-muted) !important}

/* ---- Radar timeline controls ---- */
.radar-controls{position:absolute;top:10px;inset-inline-end:10px;z-index:1000;display:flex;gap:6px}
.radar-timeline{position:absolute;bottom:52px;inset-inline:10px;z-index:1000;display:flex;align-items:center;gap:8px;background:color-mix(in srgb,var(--bg) 82%,transparent);padding:6px 10px;border-radius:10px}
.radar-timeline input[type=range]{flex:1;accent-color:var(--primary)}
.radar-timeline span{font-size:11px;color:var(--text-muted);white-space:nowrap}

/* ---- Forecast-day uncertainty (don't imply day 16 = day 1 confidence) ---- */
.day.less-certain{opacity:.72}
.day.less-certain .day-icon{filter:saturate(.7)}
.forecast-uncertainty-note{margin-top:10px;font-size:12px;color:var(--text-muted)}

/* ---- AQI interpretation line ---- */
.aqi-explain{flex-basis:100%;margin-top:2px;font-size:13px;color:var(--text-muted)}
.aqi-explain b{color:var(--text)}
