/* 首页：对齐新样式 HomePage（渐变/轮播卡片 + 统计 + 业务卡片 + 分镜叙事） */

body.hzbgs-home.hzbgs-site {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 113, 227, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 140, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

/* —— Hero Swiper 卡片 —— */
.hzbgs-hp-heroSection {
  --hzbgs-hero-max: min(1420px, 96vw);
  padding: 18px 0 24px;
}

.hzbgs-hp-heroContainer {
  max-width: var(--hzbgs-hero-max);
  margin: 0 auto;
  padding: 20px 20px 14px;
}

/* 轮播约 70% + 右侧资讯卡约 30% */
.hzbgs-hp-heroMain {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 0 22px;
  align-items: stretch;
  min-width: 0;
}

.hzbgs-hp-heroCard {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210, 210, 215, 0.95);
  background: rgba(245, 245, 247, 0.95);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 0;
  /* 略增高，减少 photo cover 裁掉建筑底部标识；与新版演示比例更接近 */
  height: min(620px, 78vh);
  min-height: 480px;
  position: relative;
}

/* 与系统分组列表一致：浅灰槽 + 玻璃卡片浮在其上 */
.hzbgs-hp-heroAside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  border-radius: 28px;
  background: rgba(232, 232, 237, 0.92);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(0, 0, 0, 0.04);
}

/* iOS 26 Liquid Glass：半透明磨砂 + 折射高光 + 悬浮层次（近似系统「液态玻璃」材质） */
.hzbgs-hp-heroSideCard {
  --lg-label: rgba(60, 60, 67, 0.58);
  --lg-label2: rgba(60, 60, 67, 0.78);
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 22px;
  isolation: isolate;
  overflow: hidden;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Text',
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.22) 42%,
      rgba(255, 255, 255, 0.36) 100%
    );
  backdrop-filter: blur(22px) saturate(1.85);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 48px rgba(0, 0, 0, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.05);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.hzbgs-hp-heroSideCard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.12) 100%
  );
  opacity: 0.95;
}

.hzbgs-hp-heroSideCard--science {
  background:
    linear-gradient(
      175deg,
      rgba(230, 245, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.2) 45%,
      rgba(255, 255, 255, 0.4) 100%
    );
}

.hzbgs-hp-heroSideCard--science::before {
  background: linear-gradient(
    155deg,
    rgba(200, 230, 255, 0.42) 0%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.14) 100%
  );
}

.hzbgs-hp-heroSideCard--today {
  background:
    linear-gradient(
      168deg,
      rgba(248, 252, 250, 0.62) 0%,
      rgba(255, 255, 255, 0.28) 42%,
      rgba(252, 253, 255, 0.48) 100%
    );
}

.hzbgs-hp-heroSideCard--today::before {
  background: linear-gradient(
    152deg,
    rgba(220, 235, 228, 0.38) 0%,
    rgba(255, 255, 255, 0) 48%,
    rgba(255, 250, 240, 0.12) 100%
  );
}

.hzbgs-hp-heroSideCard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.45) inset,
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 22px 56px rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(0, 113, 227, 0.08);
}

.hzbgs-hp-heroSideCard-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.hzbgs-hp-heroSideCard-body {
  flex: 1 1 auto;
  padding: 15px 17px 12px;
  min-height: 0;
}

.hzbgs-hp-heroSideCard-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lg-label);
  line-height: 1.2;
}

.hzbgs-hp-heroSideCard-title {
  margin: 6px 0 0;
  font-size: clamp(1rem, 0.9vw + 0.55rem, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.9);
}

