/* ─────────────────────────────────────────────────────────────────────────────
   Malhar Weather Dashboard — Style Sheet v18
   Design: Liquid Glass · Colorful Hero · Animated Icons · Dark
───────────────────────────────────────────────────────────────────────────── */

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }

body {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

img { display: block; }

/* ── Background ───────────────────────────────────────────────────────────── */
#app {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* ── Live animated sky background ─────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* default sky until JS kicks in */
  background: linear-gradient(180deg, #0d47a1 0%, #1976d2 50%, #42a5f5 100%);
  transition: background 2.5s ease;
}

/* Canvas for rain / snow / stars */
#wx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ── Sun / Moon glow ──────────────────────────────────────────────────────── */
#bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 1;
}
.glow-sun {
  width: 520px; height: 520px;
  top: -140px; right: 10%;
  background: radial-gradient(circle,
    rgba(255,210,60,0.50) 0%,
    rgba(255,160,20,0.22) 35%,
    rgba(255,100,0,0.08)  60%,
    transparent 75%);
  animation: glow-pulse 7s ease-in-out infinite;
}
.glow-sun-dim {
  width: 420px; height: 420px;
  top: -100px; right: 14%;
  background: radial-gradient(circle,
    rgba(255,210,60,0.28) 0%,
    rgba(255,160,20,0.10) 45%,
    transparent 70%);
  animation: glow-pulse 9s ease-in-out infinite;
}
.glow-moon {
  width: 340px; height: 340px;
  top: -60px; right: 16%;
  background: radial-gradient(circle,
    rgba(200,220,255,0.30) 0%,
    rgba(160,190,255,0.12) 50%,
    transparent 72%);
  animation: glow-pulse 10s ease-in-out infinite;
}
/* City light reflecting off overcast clouds (Bangalore glow) */
.glow-city {
  width: 100%; height: 45%;
  bottom: 0; left: 0;
  border-radius: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%,
    rgba(255,145,60,0.22) 0%,
    rgba(255,110,30,0.10) 40%,
    rgba(200,80,20,0.04)  65%,
    transparent           85%);
  animation: city-breathe 8s ease-in-out infinite;
}
.glow-city-dim {
  width: 100%; height: 40%;
  bottom: 0; left: 0;
  border-radius: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 100%,
    rgba(255,130,50,0.13) 0%,
    rgba(255,90,20,0.06)  45%,
    transparent           70%);
  animation: city-breathe 10s ease-in-out infinite;
}
@keyframes city-breathe {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1.00; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.80; transform: scale(1.06); }
}

/* ── Drifting cloud blobs ─────────────────────────────────────────────────── */
#bg-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 1.8s ease;
}
#bg-clouds .bg-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

/* Light day clouds */
.clouds-light-day .bc-1 { background: rgba(255,255,255,0.18); width: 75%; height: 38%; top: -16%; left: -10%; animation: drift-a 40s ease-in-out infinite; }
.clouds-light-day .bc-2 { background: rgba(220,232,248,0.13); width: 60%; height: 32%; top:   4%; right:-12%; animation: drift-b 54s ease-in-out infinite; }
.clouds-light-day .bc-3 { background: rgba(200,218,240,0.09); width: 50%; height: 28%; top:  22%; left: 22%; animation: drift-c 68s ease-in-out infinite; }
.clouds-light-day .bc-4 { background: rgba(180,205,230,0.07); width: 40%; height: 24%; top:  35%; right: 5%; animation: drift-a 80s ease-in-out infinite reverse; }

/* Heavy day clouds */
.clouds-heavy-day .bc-1 { background: rgba(90,100,110,0.70); width: 100%; height: 55%; top: -25%; left: -8%;  animation: drift-a 50s ease-in-out infinite; }
.clouds-heavy-day .bc-2 { background: rgba(70, 82, 90,0.60); width:  80%; height: 45%; top:  5%;  right:-15%; animation: drift-b 65s ease-in-out infinite; }
.clouds-heavy-day .bc-3 { background: rgba(55, 65, 72,0.50); width:  65%; height: 40%; top:  18%; left: 10%;  animation: drift-c 80s ease-in-out infinite; }
.clouds-heavy-day .bc-4 { background: rgba(40, 52, 60,0.40); width:  50%; height: 35%; top:  30%; right: 8%;  animation: drift-a 95s ease-in-out infinite reverse; }

