:root {
  --brand: #2da1da;
  --brand-deep: #1a7eb3;
  --brand-soft: #e8f6fc;
  --bg: #eef5fb;
  --card: #ffffff;
  --text: #222;
  --muted: #6b7785;
  --line: #d7e6f2;
  --temp: #e67e22;
  --temp-lo: #2a8fd6;
  --ok: #22a06b;
  --warn: #e2a336;
  --danger: #e35d6a;
  --shadow: 0 2px 10px rgba(30, 90, 130, 0.08);
  --radius: 6px;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.tq-page, body {
  margin: 0;
  color: var(--text);
  font: 14px/1.65 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
}
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }
img { max-width: 100%; display: block; }
.tq-wrap { width: min(var(--max), calc(100% - 24px)); margin: 0 auto; }
.tq-main { padding: 16px 0 40px; }
.tq-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.tq-muted { color: var(--muted); }
.tq-note {
  background: #fff8e6; border: 1px solid #f0d78c; color: #7a5b00;
  padding: 10px 14px; border-radius: var(--radius); margin: 0 0 14px;
}

/* top: logo + search — 参考 15 天气门户 */
.tq-top { background: #fff; border-bottom: 0; }
.tq-top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 14px 0 10px;
}
.tq-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-deep) !important; font-weight: 800; font-size: 22px;
  text-decoration: none !important;
}
.tq-brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle at 70% 28%, #ffe08a 0 16%, transparent 17%),
    linear-gradient(145deg, #5bc0eb, var(--brand-deep));
  box-shadow: 0 4px 12px rgba(45, 161, 218, .35);
}
.tq-search { display: flex; align-items: stretch; flex: 1; max-width: 360px; }
.tq-search input {
  flex: 1; min-width: 0; height: 36px; padding: 0 12px;
  border: 1px solid #ccc; border-right: 0; border-radius: 10px 0 0 10px;
  font: inherit; outline: none;
}
.tq-search input:focus { border-color: var(--brand); }
.tq-search button {
  height: 36px; padding: 0 16px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 0 10px 10px 0;
}
.tq-search button:hover { background: var(--brand-deep); }

.tq-nav {
  background: var(--brand); margin-top: 4px;
}
.tq-nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  min-height: 48px; padding: 4px 0;
}
.tq-nav__inner a {
  color: #fff !important; font-weight: 700; font-size: 15px;
  padding: 8px 12px; text-decoration: none !important; border-radius: 4px;
}
.tq-nav__inner a:hover { background: rgba(255,255,255,.18); }