.hzbgs-hp-heroSideCard-line {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 400;
  color: var(--lg-label2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hzbgs-hp-heroSideCard-line--market {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.hzbgs-hp-heroSideCard-preview {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hzbgs-hp-heroSideCard-previewRow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: start;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hzbgs-hp-heroSideCard-previewDate {
  font-size: 11px;
  font-weight: 650;
  color: rgba(0, 113, 227, 0.85);
  white-space: nowrap;
  grid-column: 1;
}

.hzbgs-hp-heroSideCard-previewTitle {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hzbgs-hp-heroSideCard-count {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--lg-label);
}

/* 今日动态：近六月走势折线图 + 横向滑动（scroll-snap，避免侧栏 flex 裁切） */
.hzbgs-hp-todayPricesViewport {
  position: relative;
  margin-top: 10px;
  border-radius: 16px;
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 0;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.28) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 2px 12px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.hzbgs-hp-todayChartScroller {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  padding: 6px 0 0;
  box-sizing: border-box;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.hzbgs-hp-todayChartScroller::-webkit-scrollbar {
  display: none;
}

.hzbgs-hp-todayChartScroller.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.hzbgs-hp-todayChartPage {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hzbgs-hp-todayChartEmpty {
  margin: 6px 4px 10px;
  min-height: 140px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(60, 60, 67, 0.62);
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(60, 60, 67, 0.24);
}

.hzbgs-hp-todayChartSlide {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  padding: 0 2px 0 0;
}

.hzbgs-hp-todayChartSlide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hzbgs-hp-todayChartSlide-head--noTitle {
  justify-content: flex-end;
}

.hzbgs-hp-todayChartSlide-headLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.hzbgs-hp-todayChartBadge {
  flex-shrink: 0;
  margin-top: 1px;
}

.hzbgs-hp-todayChartSlide-titles {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.hzbgs-hp-todayChartSlide-title {
  margin: 0;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hzbgs-hp-todayChartSlide-sub {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(60, 60, 67, 0.52);
}

.hzbgs-hp-todayChartSlide-range {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: rgba(60, 60, 67, 0.45);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hzbgs-hp-todayChart-svgWrap {
  position: relative;
  border-radius: 14px;
  padding: 4px 4px 2px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 20px rgba(0, 0, 0, 0.04);
}

.hzbgs-hp-todayChart-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 320 / 172;
  min-height: 118px;
  /* 侧栏高度紧张时略压高度，优先保证整图 + 横轴标签落在可视区内 */
  max-height: min(172px, 34vh);
}

.hzbgs-hp-todayChart-grid {
  stroke: rgba(60, 60, 67, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.hzbgs-hp-todayChart-axisLabel {
  fill: rgba(60, 60, 67, 0.42);
  font-size: 9px;
  font-weight: 600;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.hzbgs-hp-todayChart-line {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
}

.hzbgs-hp-todayChart-point {
  opacity: 0.9;
}

.hzbgs-hp-todayChart-pointHit {
  cursor: crosshair;
}

.hzbgs-hp-todayChartTooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  min-width: 94px;
  max-width: 180px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(20, 20, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.hzbgs-hp-todayChartTooltip--show {
  opacity: 1;
  transform: translateY(0);
}

.hzbgs-hp-todayChartTooltip-month {
  font-size: 10px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.78);
}

.hzbgs-hp-todayChartTooltip-row {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hzbgs-hp-todayChartTooltip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hzbgs-hp-todayChartTooltip-name {
  min-width: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.hzbgs-hp-todayChartTooltip-val {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hzbgs-hp-todayChart-legend {
  list-style: none;
  margin: 0;
  padding: 0 2px 1px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hzbgs-hp-todayChart-legendRow {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 8px 8px;
  align-items: center;
  font-size: 10px;
  line-height: 1.25;
}

.hzbgs-hp-todayChart-legendDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.hzbgs-hp-todayChart-legendName {
  font-weight: 650;
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: -0.02em;
  min-width: 0;
}

.hzbgs-hp-todayChart-legendVal {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: rgba(60, 60, 67, 0.62);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.hzbgs-hp-todayChart-legendUnit {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(22, 85, 180, 0.92);
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.18);
}

@media (max-width: 380px) {
  .hzbgs-hp-todayChart-legendRow {
    grid-template-columns: 8px 1fr;
    grid-template-rows: auto auto;
  }

  .hzbgs-hp-todayChart-legendVal {
    grid-column: 2 / -1;
    text-align: left;
    white-space: normal;
  }
}

.hzbgs-hp-todayChartPager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0 4px;
}

.hzbgs-hp-todayChartPagerDot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.hzbgs-hp-todayChartPagerDot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.45);
}

.hzbgs-hp-todayChartPagerDot--active {
  width: 20px;
  background: rgba(0, 113, 227, 0.88);
  transform: scale(1.05);
}

.hzbgs-hp-todaySection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.hzbgs-hp-todaySectionBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hzbgs-hp-todaySectionBadge i {
  font-size: 10px;
  opacity: 0.88;
}

.hzbgs-hp-todaySectionBadge--ree {
  color: rgba(0, 90, 200, 0.95);
  background: linear-gradient(
    135deg,
    rgba(0, 113, 227, 0.12) 0%,
    rgba(0, 113, 227, 0.05) 100%
  );
}

.hzbgs-hp-todaySectionBadge--pm {
  color: rgba(150, 95, 20, 0.96);
  background: linear-gradient(
    135deg,
    rgba(212, 165, 55, 0.2) 0%,
    rgba(212, 165, 55, 0.07) 100%
  );
  border-color: rgba(212, 165, 55, 0.22);
}

.hzbgs-hp-todaySectionBadge.hzbgs-hp-todayChartBadge {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 9px;
}

.hzbgs-hp-todaySectionHint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(60, 60, 67, 0.48);
  white-space: nowrap;
}

.hzbgs-hp-todayFootnote {
  margin-top: 10px !important;
  padding: 8px 10px;
  font-size: 10px !important;
  line-height: 1.45 !important;
  color: rgba(60, 60, 67, 0.55) !important;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 今日动态：侧栏与科研卡等高时允许纵向滚动，避免图表被 overflow:hidden 裁掉 */
.hzbgs-hp-heroSideCard--today .hzbgs-hp-heroSideCard-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hzbgs-hp-heroSideCard--today .hzbgs-hp-heroSideCard-kicker,
.hzbgs-hp-heroSideCard--today .hzbgs-hp-heroSideCard-title,
.hzbgs-hp-heroSideCard--today .hzbgs-hp-heroSideCard-line {
  flex-shrink: 0;
}

.hzbgs-hp-heroSideCard--today .hzbgs-hp-todayFootnote {
  flex-shrink: 0;
}

@media (min-width: 1025px) {
  /* 今日含走势图 + 多行图例，与科研卡等高时若 1:1 分高易被裁成半截；略多分给今日卡 */
  .hzbgs-hp-heroAside > .hzbgs-hp-heroSideCard--today {
    flex: 1.58 1 0;
  }

  .hzbgs-hp-heroAside > .hzbgs-hp-heroSideCard--science {
    flex: 1 1 0;
  }

  .hzbgs-hp-heroSideCard--today .hzbgs-hp-todayPricesViewport {
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hzbgs-hp-heroSideCard--today .hzbgs-hp-todayChartScroller {
    flex: 0 0 auto;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzbgs-hp-todayChartScroller {
    scroll-behavior: auto;
  }

  .hzbgs-hp-todayChartPagerDot,
  .hzbgs-hp-todayChartPagerDot--active {
    transition: none;
  }
}

.hzbgs-hp-heroSideCard-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  margin-top: auto;
  padding: 11px 15px 12px 17px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.88);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.018em;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: background-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  z-index: 3;
}

.hzbgs-hp-heroSideCard-more:hover {
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hzbgs-hp-heroSideCard-more:active {
  background: rgba(255, 255, 255, 0.28);
}

.hzbgs-hp-heroSideCard-moreLabel {
  flex: 1;
  min-width: 0;
}

.hzbgs-hp-heroSideCard-chevron {
  flex-shrink: 0;
  color: rgba(60, 60, 67, 0.35);
  opacity: 0.95;
}

.hzbgs-hp-heroSideCard-more:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 2px rgba(0, 113, 227, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hzbgs-hp-heroSideCard {
    transition: box-shadow 200ms ease, border-color 200ms ease;
  }

  .hzbgs-hp-heroSideCard:hover {
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hzbgs-hp-heroSideCard {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hzbgs-hp-heroSideCard--science {
    background: rgba(245, 250, 255, 0.96);
  }

  .hzbgs-hp-heroSideCard--today {
    background: rgba(248, 252, 250, 0.96);
  }

  .hzbgs-hp-heroSideCard-more {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.88);
  }
}

.hzbgs-hp-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* fade 模式下各 slide 必须由 Swiper 叠在同一区域（absolute），勿写 position:relative，否则会纵向堆叠多张 */
.hzbgs-hp-swiper .swiper-wrapper {
  height: 100%;
  box-sizing: border-box;
}

.hzbgs-hp-swiper .swiper-slide {
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* JS 未就绪时只露出第一张，避免无 Swiper 时叠屏闪一下 */
.hzbgs-hp-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.hzbgs-hp-slideBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 纵向略偏上，兼顾天际线与地面标识，避免「只剩半截」观感 */
  object-position: center 38%;
  z-index: 0;
  /* 整图保持明亮，可读性交给下方文案小框 */
  filter: brightness(1.02) saturate(1.02);
  transform: none;
}

/* 不再全屏压暗；底部留一条很轻的渐变，方便分页小圆点与下沿可读 */
.hzbgs-hp-slideScrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.06) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .hzbgs-hp-slideScrim {
    height: 36%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0) 85%
    );
  }
}

/* 文案区：右下角小块，只包住正文与按钮 */
.hzbgs-hp-slideInner {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin: 20px 24px 50px;
  margin-left: auto;
  margin-top: auto;
  width: fit-content;
  max-width: min(480px, calc(100% - 48px));
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 与较小画框匹配的排版 */
.hzbgs-hp-slideInner .hzbgs-hp-slideTop {
  gap: 8px;
}

.hzbgs-hp-slideInner .hzbgs-hp-kicker {
  padding: 5px 10px;
  font-size: 11px;
}

.hzbgs-hp-slideInner .hzbgs-hp-badge {
  width: 30px;
  height: 30px;
  border-radius: 11px;
}

.hzbgs-hp-slideInner .hzbgs-hp-badge svg {
  width: 15px;
  height: 15px;
}

.hzbgs-hp-slideInner .hzbgs-hp-title {
  margin-top: 10px;
  font-size: clamp(1.28rem, 2.8vw, 1.65rem);
  line-height: 1.08;
}

.hzbgs-hp-slideInner .hzbgs-hp-desc {
  margin-top: 8px;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.62;
}

.hzbgs-hp-slideInner .hzbgs-hp-actions {
  margin-top: 12px;
  gap: 8px;
}

.hzbgs-hp-slideInner .hzbgs-hp-primaryBtn,
.hzbgs-hp-slideInner .hzbgs-hp-ghostBtn {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
}

/* 「了解更多」与左上角 kicker 同款：浅底、细边、深字 */
.hzbgs-hp-slideInner .hzbgs-hp-primaryBtn {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(210, 210, 215, 0.95);
  color: var(--text2);
  font-weight: 600;
  border-radius: 999px;
  box-shadow: none;
}

.hzbgs-hp-slideInner .hzbgs-hp-primaryBtn:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(180, 180, 188, 0.95);
  color: var(--text0);
  filter: none;
  transform: translateY(-1px);
}

.hzbgs-hp-slideInner .hzbgs-hp-primaryBtn:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.45);
  outline-offset: 2px;
}

/* —— 对齐新样式 Home：Framer「line」—— 每条切屏后自下而上浮现 + 轻 blur —— */
@keyframes hzbgs-hero-line-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-slideTop,
.hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-title,
.hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-desc,
.hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-actions {
  opacity: 0;
  transform: translateY(10px);
  filter: none;
}

/* Swiper 脚本未执行前：首张仍可读，避免白屏 */
.hzbgs-hp-swiper:not(.swiper-initialized) .swiper-slide:first-child .hzbgs-hp-slideInner > .hzbgs-hp-slideTop,
.hzbgs-hp-swiper:not(.swiper-initialized) .swiper-slide:first-child .hzbgs-hp-slideInner > .hzbgs-hp-title,
.hzbgs-hp-swiper:not(.swiper-initialized) .swiper-slide:first-child .hzbgs-hp-slideInner > .hzbgs-hp-desc,
.hzbgs-hp-swiper:not(.swiper-initialized) .swiper-slide:first-child .hzbgs-hp-slideInner > .hzbgs-hp-actions {
  opacity: 1;
  transform: none;
  filter: none;
}

.hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-slideTop {
  animation: hzbgs-hero-line-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.02s;
}

.hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-title {
  animation: hzbgs-hero-line-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.08s;
}

.hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-desc {
  animation: hzbgs-hero-line-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.14s;
}

.hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-actions {
  animation: hzbgs-hero-line-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-slideTop,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-title,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-desc,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-actions {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-slideTop,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-title,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-desc,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-actions {
    animation: none !important;
  }
}

.hzbgs-hp-slideTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.hzbgs-hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(210, 210, 215, 0.95);
  color: var(--text2);
  font-size: 12px;
}

.hzbgs-hp-badge {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(210, 210, 215, 0.95);
  color: rgba(29, 29, 31, 0.9);
}

.hzbgs-hp-title {
  margin-top: 14px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  /* 覆盖 hzbgs-theme 里 body.hzbgs-site h1 的全局墨色，否则叠在照片上几乎看不见 */
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* 高于 body.hzbgs-site h1 的全局字重/字距，保持大图标题观感 */
body.hzbgs-site h1.hzbgs-hp-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hzbgs-hp-desc {
  margin-top: 10px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  font-size: 15px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hzbgs-hp-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hzbgs-hp-primaryBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.98), rgba(0, 98, 204, 0.98));
  color: white;
  font-weight: 650;
  border: 1px solid rgba(0, 113, 227, 0.22);
  box-shadow: 0 18px 50px rgba(0, 113, 227, 0.35);
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.hzbgs-hp-primaryBtn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.hzbgs-hp-ghostBtn {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.hzbgs-hp-ghostBtn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hzbgs-hp-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hzbgs-hp-swiper .swiper-pagination-bullet-active {
  background: rgba(0, 113, 227, 0.95);
}

.hzbgs-hp-swiper .swiper-pagination {
  bottom: 16px !important;
}

/* —— 统计条（轮播下三卡：玻璃态 + 锚点） —— */
.hzbgs-hp-heroStats {
  max-width: var(--hzbgs-hero-max);
  margin: 0 auto;
  padding: 16px 20px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.hzbgs-hp-stat {
  border-radius: 18px;
  padding: 17px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.58) 100%
  );
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

a.hzbgs-hp-stat--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.hzbgs-hp-stat--link:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 210, 215, 0.95);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.72) 100%
  );
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

a.hzbgs-hp-stat--link:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.45);
  outline-offset: 3px;
}

.hzbgs-hp-statTitle {
  font-weight: 700;
  color: var(--text0);
  letter-spacing: -0.02em;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.35;
}

.hzbgs-hp-statDesc {
  margin-top: 9px;
  color: var(--text2);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

#hz-home-research,
#hz-home-lab,
#hz-home-support {
  scroll-margin-top: 80px;
}

/* 支撑条件与下方「分镜叙事」区块之间略增留白 */
#hz-home-support.hzbgs-hp-section {
  padding-bottom: 34px;
}

/* —— 业务方向 —— */
.hzbgs-hp-section {
  padding: 40px 0 22px;
}

.hzbgs-hp-sectionInner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px 18px;
}

.hzbgs-hp-h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.hzbgs-hp-lead {
  margin-top: 10px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 80ch;
}

.hzbgs-hp-cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hzbgs-hp-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210, 210, 215, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.hzbgs-hp-card:hover {
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.hzbgs-hp-cardTitle {
  font-weight: 800;
  color: var(--text0);
}

.hzbgs-hp-cardText {
  margin-top: 10px;
  color: var(--text2);
  line-height: 1.65;
  font-size: 13px;
}

a.hzbgs-hp-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.hzbgs-hp-card--link:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.45);
  outline-offset: 2px;
}

/* 上图下文卡片：内缩图区 + 文案区层次，等高栅格下文案靠下更稳 */
.hzbgs-hp-card--media {
  padding: 12px 12px 14px;
  overflow: hidden;
  border-color: rgba(210, 210, 215, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 252, 0.98) 100%);
}

