.page-home {
  --home-gap: clamp(56px, 9vw, 112px);
  --home-line: rgba(169, 184, 199, 0.16);
  --home-line-strong: rgba(169, 184, 199, 0.32);
  --home-card: linear-gradient(160deg, rgba(18, 40, 61, 0.92), rgba(11, 27, 43, 0.94));
  background: var(--bp-night);
  color: var(--bp-cream);
  font-family: var(--bp-sans);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 面包屑 ---------- */
.page-home .home-crumbs {
  max-width: var(--bp-wrap);
  margin: 0 auto;
  padding: 18px var(--bp-gutter) 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 76px);
  background:
    radial-gradient(110% 80% at 84% 4%, rgba(200, 64, 46, 0.24), transparent 56%),
    radial-gradient(80% 70% at 4% 94%, rgba(95, 168, 139, 0.16), transparent 62%),
    linear-gradient(180deg, #0b1b2b 0%, #091623 62%, #0b1b2b 100%);
}

.page-home .home-hero__veins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.page-home .home-hero__vein {
  fill: none;
  stroke: rgba(217, 164, 65, 0.5);
  stroke-width: 1.6;
  stroke-dasharray: 10 14;
  animation: homeVeinDrift 24s linear infinite;
}

.page-home .home-hero__vein--b {
  stroke: rgba(95, 168, 139, 0.34);
  stroke-dasharray: 4 18;
  animation-duration: 34s;
  animation-direction: reverse;
}

.page-home .home-hero__vein--c {
  stroke: rgba(200, 64, 46, 0.3);
  stroke-dasharray: 14 20;
  animation-duration: 46s;
}

@keyframes homeVeinDrift {
  to {
    stroke-dashoffset: -480;
  }
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: 30px;
  padding-top: 10px;
  padding-bottom: clamp(8px, 2vw, 20px);
}

/* 左侧锚点清单 */
.page-home .home-hero__rail {
  padding-top: 18px;
  border-top: 1px solid var(--home-line-strong);
}

.page-home .home-hero__rail .bp-rail__title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--bp-mist);
}

.page-home .home-hero__rail .bp-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .home-hero__rail .bp-rail__list li {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-hero__rail .bp-rail__list li:first-child {
  border-top: 1px solid var(--home-line);
}

.page-home .home-hero__rail .bp-rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  font-size: 15px;
  color: var(--bp-cream);
  text-decoration: none;
  transition: color 0.22s var(--bp-ease), padding-left 0.22s var(--bp-ease);
}

.page-home .home-hero__rail .bp-rail__link::after {
  content: "→";
  font-size: 13px;
  color: var(--bp-gold);
  opacity: 0.55;
}

.page-home .home-hero__rail .bp-rail__link:hover {
  color: var(--bp-gold-soft);
  padding-left: 8px;
}

.page-home .home-hero__rail .bp-rail__link[aria-current="true"] {
  color: var(--bp-gold);
}

/* 首屏主区 */
.page-home .home-hero__main {
  min-width: 0;
}

.page-home .bp-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bp-gold);
  margin: 0;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--bp-serif);
  font-weight: 900;
  font-size: clamp(36px, 8.4vw, 80px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--bp-cream);
}

.page-home .bp-mark {
  background: rgba(217, 164, 65, 0.22);
  color: var(--bp-gold-soft);
  padding: 0 0.1em;
  border-radius: 8px;
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 2.3vw, 17px);
  line-height: 1.85;
  color: var(--bp-mist);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-hero__cards {
  list-style: none;
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-hero__card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 18px 18px 20px;
  border-radius: var(--bp-r-md);
  border: 1px solid var(--home-line);
  background: var(--home-card);
  color: var(--bp-cream);
  text-decoration: none;
  transition: border-color 0.25s var(--bp-ease), transform 0.25s var(--bp-ease);
}

.page-home .home-hero__card a:hover {
  border-color: rgba(217, 164, 65, 0.6);
  transform: translateY(-3px);
}

.page-home .home-hero__card a:focus-visible {
  outline: 2px solid var(--bp-gold);
  outline-offset: 3px;
}

.page-home .home-hero__num {
  font-family: var(--bp-serif);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--bp-gold);
}

.page-home .home-hero__cardtitle {
  font-size: 17px;
  font-weight: 600;
}

.page-home .home-hero__cardtext {
  font-size: 13px;
  line-height: 1.75;
  color: var(--bp-mist);
}

.page-home .home-hero__media {
  margin: clamp(30px, 4vw, 46px) 0 0;
  border-radius: var(--bp-r-lg);
  border: 1px solid var(--home-line);
  background: var(--bp-night-2);
  overflow: hidden;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-hero__media .bp-media__cap {
  display: block;
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--bp-mist);
}

