.hero-card {
  min-height: 224px;
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(28, 30, 33, 0.96), rgba(16, 18, 23, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card:focus {
  transform: scale(0.98);
}

.weather-symbol {
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--warm);
  font-size: 76px;
  text-shadow: 0 0 22px rgba(255, 209, 102, 0.3);
}

.hero-copy {
  min-width: 0;
}

.temperature {
  font-size: 68px;
  line-height: 0.95;
  font-weight: 900;
}

.condition {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 22px;
  font-weight: 800;
}

.heat-alert {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.16);
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.heat-alert.level-heat {
  background: rgba(255, 209, 102, 0.16);
  color: var(--warm);
}

.heat-alert.level-hot {
  background: rgba(255, 148, 77, 0.18);
  color: #ffb86b;
}

.heat-alert.level-severe {
  background: rgba(255, 107, 107, 0.18);
  color: var(--danger);
}

.heat-alert.level-extreme {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.35);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 20px;
  background: var(--surface);
}

.metric-label {
  display: inline;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.metric strong {
  display: inline;
  margin-top: 0;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1;
}

.daily-indexes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.index-card {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.index-label {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.index-card strong {
  display: block;
  margin-top: 0;
  color: var(--accent-strong);
  font-size: 17px;
  line-height: 1.1;
}

.forecast-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 2px;
  border-radius: 22px;
}

.forecast-card {
  min-height: 82px;
  padding: 12px 10px;
  border-radius: 20px;
  background: var(--surface-soft);
  text-align: center;
}

.forecast-card span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.forecast-card .mini-symbol {
  display: block;
  margin: 4px 0;
  color: var(--accent-strong);
  font-size: 22px;
  line-height: 1;
}

.forecast-card strong {
  display: block;
  font-size: 15px;
}

.forecast-strip:focus {
  transform: scale(0.98);
}

.status-panel {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 107, 107, 0.16);
  color: var(--text-secondary);
  font-size: 15px;
}

.title-right {
  flex: 1;
  text-align: right;
}

.forecast-list {
  position: relative;
  height: 488px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.forecast-list::after {
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 32px;
  margin-top: -32px;
  background: linear-gradient(to top, #000000 10%, transparent);
  pointer-events: none;
}

.forecast-row {
  min-height: 80px;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 24px;
  background: var(--surface);
}

.forecast-row-symbol {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  font-size: 32px;
}

.forecast-row-title {
  font-size: 19px;
  font-weight: 900;
}

.forecast-row-meta {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.forecast-row-heat {
  display: inline-block;
  margin-left: 8px;
  color: var(--warm);
  font-weight: 900;
}

.forecast-row-temp {
  min-width: 104px;
  text-align: right;
  font-size: 19px;
  font-weight: 900;
}
