/* GeorgiaWeather - Modern Weather Design 2024 */
/* Inspired by Apple Weather, Tomorrow.io, Windy */

/* CSS Variables */
:root{
  --primary:#204d81;
  --primary-dark:#183c6b;
  --primary-light:#6ba3d6;
  --accent:#fac57a;
  --success:#10b981;
  --warning:#f59e0b;
  --danger:#ef4444;
  --danger-dark:#dc2626;

  /* Meteo-dependency colors */
  --meteo-low:#10b981;
  --meteo-moderate:#eab308;
  --meteo-elevated:#f59e0b;
  --meteo-high:#f97316;
  --meteo-very-high:#ef4444;

  /* Gradients */
  --gradient-day:linear-gradient(135deg,#204d81 0%,#3a7bc8 100%);
  --gradient-morning:linear-gradient(135deg,#f093fb 0%,#f5576c 100%);
  --gradient-evening:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);
  --gradient-night:linear-gradient(135deg,#0c1445 0%,#1a1a2e 100%);
  --gradient-card:linear-gradient(135deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.85) 100%);

  /* Shadows */
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-glow:0 0 40px rgba(32,77,129,.3);

  /* Spacing */
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:24px;
  --radius-full:9999px;
}

/* Reset and Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.6;color:#1e293b;background:linear-gradient(180deg,#eef4fa 0%,#dce8f4 100%);min-height:100vh;overflow-x:hidden}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--primary-dark)}
button{cursor:pointer;font-family:inherit}
img{max-width:100%;height:auto}

/* Typography */
h1{font-size:clamp(1.75rem,5vw,2.5rem);font-weight:700;letter-spacing:-0.02em;line-height:1.2}
h2{font-size:clamp(1.25rem,4vw,1.75rem);font-weight:600;letter-spacing:-0.01em}
h3{font-size:1.125rem;font-weight:600}

/* Container */
.container{max-width:1200px;margin:0 auto;padding:16px;width:100%}
@media(min-width:768px){.container{padding:24px}}
@media(min-width:1024px){.container{padding:32px}}

/* ===== HEADER ===== */
header{background:rgba(255,255,255,.8);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(32,77,129,.1);position:sticky;top:0;z-index:100}
header .container{padding:12px 16px}
@media(min-width:768px){header .container{padding:16px 24px}}
.header-content{display:flex;align-items:center;gap:16px}
header .logo{font-size:1.5rem;font-weight:800;background:var(--gradient-day);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-decoration:none;flex-shrink:0;letter-spacing:-0.03em;display:flex;align-items:center;gap:8px}
header .logo-icon{height:32px;width:auto;flex-shrink:0}
@media(max-width:480px){header .logo{font-size:1.25rem}header .logo-icon{height:26px}}

/* Search Box */
header .search-box{flex:1;max-width:500px;margin:0}
.geo-btn{flex:0 0 auto;width:38px;height:38px;border-radius:50%;border:2px solid transparent;background:#f1f5f9;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s;padding:0;line-height:1}.geo-btn:hover{background:#e2e8f0;border-color:var(--primary)}.geo-btn.geo-loading{animation:geo-spin 1s linear infinite;opacity:.7;cursor:wait}@keyframes geo-spin{to{transform:rotate(360deg)}}
.search-box{position:relative}
#citySearch{width:100%;padding:12px 16px 12px 44px;font-size:15px;border:2px solid transparent;border-radius:var(--radius-full);background:#f1f5f9;outline:none;transition:all .3s}
#citySearch:focus{background:#fff;border-color:var(--primary);box-shadow:0 0 0 4px rgba(32,77,129,.1)}
.search-box::before{content:'🔍';position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:16px;opacity:.5;pointer-events:none}
.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border-radius:var(--radius-lg);max-height:400px;overflow-y:auto;display:none;z-index:100;box-shadow:var(--shadow-xl);border:1px solid rgba(0,0,0,.05)}
.search-results.show{display:block;animation:slideDown .2s ease}
@keyframes slideDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.search-result-item{padding:14px 18px;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background .15s}
.search-result-item:hover{background:#f8fafc}
.search-result-item:last-child{border-bottom:none}
.search-result-name{display:flex;align-items:center;gap:6px}
.search-city-type{font-size:13px;color:#64748b}
.search-city-name{font-weight:600;color:#1e293b}
.search-result-country{font-size:13px;color:#94a3b8;margin-top:4px}

/* ===== MAIN CONTENT ===== */
main{min-height:calc(100vh - 200px)}

/* Breadcrumbs */
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:#64748b;margin-bottom:20px;padding:12px 16px;background:rgba(255,255,255,.6);backdrop-filter:blur(10px);border-radius:var(--radius-md)}
.breadcrumbs a{color:#64748b;transition:color .2s}
.breadcrumbs a:hover{color:var(--primary)}
.breadcrumbs span{color:#1e293b;font-weight:500}

/* Page Title */
.container>h1{margin-bottom:24px;color:#1e293b}

/* ===== WEATHER HERO CARD ===== */
.forecast-extended{display:grid;gap:24px;min-width:0;margin-bottom:24px}
.forecast-card{background:var(--gradient-card);backdrop-filter:blur(20px);border-radius:var(--radius-xl);padding:0;box-shadow:var(--shadow-lg);overflow:visible;border:1px solid rgba(255,255,255,.5);min-width:0;max-width:100%}

.forecast-header{background:var(--gradient-day);padding:16px;color:#fff;border-radius:var(--radius-xl) var(--radius-xl) 0 0;overflow:hidden}
@media(min-width:768px){.forecast-header{padding:20px 24px}}
.forecast-header .forecast-date{font-size:1.1rem;font-weight:500;color:rgba(255,255,255,.9);margin:0;text-transform:capitalize}

.forecast-body{padding:16px;display:flex;flex-direction:column;gap:24px;min-width:0}
@media(min-width:768px){.forecast-body{padding:24px;flex-direction:row;align-items:flex-start;gap:32px}}

/* Temperature + Meteo Row */
.weather-main{display:flex;flex-direction:column;gap:24px;align-items:center;min-width:0}
@media(min-width:768px){.weather-main{flex-direction:row;justify-content:space-between;align-items:center;gap:32px}}

/* Temperature Display */
.temp-range{flex:0 0 auto;text-align:center;padding:16px 0}
.temp-values{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-bottom:12px}
.temp-current,.temp-max{font-size:4.5rem;font-weight:200;color:#1e293b;line-height:1}
.temp-min{font-size:2.5rem;font-weight:300;color:#64748b}
.temp-separator{font-size:2rem;color:#cbd5e1}
@media(max-width:480px){.temp-current,.temp-max{font-size:3.5rem}.temp-min{font-size:1.75rem}}

.weather-desc{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;max-width:200px;margin-left:auto;margin-right:auto}
.weather-icon{font-size:3rem !important;line-height:1;flex-shrink:0}
.weather-description{font-size:1.1rem;color:#475569;text-transform:capitalize;font-weight:500;text-align:left;line-height:1.3}

/* ===== GAUGES ROW ===== */
.gauges-row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
@media(min-width:768px){.gauges-row{flex-wrap:nowrap}}

/* ===== GAUGE CARD (inline in card) ===== */
.gauge-card{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#0d2847 0%,#1a4a7a 50%,#2a6cb5 100%);border-radius:var(--radius-xl);color:#fff;position:relative;overflow:hidden;min-width:130px}
.gauge-card::before{content:'';position:absolute;top:-30%;right:-30%;width:80%;height:80%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}

/* Backward compatibility */
.meteo-inline{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:16px 24px;background:linear-gradient(135deg,#0d2847 0%,#1a4a7a 50%,#2a6cb5 100%);border-radius:var(--radius-xl);color:#fff;position:relative;overflow:hidden;min-width:148px}
.meteo-inline::before{content:'';position:absolute;top:-30%;right:-30%;width:80%;height:80%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}

.meteo-inline .meteo-gauge-circle{width:100px;height:100px;border-radius:50%;background:conic-gradient(from 180deg,var(--gauge-color,var(--meteo-low)) var(--gauge-percent,0%),rgba(255,255,255,.2) var(--gauge-percent,0%));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 20px rgba(0,0,0,.3)}
.meteo-inline .meteo-gauge-circle::before{content:'';position:absolute;inset:8px;background:linear-gradient(135deg,#0d2847,#1a4a7a);border-radius:50%}
.meteo-inline .meteo-gauge-value{position:relative;z-index:1;font-size:1.75rem;font-weight:700;line-height:1}
.meteo-inline .meteo-gauge-label{font-size:11px;color:rgba(255,255,255,.8);margin-top:10px;text-transform:uppercase;letter-spacing:.05em;text-align:center}
.meteo-inline .meteo-level{font-size:.85rem;font-weight:600;margin-top:6px;text-transform:uppercase;letter-spacing:.02em}

/* Meteo Inline Level Colors */
.meteo-inline.level-low{background:linear-gradient(135deg,#064e3b 0%,#065f46 50%,#059669 100%)}
.meteo-inline.level-low .meteo-gauge-circle::before{background:linear-gradient(135deg,#064e3b,#065f46)}
.meteo-inline.level-moderate{background:linear-gradient(135deg,#713f12 0%,#854d0e 50%,#eab308 100%)}
.meteo-inline.level-moderate .meteo-gauge-circle::before{background:linear-gradient(135deg,#713f12,#854d0e)}
.meteo-inline.level-elevated{background:linear-gradient(135deg,#78350f 0%,#92400e 50%,#d97706 100%)}
.meteo-inline.level-elevated .meteo-gauge-circle::before{background:linear-gradient(135deg,#78350f,#92400e)}
.meteo-inline.level-high{background:linear-gradient(135deg,#7c2d12 0%,#9a3412 50%,#ea580c 100%)}
.meteo-inline.level-high .meteo-gauge-circle::before{background:linear-gradient(135deg,#7c2d12,#9a3412)}
.meteo-inline.level-very_high{background:linear-gradient(135deg,#7f1d1d 0%,#991b1b 50%,#dc2626 100%)}
.meteo-inline.level-very_high .meteo-gauge-circle::before{background:linear-gradient(135deg,#7f1d1d,#991b1b)}

/* ===== HEALTH GAUGE INLINE (Combined Meteo + Kp) ===== */
.health-inline{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:16px 24px;background:transparent;border:2px solid var(--gauge-border,#059669);border-radius:var(--radius-xl);color:#1e293b;position:relative;min-width:148px;cursor:pointer}
.health-inline .health-gauge-circle{width:90px;height:90px;border-radius:50%;background:conic-gradient(from 180deg,var(--gauge-color,var(--meteo-low)) var(--gauge-percent,0%),rgba(0,0,0,.08) var(--gauge-percent,0%));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 12px rgba(0,0,0,.1)}
.health-inline .health-gauge-circle::before{content:'';position:absolute;inset:8px;background:#fff;border-radius:50%}
.health-inline .health-title{position:relative;z-index:1;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;color:#1e293b;text-align:center;white-space:nowrap}
.health-inline .health-gauge-value{position:relative;z-index:1;font-size:1.5rem;font-weight:700;line-height:1;color:#1e293b}
.health-inline .health-gauge-label{font-size:18px;color:#64748b;margin-top:8px;letter-spacing:.03em;text-align:center}
.health-inline.level-low{--gauge-border:#059669}
.health-inline.level-moderate{--gauge-border:#eab308}
.health-inline.level-elevated{--gauge-border:#d97706}
.health-inline.level-high{--gauge-border:#ea580c}
.health-inline.level-very_high{--gauge-border:#dc2626}

/* ===== AQI INLINE GAUGE (next to Weather Sensitivity) ===== */
:root{--aqi-good:#16a34a;--aqi-moderate:#ca8a04;--aqi-sensitive:#ea580c;--aqi-unhealthy:#dc2626;--aqi-very_unhealthy:#7c3aed;--aqi-hazardous:#9f1239}
.aqi-inline{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:16px 20px;background:transparent;border:2px solid var(--aqi-border,#16a34a);border-radius:var(--radius-xl);color:#1e293b;position:relative;min-width:148px}
.aqi-inline-title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;color:#1e293b;text-align:center;white-space:nowrap}
.aqi-gauge-circle{width:90px;height:90px;border-radius:50%;background:conic-gradient(from 180deg,var(--gauge-color,var(--aqi-good)) var(--gauge-percent,0%),rgba(0,0,0,.08) var(--gauge-percent,0%));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 12px rgba(0,0,0,.1)}
.aqi-gauge-circle::before{content:'';position:absolute;inset:8px;background:#fff;border-radius:50%}
.aqi-gauge-value{position:relative;z-index:1;font-size:1.5rem;font-weight:700;line-height:1;color:#1e293b}
.aqi-gauge-label{font-size:18px;color:#64748b;margin-top:8px;letter-spacing:.03em;text-align:center}
.aqi-sub-pm{font-size:.68rem;color:#94a3b8;margin-top:7px;text-align:center;white-space:nowrap}
.aqi-pollen-info{display:flex;flex-direction:column;align-items:center;margin-top:8px;gap:2px}
.aqi-pollen-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.aqi-pollen-names{font-size:.75rem;font-weight:600;color:#334155;text-align:center}
.aqi-forecast-strip{display:flex;gap:3px;margin-top:10px;width:100%}.aqi-fday{flex:1;display:flex;flex-direction:column;align-items:center;padding:5px 2px;border-radius:6px;cursor:default;min-width:26px}.aqi-fday-lbl{font-size:.55rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;opacity:.75;line-height:1.2}.aqi-fday-val{font-size:.8rem;font-weight:700;line-height:1.3}.aqi-fday-good{background:#f0fdf4;color:#16a34a}.aqi-fday-moderate{background:#fefce8;color:#ca8a04}.aqi-fday-sensitive{background:#fff7ed;color:#ea580c}.aqi-fday-unhealthy{background:#fef2f2;color:#dc2626}.aqi-fday-very_unhealthy{background:#f5f3ff;color:#7c3aed}.aqi-fday-hazardous{background:#fff1f2;color:#9f1239}
.aqi-inline{cursor:pointer}
.aqi-tooltip{display:none;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);background:#0d2847;border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:14px 16px;min-width:260px;max-width:calc(100vw - 32px);z-index:100;box-shadow:0 8px 24px rgba(0,0,0,.4);text-align:left;font-size:.8rem;line-height:1.5}
.aqi-tooltip::after{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border:8px solid transparent;border-bottom-color:#0d2847}
.aqi-inline:hover .aqi-tooltip,.aqi-inline.tooltip-open .aqi-tooltip{display:block}
.aqi-tooltip-text{color:rgba(255,255,255,.9);font-size:.78rem;line-height:1.7}
.aqi-tooltip-text b{color:#fff}
.aqi-inline-good{--aqi-border:#16a34a}
.aqi-inline-moderate{--aqi-border:#ca8a04}
.aqi-inline-sensitive{--aqi-border:#ea580c}
.aqi-inline-unhealthy{--aqi-border:#dc2626}
.aqi-inline-very_unhealthy{--aqi-border:#7c3aed}
.aqi-inline-hazardous{--aqi-border:#9f1239}

/* Health sub-indicators */
.health-sub-indicators{display:flex;gap:8px;margin-top:10px;font-size:.7rem;position:relative;z-index:1}
.health-sub{padding:2px 8px;border-radius:10px;background:rgba(0,0,0,.06);white-space:nowrap;color:#475569}

/* Health tooltip */
.health-tooltip{display:none;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);background:#0d2847;border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:14px 16px;min-width:220px;max-width:calc(100vw - 32px);z-index:100;box-shadow:0 8px 24px rgba(0,0,0,.4);text-align:left;font-size:.8rem;line-height:1.5}
.health-tooltip::after{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border:8px solid transparent;border-bottom-color:#0d2847}
.health-inline:hover .health-tooltip,.health-inline.tooltip-open .health-tooltip{display:block}
.health-tooltip-title{font-weight:700;font-size:.85rem;margin-bottom:8px;text-align:center;color:rgba(255,255,255,.9)}
.health-tooltip-row{display:flex;justify-content:space-between;gap:10px;padding:3px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.health-tooltip-row:last-of-type{border-bottom:none}
.health-tooltip-label{color:rgba(255,255,255,.7)}
.health-tooltip-val{font-weight:600;text-align:right}
.health-tooltip-factors{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.8);font-size:.75rem}
.health-tooltip-factors span{font-weight:600;color:rgba(255,255,255,.95)}
.health-tooltip-text{color:rgba(255,255,255,.9);font-size:.8rem;line-height:1.6}

/* ===== KP GAUGE INLINE ===== */
.kp-gauge-inline{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:16px 24px;background:linear-gradient(135deg,#1e3a5f 0%,#2563eb 50%,#3b82f6 100%);border-radius:var(--radius-xl);color:#fff;position:relative;overflow:hidden;min-width:148px}
.kp-gauge-inline::before{content:'';position:absolute;top:-30%;right:-30%;width:80%;height:80%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}
.kp-gauge-inline .kp-gauge-circle{width:100px;height:100px;border-radius:50%;background:conic-gradient(from 180deg,var(--gauge-color,#3b82f6) var(--gauge-percent,0%),rgba(255,255,255,.2) var(--gauge-percent,0%));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 20px rgba(0,0,0,.3)}
.kp-gauge-inline .kp-gauge-circle::before{content:'';position:absolute;inset:8px;background:linear-gradient(135deg,#1e3a5f,#2563eb);border-radius:50%}
.kp-gauge-inline .kp-gauge-value{position:relative;z-index:1;font-size:1.75rem;font-weight:700;line-height:1}
.kp-gauge-inline .kp-gauge-label{font-size:11px;color:rgba(255,255,255,.8);margin-top:10px;text-transform:uppercase;letter-spacing:.05em;text-align:center}
.kp-gauge-inline .kp-level{font-size:.85rem;font-weight:600;margin-top:6px;text-transform:uppercase;letter-spacing:.02em}

/* Kp Gauge Level Colors */
.kp-gauge-inline.level-calm{background:linear-gradient(135deg,#064e3b 0%,#065f46 50%,#059669 100%);--gauge-color:#10b981}
.kp-gauge-inline.level-calm .kp-gauge-circle::before{background:linear-gradient(135deg,#064e3b,#065f46)}
.kp-gauge-inline.level-low{background:linear-gradient(135deg,#713f12 0%,#854d0e 50%,#eab308 100%);--gauge-color:#eab308}
.kp-gauge-inline.level-low .kp-gauge-circle::before{background:linear-gradient(135deg,#713f12,#854d0e)}
.kp-gauge-inline.level-moderate{background:linear-gradient(135deg,#78350f 0%,#92400e 50%,#fbbf24 100%);--gauge-color:#fbbf24}
.kp-gauge-inline.level-moderate .kp-gauge-circle::before{background:linear-gradient(135deg,#78350f,#92400e)}
.kp-gauge-inline.level-high{background:linear-gradient(135deg,#78350f 0%,#92400e 50%,#f59e0b 100%);--gauge-color:#f59e0b}
.kp-gauge-inline.level-high .kp-gauge-circle::before{background:linear-gradient(135deg,#78350f,#92400e)}
.kp-gauge-inline.level-very_high{background:linear-gradient(135deg,#7c2d12 0%,#9a3412 50%,#f97316 100%);--gauge-color:#f97316}
.kp-gauge-inline.level-very_high .kp-gauge-circle::before{background:linear-gradient(135deg,#7c2d12,#9a3412)}
.kp-gauge-inline.level-extreme{background:linear-gradient(135deg,#7f1d1d 0%,#991b1b 50%,#ef4444 100%);--gauge-color:#ef4444}
.kp-gauge-inline.level-extreme .kp-gauge-circle::before{background:linear-gradient(135deg,#7f1d1d,#991b1b)}

/* ===== METEO-DEPENDENCY HERO CARD (for tomorrow page) ===== */
.meteo-hero{background:linear-gradient(135deg,#0d2847 0%,#1a4a7a 50%,#2a6cb5 100%);border-radius:var(--radius-xl);padding:28px;color:#fff;margin-bottom:24px;position:relative;overflow:hidden;box-shadow:var(--shadow-xl),var(--shadow-glow)}
.meteo-hero::before{content:'';position:absolute;top:-50%;right:-50%;width:100%;height:100%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}
.meteo-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:50%;background:linear-gradient(to top,rgba(0,0,0,.2),transparent);pointer-events:none}

.meteo-hero-content{position:relative;z-index:1;display:flex;flex-direction:column;gap:20px}
@media(min-width:768px){.meteo-hero-content{flex-direction:row;align-items:center;gap:32px}}

.meteo-gauge{flex:0 0 auto;display:flex;flex-direction:column;align-items:center}
.meteo-gauge-circle{width:140px;height:140px;border-radius:50%;background:conic-gradient(from 180deg,var(--gauge-color,var(--meteo-low)) var(--gauge-percent,0%),rgba(255,255,255,.15) var(--gauge-percent,0%));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 30px rgba(0,0,0,.3),inset 0 0 30px rgba(0,0,0,.2)}
.meteo-gauge-circle::before{content:'';position:absolute;inset:12px;background:linear-gradient(135deg,#0d2847,#1a4a7a);border-radius:50%}
.meteo-gauge-value{position:relative;z-index:1;font-size:2.5rem;font-weight:700;line-height:1}
.meteo-gauge-label{font-size:13px;color:rgba(255,255,255,.7);margin-top:12px;text-transform:uppercase;letter-spacing:.05em}

.meteo-info{flex:1}
.meteo-title{font-size:1rem;color:rgba(255,255,255,.7);margin-bottom:8px;display:flex;align-items:center;gap:8px}
.meteo-title::before{content:'🧠';font-size:1.25rem}
.meteo-level{font-size:1.75rem;font-weight:700;margin-bottom:12px;text-transform:uppercase;letter-spacing:.02em}
.meteo-description{font-size:.9rem;color:rgba(255,255,255,.8);line-height:1.6;margin-bottom:16px}
.meteo-factors{display:flex;flex-wrap:wrap;gap:8px}
.meteo-factor{padding:6px 12px;background:rgba(255,255,255,.15);border-radius:var(--radius-full);font-size:12px;backdrop-filter:blur(10px)}

/* Meteo Hero Level Colors */
.meteo-hero.level-low{background:linear-gradient(135deg,#064e3b 0%,#065f46 50%,#059669 100%)}
.meteo-hero.level-low .meteo-gauge-circle::before{background:linear-gradient(135deg,#064e3b,#065f46)}
.meteo-hero.level-moderate{background:linear-gradient(135deg,#365314 0%,#3f6212 50%,#65a30d 100%)}
.meteo-hero.level-moderate .meteo-gauge-circle::before{background:linear-gradient(135deg,#365314,#3f6212)}
.meteo-hero.level-elevated{background:linear-gradient(135deg,#78350f 0%,#92400e 50%,#d97706 100%)}
.meteo-hero.level-elevated .meteo-gauge-circle::before{background:linear-gradient(135deg,#78350f,#92400e)}
.meteo-hero.level-high{background:linear-gradient(135deg,#7c2d12 0%,#9a3412 50%,#ea580c 100%)}
.meteo-hero.level-high .meteo-gauge-circle::before{background:linear-gradient(135deg,#7c2d12,#9a3412)}
.meteo-hero.level-very_high{background:linear-gradient(135deg,#7f1d1d 0%,#991b1b 50%,#dc2626 100%)}
.meteo-hero.level-very_high .meteo-gauge-circle::before{background:linear-gradient(135deg,#7f1d1d,#991b1b)}

/* ===== FORECAST DETAILS GRID ===== */
.forecast-details{flex:1;display:grid;grid-template-columns:1fr;gap:10px;min-width:0}
@media(min-width:400px){.forecast-details{grid-template-columns:repeat(2,1fr);gap:12px}}
@media(min-width:900px){.forecast-details{grid-template-columns:repeat(2,1fr);gap:16px}}

.detail{display:flex;align-items:center;gap:8px;padding:12px;background:#f8fafc;border-radius:var(--radius-md);transition:all .2s;border:1px solid transparent;min-width:0}
@media(min-width:768px){.detail{gap:10px;padding:14px 16px}}
.detail:hover{background:#fff;border-color:#e2e8f0;transform:translateY(-2px);box-shadow:var(--shadow-md)}
.detail .icon{font-size:1.5rem;flex-shrink:0}
.detail span:last-child{font-size:13px;color:#475569;font-weight:500;min-width:0}
@media(min-width:768px){.detail span:last-child{font-size:14px}}

/* Detail Color Variants */
.detail.kp-calm,.detail.headache-low{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0}
.detail.kp-calm span,.detail.headache-low span{color:#047857}
.detail.uv-moderate{background:linear-gradient(135deg,#fefce8,#fef08a);border-color:#fde047}
.detail.uv-moderate span{color:#a16207}
.detail.uv-high,.detail.headache-elevated{background:linear-gradient(135deg,#fff7ed,#fed7aa);border-color:#fdba74}
.detail.uv-high span,.detail.headache-elevated span{color:#c2410c}
.detail.uv-very_high,.detail.uv-extreme,.detail.kp-high,.detail.kp-very_high,.detail.kp-extreme,.detail.headache-high,.detail.headache-very_high{background:linear-gradient(135deg,#fef2f2,#fecaca);border-color:#fca5a5}
.detail.uv-very_high span,.detail.uv-extreme span,.detail.kp-high span,.detail.kp-very_high span,.detail.kp-extreme span,.detail.headache-high span,.detail.headache-very_high span{color:#dc2626}
.detail.kp-low,.detail.kp-moderate,.detail.headache-moderate{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#bbf7d0}
.detail.kp-low span,.detail.kp-moderate span,.detail.headache-moderate span{color:#15803d}

/* Normal level — no highlight (wind-normal, humidity-normal, pressure-normal, precip-none) */

/* Moderate level — yellow */
.detail.wind-moderate,.detail.humidity-moderate,.detail.pressure-moderate,.detail.precip-moderate{background:linear-gradient(135deg,#fefce8,#fef08a);border-color:#fde047}
.detail.wind-moderate span,.detail.humidity-moderate span,.detail.pressure-moderate span,.detail.precip-moderate span{color:#a16207}

/* High level — orange */
.detail.wind-high,.detail.humidity-high,.detail.pressure-high,.detail.precip-high,.detail.humidity-dry{background:linear-gradient(135deg,#fff7ed,#fed7aa);border-color:#fdba74}
.detail.wind-high span,.detail.humidity-high span,.detail.pressure-high span,.detail.precip-high span,.detail.humidity-dry span{color:#c2410c}

/* Danger level — red */
.detail.wind-danger,.detail.humidity-danger,.detail.pressure-danger,.detail.precip-danger{background:linear-gradient(135deg,#fef2f2,#fecaca);border-color:#fca5a5}
.detail.wind-danger span,.detail.humidity-danger span,.detail.pressure-danger span,.detail.precip-danger span{color:#dc2626}


/* ===== HOURLY FORECAST ===== */
.hourly-forecast{margin-top:0;padding:16px;background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 var(--radius-xl) var(--radius-xl)}
@media(min-width:768px){.hourly-forecast{padding:24px}}
/* Switcher header */
.hourly-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.hourly-header h4{margin:0;font-size:1rem;font-weight:600;color:#334155}
.hourly-switcher{display:flex;gap:3px}
.hv-btn{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:3px 9px;font-size:15px;cursor:pointer;color:#64748b;transition:all .15s;line-height:1.4}
.hv-btn.active,.hv-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
/* View toggle */
.hourly-view{display:none}
.hourly-forecast[data-active-view="strip"] .hourly-view-strip,
.hourly-forecast[data-active-view="chart"] .hourly-view-chart,
.hourly-forecast[data-active-view="table"] .hourly-view-table,
.hourly-forecast[data-active-view="bars"]  .hourly-view-bars{display:block}
/* VIEW 1: strip */
.hourly-strip{display:flex;overflow-x:auto;gap:6px;padding-bottom:6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.hourly-strip::-webkit-scrollbar{height:4px}
.hourly-strip::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}
.hour-item{flex:0 0 62px;text-align:center;padding:10px 4px;background:#fff;border-radius:var(--radius-md);transition:all .2s;border:1px solid #e2e8f0;position:relative;cursor:default}
.hour-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary-light)}
.hour-item::after{content:attr(data-desc);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#0d2847;color:#fff;font-size:.72rem;padding:4px 10px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;z-index:10}
.hour-item:hover::after,.hour-item:focus::after,.hour-item.tip-open::after{opacity:1}
.hour-time{font-size:11px;color:#64748b;margin-bottom:4px;font-weight:500}
.hour-temp{font-size:1.1rem;font-weight:600;color:#1e293b;margin:4px 0}
.hour-icon{font-size:1.4rem}
.strip-pop{font-size:10px;color:#3b82f6;margin-top:2px}
/* VIEW 2: chart */
.hourly-chart-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
/* VIEW 3: table */
.hourly-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hourly-table{width:100%;border-collapse:collapse;font-size:13px;min-width:420px}
.hourly-table tr:nth-child(even){background:#f8fafc}
.hourly-table tr:hover{background:#eff6ff}
.hourly-table td{padding:6px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
.ht-time{color:#64748b;font-weight:500;white-space:nowrap}
.ht-icon{text-align:center;font-size:18px;width:32px}
.ht-desc{color:#475569;font-size:12px}
.ht-temp{font-weight:600;white-space:nowrap;text-align:right}
.ht-hum,.ht-wind{color:#475569;white-space:nowrap}
.ht-pop{color:#3b82f6;white-space:nowrap}
/* VIEW 4: bars */
.bars-row{display:grid;grid-template-columns:64px 28px 1fr 54px 46px;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid #f1f5f9}
.bars-time{font-size:12px;color:#64748b;font-weight:500;white-space:nowrap}
.bars-icon{text-align:center;font-size:18px}
.bars-track{height:10px;background:#f1f5f9;border-radius:5px;overflow:hidden}
.bars-fill{height:100%;background:linear-gradient(to right,#60a5fa,#3b82f6);border-radius:5px;min-width:4px}
.bars-temp{font-size:13px;font-weight:600;color:#1e293b;text-align:right;white-space:nowrap}
.bars-pop{font-size:11px;color:#3b82f6;white-space:nowrap}

/* ===== 5-DAY FORECAST ===== */
.forecast-5day{background:#fff;border-radius:var(--radius-xl);padding:24px;box-shadow:var(--shadow-lg);margin-bottom:24px}
.forecast-5day h2{font-size:1.25rem;margin-bottom:20px;color:#1e293b;font-weight:600}
.forecast-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
@media(max-width:767px){.forecast-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.forecast-grid{grid-template-columns:repeat(2,1fr)}}
.forecast-day{text-align:center;padding:20px 12px;background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-radius:var(--radius-lg);transition:all .2s;border:1px solid transparent}
.forecast-day:hover{background:linear-gradient(180deg,#fff,#f8fafc);border-color:#e2e8f0;transform:translateY(-2px);box-shadow:var(--shadow-md)}
.day-name{font-size:13px;font-weight:600;color:#64748b;margin-bottom:10px;text-transform:uppercase;letter-spacing:.03em}
.forecast-day .temp{font-size:1.5rem;font-weight:600;color:#1e293b;margin:10px 0}
.forecast-day .icon{font-size:2rem}

/* ===== FORECAST LINKS ===== */
.forecast-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;margin-bottom:24px}
.forecast-links a{padding:14px 24px;background:#fff;color:#475569;border-radius:var(--radius-full);text-align:center;flex:1;min-width:150px;font-weight:500;font-size:14px;transition:all .2s;border:2px solid #e2e8f0;box-shadow:var(--shadow-sm)}
.forecast-links a:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-2px);box-shadow:var(--shadow-md);text-decoration:none}
@media(max-width:480px){.forecast-links a{min-width:calc(50% - 8px);padding:12px 16px;font-size:13px}}

/* Back Link */
.back-link{text-align:center;margin:32px 0}
.back-link a{color:#64748b;font-size:14px;display:inline-flex;align-items:center;gap:8px;padding:12px 20px;background:#fff;border-radius:var(--radius-full);transition:all .2s;border:1px solid #e2e8f0}
.back-link a:hover{color:var(--primary);border-color:var(--primary);text-decoration:none}

/* ===== CATALOG LINK ===== */
.catalog-link{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:32px 0}
.btn-link{display:inline-flex;align-items:center;gap:8px;padding:16px 32px;background:var(--gradient-day);color:#fff;border-radius:var(--radius-full);font-weight:600;font-size:15px;transition:all .3s;box-shadow:var(--shadow-lg)}
.btn-link:hover{transform:translateY(-2px);box-shadow:var(--shadow-xl);text-decoration:none}
.btn-link-secondary{background:#fff;color:var(--primary);border:2px solid var(--primary);box-shadow:var(--shadow-md)}
.btn-link-secondary:hover{background:var(--primary);color:#fff}

/* ===== ABOUT SECTION ===== */
.about-section{background:#fff;border-radius:var(--radius-xl);padding:32px;box-shadow:var(--shadow-lg);margin-top:32px;line-height:1.75;color:#334155}
.about-section h2{font-size:1.4rem;color:#1e293b;margin-bottom:20px;font-weight:700}
.about-section h3{font-size:1.15rem;color:#1e293b;margin:24px 0 12px;font-weight:600}
.about-section h4{font-size:1rem;color:#475569;margin:16px 0 8px;font-weight:600}
.about-section p{margin-bottom:12px}
.about-section ul,.about-section ol{margin:0 0 16px 24px;padding:0}
.about-section li{margin-bottom:6px}
.about-section strong{color:#1e293b}
.about-section .references{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}
.about-section .references h4{color:#64748b;text-transform:uppercase;font-size:.75rem;letter-spacing:.5px;margin-bottom:12px}
.about-section .references ol{font-size:.8rem;color:#64748b;line-height:1.6}
.about-section .references li{margin-bottom:4px}
@media(max-width:600px){.about-section{padding:20px 16px}.about-section h2{font-size:1.2rem}.about-section h3{font-size:1.05rem}}

/* ===== COUNTRY CATALOG ===== */
.country-catalog{margin-bottom:32px}
.letter-group{margin-bottom:48px}
.letter-heading{font-size:2.5rem;font-weight:800;background:var(--gradient-day);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:24px;padding-bottom:12px;border-bottom:3px solid var(--primary-light)}
.country-list{display:grid;gap:16px}
.country-item{background:#fff;border-radius:var(--radius-xl);padding:24px;box-shadow:var(--shadow-md);transition:all .2s}
.country-item:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.country-item h3{font-size:1.25rem;color:#1e293b;margin-bottom:16px;font-weight:600}
.load-cities{width:100%;padding:14px;background:var(--gradient-day);color:#fff;border:none;border-radius:var(--radius-md);font-size:15px;font-weight:500;transition:all .2s}
.load-cities:hover{opacity:.9;transform:translateY(-1px)}
.load-cities.loading{background:#94a3b8}

/* Cities List */
.cities-list{margin-top:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.cities-list a{display:block;padding:12px 16px;background:#f8fafc;border-radius:var(--radius-md);color:#475569;font-weight:500;transition:all .2s}
.cities-list a:hover{background:var(--primary);color:#fff;text-decoration:none;transform:translateX(4px)}

/* Regions & Countries Lists */
.regions-list,.countries-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:32px}
@media(max-width:767px){.regions-list,.countries-list{grid-template-columns:1fr}}
.region-card{background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-md);transition:all .2s;overflow:hidden}
.region-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl)}
.region-link{display:block;padding:24px;text-decoration:none;color:inherit}
.region-link h3{font-size:1.15rem;color:#1e293b;margin-bottom:12px;font-weight:600}
.region-type{display:inline-block;padding:6px 12px;background:linear-gradient(135deg,#dce8f4,#b4d0e8);color:var(--primary);border-radius:var(--radius-full);font-size:12px;font-weight:500;margin-bottom:10px}
.region-stats{font-size:14px;color:#64748b}

/* City Cards */
.city-card{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);transition:all .2s;display:flex}
.city-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.city-link{display:flex;flex-direction:column;flex:1;padding:20px;text-decoration:none;color:inherit}
.city-name{font-size:1.1rem;font-weight:600;color:#1e293b;margin-bottom:6px}
.city-type{font-size:13px;color:#64748b}
.city-population{font-size:12px;color:#94a3b8;margin-top:8px}

/* ===== ERROR PAGE ===== */
.error-page{text-align:center;padding:80px 20px}
.error-page h1{font-size:8rem;font-weight:800;background:var(--gradient-day);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:16px;line-height:1}
.error-page p{font-size:1.25rem;color:#64748b;margin-bottom:32px}
.error-page .city-suggestion{font-size:1.1rem;color:#475569;margin:24px 0}
.error-page .city-suggestion strong a{color:var(--primary);border-bottom:2px solid var(--primary-light);transition:all .2s}
.error-page .city-suggestion strong a:hover{border-bottom-color:var(--primary)}

/* ===== FOOTER ===== */
footer{background:linear-gradient(180deg,#1e293b,#0f172a);color:#94a3b8;padding:40px 16px;margin-top:48px}
footer .container{text-align:center}
footer p{font-size:14px;margin:8px 0}
footer a{color:#e2e8f0;transition:color .2s}
footer a:hover{color:#fff}

/* ===== TOOLTIPS ===== */
.has-tooltip{position:relative;cursor:help}
.has-tooltip::after{content:attr(data-tooltip);position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);background:#1e293b;color:#fff;padding:12px 16px;border-radius:var(--radius-md);font-size:13px;font-weight:400;line-height:1.5;white-space:normal;width:280px;max-width:90vw;text-align:left;opacity:0;visibility:hidden;transition:all .2s;z-index:1000;box-shadow:var(--shadow-xl);pointer-events:none}
.has-tooltip::before{content:'';position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);border:8px solid transparent;border-bottom-color:#1e293b;opacity:0;visibility:hidden;transition:all .2s;z-index:1001}
.has-tooltip:hover,.has-tooltip.tooltip-active{z-index:100}
.has-tooltip:hover::after,.has-tooltip:hover::before,.has-tooltip.tooltip-active::after,.has-tooltip.tooltip-active::before{opacity:1;visibility:visible}
@media(max-width:767px){.has-tooltip::after{left:auto;right:0;transform:none;width:min(260px,calc(100vw - 32px))}.has-tooltip::before{left:auto;right:16px;transform:none}}

/* ===== REGION NESTED ITEMS ===== */
.region-item{margin-bottom:8px}
.load-region-cities{width:100%;padding:12px 16px;background:#f1f5f9;color:#475569;border:none;border-radius:var(--radius-md);font-size:14px;font-weight:500;text-align:left;transition:all .2s;cursor:pointer}
.load-region-cities:hover{background:#e2e8f0}
.load-region-cities:disabled{opacity:.6;cursor:wait}

/* ===== ANIMATIONS ===== */
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.6}}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.forecast-card{animation:fadeIn .4s ease}
.meteo-hero{animation:fadeIn .5s ease}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}
::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:#94a3b8}

/* ===== UNITS SWITCHER ===== */
.units-switch{position:relative;flex-shrink:0;margin-left:auto}
.units-toggle{background:var(--primary);border:none;color:#fff;padding:6px 12px;border-radius:var(--radius-full);font-size:.8rem;font-weight:600;cursor:pointer;transition:background .2s;letter-spacing:.5px}
.units-toggle:hover{background:var(--primary-dark)}
.units-dropdown{display:none;position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-xl);min-width:200px;z-index:1000;border:1px solid rgba(0,0,0,.08);padding:8px 0}
.units-dropdown.show{display:block;animation:slideDown .2s ease}
.units-group{padding:8px 16px}
.units-group+.units-group{border-top:1px solid #f1f5f9}
.units-label{display:block;font-size:.75rem;font-weight:600;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}
.units-options{display:flex;gap:4px}
.unit-btn{background:#f1f5f9;border:1px solid #e2e8f0;color:#475569;padding:4px 10px;border-radius:var(--radius-sm);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit}
.unit-btn:hover{background:#e2e8f0;color:#1e293b}
.unit-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch{position:relative;flex-shrink:0}
.lang-current{background:var(--primary);border:none;color:#fff;padding:6px 12px;border-radius:var(--radius-full);font-size:.8rem;font-weight:600;cursor:pointer;transition:background .2s;letter-spacing:.5px}
.lang-current:hover{background:var(--primary-dark)}
.lang-dropdown{display:none;position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-xl);min-width:160px;max-height:360px;overflow-y:auto;z-index:1000;border:1px solid rgba(0,0,0,.08);padding:4px 0}
.lang-dropdown.show{display:block;animation:slideDown .2s ease}
.lang-option{display:block;padding:8px 16px;color:#1e293b;font-size:.875rem;transition:background .15s;text-decoration:none;white-space:nowrap}
.lang-option:hover{background:#f1f5f9;color:var(--primary-dark)}

/* ===== UTILITY CLASSES ===== */
.text-center{text-align:center}
.mt-4{margin-top:1rem}
.mb-4{margin-bottom:1rem}

/* ===== WEATHER ALERTS ===== */
.weather-alerts{margin-bottom:24px}
.alert-banner{border-radius:var(--radius-lg);padding:0;margin-bottom:12px;overflow:hidden;box-shadow:var(--shadow-md);border-left:5px solid #94a3b8;cursor:pointer;transition:box-shadow .2s,transform .2s}
.alert-banner:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}
.alert-banner:last-child{margin-bottom:0}
.alert-header{display:flex;align-items:center;gap:10px;padding:14px 18px;position:relative;user-select:none}
.alert-header::after{content:'';display:inline-block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;flex-shrink:0;transition:transform .3s ease;opacity:.7}
.alert-expanded .alert-header::after{transform:rotate(-135deg)}
.alert-icon{font-size:1.25rem;flex-shrink:0;line-height:1}
.alert-event{font-weight:600;font-size:.95rem;line-height:1.3}
.alert-expires{font-size:.75rem;opacity:.8;margin-left:auto;padding-left:12px;white-space:nowrap;flex-shrink:0;margin-right:20px}
.alert-details{max-height:0;overflow:hidden;transition:max-height .4s ease,padding .3s ease;padding:0 18px}
.alert-expanded .alert-details{max-height:500px;padding:0 18px 16px}
.alert-headline{font-weight:600;font-size:.9rem;margin-bottom:8px;line-height:1.4}
.alert-instruction{font-size:.85rem;line-height:1.6;opacity:.9}

/* Alert Severity Variants */
.alert-extreme{background:#dc2626;color:#fff;border-left-color:#991b1b}
.alert-extreme .alert-header::after{border-color:#fff}
.alert-severe{background:#ea580c;color:#fff;border-left-color:#c2410c}
.alert-severe .alert-header::after{border-color:#fff}
.alert-moderate{background:#fbbf24;color:#1e293b;border-left-color:#d97706}
.alert-moderate .alert-header::after{border-color:#1e293b}
.alert-minor{background:#3b82f6;color:#fff;border-left-color:#2563eb}
.alert-minor .alert-header::after{border-color:#fff}

/* ===== HEAT INDEX / FEELS LIKE ===== */
.feels-like{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:.95rem;color:#64748b;justify-content:center;flex-wrap:wrap}
.heat-caution{color:#d97706}
.heat-high{color:#ea580c}
.heat-danger{color:#dc2626}
.heat-extreme{color:#991b1b;font-weight:700}
.heat-warning{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--radius-full);font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;line-height:1.4;white-space:nowrap}
.heat-caution .heat-warning{background:rgba(217,119,6,.15);color:#b45309}
.heat-high .heat-warning{background:rgba(234,88,12,.15);color:#c2410c}
.heat-danger .heat-warning{background:rgba(220,38,38,.15);color:#dc2626}
.heat-extreme .heat-warning{background:rgba(153,27,27,.2);color:#991b1b}

/* ===== RADAR SECTION ===== */
.radar-section{background:#fff;border-radius:var(--radius-xl);padding:24px;box-shadow:var(--shadow-lg);margin-top:24px;margin-bottom:24px}
.radar-section h2,.radar-section h3{font-size:1.25rem;margin-bottom:16px;color:#1e293b;font-weight:600}
.radar-map{width:100%;height:420px;border-radius:var(--radius-lg);overflow:hidden;background:#e2e8f0}
.radar-controls{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.radar-play-btn{width:34px;height:34px;border-radius:50%;border:2px solid var(--primary);background:#fff;color:var(--primary);font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s,color .2s}.radar-play-btn:hover{background:var(--primary);color:#fff}
.radar-time-lbl{font-size:.85rem;font-weight:600;color:#334155;min-width:60px}
.radar-legend{display:flex;align-items:center;gap:6px;font-size:.72rem;color:#64748b;flex-wrap:wrap}.radar-legend span{display:inline-block;width:14px;height:8px;border-radius:2px}
@media(max-width:767px){.radar-map{height:300px}}

/* ===== HEAT INDEX (prominent) ===== */
.feels-like{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:1.05rem;color:#475569;justify-content:center;flex-wrap:wrap}
.feels-like strong{font-size:1.4rem;font-weight:700;color:#1e293b}
.heat-caution{color:#d97706}.heat-caution .feels-like strong{color:#d97706}
.heat-extreme{color:#dc2626}.heat-extreme .feels-like strong{color:#dc2626}
.heat-warning{font-size:.82rem;font-weight:600;padding:2px 10px;border-radius:20px;background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.heat-extreme .heat-warning{background:#fee2e2;color:#991b1b;border-color:#fecaca}

/* ===== AIR QUALITY & POLLEN WIDGET ===== */
.pollen-widget{background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-md);padding:24px;margin-bottom:32px}
.pollen-title{font-size:1.15rem;font-weight:700;color:#1e293b;margin-bottom:20px}
.pollen-main{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:start}
@media(max-width:600px){.pollen-main{grid-template-columns:1fr}}
/* AQI card */
.aqi-card{border-radius:var(--radius-lg);padding:20px 16px;text-align:center;border:2px solid transparent}
.aqi-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:6px}
.aqi-value{font-size:2.8rem;font-weight:800;line-height:1;margin-bottom:4px}
.aqi-level{font-size:1rem;font-weight:600;margin-bottom:8px}
.aqi-sub{font-size:.72rem;color:#94a3b8}
.aqi-good{background:#f0fdf4;border-color:#86efac}.aqi-good .aqi-value,.aqi-good .aqi-level{color:#16a34a}
.aqi-moderate{background:#fefce8;border-color:#fde047}.aqi-moderate .aqi-value,.aqi-moderate .aqi-level{color:#ca8a04}
.aqi-sensitive{background:#fff7ed;border-color:#fdba74}.aqi-sensitive .aqi-value,.aqi-sensitive .aqi-level{color:#ea580c}
.aqi-unhealthy{background:#fef2f2;border-color:#fca5a5}.aqi-unhealthy .aqi-value,.aqi-unhealthy .aqi-level{color:#dc2626}
.aqi-very_unhealthy{background:#f5f3ff;border-color:#c4b5fd}.aqi-very_unhealthy .aqi-value,.aqi-very_unhealthy .aqi-level{color:#7c3aed}
.aqi-hazardous{background:#fff1f2;border-color:#fda4af}.aqi-hazardous .aqi-value,.aqi-hazardous .aqi-level{color:#9f1239}
/* Pollen season */
.pollen-season-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:12px}
.pollen-season-list{display:flex;flex-direction:column;gap:8px}
.pollen-season-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:var(--radius-lg);border:1.5px solid transparent}
.pollen-season-icon{font-size:1.3rem;flex-shrink:0}
.pollen-season-name{flex:1;font-size:.9rem;font-weight:500;color:#334155}
.pollen-season-level{font-size:.82rem;font-weight:700}
.pollen-low{background:#f0fdf4;border-color:#86efac}.pollen-low .pollen-season-level{color:#16a34a}
.pollen-moderate{background:#fefce8;border-color:#fde047}.pollen-moderate .pollen-season-level{color:#ca8a04}
.pollen-high{background:#fff7ed;border-color:#fdba74}.pollen-high .pollen-season-level{color:#ea580c}
.pollen-very_high{background:#fef2f2;border-color:#fca5a5}.pollen-very_high .pollen-season-level{color:#dc2626}
.pollen-note{font-size:.8rem;color:#94a3b8;margin-top:16px;line-height:1.5}

/* ===== FEATURED CITIES ===== */
.featured-cities{margin-bottom:40px}
.featured-group{margin-bottom:28px}
.featured-group-title{font-size:1.1rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.06em;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid var(--primary-light)}
.featured-list{display:flex;flex-wrap:wrap;gap:10px}
.featured-city{display:inline-block;padding:8px 16px;background:#fff;border:1.5px solid var(--primary-light);border-radius:var(--radius-xl);color:var(--primary);font-weight:500;font-size:.95rem;text-decoration:none;transition:all .18s}
.featured-city:hover{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-1px)}

/* ===== 15-DAY DAILY FORECAST (4-view switcher) ===== */
.daily-forecast{margin-top:8px;padding:0;background:transparent;border-radius:0;margin-bottom:24px;border:none;box-shadow:none;overflow:visible}
.daily-forecast>.hourly-header{padding:0 0 14px;margin-bottom:0;border-bottom:2px solid var(--primary-light);border-radius:0}
.daily-forecast>.hourly-header h4{color:#1e293b;font-size:1.2rem;font-weight:700;letter-spacing:-0.01em}
.daily-forecast .hv-btn{background:#f1f5f9;border-color:#e2e8f0;color:#64748b}
.daily-forecast .hv-btn.active,.daily-forecast .hv-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.daily-forecast>.daily-view{padding:16px 0 0}
@media(min-width:768px){.daily-forecast>.daily-view{padding:20px 0 0}}

/* View toggle (reuses .hourly-header / .hv-btn from hourly) */
.daily-view{display:none}
.daily-forecast[data-active-view="strip"] .daily-view-strip,
.daily-forecast[data-active-view="chart"] .daily-view-chart,
.daily-forecast[data-active-view="table"] .daily-view-table,
.daily-forecast[data-active-view="bars"]  .daily-view-bars{display:block}

/* --- Chart view (full-width SVG) --- */
.daily-chart-wrap{width:100%}
.daily-chart-wrap svg{display:block;width:100%;height:auto}

/* --- Strip view --- */
.daily-strip{display:flex;overflow-x:auto;gap:6px;padding-bottom:6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.daily-strip::-webkit-scrollbar{height:4px}
.daily-strip::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}
.daily-item{flex:0 0 68px;text-align:center;padding:10px 4px 8px;background:#f8fafc;border-radius:var(--radius-md);border:1px solid #e2e8f0;transition:all .2s;position:relative;cursor:default}
.daily-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary-light)}
.daily-item::after{content:attr(data-desc);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#0d2847;color:#fff;font-size:.72rem;padding:4px 10px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;z-index:10}
.daily-item:hover::after,.daily-item:focus::after{opacity:1}
.daily-today{background:#eff6ff;border-color:#93c5fd;font-weight:600}
.daily-date{font-size:.72rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}
.daily-date-num{font-size:.7rem;color:#94a3b8;margin-bottom:4px}
.daily-icon{font-size:1.4rem;line-height:1;margin:2px 0}
.daily-temps{display:flex;justify-content:center;gap:4px;margin:4px 0 2px}
.daily-max{font-size:.85rem;font-weight:700;color:#1e293b}
.daily-min{font-size:.85rem;color:#94a3b8}
.daily-pop{font-size:.68rem;color:#3b82f6;min-height:1em;margin-bottom:4px}
.daily-health{display:flex;flex-direction:column;align-items:center;gap:2px}
.daily-health-bar{width:32px;height:4px;border-radius:2px;background:#e2e8f0;position:relative;overflow:hidden}
.daily-health-bar::after{content:'';position:absolute;left:0;top:0;height:100%;width:var(--h-pct);background:var(--h-color);border-radius:2px}
.daily-health-val{font-size:.62rem;color:#64748b}

/* --- Table view --- */
.daily-table .dt-date{font-size:12px;font-weight:600;color:#334155;white-space:nowrap}
.daily-table .dt-date-sub{font-size:10px;font-weight:400;color:#94a3b8}
.daily-table .dt-temps{white-space:nowrap}
.daily-table .dt-today{background:#eff6ff}
.dt-health-badge{display:inline-block;padding:2px 7px;border-radius:10px;font-size:11px;font-weight:600;color:#fff;background:#94a3b8}
.level-low .dt-health-badge,.dt-health-badge.level-low{background:var(--meteo-low,#22c55e)}
.level-moderate .dt-health-badge,.dt-health-badge.level-moderate{background:var(--meteo-moderate,#eab308)}
.level-high .dt-health-badge,.dt-health-badge.level-high{background:var(--meteo-high,#f97316)}
.level-very_high .dt-health-badge,.dt-health-badge.level-very_high,.level-very-high .dt-health-badge,.dt-health-badge.level-very-high{background:var(--meteo-very-high,#ef4444)}

/* --- Bars view (range bars) --- */
.dbars-row{display:grid;grid-template-columns:56px 28px 38px 1fr 38px 48px 42px;align-items:center;gap:6px;padding:6px 0;border-bottom:1px solid #f1f5f9}
.dbars-today{background:#eff6ff;border-radius:6px;padding:6px 4px}
.dbars-date{font-size:12px;font-weight:600;color:#334155;white-space:nowrap;line-height:1.3}
.dbars-sub{font-size:10px;font-weight:400;color:#94a3b8}
.dbars-icon{text-align:center;font-size:18px}
.dbars-lo{font-size:12px;color:#64748b;text-align:right;white-space:nowrap}
.dbars-track{height:10px;background:#f1f5f9;border-radius:5px;overflow:hidden;position:relative}
.dbars-fill{height:100%;background:linear-gradient(to right,#60a5fa,#f59e0b);border-radius:5px;min-width:4px;position:absolute;top:0}
.dbars-hi{font-size:12px;font-weight:700;color:#1e293b;white-space:nowrap}
.dbars-pop{font-size:11px;color:#3b82f6;white-space:nowrap}
.dbars-health{text-align:center}
@media(max-width:600px){.dbars-row{grid-template-columns:46px 24px 32px 1fr 32px 38px 36px;gap:4px;font-size:11px}}

/* ===== NWS HAZARDS WIDGET ===== */
.nws-hazards{background:var(--card-bg);border-radius:var(--radius-xl);padding:24px;margin-bottom:24px;border:1.5px solid #e2e8f0;box-shadow:var(--shadow-sm)}
.nws-hazards-title{font-size:1.05rem;font-weight:700;color:#334155;margin-bottom:18px}
.nws-hazards-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
@media(max-width:900px){.nws-hazards-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.nws-hazards-grid{grid-template-columns:repeat(2,1fr)}}
.nws-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border-radius:var(--radius-lg);border:1.5px solid transparent;text-align:center}
.nws-icon{font-size:1.5rem;line-height:1}
.nws-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;line-height:1.2}
.nws-value{font-size:.88rem;font-weight:700;color:#1e293b}
/* Severity variants */
.nws-ok{background:#f8fafc;border-color:#e2e8f0}.nws-ok .nws-value{color:#64748b}
.nws-low{background:#f0fdf4;border-color:#86efac}.nws-low .nws-value{color:#16a34a}
.nws-moderate{background:#fefce8;border-color:#fde047}.nws-moderate .nws-value{color:#ca8a04}
.nws-high{background:#fff7ed;border-color:#fdba74}.nws-high .nws-value{color:#ea580c}
.nws-extreme{background:#fef2f2;border-color:#fca5a5}.nws-extreme .nws-value{color:#dc2626}
.nws-source{font-size:.75rem;color:#94a3b8;margin-top:14px;text-align:right}

/* FAQ Section */
.faq-section{margin:32px 0;padding:28px 32px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}
.faq-section>h2{font-size:1.25rem;font-weight:700;color:#1e293b;margin:0 0 20px}
.faq-list{display:flex;flex-direction:column;gap:8px}
.faq-item{border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden}
.faq-item[open]{border-color:#bfdbfe}
.faq-question{padding:14px 18px;font-size:.95rem;font-weight:600;color:#1e293b;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;user-select:none}
.faq-question::-webkit-details-marker{display:none}
.faq-question::after{content:'+';font-size:1.2rem;color:#3b82f6;transition:transform .2s}
.faq-item[open] .faq-question::after{content:'−'}
.faq-answer{padding:0 18px 16px;font-size:.9rem;color:#475569;line-height:1.6;margin:0}
@media(max-width:600px){.faq-section{padding:20px 16px}}

/* Nearby Cities */
.nearby-cities{margin:28px 0;padding:20px 24px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}
.nearby-title{font-size:1rem;font-weight:600;color:#475569;margin:0 0 14px}
.nearby-list{display:flex;flex-wrap:wrap;gap:8px}
.nearby-city{display:inline-flex;align-items:center;padding:6px 14px;background:#fff;border:1px solid #dde4ef;border-radius:20px;font-size:.875rem;color:#1e40af;text-decoration:none;transition:background .15s,border-color .15s}
.nearby-city:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}

/* ===== 1. STICKY SECTION NAVIGATION ===== */
.section-nav{position:sticky;top:52px;z-index:90;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--radius-full);padding:5px;margin-bottom:20px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;box-shadow:var(--shadow-sm);border:1px solid rgba(32,77,129,.08)}
.section-nav::-webkit-scrollbar{display:none}
.section-nav a{flex:1;text-align:center;padding:8px 16px;border-radius:var(--radius-full);font-size:.82rem;font-weight:600;color:#64748b;text-decoration:none;white-space:nowrap;transition:all .2s}
.section-nav a:hover{background:rgba(32,77,129,.08);color:var(--primary)}
.section-nav a.active{background:var(--primary);color:#fff}
@media(min-width:768px){.section-nav{top:64px}}
@media(max-width:480px){.section-nav a{padding:6px 12px;font-size:.75rem}}

/* ===== 2. SKELETON LOADERS ===== */
.skeleton{background:#e2e8f0;border-radius:var(--radius-md);position:relative;overflow:hidden}
.skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:skeleton-shimmer 1.5s infinite}
@keyframes skeleton-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.skeleton-alert{height:52px;margin-bottom:12px;border-radius:var(--radius-lg)}
.skeleton-hazard-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:24px}
@media(max-width:900px){.skeleton-hazard-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.skeleton-hazard-grid{grid-template-columns:repeat(2,1fr)}}
.skeleton-hazard-item{height:80px;border-radius:var(--radius-lg)}

/* ===== 3. UNIFIED FORECAST CARD STYLES ===== */
.forecast-extended .forecast-card{border:1px solid rgba(32,77,129,.06)}

/* ===== 4. FIX GAUGE LAYOUT ON TABLETS ===== */
@media(min-width:768px) and (max-width:1024px){.gauges-row{flex-wrap:wrap;justify-content:center}}

/* ===== 5. VISUAL SECTION SEPARATORS ===== */
.forecast-extended{margin-bottom:32px}
.daily-forecast{margin-bottom:32px}
.radar-section{margin-top:32px;margin-bottom:32px}
.weather-alerts{margin-bottom:28px}
.nws-hazards{margin-bottom:32px}

/* ===== 6. FOCUS-VISIBLE STYLES ===== */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}
.hv-btn:focus-visible,.unit-btn:focus-visible{outline-offset:1px}
.forecast-links a:focus-visible,.btn-link:focus-visible{outline-offset:3px}

/* ===== 7. TOOLTIP POSITIONING (above when near bottom) ===== */
.has-tooltip.tooltip-above::after{top:auto;bottom:calc(100% + 12px)}
.has-tooltip.tooltip-above::before{top:auto;bottom:calc(100% + 4px);border-bottom-color:transparent;border-top-color:#1e293b}

/* ===== 8. BREADCRUMBS SCROLLABLE ON MOBILE ===== */
@media(max-width:600px){.breadcrumbs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;white-space:nowrap}.breadcrumbs::-webkit-scrollbar{display:none}.breadcrumbs a,.breadcrumbs span{flex-shrink:0}}

/* ===== 9. ICON SIZE UTILITIES ===== */
.icon-sm{font-size:1.2rem;line-height:1}
.icon-md{font-size:1.6rem;line-height:1}
.icon-lg{font-size:2.4rem;line-height:1}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:rgba(15,23,42,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:16px;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
.cookie-banner-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.cookie-banner-text{flex:1;min-width:240px;font-size:.85rem;color:rgba(255,255,255,.85);line-height:1.5}
.cookie-banner-text a{color:#93c5fd;text-decoration:underline}
.cookie-banner-actions{display:flex;gap:8px;flex-shrink:0}
.cookie-btn{padding:8px 20px;border-radius:var(--radius-full);font-size:.85rem;font-weight:600;border:none;cursor:pointer;transition:all .2s;font-family:inherit}
.cookie-btn-accept{background:#fff;color:#0f172a}
.cookie-btn-accept:hover{background:#e2e8f0}
.cookie-btn-reject{background:transparent;color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.3)}
.cookie-btn-reject:hover{background:rgba(255,255,255,.1);color:#fff}
@media(max-width:600px){.cookie-banner-inner{flex-direction:column;text-align:center}.cookie-banner-actions{width:100%;justify-content:center}}

/* ===== 10. DARK MODE ===== */
@media(prefers-color-scheme:dark){
:root{--primary:#6ba3d6;--primary-dark:#8bbde8;--primary-light:#3a7bc8;--gradient-day:linear-gradient(135deg,#1a3a5c 0%,#2a5a8c 100%);--gradient-card:linear-gradient(135deg,rgba(30,41,59,.95) 0%,rgba(30,41,59,.85) 100%);--shadow-sm:0 1px 2px rgba(0,0,0,.2);--shadow-md:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -2px rgba(0,0,0,.2);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.3),0 4px 6px -4px rgba(0,0,0,.2);--shadow-xl:0 20px 25px -5px rgba(0,0,0,.3),0 8px 10px -6px rgba(0,0,0,.2);--card-bg:#1e293b}
body{color:#e2e8f0;background:linear-gradient(180deg,#0f172a 0%,#1e293b 100%)}
a{color:var(--primary)}a:hover{color:var(--primary-dark)}
header{background:rgba(15,23,42,.85);border-bottom-color:rgba(255,255,255,.06)}
header .logo{background:linear-gradient(135deg,#6ba3d6,#93c5fd);-webkit-background-clip:text;background-clip:text}
#citySearch{background:#1e293b;color:#e2e8f0;border-color:transparent}
#citySearch:focus{background:#0f172a;border-color:var(--primary)}
.search-results{background:#1e293b;border-color:rgba(255,255,255,.08)}
.search-result-item{border-bottom-color:#334155}
.search-result-item:hover{background:#334155}
.search-city-name{color:#e2e8f0}
.search-result-country,.search-city-type{color:#94a3b8}
.geo-btn{background:#334155;color:#e2e8f0}.geo-btn:hover{background:#475569}
.breadcrumbs{background:rgba(30,41,59,.6);color:#94a3b8}
.breadcrumbs a{color:#94a3b8}.breadcrumbs a:hover{color:var(--primary)}
.breadcrumbs span{color:#e2e8f0}
.container>h1,h1,h2,h3{color:#e2e8f0}
.forecast-card{background:linear-gradient(135deg,rgba(30,41,59,.95),rgba(30,41,59,.85));border-color:rgba(255,255,255,.06)}
.temp-current,.temp-max{color:#e2e8f0}
.temp-min{color:#94a3b8}
.temp-separator{color:#475569}
.weather-description{color:#94a3b8}
.detail{background:#1e293b;border-color:transparent;color:#e2e8f0}
.detail:hover{background:#334155;border-color:#475569}
.detail span:last-child{color:#cbd5e1}
.hourly-forecast{background:#1e293b;border-top-color:#334155}
.hourly-header h4{color:#e2e8f0}
.hv-btn{background:#334155;border-color:#475569;color:#94a3b8}
.hour-item{background:#0f172a;border-color:#334155;color:#e2e8f0}
.hour-item:hover{border-color:var(--primary-light)}
.hour-item::after{background:#0f172a}
.hour-time{color:#94a3b8}
.hour-temp{color:#e2e8f0}
.hourly-table tr:nth-child(even){background:#1e293b}
.hourly-table tr:hover{background:#334155}
.hourly-table td{border-bottom-color:#334155}
.ht-time{color:#94a3b8}.ht-desc{color:#cbd5e1}.ht-temp{color:#e2e8f0}
.bars-row{border-bottom-color:#334155}
.bars-time{color:#94a3b8}.bars-temp{color:#e2e8f0}
.bars-track{background:#334155}
.daily-forecast{background:transparent}
.daily-forecast>.hourly-header{border-bottom-color:#334155}
.daily-forecast>.hourly-header h4{color:#e2e8f0}
.daily-forecast .hv-btn{background:#334155;border-color:#475569;color:#94a3b8}
.daily-forecast .hv-btn.active,.daily-forecast .hv-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.daily-item{background:#0f172a;border-color:#334155}
.daily-item:hover{border-color:var(--primary-light)}
.daily-today{background:#1e3a5f;border-color:#3b82f6}
.daily-date{color:#94a3b8}
.daily-max{color:#e2e8f0}
.daily-min{color:#64748b}
.dbars-row{border-bottom-color:#334155}
.dbars-date{color:#cbd5e1}
.dbars-today{background:#1e3a5f}
.dbars-lo{color:#94a3b8}.dbars-hi{color:#e2e8f0}
.dbars-track{background:#334155}
.daily-table .dt-today{background:#1e3a5f}
.daily-table .dt-date{color:#cbd5e1}
.forecast-5day{background:#1e293b;color:#e2e8f0}
.forecast-5day h2{color:#e2e8f0}
.forecast-day{background:linear-gradient(180deg,#1e293b,#0f172a);border-color:transparent}
.forecast-day:hover{background:linear-gradient(180deg,#334155,#1e293b);border-color:#475569}
.day-name{color:#94a3b8}
.forecast-day .temp{color:#e2e8f0}
.forecast-links a{background:#1e293b;color:#cbd5e1;border-color:#334155}
.forecast-links a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.back-link a{background:#1e293b;color:#94a3b8;border-color:#334155}
.back-link a:hover{color:var(--primary);border-color:var(--primary)}
.radar-section{background:#1e293b}
.radar-section h2,.radar-section h3{color:#e2e8f0}
.radar-time-lbl{color:#cbd5e1}
.about-section{background:#1e293b;color:#cbd5e1}
.about-section h2,.about-section strong{color:#e2e8f0}
.about-section h3{color:#e2e8f0}
.about-section h4{color:#94a3b8}
.about-section .references{border-top-color:#334155}
.faq-section{background:#1e293b;border-color:#334155}
.faq-section>h2{color:#e2e8f0}
.faq-item{border-color:#334155;background:#0f172a}
.faq-item[open]{border-color:#3b82f6}
.faq-question{color:#e2e8f0}
.faq-answer{color:#94a3b8}
.nearby-cities{background:#1e293b;border-color:#334155}
.nearby-title{color:#94a3b8}
.nearby-city{background:#0f172a;border-color:#334155;color:#6ba3d6}
.nearby-city:hover{background:#1e3a5f;border-color:#3b82f6;color:#93c5fd}
.nws-hazards{background:#1e293b;border-color:#334155}
.nws-hazards-title{color:#e2e8f0}
.nws-ok{background:#0f172a;border-color:#334155}.nws-ok .nws-value{color:#94a3b8}
.nws-label{color:#94a3b8}
.nws-source{color:#64748b}
footer{background:linear-gradient(180deg,#0f172a,#020617)}
.has-tooltip::after{background:#334155}
.has-tooltip::before{border-bottom-color:#334155}
.has-tooltip.tooltip-above::before{border-top-color:#334155;border-bottom-color:transparent}
.units-dropdown{background:#1e293b;border-color:rgba(255,255,255,.08)}
.units-group+.units-group{border-top-color:#334155}
.units-label{color:#94a3b8}
.unit-btn{background:#0f172a;border-color:#334155;color:#cbd5e1}
.unit-btn:hover{background:#334155;color:#e2e8f0}
.lang-dropdown{background:#1e293b;border-color:rgba(255,255,255,.08)}
.lang-option{color:#e2e8f0}
.lang-option:hover{background:#334155}
.health-inline{color:#e2e8f0}
.health-inline .health-title{color:#e2e8f0}
.health-inline .health-gauge-circle::before{background:#1e293b}
.health-inline .health-gauge-value{color:#e2e8f0}
.health-inline .health-gauge-label{color:#94a3b8}
.health-sub{background:rgba(255,255,255,.08);color:#cbd5e1}
.aqi-inline{color:#e2e8f0}
.aqi-inline-title{color:#e2e8f0}
.aqi-gauge-circle::before{background:#1e293b}
.aqi-gauge-value{color:#e2e8f0}
.aqi-gauge-label{color:#94a3b8}
.skeleton{background:#334155}
.skeleton::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent)}
.section-nav{background:rgba(15,23,42,.85);border-color:rgba(255,255,255,.06)}
.section-nav a{color:#94a3b8}
.section-nav a:hover{background:rgba(255,255,255,.06);color:#e2e8f0}
.featured-group-title{color:#94a3b8;border-bottom-color:#334155}
.featured-city{background:#0f172a;border-color:#334155;color:#6ba3d6}
.featured-city:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.country-item{background:#1e293b}.country-item h3{color:#e2e8f0}
.cities-list a{background:#0f172a;color:#cbd5e1}
.cities-list a:hover{background:var(--primary);color:#fff}
.region-card{background:#1e293b}.region-link h3{color:#e2e8f0}
.region-type{background:linear-gradient(135deg,#1e3a5f,#2a5a8c);color:#93c5fd}
.region-stats{color:#94a3b8}
.city-card{background:#1e293b}
.city-name{color:#e2e8f0}
.city-type{color:#94a3b8}
.load-region-cities{background:#0f172a;color:#cbd5e1}
.load-region-cities:hover{background:#334155}
.pollen-widget{background:#1e293b}.pollen-title{color:#e2e8f0}
.pollen-season-name{color:#cbd5e1}
::-webkit-scrollbar-track{background:#1e293b}
::-webkit-scrollbar-thumb{background:#475569}
::-webkit-scrollbar-thumb:hover{background:#64748b}
.feels-like{color:#94a3b8}
.feels-like strong{color:#e2e8f0}
.btn-link-secondary{background:#1e293b;color:var(--primary);border-color:var(--primary)}
.catalog-link .btn-link{box-shadow:var(--shadow-md)}
.letter-heading{background:linear-gradient(135deg,#6ba3d6,#93c5fd);-webkit-background-clip:text;background-clip:text;border-bottom-color:#334155}
.error-page h1{background:linear-gradient(135deg,#6ba3d6,#93c5fd);-webkit-background-clip:text;background-clip:text}
.error-page p{color:#94a3b8}
}
