/* Live widgets */
.live-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.live-grid > .live-card.span-2 { grid-column: span 2; }
@media (max-width: 720px) { .live-grid { grid-template-columns: 1fr; } .live-grid > .live-card.span-2 { grid-column: span 1; } }

.live-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.live-card h3 {
  margin: 0 0 12px; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-soft); display: flex; align-items: center; gap: 8px;
}
.live-card h3 svg { width: 16px; height: 16px; color: var(--primary); }
.src { margin-top: 12px; font-size: 11px; color: var(--muted); letter-spacing: .3px; }

.weather-now { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.weather-temp { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.weather-temp span { font-size: 22px; color: var(--text-soft); margin-left: 2px; font-weight: 500; }
.weather-state { font-weight: 600; font-size: 16px; }
.weather-sub { color: var(--text-soft); font-size: 13px; }
.weather-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.weather-day { background: var(--bg); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.weather-day .d { font-size: 11px; color: var(--text-soft); text-transform: uppercase; letter-spacing: .5px; }
.weather-day .t { font-weight: 700; margin: 4px 0; }
.weather-day .s { font-size: 11px; color: var(--text-soft); line-height: 1.3; }

.aqi-row, .rhone-row { display: flex; align-items: center; gap: 16px; }
.aqi-num, .rhone-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 800;
  line-height: 1; padding: 10px 14px; border-radius: 12px; min-width: 80px; text-align: center;
}
.aqi-num { background: #f1f5f9; }
.aqi-good .aqi-num { background: #dcfce7; color: #166534; }
.aqi-mid .aqi-num { background: #fef3c7; color: #92400e; }
.aqi-bad .aqi-num { background: #fee2e2; color: #991b1b; }
.aqi-label, .rhone-label { font-weight: 600; }
.aqi-sub, .rhone-sub { color: var(--text-soft); font-size: 13px; }
.rhone-num { background: #dbeafe; color: var(--primary-dark); }
.rhone-num span { font-size: 18px; color: inherit; opacity: .8; margin-left: 2px; }

.sun-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.sun-k { font-size: 11px; text-transform: uppercase; color: var(--text-soft); letter-spacing: 1px; }
.sun-v { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 4px; }

.muted { color: var(--text-soft); font-size: 14px; }