/* Light night clouds */
.clouds-light-night .bc-1 { background: rgba(30,45,70,0.60); width: 70%; height: 36%; top: -14%; left: -8%;  animation: drift-a 55s ease-in-out infinite; }
.clouds-light-night .bc-2 { background: rgba(20,35,58,0.45); width: 55%; height: 30%; top:   6%; right:-10%; animation: drift-b 70s ease-in-out infinite; }
.clouds-light-night .bc-3 { background: rgba(15,28,48,0.35); width: 45%; height: 26%; top:  20%; left: 18%;  animation: drift-c 85s ease-in-out infinite; }
.clouds-light-night .bc-4 { opacity: 0; }

/* Heavy night clouds — visibly lighter purple-blue blobs against dark navy bg */
.clouds-heavy-night .bc-1 { background: rgba(40,52,78,0.80); width: 110%; height: 60%; top: -28%; left: -10%; animation: drift-a 60s ease-in-out infinite; }
.clouds-heavy-night .bc-2 { background: rgba(32,44,68,0.68); width:  85%; height: 50%; top:   8%; right:-18%; animation: drift-b 78s ease-in-out infinite; }
.clouds-heavy-night .bc-3 { background: rgba(26,36,58,0.55); width:  70%; height: 42%; top:  22%; left:  8%;  animation: drift-c 95s ease-in-out infinite; }
.clouds-heavy-night .bc-4 { background: rgba(20,30,50,0.42); width:  55%; height: 36%; top:  35%; right: 5%;  animation: drift-a 110s ease-in-out infinite reverse; }

/* Rain clouds */
.clouds-rain-cloud .bc-1 { background: rgba(20,30,45,0.85); width: 110%; height: 58%; top: -22%; left: -10%; animation: drift-a 45s ease-in-out infinite; }
.clouds-rain-cloud .bc-2 { background: rgba(16,24,38,0.72); width:  88%; height: 48%; top:   6%; right:-16%; animation: drift-b 60s ease-in-out infinite; }
.clouds-rain-cloud .bc-3 { background: rgba(12,20,32,0.58); width:  72%; height: 42%; top:  20%; left:  6%;  animation: drift-c 75s ease-in-out infinite; }
.clouds-rain-cloud .bc-4 { background: rgba( 9,16,28,0.44); width:  55%; height: 36%; top:  32%; right: 4%;  animation: drift-a 90s ease-in-out infinite reverse; }

/* Storm clouds */
.clouds-storm-cloud .bc-1 { background: rgba(8,8,14,0.95); width: 120%; height: 65%; top: -30%; left: -12%; animation: drift-a 38s ease-in-out infinite; }
.clouds-storm-cloud .bc-2 { background: rgba(6,6,12,0.88); width:  95%; height: 55%; top:   4%; right:-20%; animation: drift-b 52s ease-in-out infinite; }
.clouds-storm-cloud .bc-3 { background: rgba(5,5,10,0.75); width:  80%; height: 48%; top:  18%; left:  4%;  animation: drift-c 66s ease-in-out infinite; }
.clouds-storm-cloud .bc-4 { background: rgba(4,4, 9,0.62); width:  60%; height: 40%; top:  30%; right: 3%;  animation: drift-a 80s ease-in-out infinite reverse; }

/* Fog layers */
.clouds-fog-layer .bc-1 { background: rgba(180,196,204,0.45); width: 130%; height: 50%; top: -10%; left: -15%; filter: blur(90px); animation: drift-a 30s ease-in-out infinite; }
.clouds-fog-layer .bc-2 { background: rgba(165,182,190,0.40); width: 110%; height: 45%; top:  15%; right:-20%; filter: blur(90px); animation: drift-b 42s ease-in-out infinite; }
.clouds-fog-layer .bc-3 { background: rgba(150,168,176,0.35); width:  90%; height: 40%; top:  35%; left: -5%;  filter: blur(90px); animation: drift-c 54s ease-in-out infinite; }
.clouds-fog-layer .bc-4 { background: rgba(200,212,218,0.28); width:  75%; height: 35%; top:  55%; right: 0%;  filter: blur(90px); animation: drift-a 66s ease-in-out infinite reverse; }