a.hzbgs-hp-card--link.hzbgs-hp-card--media {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hzbgs-hp-cardMedia {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: linear-gradient(145deg, #ececee 0%, #e2e2e6 55%, #d8d8de 100%);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hzbgs-hp-cardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

a.hzbgs-hp-card--link.hzbgs-hp-card--media:hover .hzbgs-hp-cardMedia img {
  transform: scale(1.05);
}

a.hzbgs-hp-card--link.hzbgs-hp-card--media:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 113, 227, 0.06);
}

.hzbgs-hp-cardBody {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hzbgs-hp-card--media .hzbgs-hp-cardBody {
  padding: 16px 2px 4px;
  min-height: 0;
  justify-content: flex-end;
  gap: 0;
}

.hzbgs-hp-card--media .hzbgs-hp-cardTitle {
  position: relative;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.38;
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hzbgs-hp-card--media .hzbgs-hp-cardTitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0071e3, #2f8cff);
}

.hzbgs-hp-card--media .hzbgs-hp-cardText {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--text2);
  opacity: 0.95;
}

.hzbgs-hp-section + .hzbgs-hp-section {
  padding-top: 22px;
}

@media (max-width: 768px) {
  .hzbgs-hp-heroStats {
    margin-bottom: 18px;
    padding-bottom: 8px;
  }
  .hzbgs-hp-section {
    padding: 28px 0 16px;
  }
  .hzbgs-hp-section + .hzbgs-hp-section {
    padding-top: 14px;
  }

  .hzbgs-hp-card--media {
    padding: 10px 10px 12px;
  }

  .hzbgs-hp-cardMedia {
    border-radius: 12px;
    aspect-ratio: 16 / 11;
  }

  .hzbgs-hp-card--media .hzbgs-hp-cardBody {
    padding-top: 14px;
  }

  #hz-home-lab a.hzbgs-hp-card--link.hzbgs-hp-card--media {
    gap: 10px;
    padding: 8px 10px 8px 8px;
  }

  #hz-home-lab .hzbgs-hp-cardMedia {
    flex: 0 0 36%;
    max-width: 160px;
  }
}