/* ---------- 区块通用 ---------- */
.page-home .home-week,
.page-home .home-route,
.page-home .home-scale,
.page-home .home-access {
  padding-top: var(--home-gap);
}

.page-home .home-keep {
  padding-top: var(--home-gap);
  padding-bottom: var(--home-gap);
}

.page-home .home-week__head,
.page-home .home-route__head,
.page-home .home-scale__head,
.page-home .home-access__head {
  max-width: 640px;
}

.page-home .bp-h2 {
  margin: 12px 0 0;
  font-family: var(--bp-serif);
  font-weight: 900;
  font-size: clamp(25px, 4.4vw, 40px);
  line-height: 1.26;
  letter-spacing: 0.01em;
  color: var(--bp-cream);
}

.page-home .bp-text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--bp-mist);
}

.page-home .bp-media {
  border-radius: var(--bp-r-lg);
  border: 1px solid var(--home-line);
  background: var(--bp-night-2);
  overflow: hidden;
}

.page-home .bp-media .bp-media__cap {
  display: block;
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--bp-mist);
}

/* ---------- 本周活动节点 ---------- */
.page-home .home-week__body {
  display: grid;
  gap: 28px;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .bp-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.page-home .bp-tabs__tab {
  appearance: none;
  cursor: pointer;
  padding: 9px 20px;
  border-radius: var(--bp-r-pill);
  border: 1px solid var(--home-line-strong);
  background: transparent;
  color: var(--bp-mist);
  font-family: var(--bp-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.2s var(--bp-ease), color 0.2s var(--bp-ease), border-color 0.2s var(--bp-ease);
}

.page-home .bp-tabs__tab:hover {
  color: var(--bp-cream);
  border-color: rgba(217, 164, 65, 0.7);
}

.page-home .bp-tabs__tab[aria-selected="true"] {
  background: var(--bp-cinnabar);
  border-color: var(--bp-cinnabar);
  color: #fff;
}

.page-home .bp-tabs__tab:focus-visible {
  outline: 2px solid var(--bp-gold);
  outline-offset: 3px;
}

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 26px;
  border-left: 1px solid var(--home-line-strong);
}

.page-home .home-timeline li {
  position: relative;
  padding-bottom: 26px;
}

.page-home .home-timeline li:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bp-night);
  border: 2px solid var(--bp-gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.14);
}

.page-home .home-timeline__when {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--bp-gold);
}

.page-home .home-timeline__title {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bp-cream);
}

.page-home .home-timeline__text {
  margin: 6px 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--bp-mist);
}

.page-home .bp-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--bp-r-pill);
  border: 1px solid var(--home-line-strong);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--bp-mist);
}

.page-home .bp-tag--live {
  border-color: rgba(95, 168, 139, 0.55);
  color: var(--bp-celadon);
  background: rgba(95, 168, 139, 0.12);
}

.page-home .bp-tag--gold {
  border-color: rgba(217, 164, 65, 0.55);
  color: var(--bp-gold);
  background: rgba(217, 164, 65, 0.12);
}

.page-home .home-week__media {
  margin: 0;
}

.page-home .home-week__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 固定栏目 ---------- */
.page-home .home-route__inner {
  display: grid;
  gap: 30px;
}

.page-home .home-route__side {
  min-width: 0;
}

.page-home .home-route__media {
  margin: 26px 0 0;
}

.page-home .home-route__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-route__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-route__list li {
  border-top: 1px solid var(--home-line);
}

.page-home .home-route__list li:last-child {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-route__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 20px 4px;
  color: var(--bp-cream);
  text-decoration: none;
  transition: background 0.2s var(--bp-ease), padding-left 0.2s var(--bp-ease);
}

.page-home .home-route__link:hover {
  background: rgba(217, 164, 65, 0.07);
  padding-left: 12px;
}

.page-home .home-route__link:focus-visible {
  outline: 2px solid var(--bp-gold);
  outline-offset: -2px;
}

.page-home .home-route__idx {
  font-family: var(--bp-serif);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--bp-gold);
}

.page-home .home-route__name {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.page-home .home-route__desc {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--bp-mist);
}

.page-home .home-route__arrow {
  font-size: 15px;
  color: var(--bp-cinnabar);
}

.page-home .bp-link {
  color: var(--bp-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 分类与规模 ---------- */
.page-home .home-scale__grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-scale__card {
  padding: 22px 20px 20px;
  border-radius: var(--bp-r-md);
  border: 1px solid var(--home-line);
  background: var(--home-card);
}

.page-home .home-scale__card--lead {
  background: linear-gradient(150deg, rgba(200, 64, 46, 0.92), rgba(142, 43, 34, 0.94));
  border-color: rgba(240, 217, 168, 0.36);
}

.page-home .home-scale__num {
  display: block;
  font-family: var(--bp-serif);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--bp-gold);
}

.page-home .home-scale__card--lead .home-scale__num {
  color: var(--bp-gold-soft);
}

.page-home .home-scale__label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--bp-cream);
}