/* panels / blocks */
.tq-panel, .tq-block {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.tq-panel h1, .tq-panel h2 { margin: 0 0 8px; font-size: 20px; color: #1a4f7a; }
.tq-panel p { margin: 0; color: var(--muted); }
.tq-block__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
  border-left: 4px solid var(--brand); padding-left: 10px;
}
.tq-block__head h2 {
  margin: 0; font-size: 17px; color: #1a4f7a;
}
.tq-block__head a { font-size: 13px; font-weight: 600; }

/* home hero */
.tq-hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 14px;
}
.tq-hero__copy {
  background: linear-gradient(135deg, #e8f6fc, #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.tq-hero__copy h2 { margin: 0 0 8px; font-size: 22px; color: #1a4f7a; }
.tq-hero__copy > p { margin: 0 0 12px; color: var(--muted); }
.tq-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tq-hero__pills a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; font-weight: 600; color: var(--brand-deep);
  text-decoration: none !important;
}
.tq-hero__pills a:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.tq-hero__stats { display: grid; gap: 10px; }
.tq-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow);
}
.tq-stat span { display: block; color: var(--muted); font-size: 12px; }
.tq-stat strong { display: block; font-size: 18px; margin: 4px 0; color: #1a4f7a; }
.tq-stat em { font-style: normal; color: var(--muted); font-size: 13px; }
.tq-stat--hot strong { color: #d35400; }
.tq-stat--cold strong { color: #2980b9; }

/* 全国地图：左彩图 + 右主要城市（图二） */
.tq-map-board {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow);
}
.tq-map-board__map { padding: 8px 10px; background: #fafafa; }
.tq-china-map { width: 100%; }
.tq-china-map__stage {
  position: relative; width: 100%; max-width: 678px; margin: 0 auto;
  aspect-ratio: 678 / 578;
}
.tq-china-map__img {
  display: block; width: 100%; height: auto; border: 0;
}
.tq-china-map__spot {
  position: absolute; z-index: 3;
  font-size: clamp(11px, 1.55vw, 13px); font-weight: 700; line-height: 1.2;
  color: #1a1a1a !important; text-decoration: none !important;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff;
  white-space: nowrap;
}
.tq-china-map__spot:hover { color: var(--brand-deep) !important; text-decoration: underline !important; }
.tq-map-board__side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 100%; }
.tq-map-board__side-hd {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--brand); color: #fff; padding: 10px 14px; font-size: 14px;
}
.tq-map-board__side-hd strong { font-size: 15px; }
.tq-map-board__side-hd span { font-size: 13px; opacity: .95; }
.tq-map-board__cities { list-style: none; margin: 0; padding: 0; flex: 1; overflow: auto; }
.tq-map-board__cities li { border-bottom: 1px solid #e8eef4; }
.tq-map-board__cities li:last-child { border-bottom: 0; }
.tq-map-board__cities a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  text-decoration: none !important; color: inherit;
}
.tq-map-board__cities a:hover { background: #f7fbfe; }
.tq-map-board__city-main { flex: 1; min-width: 0; }
.tq-map-board__city-main strong { display: block; font-size: 16px; color: #111; margin-bottom: 2px; }
.tq-map-board__city-main em { font-style: normal; color: #333; margin-right: 8px; }
.tq-map-board__city-main i { font-style: normal; color: var(--muted); font-size: 13px; }
.tq-map-board__city-main span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.tq-map-board__cities .qy-ico { flex-shrink: 0; width: 36px; }
.tq-map-board__cities .qy-ico svg { width: 36px; height: 36px; }

.tq-map-links {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tq-map-links a {
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 600;
  padding: 3px 10px; border-radius: 4px; font-size: 13px; text-decoration: none !important;
}
.tq-map-links a:hover { background: var(--brand); color: #fff !important; }

.tq-city-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.tq-city-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; text-decoration: none !important; color: inherit;
}
.tq-city-card img { width: 100%; height: 100px; object-fit: cover; }
.tq-city-card__body { padding: 8px 10px; }
.tq-city-card__body strong { display: block; color: #1a4f7a; }
.tq-city-card__body span { color: var(--muted); font-size: 13px; }
.tq-city-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }

.tq-spot-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.tq-spot {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
  text-decoration: none !important; color: inherit; background: #fff;
}
.tq-spot img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.tq-spot strong { display: block; color: #1a4f7a; font-size: 14px; }
.tq-spot span { color: var(--muted); font-size: 12px; }

.tq-prov-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tq-prov {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
  background: #fafcfe;
}
.tq-prov__hd {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-weight: 700; color: #1a4f7a;
}
.tq-prov__hd em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12px; }
.tq-prov__lead {
  display: flex; gap: 10px; align-items: center; margin-bottom: 8px;
  text-decoration: none !important; color: inherit;
}
.tq-prov__lead img { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; }
.tq-prov__lead strong { display: block; color: #1a4f7a; }
.tq-prov__lead i { font-style: normal; color: var(--muted); font-size: 12px; }
.tq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tq-chips a {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 2px 8px; font-size: 13px; text-decoration: none !important;
}
.tq-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* crumb / place */
.tq-crumb {
  margin: 0 0 12px; color: var(--muted); font-size: 13px;
}
.tq-crumb a { color: var(--brand-deep); }

.tq-hero2 {
  display: grid; grid-template-columns: 200px 1fr 200px; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.tq-hero2__media img {
  width: 100%; height: 150px; object-fit: cover; border-radius: 6px;
}
.tq-hero2__loc { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tq-wx-pill {
  background: var(--brand-soft); color: var(--brand-deep);
  font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 600;
}
.tq-hero2 h1 { margin: 0 0 6px; font-size: 22px; color: #1a4f7a; }
.tq-hero2__temp { font-size: 42px; font-weight: 800; color: var(--temp); line-height: 1.1; }
.tq-hero2__temp small { font-size: 18px; }
.tq-hero2__feel, .tq-hero2__range { margin-top: 4px; color: var(--muted); }
.tq-temp-hi { color: #d35400; }
.tq-temp-lo { color: var(--temp-lo); }
.tq-hero2__desc { margin: 8px 0 4px; color: #444; }
.tq-hero2__time { margin: 0; color: var(--muted); font-size: 12px; }
.tq-hero2__meta { display: grid; gap: 8px; align-content: start; }
.tq-hero2__meta-row {
  background: var(--brand-soft); border-radius: 4px; padding: 8px 10px;
}
.tq-hero2__meta-txt span { display: block; font-size: 12px; color: var(--muted); }
.tq-hero2__meta-txt strong { color: #1a4f7a; }

.tq-city-layout {
  display: grid; grid-template-columns: 1fr 260px; gap: 14px;
}
.tq-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.tq-tabs a {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 12px; font-weight: 600; text-decoration: none !important; color: #333;
}
.tq-tabs a.is-on, .tq-tabs a:hover {
  background: var(--brand); color: #fff !important; border-color: var(--brand);
}

.tq-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.tq-section__hd {
  margin: 0 0 10px; border-left: 4px solid var(--brand); padding-left: 10px;
}
.tq-section__hd h2 { margin: 0; font-size: 16px; color: #1a4f7a; }

.tq-hour-wrap, .tq-day-wrap, .tq-aqi-table-wrap { overflow-x: auto; }
.tq-hour-table, .tq-day-table, .tq-aqi-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.tq-hour-table th, .tq-day-table th, .tq-aqi-table th,
.tq-hour-table td, .tq-day-table td, .tq-aqi-table td {
  border: 1px solid var(--line); padding: 8px 10px; text-align: center;
}
.tq-hour-table th, .tq-day-table th, .tq-aqi-table th {
  background: var(--brand-soft); color: #1a4f7a; font-weight: 700;
}
.tq-hour-table tr:nth-child(even), .tq-day-table tr:nth-child(even) { background: #f7fbfe; }

.tq-life {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.tq-life__card {
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: #fafcfe;
}
.tq-life__top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.tq-tag {
  display: inline-block; font-size: 12px; padding: 1px 6px; border-radius: 4px;
  background: var(--brand-soft); color: var(--brand-deep); font-style: normal;
}
.tq-tag.is-good, .tq-tag.ok { background: #e6f7ef; color: var(--ok); }
.tq-tag.is-warn, .tq-tag.warn { background: #fff6e6; color: var(--warn); }
.tq-tag.is-bad, .tq-tag.bad { background: #fdecee; color: var(--danger); }

.tq-place-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.tq-place-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px;
  background: #fff; text-decoration: none !important; color: inherit;
}
.tq-place-chip:hover { border-color: var(--brand); }
.tq-place-chip__name { font-weight: 700; color: #1a4f7a; }
.tq-place-chip em { font-style: normal; color: var(--muted); font-size: 12px; }
.tq-place-chip b { margin-left: auto; color: var(--temp); }

.tq-navlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.tq-navlinks a {
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 600;
  padding: 4px 10px; border-radius: 4px; text-decoration: none !important; font-size: 13px;
}

.tq-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tq-tag-cloud a {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 3px 8px; font-size: 13px; text-decoration: none !important;
}
.tq-side-list { display: grid; gap: 6px; }
.tq-side-list a {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: 4px; text-decoration: none !important; color: inherit;
}
.tq-side-list a span { font-weight: 600; color: #1a4f7a; }
.tq-side-list a em { font-style: normal; color: var(--muted); font-size: 12px; }
.tq-side-list a b { margin-left: auto; color: var(--temp); }

.tq-seo {
  margin-top: 16px; padding: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--muted); font-size: 13px;
}
.tq-seo h2 { margin: 0 0 6px; font-size: 15px; color: #1a4f7a; }

/* scenic hub extras */
.tq-jd-hero .tq-jd-stats {
  display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap;
}
.tq-jd-stats strong { display: block; font-size: 22px; color: var(--brand); }
.tq-jd-stats span { color: var(--muted); font-size: 12px; }
.tq-jd-prov { margin-bottom: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.tq-jd-prov__hd { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; color: #1a4f7a; }
.tq-jd-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.tq-jd-cities a {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 3px 8px; text-decoration: none !important;
}
.tq-jd-cities b { color: var(--muted); font-weight: 500; margin-left: 4px; }
.tq-spot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.tq-spot__img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.tq-spot__wx { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.tq-spot__wx b { color: var(--temp); margin-left: auto; }

/* aqi */
.tq-rank2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tq-rank-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #fff;
}
.tq-rank-card h3 { margin: 0 0 8px; font-size: 15px; color: #1a4f7a; }
.tq-rank-card ol { margin: 0; padding: 0; list-style: none; }
.tq-rank-card li {
  display: flex; align-items: center; gap: 8px; padding: 6px 0;
  border-bottom: 1px dashed var(--line); flex-wrap: wrap;
}
.tq-rank-card li:last-child { border-bottom: 0; }
.tq-pill {
  display: inline-block; font-size: 12px; padding: 1px 6px; border-radius: 4px;
  background: var(--brand-soft); color: var(--brand-deep);
}
.tq-heroimg {
  width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius);
  margin-bottom: 12px; border: 1px solid var(--line);
}
.tq-now { font-size: 18px; font-weight: 700; color: #1a4f7a; }

/* footer + 友情链接（对齐云知） */
.tq-footer {
  background: #1a4f7a; color: rgba(255,255,255,.85); padding: 24px 0 18px; margin-top: 20px;
}
.tq-footer a { color: #b8e0f5 !important; text-decoration: none !important; }
.tq-footer a:hover { color: #fff !important; text-decoration: underline !important; }
.tq-footer__label {
  flex-shrink: 0; font-weight: 700; color: #fff; margin-right: 8px; white-space: nowrap;
}
.tq-footer__flinks, .tq-footer__navrow {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px; font-size: 13px;
}
.tq-footer__flink-list {
  display: flex; flex-wrap: wrap; gap: 6px 14px; flex: 1;
}
.tq-footer__notice {
  background: rgba(255,255,255,.08); border-radius: 4px; padding: 10px 12px;
  margin-bottom: 12px; font-size: 13px;
}
.tq-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; font-size: 12px;
}

@media (max-width: 960px) {
  .tq-hero, .tq-map-board, .tq-city-layout, .tq-hero2,
  .tq-prov-grid, .tq-spot-row, .tq-spot-grid, .tq-rank2, .tq-life {
    grid-template-columns: 1fr;
  }
  .tq-map-board__map { border-right: 0; border-bottom: 1px solid var(--line); }
  .tq-hero2 { grid-template-columns: 1fr; }
  .tq-city-cards, .tq-place-grid { grid-template-columns: repeat(2, 1fr); }
  .tq-nav__inner { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .tq-top__inner { flex-direction: column; align-items: stretch; }
  .tq-search { max-width: none; }
  .tq-city-cards, .tq-place-grid, .tq-spot-row, .tq-spot-grid { grid-template-columns: 1fr; }
  .tq-nav__inner a { padding: 6px 8px; font-size: 13px; }
}