.hzbgs-hp-cards--quad {
  grid-template-columns: repeat(2, 1fr);
}

/* 移动端「我们的研究领域」：四卡横排，左右滑动查看 */
@media (max-width: 1024px) {
  #hz-home-research .hzbgs-hp-cards--quad {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: thin;
  }

  #hz-home-research .hzbgs-hp-cards--quad::-webkit-scrollbar {
    height: 4px;
  }

  #hz-home-research .hzbgs-hp-cards--quad::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
  }

  /* 每张约半屏宽，可同时看到约 2 张，横向滑动看其余 */
  #hz-home-research .hzbgs-hp-cards--quad > .hzbgs-hp-card {
    flex: 0 0 min(48vw, 260px);
    max-width: min(48vw, 260px);
    scroll-snap-align: start;
    height: auto;
    min-height: 0;
  }

  #hz-home-research .hzbgs-hp-cards--quad > a.hzbgs-hp-card--link.hzbgs-hp-card--media {
    height: auto;
    min-height: 100%;
  }
}

.hzbgs-hp-cards--pair {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .hzbgs-hp-cards--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .hzbgs-hp-cards--pair {
    grid-template-columns: 1fr;
  }
}

/* 稀土新材料公共实验室：整行双列；卡内左图右文；正文两端对齐 */
#hz-home-lab .hzbgs-hp-cards--pair {
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#hz-home-lab a.hzbgs-hp-card--link.hzbgs-hp-card--media {
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  height: 100%;
  padding: 10px 14px 10px 10px;
}