.page-home .home-scale__card--lead .home-scale__label {
  color: rgba(244, 239, 230, 0.94);
}

.page-home .home-scale__sub {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--bp-mist);
}

.page-home .home-scale__card--lead .home-scale__sub {
  color: rgba(240, 217, 168, 0.86);
}

.page-home .home-scale__note {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-radius: var(--bp-r-md);
  border: 1px dashed var(--home-line-strong);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--bp-mist);
}

/* ---------- 换机与客服 ---------- */
.page-home .home-access__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .home-access__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--bp-r-lg);
  border: 1px solid var(--home-line);
  background: var(--home-card);
  overflow: hidden;
}

.page-home .home-access__figure {
  margin: 0;
  background: var(--bp-night-2);
}

.page-home .home-access__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 38%;
}

.page-home .home-access__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 24px 22px 26px;
}

.page-home .home-access__title {
  margin: 0;
  font-family: var(--bp-serif);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.36;
  color: var(--bp-cream);
}

.page-home .home-access__body .bp-text {
  margin: 0;
}

.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-steps li:last-child {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-steps__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.55);
  font-family: var(--bp-serif);
  font-size: 14px;
  color: var(--bp-gold);
}

.page-home .home-steps__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--bp-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 164, 65, 0.4);
  padding-bottom: 2px;
}

.page-home .home-steps__link:hover {
  color: var(--bp-gold-soft);
}

.page-home .home-steps__text {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--bp-mist);
}

.page-home .home-access__mail {
  margin: auto 0 0;
  padding: 14px 16px;
  border-radius: var(--bp-r-md);
  border: 1px solid var(--home-line);
  background: rgba(11, 27, 43, 0.7);
  font-size: 13px;
  line-height: 1.8;
  color: var(--bp-mist);
  word-break: break-word;
}

.page-home .home-access__mail strong {
  color: var(--bp-gold-soft);
  font-weight: 600;
}

/* ---------- 收藏与回访 ---------- */
.page-home .home-keep__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px) clamp(22px, 4vw, 52px);
  border-radius: var(--bp-r-lg);
  border: 1px solid rgba(240, 217, 168, 0.32);
  background: linear-gradient(125deg, #c8402e 0%, #8e2b22 58%, #12283d 100%);
}

.page-home .home-keep__panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(240, 217, 168, 0.28);
  pointer-events: none;
}

.page-home .home-keep__title {
  position: relative;
  margin: 0;
  font-family: var(--bp-serif);
  font-weight: 900;
  font-size: clamp(23px, 4.2vw, 38px);
  line-height: 1.3;
  color: var(--bp-cream);
}

.page-home .home-keep__text {
  position: relative;
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 239, 230, 0.9);
}

.page-home .home-keep__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-keep__links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: 13px;
}

.page-home .home-keep__links a {
  color: rgba(244, 239, 230, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 217, 168, 0.35);
  padding-bottom: 2px;
}

.page-home .home-keep__links a:hover {
  color: var(--bp-gold-soft);
}

/* ---------- 悬浮客服按钮 ---------- */
.page-home .home-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--bp-r-pill);
  background: var(--bp-cinnabar);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(7, 16, 24, 0.55);
  transition: background 0.2s var(--bp-ease), transform 0.2s var(--bp-ease);
}

.page-home .home-dock:hover {
  background: var(--bp-cinnabar-deep);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-home .home-scale__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-scale__card--lead {
    grid-column: span 2;
  }
}

@media (min-width: 720px) {
  .page-home .home-hero__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: start;
  }

  .page-home .home-hero__rail {
    position: sticky;
    top: calc(var(--bp-header-h) + 24px);
    padding-top: 22px;
  }

  .page-home .home-access__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  .page-home .home-access__card--account {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .page-home .home-access__card--account .home-access__figure {
    height: 100%;
  }

  .page-home .home-access__card--account .home-access__figure img {
    height: 100%;
    aspect-ratio: auto;
    object-position: center;
  }

  .page-home .home-dock {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 960px) {
  .page-home .home-week__body {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(30px, 4vw, 52px);
    align-items: start;
  }

  .page-home .home-route__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
  }

  .page-home .home-scale__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-scale__card--lead {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__vein {
    animation: none;
  }

  .page-home .home-hero__card a,
  .page-home .home-route__link,
  .page-home .home-dock {
    transition: none;
  }

  .page-home .home-hero__card a:hover,
  .page-home .home-dock:hover {
    transform: none;
  }
}
