/* ------------------------------------------------------------------
   trip-extras.css — 扩展模块样式
   出行天气 / 温馨提示 / 航班座位
   颜色一律复用 styles.css :root 里的设计令牌，不引入新的视觉语言。
   ------------------------------------------------------------------ */

/* ---------------- 航班座位（挂在深色航班卡内） ---------------- */
.flight-seats {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.flight-seats__label {
  display: block;
  color: #a9c3c8;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}
.flight-seats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.flight-seats__list li {
  min-width: 52px;
  padding: 7px 11px;
  border: 1px solid rgba(143, 198, 208, 0.42);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font: 760 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-align: center;
}
.flight-seats__note {
  margin: 9px 0 0;
  color: #9db7bc;
  font-size: 10px;
  line-height: 1.6;
}

/* ---------------- 出行天气 ---------------- */
.weather-list {
  display: grid;
  gap: 10px;
}
.weather-day {
  display: grid;
  grid-template-columns: 58px 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.weather-day.is-today {
  border-color: var(--lake);
  box-shadow: 0 0 0 2px var(--lake-soft), var(--shadow);
}
.weather-day__date {
  display: grid;
  gap: 3px;
  text-align: left;
}
.weather-day__date strong {
  font: 760 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.weather-day__date span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.weather-day__icon {
  font-size: 22px;
  line-height: 1;
  text-align: center;
}
.weather-day__body {
  min-width: 0;
}
.weather-day__text {
  margin: 0;
  font-size: 12.5px;
  font-weight: 640;
  line-height: 1.4;
}
.weather-day__text em {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.weather-day__bar {
  position: relative;
  height: 6px;
  margin: 9px 0 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lake-soft), #f0dcd2);
}
.weather-day__bar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--lo, 0) * 1%);
  right: calc(100% - var(--hi, 100) * 1%);
  min-width: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lake), var(--terracotta));
}
.weather-day__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.weather-day__meta b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.weather-day__climate {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
  opacity: 0.9;
}
.weather-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.weather-footnote a {
  color: var(--lake);
  font-weight: 600;
}
.weather-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------------- 温馨提示 ---------------- */
.tips-grid {
  display: grid;
  gap: 10px;
}
.tip-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tip-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tip-card__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--lake-soft);
  font-size: 15px;
  line-height: 1;
}
.tip-card h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.tip-card ul {
  margin: 12px 0 0;
  padding-left: 17px;
  display: grid;
  gap: 7px;
}
.tip-card li {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.68;
}
.tip-card li::marker {
  color: var(--lake);
}
.tips-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

@media (min-width: 720px) {
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .weather-day {
    grid-template-columns: 66px 36px minmax(0, 1fr);
  }
}