#hz-home-lab .hzbgs-hp-cardMedia {
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  align-self: center;
  display: block;
}

#hz-home-lab .hzbgs-hp-cardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hz-home-lab a.hzbgs-hp-card--link.hzbgs-hp-card--media:hover .hzbgs-hp-cardMedia img {
  transform: scale(1.03);
}

#hz-home-lab .hzbgs-hp-card--media .hzbgs-hp-cardBody {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  justify-content: center;
  padding: 8px 4px 8px 0;
}

#hz-home-lab .hzbgs-hp-card--media .hzbgs-hp-cardTitle {
  text-align: left;
}

#hz-home-lab .hzbgs-hp-card--media .hzbgs-hp-cardText {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* —— 分镜叙事 —— */
.hzbgs-hp-story {
  padding: 52px 0 48px;
}

.hzbgs-hp-storyContainer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hzbgs-hp-storyGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}

.hzbgs-hp-storyLead {
  min-width: 0;
}

.hzbgs-hp-storyKicker {
  color: var(--text2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 兜底：如浏览器仍缓存旧 HTML，这行也强制不显示 */
.hzbgs-hp-storyKicker {
  display: none !important;
}

.hzbgs-hp-storyTitle {
  margin-top: 10px;
  font-size: clamp(1.2rem, 1.35vw + 0.75rem, 2.05rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hzbgs-hp-storyTitle {
    font-size: clamp(1rem, 2.6vw + 0.5rem, 1.22rem);
  }
}

.hzbgs-hp-storyDesc {
  margin-top: 12px;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.75;
  max-width: 60ch;
}

.hzbgs-hp-storySteps {
  margin-top: 0;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.hzbgs-hp-step {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210, 210, 215, 0.95);
  background: rgba(255, 255, 255, 0.76);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.hzbgs-hp-stepTitle {
  font-weight: 700;
  color: var(--text0);
}

.hzbgs-hp-stepDesc {
  margin-top: 8px;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .hzbgs-hp-cards {
    grid-template-columns: 1fr;
  }

  #hz-home-lab .hzbgs-hp-cards--pair {
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hzbgs-hp-heroStats {
    grid-template-columns: 1fr;
  }
  .hzbgs-hp-storyGrid {
    grid-template-columns: 1fr;
  }
  .hzbgs-hp-slideBg {
    object-position: center 35%;
  }
}

/* 移动端（与全站 ≤1024 一致）：轮播区略缩小高度、两侧留白，避免占满屏且贴边 */
@media (max-width: 1024px) {
  /* 首页正文区略收紧，减少「拉得很长」的空白 */
  body.hzbgs-home .hzbgs-hp-section {
    padding: 22px 0 14px;
  }

  body.hzbgs-home .hzbgs-hp-sectionInner {
    padding: 8px 16px 12px;
  }

  body.hzbgs-home .hzbgs-hp-lead {
    margin-top: 8px;
  }

  body.hzbgs-home .hzbgs-hp-cards {
    margin-top: 14px;
  }

  /* 顶栏改为实底，避免 backdrop 与 WebKit 合成层导致整页发糊 */
  body.hzbgs-home .mobile-header.hzbgs-mobile-bar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.97) !important;
  }

  /* 轮播文案：禁用「未 reveal」时的 filter:blur（部分机型会残留或误伤下方区块） */
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-slideTop,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-title,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-desc,
  .hzbgs-hp-slideInner:not(.hzbgs-hp-reveal) > .hzbgs-hp-actions {
    opacity: 1;
    transform: none;
    filter: none !important;
  }

  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-slideTop,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-title,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-desc,
  .hzbgs-hp-slideInner.hzbgs-hp-reveal > .hzbgs-hp-actions {
    animation: none !important;
  }

  .hzbgs-hp-heroSection {
    padding: 4px 0 6px;
  }

  .hzbgs-hp-heroMain {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hzbgs-hp-heroAside {
    flex-direction: column;
    gap: 8px;
    padding: 4px;
    border-radius: 18px;
    margin-top: -4px;
  }

  /* 侧栏 Liquid Glass：移动端去掉 backdrop-filter，改为实色卡，避免整页被糊住 */
  .hzbgs-hp-heroSideCard {
    flex: 0 1 auto;
    min-height: 0;
    isolation: auto;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  }

  .hzbgs-hp-heroSideCard--science {
    background: #f3f8ff;
  }

  .hzbgs-hp-heroSideCard--today {
    background: #f6faf8;
  }

  .hzbgs-hp-todayPricesViewport {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .hzbgs-hp-heroSideCard::before {
    display: none;
  }

  .hzbgs-hp-heroSideCard:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  }

  .hzbgs-hp-heroSideCard-more {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fafafa;
    border-top-color: rgba(0, 0, 0, 0.08);
  }

  .hzbgs-hp-heroSideCard-line {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: unset;
  }

  .hzbgs-hp-heroContainer {
    padding: 6px 12px 8px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  /* 轮播模块加高，大图多露出；文案区改回右下角小深色卡，不全屏挡图 */
  .hzbgs-hp-heroCard {
    min-height: 260px;
    height: min(56vh, 440px);
    max-height: 480px;
    border-radius: 20px;
  }

  body.hzbgs-home .hzbgs-hp-slideScrim {
    height: 22%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.02) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  /* 与改版前一致：半透明深色底 + 白字，仅占一角，不全宽遮罩 */
  .hzbgs-hp-slideInner {
    position: absolute;
    left: auto;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: 42px;
    top: auto;
    margin: 0 !important;
    align-self: auto;
    width: min(292px, calc(100% - 24px));
    max-width: min(292px, calc(100% - 24px));
    min-width: 0;
    padding: 10px 12px 12px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.58);
  }

  .hzbgs-hp-slideInner .hzbgs-hp-slideTop {
    gap: 6px;
    margin-bottom: 0;
    justify-content: space-between;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-kicker {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hzbgs-hp-slideInner .hzbgs-hp-badge {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-title {
    margin-top: 6px;
    font-size: clamp(0.98rem, 3.6vw, 1.12rem);
    line-height: 1.18;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  }

  .hzbgs-hp-slideInner .hzbgs-hp-desc {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.48;
    max-width: none;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  }

  .hzbgs-hp-slideInner .hzbgs-hp-actions {
    margin-top: 8px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-primaryBtn,
  .hzbgs-hp-slideInner .hzbgs-hp-ghostBtn {
    padding: 7px 11px;
    font-size: 11.5px;
    border-radius: 999px;
  }

  /* 与桌面 slideInner 一致：主按钮浅底深字，次按钮半明白边 */
  .hzbgs-hp-slideInner .hzbgs-hp-primaryBtn {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(210, 210, 215, 0.95);
    color: var(--text2);
    font-weight: 600;
    box-shadow: none;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-primaryBtn:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(180, 180, 188, 0.95);
    color: var(--text0);
    transform: translateY(-1px);
    filter: none;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-ghostBtn {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: none;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-ghostBtn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: none;
  }

  .hzbgs-hp-swiper .swiper-pagination {
    bottom: 10px !important;
    left: 0;
    right: 0;
    width: 100%;
  }

  .hzbgs-hp-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 4px !important;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }

  .hzbgs-hp-swiper .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    background: rgba(0, 113, 227, 0.95);
  }

  .hzbgs-hp-heroStats {
    padding: 8px 12px 6px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hzbgs-hp-stat {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  body.hzbgs-home .hzbgs-site-footer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 480px) {
  .hzbgs-hp-heroCard {
    min-height: 220px;
    height: min(52vh, 400px);
    max-height: 420px;
  }

  .hzbgs-hp-heroContainer {
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

  .hzbgs-hp-slideInner {
    width: min(268px, calc(100% - 20px));
    max-width: min(268px, calc(100% - 20px));
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: 40px;
    padding: 9px 10px 11px;
  }

  .hzbgs-hp-slideInner .hzbgs-hp-desc {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }
}

/* 移动端：支撑条件 —— 横排可滑动；实验室双卡改为纵向堆叠、每卡仍左图右文占满宽 */
@media (max-width: 1024px) {
  #hz-home-lab .hzbgs-hp-cards--pair {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 16px;
    overflow: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
    width: 100% !important;
    max-width: 100% !important;
  }

  #hz-home-lab .hzbgs-hp-cards--pair > a.hzbgs-hp-card--link.hzbgs-hp-card--media {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #hz-home-support .hzbgs-hp-cards {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    grid-template-columns: unset !important;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: thin;
  }

  #hz-home-support .hzbgs-hp-cards > .hzbgs-hp-card {
    flex: 0 0 min(48vw, 260px);
    max-width: min(48vw, 260px);
    scroll-snap-align: start;
    height: auto;
    min-height: 0;
  }

  #hz-home-support .hzbgs-hp-cards > a.hzbgs-hp-card--link.hzbgs-hp-card--media {
    height: auto;
    min-height: 100%;
  }

  #hz-home-support .hzbgs-hp-cards::-webkit-scrollbar {
    height: 4px;
  }

  #hz-home-support .hzbgs-hp-cards::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
  }
}

/* 首页兜底：若其它样式表引入 apple-motion.css，禁止对正文区块使用 blur（与 apple-motion.js 在首页跳过一致） */
body.hzbgs-home [data-motion="reveal"],
body.hzbgs-home [data-motion="hero"],
body.hzbgs-home [data-motion="text"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html.motion-ready body.hzbgs-home [data-motion="reveal"].is-in,
html.motion-ready body.hzbgs-home [data-motion="hero"].is-in,
html.motion-ready body.hzbgs-home [data-motion="text"].is-in {
  filter: none !important;
}

body.hzbgs-home img[data-motion="media"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