/* Snow clouds */
.clouds-snow-cloud .bc-1 { background: rgba(80,96,108,0.70); width: 100%; height: 52%; top: -20%; left: -8%;  animation: drift-a 52s ease-in-out infinite; }
.clouds-snow-cloud .bc-2 { background: rgba(65,80, 92,0.58); width:  82%; height: 44%; top:   6%; right:-14%; animation: drift-b 68s ease-in-out infinite; }
.clouds-snow-cloud .bc-3 { background: rgba(50,65, 76,0.46); width:  65%; height: 38%; top:  20%; left:  8%;  animation: drift-c 84s ease-in-out infinite; }
.clouds-snow-cloud .bc-4 { background: rgba(38,52, 62,0.35); width:  48%; height: 32%; top:  32%; right: 6%;  animation: drift-a 100s ease-in-out infinite reverse; }

@keyframes drift-a {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(3%,2%); }
  66%     { transform: translate(-2%,1%); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(-4%,2.5%); }
  66%     { transform: translate(2.5%,-1.5%); }
}
@keyframes drift-c {
  0%,100% { transform: translate(0,0); }
  40%     { transform: translate(2.5%,-2%); }
  70%     { transform: translate(-3%,1%); }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.52) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* ── Main scroll container ────────────────────────────────────────────────── */
.main {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Liquid Glass Card ────────────────────────────────────────────────────── */
.glass-card {
  background: rgba(8, 12, 26, 0.55);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.40);
  transition:
    transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.30s ease,
    border-color 0.30s ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 8px;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-icon { width: 32px; height: 32px; opacity: 0.9; flex-shrink: 0; }

.loc-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.loc-sub {
  font-size: 10px;
  opacity: 0.65;
  letter-spacing: 0.5px;
  margin-top: 2px;
  text-transform: uppercase;
}

.datetime { text-align: right; flex-shrink: 0; }
.day-name  { font-size: 16px; font-weight: 500; opacity: 0.9; }
.time-display { font-size: 13px; opacity: 0.60; margin-top: 2px; letter-spacing: 0.5px; }

/* ── Combined Weather Main Card ───────────────────────────────────────────── */
.weather-main-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  /* Colourful gradient over the dark glass base */
  background:
    linear-gradient(135deg,
      rgba(255, 130, 40, 0.20) 0%,
      rgba(120, 60, 220, 0.10) 55%,
      rgba(40, 160, 255, 0.16) 100%),
    rgba(8, 12, 26, 0.55);
  border-color: rgba(255, 150, 60, 0.20);
}

/* Warm orb — top-right */
.weather-main-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 60, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Cool orb — bottom-left */
.weather-main-card::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 160, 255, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* ── Weather Hero (inside combined card) ──────────────────────────────────── */
.weather-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
}

.hero-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0 18px;
  position: relative;
  z-index: 1;
}

/* ── Stats Strip (inside combined card) ───────────────────────────────────── */
.stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 16px 20px;
  gap: 8px;
}

/* ── Animated stat icons ──────────────────────────────────────────────────── */
.stat-anim-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-anim-icon svg,
.stat-anim-icon lottie-player { width: 100%; height: 100%; display: block; overflow: visible; }

/* Humidity drop bounce */
@keyframes drop-fall {
  0%, 100% { transform: translateY(0)    scaleY(1);    }
  40%       { transform: translateY(-3px) scaleY(1.05); }
  65%       { transform: translateY(1px)  scaleY(0.97); }
}
.drop-body  { animation: drop-fall   2.6s ease-in-out infinite; transform-origin: 12px 18px; }

