/* 天气预警（#/auto/weather） */
.wx-grid { display: flex; flex-direction: column; gap: 12px; }
.wx-card { padding: 0; overflow: hidden; border: 1px solid var(--line, #eceff3); }
.wx-card.bad { border-color: #f0443855; }
.wx-card.warn { border-color: #ff8a0055; }
.wx-h { display: flex; align-items: center; gap: 18px; padding: 14px 18px; cursor: pointer; flex-wrap: wrap; }
.wx-h:hover { background: var(--hover, #f7f9fc); }
.wx-city { min-width: 120px; display: flex; flex-direction: column; }
.wx-city b { font-size: 17px; }
.wx-city span, .wx-now span { font-size: 12px; color: var(--muted, #8a94a6); }
.wx-now { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.wx-now div { display: flex; flex-direction: column; }
.wx-big { font-size: 28px; line-height: 1; }
.wx-lv { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eef0f3; color: #5a6475; }
.wx-lv.bad { background: #fde7e6; color: #c0362c; }
.wx-lv.warn { background: #fff0db; color: #b45309; }
.wx-lv.later { background: #e8f1ff; color: #1668dc; }
.wx-chev { color: var(--muted, #8a94a6); display: flex; }
.wx-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 0 18px 12px; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--bg2, #f6f7f9); font-size: 12px; min-width: 0; }
.wx-day.bad { background: #fde7e6; }
.wx-day.warn { background: #fff4e2; }
.wx-dn { color: var(--muted, #8a94a6); }
.wx-ic { font-size: 20px; line-height: 1.2; }
.wx-t { font-weight: 600; }
.wx-t i { font-style: normal; font-weight: 400; color: var(--muted, #8a94a6); margin-left: 4px; }
.wx-al { font-size: 11px; font-weight: 600; color: #c0362c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wx-day.warn .wx-al { color: #b45309; }
.wx-alerts { padding: 0 18px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.wx-stores { border-top: 1px solid var(--line, #eceff3); padding: 12px 18px 16px; }
.wx-stores .rs-table { border: 1px solid var(--line, #eceff3); border-radius: 10px; }
.wx-adv { font-size: 13px; line-height: 1.7; background: var(--bg2, #f6f7f9); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
@media (max-width: 720px) {
  .wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wx-lv { margin-left: 0; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wx-lv { background: #2a2f3a; color: #aab3c2; }
  :root:not([data-theme="light"]) .wx-day.bad, :root:not([data-theme="light"]) .wx-lv.bad { background: #4a1f1c; color: #ffb4ab; }
  :root:not([data-theme="light"]) .wx-day.warn, :root:not([data-theme="light"]) .wx-lv.warn { background: #4a3313; color: #ffcf8a; }
  :root:not([data-theme="light"]) .wx-lv.later { background: #18304f; color: #9cc4ff; }
}
