/* Visual pass matched to the six BMPs mockups. */

:root {
  --ink: #3e4632;
  --ink-2: #4e4638;
  --muted: #6d6556;
  --muted-2: #8a8172;
  --primary: #536D43;
  --primary-dark: #3e5232;
  --primary-light: #e7efe0;
  --primary-bg: #F7F5EC;
  --gold: #C4A46A;
  --sage: #8FAA78;
  --bark: #5C5346;
  --ivory: #F7F5EC;
  --border: #e6e0d2;
  --border-2: #ddd4c2;
  --paper: #F7F5EC;
}

body {
  background:
    radial-gradient(820px 380px at 0% 100%, rgba(196, 164, 106, .28), transparent 60%),
    radial-gradient(720px 320px at 100% 0%, rgba(143, 170, 120, .32), transparent 55%),
    radial-gradient(480px 240px at 70% 80%, rgba(92, 83, 70, .08), transparent 70%),
    var(--ivory);
  color: var(--ink);
}

.v8-app { padding-bottom: 28px; }
body[data-page="overview"] .v8-app { padding-bottom: 96px; }
.v8-crumbs[hidden] { display: none !important; }
body:not([data-page="overview"]) .v8-dock { display: none; }
.v8-hero-badge span, .v8-hero-badge .num { display: inline; }
.v8-hero-badge b { display: block; font-size: 16px; line-height: 1.2; }
.v8-hero-badge .num { font-size: 22px; }