@keyframes shine-pulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.72; }
}
.drop-shine { animation: shine-pulse 2.6s ease-in-out infinite; }

/* Pressure needle sweep */
@keyframes gauge-sweep {
  0%   { transform: rotate(-45deg); }
  50%  { transform: rotate(45deg);  }
  100% { transform: rotate(-45deg); }
}
.pres-needle { animation: gauge-sweep 3.2s ease-in-out infinite; transform-origin: 12px 13px; }

/* Wind line flow */
@keyframes wind-flow {
  0%, 100% { opacity: 1;    transform: translateX(0);   }
  50%       { opacity: 0.55; transform: translateX(3px); }
}
.wind-l1 { animation: wind-flow 1.8s ease-in-out infinite; }
.wind-l2 { animation: wind-flow 1.8s ease-in-out infinite 0.3s; }
.wind-l3 { animation: wind-flow 1.8s ease-in-out infinite 0.6s; }

.hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.condition-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;               /* lottie-player is a block web component */
  filter: drop-shadow(0 6px 24px rgba(255, 180, 60, 0.45));
  transition: opacity 0.5s, filter 0.5s;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-7px); }
}

.condition-desc {
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
  letter-spacing: 0.2px;
  font-weight: 500;
}

.hero-right {
  position: relative;
  z-index: 1;
  text-align: right;
}

.temp-display {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  line-height: 1;
}

.temp-value {
  font-size: 88px;
  font-weight: 200;
  letter-spacing: -4px;
  transition: opacity 0.4s;
  background: linear-gradient(160deg, #fff 40%, rgba(255,200,120,0.90) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temp-unit {
  font-size: 36px;
  font-weight: 300;
  margin-top: 8px;
  opacity: 0.75;
}

.feels-like {
  font-size: 14px;
  opacity: 0.65;
  margin-top: 4px;
  text-align: right;
}

.temp-range {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}
.range-item.high { color: #ff9f43; }
.range-item.low  { color: #54a0ff; }

/* ── Stats Strip ──────────────────────────────────────────────────────────── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 16px;
  gap: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.stat-icon {
  width: 18px;
  height: 18px;
  opacity: 0.70;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.stats-strip:hover .stat-icon { opacity: 0.90; }

.stat-label {
  font-size: 10px;
  opacity: 0.60;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.stat-value {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── Headline Banner ──────────────────────────────────────────────────────── */
.headline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: center;
  opacity: 0.90;
  padding: 14px 20px;
  text-transform: uppercase;
}

/* ── Section Cards ────────────────────────────────────────────────────────── */
.section-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.55;
}

.section-sub {
  font-size: 11px;
  opacity: 0.40;
  margin-top: -8px;
}

.about-malhar {
  margin: 0 0 24px;
  padding: 32px 40px;
  background: rgba(8, 12, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 1000px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.stat-widget {
  flex: 1;
  min-width: 200px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-widget:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-svg-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .about-malhar {
    margin: 0 0 20px;
    padding: 24px 30px;
  }
}

@media (max-width: 600px) {
  .about-stats {
    flex-direction: column;
  }
  .stat-widget {
    min-width: 100%;
  }
}

/* ── Forecast Wrapper + Scroll Arrows ────────────────────────────────────── */
.forecast-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.scroll-arrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  z-index: 1;
  padding: 0;
}

.scroll-arrow:hover  { background: rgba(255,255,255,0.22); }
.scroll-arrow:active { background: rgba(255,255,255,0.30); }
.scroll-arrow[disabled],
.scroll-arrow.hidden { opacity: 0; pointer-events: none; }

.forecast-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex: 1;
  scrollbar-width: none;
}
.forecast-scroll::-webkit-scrollbar { display: none; }

.loading-row { font-size: 13px; opacity: 0.5; padding: 10px 0; }

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* even spacing for alignment */
  gap: 0;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 12px 10px;
  min-width: 72px;
  min-height: 116px;             /* uniform card height */
  text-align: center;
  transition: background 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s;
}

.forecast-day:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.forecast-day.today {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
}

