*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--font-body:"Inter",sans-serif;--font-display:"Space Grotesk",sans-serif;--clr-bg: #07101f;--clr-surface: rgba(13,22,42,.72);--clr-surface-2: rgba(18,30,58,.85);--clr-border: rgba(148,163,184,.12);--clr-border-hi: rgba(56,189,248,.4);--clr-text: #f1f5f9;--clr-muted: #94a3b8;--clr-accent: #38bdf8;--clr-accent2: #818cf8;--clr-warn: #f59e0b;--clr-danger: #f87171;--clr-success: #34d399;--radius-xl: 28px;--radius-lg: 20px;--radius-md: 14px;--radius-sm: 8px;--shadow-card: 0 20px 60px rgba(2,6,23,.6);--shadow-glow: 0 0 40px rgba(56,189,248,.18);--transition: .22s cubic-bezier(.4,0,.2,1)}html,body{min-height:100%;font-family:var(--font-body);color:var(--clr-text);background:var(--clr-bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}html{scroll-behavior:smooth}::selection{background:#38bdf852;color:#fff}:focus-visible{outline:2px solid var(--clr-accent);outline-offset:3px}body:before{content:"";position:fixed;inset:0;z-index:0;background:radial-gradient(ellipse 80% 60% at 10% 0%,rgba(56,189,248,.14) 0%,transparent 55%),radial-gradient(ellipse 60% 50% at 90% 5%,rgba(99,102,241,.16) 0%,transparent 55%),radial-gradient(ellipse 50% 70% at 50% 100%,rgba(14,165,233,.1) 0%,transparent 60%),linear-gradient(180deg,#07101f,#0b1628);pointer-events:none}body:after{content:"";position:fixed;inset:0;z-index:0;background-image:radial-gradient(circle,rgba(255,255,255,.03) 1px,transparent 1px);background-size:40px 40px;pointer-events:none;animation:gridDrift 60s linear infinite}@keyframes gridDrift{0%{background-position:0 0}to{background-position:40px 40px}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#94a3b84d;border-radius:99px}button{font-family:inherit;cursor:pointer}.status-bar{display:flex;align-items:center;gap:9px;margin:12px 28px 0;padding:10px 16px;border-radius:12px;font-size:.78rem;font-weight:700;animation:dropIn .25s ease}.status-offline{background:#f59e0b24;border:1px solid rgba(245,158,11,.4);color:#fde68a}.status-online{background:#34d39924;border:1px solid rgba(52,211,153,.4);color:#a7f3d0}.advisory-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 28px 0;padding:12px 16px;border-radius:16px;background:#0f172a9e;border:1px solid var(--clr-border);backdrop-filter:blur(10px);animation:dropIn .25s ease}.advisory-lead{font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#fbbf24;white-space:nowrap}.advisory-item{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:11px;font-size:.72rem;line-height:1.35;border:1px solid rgba(148,163,184,.18)}.advisory-item i{font-style:normal;font-size:.9rem}.advisory-item strong{font-weight:800;white-space:nowrap}.advisory-item span{color:var(--clr-muted)}.advisory-item.alert-warning{background:#f8717124;border-color:#f8717166;color:#fecaca}.advisory-item.alert-advisory{background:#f59e0b21;border-color:#f59e0b5c;color:#fde68a}.advisory-item.alert-info{background:#38bdf81f;border-color:#38bdf857;color:#bae6fd}.advisory-note{flex-basis:100%;font-size:.62rem;color:var(--clr-muted)}.modal-alerts{display:flex;flex-direction:column;gap:8px;margin-top:18px}.feature-toggle{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:11px;border:1px solid rgba(125,211,252,.34);background:#38bdf81a;color:#bae6fd;font-size:.74rem;font-weight:700;transition:all var(--transition)}.feature-toggle:hover{background:#38bdf838;transform:translateY(-1px)}.feature-note{padding:12px 2px;font-size:.74rem;color:var(--clr-muted);text-align:center}.marine-grid,.ensemble-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-top:12px}.marine-item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:13px;background:#ffffff0b;border:1px solid var(--clr-border)}.marine-item label{font-size:.6rem;text-transform:uppercase;letter-spacing:.07em;color:var(--clr-muted)}.marine-item strong{font-family:var(--font-display);font-size:.96rem;color:var(--clr-text)}.marine-note{margin-top:9px;font-size:.62rem;color:var(--clr-muted);text-align:right}.ensemble-head{grid-template-columns:1fr;gap:4px;padding:12px 14px;border-radius:13px;background:#a78bfa1a;border:1px solid rgba(167,139,250,.26);font-size:.74rem;color:#ddd6fe}.ensemble-summary{font-size:.7rem;color:var(--clr-muted)}@keyframes dropIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}:root[data-theme=light]{--clr-bg:#eef4ff;--clr-surface:rgba(255,255,255,.88);--clr-surface-2:rgba(241,245,249,.96);--clr-border:rgba(15,23,42,.12);--clr-border-hi:rgba(14,165,233,.55);--clr-text:#0f172a;--clr-muted:#64748b;--shadow-card:0 20px 60px rgba(30,64,175,.16)}:root[data-theme=light] body:before{background:radial-gradient(ellipse 80% 60% at 10% 0%,rgba(56,189,248,.22),transparent 55%),radial-gradient(ellipse 60% 50% at 90% 5%,rgba(129,140,248,.2),transparent 55%),linear-gradient(180deg,#eef4ff,#e2ebfa)}:root[data-theme=light] ::selection{background:#0ea5e93d;color:#0f172a}:root[data-theme=light] .navbar{background:#ffffffc7}:root[data-theme=light] .navbar.scrolled{background:#fffffff0;box-shadow:0 12px 40px #1e40af1f}:root[data-theme=light] .search-input{background:#0f172a0b;color:#0f172a}:root[data-theme=light] .search-input::placeholder{color:#94a3b8}:root[data-theme=light] .unit-toggle,:root[data-theme=light] .btn-refresh,:root[data-theme=light] .pref-menu summary,:root[data-theme=light] .icon-btn{background:#0f172a0b;color:#334155}:root[data-theme=light] .pref-panel,:root[data-theme=light] .search-dropdown{background:#fffffffa}:root[data-theme=light] .pref-panel label,:root[data-theme=light] .s-city,:root[data-theme=light] .mp-cond{color:#1e293b}:root[data-theme=light] .pref-panel select{background:#0f172a0d;color:#0f172a}:root[data-theme=light] .pref-panel select option{background:#fff;color:#0f172a}:root[data-theme=light] .hero-default,:root[data-theme=light] .hero-cloudy{background:linear-gradient(135deg,#bae6fdd9,#e0f2febf 55%,#f1f5f9eb)}:root[data-theme=light] .hero-sunny{background:linear-gradient(135deg,#fde68ad9,#e0f2fecc 55%,#fffffff2)}:root[data-theme=light] .hero-rain{background:linear-gradient(135deg,#bfdbfee6,#e0f2fed9 55%,#f8fafcf2)}:root[data-theme=light] .hero-storm{background:linear-gradient(135deg,#c7d2fee6,#e2e8f0d9 55%,#f8fafcf2)}:root[data-theme=light] .hero-snow{background:linear-gradient(135deg,#e0f2fef2,#f1f5f9e6 55%,#fff)}:root[data-theme=light] .hero-fog{background:linear-gradient(135deg,#e2e8f0f2,#f1f5f9e6,#fff)}:root[data-theme=light] .hero-night{background:linear-gradient(135deg,#c7d2fee6,#e2e8f0e0 55%,#f8fafcf2)}:root[data-theme=light] .hero-city{background:linear-gradient(180deg,#0f172a,#475569);-webkit-background-clip:text;-webkit-text-fill-color:transparent}:root[data-theme=light] .hero-meta,:root[data-theme=light] .hero-condition,:root[data-theme=light] .hero-range,:root[data-theme=light] .hc-time,:root[data-theme=light] .stat-tile label,:root[data-theme=light] .detail-item label,:root[data-theme=light] .aqi-item label{color:#475569}:root[data-theme=light] .stat-tile,:root[data-theme=light] .hour-chip,:root[data-theme=light] .detail-item,:root[data-theme=light] .day-card,:root[data-theme=light] .mp-metric,:root[data-theme=light] .sun-strip>div,:root[data-theme=light] .aqi-panel,:root[data-theme=light] .aqi-item,:root[data-theme=light] .chart-wrap{background:#ffffffad;border-color:#0f172a1a}:root[data-theme=light] .city-card{background:#ffffffd1;border-color:#0f172a1a}:root[data-theme=light] .city-card.tone-sunny{background:linear-gradient(150deg,#fde68a99,#ffffffe6)}:root[data-theme=light] .city-card.tone-rain{background:linear-gradient(150deg,#bfdbfea6,#ffffffe6)}:root[data-theme=light] .city-card.tone-storm{background:linear-gradient(150deg,#c7d2feb3,#ffffffe6)}:root[data-theme=light] .city-card.tone-snow{background:linear-gradient(150deg,#e0f2fecc,#ffffffeb)}:root[data-theme=light] .city-card.tone-night{background:linear-gradient(150deg,#c7d2fea6,#ffffffeb)}:root[data-theme=light] .city-card.tone-cloudy{background:linear-gradient(150deg,#e2e8f0b3,#ffffffe6)}:root[data-theme=light] .cc-foot,:root[data-theme=light] .cc-cond,:root[data-theme=light] .dc-cond,:root[data-theme=light] .section-sub,:root[data-theme=light] .mp-title-block p,:root[data-theme=light] .mp-updated{color:#64748b}:root[data-theme=light] .modal-panel{background:linear-gradient(160deg,#fff,#eef4ff);border-color:#0f172a24}:root[data-theme=light] .app-footer{background:#fff9}:root[data-theme=light] .chart-tip{background:#fffffffa;color:#0f172a;border-color:#0ea5e973}:root[data-theme=light] .axis-label{fill:#64748b}:root[data-theme=light] .detail-item strong,:root[data-theme=light] .aqi-item strong,:root[data-theme=light] .sun-strip strong,:root[data-theme=light] .cc-temp,:root[data-theme=light] .mp-temp{color:#0f172a}:root[data-theme=light] .hero-unit,:root[data-theme=light] .hc-rain,:root[data-theme=light] .cc-unit,:root[data-theme=light] .cc-fresh,:root[data-theme=light] .tz-pill,:root[data-theme=light] .fresh-pill,:root[data-theme=light] .eyebrow,:root[data-theme=light] .strip-label,:root[data-theme=light] .mp-section-label,:root[data-theme=light] .mp-eyebrow,:root[data-theme=light] .pollen-label,:root[data-theme=light] .details-toggle,:root[data-theme=light] .link-btn,:root[data-theme=light] .share-btn,:root[data-theme=light] .chart-tip strong,:root[data-theme=light] .footer-bottom a{color:#0369a1}:root[data-theme=light] .badge{color:#075985;background:#0ea5e924;border-color:#0ea5e959}:root[data-theme=light] .badge-day{color:#92400e;background:#f59e0b29;border-color:#f59e0b66}:root[data-theme=light] .badge-night{color:#5b21b6;background:#8b5cf624;border-color:#8b5cf659}:root[data-theme=light] .cc-live{color:#047857}:root[data-theme=light] .nowcast{color:#065f46;background:#10b98129;border-color:#10b98161}:root[data-theme=light] .nowcast-risk{color:#075985;background:#0ea5e924;border-color:#0ea5e961}:root[data-theme=light] .pollen-chip{color:#5b21b6;background:#8b5cf624;border-color:#8b5cf652}:root[data-theme=light] .aqi-good{color:#065f46;background:#10b98129;border-color:#10b9816b}:root[data-theme=light] .aqi-moderate{color:#92400e;background:#f59e0b29;border-color:#f59e0b6b}:root[data-theme=light] .aqi-sensitive{color:#9a3412;background:#f9731624;border-color:#f9731666}:root[data-theme=light] .aqi-unhealthy{color:#b91c1c;background:#ef444424;border-color:#ef444466}:root[data-theme=light] .aqi-very{color:#6b21a8;background:#a855f724;border-color:#a855f766}:root[data-theme=light] .aqi-hazard{color:#9f1239;background:#f43f5e24;border-color:#f43f5e6b}:root[data-theme=light] .shield-icon,:root[data-theme=light] .history-value{color:#0369a1}:root[data-theme=light] .status-offline{color:#92400e;background:#f59e0b29;border-color:#f59e0b6b}:root[data-theme=light] .status-online{color:#065f46;background:#10b98124;border-color:#10b98166}:root[data-theme=light] .advisory-bar{background:#ffffffd6}:root[data-theme=light] .advisory-lead{color:#92400e}:root[data-theme=light] .advisory-item.alert-warning{color:#b91c1c;background:#ef44441f;border-color:#ef444461}:root[data-theme=light] .advisory-item.alert-advisory{color:#92400e;background:#f59e0b24;border-color:#f59e0b66}:root[data-theme=light] .advisory-item.alert-info{color:#075985;background:#0ea5e91f;border-color:#0ea5e961}:root[data-theme=light] .feature-toggle{color:#0369a1;background:#0ea5e91f;border-color:#0ea5e966}:root[data-theme=light] .marine-item strong{color:#0f172a}:root[data-theme=light] .ensemble-head{color:#5b21b6;background:#8b5cf61f;border-color:#8b5cf652}:root[data-theme=light] .ensemble-summary{color:#475569}:root[data-theme=light] .ensemble-chart{background:#ffffffb8}:root[data-theme=light] .ensemble-chart .axis-label,:root[data-theme=light] app-ensemble-chart .axis-label{fill:#64748b}:root[data-theme=light] app-forecast-chart .chart-legend,:root[data-theme=light] app-forecast-chart .chart-empty{color:#475569}:root[data-theme=light] app-ensemble-chart .ec-mean-line,:root[data-theme=light] app-ensemble-chart .ec-dot{stroke:#0284c7}:root[data-theme=light] .brand-name{background:linear-gradient(90deg,#0369a1,#4f46e5 70%,#a21caf);-webkit-background-clip:text;-webkit-text-fill-color:transparent}:root[data-theme=light] .alert-bar,:root[data-theme=light] .alert-close{color:#b91c1c;background:#ef44441f;border-color:#ef444461}:root[data-theme=light] .alert-close{background:none;border:none}:root[data-theme=light] .hero-notice{color:#92400e}:root[data-theme=light] .meta-globe,:root[data-theme=light] .st-icon,:root[data-theme=light] .count-badge,:root[data-theme=light] .footer-brand em,:root[data-theme=light] .mp-temp small,:root[data-theme=light] .dc-day{color:#0369a1}:root[data-theme=light] .count-badge{background:#ffffffd1;border-color:#0f172a1a}:root[data-theme=light] .pref-themes>span,:root[data-theme=light] .theme-options button{color:#475569}:root[data-theme=light] .btn-rm,:root[data-theme=light] .btn-refresh-card{color:#64748b;opacity:.9}:root[data-theme=light] .map-fallback{color:#334155}:root[data-theme=light] .map-fallback strong{color:#0f172a}:root[data-theme=light] .fallback-cities button{color:#0369a1;background:#fffffff2;border-color:#0ea5e966}.skip-link{position:fixed;top:-60px;left:16px;z-index:2000;padding:10px 16px;border-radius:10px;background:#0ea5e9;color:#fff;font-size:.78rem;font-weight:800;text-decoration:none;transition:top .18s ease}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}body.modal-open{overflow:hidden}.layer-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 16px}.layer-tabs button{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:999px;border:1px solid var(--clr-border);background:#0f172a66;color:var(--clr-muted);font-size:.7rem;font-weight:700;transition:all var(--transition)}.layer-tabs button span{font-size:.9rem}.layer-tabs button:hover,.layer-tabs button.active{color:#e0f2fe;border-color:#38bdf880;background:#38bdf829}.map-loading{height:420px;display:grid;place-items:center;border-radius:24px;border:1px solid var(--clr-border);background:#0f172a59;font-size:.78rem;color:var(--clr-muted)}.pref-group{display:flex;flex-direction:column;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid var(--clr-border)}.pref-group-title{font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#7dd3fc}.pref-note{font-size:.62rem;line-height:1.4;color:var(--clr-muted)}.pref-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;font-size:.66rem;color:var(--clr-text)}.pref-checks label{display:flex;align-items:center;gap:6px;cursor:pointer}.pref-thresholds{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pref-thresholds label{display:flex;flex-direction:column;gap:3px;font-size:.62rem;color:var(--clr-muted)}.pref-thresholds input{width:100%;padding:6px 8px;border-radius:8px;border:1px solid var(--clr-border);background:#0f172a59;color:var(--clr-text);font-size:.7rem}.pref-reset{padding:8px 10px;border-radius:9px;border:1px solid rgba(56,189,248,.35);background:#38bdf81f;color:#bae6fd;font-size:.66rem;font-weight:700;transition:all var(--transition)}.pref-reset:hover{background:#38bdf83d}.city-card.drag-source{opacity:.45;transform:scale(.98)}.city-card.drag-target{outline:2px dashed #38bdf8;outline-offset:3px;transform:translateY(-3px)}.cc-name-wrap{display:flex;align-items:flex-start;gap:6px;min-width:0}.drag-handle{flex:none;padding:2px 3px;color:var(--clr-muted);font-size:.9rem;cursor:grab;line-height:1}.cc-order{display:flex;flex-direction:column;gap:2px;margin-left:auto}.cc-order button{width:20px;height:18px;padding:0;border-radius:5px;border:1px solid var(--clr-border);background:#0f172a4d;color:var(--clr-muted);font-size:.8rem;line-height:1}.cc-order button:hover{color:#bae6fd;border-color:#38bdf866}.density-compact .cities-grid{gap:10px}.density-compact .city-card{min-height:190px;padding:14px}.density-compact .cc-spark{height:28px}.density-compact .cc-foot{font-size:.6rem}.history-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:12px 0}.history-summary>div{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:13px;background:#ffffff0b;border:1px solid var(--clr-border)}.history-summary label{font-size:.6rem;text-transform:uppercase;letter-spacing:.07em;color:var(--clr-muted)}.history-summary strong{font-family:var(--font-display);font-size:.9rem;color:var(--clr-text)}.history-note{margin-top:8px;font-size:.62rem;color:var(--clr-muted);text-align:right}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:root[data-theme=light] .layer-tabs button{color:#475569;background:#ffffffd1;border-color:#0f172a1f}:root[data-theme=light] .layer-tabs button:hover,:root[data-theme=light] .layer-tabs button.active{color:#0369a1;background:#0ea5e924;border-color:#0ea5e973}:root[data-theme=light] .map-loading{background:#ffffffb3;color:#475569}:root[data-theme=light] .pref-group-title{color:#0369a1}:root[data-theme=light] .pref-checks,:root[data-theme=light] .history-summary strong{color:#0f172a}:root[data-theme=light] .pref-thresholds input{background:#ffffffe6;color:#0f172a;border-color:#0f172a29}:root[data-theme=light] .pref-reset{color:#0369a1;background:#0ea5e91f;border-color:#0ea5e966}:root[data-theme=light] .cc-order button{color:#475569;background:#fffc;border-color:#0f172a1f}:root[data-theme=light] .drag-handle{color:#64748b}:root[data-theme=light] .history-summary>div{background:#ffffffb8;border-color:#0f172a1a}:root[data-theme=light] .history-note{color:#64748b}:root[data-theme=light] app-history-chart .history-chart{background:#ffffffb8;border-color:#0f172a1a}:root[data-theme=light] app-history-chart .hc-legend{color:#475569}:root[data-theme=light] app-history-chart .hc-grid{stroke:#0f172a24}:root[data-theme=light] app-history-chart .hc-axis{fill:#64748b}:root[data-theme=light] app-history-chart .hc-range{fill:#7c3aed4d;stroke:#7c3aeda6}:root[data-theme=light] app-history-chart .hc-rain{fill:#0284c780}:root[data-theme=light] app-city-map .map-hint,:root[data-theme=light] app-city-map .layer-status,:root[data-theme=light] app-city-map .map-legend{background:#ffffffeb;border-color:#0f172a1f;color:#334155}:root[data-theme=light] app-city-map .layer-warn{color:#b91c1c;border-color:#ef444466}:root[data-theme=light] app-city-map .radar-time{color:#5b21b6;border-color:#8b5cf666}
