:root {
  --blue: #1f6fd6;
  --blue-dark: #0b3c86;
  --blue-deep: #082a5c;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #263238;
  --muted: #6f7f8b;
  --line: #e5edf5;
  --green: #36b45b;
  --orange: #ff9f1a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 1200px;
  max-width: calc(100% - 28px);
  margin: 0 auto;
}

.topbar {
  height: 34px;
  color: #cbd6e2;
  background: #081829;
  font-size: 13px;
  line-height: 34px;
}

.topbar span { margin-right: 18px; }
.topbar-right { float: right; margin-right: 0; }

.site-head {
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}

.head-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 38px;
}

.brand {
  width: 225px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  color: #2c68c8;
}

.brand-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.search-box {
  position: relative;
  flex: 1;
  display: flex;
  max-width: 560px;
  height: 38px;
  border: 1px solid #c7d4e1;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 15px;
  font-size: 15px;
}

.search-box button {
  width: 86px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.suggest-box {
  position: absolute;
  z-index: 20;
  top: 42px;
  left: -1px;
  right: -1px;
  background: #fff;
  border: 1px solid #c7d4e1;
  border-top: 0;
  box-shadow: 0 8px 18px rgba(20, 40, 70, .14);
}

.suggest-box a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  color: #263238;
  line-height: 1.4;
}

.suggest-box a:hover {
  background: #eef5ff;
}

.suggest-box span {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  background: linear-gradient(90deg, #0f4c9f, #063985);
  box-shadow: 0 2px 8px rgba(0, 34, 88, .12);
}

.main-nav .wrap {
  display: flex;
  height: 44px;
}

.main-nav a {
  flex: 1;
  min-width: 86px;
  color: #fff;
  text-align: center;
  line-height: 44px;
  font-size: 16px;
}

.main-nav a.active,
.main-nav a:hover {
  background: rgba(255, 255, 255, .16);
}

.page-grid,
.detail-layout {
  padding: 14px 0 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 16px;
  row-gap: 0;
  padding: 14px 0 24px;
}

.page-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 16px;
  row-gap: 0;
}

.content-grid {
  row-gap: 16px;
}

.main-col,
.side-col,
.panel {
  min-width: 0;
}

.panel,
.weather-hero,
.shortcut-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(31, 60, 90, .04);
}

.panel {
  margin-bottom: 14px;
  padding: 16px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-left: 4px solid var(--blue);
  padding-left: 10px;
}

.panel-title h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.panel-title a {
  color: #7a8794;
  font-size: 13px;
}

.weather-article {
  padding: 24px;
}

.weather-article h1 {
  margin: 0 0 10px;
  color: #1f2d3a;
  font-size: 26px;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.weather-article .entry {
  color: #304253;
  font-size: 16px;
  line-height: 1.9;
}

.weather-article .entry p {
  margin: 0 0 16px;
}

.weather-article .entry img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px auto;
  border-radius: 5px;
}

.article-hot-cities {
  padding: 18px;
}

.article-hot-cities .panel-title {
  margin-bottom: 12px;
}

.article-hot-cities .side-hot-city-tags {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 10px;
}

.article-hot-cities .side-hot-city-tags a {
  min-height: 32px;
  padding: 7px 8px;
  border: 1px solid #e1ebf5;
  background: #f7fbff;
  color: #29475f;
  font-size: 14px;
}

.article-hot-cities .side-hot-city-tags a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.article-list-panel {
  padding: 18px;
}

.article-list {
  display: grid;
  gap: 0;
}

.article-list-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.article-list-item:first-child {
  padding-top: 0;
}

.article-list-item:last-child {
  border-bottom: 0;
}

.article-list-thumb {
  display: block;
  width: 180px;
  height: 110px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(135deg, #d7e8f8, #4b94d5);
}

.article-list-thumb img,
.article-list-thumb span {
  display: block;
  width: 100%;
  height: 100%;
}

.article-list-thumb img {
  object-fit: cover;
}

.article-list-item h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.article-list-item h2 a:hover {
  color: var(--blue);
}

.article-list-item p {
  margin: 0 0 9px;
  color: #526575;
  line-height: 1.7;
}

.article-list-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.pagebar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 16px;
}

.pagebar-nav a,
.pagebar-nav b {
  min-width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #2d5f9c;
}

.pagebar-nav b,
.pagebar-nav a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.empty-state {
  padding: 34px 0;
  color: var(--muted);
  text-align: center;
}

.weather-hero {
  position: relative;
  min-height: 236px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, #1e63c7 0%, #2f82d8 46%, #72b5ee 100%),
    #2d82d8;
}

.weather-hero::before,
.weather-hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.weather-hero::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 45%;
  background:
    radial-gradient(ellipse at 42% 48%, rgba(255,255,255,.82) 0 14%, rgba(255,255,255,.45) 24%, transparent 45%),
    radial-gradient(ellipse at 70% 54%, rgba(255,255,255,.68) 0 12%, rgba(255,255,255,.36) 22%, transparent 42%),
    radial-gradient(ellipse at 36% 76%, rgba(255,255,255,.42) 0 12%, transparent 38%);
  opacity: .82;
}

.weather-hero::after {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(21, 76, 172, .78) 0%, rgba(21, 76, 172, .55) 42%, rgba(21, 76, 172, .16) 67%, rgba(255,255,255,.04) 100%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(8, 55, 145, .12));
}