/* Fixed heights keep every row in sync across cards */
.fc-day  {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; opacity: 0.80;
  height: 16px; line-height: 16px;
}
.fc-icon {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;               /* needed for lottie-player (web component) */
}
.fc-desc { font-size: 9.5px; opacity: 0.65; line-height: 1.3; display: none; } /* hide on mobile */

.fc-temps {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.fc-max { font-size: 15px; font-weight: 600; }
.fc-min { font-size: 12px; opacity: 0.55; }
.fc-rain { font-size: 10px; opacity: 0.70; color: #a8d8ff; min-height: 14px; }

/* ── Quick View Grid ──────────────────────────────────────────────────────── */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

@media (max-width: 360px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Quick View Tile ──────────────────────────────────────────────────────── */
.qv-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 6px 11px;
  text-align: center;
  min-width: 0;        /* prevent grid blowout */
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.qv-tile:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 32px rgba(0,0,0,0.40);
}

/* Icon wrap — small square with colour */
.qv-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.qv-tile:hover .qv-icon-wrap { transform: scale(1.12); }
.qv-icon-wrap svg { width: 13px; height: 13px; }

/* Per-type icon colours */
[data-type="uv"]          .qv-icon-wrap { background: rgba(255,190,60,0.15);  color: rgb(255,205,70);  }
[data-type="solar"]       .qv-icon-wrap { background: rgba(255,230,80,0.15);  color: rgb(255,232,80);  }
[data-type="rain"]        .qv-icon-wrap { background: rgba(80,170,255,0.15);  color: rgb(100,185,255); }
[data-type="wind"]        .qv-icon-wrap { background: rgba(100,220,200,0.15); color: rgb(100,220,200); }
[data-type="dew"]         .qv-icon-wrap { background: rgba(100,220,120,0.15); color: rgb(100,220,130); }
[data-type="indoor-temp"] .qv-icon-wrap { background: rgba(255,130,80,0.15);  color: rgb(255,150,100); }
[data-type="indoor-hum"]  .qv-icon-wrap { background: rgba(140,160,255,0.15); color: rgb(160,180,255); }
[data-type="last-rain"]   .qv-icon-wrap { background: rgba(190,140,255,0.15); color: rgb(200,160,255); }

/* Per-type tile tint on hover */
[data-type="uv"]:hover          { border-color: rgba(255,190,60,0.35);  }
[data-type="solar"]:hover        { border-color: rgba(255,230,80,0.35);  }
[data-type="rain"]:hover         { border-color: rgba(80,170,255,0.35);  }
[data-type="wind"]:hover         { border-color: rgba(100,220,200,0.35); }
[data-type="dew"]:hover          { border-color: rgba(100,220,120,0.35); }
[data-type="indoor-temp"]:hover  { border-color: rgba(255,130,80,0.35);  }
[data-type="indoor-hum"]:hover   { border-color: rgba(140,160,255,0.35); }
[data-type="last-rain"]:hover    { border-color: rgba(190,140,255,0.35); }

.qv-label {
  font-size: 8.5px;
  opacity: 0.48;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.qv-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ── Icon CSS Animations ──────────────────────────────────────────────────── */

/* UV / Solar: slowly spin the icon */
@keyframes spin-slow {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* Rain: gentle drip bounce */
@keyframes drip {
  0%,  80%, 100% { transform: translateY(0);   opacity: 1;    }
  40%             { transform: translateY(3px); opacity: 0.70; }
}

/* Wind: horizontal sway */
@keyframes sway {
  0%, 100% { transform: translateX(0);    }
  40%       { transform: translateX(-3px); }
  70%       { transform: translateX(2px);  }
}

/* Dew / Indoor Hum: slow pulse scale */
@keyframes breathe {
  0%, 100% { transform: scale(1);    }
  50%       { transform: scale(1.12); }
}

/* Last Rain: soft fade-in/out */
@keyframes blink-soft {
  0%, 100% { opacity: 1;    }
  50%       { opacity: 0.55; }
}

[data-type="uv"]          .qv-icon-wrap svg { animation: spin-slow  10s linear infinite; }
[data-type="solar"]       .qv-icon-wrap svg { animation: spin-slow  14s linear infinite; }
[data-type="rain"]        .qv-icon-wrap svg { animation: drip        2s ease-in-out infinite; }
[data-type="wind"]        .qv-icon-wrap svg { animation: sway        2.5s ease-in-out infinite; }
[data-type="dew"]         .qv-icon-wrap svg { animation: breathe     3s ease-in-out infinite; }
[data-type="indoor-temp"] .qv-icon-wrap svg { animation: breathe     4s ease-in-out infinite; }
[data-type="indoor-hum"]  .qv-icon-wrap svg { animation: breathe     3.5s ease-in-out infinite; }
[data-type="last-rain"]   .qv-icon-wrap svg { animation: blink-soft  2.8s ease-in-out infinite; }

/* Pause animations when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qv-icon-wrap svg { animation: none !important; }
  .condition-icon    { animation: none !important; }
}

/* ── Chart ────────────────────────────────────────────────────────────────── */
.chart-wrap {
  position: relative;
  width: 100%;
  max-height: 200px;
}
.chart-wrap canvas {
  width: 100% !important;
  max-height: 200px;
}

/* ── History charts area ──────────────────────────────────────────────────── */
#history-charts-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Historical Controls ──────────────────────────────────────────────────── */
.hist-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.period-tabs { display: flex; gap: 5px; }

.period-tab {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  color: rgba(255,255,255,0.50);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  min-width: 32px;
  text-align: center;
}

.period-tab:hover {
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.30);
  color: rgba(56,189,248,0.90);
}

.period-tab.active {
  background: rgba(56,189,248,0.18);
  border-color: rgba(56,189,248,0.55);
  color: rgb(56,189,248);
}

.hist-date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.nav-arrow:hover  { background: rgba(255,255,255,0.20); transform: scale(1.12); }
.nav-arrow:active { background: rgba(255,255,255,0.30); }

.hist-date-label-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.hist-stats-label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
.hist-stats-label .high { color: #ff9f43; }
.hist-stats-label .low  { color: #54a0ff; }

.hist-date-label {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.90;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 1px dashed rgba(255,255,255,0.30);
  padding-bottom: 1px;
  min-width: 48px;
  display: inline-block;
  text-align: center;
  transition: opacity 0.2s;
}
.hist-date-label:hover { opacity: 1; }

.metric-tabs { display: flex; gap: 6px; }

.metric-tab {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  color: rgba(255,255,255,0.50);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 13px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.metric-tab[data-metric="temp"]:hover,
.metric-tab[data-metric="temp"].active {
  background: rgba(255,175,80,0.18);
  border-color: rgba(255,175,80,0.55);
  color: rgb(255,190,100);
}

.metric-tab[data-metric="humidity"]:hover,
.metric-tab[data-metric="humidity"].active {
  background: rgba(100,200,255,0.18);
  border-color: rgba(100,200,255,0.55);
  color: rgb(130,210,255);
}

.metric-tab[data-metric="rainfall"]:hover,
.metric-tab[data-metric="rainfall"].active {
  background: rgba(130,100,255,0.18);
  border-color: rgba(130,100,255,0.55);
  color: rgb(160,130,255);
}

/* ── Unavailable Notice ───────────────────────────────────────────────────── */
.sheets-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  text-align: center;
}

.notice-icon { width: 36px; height: 36px; opacity: 0.35; }
.sheets-notice p { font-size: 13px; opacity: 0.60; line-height: 1.5; }
.notice-hint { font-size: 11px !important; opacity: 0.38 !important; font-style: italic; }

/* ── Sun Times ────────────────────────────────────────────────────────────── */
.sun-section { padding: 18px 24px; }

.sun-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.sun-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}

.sun-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.3s ease;
}
.sun-item:hover .sun-icon { transform: scale(1.15) rotate(8deg); }

.sun-label {
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.sun-time { font-size: 20px; font-weight: 300; letter-spacing: -0.5px; }

.sun-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.12); }

/* ── Rainfall Card ────────────────────────────────────────────────────────── */
.rain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rain-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px 14px;
  transition: background 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.rain-item:hover {
  background: rgba(80,170,255,0.10);
  transform: translateY(-2px);
  border-color: rgba(80,170,255,0.25);
}

.rain-label { font-size: 10px; opacity: 0.55; letter-spacing: 0.5px; text-transform: uppercase; }
.rain-value { font-size: 22px; font-weight: 600; letter-spacing: -0.5px; color: #a8d8ff; line-height: 1.1; }
.rain-unit  { font-size: 11px; opacity: 0.50; }

/* ── Wind Detail Card ─────────────────────────────────────────────────────── */
.wind-detail-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.compass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.compass {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.compass:hover { border-color: rgba(255,255,255,0.35); }

.compass-label {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.60;
  letter-spacing: 0.5px;
}
.compass-n { top: 5px;    left: 50%; transform: translateX(-50%); }
.compass-s { bottom: 5px; left: 50%; transform: translateX(-50%); }
.compass-e { right: 5px;  top: 50%;  transform: translateY(-50%); }
.compass-w { left: 5px;   top: 50%;  transform: translateY(-50%); }

.compass-needle {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 3px;
  height: 32px;
  margin-left: -1.5px;
  transform-origin: bottom center;
  transform: rotate(0deg);
  background: linear-gradient(to top, rgba(255,255,255,0.20), #f87171);
  border-radius: 3px 3px 0 0;
  transition: transform 0.8s ease;
}

.wind-dir-label { font-size: 13px; font-weight: 600; opacity: 0.85; letter-spacing: 1px; }

.wind-detail-stats { flex: 1; display: flex; flex-direction: column; gap: 14px; }

.wds-item { display: flex; align-items: baseline; gap: 6px; }

.wds-label {
  font-size: 10px;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  width: 72px;
  flex-shrink: 0;
}

.wds-value { font-size: 20px; font-weight: 600; letter-spacing: -0.5px; }
.wds-unit  { font-size: 11px; opacity: 0.50; }

/* ── AQI Section ──────────────────────────────────────────────────────────── */
.aqi-live-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.aqi-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.aqi-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(0,0,0,0.25);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.aqi-number {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  transition: color 0.6s ease;
}

.aqi-ring-sublabel {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.55;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.aqi-status-label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.80;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 110px;
}

.aqi-details {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aqi-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px;
  transition: all 0.3s ease;
}
.aqi-detail-item:hover { 
  background: rgba(255,255,255,0.08); 
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.15);
}

.aqi-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.aqi-icon {
  width: 28px;
  height: 28px;
}

.aqi-dl {
  font-size: 10px;
  opacity: 0.50;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.aqi-val-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.aqi-dv {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}

.aqi-du {
  font-size: 10px;
  opacity: 0.45;
  font-weight: 500;
}

.aqi-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.07);
  width: fit-content;
  margin-top: 2px;
  transition: color 0.4s, background 0.4s, border-color 0.4s;
}

.aqi-updated {
  font-size: 10px;
  opacity: 0.40;
  margin-top: 10px;
  letter-spacing: 0.2px;
}

/* AQI metric tab accent */
.metric-tab.aqi-mtab:hover,
.metric-tab.aqi-mtab.active {
  background: rgba(249,115,22,0.16);
  border-color: rgba(249,115,22,0.50);
  color: rgb(253,186,116);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  font-size: 11px;
  opacity: 0.30;
  letter-spacing: 0.3px;
  padding: 8px 0 0;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Skeleton / Loading pulse ─────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.loading { animation: pulse 1.8s ease-in-out infinite; }

/* ── Column wrappers ──────────────────────────────────────────────────────── */
.col-left,
.col-right {
  display: contents;
}

/* ── Mobile section ordering ──────────────────────────────────────────────── */
@media (max-width: 899px) {
  .header              { order: 0; }
  .weather-main-card   { order: 1; }  /* hero + stats combined */
  #headline            { order: 2; }
  .sun-section         { order: 3; }
  #quickview-section   { order: 4; }
  #rain-section        { order: 5; }
  #wind-section        { order: 6; }
  #forecast-section    { order: 7; }
  #aqi-section         { order: 8; }
  #today-section       { order: 9; }
  #history-section     { order: 10; }
  .footer              { order: 11; }
}

/* ── Calendar Popup ───────────────────────────────────────────────────────── */
.cal-popup {
  position: fixed;
  z-index: 999;
  background: rgba(10, 14, 30, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 16px;
  width: 252px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.70);
  animation: calIn 0.14s ease;
}

@keyframes calIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-nav button {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.80);
  font-size: 20px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.15s;
}
.cal-nav button:hover { background: rgba(255,255,255,0.18); }

#cal-nav-label { font-size: 13px; font-weight: 600; opacity: 0.90; letter-spacing: 0.2px; }

.cal-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.cal-dh { text-align: center; font-size: 9px; opacity: 0.38; padding: 2px 0; letter-spacing: 0.4px; }

.cal-days   { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.cal-years  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }

.cal-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: background 0.12s, color 0.12s;
}

.cal-days .cal-cell        { aspect-ratio: 1; }
.cal-months .cal-cell,
.cal-years .cal-cell       { padding: 8px 4px; border-radius: 10px; }
.cal-cell.cal-empty        { cursor: default; }

.cal-cell:not(.disabled):not(.cal-empty):hover { background: rgba(56,189,248,0.20); }

.cal-cell.today   { color: rgb(255,190,100); font-weight: 700; }
.cal-cell.selected {
  background: rgba(56,189,248,0.25);
  border: 1px solid rgba(56,189,248,0.55);
  color: rgb(56,189,248);
  font-weight: 700;
}
.cal-cell.disabled { opacity: 0.22; cursor: not-allowed; pointer-events: none; }
.cal-cell.no-data  { opacity: 0.28; cursor: not-allowed; pointer-events: none; }

/* ── No-data notice ───────────────────────────────────────────────────────── */
.hist-no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 10px;
  text-align: center;
}
.hist-no-data svg { width: 32px; height: 32px; opacity: 0.28; }
.hist-no-data p   { font-size: 13px; opacity: 0.48; }

/* ── Desktop Layout (≥ 900px) ─────────────────────────────────────────────── */
@media (min-width: 900px) {
  .main {
    max-width: 1320px;
    padding: 32px 40px 56px;
    display: grid;
    grid-template-columns: 360px 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
  }

  .header { grid-column: 1 / -1; }
  .about-malhar { grid-column: 1 / -1; margin: 0 0 24px 0; }
  .footer { grid-column: 1 / -1; }

  .col-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-column: 1;
    min-width: 0;
  }

  .col-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-column: 2;
    min-width: 0;
  }

  /* Quick view: 8 tiles in one row at full width */
  #quickview-section .quick-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  /* Scale up hero on wider screens */
  .temp-value     { font-size: 108px; }
  .condition-icon { width: 110px; height: 110px; display: block; }

  /* Taller charts on desktop */
  .chart-wrap,
  .chart-wrap canvas { max-height: 260px; }

  /* Quick-view tiles on desktop */
  .qv-icon-wrap { width: 28px; height: 28px; }
  .qv-icon-wrap svg { width: 14px; height: 14px; }
  .qv-tile  { padding: 14px 8px 12px; gap: 5px; }
  .qv-label { font-size: 9px; }
  .qv-value { font-size: 15px; }

  /* Forecast: 10-column single row */
  #forecast-section .scroll-arrow { display: none; }
  #forecast-section .forecast-scroll {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    overflow: visible;
    gap: 6px;
    padding-bottom: 0;
  }
  .forecast-day {
    min-width: 0;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-radius: 14px;
    text-align: center;
  }
  .fc-icon  { width: 34px; height: 34px; display: block; }
  .fc-desc  { display: none; }
  .fc-rain  { display: block; }
  .fc-temps { flex-direction: row; gap: 4px; }
  .fc-max   { font-size: 14px; }
  .fc-min   { font-size: 11px; }
}
