/* ==========================================================================
   4Search — weather.css
   The Weather service (/weather/...). Every class is wx- (or wxm- for the
   map, wxi- for icon parts) and the colours run through the --wx-* tokens,
   so the colour modes of app.css section 14 need only the token block at the
   end: hybrid and light share the base (light content), dark restates the
   tokens. Data colours (temperatures, the NWS alert colours, the AQI scale,
   radar) are the same in every mode.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
.wx-page{
  --wx-ink:#0f1720;
  --wx-ink-2:#364152;
  --wx-ink-3:#637083;
  --wx-ink-4:#8a95a5;
  --wx-line:#e1e7ef;
  --wx-line-2:#edf1f6;
  --wx-surface:#ffffff;
  --wx-surface-2:#f5f8fc;
  --wx-surface-3:#ebf1f8;
  --wx-page:#f1f5fa;
  --wx-accent:#1766c9;
  --wx-accent-soft:#e7f0fd;
  --wx-warn:#b45309;
  --wx-warn-soft:#fff3e0;
  --wx-gold:#d99a00;
  --wx-radius:14px;
  --wx-radius-sm:10px;
  --wx-shadow:0 1px 2px rgba(16,24,40,.04), 0 2px 8px rgba(16,24,40,.05);
  --wx-temp:#e8590c;
  --wx-feels:#f59f00;
  --wx-pop:rgba(37,99,235,.42);
  --wx-night:rgba(30,41,59,.055);
  --wxi-sun:#f5a90a;
  --wxi-moon:#f0c94d;
  --wxi-cloud:#dbe3ec;
  --wxi-cloud-line:#a3b1c2;
  --wxi-cloud2:#bccada;
  --wxi-rain:#2f7fe8;
  --wxi-snow:#7fb6f2;
  --wxi-fog:#98a4b3;
  font-variant-numeric:tabular-nums;
}

/* -------------------------------------------------------------------- page */
.wx-main{ padding:0 0 32px; background:var(--wx-page); flex:1; }
.wx-container{ max-width:1320px; margin:0 auto; padding:0 16px; }
.wx-muted{ color:var(--wx-ink-3); }
.wx-na{ color:var(--wx-ink-4); }
.wx-strong{ font-weight:700; }
.wx-dot{ color:var(--wx-ink-4); margin:0 6px; }
.wx-empty{ color:var(--wx-ink-3); font-size:14px; margin:6px 0; }
.wx-h1{ font-size:26px; font-weight:750; letter-spacing:-.02em; color:var(--wx-ink); margin:0; line-height:1.25; }
.wx-lede{ color:var(--wx-ink-3); font-size:15px; margin:6px 0 0; max-width:820px; line-height:1.55; }
.wx-page-head{ padding:16px 2px 12px; }
.wx-crumbs{ font-size:13px; color:var(--wx-ink-3); margin-bottom:6px; display:flex; flex-wrap:wrap; align-items:center; gap:2px; }
.wx-crumbs a{ color:var(--wx-accent); text-decoration:none; }
.wx-crumbs a:hover{ text-decoration:underline; }
.wx-crumb-sep{ margin:0 6px; color:var(--wx-ink-4); }
.wx-subhead{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--wx-ink-3); margin:14px 0 8px; }
.wx-disclaimer{ font-size:12px; line-height:1.6; color:var(--wx-ink-4); margin:26px 2px 6px; max-width:1000px; }
.wx-disclaimer a{ color:inherit; text-decoration:underline; }
.wx-scroll-x{ overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.wx-prose p{ color:var(--wx-ink-2); font-size:14.5px; line-height:1.65; margin:0 0 10px; }
.wx-k{ color:var(--wx-ink-3); font-size:12.5px; margin-right:4px; }
.wx-kicker{ display:inline-block; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.07em; color:var(--wx-accent); background:var(--wx-accent-soft); padding:2px 8px; border-radius:999px; margin-right:6px; vertical-align:middle; }
.wx-count{ display:inline-block; min-width:22px; text-align:center; font-size:12px; font-weight:700; padding:1px 7px; border-radius:999px; background:var(--wx-surface-3); color:var(--wx-ink-2); margin-left:4px; }
.wx-tag{ display:inline-block; font-size:11.5px; font-weight:650; padding:2px 8px; border-radius:999px; background:var(--wx-surface-3); color:var(--wx-ink-2); white-space:nowrap; }
.wx-tag-warn{ background:var(--wx-warn-soft); color:var(--wx-warn); }
.wx-links-row{ display:flex; flex-wrap:wrap; gap:6px 18px; font-size:14px; margin:12px 0 0; }
.wx-links-row a{ color:var(--wx-accent); text-decoration:none; font-weight:600; }
.wx-links-row a:hover{ text-decoration:underline; }

/* ----------------------------------------------------------------- search */
.wx-search{ margin:6px 0 2px; }
.wx-search-box{
  position:relative; display:flex; align-items:center; gap:6px;
  background:#fff; border:1px solid #dfe5ec; border-radius:16px; padding:5px 6px 5px 14px;
  box-shadow:0 2px 10px rgba(9,14,22,.10); transition:box-shadow .2s ease, border-color .2s ease;
}
.wx-search-box:focus-within{ border-color:var(--accent, #1abc9c); box-shadow:0 0 0 3px rgba(26,188,156,.22), 0 8px 24px rgba(9,14,22,.12); }
.wx-search-ico{ color:#7a8391; display:inline-flex; }
.wx-search-ico .ico{ width:18px; height:18px; }
.wx-search-input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-size:16px; color:#0f1720; padding:8px 4px; font-family:inherit; }
.wx-search-input::placeholder{ color:#8b94a3; }
.wx-locate-btn{ flex-shrink:0; width:38px; height:38px; border-radius:11px; border:1px solid #dfe5ec; background:#f6f8fb; color:#3a4656; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.wx-locate-btn:hover{ color:#1766c9; border-color:#b9cdea; }
.wx-locate-btn[hidden]{ display:none; }
.wx-locate-btn.is-busy svg{ animation:wx-spin 1s linear infinite; }
@keyframes wx-spin{ to{ transform:rotate(360deg); } }
.wx-search-btn{
  flex-shrink:0; width:40px; height:40px; border-radius:12px; border:0; cursor:pointer;
  background:#ffc107; color:#1b1f26; display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 2px 6px rgba(16,24,40,.18); transition:transform .15s ease;
}
.wx-search-btn:hover{ transform:scale(1.05); }
.wx-search-btn .ico{ width:18px; height:18px; }
.wx-suggest{
  position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:1100;
  background:#fff; border:1px solid rgba(16,24,40,.10); border-radius:14px;
  box-shadow:0 18px 44px rgba(16,24,40,.20); padding:6px; max-height:440px; overflow-y:auto;
}
.wx-suggest[hidden]{ display:none; }
.wx-suggest-inline{ position:relative; top:auto; margin-top:8px; box-shadow:0 8px 24px rgba(16,24,40,.12); }
.wx-sug-item{ display:flex; align-items:center; gap:10px; width:100%; padding:8px 10px; border-radius:10px; color:#0f1720; text-decoration:none; border:0; background:none; font:inherit; text-align:left; cursor:pointer; }
.wx-sug-item.is-active, .wx-sug-item:hover{ background:#f0f4fa; }
.wx-sug-label{ flex:1; min-width:0; font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wx-sug-sub{ font-size:12px; color:#677180; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:45%; }
.wx-sug-kind{ font-size:11px; color:#677180; background:#f2f4f8; border-radius:6px; padding:2px 6px; white-space:nowrap; }
.wx-sug-item .wx-star{ flex-shrink:0; }

/* -------------------------------------------------------------- subnav */
.wx-subnav{ background:var(--wx-surface); border-bottom:1px solid var(--wx-line); margin-bottom:6px; }
.wx-subnav-track{ display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; padding:6px 12px; max-width:1320px; margin:0 auto; }
.wx-subnav-track::-webkit-scrollbar{ display:none; }
.wx-subnav-link{ flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:7px 13px; border-radius:999px; font-size:14px; font-weight:500; color:var(--wx-ink-2); text-decoration:none; transition:background .15s ease, color .15s ease; }
.wx-subnav-link:hover{ background:var(--wx-surface-2); color:var(--wx-ink); }
.wx-subnav-link.is-active{ background:var(--wx-accent-soft); color:var(--wx-accent); font-weight:650; }
.wx-subnav-n{ font-size:11.5px; font-weight:700; background:var(--wx-surface-3); color:var(--wx-ink-2); border-radius:999px; padding:0 7px; line-height:18px; }
.wx-subnav-n[hidden]{ display:none; }
.wx-subnav-star{ fill:var(--wx-gold); }

/* --------------------------------------------------------------- layout */
.wx-grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:16px; align-items:start; }
.wx-col, .wx-stack{ display:flex; flex-direction:column; gap:16px; min-width:0; }
@media (min-width:992px){
  .wx-grid-main{ grid-template-columns:minmax(0,1fr) 370px; }
  .wx-grid-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
.wx-container > :is(.wx-card, .wx-grid, .wx-stack, .wx-banners, .wxm, .wx-toolbar, .wx-filters, .wx-pager, .wx-following) + :is(.wx-card, .wx-grid, .wx-stack, .wx-banners, .wxm, .wx-pager, .wx-following){ margin-top:16px; }
.wx-under-map{ margin-top:16px; }
.wx-card{ background:var(--wx-surface); border:1px solid var(--wx-line); border-radius:var(--wx-radius); box-shadow:var(--wx-shadow); padding:16px 18px; min-width:0; }
.wx-card-head{ display:flex; align-items:center; gap:10px; margin:-2px 0 12px; flex-wrap:wrap; }
.wx-card-title{ font-size:16.5px; font-weight:720; color:var(--wx-ink); margin:0; letter-spacing:-.01em; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.wx-card-title a{ color:inherit; text-decoration:none; }
.wx-card-title a:hover{ color:var(--wx-accent); }
.wx-card-more{ margin-left:auto; font-size:13px; font-weight:650; color:var(--wx-accent); text-decoration:none; white-space:nowrap; }
.wx-card-more:hover{ text-decoration:underline; }
.wx-card-note{ font-size:12px; color:var(--wx-ink-4); margin:12px 2px 0; line-height:1.5; }
.wx-card-note a{ color:inherit; text-decoration:underline; }
.wx-card-map{ padding-bottom:14px; }
.wx-card-start{ background:linear-gradient(135deg, #e8f1ff 0%, #f4f8ff 60%, #fff 100%); }
.wx-card-start .wx-card-title{ font-size:19px; margin-bottom:4px; }

/* --------------------------------------------------------------- buttons */
.wx-btn{ display:inline-flex; align-items:center; gap:6px; padding:7px 13px; border-radius:10px; border:1px solid var(--wx-line); background:var(--wx-surface);
  color:var(--wx-ink-2); font-size:13.5px; font-weight:620; text-decoration:none; cursor:pointer; white-space:nowrap; font-family:inherit; line-height:1.3; }
.wx-btn:hover{ border-color:var(--wx-accent); color:var(--wx-accent); }
.wx-btn[hidden]{ display:none; }
.wx-btn-primary{ background:var(--wx-accent); border-color:var(--wx-accent); color:#fff; }
.wx-btn-primary:hover{ background:#0f56ad; border-color:#0f56ad; color:#fff; }
.wx-star{ fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.wx-follow[aria-pressed="true"]{ border-color:#f0d38a; background:#fff8e1; color:#8a6100; }
.wx-follow[aria-pressed="true"] .wx-star{ fill:var(--wx-gold); stroke:var(--wx-gold); }
.wx-follow-icon{ padding:5px 7px; }
.wx-home[aria-pressed="true"]{ border-color:#b7d0f3; background:var(--wx-accent-soft); color:var(--wx-accent); }
.wx-units{ display:inline-flex; border:1px solid var(--wx-line); border-radius:10px; overflow:hidden; background:var(--wx-surface); }
.wx-unit-btn{ border:0; background:none; padding:7px 11px; font-size:13.5px; font-weight:650; color:var(--wx-ink-3); cursor:pointer; font-family:inherit; }
.wx-unit-btn[aria-pressed="true"]{ background:var(--wx-ink); color:#fff; }
.wx-chips{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.wx-chip{ display:inline-flex; align-items:center; gap:5px; font-size:13px; padding:4px 10px; border-radius:999px; background:var(--wx-surface-3); color:var(--wx-ink-2); text-decoration:none; white-space:nowrap; }
a.wx-chip:hover{ background:var(--wx-accent-soft); color:var(--wx-accent); }
.wx-chip-alert{ display:inline-block; font-size:11.5px; font-weight:700; padding:1px 7px; border-radius:999px; background:#fde8e8; color:#b42318; text-decoration:none; white-space:nowrap; vertical-align:middle; }
.wx-filters{ display:flex; flex-wrap:wrap; gap:4px; background:var(--wx-surface); border:1px solid var(--wx-line); border-radius:999px; padding:3px; width:max-content; max-width:100%; margin:0 0 14px; }
.wx-filter{ padding:5px 12px; border-radius:999px; font-size:13px; font-weight:560; color:var(--wx-ink-2); text-decoration:none; white-space:nowrap; }
.wx-filter:hover{ background:var(--wx-surface-2); }
.wx-filter.is-active{ background:var(--wx-ink); color:#fff; }
.wx-pager{ display:flex; gap:8px; justify-content:space-between; margin-top:14px; }
.wx-toolbar{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:0 0 14px; }
.wx-select, .wx-input{ border:1px solid var(--wx-line); background:var(--wx-surface); color:var(--wx-ink); border-radius:10px; padding:8px 10px; font-size:14px; font-family:inherit; min-width:0; }
.wx-input{ width:100%; max-width:420px; }
.wx-select-label{ font-size:13px; font-weight:650; color:var(--wx-ink-3); }

/* ------------------------------------------------------------ place head */
.wx-place-head{ padding:14px 2px 6px; }
.wx-place-row{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:10px 16px; }
.wx-place-title{ min-width:0; }
.wx-place-meta{ font-size:13px; color:var(--wx-ink-3); margin-top:5px; display:flex; flex-wrap:wrap; align-items:center; }
.wx-place-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.wx-tabs{ border-bottom:1px solid var(--wx-line); margin:6px 0 14px; }
.wx-tabs-track{ display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; }
.wx-tabs-track::-webkit-scrollbar{ display:none; }
.wx-tab{ flex:0 0 auto; padding:10px 14px; font-size:14.5px; font-weight:600; color:var(--wx-ink-3); text-decoration:none; border-bottom:3px solid transparent; margin-bottom:-1px; display:inline-flex; align-items:center; gap:6px; }
.wx-tab:hover{ color:var(--wx-ink); }
.wx-tab.is-active{ color:var(--wx-accent); border-bottom-color:var(--wx-accent); }
.wx-tab-n{ font-size:11.5px; font-weight:750; background:#d92d20; color:#fff; border-radius:999px; padding:0 7px; line-height:18px; }

/* ---------------------------------------------------------------- alerts */
.wx-banners{ display:flex; flex-direction:column; gap:8px; margin:0 0 14px; }
.wx-banner{ display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:12px; text-decoration:none; color:var(--wx-ink);
  background:color-mix(in srgb, var(--wx-alert, #f59e0b) 14%, var(--wx-surface)); border:1px solid color-mix(in srgb, var(--wx-alert, #f59e0b) 45%, var(--wx-line));
  border-left:6px solid var(--wx-alert, #f59e0b); }
.wx-banner:hover{ background:color-mix(in srgb, var(--wx-alert, #f59e0b) 22%, var(--wx-surface)); }
.wx-banner-icon{ flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--wx-alert, #f59e0b); color:#111; font-weight:900; font-size:14px; display:inline-flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1px rgba(0,0,0,.15); }
.wx-banner-text{ flex:1; min-width:0; font-size:14px; line-height:1.4; }
.wx-banner-when{ color:var(--wx-ink-2); }
.wx-banner-go{ font-size:20px; color:var(--wx-ink-3); }
.wx-banner-more{ border-left-width:1px; background:var(--wx-surface); justify-content:center; font-weight:650; color:var(--wx-accent); }
.wx-alert{ border:1px solid var(--wx-line); border-left:6px solid var(--wx-alert, #f59e0b); border-radius:12px; padding:12px 14px; background:var(--wx-surface); }
.wx-alert + .wx-alert{ margin-top:10px; }
.wx-alert-head{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.wx-alert-swatch{ display:inline-block; width:12px; height:12px; border-radius:3px; background:var(--wx-alert, #f59e0b); box-shadow:inset 0 0 0 1px rgba(0,0,0,.18); flex-shrink:0; }
.wx-alert-event{ font-size:16px; font-weight:750; margin:0; color:var(--wx-ink); }
.wx-alert-sev{ font-size:12px; color:var(--wx-ink-3); }
.wx-alert-when{ font-size:13px; color:var(--wx-ink-2); margin:4px 0 0; }
.wx-alert-headline{ font-size:14px; color:var(--wx-ink-2); margin:6px 0 0; line-height:1.5; }
.wx-alert-more{ margin-top:8px; }
.wx-alert-more summary{ cursor:pointer; font-size:13.5px; font-weight:650; color:var(--wx-accent); }
.wx-alert-body p{ font-size:14px; line-height:1.6; color:var(--wx-ink-2); margin:8px 0 0; }
.wx-alert-item strong{ color:var(--wx-ink); }
.wx-alert-sub{ font-size:13px; font-weight:750; text-transform:uppercase; letter-spacing:.05em; color:var(--wx-ink-3); margin:12px 0 0; }
.wx-alert-area{ font-size:12.5px; color:var(--wx-ink-3); margin:8px 0 0; line-height:1.5; }
.wx-alert-group .wx-card-title .wx-alert-swatch{ width:14px; height:14px; }
.wx-alert-counts{ list-style:none; margin:0; padding:0; }
.wx-alert-counts li{ display:flex; align-items:center; gap:10px; padding:6px 0; border-bottom:1px solid var(--wx-line-2); font-size:14px; }
.wx-alert-counts li:last-child{ border-bottom:0; }
.wx-alert-ev{ flex:1; min-width:0; color:var(--wx-ink); }
.wx-alert-n{ font-weight:700; color:var(--wx-ink-2); }

/* ---------------------------------------------------------- current card */
.wx-now-main{ display:flex; align-items:center; gap:12px 18px; flex-wrap:wrap; }
.wx-now-bare{ padding:0 0 12px; margin-bottom:12px; border-bottom:1px solid var(--wx-line-2); }
.wx-now-icon{ flex-shrink:0; }
.wx-now-temp{ font-size:68px; font-weight:300; letter-spacing:-.04em; line-height:1; color:var(--wx-ink); }
.wx-now-desc{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.wx-now-text{ font-size:19px; font-weight:650; color:var(--wx-ink); }
.wx-now-feels, .wx-now-hilo{ font-size:14px; color:var(--wx-ink-2); }
.wx-stats{ display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:10px 18px; margin-top:16px; }
.wx-stats-1{ grid-template-columns:minmax(0,1fr); gap:0; margin-top:0; }
.wx-stats-1 .wx-stat{ flex-direction:row; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid var(--wx-line-2); }
.wx-stats-1 .wx-stat:last-child{ border-bottom:0; }
.wx-stat{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.wx-stat-k{ font-size:11.5px; font-weight:650; text-transform:uppercase; letter-spacing:.05em; color:var(--wx-ink-3); }
.wx-stat-v{ font-size:15px; font-weight:620; color:var(--wx-ink); }
.wx-wind{ display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.wx-wind-arrow{ color:var(--wx-ink-3); flex-shrink:0; }
.wx-gust{ color:var(--wx-ink-3); font-weight:500; font-size:.92em; }
.wx-uv{ display:inline-flex; align-items:center; justify-content:center; min-width:24px; height:20px; padding:0 6px; border-radius:6px; font-size:12.5px; font-weight:750; color:#111; }
.wx-uv-low{ background:#8bd17c; } .wx-uv-mod{ background:#ffe14d; } .wx-uv-high{ background:#ffa94d; } .wx-uv-vhigh{ background:#ff6b6b; color:#fff; } .wx-uv-ext{ background:#b197fc; color:#fff; }

/* ---------------------------------------------------------- forecast text */
.wx-textcast{ list-style:none; margin:0; padding:0; }
.wx-tc-row{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--wx-line-2); }
.wx-tc-row:first-child{ padding-top:0; }
.wx-tc-row:last-child{ border-bottom:0; padding-bottom:0; }
.wx-tc-name{ font-size:14.5px; font-weight:720; margin:0 0 2px; color:var(--wx-ink); }
.wx-tc-text p{ font-size:14.5px; line-height:1.6; color:var(--wx-ink-2); margin:0; }

/* ----------------------------------------------------------- hourly strip */
.wx-strip{ overflow-x:auto; scrollbar-width:thin; margin:0 -4px; }
.wx-strip-list{ list-style:none; margin:0; padding:2px 4px 6px; display:flex; gap:2px; }
.wx-strip-item{ position:relative; flex:0 0 66px; display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 2px; border-radius:10px; }
.wx-strip-item:hover{ background:var(--wx-surface-2); }
.wx-strip-time{ font-size:12.5px; font-weight:650; color:var(--wx-ink-3); white-space:nowrap; }
.wx-strip-temp{ font-size:16px; font-weight:700; color:var(--wx-ink); }
.wx-strip-pop{ font-size:12px; font-weight:650; color:#2f7fe8; min-height:16px; }
.wx-strip-day{ position:absolute; top:-2px; left:2px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--wx-accent); }

/* ------------------------------------------------------------- day rows */
.wx-days{ list-style:none; margin:0; padding:0; container-type:inline-size; }
.wx-day{ border-bottom:1px solid var(--wx-line-2); }
.wx-day:last-child{ border-bottom:0; }
.wx-day-link{ display:grid; grid-template-columns:92px 40px minmax(0,1fr) 46px 40px minmax(60px,150px) 40px; align-items:center; gap:10px; padding:8px 4px; color:var(--wx-ink); text-decoration:none; border-radius:10px; }
a.wx-day-link:hover{ background:var(--wx-surface-2); }
.wx-day-name{ display:flex; flex-direction:column; font-size:14.5px; font-weight:700; line-height:1.2; }
.wx-day-date{ font-size:12px; font-weight:500; color:var(--wx-ink-3); }
.wx-day-text{ font-size:13.5px; color:var(--wx-ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wx-day-snow{ margin-left:6px; font-size:12px; font-weight:700; color:#3b6fd8; }
.wx-day-pop{ font-size:12.5px; font-weight:650; color:#2f7fe8; text-align:right; }
.wx-day-lo{ font-size:14.5px; color:var(--wx-ink-3); text-align:right; }
.wx-day-hi{ font-size:15px; font-weight:750; }
.wx-range{ position:relative; height:6px; border-radius:999px; background:var(--wx-surface-3); }
.wx-range-fill{ position:absolute; top:0; bottom:0; border-radius:999px; }
.wx-day-ext .wx-day-name{ color:var(--wx-ink-2); }
@container (max-width:560px){
  .wx-day-link{ grid-template-columns:70px 34px 40px 34px minmax(40px,1fr) 34px; gap:6px; }
  .wx-day-text{ display:none; }
  .wx-day-link .wx-ic{ width:32px; height:32px; }
}

/* ------------------------------------------------------- day in full */
.wx-dd-date{ font-size:13px; font-weight:500; color:var(--wx-ink-3); }
.wx-dd-halves{ display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
@media (min-width:760px){ .wx-dd-halves{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
.wx-dd-half{ background:var(--wx-surface-2); border-radius:12px; padding:12px 14px; }
.wx-dd-night{ background:color-mix(in srgb, #1e293b 6%, var(--wx-surface-2)); }
.wx-dd-top{ display:flex; align-items:center; gap:12px; }
.wx-dd-name{ font-size:12px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; color:var(--wx-ink-3); }
.wx-dd-temp{ font-size:22px; font-weight:750; color:var(--wx-ink); }
.wx-dd-short{ font-size:14px; color:var(--wx-ink-2); }
.wx-dd-text{ font-size:14px; line-height:1.6; color:var(--wx-ink-2); margin:10px 0 0; }
.wx-dd-facts{ display:flex; flex-wrap:wrap; gap:4px 16px; font-size:13.5px; color:var(--wx-ink-2); margin-top:8px; }
.wx-dd-more{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px 18px; margin-top:14px; }

/* ------------------------------------------------------------------ charts */
.wx-chart-wrap{ margin:0 -4px; }
.wx-chart{ display:block; width:100%; height:270px; }
.wx-ch-temp{ fill:none; stroke:var(--wx-temp); stroke-width:2.6; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.wx-ch-feels{ fill:none; stroke:var(--wx-feels); stroke-width:1.8; stroke-dasharray:5 4; vector-effect:non-scaling-stroke; }
.wx-ch-pop{ fill:var(--wx-pop); }
.wx-ch-night{ fill:var(--wx-night); }
.wx-ch-grid{ stroke:var(--wx-line); stroke-width:1; vector-effect:non-scaling-stroke; }
.wx-ch-daysep{ stroke:var(--wx-ink-4); stroke-width:1; stroke-dasharray:3 3; vector-effect:non-scaling-stroke; }
.wx-ch-axis, .wx-ch-hour, .wx-ch-day{ font-size:11px; fill:var(--wx-ink-3); font-family:inherit; }
.wx-ch-day{ font-weight:700; fill:var(--wx-ink-2); }
.wx-chart-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12.5px; color:var(--wx-ink-3); margin:8px 4px 0; }
.wx-lg::before{ content:""; display:inline-block; width:14px; height:3px; border-radius:2px; vertical-align:middle; margin-right:6px; }
.wx-lg-temp::before{ background:var(--wx-temp); }
.wx-lg-feels::before{ background:var(--wx-feels); }
.wx-lg-pop::before{ background:var(--wx-pop); height:10px; width:10px; }
.wx-lg-night::before{ background:var(--wx-night); height:10px; width:14px; outline:1px solid var(--wx-line); }

/* ------------------------------------------------------------------ tables */
.wx-table{ width:100%; border-collapse:collapse; font-size:14px; color:var(--wx-ink); }
.wx-table th{ font-size:12px; font-weight:650; color:var(--wx-ink-3); text-align:left; padding:8px 10px; border-bottom:1px solid var(--wx-line); white-space:nowrap; }
.wx-table td, .wx-table tbody th{ padding:7px 10px; border-bottom:1px solid var(--wx-line-2); vertical-align:middle; white-space:nowrap; }
.wx-table tbody th{ font-weight:650; color:var(--wx-ink); }
.wx-table tbody tr:last-child td, .wx-table tbody tr:last-child th{ border-bottom:0; }
.wx-table a{ color:var(--wx-ink); text-decoration:none; font-weight:620; }
.wx-table a:hover{ color:var(--wx-accent); text-decoration:underline; }
.wx-num{ text-align:right !important; }
.wx-hcond{ display:flex; align-items:center; gap:8px; min-width:180px; }
.wx-hcond span{ white-space:normal; color:var(--wx-ink-2); font-size:13.5px; }
.wx-table th[data-sortable]{ cursor:pointer; user-select:none; }
.wx-table th[data-sortable]::after{ content:"↕"; margin-left:4px; opacity:.35; font-size:11px; }
.wx-table th[aria-sort=ascending]::after{ content:"↑"; opacity:1; color:var(--wx-accent); }
.wx-table th[aria-sort=descending]::after{ content:"↓"; opacity:1; color:var(--wx-accent); }
.wx-hday{ background:var(--wx-surface); border:1px solid var(--wx-line); border-radius:var(--wx-radius); box-shadow:var(--wx-shadow); overflow:hidden; }
.wx-hday-sum{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; cursor:pointer; font-size:15.5px; font-weight:720; color:var(--wx-ink); list-style:none; }
.wx-hday-sum::-webkit-details-marker{ display:none; }
.wx-hday-sum::after{ content:"▾"; color:var(--wx-ink-3); margin-left:8px; transition:transform .15s ease; }
.wx-hday[open] > .wx-hday-sum::after{ transform:rotate(180deg); }
.wx-hday-n{ font-size:12.5px; font-weight:500; color:var(--wx-ink-3); margin-left:auto; }
.wx-hday .wx-scroll-x{ border-top:1px solid var(--wx-line); }
.wx-cities td:nth-child(2){ min-width:170px; }

/* ------------------------------------------------------- air, sun, moon */
.wx-aq-now{ display:flex; align-items:center; gap:14px; }
.wx-aq-num{ display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:50%; font-size:22px; font-weight:800; color:#111;
  background:var(--wx-aq, #00e400); box-shadow:inset 0 0 0 2px rgba(0,0,0,.12); }
.wx-aq-cat{ font-size:17px; font-weight:720; color:var(--wx-ink); }
.wx-aq-poll{ font-size:13px; color:var(--wx-ink-3); }
.wx-aq-scale{ position:relative; height:8px; border-radius:999px; margin:14px 0 6px;
  background:linear-gradient(90deg, #00e400 0 16.6%, #ffff00 16.6% 33.3%, #ff7e00 33.3% 50%, #ff0000 50% 66.6%, #8f3f97 66.6% 100%); }
.wx-aq-mark{ position:absolute; top:-4px; width:4px; height:16px; margin-left:-2px; border-radius:2px; background:var(--wx-ink); box-shadow:0 0 0 2px var(--wx-surface); }
.wx-aq-means{ font-size:13.5px; color:var(--wx-ink-2); line-height:1.5; margin:8px 0 0; }
.wx-aq-fc{ list-style:none; margin:0; padding:0; }
.wx-aq-fc li{ display:flex; align-items:center; gap:8px; font-size:14px; padding:4px 0; color:var(--wx-ink-2); }
.wx-aq-day{ width:36px; font-weight:700; color:var(--wx-ink); }
.wx-aq-dot{ width:12px; height:12px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.15); flex-shrink:0; }
.wx-sm{ display:flex; flex-direction:column; gap:14px; }
.wx-sm-sun, .wx-sm-moon{ display:flex; gap:12px; align-items:flex-start; }
.wx-sm-row{ font-size:14px; color:var(--wx-ink-2); line-height:1.6; }
.wx-moon-dark{ fill:#3a4659; }
.wx-moon-lit{ fill:#f6e3a1; }
.wx-moon{ vertical-align:middle; }

/* ------------------------------------------------------------------- news */
.wx-news{ list-style:none; padding:0; margin:0; }
.wx-news-item{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--wx-line-2); }
.wx-news-item:first-child{ padding-top:0; }
.wx-news-item:last-child{ border-bottom:0; padding-bottom:0; }
.wx-news-img{ width:100px; height:66px; border-radius:8px; object-fit:cover; flex-shrink:0; background:var(--wx-surface-3); }
.wx-news-text{ min-width:0; }
.wx-news-title{ font-size:14.5px; font-weight:650; color:var(--wx-ink); text-decoration:none; line-height:1.38; }
.wx-news-title:hover{ color:var(--wx-accent); text-decoration:underline; }
.wx-news-snip{ font-size:13.5px; color:var(--wx-ink-2); margin:3px 0 0; line-height:1.5; }
.wx-news-meta{ font-size:12px; color:var(--wx-ink-3); margin-top:3px; }

/* --------------------------------------------------------- lists, places */
.wx-links{ list-style:none; padding:0; margin:0; font-size:14px; columns:2; column-gap:16px; }
.wx-links li{ padding:4px 0; break-inside:avoid; }
.wx-links a{ color:var(--wx-accent); text-decoration:none; }
.wx-links a:hover{ text-decoration:underline; }
.wx-states{ list-style:none; padding:0; margin:0; columns:4 160px; column-gap:18px; font-size:14px; }
.wx-states li{ padding:4px 0; break-inside:avoid; }
.wx-states a{ color:var(--wx-accent); text-decoration:none; }
.wx-states a:hover{ text-decoration:underline; }
.wx-results{ list-style:none; padding:0; margin:0; }
.wx-result{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding:10px 0; border-bottom:1px solid var(--wx-line-2); }
.wx-result:last-child{ border-bottom:0; }
.wx-result-link{ font-size:15.5px; font-weight:680; color:var(--wx-accent); text-decoration:none; }
.wx-result-link:hover{ text-decoration:underline; }
.wx-result .wx-follow{ margin-left:auto; }
.wx-mini-list{ list-style:none; padding:0; margin:0; }
.wx-mini-list li{ display:flex; align-items:center; gap:8px; padding:5px 0; border-bottom:1px solid var(--wx-line-2); font-size:14px; }
.wx-mini-list li:last-child{ border-bottom:0; }
.wx-mini-list a{ flex:1; color:var(--wx-ink); text-decoration:none; font-weight:600; }
.wx-mini-list a:hover{ color:var(--wx-accent); }
.wx-mini-t{ font-weight:700; min-width:38px; text-align:right; }
.wx-storms{ list-style:none; padding:0; margin:0; }
.wx-storms li{ display:flex; gap:10px; align-items:center; padding:6px 0; }
.wx-storms a{ color:var(--wx-ink); text-decoration:none; }
.wx-storms a:hover{ color:var(--wx-accent); }
.wx-storm-body{ display:grid; gap:14px; grid-template-columns:minmax(0,1fr); }
@media (min-width:900px){ .wx-storm-body{ grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); align-items:start; } }
.wx-storm-fig{ margin:0; }
.wx-storm-fig img{ width:100%; height:auto; border-radius:10px; border:1px solid var(--wx-line); background:#fff; }
.wx-storm-fig figcaption{ font-size:12px; color:var(--wx-ink-3); margin-top:6px; }
.wx-afd summary{ cursor:pointer; font-size:13.5px; font-weight:600; color:var(--wx-accent); }
.wx-afd .wx-prose p{ font-size:13.5px; }

/* --------------------------------------------------------- my places */
.wx-pcards{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; }
.wx-pcards-side{ grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); }
.wx-following .wx-pcards{ margin-top:0; }
.wx-pcard{ background:var(--wx-surface); border:1px solid var(--wx-line); border-radius:var(--wx-radius); box-shadow:var(--wx-shadow); padding:12px 14px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.wx-pcards-side .wx-pcard{ box-shadow:none; background:var(--wx-surface-2); }
.wx-pcard[hidden]{ display:none; }
.wx-pcard-head{ display:flex; align-items:center; gap:8px; }
.wx-pcard-name{ flex:1; min-width:0; font-size:14.5px; font-weight:720; color:var(--wx-ink); text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wx-pcard-name:hover{ color:var(--wx-accent); }
.wx-pcard-x{ border:0; background:none; color:var(--wx-ink-3); font-size:20px; line-height:1; cursor:pointer; padding:0 4px; border-radius:6px; }
.wx-pcard-x:hover{ color:#d92d20; background:#fdecec; }
.wx-pcard-now{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--wx-ink); }
.wx-pcard-temp{ font-size:36px; font-weight:300; letter-spacing:-.03em; }
.wx-pcard-desc{ display:flex; flex-direction:column; font-size:13px; color:var(--wx-ink-2); min-width:0; }
.wx-pcard-alert{ font-size:12.5px; font-weight:650; color:#b42318; background:#fdecec; border-radius:8px; padding:4px 8px; text-decoration:none; }
.wx-pcard-days{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:2px; text-align:center; font-size:12.5px; }
.wx-pcard-days li{ display:flex; flex-direction:column; align-items:center; gap:1px; }
.wx-pcard-dn{ font-weight:700; color:var(--wx-ink-3); }
.wx-follow-find{ position:relative; max-width:460px; }

/* --------------------------------------------------------------- monthly */
.wx-month-nav{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.wx-month-title{ font-size:18px; font-weight:750; margin:0; color:var(--wx-ink); }
.wx-cal{ display:flex; flex-direction:column; border:1px solid var(--wx-line); border-radius:12px; overflow:hidden; }
.wx-cal-row{ display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); }
.wx-cal-row + .wx-cal-row{ border-top:1px solid var(--wx-line-2); }
.wx-cal-dn{ font-size:12px; font-weight:700; color:var(--wx-ink-3); padding:6px 8px; background:var(--wx-surface-2); text-transform:uppercase; letter-spacing:.05em; }
.wx-cal-cell{ min-height:92px; padding:6px 8px; display:flex; flex-direction:column; gap:2px; font-size:13px; }
.wx-cal-cell + .wx-cal-cell{ border-left:1px solid var(--wx-line-2); }
.wx-cal-pad{ background:var(--wx-surface-2); }
.wx-cal-today{ background:var(--wx-accent-soft); box-shadow:inset 0 0 0 2px var(--wx-accent); }
.wx-cal-d{ font-weight:750; color:var(--wx-ink); }
.wx-cal-obs, .wx-cal-fc{ font-weight:700; color:var(--wx-ink); }
.wx-cal-fc{ color:var(--wx-ink-2); }
.wx-cal-sep{ color:var(--wx-ink-4); margin:0 2px; font-weight:400; }
.wx-cal-p{ font-size:12px; color:#2f7fe8; font-weight:650; }
.wx-cal-snow{ color:#3b6fd8; }
.wx-cal-norm{ font-size:11.5px; color:var(--wx-ink-4); margin-top:auto; }
.wx-month-sum{ margin-top:14px; }

/* ------------------------------------------------------------------- map */
.wxm{ position:relative; height:var(--wxm-h, 360px); border-radius:12px; overflow:hidden; background:#cad6e2; touch-action:none; user-select:none; -webkit-user-select:none; outline:none; }
.wxm:focus-visible{ box-shadow:0 0 0 3px rgba(23,102,201,.45); }
.wxm-full{ height:min(var(--wxm-h, 620px), calc(100vh - 220px)); min-height:420px; border:1px solid var(--wx-line); }
.wxm-fallback{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:16px; font-size:14px; text-align:center; color:#334; }
html[data-wx-js] .wxm-fallback{ display:none; }
.wxm-pane{ position:absolute; left:0; top:0; will-change:transform; }
.wxm-layer{ position:absolute; left:0; top:0; }
.wxm-tile{ position:absolute; width:256px; height:256px; max-width:none !important; pointer-events:none; image-rendering:auto; opacity:0; transition:opacity .25s ease; }
.wxm-tile.is-loaded{ opacity:1; }
.wxm-layer-radar .wxm-tile{ transition:none; }
.wxm-frame{ position:absolute; left:0; top:0; visibility:hidden; }
.wxm-frame.is-on{ visibility:visible; }
.wxm-marker{ position:absolute; z-index:40; width:0; height:0; pointer-events:none; }
.wxm-marker::before{ content:""; position:absolute; left:-9px; top:-26px; width:18px; height:18px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:#d92d20; box-shadow:0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,.35); }
.wxm-marker-label{ position:absolute; left:12px; top:-30px; background:rgba(255,255,255,.92); color:#111; font-size:12px; font-weight:700; padding:2px 7px; border-radius:6px; white-space:nowrap; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.wxm-ctrl{ position:absolute; z-index:50; top:10px; right:10px; display:flex; flex-direction:column; gap:6px; }
.wxm-btn{ width:36px; height:36px; border-radius:10px; border:0; background:rgba(255,255,255,.96); color:#1f2937; font-size:20px; font-weight:700; line-height:1; cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.22); display:inline-flex; align-items:center; justify-content:center; font-family:inherit; }
.wxm-btn:hover{ background:#fff; color:#1766c9; }
.wxm-btn:disabled{ opacity:.45; cursor:default; }
.wxm-layers{ position:absolute; z-index:50; top:10px; left:10px; display:flex; flex-wrap:wrap; gap:6px; max-width:calc(100% - 70px); }
.wxm-chip{ border:0; border-radius:999px; padding:6px 11px; font-size:12.5px; font-weight:700; background:rgba(255,255,255,.94); color:#374151; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.2); font-family:inherit; }
.wxm-chip[aria-pressed="true"]{ background:#1766c9; color:#fff; }
.wxm-bar{ position:absolute; z-index:50; left:auto; right:10px; width:min(600px, calc(100% - 72px)); bottom:26px; display:flex; align-items:center; gap:10px; background:rgba(255,255,255,.95); border-radius:12px; padding:6px 10px; box-shadow:0 2px 10px rgba(0,0,0,.22); }
.wxm-bar[hidden]{ display:none; }
.wxm-play{ width:32px; height:32px; border-radius:50%; border:0; background:#1766c9; color:#fff; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.wxm-time{ font-size:12.5px; font-weight:700; color:#1f2937; min-width:86px; white-space:nowrap; }
.wxm-range{ flex:1; min-width:60px; accent-color:#1766c9; }
.wxm-legend{ display:flex; align-items:center; gap:6px; font-size:11px; color:#374151; white-space:nowrap; }
.wxm-legend-bar{ width:110px; height:8px; border-radius:999px; background:linear-gradient(90deg, #04e9e7, #019ff4, #0300f4, #02fd02, #01c501, #008e00, #fdf802, #e5bc00, #fd9500, #fd0000, #d40000, #bc0000, #f800fd, #9854c6); }
.wxm-attr{ position:absolute; z-index:45; right:0; bottom:0; max-width:100%; font-size:10px; line-height:1.3; color:#333; background:rgba(255,255,255,.82); padding:2px 6px; border-top-left-radius:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wxm-attr a{ color:inherit; }
.wxm-hint{ position:absolute; z-index:60; left:50%; top:50%; transform:translate(-50%,-50%); background:rgba(17,24,39,.78); color:#fff; font-size:13px; font-weight:600; padding:8px 12px; border-radius:10px; pointer-events:none; opacity:0; transition:opacity .2s ease; }
.wxm-hint.is-on{ opacity:1; }
.wxm-stale{ position:absolute; z-index:50; left:10px; bottom:72px; font-size:12px; font-weight:650; background:#fff7e0; color:#8a5a00; padding:4px 8px; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.15); }

/* ------------------------------------------------------------------ icons */
.wx-ic{ display:inline-block; vertical-align:middle; flex-shrink:0; overflow:visible; }
.wxi-sun circle{ fill:var(--wxi-sun); }
.wxi-rays{ stroke:var(--wxi-sun); fill:none; }
.wxi-moon{ fill:var(--wxi-moon); }
.wxi-cloud{ fill:var(--wxi-cloud); stroke:var(--wxi-cloud-line); stroke-width:1.6; }
.wxi-cloud2{ fill:var(--wxi-cloud2); }
.wxi-rain{ stroke:var(--wxi-rain); fill:none; }
.wxi-snow{ fill:var(--wxi-snow); stroke:#4f8fd6; stroke-width:.8; }
.wxi-ice{ stroke:#5fc3f0; fill:none; }
.wxi-bolt{ fill:#ffc21a; stroke:#d99400; stroke-width:1.2; stroke-linejoin:round; }
.wxi-fog{ stroke:var(--wxi-fog); fill:none; }
.wxi-wind{ stroke:#7d8a99; }
.wxi-smoke path{ fill:#b5aca3; stroke:#8f857b; stroke-width:1.4; }
.wxi-dust{ stroke:#c4a265; }
.wxi-hot{ stroke:#e03131; fill:#e03131; }
.wxi-hot path[fill="none"]{ fill:none; }
.wxi-cold{ stroke:#1c7ed6; fill:#1c7ed6; }
.wxi-cold path[fill="none"]{ fill:none; }
.wxi-tornado{ stroke:#6b7280; }
.wxi-hurricane{ fill:#e8590c; stroke:#e8590c; }
.wxi-hurricane path{ fill:none; }

/* ---------------------------------------------------------- dialog, toast */
.wx-dialog-back{ position:fixed; inset:0; background:rgba(15,23,32,.48); z-index:2000; }
.wx-dialog{ position:fixed; z-index:2001; left:50%; top:50%; transform:translate(-50%,-50%); width:min(440px, calc(100vw - 32px)); background:var(--wx-surface); color:var(--wx-ink);
  border-radius:16px; padding:20px 22px; box-shadow:0 24px 60px rgba(0,0,0,.3); }
.wx-dialog-title{ font-size:18px; font-weight:750; margin:0 0 8px; }
.wx-dialog p{ font-size:14px; line-height:1.55; color:var(--wx-ink-2); margin:0 0 10px; }
.wx-dialog-small{ font-size:12.5px !important; color:var(--wx-ink-3) !important; }
.wx-dialog-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.wx-dialog-error{ color:#b42318 !important; font-weight:600; }
.wx-toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:#0f1720; color:#fff; padding:10px 16px; border-radius:10px; font-size:14px; font-weight:600;
  z-index:2002; box-shadow:0 10px 30px rgba(0,0,0,.3); transition:opacity .2s ease; opacity:0; pointer-events:none; max-width:calc(100vw - 32px); }
.wx-toast.is-on{ opacity:1; }

/* ---------------------------------------------------------------- phones */
@media (max-width:720px){
  .wx-h1{ font-size:22px; }
  .wx-card{ padding:14px 14px; }
  .wx-now-temp{ font-size:56px; }
  .wx-now-icon{ width:72px; height:72px; }
  .wx-day-link{ grid-template-columns:70px 34px 40px 34px minmax(40px,1fr) 34px; gap:6px; }
  .wx-day-text{ display:none; }
  .wx-day-link .wx-ic{ width:32px; height:32px; }
  .wx-news-img{ width:76px; height:54px; }
  .wx-links{ columns:1; }
  .wx-cal-cell{ min-height:74px; padding:4px; font-size:11.5px; }
  .wx-cal-norm{ display:none; }
  .wx-cal-cell .wx-ic{ width:22px; height:22px; }
  .wx-place-actions{ width:100%; }
  .wxm-legend-bar{ width:60px; }
  .wxm-legend span{ display:none; }
  .wxm-time{ min-width:64px; }
  .wx-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .wx-stats-1{ grid-template-columns:minmax(0,1fr); }
}

/* =====================================================================
   DARK MODE (html[data-fs-theme="dark"], app.css section 14)
   ===================================================================== */
html[data-fs-theme="dark"] .wx-page{
  --wx-ink:#e2e9f1;
  --wx-ink-2:#c1ccd8;
  --wx-ink-3:#93a3b5;
  --wx-ink-4:#73839a;
  --wx-line:#243040;
  --wx-line-2:#1d2734;
  --wx-surface:#141b24;
  --wx-surface-2:#1a2330;
  --wx-surface-3:#222d3b;
  --wx-page:#0f141b;
  --wx-accent:#79b8ff;
  --wx-accent-soft:rgba(121,184,255,.13);
  --wx-warn:#f0b44c;
  --wx-warn-soft:rgba(240,180,76,.12);
  --wx-shadow:0 1px 2px rgba(0,0,0,.3);
  --wx-temp:#ff8a4c;
  --wx-feels:#f6c453;
  --wx-pop:rgba(96,165,250,.45);
  --wx-night:rgba(148,163,184,.08);
  --wxi-cloud:#a9b6c6;
  --wxi-cloud-line:#7f8ea0;
  --wxi-cloud2:#7b8a9c;
  --wxi-rain:#5aa2ff;
  --wxi-snow:#b8d8ff;
}
html[data-fs-theme="dark"] .wx-main{ background:var(--wx-page); }
html[data-fs-theme="dark"] .wx-search-box{ background:#1a222d; border-color:#2a3542; box-shadow:0 2px 10px rgba(0,0,0,.35); }
html[data-fs-theme="dark"] .wx-search-input{ color:#dbe4ee; }
html[data-fs-theme="dark"] .wx-search-input::placeholder{ color:#6f7e90; }
html[data-fs-theme="dark"] .wx-locate-btn{ background:#222d3b; border-color:#2a3542; color:#c1ccd8; }
html[data-fs-theme="dark"] .wx-suggest{ background:#1a222d; border-color:#2a3542; box-shadow:0 18px 44px rgba(0,0,0,.6); }
html[data-fs-theme="dark"] .wx-sug-item{ color:#dbe4ee; }
html[data-fs-theme="dark"] .wx-sug-item.is-active, html[data-fs-theme="dark"] .wx-sug-item:hover{ background:#232e3c; }
html[data-fs-theme="dark"] .wx-sug-sub, html[data-fs-theme="dark"] .wx-sug-kind{ color:#93a3b5; }
html[data-fs-theme="dark"] .wx-sug-kind{ background:#232e3c; }
html[data-fs-theme="dark"] .wx-card-start{ background:linear-gradient(135deg, rgba(121,184,255,.14) 0%, var(--wx-surface) 70%); }
html[data-fs-theme="dark"] .wx-btn-primary{ color:#0b1420; }
html[data-fs-theme="dark"] .wx-btn-primary:hover{ background:#a4cfff; border-color:#a4cfff; color:#0b1420; }
html[data-fs-theme="dark"] .wx-unit-btn[aria-pressed="true"]{ background:#e2e9f1; color:#0b1420; }
html[data-fs-theme="dark"] .wx-filter.is-active{ background:var(--wx-accent); color:#0b1420; }
html[data-fs-theme="dark"] .wx-follow[aria-pressed="true"]{ border-color:#5a4718; background:rgba(245,196,81,.12); color:#f5c451; }
html[data-fs-theme="dark"] .wx-chip-alert, html[data-fs-theme="dark"] .wx-pcard-alert{ background:rgba(255,107,107,.15); color:#ff8e8e; }
html[data-fs-theme="dark"] .wx-pcard-x:hover{ background:rgba(255,107,107,.15); }
html[data-fs-theme="dark"] .wx-banner-icon{ color:#111; }
html[data-fs-theme="dark"] .wx-storm-fig img{ background:#fff; }
html[data-fs-theme="dark"] .wx-dd-night{ background:#111821; }
html[data-fs-theme="dark"] .wx-moon-dark{ fill:#2a3546; }
html[data-fs-theme="dark"] .wx-dialog-back{ background:rgba(0,0,0,.7); }
html[data-fs-theme="dark"] .wxm{ background:#1b2531; }
html[data-fs-theme="dark"] .wxm-layer-base .wxm-tile{ filter:invert(.92) hue-rotate(180deg) brightness(.95) contrast(.9) saturate(.6); }
html[data-fs-theme="dark"] .wxm-btn, html[data-fs-theme="dark"] .wxm-chip, html[data-fs-theme="dark"] .wxm-bar{ background:rgba(26,34,45,.95); color:#dbe4ee; }
html[data-fs-theme="dark"] .wxm-chip[aria-pressed="true"]{ background:#79b8ff; color:#0b1420; }
html[data-fs-theme="dark"] .wxm-time, html[data-fs-theme="dark"] .wxm-legend{ color:#dbe4ee; }
html[data-fs-theme="dark"] .wxm-attr{ background:rgba(20,27,36,.85); color:#c1ccd8; }