.v8-sidenav {
  width: 86px;
  background: transparent;
  border-right: none;
  padding-top: 18px;
  justify-content: center;
  position: sticky;
}
.v8-sn-logo { display: none; }
.v8-sn-item {
  width: 64px;
  height: auto;
  min-height: 58px;
  padding: 8px 4px 7px;
  border-radius: 16px;
  gap: 4px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(24, 52, 36, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.v8-sn-item span {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}
body[data-page="home"] .v8-sidenav { width: 92px; }
body[data-page="home"] .v8-sn-item { width: 72px; min-height: 64px; border-radius: 16px; }
body[data-page="home"] .v8-sn-item.is-active {
  background: #2f6d45;
  color: #fff;
  box-shadow: 0 10px 18px rgba(47, 109, 69, .22);
}
body[data-page="home"] .v8-sn-item.is-active::before { display: none; }
body:not([data-page="home"]) .v8-sn-item.is-active {
  background: #2f6d45;
  color: #fff;
  box-shadow: 0 10px 18px rgba(47, 109, 69, .22);
}
body:not([data-page="home"]) .v8-sn-item.is-active::before { display: none; }

.v8-topbar {
  background: transparent;
  border-bottom: none;
  padding: 14px 22px 6px;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
  flex-wrap: nowrap;
  align-items: center;
}
.brand { flex: 1; }
.brand-text strong { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; position: relative; z-index: 2; }
.brand-mark { width: 52px; height: 52px; flex: none; background: #fff; border: 1px solid #e8e2d4; border-radius: 12px; overflow: hidden; padding: 2px; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { display: grid; gap: 2px; min-width: 0; }
.brand-text strong { font-size: 16px; font-weight: 750; color: #1d4634; letter-spacing: .01em; }
.brand-text small { font-size: 12px; color: #6d8478; }
.brand-text .ver {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e5f6e8;
  color: #2f6d45;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 2px;
}
body[data-page="home"] .brand-app,
body:not([data-page="home"]) .brand-home { display: none; }
.v8-top-actions { position: relative; z-index: 2; }
.v8-top-search {
  background: rgba(255,255,255,.9);
  border-color: #e1ebe3;
  box-shadow: 0 6px 16px rgba(40, 70, 50, .05);
}
.v8-top-user { background: #fff; box-shadow: 0 6px 16px rgba(40, 70, 50, .05); }

.v8-page { padding: 0 18px 28px; }

.v8-hero {
  margin: 6px 0 0;
  min-height: 292px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(36, 72, 48, .12);
}
.v8-hero-bg { background-position: center 46%; }
.v8-hero-mask {
  background: linear-gradient(100deg, rgba(18, 52, 34, .42) 0%, rgba(18, 52, 34, .16) 34%, rgba(18, 52, 34, 0) 62%);
}
.v8-hero-inner { padding: 42px 48px 36px; max-width: 760px; }
.v8-hero-tag { display: none; }
.v8-hero-inner h1 {
  font-family: var(--sans);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.v8-hero-inner > p { font-size: 15px; margin-bottom: 22px; color: rgba(255,255,255,.92); }
.v8-hero-btn {
  background: rgba(255,255,255,.88);
  color: #1d4634;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.v8-hero-btn--primary { background: #fff; }
.v8-hero-stats { display: none; }
.v8-hero-badge {
  right: 28px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: rgba(255,255,255,.9);
  color: #1d4634;
  border: none;
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 12px 28px rgba(20, 40, 24, .12);
}
.v8-hero-badge b { font-size: 18px; font-weight: 800; }
.v8-hero-badge .num { font-size: 28px; color: #2f6d45; }
.v8-hero-badge em { color: #6d8478; font-size: 12px; }
.badge-leaf {
  width: 36px; height: 36px; border-radius: 12px;
  background: #e7f4ea; color: #2f6d45;
  display: grid; place-items: center;
}

.v8-block-head h2 { font-size: 20px; }
.v8-block-head h2::before {
  content: "";
  display: inline-block;
  width: 4px; height: 16px;
  margin-right: 8px;
  border-radius: 4px;
  background: #2f6d45;
  vertical-align: -2px;
}

.v8-region-card {
  border: none;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(40, 70, 50, .08);
}
.v8-region-card--rec {
  outline: 2px solid #3d8c5c;
  outline-offset: 0;
  box-shadow: 0 16px 36px rgba(47, 109, 69, .16);
}
.v8-region-rec {
  top: 0; right: 0;
  border-radius: 0 22px 0 14px;
  background: #3d8c5c;
  padding: 6px 12px;
}
.v8-region-cover { height: 210px; }
.v8-region-body h3 { font-size: 18px; }
.v8-region-cta {
  background: #2c6840;
  border-radius: 999px;
  height: 42px;
}
.v8-region-card--rec .v8-region-cta { background: #2f6d45; }

.v8-block--overview .v8-overview-grid {
  background: #fff;
  border-radius: 24px;
  padding: 18px 8px;
  box-shadow: 0 10px 28px rgba(40, 70, 50, .06);
  gap: 0;
}
.v8-ov-total, .v8-ov-ring, .v8-ov-pollutants, .v8-ov-4r {
  border: none;
  background: transparent;
  border-radius: 0;
}
.v8-ov-ring, .v8-ov-pollutants, .v8-ov-4r { border-left: 1px solid #e7efe8; }
.v8-ov-num { color: #2f6d45; font-size: 56px; }

.q-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 14px;
}
.q-head h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; color: #1d4634; }
.q-head h2 .icon { color: #2f6d45; }
.q-head p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.q-switch { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 8px 20px rgba(40,70,50,.06); }
.q-switch .v8-subnav-btn {
  border: none;
  background: transparent;
  color: #5e7a6c;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
}
.q-switch .v8-subnav-btn.is-active { background: #2f6d45; color: #fff; }

.v8-kpi--primary {
  background: linear-gradient(160deg, #2f8a58, #1f5c38);
  color: #fff;
  border: none;
}
.v8-kpi--primary .v8-kpi-ico { background: rgba(255,255,255,.16); color: #fff; }
.v8-kpi--primary .v8-kpi-num, .v8-kpi--primary i { color: #fff; }
.v8-kpi { border: none; box-shadow: 0 8px 20px rgba(40,70,50,.05); border-radius: 18px; }

.v8-filter, .v8-results-area, .v8-detail-list, .v8-detail-panel, .v8-block--maint {
  border: none;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(40, 70, 50, .06);
}
.v8-btn-primary, .v8-region-cta { background: #2f6d45; }
.v8-btn-primary:hover, .v8-region-cta:hover { background: #245638; }

.v8-table { font-size: 13px; }
.v8-table thead th { background: #f6faf7; color: #5d786b; font-weight: 650; }
.cat-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f4ea;
  color: #2f6d45;
  font-size: 12px;
  font-weight: 700;
}
.cat-tag.过程阻断 { background: #e7f0f8; color: #3d6f99; }
.cat-tag.源头减量 { background: #f8f1df; color: #9a7430; }
.cat-tag.养分再利用 { background: #eef6e4; color: #5d7a32; }
.rate-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.rate-pill {
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef6f0;
  color: #2f6d45;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rate-NH3N { background: #e8f2fb; color: #3d6f99; }
.rate-TN { background: #f8f1df; color: #9a7430; }
.rate-COD { background: #f3eee8; color: #7a6248; }
.cell-name b { font-weight: 700; color: #1d4634; }
.v8-th-act button {
  width: 28px; height: 28px; border-radius: 8px;
  color: #6d8478; font-size: 18px;
}
tr.is-selected { background: #f3faf4; }

.v8-detail-head h2 { font-size: 28px; color: #1d4634; }
.v8-scene-img { border-radius: 18px; min-height: 210px; }
.v8-poll-ring b, .v8-poll-ring .num { color: #1d4634; }

.v8-ov-map-svg { width: 100%; height: auto; border-radius: 18px; background: #f3faf4; }
.v8-dock {
  background: rgba(255,255,255,.92);
  border: 1px solid #e4eee6;
  box-shadow: 0 16px 40px rgba(30, 60, 40, .12);
  border-radius: 22px;
}
.v8-dock-item.is-active { color: #2f6d45; }

.bot-fab {
  position: fixed;
  left: 10px;
  bottom: 10px;
  right: auto;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  cursor: grab;
  touch-action: none;
  transition: filter .2s ease;
}
.bot-fab:hover { background: transparent; transform: none; filter: drop-shadow(0 0 12px rgba(47, 109, 69, .2)); }
.bot-fab.is-drag { cursor: grabbing; }
.bot-fab-ava {
  width: var(--bot-w, 84px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 14px rgba(30, 60, 40, .22));
  pointer-events: none;
  display: block;
}
.bot-fab-resize {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.6px solid #2f6d45;
  box-shadow: 0 2px 6px rgba(30, 60, 40, .22);
  cursor: nwse-resize;
  opacity: 0;
  transition: opacity .2s ease;
}
.bot-fab:hover .bot-fab-resize,
.bot-fab.is-resizing .bot-fab-resize { opacity: 1; }
.bot-fab.is-resizing { cursor: nwse-resize; }
body.bot-open .bot-fab { opacity: 1; pointer-events: auto; transform: none; }
.bot-panel { right: auto; left: 104px; bottom: 16px; }

.export-stage {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(232, 240, 234, .55);
  backdrop-filter: blur(2px);
}
.export-stage[hidden] { display: none; }
.export-toast {
  position: absolute;
  top: 78px; right: 28px;
  width: 320px;
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 16px 40px rgba(30,60,40,.16);
  border-left: 4px solid #2f6d45;
}
.export-toast b { display: block; color: #1d4634; }
.export-toast p { margin: 2px 0 0; font-size: 12px; color: #5d786b; }
.export-toast-ico {
  width: 28px; height: 28px; border-radius: 50%;
  background: #2f6d45; color: #fff;
  display: grid; place-items: center; flex: none;
}
.export-toast button { margin-left: auto; color: #6d8478; }
.save-dialog {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 80px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(20,40,30,.28);
  overflow: hidden;
}
.save-dialog header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f4f7f5;
  font-weight: 700;
}
.save-dialog .xls {
  width: 18px; height: 18px; border-radius: 3px;
  background: #1f7a45; color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.save-path { padding: 8px 14px; font-size: 12px; color: #5d786b; border-bottom: 1px solid #e7efe8; }
.save-body { padding: 8px 14px 12px; }
.save-body ul { display: grid; gap: 6px; font-size: 13px; }
.save-body li.is-on { background: #e7f4ea; border-radius: 6px; padding: 4px 8px; }
.save-file { display: flex; align-items: center; gap: 8px; padding: 0 14px 12px; font-size: 13px; }
.save-file input { flex: 1; height: 32px; border: 1px solid #cfe0d4; border-radius: 6px; padding: 0 8px; }
.save-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 14px 14px; }
.save-actions button { height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid #d5e3da; background: #fff; }
.save-actions .is-primary { background: #2f6d45; color: #fff; border-color: #2f6d45; }
.export-side { position: absolute; left: 22px; bottom: 28px; display: grid; gap: 12px; width: 230px; }
.export-progress, .export-summary {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 12px 30px rgba(30,60,40,.1);
}
.export-progress b { font-size: 28px; color: #2f6d45; }
.export-progress ol { margin: 8px 0 0; padding-left: 18px; font-size: 12px; color: #5d786b; }
.export-progress li.is-on { color: #2f6d45; font-weight: 700; }
.export-summary h3 { font-size: 14px; margin-bottom: 6px; }
.export-summary p { font-size: 12px; color: #5d786b; margin-top: 3px; }

@font-face {
  font-family: "演示新手书";
  src: url("fonts/demo-xinshou.otf") format("opentype");
  font-display: swap;
}

.v8-hero-inner h1,
.q-head h2,
.v8-block-head h2,
.v8-ov-map-head h3,
.brand-text strong {
  font-family: "演示新手书", "Songti SC", serif;
  letter-spacing: .02em;
}

.v8-hero { min-height: 340px; border-radius: 28px; }
.v8-hero-inner { padding: 36px 250px 32px 48px; max-width: none; }
.v8-hero-inner h1 { font-size: 58px; line-height: 1.05; text-shadow: 0 2px 18px rgba(12, 40, 24, .28); }
.v8-hero-inner p { font-size: 18px; }
.v8-hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.34) 48%, transparent 60%);
  animation: heroSheen 6.5s ease-in-out infinite;
}
@keyframes heroSheen {
  0% { transform: translateX(-55%); }
  55%, 100% { transform: translateX(55%); }
}
.v8-hero-badge { min-width: 210px; padding: 16px 20px; }
.v8-hero-badge b { font-size: 26px; font-family: "演示新手书", serif; }

.v8-region-body h3 { font-family: "演示新手书", serif; font-size: 28px; line-height: 1.2; }
.v8-region-body p { font-size: 15px; }
.v8-region-meta b { font-size: 20px; }
.v8-region-cta { height: 46px; font-size: 16px; }

.v8-ov-num { font-size: 64px !important; font-family: "Songti SC", SimSun, STSong, serif; }
.v8-ring-wrap { min-width: 0; }
.v8-ring-svg { width: 136px; height: 136px; }
.v8-ring-svg circle { stroke-width: 16; }
.v8-ring-center b.num { font-size: 32px; font-family: "Songti SC", SimSun, STSong, serif; line-height: 1; }
.v8-ring-legend li { font-size: 14px; }
.v8-pol-bar { height: 16px; border-radius: 999px; }
.v8-pol-bar i { border-radius: 999px; }
.v8-pol-list li { font-size: 14px; }
.v8-pol-list b.num { font-size: 22px; }

.v8-ov-bar-chart { height: 188px; gap: 8px; align-items: stretch; overflow: hidden; }
.v8-ov-bar { height: 100%; min-width: 0; justify-content: flex-end; }
.v8-ov-bar-track { flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; }
.v8-ov-bar-fill {
  width: min(42px, 78%);
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #2f7a4a, #8fce7a);
  box-shadow: inset 0 8px 12px rgba(255,255,255,.28);
  flex: none;
}
.v8-ov-bar:nth-child(2) .v8-ov-bar-fill { background: linear-gradient(180deg, #3d8a58, #a5d98a); }
.v8-ov-bar:nth-child(3) .v8-ov-bar-fill { background: linear-gradient(180deg, #6aaa62, #c5e6a4); }
.v8-ov-bar:nth-child(4) .v8-ov-bar-fill { background: linear-gradient(180deg, #8fbf6a, #d7efb4); }
.v8-ov-bar i { font-size: 16px; font-family: "Songti SC", SimSun, STSong, serif; }
.v8-ov-bar b { font-size: 13px; }
.v8-ring-wrap--sm .v8-ring-svg,
.v8-ring-wrap--sm .v8-ring-center { width: 150px; height: 150px; }

.q-lift {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 12px 0 4px; padding: 14px 18px; border-radius: 16px;
  background: #fff; border: 1px solid #e3ebe4;
}
.q-lift b { display: block; font-size: 15px; margin-bottom: 8px; }
.q-lift-track { height: 14px; border-radius: 999px; background: #e6efe6; position: relative; overflow: hidden; width: min(520px, 46vw); }
.q-lift-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 78%; border-radius: 999px; background: linear-gradient(90deg, #9dcf8a, #2f7a4a); }
.q-lift span { font-size: 12px; color: #6d8478; margin-right: 14px; }
.q-lift em { font-style: normal; font-family: "Songti SC", SimSun, STSong, serif; font-size: 32px; color: #2f7a4a; text-align: right; }
.q-lift small { display: block; font-family: inherit; font-size: 12px; color: #6d8478; }

.field-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-duo figure {
  height: 120px; border-radius: 14px; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.field-duo figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.9); font-size: 12px; font-weight: 700;
}
.v8-scene-img { min-height: 280px; background-size: cover; }

.v8-kpi-num { font-size: 32px !important; line-height: 1.05; font-family: "Songti SC", SimSun, STSong, serif !important; }
.v8-region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v8-overview-grid { grid-template-columns: minmax(150px, 190px) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.v8-query-grid { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
.v8-detail-layout { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
.v8-kpi-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.v8-4r-item b, .v8-r-num { font-size: 26px; font-family: "Songti SC", SimSun, STSong, serif; }

.v8-hero-mask {
  background: linear-gradient(100deg, rgba(247, 245, 236, .78) 0%, rgba(247, 245, 236, .35) 36%, rgba(247, 245, 236, 0) 64%);
}
.v8-hero-inner,
.v8-hero-inner h1,
.v8-hero-inner p { color: #163c32; }
.v8-hero-btn { color: #234233; background: rgba(255,255,255,.88); }
.v8-hero { min-height: 360px; }
.q-head h2 { font-size: 32px; color: #163c32; }
.v8-hero::after { z-index: 1; }

/* 数字用宋体，并保证落在图形正中、卡片内部 */
.num, .v8-kpi-num, .v8-ring-center b, .v8-ov-num, .v8-4r-item b,
.v8-ov-bar i, .v8-poll-ring b, .v8-ov-kpi-card b, .q-lift em {
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif !important;
}
.v8-main, .v8-page, .v8-overview-layout, .v8-overview-grid, .v8-kpi-row { min-width: 0; max-width: 100%; }
.v8-ov-total, .v8-ov-ring, .v8-ov-pollutants, .v8-ov-4r,
.v8-ov-right, .v8-ov-right-card, .v8-ov-map-area, .v8-ov-map-card, .v8-kpi { min-width: 0; overflow: hidden; }
.v8-overview-layout {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(220px, 300px);
  width: 100%;
}
.v8-ring-wrap { position: relative; align-items: center; }
.v8-ring-wrap > .v8-ring-center {
  position: absolute; top: 0; left: 0; width: 136px; height: 136px; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.v8-ring-center i { display: none; }
.v8-ring-wrap--sm > .v8-ring-svg,
.v8-ring-wrap--sm > .v8-ring-center { width: 112px; height: 112px; }
.v8-ring-legend { min-width: 0; }
.v8-ring-legend li { font-size: 14px; min-width: 0; }
.v8-ring-legend li b.num, .v8-ring-legend li i { font-size: 14px; }
.v8-kpi { gap: 14px; padding: 16px; }
.v8-kpi > div { min-width: 0; }
.v8-kpi i { font-size: 14px; line-height: 1.35; }
.v8-kpi-ico { width: 44px; height: 44px; border-radius: 12px; }
.v8-pol-list li { grid-template-columns: minmax(72px, 96px) minmax(0, 1fr) auto auto; font-size: 14px; }
.v8-pol-list b.num { font-size: 18px; }
.v8-ov-bar { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.v8-ov-bar i { order: 1; }
.v8-ov-bar-track { order: 2; flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; }
.v8-ov-bar b { order: 3; font-size: 13px; white-space: nowrap; }
.v8-ov-right-card header { gap: 8px; min-width: 0; }
.v8-ov-right-card header h3 { font-size: 16px; min-width: 0; }
.v8-tab-group { flex: none; }

.henan-map { height: 460px; width: 100%; border-radius: 14px; z-index: 1; }
.v8-ov-map-head { flex-wrap: wrap; }
.v8-ov-map-head p, .v8-ov-map-badge { white-space: normal; }
.map-tip { font-size: 13px; font-weight: 700; border: none; box-shadow: 0 6px 16px rgba(20,40,30,.15); }

.v8-detail-scene {
  overflow: visible; background: transparent; border: none; min-height: 300px;
  perspective: 1200px;
}
.v8-scene-img {
  position: absolute; inset: 10px 40px 10px 6px; min-height: 0;
  border-radius: 28px; border: 6px solid #fff;
  background-size: cover; background-position: center;
  transform: perspective(900px) rotateY(-18deg) rotateX(6deg);
  box-shadow: 26px 28px 40px rgba(30, 60, 40, .22);
}
.v8-detail-pollutants { padding: 12px 10px 8px; }
.v8-poll-ring-grid { gap: 2px 4px; }
.v8-poll-ring svg { width: 156px; height: 156px; }
.v8-poll-ring svg circle { stroke-width: 20; }
.v8-poll-ring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding-bottom: 0; }
.v8-poll-ring b, .v8-poll-ring svg + b {
  position: absolute; left: 50%; top: 78px; transform: translate(-50%, -50%);
  font-size: 28px; line-height: 1; margin: 0;
}
.v8-poll-ring i { position: static; transform: none; font-size: 13px; white-space: nowrap; margin-top: -2px; }

.compare-slider { position: relative; height: 220px; border-radius: 16px; overflow: hidden; user-select: none; }
.compare-slider .compare-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-top { position: absolute; top: 0; left: 0; bottom: 0; width: 52%; overflow: hidden; border-right: 3px solid #fff; }
.compare-top img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; }
.compare-slider input[type="range"] {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 3;
}
.compare-tag {
  position: absolute; bottom: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; pointer-events: none;
}
.compare-tag-l { left: 10px; }
.compare-tag-r { right: 10px; }

.bot-fab { cursor: grab; touch-action: none; }
.bot-fab.is-drag { cursor: grabbing; }

.v8-dock { display: none !important; }
body[data-page="overview"] .v8-app { padding-bottom: 28px; }

.v8-hero-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.v8-hero-mask {
  background: linear-gradient(90deg, rgba(247,245,236,.75) 0%, rgba(247,245,236,.28) 38%, rgba(247,245,236,0) 62%) !important;
}
.v8-hero { min-height: 380px; }
.num, .v8-kpi-num, .v8-ov-num, .v8-4r-item b, .v8-ring-center b, .v8-ov-bar i, .v8-poll-ring b {
  font-weight: 900 !important;
}
.v8-hero-inner h1 { font-size: 68px !important; font-weight: 900 !important; }
.v8-region-body h3 { font-size: 32px !important; font-weight: 900 !important; }
.v8-kpi { min-height: 112px; }
.v8-kpi-num { font-size: 52px !important; }
.v8-kpi i { font-size: 16px; font-weight: 700; }
.v8-ov-num { font-size: 104px !important; line-height: .9; }
.v8-4r-item b { font-size: 40px !important; }
.v8-pol-bar { height: 22px; }
.v8-pol-list b.num { font-size: 30px !important; }
.v8-pol-name { font-size: 15px; font-weight: 700; }
.v8-pol-bar i { transform-origin: left center; animation: barGrow 1s cubic-bezier(.2,.8,.2,1) both; }

.v8-ov-ring { display: flex; flex-direction: column; align-items: center; text-align: center; }
.v8-ring-wrap--center { flex-direction: column; align-items: center; width: 100%; }
.ring-box { position: relative; width: 188px; height: 188px; margin: 4px auto 10px; }
.ring-box .v8-ring-svg { width: 188px; height: 188px; }
.ring-box .v8-ring-center {
  position: absolute; inset: 0; width: 188px; height: 188px; margin: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring-box .v8-ring-center b { font-size: 76px !important; line-height: 1; }
.v8-ov-ring .v8-ring-legend { width: 100%; }
.v8-ov-ring .v8-ring-legend li { font-size: 16px; font-weight: 700; justify-content: center; }

.v8-ov-bar-chart { height: 230px; }
.v8-ov-bar-fill {
  width: 80% !important;
  position: relative;
  transform-origin: bottom center;
  animation: barRise .85s cubic-bezier(.16,.84,.28,1) both;
}
.v8-ov-bar:nth-child(2) .v8-ov-bar-fill { animation-delay: .08s; }
.v8-ov-bar:nth-child(3) .v8-ov-bar-fill { animation-delay: .16s; }
.v8-ov-bar:nth-child(4) .v8-ov-bar-fill { animation-delay: .24s; }
.v8-ov-bar i { font-size: 26px !important; }
.v8-ov-bar b { font-size: 16px !important; font-weight: 800; }
@keyframes barRise { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.v8-ring-svg circle:nth-child(n+2) { transform-origin: 50px 50px; animation: ringPop .9s ease both; }
@keyframes ringPop { from { opacity: .2; } to { opacity: 1; } }

@font-face {
  font-family: "YouShe";
  src: url("fonts/youshe-title.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "SourceHan";
  src: url("fonts/sourcehan-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
.v8-app, .v8-page, button, input, select {
  font-family: "SourceHan", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.v8-hero-inner h1,
.brand-text strong,
.q-head h2,
.v8-block-head h2,
.v8-ov-map-head h3,
.v8-ov-right-card h3,
.num, .v8-kpi-num, .v8-ov-num, .v8-4r-item b, .v8-ring-center b,
.v8-poll-ring b, .v8-ov-kpi-card b, .q-lift em, .v8-region-body h3 {
  font-family: "YouShe", "SourceHan", sans-serif !important;
  letter-spacing: .02em;
}
.v8-hero-inner h1 { font-size: 76px !important; }
.v8-kpi-num { font-size: 58px !important; }
.v8-ov-num { font-size: 92px !important; }
.ring-box .v8-ring-center b { font-size: 84px !important; }
.v8-4r-item b { font-size: 44px !important; }
.v8-region-body h3 { font-size: 34px !important; }
.v8-ov-bar i {
  font-family: "SourceHan", "Microsoft YaHei", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}
.v8-ov-map-area { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v8-compare-card .compare-slider { height: 248px; }
.v8-ov-right { min-width: 0; }

.v8-page { font-size: 16px; line-height: 1.5; }
.v8-query-data,
.v8-query-data .v8-block-head p,
.v8-query-data .v8-table,
.v8-query-data .v8-table thead th,
.v8-query-data .v8-table tbody td,
.v8-query-data .v8-db-card h4,
.v8-query-data .v8-db-card b,
.v8-query-data .v8-db-count,
.v8-query-data .v8-db-status,
.v8-query-data .v8-maint-q-kicker,
.v8-query-data .v8-maint-q-stats li i,
.v8-query-data .v8-maint-table-panel header h3,
.v8-query-data .v8-maint-edit-panel header h3,
.v8-query-data .v8-maint-table-tools button,
.v8-query-data .v8-edit-grid dt,
.v8-query-data .v8-edit-grid dd,
.v8-query-data .v8-edit-full dt,
.v8-query-data .v8-edit-full dd textarea,
.v8-query-data .v8-entry-rules,
.v8-page[data-page="query"] .v8-table,
.v8-page[data-page="query"] .v8-table thead th,
.v8-page[data-page="query"] .v8-results-head p,
.v8-page[data-page="query"] .v8-f-label,
.v8-page[data-page="query"] .v8-poll-check {
  font-size: 16px !important;
}
.v8-entry-rules {
  margin: 0 0 16px;
  padding: 14px 18px 14px 36px;
  background: #f7faf8;
  border-radius: 14px;
  color: #23372e;
}
.v8-entry-rules li { margin: 4px 0; }
.q-region-lock {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
}
.q-region-lock span { color: #76867b; font-size: 14px; }
.q-region-lock b { font-size: 20px; color: #163c32; }
.q-region-lock em { font-style: normal; color: #315e46; }
.v8-f-region-btn:disabled { cursor: default; opacity: 1; }
h1, h2, h3 { text-wrap: balance; }
.v8-block-head p, .q-head p, .v8-hero-inner > p { text-wrap: pretty; max-width: 62ch; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #2f6d45;
  outline-offset: 2px;
}
.v8-region-card:hover { transform: none; }
.v8-region-cover { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.v8-region-card:hover .v8-region-cover { transform: scale(1.05); }
button:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .v8-hero::after, .v8-ov-bar-fill, .v8-pol-bar i, .v8-ring-svg circle { animation: none !important; }
  .v8-region-cover { transition: none; }
  .palette-donut, .palette-donut-hole { animation: none; }
}
.v8-ov-bar:nth-child(1) .v8-ov-bar-fill { background: #536D43 !important; }
.v8-ov-bar:nth-child(2) .v8-ov-bar-fill { background: #C4A46A !important; }
.v8-ov-bar:nth-child(3) .v8-ov-bar-fill { background: #8FAA78 !important; }
.v8-ov-bar:nth-child(4) .v8-ov-bar-fill { background: #5C5346 !important; }
.dot--green { background: #536D43 !important; }
.dot--blue { background: #8FAA78 !important; }
.dot--gold { background: #C4A46A !important; }
.dot--mint { background: #5C5346 !important; }
.v8-kpi:nth-child(1) { background: #eef3e6; }
.v8-kpi:nth-child(2) { background: #f8f1e2; }
.v8-kpi:nth-child(3) { background: #f3f6ee; }
.v8-kpi:nth-child(4) { background: #f4efe8; }
.v8-kpi:nth-child(5) { background: #F7F5EC; }
.palette-donut {
  width: 188px; height: 188px; margin: 8px auto 12px;
  border-radius: 50%; background: var(--seg);
  display: grid; place-items: center;
  animation: donutIn .9s cubic-bezier(.16, 1, .3, 1);
}
.palette-donut--sm { width: 150px; height: 150px; }
.palette-donut-hole {
  width: 108px; height: 108px; border-radius: 50%;
  background: #fffdf8; display: grid; place-items: center;
  box-shadow: inset 0 0 0 6px rgba(247, 245, 236, .95);
  animation: donutIn .9s cubic-bezier(.16, 1, .3, 1) reverse;
}
.palette-donut--sm .palette-donut-hole { width: 86px; height: 86px; }
.palette-donut-hole b { font-size: 48px !important; color: #3e4632; }
.palette-donut--sm .palette-donut-hole b { font-size: 36px !important; }
.palette-donut-hole i { font-style: normal; font-size: 13px; color: #6d6556; }
@keyframes donutIn { from { transform: rotate(-140deg) scale(.9); } to { transform: none; } }
.viz-row { display: grid; grid-template-columns: .9fr .95fr 1.25fr; gap: 14px; margin: 16px 0 8px; }
.viz-card { background: #fffdf8; border: 1px solid #e6e0d2; border-radius: 18px; padding: 14px 16px 16px; min-width: 0; }
.viz-card h3 { margin: 0 0 10px; font-size: 18px; color: #3e4632; }
.word-cloud { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; min-height: 180px; }
.word-cloud span { line-height: 1; font-weight: 700; }
.bubble-svg { width: 100%; height: 220px; display: block; }
.heat-map { display: grid; gap: 4px; }
.heat-row { display: grid; grid-template-columns: 92px repeat(4, 1fr); gap: 4px; align-items: center; }
.heat-row b, .heat-row i { font-style: normal; text-align: center; border-radius: 6px; padding: 6px 0; font-size: 13px; }
.heat-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.v8-fold {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #F7F5EC; border: 1px solid #e6e0d2; border-radius: 12px;
  padding: 10px 12px; cursor: pointer; margin-bottom: 8px; text-align: left;
}
.v8-fold h3 { margin: 0; font-size: 16px; }
.v8-fold span { color: #8a8172; font-size: 13px; }
.v8-detail-ref #gotoMap { margin-top: 8px; }
#detailRef { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.v8-query-data .v8-maint-q-num b.num { font-size: 58px !important; }
.v8-query-data .v8-maint-q-stats li b.num { font-size: 40px !important; }
.v8-query-data .v8-db-count b.num { font-size: 32px !important; }
.v8-query-data .v8-table .ta-r { font-size: 22px !important; }
@media (max-width: 1100px) { .viz-row { grid-template-columns: 1fr; } }

/* ===== 页面背景：自然绿地照片 + 奶油色蒙版 ===== */
html {
  background: #F4F1E6 url("images/page-bg-hd.jpg") center center / cover no-repeat fixed;
}
body {
  background: linear-gradient(180deg, rgba(247, 245, 236, .40) 0%, rgba(247, 245, 236, .30) 45%, rgba(247, 245, 236, .40) 100%);
  background-attachment: fixed;
}
/* 背景变清晰后，区块标题加浅色光晕保证可读 */
.v8-block-head h2,
.v8-block-head p { text-shadow: 0 1px 12px rgba(247, 245, 236, .95), 0 0 3px rgba(247, 245, 236, .9); }
.toolbox-cloud { width: 100%; height: 300px; display: block; background: #ffffff; border-radius: 12px; }.v8-detail-docs { grid-column: 1 / -1; padding: 4px 2px 0; }
.v8-detail-docs header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.v8-detail-docs h3 { margin: 0; font-size: 18px; color: #3e4632; }
.v8-detail-docs header p { margin: 0; font-size: 13px; color: #6d6556; }
.doc-row { display: flex; gap: 10px; }
.doc-card {
  flex: 1 1 0; min-width: 0; border: 1px solid #e6e0d2; background: #F7F5EC;
  border-radius: 14px; padding: 10px; text-align: left; cursor: pointer;
}
.doc-card b { display: block; margin-top: 8px; font-size: 14px; color: #3e4632; }
.doc-card small { color: #8a8172; font-size: 12px; }
.doc-sheet {
  display: block; height: 100px; border-radius: 10px;
  background-color: #e8efe4;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.doc-card.is-on { border-color: #536D43; background: #fff; box-shadow: 0 8px 18px rgba(83, 109, 67, .12); }
.rank-chart { display: flex; flex-direction: column; gap: 10px; min-height: 316px; justify-content: space-between; }
.rank-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: 13px; min-height: 28px; width: 100%; max-width: 318px; margin: 0 auto; }
.rank-track { height: 14px; width: 100%; background: #F7F5EC; border-radius: 999px; overflow: hidden; }
.rank-track i { display: block; height: 100%; border-radius: 999px; width: 0; animation: barGrow .7s ease both; }
.rank-row b { text-align: right; font-size: 14px; }
.v8-login-btn, .v8-account-chip {
  border: 1px solid #e6e0d2; background: #fffdf8; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; color: #3e4632; font-weight: 700;
}
.v8-account { display: flex; align-items: center; gap: 8px; }
.v8-account-chip em { font-style: normal; }
.auth-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(62, 70, 50, .35); display: grid; place-items: center; }
.auth-backdrop[hidden] { display: none; }
.auth-card { width: min(420px, calc(100% - 32px)); background: #fffdf8; border-radius: 20px; padding: 18px 18px 20px; box-shadow: 0 24px 60px rgba(62, 70, 50, .2); }
.auth-card header { display: flex; justify-content: space-between; align-items: center; }
.auth-card h3 { margin: 0; font-size: 28px; }
.auth-card header button { border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.auth-tabs { display: flex; gap: 8px; margin: 12px 0; }
.auth-tabs button { border: 0; background: #F7F5EC; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.auth-tabs button.is-on { background: #536D43; color: #fff; }
.auth-card label { display: block; margin: 10px 0; font-size: 14px; color: #6d6556; }
.auth-card input { display: block; width: 100%; margin-top: 4px; box-sizing: border-box; border: 1px solid #e6e0d2; border-radius: 10px; padding: 10px 12px; font-size: 16px; }
.auth-hint { font-size: 13px; color: #8a8172; min-height: 18px; }
.auth-channel { display: flex; gap: 8px; margin-top: 8px; }
.auth-channel[hidden],
.auth-code-row[hidden] { display: none; }
.auth-channel button { flex: 1; border: 1px solid #e6e0d2; background: #F7F5EC; border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.auth-channel button.is-on { background: #536D43; color: #fff; border-color: #536D43; }
.auth-code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.auth-code-row .v8-btn { margin-bottom: 10px; white-space: nowrap; width: auto; }
.auth-card form > .v8-btn { width: 100%; }

/* ===== 选择研究区：标题居中放大 ===== */
.v8-block-head--center { position: relative; justify-content: center; text-align: center; }
.v8-block-head--center > div { flex: 1; text-align: center; }
.v8-block-head--center h2 { font-size: 30px; margin-bottom: 8px; }
.v8-block-head--center h2::before { width: 5px; height: 22px; vertical-align: -3px; }
.v8-block-head--center p { font-size: 15px; color: #5a7263; }
.v8-block-head--center .v8-block-badge {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
}
@media (max-width: 1180px) {
  .v8-block-head--center { flex-wrap: wrap; gap: 8px; }
  .v8-block-head--center .v8-block-badge { position: static; transform: none; }
}

/* 副标题居中 + 再放大 */
.v8-block-head--center h2 { font-size: 32px; }
.v8-block-head--center p { max-width: none; margin: 0 auto; font-size: 17px; }

/* ===== 研究区多图轮播（coverflow） ===== */
.v8-carousel { position: relative; padding: 6px 0 40px; }
.v8-carousel-stage { position: relative; width: 100%; }
.v8-carousel-stage .v8-region-card {
  position: absolute; top: 50%; left: 50%;
  width: min(400px, 42vw);
  margin-left: calc(min(400px, 42vw) / -2);
  cursor: pointer;
  will-change: transform;
  box-shadow: 0 26px 44px -30px rgba(24, 58, 40, .5);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1), opacity .45s ease, box-shadow .45s ease, filter .45s ease;
}
.v8-carousel-stage .v8-region-card[data-offset="0"] {
  transform: translateY(-50%) scale(1);
  z-index: 3; opacity: 1;
  box-shadow: 0 34px 60px -34px rgba(24, 58, 40, .55);
}
.v8-carousel-stage .v8-region-card[data-offset="-1"] {
  transform: translate(-290px, -50%) scale(.84);
  z-index: 2; opacity: .95;
  filter: brightness(.97) saturate(.95);
}
.v8-carousel-stage .v8-region-card[data-offset="1"] {
  transform: translate(290px, -50%) scale(.84);
  z-index: 2; opacity: .95;
  filter: brightness(.97) saturate(.95);
}
.v8-carousel-stage .v8-region-card[data-offset="2"],
.v8-carousel-stage .v8-region-card[data-offset="-2"] {
  transform: translateY(-50%) scale(.6);
  z-index: 1; opacity: 0; pointer-events: none;
}
.v8-carousel-stage .v8-region-card[data-offset="-1"] .v8-region-cta,
.v8-carousel-stage .v8-region-card[data-offset="1"] .v8-region-cta { opacity: .9; }

.v8-carousel-nav {
  position: absolute; top: 46%; z-index: 6;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e2ddcd;
  color: #2f6d45;
  box-shadow: 0 10px 22px -12px rgba(24, 58, 40, .5);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.v8-carousel-nav:hover { background: #2f6d45; color: #fff; transform: translateY(-1px); }
.v8-carousel-nav--prev { left: 14px; }
.v8-carousel-nav--next { right: 14px; }

.v8-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; position: relative; z-index: 6; }
.v8-carousel-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 999px;
  background: rgba(47, 109, 69, .26);
  transition: width .3s ease, background .3s ease;
}
.v8-carousel-dots button.is-active { width: 26px; background: #2f6d45; }

@media (max-width: 900px) {
  .v8-carousel-stage .v8-region-card { width: min(400px, 74vw); margin-left: calc(min(400px, 74vw) / -2); }
  .v8-carousel-stage .v8-region-card[data-offset="-1"] { transform: translate(-58%, -50%) scale(.8); }
  .v8-carousel-stage .v8-region-card[data-offset="1"] { transform: translate(58%, -50%) scale(.8); }
  .v8-carousel-nav { display: none; }
}

/* 轮播圆点加白色胶囊底，提升可读性 */
.v8-carousel-dots {
  width: max-content; margin: 14px auto 0;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 6px 14px -10px rgba(24, 58, 40, .5);
}

/* ===== 首屏压缩：hero 变矮 + 轮播略收，保证轮播完整落在首屏 ===== */
.v8-hero { min-height: 218px; }
.v8-hero-inner { padding: 22px 236px 18px 40px; }
.v8-hero-inner h1 { font-size: 44px; }
.v8-hero-inner p { font-size: 16px; margin-bottom: 14px; }
.v8-hero-badge { top: 18px; right: 20px; min-width: 190px; padding: 12px 16px; }
.v8-hero-badge b { font-size: 22px; }
.v8-hero-badge .num { font-size: 24px; }
.v8-carousel-stage .v8-region-card { width: min(360px, 40vw); margin-left: calc(min(360px, 40vw) / -2); }
.v8-carousel-stage .v8-region-card[data-offset="-1"] { transform: translate(-262px, -50%) scale(.84); }
.v8-carousel-stage .v8-region-card[data-offset="1"] { transform: translate(262px, -50%) scale(.84); }

/* 轮播卡片紧凑化 + hero 再压，确保首屏完整呈现轮播 */
.v8-carousel-stage .v8-region-card .v8-region-cover { height: 156px; }
.v8-carousel-stage .v8-region-card .v8-region-body { padding: 14px 16px 16px; }
.v8-carousel-stage .v8-region-card .v8-region-body h3 { font-size: 25px !important; margin-bottom: 3px; }
.v8-carousel-stage .v8-region-card .v8-region-body > p { font-size: 13.5px; margin-bottom: 10px; }
.v8-carousel-stage .v8-region-card .v8-region-meta { padding: 9px 0; margin-bottom: 10px; }
.v8-carousel-stage .v8-region-card .v8-region-meta b { font-size: 17px; }
.v8-carousel-stage .v8-region-card .v8-region-cta { height: 40px; font-size: 14.5px; }
.v8-hero { min-height: 190px; }
.v8-hero-inner h1 { font-size: 40px; }
.v8-block-head--center { margin-top: 16px; }
.v8-block-head--center h2 { font-size: 28px; margin-bottom: 6px; }
.v8-block-head--center p { font-size: 15.5px; }
.v8-carousel { padding-top: 0; }

/* 轮播卡片再放大 */
.v8-carousel-stage .v8-region-card { width: min(408px, 44vw); margin-left: calc(min(408px, 44vw) / -2); }
.v8-carousel-stage .v8-region-card[data-offset="-1"] { transform: translate(-296px, -50%) scale(.84); }
.v8-carousel-stage .v8-region-card[data-offset="1"] { transform: translate(296px, -50%) scale(.84); }
.v8-carousel-stage .v8-region-card .v8-region-cover { height: 172px; }
.v8-carousel-stage .v8-region-card .v8-region-body h3 { font-size: 27px !important; }

.v8-carousel-dots { margin-top: 8px; }

/* 首屏留出底部余量 */
.v8-block-head--center { margin-top: 10px; }
.v8-carousel-stage .v8-region-card .v8-region-cover { height: 166px; }

/* 数据总览改 3 卡（污染物覆盖已移到空间总览左栏） */
.v8-overview-grid { grid-template-columns: minmax(160px, 200px) minmax(0, 1.05fr) minmax(0, 1.35fr); }

/* 空间总览左栏：污染物数据覆盖卡片 */
.v8-overview-layout .v8-ov-left { display: flex; flex-direction: column; }
.v8-ov-left-card {
  flex: 1; margin-top: 12px;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff; border: 1px solid #e8e2d4; border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 28px -20px rgba(40, 70, 50, .4);
}
.v8-ov-left-card .v8-ov-kicker { margin-bottom: 14px; }
.v8-ov-left-card .v8-pol-list { gap: 14px; }
.v8-ov-left-card .v8-pol-list li { grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 8px; }
.v8-ov-left-card .v8-pol-name { font-size: 13px; }
.v8-ov-left-card .v8-pol-bar { height: 10px; }
.v8-ov-left-card .v8-pol-list b.num { font-size: 18px !important; }

/* 左栏跟随右栏高度撑满，污染物卡片均匀分布 */
.v8-overview-layout .v8-ov-left { align-self: stretch; }
.v8-ov-left-card { justify-content: space-evenly; }
.v8-ov-left-card .v8-ov-kicker { margin-bottom: 6px; }

.v8-ov-left-card .v8-pol-list { flex: 1; justify-content: space-evenly; gap: 0; }
.v8-ov-left-card { justify-content: flex-start; }
