/* 右侧天气大屏：严格 Flex 对齐，上半区三要素共线居中 */

.col-weather {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 28px 40px 36px;
  display: flex;
  flex-direction: column;
  letter-spacing: 1px;
  box-shadow: none;
}

/* ── 顶栏公报：日期 → 时钟 → 农历节气（单行共线） ── */
.weather-clock-zone {
  flex-shrink: 0;
  margin-bottom: 40px;
  padding-right: 120px;
}

.weather-bulletin {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  width: 100%;
  min-width: 0;
}

.bulletin-date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.weekday {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.date {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.weather-clock {
  flex-shrink: 0;
  font-size: 3.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.bulletin-lunar {
  flex: 1;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(212, 175, 95, 0.72);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bulletin-cpu {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(120, 220, 160, 0.92);
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.28);
}

.bulletin-cpu.cpu-warn {
  color: rgba(255, 210, 120, 0.95);
  background: rgba(210, 153, 34, 0.14);
  border-color: rgba(210, 153, 34, 0.35);
}

.bulletin-cpu.cpu-hot {
  color: rgba(255, 150, 150, 0.98);
  background: rgba(248, 81, 73, 0.16);
  border-color: rgba(248, 81, 73, 0.4);
}

.weather-super {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── 上层：实时天气焦点 ── */
.wx-layer-focus {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 0;
}

.wx-location {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/*
 * 核心对齐容器：32° | 云朵+阴 | 黄色警告
 * align-items: center 保证三要素几何中心共线
 */
.wx-focus-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

/* 左侧：温度 + 图标紧凑组合 */
.wx-live-weather {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.wx-focus-temp {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}

.wx-temp-num {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  letter-spacing: -2px;
}

.wx-temp-degree {
  font-size: 3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  margin-top: 0.5rem;
  margin-left: 2px;
}

.wx-focus-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.wx-focus-icon {
  display: block;
  font-size: 7.5rem;
  line-height: 1;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.35));
}

.wx-focus-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

/* 右侧：降水警告（瘦身、与云朵列视觉等高、内容居中） */
.wx-rain-alert {
  flex: 0 1 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 9.5rem;
  max-width: 36%;
  padding: 18px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 204, 0, 0.38);
  background: rgba(255, 204, 0, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255, 204, 0, 0.06) inset,
    0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.wx-rain-alert--now {
  border-color: rgba(255, 204, 0, 0.55);
  background: rgba(255, 204, 0, 0.11);
  box-shadow:
    0 0 0 1px rgba(255, 204, 0, 0.1) inset,
    0 0 24px rgba(255, 204, 0, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

.wx-rain-alert[hidden] {
  display: none !important;
}

.wx-rain-alert-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffcc00;
  letter-spacing: 2px;
}

.wx-rain-alert-text {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffcc00;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.wx-rain-alert--now .wx-rain-alert-text {
  font-size: 1.65rem;
}

/* ── 下层：逐小时 + 未来两天（上移放大，填满中部空白） ── */
.wx-layer-trends {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  margin-top: -72px;
  padding-top: 48px;
  padding-bottom: 8px;
}

.wx-hourly {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 12px;
  padding: 0 8px;
  background: transparent;
}

.wx-hour-slot {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  padding: 0;
}

.wx-hour-slot .hi-time {
  font-size: 1.33rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.wx-hour-slot .hi-emoji {
  font-size: 2.8rem;
  line-height: 1;
}

.wx-hour-slot .hi-temp {
  font-size: 2.24rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.wx-hourly-empty {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* 未来几天：与逐小时相同的横排列式 */
.wx-daily {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 12px;
  padding: 28px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wx-daily:empty {
  display: none;
  padding: 0;
  border: none;
}

.wx-day-slot {
  gap: 18px;
}

.wx-day-time-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.wx-day-slot .hi-time {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wx-day-slot .hi-date {
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.36);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.wx-day-slot .hi-emoji {
  font-size: 2.6rem;
}

.wx-day-slot .hi-temp {
  font-size: 1.95rem;
  font-weight: 800;
  white-space: nowrap;
}

/* 错误状态 */
.weather-super.error-state .wx-temp-num {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.5);
}

.weather-super.error-state .wx-focus-icon {
  font-size: 4rem;
}

.weather-super.error-state .wx-focus-text {
  font-size: 1.6rem;
  color: #ff6b6b;
}
