:root {
  --brand: #7c5cbf;
  --brand-2: #8b6fd1;
  --brand-soft: #f3eefc;
  --brand-deep: #5b3d9e;
  --bg: #f5f6fa;
  --card: #ffffff;
  --text: #222733;
  --muted: #8b93a7;
  --line: #e9ecf3;
  --temp: #e67e22;
  --ok: #22a06b;
  --warn: #e2a336;
  --danger: #e35d6a;
  --shadow: 0 10px 30px rgba(40, 45, 70, 0.06);
  --radius: 16px;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.qy-page, body {
  margin: 0;
  color: var(--text);
  font: 14px/1.65 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
}
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
.qy-wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.qy-main { padding: 12px 0 40px; }
.qy-muted { color: var(--muted); }
.qy-panel {
  background: var(--card); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.qy-panel h1 { margin: 0 0 8px; font-size: 24px; }
.qy-note {
  background: var(--brand-soft); color: var(--brand-deep);
  padding: 10px 14px; border-radius: 12px; margin: 12px 0;
}

/* header */
.qy-header {
  position: sticky; top: 0; z-index: 80; overflow: visible;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.qy-header__bar {
  min-height: 64px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.qy-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-deep) !important; font-weight: 800; font-size: 20px;
}
.qy-logo__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background:
    radial-gradient(circle at 70% 30%, #ffd56a 0 18%, transparent 19%),
    linear-gradient(145deg, #a78bfa, var(--brand));
  box-shadow: 0 6px 14px rgba(124, 92, 191, .28);
}
.qy-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.qy-nav > a, .qy-dd__btn {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--text); padding: 8px 14px; border-radius: 999px;
}
.qy-nav > a:hover, .qy-nav > a.is-on, .qy-dd.is-open .qy-dd__btn {
  background: var(--brand-soft); color: var(--brand-deep);
}
.qy-dd { position: relative; }
.qy-dd__btn i {
  display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.qy-dd__panel {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  width: min(560px, 92vw); padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  grid-template-columns: repeat(4, 1fr); gap: 6px; z-index: 90;
}
.qy-dd.is-open .qy-dd__panel { display: grid; }
.qy-dd__panel a {
  text-align: center; padding: 8px; border-radius: 10px; color: var(--text); font-weight: 500;
}
.qy-dd__panel a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.qy-top-search {
  margin-left: auto; display: flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px;
}
.qy-top-search input { border: 0; outline: 0; min-width: 140px; background: transparent; }
.qy-top-search button {
  border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 700;
  color: #fff; background: linear-gradient(180deg, var(--brand-2), var(--brand));
}

/* crumb */
.qy-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  color: var(--muted); font-size: 13px; margin: 14px 0 16px;
}
.qy-crumb a { color: var(--muted); }
.qy-crumb i { font-style: normal; opacity: .5; }

/* hero2 — rainorsun city hero */
.qy-hero2 {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 220px; gap: 24px; align-items: stretch;
  background: var(--card); border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.qy-hero2__media { align-self: stretch; }
.qy-hero2__media img {
  width: 100%; height: 200px; object-fit: contain; object-position: center;
  border-radius: 14px; background: #eef1f8;
}
.qy-hero2__loc {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brand);
  font-weight: 600; margin-bottom: 6px;
}
.qy-hero2__loc .qy-meta-ico {
  width: 22px; height: 22px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--brand);
}
.qy-hero2__loc svg { width: 16px; height: 16px; }
.qy-wx-pill {
  display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: 999px;
  background: var(--brand); color: #fff !important; font-size: 12px; font-style: normal; font-weight: 700;
}
.qy-hero2 h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.25; letter-spacing: .02em; }
.qy-hero2__temp {
  font-size: 64px; font-weight: 800; line-height: 1; color: var(--text); margin: 4px 0 8px;
}
.qy-hero2__temp small { font-size: 24px; margin-left: 2px; font-weight: 700; }
.qy-hero2__feel, .qy-hero2__range { color: #4b5568; margin: 4px 0; }
.qy-hero2__feel strong, .qy-hero2__range strong { font-weight: 700; }
.qy-temp-hi { color: var(--temp) !important; font-weight: 700; font-style: normal; }
.qy-temp-lo { color: var(--brand) !important; font-weight: 700; font-style: normal; }
.qy-hero2__desc { color: #4b5568; margin: 12px 0 8px; max-width: 52ch; line-height: 1.7; }
.qy-hero2__time { color: var(--muted); font-size: 12px; margin: 0; }
.qy-hero2__meta {
  background: linear-gradient(180deg, #faf8ff, #f4f1fb);
  border-radius: 16px; padding: 14px 14px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.qy-hero2__meta-row { display: flex; align-items: center; gap: 12px; }
.qy-hero2__meta-txt { min-width: 0; }
.qy-hero2__meta-txt span { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; margin-bottom: 2px; }
.qy-hero2__meta-txt strong { display: block; font-size: 14px; color: var(--text); line-height: 1.25; }
.qy-meta-ico {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(124,92,191,.12);
}
.qy-meta-ico svg { width: 18px; height: 18px; display: block; }

/* city page two-column */
.qy-city-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start;
}
.qy-city-layout__main > .qy-tabs {
  border-radius: 18px 18px 0 0;
}
.qy-city-layout__main > .qy-tabs + .qy-section {
  margin-top: 0; border-radius: 0 0 18px 18px;
}
.qy-side-towns .qy-tag-cloud a { font-size: 12px; padding: 6px 10px; }
.qy-side-list { display: flex; flex-direction: column; gap: 8px; }
.qy-side-list a {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  background: #f8f9fc; border-radius: 10px; color: var(--text); font-size: 13px;
}
.qy-side-list a:hover { background: var(--brand-soft); }
.qy-side-list em { font-style: normal; color: var(--muted); font-size: 12px; }
.qy-side-list b { margin-left: auto; color: var(--temp); }

.qy-aqi-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.qy-aqi-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.qy-aqi-table th, .qy-aqi-table td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; }
.qy-aqi-table th { background: #f7f4ff; color: var(--brand-deep); border-top: 0; }

.qy-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0;
  border-bottom: 2px solid var(--line); padding: 0 4px;
  background: #fff; border-radius: 18px 18px 0 0; box-shadow: var(--shadow);
  padding-top: 8px; padding-left: 12px; padding-right: 12px;
}
.qy-tabs a {
  min-width: 56px; text-align: center; padding: 10px 18px;
  border-radius: 10px 10px 0 0; background: transparent; color: #6b7280;
  border: 0; font-weight: 600; margin-bottom: -2px;
}
.qy-tabs a:hover { color: var(--brand-deep); background: var(--brand-soft); }
.qy-tabs a.is-on {
  background: var(--brand); color: #fff; box-shadow: none;
}
.qy-main > .qy-tabs + .qy-section {
  margin-top: 0; border-radius: 0 0 18px 18px; box-shadow: var(--shadow);
}

/* sections */
.qy-section {
  background: var(--card); border-radius: 18px; padding: 18px 20px 20px;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.qy-section__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qy-section__hd h2 { margin: 0; font-size: 18px; }

.qy-hour-summary {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  background: linear-gradient(90deg, #f7f4ff, #f3f8ff); border-radius: 12px;
  padding: 12px; margin-bottom: 12px;
}
.qy-hour-summary span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.qy-hour-summary strong { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.qy-hour-wrap, .qy-day-wrap { overflow: auto; border-radius: 12px; border: 1px solid var(--line); }
.qy-hour-table, .qy-day-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.qy-hour-table th, .qy-day-table th {
  background: #fff; color: var(--brand-deep); font-weight: 700;
  padding: 11px 12px; text-align: left; white-space: nowrap;
  border-bottom: 2px solid var(--brand);
}
.qy-hour-table td, .qy-day-table td {
  padding: 11px 12px; border-top: 1px solid var(--line); background: #fff;
}
.qy-hour-table tr:nth-child(even) td, .qy-day-table tr:nth-child(even) td { background: #fafbfe; }
.qy-wxcell { display: inline-flex; align-items: center; gap: 8px; }
.qy-ico { width: 28px; height: 28px; display: inline-flex; flex: none; }
.qy-svg { width: 28px; height: 28px; display: block; }

/* life */
.qy-life { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qy-life__card {
  background: #fafbfe; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.qy-life__top { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.qy-life__top strong { display: block; margin-bottom: 4px; }
.qy-life-ico {
  width: 36px; height: 36px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.qy-life-ico svg { width: 18px; height: 18px; }
.qy-tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700;
}
.qy-tag.is-ok { background: #e8f8f0; color: var(--ok); }
.qy-tag.is-mid { background: #fff6e8; color: var(--warn); }
.qy-tag.is-warn { background: #fdecee; color: var(--danger); }
.qy-life__card p { margin: 0; color: var(--muted); font-size: 13px; }

/* place chips */
.qy-place-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.qy-place-chip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fafbfe; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; color: var(--text);
}
.qy-place-chip:hover { border-color: #d5c8f2; background: #fff; }
.qy-place-chip__name { font-weight: 700; }
.qy-place-chip em { color: var(--muted); font-style: normal; font-size: 13px; }
.qy-place-chip b { margin-left: auto; color: var(--temp); font-size: 16px; }

.qy-tag-cloud {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.qy-tag-cloud a {
  display: inline-block; padding: 7px 12px; border-radius: 8px;
  background: #f5f6fa; border: 1px solid var(--line); color: #4b5563; font-size: 13px;
}
.qy-tag-cloud a:hover { border-color: #d5c8f2; color: var(--brand-deep); background: #fff; }

.qy-navlinks { display: flex; flex-wrap: wrap; gap: 10px; }
.qy-navlinks a {
  background: var(--brand-soft); color: var(--brand-deep); padding: 8px 12px; border-radius: 999px; font-weight: 600;
}
.qy-seo {
  background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); margin-top: 8px;
}
.qy-seo h2 { margin: 0 0 10px; font-size: 18px; }

/* homepage */
.qy-hero-search { text-align: center; padding: 42px 8px 18px; }
.qy-hero-search h1 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 34px); }
.qy-hero-search > p { margin: 0 auto 20px; color: var(--muted); max-width: 760px; }
.qy-hero-search__form {
  max-width: 560px; margin: 0 auto 16px; display: flex; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px;
  box-shadow: var(--shadow);
}
.qy-hero-search__form input {
  flex: 1; border: 0; outline: 0; padding: 12px 18px; font-size: 16px; background: transparent;
}
.qy-hero-search__form button {
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; font-weight: 700;
  color: #fff; background: linear-gradient(180deg, var(--brand-2), var(--brand));
}
.qy-quick-cities, .qy-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.qy-quick-cities a, .qy-pills a { color: #6b7280; padding: 4px 6px; font-size: 14px; font-weight: 500; }
.qy-quick-cities a:hover, .qy-pills a:hover { color: var(--brand-deep); }

.qy-block { margin: 28px 0; }
.qy-block__head, .qy-block__title { margin-bottom: 14px; }
.qy-block__head { display: flex; justify-content: space-between; align-items: center; }
.qy-block__head h2, .qy-block__title {
  margin: 0; font-size: 20px; display: inline-flex; align-items: center; gap: 8px;
}
.qy-block__head a { color: var(--muted); font-size: 13px; }
.qy-block__head a:hover { color: var(--brand-deep); }
.qy-ico-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,92,191,.18); flex: none;
}

.qy-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qy-glance__card {
  background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  border-top: 3px solid var(--brand); display: flex; flex-direction: column; gap: 6px;
  color: inherit; text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}
.qy-glance__card:hover, .qy-glance__card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(40, 45, 70, .12);
  color: inherit;
}
.qy-glance__card span { color: var(--muted); font-size: 13px; }
.qy-glance__card strong { font-size: 20px; }
.qy-glance__card em { font-style: normal; color: var(--muted); font-size: 13px; }
.qy-glance__card--hot { border-top-color: #ef4444; }
.qy-glance__card--cold { border-top-color: #60a5fa; }
.qy-glance__card--rain { border-top-color: #8b5cf6; }
.qy-glance__card--air { border-top-color: #22c55e; }

.qy-feat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qy-feat4__card {
  background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
  color: inherit; min-height: 128px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}
.qy-feat4__card:hover, .qy-feat4__card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(40, 45, 70, .12);
  color: inherit;
}
.qy-feat4__top { display: flex; justify-content: space-between; align-items: flex-start; }
.qy-feat4__top strong { font-size: 16px; }
.qy-feat4__card em { font-style: normal; color: var(--muted); font-size: 13px; }
.qy-feat4__card b { margin-top: auto; font-size: 28px; color: var(--temp); font-weight: 800; }

.qy-hot24 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qy-hot24__item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qy-hot24__item:hover, .qy-hot24__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(40, 45, 70, .1);
  color: inherit;
}
.qy-hot24__item span { font-weight: 700; min-width: 2.5em; }
.qy-hot24__item b { margin-left: auto; color: var(--temp); font-size: 16px; }

.qy-spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qy-spot {
  background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  color: inherit; display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}
.qy-spot:hover, .qy-spot:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(40, 45, 70, .12);
  color: inherit;
}
.qy-spot span { color: var(--muted); font-size: 13px; }
.qy-spot__wx { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.qy-spot__wx em { font-style: normal; color: var(--muted); }
.qy-spot__wx b { margin-left: auto; color: var(--temp); font-size: 20px; }

@media (prefers-reduced-motion: reduce) {
  .qy-glance__card, .qy-feat4__card, .qy-hot24__item, .qy-spot {
    transition: none;
  }
  .qy-glance__card:hover, .qy-feat4__card:hover, .qy-hot24__item:hover, .qy-spot:hover,
  .qy-glance__card:focus-visible, .qy-feat4__card:focus-visible, .qy-hot24__item:focus-visible, .qy-spot:focus-visible {
    transform: none;
  }
}

.qy-rank2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qy-rank-card {
  background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow);
}
.qy-rank-card h3 { margin: 0 0 12px; font-size: 16px; }
.qy-rank-card--good h3 { color: var(--ok); }
.qy-rank-card--bad h3 { color: var(--danger); }
.qy-rank-card ol { list-style: none; margin: 0; padding: 0; }
.qy-rank-card li {
  display: grid; grid-template-columns: 28px minmax(0,1.2fr) minmax(0,.9fr) auto auto; gap: 8px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line);
}
.qy-rank-card li:first-of-type { border-top: 0; }
.qy-rank-n {
  width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; background: #94a3b8;
}
.qy-rank-card--good .qy-rank-n { background: #22a06b; }
.qy-rank-card--bad .qy-rank-n { background: #e35d6a; }
.qy-rank-card li b { color: var(--text); font-variant-numeric: tabular-nums; }
.qy-pill {
  display: inline-block; min-width: 52px; text-align: center; padding: 2px 8px;
  border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700;
  background: #eef2f7; color: #64748b;
}
.qy-pill.is-good { background: #e8f8f0; color: var(--ok); }
.qy-pill.is-ok { background: #eef8ff; color: #3b82f6; }
.qy-pill.is-light { background: #fff6e8; color: var(--warn); }
.qy-pill.is-mid, .qy-pill.is-bad { background: #fdecee; color: var(--danger); }
.qy-rank-empty { color: var(--muted); padding: 12px 0 !important; display: block !important; border: 0 !important; }

.qy-trend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qy-trend__card {
  background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); color: inherit;
}
.qy-trend__hd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.qy-trend__hd em { font-style: normal; color: var(--muted); font-size: 13px; }
.qy-trend__hd b { margin-left: auto; color: var(--temp); font-size: 18px; }
.qy-trend__chart { height: 44px; margin: 4px 0 8px; }
.qy-trend__chart svg { width: 100%; height: 100%; display: block; }
.qy-trend__range { color: var(--muted); font-size: 12px; }

.qy-prov-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(40,45,70,.03);
}
.qy-prov-panel__hd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.qy-prov-panel__title { font-size: 18px; font-weight: 800; color: var(--text); }
.qy-prov-panel__hd small { color: var(--muted); }
.qy-prov-panel__lead {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 8px 0 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; color: #4b5563;
}
.qy-prov-panel__lead em { font-style: normal; }
.qy-prov-panel__lead b { color: var(--temp); font-size: 16px; }
.qy-air-mini {
  margin-left: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px;
  background: #eef8ff; color: #3b82f6;
}
.qy-prov-panel__cities {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px 10px;
}
.qy-prov-panel__cities a {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 6px 8px; border-radius: 8px; color: #4b5563; background: #f8f9fc;
}
.qy-prov-panel__cities a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.qy-prov-panel__cities b { color: var(--temp); font-weight: 700; font-variant-numeric: tabular-nums; }

.qy-prov-grid3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.qy-prov-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 4px 14px rgba(40,45,70,.03);
}
.qy-prov-card__hd {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.qy-prov-card__title { font-size: 17px; font-weight: 800; color: var(--text); }
.qy-prov-card__more {
  font-size: 12px; color: var(--muted); background: #f3f4f8; padding: 3px 8px; border-radius: 999px;
}
.qy-prov-card__lead {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(90deg, #f7f4ff, #f3f8ff); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.qy-prov-card__lead > a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text); flex-wrap: wrap;
}
.qy-prov-card__lead em { font-style: normal; color: var(--muted); font-size: 13px; }
.qy-prov-card__lead b { color: var(--temp); font-size: 18px; font-weight: 800; }
.qy-prov-card__cities {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px dashed #e4e7ee;
}
.qy-prov-card__cities a {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  padding: 8px 10px; color: #4b5563;
  border-bottom: 1px dashed #e4e7ee;
  border-right: 1px dashed #e4e7ee;
  transition: background .15s ease, color .15s ease;
}
.qy-prov-card__cities a:nth-child(2n) { border-right: 0; }
.qy-prov-card__cities a:last-child { border-bottom: 0; border-right: 0; }
.qy-prov-card__cities a:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.qy-prov-card__cities a:hover, .qy-prov-card__cities a:focus-visible {
  background: var(--brand-soft); color: var(--brand-deep);
}
.qy-prov-card__cities .qy-ico { width: 20px; height: 20px; }
.qy-prov-card__cities .qy-svg { width: 20px; height: 20px; }
.qy-prov-card__cities b { margin-left: auto; color: var(--temp); font-weight: 700; }

.qy-footer {
  margin-top: 28px; padding: 22px 0 32px; background: #fff; border-top: 1px solid var(--line);
}
.qy-footer__row {
  display: flex; align-items: flex-start; gap: 8px 12px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px solid #eef1f6;
}
.qy-footer__label { color: var(--muted); flex: none; line-height: 1.8; }
.qy-footer__flinks, .qy-footer__nav, .qy-footer__links {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; min-width: 0;
}
.qy-footer__flinks a { color: var(--brand-deep); }
.qy-footer__flinks a:hover { color: var(--brand); }
.qy-footer__nav a, .qy-footer__links a { color: #6b7280; }
.qy-footer__nav a:hover, .qy-footer__links a:hover { color: var(--brand-deep); }
.qy-footer__meta {
  padding-top: 18px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.8;
}
.qy-footer__brand-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text); margin-bottom: 4px;
}
.qy-footer__mark {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 70% 30%, #ffd56a 0 18%, transparent 19%),
    linear-gradient(145deg, #a78bfa, var(--brand));
}
.qy-footer__beian { margin: 2px 0; }
.qy-footer__beian a { color: var(--muted); }
.qy-footer__beian a:hover { color: var(--brand-deep); }
.qy-footer__disc { color: var(--muted); }
.qy-footer__bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.qy-footer__notice { color: var(--muted); margin-bottom: 12px; }
.qy-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.qy-footer__brand { font-weight: 800; color: var(--brand-deep); margin-bottom: 6px; }

/* 兼容旧首页类名（防止只更新了 CSS 未更新 PHP 时图卡竖排错乱） */
.qy-search {
  margin-left: auto; display: flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px;
}
.qy-search input { border: 0; outline: 0; min-width: 140px; background: transparent; }
.qy-search button {
  border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 700;
  color: #fff; background: linear-gradient(180deg, var(--brand-2), var(--brand));
}
.qy-hero { text-align: center; padding: 36px 8px 12px; }
.qy-hero h1, .qy-hero h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 32px); }
.qy-hero > p { margin: 0 auto 16px; color: var(--muted); max-width: 720px; }
.qy-hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.qy-hero__pills a { color: #6b7280; font-weight: 500; }
.qy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qy-stat {
  background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.qy-stat span { color: var(--muted); font-size: 13px; }
.qy-stat strong { font-size: 18px; }
.qy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qy-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: inherit;
}
.qy-card img { width: 100%; height: 140px; object-fit: cover; background: #eef1f8; }
.qy-card__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.qy-card__body span { color: var(--muted); font-size: 13px; }
.qy-prov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qy-prov {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.qy-prov__title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 800; }
.qy-prov__count { color: var(--muted); font-weight: 500; font-size: 13px; }
.qy-prov__lead {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: inherit;
}
.qy-prov__lead img { width: 72px; height: 52px; object-fit: cover; border-radius: 8px; }
.qy-prov__lead em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.qy-chips { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.qy-chips a { color: #4b5563; }
.qy-chips a:hover { color: var(--brand-deep); }
.qy-panel__desc { margin: 0; color: var(--muted); }
.qy-jd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.qy-jd-stats div {
  background: #f7f5fc; border-radius: 14px; padding: 14px 8px; text-align: center;
}
.qy-jd-stats strong { display: block; font-size: 28px; line-height: 1.1; color: var(--brand); }
.qy-jd-stats span { color: var(--muted); font-size: 13px; }
.qy-jd-prov {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 12px;
}
.qy-jd-prov__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.qy-jd-prov__hd strong { font-size: 16px; }
.qy-jd-prov__hd span { color: var(--muted); font-size: 13px; }
.qy-jd-cities { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.qy-jd-cities a { color: #4b5563; }
.qy-jd-cities a:hover { color: var(--brand-deep); }
.qy-jd-cities b { color: var(--brand); margin-left: 4px; font-weight: 700; }
@media (max-width: 560px) {
  .qy-jd-stats { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .qy-hero2 { grid-template-columns: 1fr; }
  .qy-city-layout { grid-template-columns: 1fr; }
  .qy-prov-grid3 { grid-template-columns: 1fr; }
  .qy-hour-summary, .qy-glance, .qy-feat4, .qy-hot24, .qy-spot-grid, .qy-life, .qy-place-grid, .qy-trend, .qy-rank2,
  .qy-grid, .qy-stats, .qy-prov-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qy-prov-panel__cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .qy-footer__grid { grid-template-columns: 1fr; }
  .qy-dd__panel {
    position: fixed; left: 12px; right: 12px; top: 72px; width: auto;
    max-height: calc(100vh - 88px); overflow: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .qy-dd__panel a { padding: 8px 4px; font-size: 13px; }
}
@media (max-width: 560px) {
  .qy-dd__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qy-hour-summary, .qy-glance, .qy-feat4, .qy-hot24, .qy-spot-grid, .qy-life, .qy-place-grid, .qy-trend, .qy-rank2,
  .qy-grid, .qy-stats, .qy-prov-grid, .qy-prov-card__cities {
    grid-template-columns: 1fr;
  }
  .qy-prov-panel__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qy-hero2 h1 { font-size: 22px; }
  .qy-hero2__temp { font-size: 48px; }
  .qy-section { margin-top: 14px; }
}