.weather-hero.bg-sunny {
  background:
    linear-gradient(90deg, #1e6fd5 0%, #2f9ae7 50%, #78c9fb 100%),
    #3298e6;
}

.weather-hero.bg-sunny::before {
  background:
    radial-gradient(circle at 66% 28%, rgba(255,235,142,.9) 0 9%, rgba(255,214,72,.52) 13%, transparent 26%),
    radial-gradient(ellipse at 46% 64%, rgba(255,255,255,.6) 0 9%, transparent 28%),
    radial-gradient(ellipse at 78% 70%, rgba(255,255,255,.42) 0 8%, transparent 26%);
}

.weather-hero.bg-partly-cloudy::before,
.weather-hero.bg-cloudy::before {
  background:
    radial-gradient(ellipse at 46% 45%, rgba(255,255,255,.9) 0 14%, rgba(255,255,255,.42) 24%, transparent 45%),
    radial-gradient(ellipse at 75% 53%, rgba(255,255,255,.78) 0 12%, rgba(255,255,255,.34) 22%, transparent 42%),
    radial-gradient(circle at 72% 30%, rgba(255,226,118,.48) 0 7%, transparent 18%);
}

.weather-hero.bg-light-rain,
.weather-hero.bg-rain {
  background:
    linear-gradient(90deg, #1d5aa8 0%, #347db8 52%, #76a9d2 100%),
    #357fb8;
}

.weather-hero.bg-light-rain::before,
.weather-hero.bg-rain::before {
  background:
    repeating-linear-gradient(112deg, rgba(255,255,255,.3) 0 1px, transparent 1px 13px),
    radial-gradient(ellipse at 46% 34%, rgba(86,117,151,.62) 0 18%, transparent 44%),
    radial-gradient(ellipse at 72% 42%, rgba(55,80,116,.5) 0 16%, transparent 42%);
}

.weather-hero.bg-thunderstorm {
  background:
    linear-gradient(90deg, #193b86 0%, #2b5c9c 52%, #3f6f9b 100%),
    #1f4d87;
}

.weather-hero.bg-thunderstorm::before {
  background:
    linear-gradient(125deg, transparent 36%, rgba(255,239,137,.72) 37%, transparent 40% 46%, rgba(255,239,137,.58) 47%, transparent 50%),
    repeating-linear-gradient(112deg, rgba(255,255,255,.22) 0 1px, transparent 1px 12px),
    radial-gradient(ellipse at 54% 32%, rgba(24,35,70,.72) 0 20%, transparent 46%);
}

.weather-hero.bg-snow,
.weather-hero.bg-sleet {
  background:
    linear-gradient(90deg, #2f75ca 0%, #6fb2e5 52%, #d4ecfb 100%),
    #75b8e9;
}

.weather-hero.bg-snow::before,
.weather-hero.bg-sleet::before {
  background:
    radial-gradient(circle at 28% 28%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 44%, rgba(255,255,255,.8) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 34%, rgba(255,255,255,.72) 0 2px, transparent 3px),
    radial-gradient(ellipse at 58% 72%, rgba(255,255,255,.68) 0 18%, transparent 46%);
  background-size: auto, auto, auto, auto;
}

.weather-hero.bg-fog,
.weather-hero.bg-haze,
.weather-hero.bg-overcast {
  background:
    linear-gradient(90deg, #4778b0 0%, #7ea2c3 50%, #bac8d5 100%),
    #8aa9c4;
}

.weather-hero.bg-fog::before,
.weather-hero.bg-haze::before,
.weather-hero.bg-overcast::before {
  background:
    radial-gradient(ellipse at 47% 42%, rgba(226,235,243,.82) 0 18%, rgba(226,235,243,.42) 29%, transparent 48%),
    radial-gradient(ellipse at 76% 52%, rgba(211,222,232,.72) 0 18%, rgba(211,222,232,.35) 28%, transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.08));
}

.weather-hero.bg-dust {
  background:
    linear-gradient(90deg, #9a7a45 0%, #c99a55 52%, #e4bd7c 100%),
    #c99a55;
}

.weather-hero.bg-dust::before {
  background:
    radial-gradient(ellipse at 55% 52%, rgba(255,229,166,.5) 0 18%, transparent 46%),
    repeating-linear-gradient(165deg, rgba(255,239,196,.24) 0 2px, transparent 2px 16px);
}

.weather-hero.bg-hot {
  background:
    linear-gradient(90deg, #d9772c 0%, #f0a040 52%, #ffc66a 100%),
    #e68a35;
}

.weather-hero.bg-hot::before {
  background:
    radial-gradient(circle at 68% 28%, rgba(255,237,137,.9) 0 10%, rgba(255,170,45,.46) 15%, transparent 30%),
    radial-gradient(ellipse at 55% 72%, rgba(255,220,138,.35) 0 18%, transparent 45%);
}

.weather-hero.bg-cold {
  background:
    linear-gradient(90deg, #286fb8 0%, #7fb7e1 52%, #d8f0ff 100%),
    #7fb7e1;
}

.weather-hero.bg-cold::before {
  background:
    radial-gradient(ellipse at 57% 70%, rgba(255,255,255,.66) 0 20%, transparent 48%),
    repeating-linear-gradient(150deg, rgba(255,255,255,.24) 0 2px, transparent 2px 18px);
}

.weather-hero.bg-wind {
  background:
    linear-gradient(90deg, #246fc4 0%, #5aa7de 52%, #a5d4f0 100%),
    #5aa7de;
}

.weather-hero.bg-wind::before {
  background:
    repeating-linear-gradient(170deg, rgba(255,255,255,.42) 0 2px, transparent 2px 34px),
    radial-gradient(ellipse at 62% 48%, rgba(255,255,255,.46) 0 14%, transparent 38%);
}

.weather-hero.bg-night {
  background:
    linear-gradient(90deg, #123a88 0%, #174b9b 52%, #172f66 100%),
    #173a7b;
}

.weather-hero.bg-night::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(244,248,255,.9) 0 6%, rgba(244,248,255,.24) 10%, transparent 19%),
    radial-gradient(ellipse at 58% 70%, rgba(255,255,255,.22) 0 13%, transparent 36%),
    radial-gradient(circle at 40% 34%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 58%, rgba(255,255,255,.58) 0 1px, transparent 2px);
}

.weather-hero-compact {
  min-height: 232px;
}

.weather-hero-forecast {
  grid-template-columns: 1fr 1.35fr;
}

.weather-hero.bg-sunny { background: #1e6fd5 url("../assets/images/weather-bg/sunny.jpg") center/cover no-repeat; }
.weather-hero.bg-partly-cloudy { background: #1e6fd5 url("../assets/images/weather-bg/partly-cloudy.jpg") center/cover no-repeat; }
.weather-hero.bg-cloudy { background: #1e63c7 url("../assets/images/weather-bg/cloudy.jpg") center/cover no-repeat; }
.weather-hero.bg-overcast { background: #4778b0 url("../assets/images/weather-bg/overcast.jpg") center/cover no-repeat; }
.weather-hero.bg-light-rain { background: #1d5aa8 url("../assets/images/weather-bg/light-rain.jpg") center/cover no-repeat; }
.weather-hero.bg-shower { background: #1d5aa8 url("../assets/images/weather-bg/shower.jpg") center/cover no-repeat; }
.weather-hero.bg-moderate-rain { background: #1d5aa8 url("../assets/images/weather-bg/moderate-rain.jpg") center/cover no-repeat; }
.weather-hero.bg-heavy-rain { background: #1d5aa8 url("../assets/images/weather-bg/heavy-rain.jpg") center/cover no-repeat; }
.weather-hero.bg-rain { background: #1d5aa8 url("../assets/images/weather-bg/rain.jpg") center/cover no-repeat; }
.weather-hero.bg-rainstorm { background: #142f72 url("../assets/images/weather-bg/rainstorm.jpg") center/cover no-repeat; }
.weather-hero.bg-thunderstorm { background: #193b86 url("../assets/images/weather-bg/thunderstorm.jpg") center/cover no-repeat; }
.weather-hero.bg-light-snow { background: #2f75ca url("../assets/images/weather-bg/light-snow.jpg") center/cover no-repeat; }
.weather-hero.bg-moderate-snow { background: #2f75ca url("../assets/images/weather-bg/moderate-snow.jpg") center/cover no-repeat; }
.weather-hero.bg-heavy-snow { background: #235caa url("../assets/images/weather-bg/heavy-snow.jpg") center/cover no-repeat; }
.weather-hero.bg-snow { background: #2f75ca url("../assets/images/weather-bg/snow.jpg") center/cover no-repeat; }
.weather-hero.bg-blizzard { background: #1b4f9a url("../assets/images/weather-bg/blizzard.jpg") center/cover no-repeat; }
.weather-hero.bg-sleet { background: #2f75ca url("../assets/images/weather-bg/sleet.jpg") center/cover no-repeat; }
.weather-hero.bg-fog { background: #6688a8 url("../assets/images/weather-bg/fog.jpg") center/cover no-repeat; }
.weather-hero.bg-dense-fog { background: #5b778f url("../assets/images/weather-bg/dense-fog.jpg") center/cover no-repeat; }
.weather-hero.bg-haze { background: #7f8790 url("../assets/images/weather-bg/haze.jpg") center/cover no-repeat; }
.weather-hero.bg-severe-haze { background: #666b72 url("../assets/images/weather-bg/severe-haze.jpg") center/cover no-repeat; }
.weather-hero.bg-dust { background: #9a7a45 url("../assets/images/weather-bg/dust.jpg") center/cover no-repeat; }
.weather-hero.bg-sandstorm { background: #8d6530 url("../assets/images/weather-bg/sandstorm.jpg") center/cover no-repeat; }
.weather-hero.bg-hot { background: #d9772c url("../assets/images/weather-bg/hot.jpg") center/cover no-repeat; }
.weather-hero.bg-cold { background: #286fb8 url("../assets/images/weather-bg/cold.jpg") center/cover no-repeat; }
.weather-hero.bg-wind { background: #246fc4 url("../assets/images/weather-bg/wind.jpg") center/cover no-repeat; }
.weather-hero.bg-night { background: #123a88 url("../assets/images/weather-bg/night.jpg") center/cover no-repeat; }

.weather-hero.bg-sunny::before,
.weather-hero.bg-sunny::after,
.weather-hero.bg-partly-cloudy::before,
.weather-hero.bg-partly-cloudy::after,
.weather-hero.bg-cloudy::before,
.weather-hero.bg-cloudy::after,
.weather-hero.bg-overcast::before,
.weather-hero.bg-overcast::after,
.weather-hero.bg-light-rain::before,
.weather-hero.bg-light-rain::after,
.weather-hero.bg-shower::before,
.weather-hero.bg-shower::after,
.weather-hero.bg-moderate-rain::before,
.weather-hero.bg-moderate-rain::after,
.weather-hero.bg-heavy-rain::before,
.weather-hero.bg-heavy-rain::after,
.weather-hero.bg-rain::before,
.weather-hero.bg-rain::after,
.weather-hero.bg-rainstorm::before,
.weather-hero.bg-rainstorm::after,
.weather-hero.bg-thunderstorm::before,
.weather-hero.bg-thunderstorm::after,
.weather-hero.bg-light-snow::before,
.weather-hero.bg-light-snow::after,
.weather-hero.bg-moderate-snow::before,
.weather-hero.bg-moderate-snow::after,
.weather-hero.bg-heavy-snow::before,
.weather-hero.bg-heavy-snow::after,
.weather-hero.bg-snow::before,
.weather-hero.bg-snow::after,
.weather-hero.bg-blizzard::before,
.weather-hero.bg-blizzard::after,
.weather-hero.bg-sleet::before,
.weather-hero.bg-sleet::after,
.weather-hero.bg-fog::before,
.weather-hero.bg-fog::after,
.weather-hero.bg-dense-fog::before,
.weather-hero.bg-dense-fog::after,
.weather-hero.bg-haze::before,
.weather-hero.bg-haze::after,
.weather-hero.bg-severe-haze::before,
.weather-hero.bg-severe-haze::after,
.weather-hero.bg-dust::before,
.weather-hero.bg-dust::after,
.weather-hero.bg-sandstorm::before,
.weather-hero.bg-sandstorm::after,
.weather-hero.bg-hot::before,
.weather-hero.bg-hot::after,
.weather-hero.bg-cold::before,
.weather-hero.bg-cold::after,
.weather-hero.bg-wind::before,
.weather-hero.bg-wind::after,
.weather-hero.bg-night::before,
.weather-hero.bg-night::after {
  display: none;
}

.hero-current {
  position: relative;
  z-index: 1;
  padding: 24px 24px 18px;
}

.hero-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.hero-current h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.hero-title-row a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.86);
}

.hero-current p {
  margin: 9px 0 18px;
  color: rgba(255, 255, 255, .88);
}

.temp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 24px;
}

.tq-weather-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  vertical-align: middle;
}

.weather-symbol {
  width: 74px;
  height: 74px;
  flex: none;
}

.temp-row strong {
  font-size: 68px;
  line-height: 1;
}

.temp-row em {
  font-style: normal;
  font-size: 28px;
}

.metric-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.metric-row li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 clamp(6px, 1.15vw, 13px);
  color: rgba(255, 255, 255, .95);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.22);
}

.metric-row li:first-child {
  padding-left: 0;
}

.metric-row li:last-child {
  border-right: 0;
}

.metric-row i {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: rgba(255,255,255,.92);
  font-style: normal;
  font-size: clamp(11px, 1vw, 13px);
}

.metric-row span {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(10px, .95vw, 12px);
  line-height: 1.1;
}

.metric-row strong {
  font-weight: 700;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.35;
}

.hero-warning-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  max-width: 100%;
}

.hero-warning-row a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  min-width: 0;
  max-width: 46%;
  color: #fff;
}

.hero-warning-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-warning-row span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.hero-days {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.hero-days div {
  padding: 54px 12px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.hero-days b,
.hero-days strong,
.hero-days em,
.hero-days small {
  display: block;
  font-style: normal;
  font-weight: 400;
}

.hero-days span {
  display: block;
  margin: 15px 0;
}

.forecast-weather-icon {
  width: 42px;
  height: 42px;
}

.hourly-weather-icon {
  width: 34px;
  height: 34px;
}

.international-weather-icon {
  width: 34px;
  height: 34px;
}

.hero-days strong { font-size: 18px; }

.weather-hero-home {
  min-height: 236px;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .95fr);
}

.weather-hero-home .hero-current {
  min-width: 0;
  padding: 24px 20px 16px 30px;
}

.weather-hero-home .hero-current p {
  margin: 8px 0 16px;
}

.weather-hero-home .temp-row {
  margin: 12px 0 22px;
}

.weather-hero-home .weather-symbol {
  width: 70px;
  height: 70px;
}

.weather-hero-home .temp-row strong {
  font-size: 64px;
}

.weather-hero-home .temp-row em {
  font-size: 26px;
}

.weather-hero-home .metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  max-width: 100%;
}

.weather-hero-home .metric-row li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 6px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(4, 29, 70, .22);
}

.weather-hero-home .metric-row li:first-child {
  padding-left: 8px;
}

.weather-hero-home .metric-row i {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.weather-hero-home .metric-row span {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 11px;
  line-height: 1.1;
}

.weather-hero-home .metric-row strong {
  min-width: 0;
  white-space: nowrap;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.weather-hero-home .hero-days {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.weather-hero-home .hero-days div {
  min-width: 0;
  padding: 52px 8px 18px;
}

.weather-hero-home .hero-days b,
.weather-hero-home .hero-days strong,
.weather-hero-home .hero-days em,
.weather-hero-home .hero-days small {
  overflow-wrap: anywhere;
}

.weather-hero-home .hero-days span {
  margin: 12px 0;
}

.weather-hero-home .hero-days small {
  margin-top: 5px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  line-height: 1.25;
}

.weather-hero-home .hero-days .hero-day-wind span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 2px;
  white-space: nowrap;
}

.weather-hero-home .hero-days .hero-day-wind i {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: rgba(255,255,255,.88);
  font-style: normal;
  font-size: 9px;
}

.shortcut-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 14px;
}

.shortcut-bar a {
  height: 55px;
  line-height: 55px;
  text-align: center;
  color: #4d6b86;
  border-right: 1px solid var(--line);
}

.city-cloud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.china-map-card {
  position: relative;
  height: 330px;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#tianqi-china-map {
  width: 100%;
  height: 100%;
}

.south-china-sea-inset {
  position: absolute;
  right: 4px;
  bottom: 2px;
  width: 70px;
  height: 88px;
  border: 1px solid #c9deed;
  background: rgba(255, 255, 255, .72);
  pointer-events: none;
}

#tianqi-south-sea-map {
  width: 100%;
  height: 100%;
}

.south-china-sea-inset span {
  position: absolute;
  left: 3px;
  top: 3px;
  color: #4d728b;
  background: rgba(255, 255, 255, .78);
  font-size: 10px;
  line-height: 1;
  padding: 1px 2px;
  text-align: center;
  z-index: 2;
}

#tianqi-china-map.map-load-failed {
  display: grid;
  place-items: center;
  color: #5f92c3;
  font-size: 18px;
}

.city-weather-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.city-weather-list li {
  display: grid;
  grid-template-columns: 62px 1fr 78px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}

.china-city-picker h1 {
  margin: 0 0 2px;
  font-size: 22px;
  line-height: 1.25;
}

.china-city-picker {
  padding: 0;
  overflow: hidden;
}

.china-city-picker > p {
  margin: 0 0 12px;
  color: #465967;
  line-height: 1.45;
}

.province-table {
  background: #fff;
}

.province-table-title {
  padding: 8px 12px;
  border-bottom: 1px solid #bfd7ec;
  background: #f4f9fd;
  color: #0d5d9b;
  font-weight: 700;
}

.province-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 44px;
  border-bottom: 1px solid #d9e7f2;
}

.province-row:last-child {
  border-bottom: 0;
}

.province-row > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf4fb;
  color: #0d5d9b;
  font-size: 15px;
}

.province-row > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  padding: 8px 16px;
}

.province-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #263746;
  font: inherit;
  line-height: 1.8;
  cursor: pointer;
  text-decoration: none;
}

.province-btn.active,
.province-btn:hover {
  color: var(--blue);
  font-weight: 700;
}

.province-city-panel {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #cfe0f5;
  border-radius: 4px;
  background: #f8fbff;
}

.province-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.province-city-head strong {
  font-size: 16px;
}

.province-city-head h1 {
  margin: 0;
  font-size: 20px;
}

.province-city-head button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.province-city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.province-city-grid a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #334759;
  line-height: 20px;
  text-align: center;
}

.province-city-grid strong {
  display: inline;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.province-city-grid span {
  color: var(--muted);
  font-size: 12px;
}

.province-city-page {
  padding: 12px;
}

.province-city-page .province-city-head {
  margin-bottom: 10px;
}

.hot-weather-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hot-weather-grid a,
.hot-city-card {
  min-height: 156px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hot-weather-grid a:hover,
.hot-city-card:hover {
  border-color: #b7d5f5;
  box-shadow: 0 8px 18px rgba(31, 96, 168, .08);
  transform: translateY(-1px);
}

.hot-weather-grid strong,
.hot-weather-grid span,
.hot-weather-grid em,
.hot-weather-grid small {
  display: block;
  font-style: normal;
}

.province-weather-cards .hot-weather-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.province-weather-cards .hot-city-card {
  min-height: 166px;
  padding: 14px;
  text-align: left;
}

.province-weather-cards .hot-city-now {
  margin: 12px 0 12px;
}

.province-weather-cards .hot-city-trend {
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  overflow-x: auto;
  scrollbar-width: none;
}

.province-weather-cards .hot-city-trend::-webkit-scrollbar {
  display: none;
}

.province-weather-cards .hot-city-trend i {
  min-width: 42px;
}

.province-weather-cards .hot-trend-icon {
  width: 22px;
  height: 22px;
}

.hot-city-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hot-city-top strong {
  color: #233445;
  font-size: 16px;
}

.hot-city-top small {
  display: inline-flex;
  min-width: 34px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 99px;
  background: #eef9f1;
  color: var(--green);
  font-size: 12px;
}

.hot-city-now {
  display: grid;
  grid-template-columns: 42px auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 10px 0 12px;
}

.hot-city-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  object-fit: contain;
}

.hot-city-now span {
  color: #263746;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.hot-city-now em {
  color: #4b5e6e;
  font-size: 14px;
  white-space: nowrap;
}

.hot-city-trend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-top: 9px;
  border-top: 1px dashed #dbe7f2;
}

.hot-city-trend i {
  min-width: 0;
  text-align: center;
  font-style: normal;
  border-right: 1px solid #edf2f7;
}

.hot-city-trend i:last-child {
  border-right: 0;
}

.hot-city-trend b,
.hot-city-trend span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #66788a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-trend-icon {
  width: 20px;
  height: 20px;
  margin: 3px auto;
  object-fit: contain;
}

.world-weather-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.world-weather-grid a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon city temp"
    "icon country weather";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 12px;
  text-align: left;
}

.world-weather-grid .hot-city-icon {
  grid-area: icon;
  width: 34px;
  height: 34px;
  margin: 0;
}

.world-weather-grid strong {
  grid-area: city;
  min-width: 0;
  overflow: hidden;
  color: #263746;
  font-size: 15px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-weather-grid span {
  grid-area: temp;
  color: #1f3448;
  font-size: 20px;
  line-height: 24px;
  text-align: right;
}

.world-weather-grid em {
  grid-area: weather;
  color: #52687a;
  font-size: 13px;
  line-height: 18px;
  text-align: right;
}

.world-weather-grid small {
  grid-area: country;
  min-width: 0;
  overflow: hidden;
  color: #179b54;
  font-size: 13px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-city-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #58708a;
  background: linear-gradient(135deg, #f7fbff, #eef5fc);
}

.more-city-card strong {
  font-size: 16px;
}

.more-city-card span {
  color: #58708a;
  font-size: 13px;
}

.more-city-card em {
  color: var(--blue);
  font-size: 13px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.scenic-row .card-row {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.photo-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.photo-card > img,
.photo-card > span,
.storm-img {
  display: block;
  height: 96px;
  width: 100%;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(15, 77, 139, .35), rgba(71, 159, 221, .12)),
    linear-gradient(135deg, #b9d8f4, #6da5d8 55%, #2f6da7);
  background-size: cover;
}

.photo-card strong,
.photo-card em {
  display: block;
  padding: 0 10px;
}

.photo-card strong { margin-top: 8px; }
.photo-card em { padding-bottom: 10px; color: #4e5964; font-style: normal; }

.photo-card .scenic-now {
  display: grid;
  grid-template-columns: 22px minmax(34px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding-top: 4px;
  color: #2d3f4c;
  overflow: hidden;
}

.photo-card .scenic-weather-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: none;
  object-fit: contain;
  background: transparent;
}

.photo-card .scenic-now b {
  display: inline-flex;
  align-items: flex-start;
  color: #263746;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.photo-card .scenic-now b i {
  font-style: normal;
}

.photo-card .scenic-now b sup {
  margin-left: 1px;
  font-size: 11px;
  line-height: 1;
  transform: translateY(-2px);
}

.photo-card .scenic-now span {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: #486073;
  font-size: 13px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-card .scenic-now-empty {
  min-height: 24px;
}

.scenic-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0 10px 10px;
  color: #6c7d8c;
  font-size: 12px;
  line-height: 18px;
}

.scenic-extra span {
  white-space: nowrap;
}

.scenic-filter-panel {
  padding: 14px 16px 12px;
}

.scenic-filter-head h1 {
  margin: 0 0 6px;
  color: #263746;
  font-size: 22px;
  line-height: 1.25;
}

.scenic-filter-head p {
  margin: 0 0 12px;
  color: #516273;
  font-size: 14px;
}

.scenic-region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.scenic-region-tabs a,
.tag-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 13px;
  border-radius: 4px;
  color: #334759;
  background: #f5f8fb;
  font-size: 14px;
}

.scenic-region-tabs a.active,
.scenic-region-tabs a:hover,
.tag-list a:hover {
  color: #fff;
  background: var(--blue);
}

.scenic-list-page .panel-title {
  margin-bottom: 14px;
}

.scenic-list-meta {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.scenic-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.scenic-list-card > img,
.scenic-list-card > span {
  height: 118px;
}

.scenic-list-card strong {
  overflow: hidden;
  color: #263746;
  font-size: 15px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenic-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 2px;
}

.scenic-pager a,
.scenic-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #365068;
  background: #fff;
  font-size: 14px;
}

.scenic-pager a.active,
.scenic-pager a:hover {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.scenic-pager span {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.news-feature {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 20px;
}

.storm-img {
  display: block;
  height: 175px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(3, 22, 52, .75), rgba(31, 111, 214, .18)),
    radial-gradient(circle at 50% 20%, #dceaff, transparent 16%),
    #102844;
}

.news-feature-thumb {
  display: block;
  height: 175px;
  border-radius: 4px;
  overflow: hidden;
  background: #d9e8f6;
}

.news-feature-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.news-feature h3 a,
.news-feature li a,
.mini-link-list a {
  color: inherit;
}

.news-feature ul,
.news-list,
.mini-link-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-feature li,
.news-list li,
.mini-link-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.international-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.international-cards a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon city"
    "icon meta";
  align-items: center;
  column-gap: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 64px;
  padding: 8px 10px;
  background: #fff;
}

.international-cards span,
.international-cards strong,
.international-cards em {
  display: block;
  font-style: normal;
}

.international-cards span {
  grid-area: icon;
}

.international-cards strong {
  grid-area: city;
  color: #263746;
  line-height: 1.2;
}

.international-cards em {
  grid-area: meta;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.international-weather-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.side-col .panel {
  margin-bottom: 12px;
}

.warning-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 9px 0;
}

.warning-list li > div {
  min-width: 0;
}

.warning-list a {
  display: block;
  color: #263746;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-list p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 0;
  color: #6b7782;
  font-size: 12px;
  line-height: 1.2;
  min-width: 0;
}

.warning-list p span {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-list em {
  display: inline-block;
  flex: none;
  margin-top: 0;
  color: #8a96a3;
  font-style: normal;
  font-size: 12px;
  line-height: 1.2;
}

.warn-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.related-city-weather li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.related-city-weather a {
  overflow: hidden;
  color: #263746;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-city-weather span {
  color: #6b7782;
  font-size: 12px;
  white-space: nowrap;
}

.warning-side-list li {
  grid-template-columns: 46px minmax(0, 1fr);
}

.warning-side-list .warn-icon {
  width: 42px;
  height: 42px;
}

.side-photo-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-photo-list li + li {
  border-top: 1px dashed var(--line);
}

.side-photo-list a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  color: #263746;
}

.side-photo-list img,
.side-news-thumb {
  display: block;
  width: 82px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
  background: #d9e8f6;
}

.side-photo-list strong {
  display: block;
  color: #263746;
  font-size: 14px;
  line-height: 1.35;
  max-height: 38px;
  overflow: hidden;
}

.side-photo-list p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  color: #6b7782;
  font-size: 12px;
  line-height: 1.2;
}

.side-photo-list em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.side-weather-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.scenic-side-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.scenic-side-list li + li {
  border-top: 0;
}

.scenic-side-list a {
  display: block;
  padding: 0;
  text-align: center;
}

.scenic-side-list img,
.scenic-side-list .side-news-thumb {
  width: 100%;
  height: 48px;
  border-radius: 4px;
}

.scenic-side-list strong {
  margin-top: 5px;
  color: #263746;
  font-size: 12px;
  line-height: 1.25;
  max-height: 30px;
}

.warning-hot-city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.warning-hot-city-tags a {
  min-width: 78px;
  padding: 7px 12px;
  border-radius: 4px;
  background: #f4f8fc;
  color: #29475f;
  text-align: center;
}

.side-hot-city-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.side-hot-city-tags a {
  min-width: 0;
  padding: 7px 6px;
  border-radius: 4px;
  background: #f4f8fc;
  color: #29475f;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.side-news-thumb {
  background:
    linear-gradient(135deg, rgba(5, 35, 78, .72), rgba(53, 140, 221, .16)),
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, .75), transparent 18%),
    #17466d;
}

.side-news-thumb-1 {
  background:
    linear-gradient(135deg, rgba(9, 43, 72, .7), rgba(43, 117, 184, .18)),
    radial-gradient(circle at 48% 24%, rgba(226, 243, 255, .9), transparent 17%),
    #165378;
}

.side-news-thumb-2 {
  background:
    linear-gradient(135deg, rgba(30, 68, 103, .6), rgba(246, 174, 70, .32)),
    radial-gradient(circle at 72% 22%, rgba(255, 244, 197, .9), transparent 18%),
    #4b88b4;
}

.side-news-thumb-3 {
  background:
    linear-gradient(135deg, rgba(8, 36, 76, .82), rgba(84, 132, 202, .2)),
    radial-gradient(circle at 55% 35%, rgba(219, 236, 255, .75), transparent 19%),
    #102844;
}

.side-news-thumb-4 {
  background:
    linear-gradient(135deg, rgba(42, 88, 70, .72), rgba(126, 187, 113, .22)),
    radial-gradient(circle at 34% 26%, rgba(236, 252, 233, .82), transparent 18%),
    #34735f;
}

.air-score {
  text-align: center;
}

.air-score strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 9px solid #8dd899;
  border-radius: 50%;
  color: var(--green);
  font-size: 42px;
}

.air-score span {
  display: block;
  color: var(--green);
  font-size: 18px;
}

.air-score p {
  margin: 8px 0 0;
  color: #515e69;
}

.air-rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.air-rank-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 68px 34px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: #44515d;
}

.air-rank-list li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4fb;
  color: #5b7084;
  text-align: center;
  line-height: 22px;
  font-size: 12px;
}

.air-rank-list li:nth-child(1) b,
.air-rank-list li:nth-child(2) b,
.air-rank-list li:nth-child(3) b {
  background: var(--green);
  color: #fff;
}

.air-rank-list a {
  min-width: 0;
  color: #263746;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.air-rank-list span {
  color: #435463;
  font-size: 13px;
  text-align: right;
}

.air-rank-list em {
  padding: 2px 6px;
  border-radius: 3px;
  background: #eaf8ee;
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  text-align: center;
}

.air-rank-list .empty {
  display: block;
  color: var(--muted);
}

.air-filter-panel h1 {
  margin: 0 0 6px;
  color: #263746;
  font-size: 24px;
  line-height: 1.25;
}

.air-filter-panel p {
  margin: 0 0 14px;
  color: #516273;
}

.air-filter-tabs,
.aqi-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.air-filter-tabs a {
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #f2f6fb;
  color: #40566a;
  text-align: center;
  font-weight: 700;
}

.air-filter-tabs a.active {
  background: var(--blue);
  color: #fff;
}

.aqi-legend a,
.aqi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 4px;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.aqi-legend a.all {
  color: #40566a;
  background: #f2f6fb;
}

.aqi-legend a.active {
  box-shadow: 0 0 0 2px rgba(41, 116, 214, .22);
}

.aqi-legend a.all.active {
  color: #fff;
  background: var(--blue);
}

.aqi-legend .good,
.aqi-badge.good { background: #35b85a; }
.aqi-legend .moderate,
.aqi-badge.moderate { background: #f5b400; }
.aqi-legend .light,
.aqi-badge.light { background: #f0831f; }
.aqi-legend .medium,
.aqi-badge.medium { background: #e63244; }
.aqi-legend .heavy,
.aqi-badge.heavy { background: #8c2aa3; }
.aqi-legend .severe,
.aqi-badge.severe { background: #8a1240; }
.aqi-badge.unknown { background: #8b98a5; }

.air-region-tabs {
  padding-top: 10px;
}

.air-detail-page .content-grid {
  align-items: start;
}

.air-hero {
  padding: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(30,104,210,.96), rgba(62,149,224,.88)),
    #2477d6;
}

.air-hero-main {
  position: relative;
  min-height: 300px;
  padding: 24px 28px 20px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.22), transparent 32%),
    linear-gradient(90deg, rgba(20,85,185,.2), rgba(8,45,112,.1));
}

.air-hero-main::after {
  position: absolute;
  right: 30px;
  bottom: 18px;
  width: 240px;
  height: 180px;
  pointer-events: none;
  content: "";
  opacity: .36;
  background:
    radial-gradient(ellipse at 50% 65%, rgba(255,255,255,.9) 0 18%, rgba(255,255,255,.32) 28%, transparent 55%),
    linear-gradient(180deg, transparent 34%, rgba(255,255,255,.14) 35% 42%, transparent 43%);
}

.air-hero .hero-title-row,
.air-hero-main > p,
.air-hero-body,
.air-core-list {
  position: relative;
  z-index: 1;
}

.air-hero .hero-title-row h1 {
  margin: 0;
  font-size: 28px;
}

.air-hero .hero-title-row a {
  color: rgba(255,255,255,.88);
}

.air-hero-main > p {
  margin: 8px 0 18px;
  color: rgba(255,255,255,.86);
}

.air-hero-body {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.air-aqi-circle {
  width: 128px;
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid rgba(255,255,255,.92);
  border-top-color: var(--aqi-color);
  border-right-color: var(--aqi-color);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 25px rgba(0,45,120,.16);
}

.air-aqi-circle strong {
  color: var(--aqi-color);
  font-size: 48px;
  line-height: 1;
}

.air-aqi-circle span {
  margin-top: 4px;
  color: var(--aqi-color);
  font-size: 20px;
  font-weight: 700;
}

.air-hero-info h2 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
}

.air-scale {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  max-width: 430px;
  color: rgba(255,255,255,.88);
  font-size: 12px;
}

.air-scale i {
  grid-column: 1 / -1;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #35b85a 0 17%, #f5b400 17% 34%, #f0831f 34% 50%, #e63244 50% 67%, #8c2aa3 67% 84%, #8a1240 84% 100%);
}

.air-scale span {
  text-align: center;
}

.air-core-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.2);
}

.air-core-list li {
  min-width: 0;
  padding: 13px 10px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.18);
}

.air-core-list li:last-child {
  border-right: 0;
}

.air-core-list span,
.air-core-list strong {
  display: block;
}

.air-core-list span {
  color: rgba(255,255,255,.76);
  font-size: 12px;
}

.air-core-list strong {
  margin-top: 3px;
  font-size: 16px;
}

.air-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 14px 18px;
}

.air-summary-strip div {
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.air-summary-strip div:last-child {
  border-right: 0;
}

.air-summary-strip span,
.air-summary-strip strong {
  display: block;
}

.air-summary-strip span {
  color: var(--muted);
  font-size: 13px;
}

.air-summary-strip strong {
  margin-top: 4px;
  color: #253746;
}

.air-summary-strip strong.good { color: #35b85a; }
.air-summary-strip strong.moderate { color: #f5a600; }
.air-summary-strip strong.light { color: #f0831f; }
.air-summary-strip strong.medium { color: #e63244; }
.air-summary-strip strong.heavy { color: #8c2aa3; }
.air-summary-strip strong.severe { color: #8a1240; }

.air-unit {
  margin: -4px 0 8px;
  color: var(--muted);
  text-align: right;
  font-size: 12px;
}

.air-pollutants {
  display: grid;
  gap: 12px;
}

.air-pollutant-row {
  display: grid;
  grid-template-columns: 52px 44px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  color: #2d4052;
}

.air-pollutant-row b,
.air-pollutant-row span,
.air-pollutant-row strong {
  font-weight: 400;
}

.air-pollutant-row i {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf2f7;
}

.air-pollutant-row i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #36b45b;
}

.air-pollutant-row strong {
  text-align: right;
  font-size: 13px;
}

.air-pollutant-row strong.good { color: #35b85a; }
.air-pollutant-row strong.moderate { color: #f5a600; }
.air-pollutant-row strong.light { color: #f0831f; }
.air-pollutant-row strong.medium { color: #e63244; }
.air-pollutant-row strong.heavy { color: #8c2aa3; }
.air-pollutant-row strong.severe { color: #8a1240; }

.air-level-explain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.air-level-explain div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fbff;
}

.air-level-explain p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.air-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.air-health-grid div {
  min-height: 86px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fbff;
}

.air-health-grid b {
  display: block;
  margin-bottom: 6px;
  color: #253746;
}

.air-health-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.air-detail-page .air-related-tags {
  gap: 9px 10px;
}

.air-detail-page .air-related-tags a {
  min-width: 86px;
  padding: 8px 12px;
}

.air-detail-page .air-related-scenic .scenic-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.air-detail-page .air-related-scenic .scenic-list-card {
  min-height: 0;
}

.air-detail-page .air-related-scenic .scenic-list-card > img,
.air-detail-page .air-related-scenic .scenic-list-card > span {
  height: 86px;
}

.air-detail-page .air-related-scenic .scenic-list-card strong {
  font-size: 14px;
}

.air-detail-page .air-related-scenic .scenic-now {
  margin-top: 5px;
}

.air-detail-page .air-related-scenic .scenic-extra {
  margin-top: 6px;
}

.air-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.air-quality-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.air-quality-table th,
.air-quality-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: #354657;
  text-align: left;
  white-space: nowrap;
}

.air-quality-table th {
  background: #f4f7fb;
  color: #52677a;
  font-weight: 700;
}

.air-quality-table td:nth-child(3) {
  font-weight: 700;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4fb;
  color: #5b7084;
  font-size: 12px;
}

.air-quality-table tr:nth-child(1) .rank-num,
.air-quality-table tr:nth-child(2) .rank-num,
.air-quality-table tr:nth-child(3) .rank-num {
  background: var(--green);
  color: #fff;
}

.air-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.air-region-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: #fff;
}

.air-region-card h3 {
  margin: 0 0 8px;
  color: #263746;
  font-size: 16px;
}

.air-region-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: -2px 0 10px;
  color: #6a7c8c;
  font-size: 12px;
}

.air-region-stats b {
  color: #263746;
}

.air-region-body {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.air-region-body > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  --ring-color: #38b75a;
  background: conic-gradient(var(--ring-color) 0 calc(var(--rate, 0) * 1%), #e6ecf2 0 100%);
  color: var(--ring-color);
  text-align: center;
  line-height: 1.1;
  position: relative;
}

.air-region-body > strong.medium {
  --ring-color: #72bf44;
}

.air-region-body > strong.fair {
  --ring-color: #f2b91f;
}

.air-region-body > strong.low {
  --ring-color: #f29b1f;
}

.air-region-body > strong.poor {
  --ring-color: #e5533d;
}

.air-region-body > strong::before {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.air-region-body > strong em {
  position: relative;
  z-index: 1;
  display: block;
  font-style: normal;
  font-size: 20px;
}

.air-region-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.air-region-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: center;
  margin: 4px 0;
  color: #4e6173;
  font-size: 13px;
}

.air-region-card li b {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  line-height: 17px;
  text-align: center;
  font-size: 11px;
}

.air-region-card li a {
  overflow: hidden;
  color: #34495c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.air-region-card > a {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  text-align: right;
}

.air-map-box {
  height: 230px;
  min-height: 230px;
}

#tianqi-air-map {
  width: 100%;
  height: 100%;
}

.air-map-legend {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

.air-map-legend span::before {
  display: block;
  height: 6px;
  margin-bottom: 4px;
  border-radius: 3px;
  content: "";
}

.air-map-legend .good::before { background: #35b85a; }
.air-map-legend .moderate::before { background: #f5b400; }
.air-map-legend .light::before { background: #f0831f; }
.air-map-legend .medium::before { background: #e63244; }
.air-map-legend .heavy::before { background: #8c2aa3; }
.air-map-legend .severe::before { background: #8a1240; }

.warning-page .panel {
  margin-bottom: 14px;
}

.warning-filter-panel h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.warning-filter-panel p {
  margin: 6px 0 0;
  color: #4f5f6d;
}

.warning-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.warning-headline > span {
  flex: none;
  color: #7c8a96;
  font-size: 13px;
}

.warning-tabs,
.warning-status-tabs,
.warning-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.warning-status-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.warning-status-tabs a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 16px;
  border: 1px solid #d9e5f2;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fbff, #f2f7fd);
  color: #34495c;
  font-weight: 700;
}

.warning-status-tabs a.active {
  border-color: var(--blue);
  background: linear-gradient(135deg, #2f7de1, #1d63c8);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 125, 225, 0.18);
}

.warning-status-tabs a.resolved.active {
  border-color: #607080;
  background: linear-gradient(135deg, #6b7b8b, #4f5f70);
  box-shadow: 0 8px 18px rgba(77, 92, 107, 0.18);
}

.warning-status-tabs span {
  font-size: 15px;
}

.warning-status-tabs strong {
  font-size: 28px;
  line-height: 1;
}

.warning-status-tabs em {
  grid-column: 1 / -1;
  color: #7b8da0;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.warning-status-tabs a.active em {
  color: rgba(255, 255, 255, 0.82);
}

.warning-filter-block {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.warning-type-block {
  margin-top: 2px;
}

.warning-filter-label {
  color: #58708a;
  font-weight: 700;
  line-height: 34px;
}

.warning-tabs {
  padding-bottom: 0;
}

.warning-tabs a {
  min-width: 0;
  padding: 7px 13px;
  border: 1px solid #d9e5f2;
  border-radius: 6px;
  background: #f5f8fc;
  color: #34495c;
  text-align: center;
  font-weight: 700;
}

.warning-tabs b {
  margin-left: 4px;
  color: inherit;
}

.warning-tabs a.active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.warning-tabs a.red.active { background: #e53935; border-color: #e53935; }
.warning-tabs a.orange.active { background: #f28c18; border-color: #f28c18; }
.warning-tabs a.yellow.active { background: #e8ad00; border-color: #e8ad00; }
.warning-tabs a.blue.active { background: #3b83d6; border-color: #3b83d6; }

.warning-type-row {
  margin-top: 0;
}

.warning-type-row a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  padding: 7px 10px;
  border: 1px solid #e1eaf3;
  border-radius: 6px;
  background: #fff;
  color: #33485a;
}

.warning-type-row a.active {
  border-color: var(--blue);
  background: #eef6ff;
}

.warning-type-row img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.warning-type-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-type-row b {
  color: var(--blue);
}

.warning-result-list {
  border-top: 1px solid var(--line);
}

.warning-result-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.warning-result-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.warning-result-item h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.warning-result-item h2 a {
  color: #1f3347;
}

.warning-result-item p {
  margin: 6px 0;
  color: #566b7d;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-result-item div div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #7b8995;
  font-size: 13px;
}

.warning-result-item em,
.warning-focus-list em {
  padding: 1px 7px;
  border-radius: 3px;
  font-style: normal;
  font-size: 12px;
}

.warning-result-item em.red,
.warning-focus-list em.red { color: #c62828; background: #fdecec; }
.warning-result-item em.orange,
.warning-focus-list em.orange { color: #c46b00; background: #fff3df; }
.warning-result-item em.yellow,
.warning-focus-list em.yellow { color: #a77700; background: #fff8d8; }
.warning-result-item em.blue,
.warning-focus-list em.blue { color: #1d63b4; background: #eaf3ff; }
.warning-result-item em.other,
.warning-focus-list em.other { color: #607080; background: #edf3f8; }

.warning-status-badge {
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.6;
}

.warning-status-badge.active {
  color: #138a3d;
  background: #e8f7ee;
}

.warning-status-badge.resolved {
  color: #6e7781;
  background: #edf1f5;
}

.warning-more {
  color: var(--blue);
  text-align: right;
  font-size: 13px;
}

.warning-map-box {
  height: 250px;
  min-height: 250px;
}

#tianqi-warning-map {
  width: 100%;
  height: 100%;
}

.warning-map-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 8px;
  color: #647381;
  font-size: 12px;
  text-align: center;
}

.warning-map-legend span::before {
  display: block;
  height: 7px;
  margin-bottom: 4px;
  border-radius: 4px;
  content: "";
}

.warning-map-legend .red::before { background: #e53935; }
.warning-map-legend .orange::before { background: #f28c18; }
.warning-map-legend .yellow::before { background: #f3c332; }
.warning-map-legend .blue::before { background: #76aee8; }
.warning-map-legend .none::before { background: #dcecf8; }

.warning-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.warning-stat-grid b {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.2;
}

.warning-stat-grid b.red { color: #e53935; }
.warning-stat-grid b.orange { color: #f28c18; }
.warning-stat-grid b.yellow { color: #e8ad00; }

.warning-stat-grid span {
  color: #5c6b77;
  font-size: 12px;
}

.warning-stats-panel p {
  margin: 12px 0 0;
  color: #7d8995;
  text-align: center;
  font-size: 13px;
}

.warning-focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.warning-focus-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed #dbe5ee;
}

.warning-focus-list a {
  overflow: hidden;
  color: #33485a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-subscribe h2 {
  margin: 0;
  padding-left: 10px;
  border-left: 4px solid var(--blue);
  font-size: 20px;
}

.warning-subscribe p {
  color: #6d7b86;
}

.warning-subscribe button {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.warning-subscribe div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  color: #526879;
  text-align: center;
  font-size: 12px;
}

.warning-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.warning-knowledge-grid a {
  display: block;
  border: 1px solid #e0e9f2;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.warning-knowledge-grid span {
  display: block;
  height: 76px;
  background: linear-gradient(135deg, #dfeeff, #4e97d8);
}

.warning-knowledge-grid strong,
.warning-knowledge-grid em {
  display: block;
  padding: 0 10px;
}

.warning-knowledge-grid strong {
  padding-top: 8px;
  color: #263746;
}

.warning-knowledge-grid em {
  padding-bottom: 10px;
  color: #7b8995;
  font-size: 12px;
  font-style: normal;
}

.warning-notice-card {
  margin-bottom: 18px;
  border: 1px solid #cbddec;
  border-top: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.warning-notice-card::before {
  display: block;
  height: 4px;
  background: #3b83d6;
  content: "";
}

.warning-notice-card.red::before { background: #e53935; }
.warning-notice-card.orange::before { background: #f28c18; }
.warning-notice-card.yellow::before { background: #e8ad00; }
.warning-notice-card.blue::before { background: #3b83d6; }

.warning-notice-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 34px;
  background: #f5fbff;
  border-bottom: 1px solid #d5e3ef;
}

.warning-notice-head img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.warning-notice-head h1 {
  margin: 0 0 8px;
  color: #1f3347;
  font-size: 25px;
  line-height: 1.35;
}

.warning-notice-head p {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  color: #627586;
}

.warning-detail-status {
  padding: 12px 34px;
  border-bottom: 1px solid #d5e3ef;
  font-weight: 700;
}

.warning-detail-status.active {
  color: #138a3d;
  background: #effaf3;
}

.warning-detail-status.resolved {
  color: #6e7781;
  background: #f3f5f7;
}

.warning-notice-card section {
  padding: 24px 34px 28px;
  border-bottom: 1px solid #d5e3ef;
}

.warning-notice-card section h2 {
  margin: 0 0 16px;
  color: #0f6da6;
  font-size: 18px;
  line-height: 1.3;
}

.warning-notice-card section p {
  margin: 0;
  color: #344f63;
  font-size: 15px;
  line-height: 2;
}

.warning-notice-card ul {
  margin: 0;
  padding-left: 22px;
  color: #344f63;
  font-size: 15px;
  line-height: 2;
}

.warning-notice-card footer {
  padding: 14px 34px;
  color: #7b8995;
  background: #fbfdff;
}

.pollutants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  margin-top: 12px;
}

.pollutants p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  border-bottom: 1px dashed var(--line);
}

.pollutants em {
  color: var(--green);
  font-style: normal;
}

.tag-cloud,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.tag-cloud a,
.tool-grid a {
  padding: 8px 0;
  text-align: center;
  background: #f4f8fc;
  border-radius: 3px;
  color: #52677a;
}

.breadcrumb {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: #7d8791;
}

.basic-info .info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
}

.info-grid p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.hourly-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.hourly-strip div {
  min-height: 132px;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.hourly-strip span {
  display: block;
  margin: 8px 0;
  font-size: 30px;
}

.hourly-strip b,
.hourly-strip strong,
.hourly-strip em {
  display: block;
  font-style: normal;
  font-weight: 400;
}

.forecast-grid {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.forecast-grid div {
  display: grid;
  grid-template-columns: minmax(118px, 1.2fr) 58px minmax(86px, .8fr) minmax(90px, 1fr) minmax(116px, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}

.forecast-grid div:last-child {
  border-bottom: 0;
}

.forecast-grid .forecast-head {
  min-height: 40px;
  background: #f5f8fc;
  color: #657486;
  font-size: 13px;
  font-weight: 700;
}

.forecast-grid b,
.forecast-grid strong,
.forecast-grid em,
.forecast-grid small {
  min-width: 0;
  font-style: normal;
  font-weight: 400;
}

.forecast-grid span {
  line-height: 0;
}

.forecast-grid strong { font-size: 16px; color: #17212a; }
.forecast-grid small, .hourly-strip em { color: var(--muted); font-size: 12px; }

.history-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: -4px 0 12px;
  color: #5f7284;
  font-size: 13px;
}

.history-province-table .province-btn.active {
  color: var(--blue);
}

.history-city-select {
  padding-bottom: 8px;
}

.history-city-group {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid #d9e7f2;
}

.history-city-group:last-child {
  border-bottom: 0;
}

.history-city-group h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 8px;
  background: #eef7fd;
  color: #0d5d9b;
  font-size: 15px;
}

.history-city-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
}

.history-city-group a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #334759;
  font-size: 14px;
}

.history-city-group a:hover {
  border-color: #9fc5ec;
  color: var(--blue);
}

.history-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.history-detail-head h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.history-detail-head p {
  margin: 0;
  color: var(--muted);
}

.history-detail-head form {
  display: flex;
  gap: 8px;
}

.history-detail-head input,
.history-detail-head button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
}

.history-detail-head button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.history-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.history-entry strong {
  font-size: 18px;
}

.history-entry span {
  flex: 1;
  min-width: 0;
  color: #607386;
}

.history-entry a {
  flex: 0 0 auto;
  border-radius: 4px;
  padding: 7px 14px;
  background: var(--blue);
  color: #fff;
}

.history-chart {
  position: relative;
  height: 260px;
}

.history-chart svg {
  width: 100%;
  height: 220px;
  display: block;
}

.history-chart .grid {
  stroke: #edf3f9;
  stroke-width: 1;
}

.history-chart polyline,
.history-chart path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-chart .high-line {
  stroke: #ff7a1a;
}

.history-chart .low-line {
  stroke: #2f7de1;
}

.history-chart .high-dot,
.history-chart .low-dot {
  stroke: #fff;
  stroke-width: 2;
}

.history-chart .high-dot {
  fill: #ff7a1a;
}

.history-chart .low-dot {
  fill: #2f7de1;
}

.history-chart text {
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}

.history-chart .high-dot-text {
  fill: #ff7a1a;
}

.history-chart .low-dot-text {
  fill: #2f7de1;
}

.history-chart .date-label {
  fill: #7b8da0;
  font-size: 11px;
  font-weight: 400;
}

.history-chart-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #607386;
  font-size: 13px;
}

.history-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.history-chart-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.history-chart-legend .high { background: #ff7a1a; }
.history-chart-legend .low { background: #2f7de1; }

.history-empty,
.history-empty-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px dashed #cfddea;
  border-radius: 4px;
  background: #f8fbff;
  color: #758799;
}

.history-empty-chart {
  height: 220px;
}

.history-table {
  overflow-x: auto;
}

.history-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  white-space: nowrap;
}

.history-table th {
  background: #f5f8fc;
  color: #607386;
  font-weight: 700;
}

.history-table tr:last-child td {
  border-bottom: 0;
}

.history-month-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.history-month-links a {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 14px;
  background: #f8fbff;
  color: #2c6fcf;
}

.history-query-panel {
  padding: 18px 20px;
}

.history-query-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.history-query-row h1,
.history-overview-panel h2 {
  margin: 0;
  color: #1c2d3b;
  font-size: 22px;
  line-height: 1.3;
}

.history-query-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-query-form select,
.history-query-form button,
.history-month-card select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #34485b;
  font-size: 14px;
}

.history-query-form select {
  min-width: 96px;
  padding: 0 28px 0 10px;
}

.history-query-form button {
  min-width: 72px;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.history-quick-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  color: #7b8b9b;
  font-size: 13px;
  white-space: nowrap;
}

.history-quick-links a {
  color: #1e73d8;
}

.history-overview-panel {
  padding: 18px 20px;
}

.history-overview-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.history-stat-card {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: 18px 24px 16px;
  column-gap: 8px;
  align-items: center;
  min-height: 76px;
  padding: 10px 10px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.history-stat-card:last-child {
  border-right: 0;
}

.history-stat-card i {
  grid-row: 1 / 4;
  width: 30px;
  height: 44px;
  color: #2f7de1;
  font-style: normal;
  text-align: center;
}

.history-stat-card i::before {
  content: "";
  display: block;
}

.history-stat-card .thermo {
  position: relative;
  width: 20px;
  height: 44px;
  margin: 0 auto;
}

.history-stat-card .thermo::before {
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 28px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-sizing: border-box;
}

.history-stat-card .thermo::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.history-stat-card .hot { color: #ff4d45; }
.history-stat-card .cold { color: #2f9af0; }

.history-stat-card .arrow::before {
  font-size: 27px;
  line-height: 44px;
  font-weight: 400;
}

.history-stat-card .arrow.up::before {
  content: "↑";
  color: #ff4d45;
}

.history-stat-card .arrow.down::before {
  content: "↓";
  color: #2f9af0;
}

.history-stat-card .drop {
  position: relative;
  width: 24px;
  height: 44px;
  margin: 0 auto;
}

.history-stat-card .drop::before {
  position: absolute;
  left: 4px;
  top: 10px;
  width: 16px;
  height: 22px;
  border-radius: 50% 50% 55% 55%;
  background: #58aeea;
  transform: rotate(45deg);
}

.history-stat-card .sun {
  position: relative;
  width: 28px;
  height: 44px;
  margin: 0 auto;
}

.history-stat-card .sun::before {
  position: absolute;
  left: 7px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff9f1a;
  box-shadow:
    0 -11px 0 -5px #ff9f1a,
    0 11px 0 -5px #ff9f1a,
    11px 0 0 -5px #ff9f1a,
    -11px 0 0 -5px #ff9f1a,
    8px 8px 0 -5px #ff9f1a,
    -8px 8px 0 -5px #ff9f1a,
    8px -8px 0 -5px #ff9f1a,
    -8px -8px 0 -5px #ff9f1a;
}

.history-stat-card .cloud {
  position: relative;
  width: 30px;
  height: 44px;
  margin: 0 auto;
}

.history-stat-card .cloud::before {
  position: absolute;
  left: 3px;
  top: 20px;
  width: 24px;
  height: 12px;
  border-radius: 999px;
  background: #7da7c7;
}

.history-stat-card .cloud::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7da7c7;
  box-shadow: 8px 4px 0 0 #7da7c7;
}

.history-stat-card span {
  display: block;
  color: #607386;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-stat-card strong {
  display: block;
  color: #1e2f3e;
  font-size: 20px;
  line-height: 24px;
}

.history-stat-card em {
  display: block;
  min-height: 18px;
  color: #758799;
  font-size: 12px;
  line-height: 16px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-daily-table table {
  min-width: 720px;
  border: 1px solid var(--line);
}

.history-daily-table th,
.history-daily-table td {
  padding: 9px 6px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
}

.history-daily-table th:last-child,
.history-daily-table td:last-child {
  border-right: 0;
}

.history-weather-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.history-table-icon {
  width: 22px;
  height: 22px;
}

.history-neighbor-tags,
.history-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.history-neighbor-tags a,
.history-category-tags a {
  min-width: 92px;
  color: #334759;
  font-size: 14px;
}

.history-category-tags {
  gap: 10px;
}

.history-category-tags a {
  display: inline-flex;
  justify-content: center;
  min-width: 86px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4f8fd;
  color: #40566a;
}

.history-category-tags a.active {
  background: var(--blue);
  color: #fff;
}

.history-side-title {
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--blue);
  color: #1c2d3b;
  font-size: 18px;
  font-weight: 700;
}

.history-month-card select {
  width: 100%;
  padding: 0 10px;
  margin-bottom: 12px;
}

.history-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.history-month-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #40566a;
}

.history-month-grid a.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.history-side-stats h3 {
  margin: 0 0 12px;
  color: #1e73d8;
  font-size: 15px;
}

.history-side-stats p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed #d8e4ef;
  color: #607386;
  font-size: 13px;
}

.history-side-stats p:last-child {
  border-bottom: 0;
}

.history-side-stats strong {
  color: #243645;
  font-weight: 600;
  white-space: nowrap;
}

.history-hot-rank {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-hot-rank li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.history-hot-rank span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e7f0fa;
  color: #5f7284;
  font-size: 12px;
  font-weight: 700;
}

.history-hot-rank li:nth-child(-n+3) span {
  background: #ff7a1a;
  color: #fff;
}

.history-hot-rank a {
  min-width: 0;
  overflow: hidden;
  color: #334759;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-scenic-panel .scenic-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.history-scenic-panel .photo-card > img,
.history-scenic-panel .photo-card > span {
  height: 82px;
}

.history-scenic-panel .photo-card strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-scenic-panel .scenic-extra {
  font-size: 12px;
}

.daynight-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.daynight-box div {
  padding: 18px 22px;
  background: #f7fbff;
  border-right: 1px solid var(--line);
}

.daynight-box span,
.daynight-box strong,
.daynight-box em {
  display: block;
  font-style: normal;
}

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

.life-grid div {
  min-height: 104px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.life-grid b,
.life-grid strong {
  display: block;
}

.life-grid strong {
  color: var(--blue);
}

.life-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.mini-link-list li {
  display: flex;
  justify-content: space-between;
}

.mini-link-list span {
  color: var(--muted);
}

.site-footer {
  margin-top: 18px;
  color: #d7e2ee;
  background: #0b2746;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 0 0;
  color: #d7e2ee;
  font-size: 13px;
}

.friend-links strong {
  color: #fff;
  font-weight: 700;
}

.friend-links a {
  color: #c8d4df;
}

.friend-links a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr .9fr 1fr;
  gap: 38px;
  padding: 34px 0 26px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p {
  margin: 8px 0;
  color: #c8d4df;
}

.qr-row {
  display: flex;
  gap: 22px;
}

.qr-row span {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #36506a;
  background: #fff;
}

.copyright {
  padding: 16px 0;
  text-align: center;
  color: #c8d4df;
  font-size: 13px;
}

#divAll,
#divPage,
#divMiddle {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

#divTop,
#divNavBar,
#divMain,
#divSidebar,
#divBottom {
  margin: 16px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

@media (max-width: 900px) {
  .head-inner,
  .article-layout,
  .page-grid,
  .content-grid,
  .city-cloud,
  .news-feature,
  .footer-grid,
  .weather-hero {
    grid-template-columns: 1fr;
  }

  .head-inner {
    display: grid;
    gap: 14px;
  }

  .brand,
  .search-box {
    width: 100%;
    max-width: none;
  }

  .weather-article {
    padding: 18px;
  }

  .weather-article h1 {
    font-size: 22px;
  }

  .article-list-item {
    grid-template-columns: 1fr;
  }

  .article-list-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .article-hot-cities .side-hot-city-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .air-hero-body,
  .air-summary-strip,
  .air-level-explain,
  .air-health-grid {
    grid-template-columns: 1fr;
  }

  .air-hero-main {
    padding: 20px 16px;
  }

  .air-aqi-circle {
    width: 116px;
    height: 116px;
  }

  .air-core-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .air-summary-strip div {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .air-summary-strip div:last-child {
    border-bottom: 0;
  }

  .air-pollutant-row {
    grid-template-columns: 48px 38px minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .air-level-explain div {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .main-nav .wrap {
    overflow-x: auto;
  }

  .main-nav a {
    flex: 0 0 96px;
  }

  .hero-days,
  .shortcut-bar,
  .card-row,
  .international-cards,
  .hot-weather-grid,
  .basic-info .info-grid,
  .life-grid {
    grid-template-columns: 1fr 1fr;
  }

  .weather-hero-home {
    grid-template-columns: 1fr;
  }

  .weather-hero-home .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 0;
  }

  .weather-hero-home .hero-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.22);
    border-left: 0;
  }

  .weather-hero-home .hero-days div {
    padding: 16px 8px 14px;
  }

  .hero-warning-row {
    display: none;
  }

  .province-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .province-row > div {
    gap: 4px 14px;
    padding: 8px 10px;
  }

  .history-city-group {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .history-city-group h3 {
    font-size: 14px;
  }

  .history-city-group > div {
    gap: 6px;
    padding: 8px;
  }

  .history-city-group a {
    min-height: 28px;
    padding: 0 9px;
    font-size: 13px;
  }

  .history-detail-head,
  .history-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-detail-head form {
    width: 100%;
  }

  .history-detail-head input {
    flex: 1;
    min-width: 0;
  }

  .history-entry a {
    width: 100%;
    text-align: center;
  }

  .history-query-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .history-query-form {
    width: 100%;
    flex-wrap: wrap;
  }

  .history-query-form select {
    flex: 1 1 110px;
    min-width: 0;
  }

  .history-query-form button {
    flex: 0 0 72px;
  }

  .history-quick-links {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .history-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-stat-card {
    border-bottom: 1px solid var(--line);
  }

  .history-stat-card:nth-child(2n) {
    border-right: 0;
  }

  .history-hot-rank {
    grid-template-columns: 1fr;
  }

  .history-month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .history-scenic-panel .scenic-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .province-weather-cards .hot-weather-grid {
    grid-template-columns: 1fr;
  }

  .hot-city-weather .hot-weather-grid {
    grid-template-columns: 1fr;
  }

  .hot-city-weather .hot-city-trend {
    grid-template-columns: repeat(5, minmax(42px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hot-city-weather .hot-city-trend::-webkit-scrollbar {
    display: none;
  }

  .hot-city-weather .hot-city-trend i {
    min-width: 42px;
  }

  .air-detail-page .air-related-scenic .scenic-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .air-detail-page .air-related-scenic .scenic-list-card > img,
  .air-detail-page .air-related-scenic .scenic-list-card > span {
    height: 92px;
  }

  .history-chart {
    height: 230px;
  }

  .world-weather-grid {
    grid-template-columns: 1fr;
  }

  .world-weather-grid a {
    min-height: 66px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 8px 10px;
  }

  .scenic-list-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scenic-region-tabs {
    gap: 8px;
  }

  .air-filter-tabs a {
    flex: 1 1 40%;
    min-width: 0;
  }

  .air-region-grid {
    grid-template-columns: 1fr;
  }

  .air-map-legend {
    grid-template-columns: repeat(3, 1fr);
  }

  .warning-headline {
    display: block;
  }

  .warning-headline > span {
    display: block;
    margin-top: 8px;
  }

  .warning-status-tabs {
    grid-template-columns: 1fr;
  }

  .warning-filter-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .warning-filter-label {
    line-height: 1.2;
  }

  .warning-tabs a {
    flex: 1 1 42%;
    min-width: 0;
  }

  .warning-status-tabs a {
    text-align: left;
  }

  .warning-type-row a {
    flex: 1 1 44%;
    min-width: 0;
  }

  .warning-result-item {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: flex-start;
  }

  .warning-result-icon {
    width: 50px;
    height: 50px;
  }

  .warning-more {
    grid-column: 2;
    text-align: left;
  }

  .warning-result-item p {
    white-space: normal;
  }

  .warning-stat-grid,
  .warning-knowledge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .warning-notice-head {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .warning-notice-head img {
    width: 56px;
    height: 56px;
  }

  .warning-notice-head h1 {
    font-size: 20px;
  }

  .warning-notice-card section {
    padding: 18px 16px 20px;
  }

  .warning-detail-status {
    padding: 10px 16px;
  }

  .warning-notice-card footer {
    padding: 12px 16px;
  }

  .side-photo-list a {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .side-photo-list img,
  .side-news-thumb {
    width: 76px;
    height: 54px;
  }

  .side-hot-city-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenic-side-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scenic-side-list a {
    display: block;
  }

  .scenic-side-list img,
  .scenic-side-list .side-news-thumb {
    width: 100%;
    height: 48px;
  }

  .warning-map-legend {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-row {
    gap: 10px 0;
  }

  .metric-row li {
    flex: 0 0 50%;
    min-width: 0;
    padding: 0 10px;
  }

  .forecast-grid .forecast-head {
    display: none;
  }

  .forecast-grid div {
    grid-template-columns: minmax(82px, 1fr) 38px minmax(64px, .8fr) minmax(58px, .8fr);
    gap: 8px;
    padding: 10px 12px;
  }

  .forecast-grid small {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .forecast-weather-icon {
    width: 34px;
    height: 34px;
  }

  .china-map-card {
    height: 310px;
  }

  .south-china-sea-inset {
    right: 2px;
    bottom: 2px;
    width: 56px;
    height: 72px;
  }

  .south-china-sea-inset span {
    font-size: 9px;
  }
}
