.page-home {
  --home-cut: 20px;
  --home-hard: 6px 6px 0 var(--ink-950);
  display: block;
}

/* ===== 框景首屏 ===== */
.page-home .home-hero {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 34px;
}

.page-home .home-frame {
  position: relative;
  border: 3px solid var(--purple-500);
  background: linear-gradient(155deg, rgba(110, 43, 255, .22), rgba(24, 10, 46, 0) 58%);
  box-shadow: var(--home-hard);
}

.page-home .home-frame__rule {
  display: block;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--purple-500) 0 1px, transparent 1px 22px);
  border-bottom: 2px solid var(--purple-500);
}

.page-home .home-frame__body {
  position: relative;
  padding: 20px 16px 22px;
}

.page-home .home-frame__body::before,
.page-home .home-frame__body::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 0 solid var(--cyan-400);
  pointer-events: none;
}

.page-home .home-frame__body::before {
  top: 8px;
  left: 8px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.page-home .home-frame__body::after {
  right: 8px;
  bottom: 8px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(29px, 7.4vw, 54px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 10px 0 14px;
  color: var(--paper-050);
}

.page-home .home-hero__sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(246, 244, 251, .82);
  max-width: 34em;
  margin: 0;
}

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

.page-home .home-hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 14px 0 0;
  border-top: 2px solid rgba(110, 43, 255, .55);
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--orange-500);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.page-home .home-stat__lbl {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fog-500);
  letter-spacing: .04em;
}

/* ===== 比分卡舞台 ===== */
.page-home .home-hero__stage {
  position: relative;
  margin-top: 24px;
}

.page-home .home-hero__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--purple-700);
}

.page-home .home-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .scorecard {
  position: relative;
  z-index: 2;
  margin: -30px 10px 0;
  padding: 14px 14px 12px;
  background: var(--ink-950);
  border: 3px solid var(--orange-500);
  box-shadow: var(--home-hard);
}

.page-home .scorecard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .scorecard__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan-400);
}

.page-home .scorecard__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 224, 210, .18);
}

.page-home .scorecard__board {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 6px;
  margin: 14px 0 10px;
}

.page-home .scorecard__side {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--fog-500);
}

.page-home .scorecard__side--end {
  text-align: right;
}

.page-home .scorecard__num {
  font-family: var(--font-mono);
  font-size: clamp(54px, 15vw, 102px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.04em;
  color: var(--orange-500);
  font-variant-numeric: tabular-nums;
}

.page-home .scorecard__sep {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--fog-500);
  padding-bottom: 8px;
}

.page-home .scorecard__possession-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog-500);
}

.page-home .home-cy {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-400);
}

.page-home .home-fog {
  color: var(--fog-500);
}

.page-home .home-posbar {
  display: flex;
  height: 10px;
  margin-top: 8px;
  border: 2px solid var(--purple-700);
  overflow: hidden;
}

.page-home .home-posbar__h {
  flex: 58;
  background: var(--cyan-400);
}

.page-home .home-posbar__a {
  flex: 42;
  background: rgba(154, 149, 174, .4);
}

.page-home .scorecard__spark {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 10px;
}

.page-home .scorecard__spark polyline {
  fill: none;
  stroke: var(--cyan-400);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-home .scorecard__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 9px;
  border-top: 2px solid rgba(110, 43, 255, .45);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-050);
}

.page-home .scorecard__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--ease), opacity var(--ease);
}

.page-home .scorecard:hover .scorecard__more,
.page-home .scorecard:focus .scorecard__more,
.page-home .scorecard:focus-within .scorecard__more {
  max-height: 200px;
  opacity: 1;
}

.page-home .scorecard__more-title {
  margin: 12px 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--fog-500);
}

.page-home .scorecard__more ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-050);
}

.page-home .scorecard__more li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(154, 149, 174, .32);
}

/* ===== 粘性迷你比分条 ===== */
.page-home .home-mini {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: var(--ink-950);
  border-top: 3px solid var(--purple-500);
  border-bottom: 3px solid var(--purple-500);
}

.page-home .home-mini__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.page-home .home-mini__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
}

.page-home .home-mini__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper-050);
  font-variant-numeric: tabular-nums;
}

.page-home .home-mini__min {
  font-size: 12px;
  color: var(--cyan-400);
}

.page-home .home-mini__jump {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--orange-500);
  text-decoration: none;
  border-bottom: 2px solid var(--orange-700);
  padding-bottom: 2px;
}

/* ===== 数据脉冲墙 ===== */
.page-home .home-pulse {
  position: relative;
  overflow: hidden;
}

.page-home .home-pulse__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  opacity: .3;
  pointer-events: none;
}

.page-home .home-pulse__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-pulse > .tf-wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(110, 43, 255, .16) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(110, 43, 255, .16) 0 1px, transparent 1px 68px);
}

.page-home .home-pulse__title,
.page-home .home-path__title,
.page-home .home-faq__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 5.6vw, 40px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--paper-050);
  margin: 8px 0 12px;
}

.page-home .home-pulse__intro,
.page-home .home-path__intro,
.page-home .home-faq__body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(246, 244, 251, .78);
  max-width: 34em;
  margin: 0;
}

.page-home .home-pulse__head {
  margin-bottom: 24px;
}

.page-home .home-pulse__map {
  margin: 0 0 20px;
  border: 2px solid var(--purple-500);
  overflow: hidden;
}

.page-home .home-pulse__map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-pulse__lanes {
  display: grid;
  gap: 12px;
}

.page-home .home-lane {
  border: 2px solid var(--purple-500);
  background: rgba(24, 10, 46, .74);
  padding: 13px 14px;
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .home-lane:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.page-home .home-lane__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .home-lane__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--paper-050);
}

.page-home .home-lane__field {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(246, 244, 251, .8);
}

.page-home .home-lane__rate {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--cyan-400);
}

.page-home .home-fields {
  margin-top: 26px;
}

.page-home .home-field {
  border: 2px solid var(--purple-700);
  background: var(--purple-900);
  padding: 16px 15px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .home-field:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.page-home .home-field__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--paper-050);
}

.page-home .home-field ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-home .home-field li {
  position: relative;
  padding-left: 15px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(246, 244, 251, .8);
}

.page-home .home-field li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--orange-500);
}

/* ===== 季票三档 ===== */
.page-home .home-pass {
  background: var(--paper-050);
  color: var(--ink-900);
}

.page-home .home-pass__eyebrow {
  color: var(--purple-500);
}

.page-home .home-pass__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 5.6vw, 40px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin: 8px 0 12px;
}

.page-home .home-pass__intro {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(23, 19, 37, .78);
  max-width: 34em;
  margin: 0;
}

.page-home .home-pass__shot {
  margin: 0;
  border: 3px solid var(--ink-900);
  box-shadow: var(--home-hard);
  overflow: hidden;
}

.page-home .home-pass__shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-pass__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.page-home .home-pass__card {
  position: relative;
  border: 3px solid var(--ink-900);
  background: #ffffff;
  padding: 20px 16px 18px;
  box-shadow: 6px 6px 0 rgba(11, 11, 16, .16);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.page-home .home-pass__card:hover,
.page-home .home-pass__card:focus-within {
  border-color: var(--orange-500);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(255, 106, 26, .38);
}

.page-home .home-pass__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange-500);
  border: 2px solid var(--ink-900);
  padding: 2px 7px;
}

.page-home .home-pass__tier {
  margin: 12px 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.page-home .home-pass__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--purple-500);
}

.page-home .home-pass__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-pass__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(23, 19, 37, .82);
}

.page-home .home-pass__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--orange-500);
}

.page-home .home-pass__note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(23, 19, 37, .78);
}

.page-home .home-pass__note a,
.page-home .home-path__tail a,
.page-home .home-q__more a {
  color: var(--orange-700);
  text-decoration: none;
  border-bottom: 2px solid var(--orange-500);
}

/* ===== 三步路径 ===== */
.page-home .home-path {
  position: relative;
  padding-top: 62px;
  clip-path: polygon(
    0 20px, 4% 0, 8% 20px, 12% 0, 16% 20px, 20% 0, 24% 20px, 28% 0,
    32% 20px, 36% 0, 40% 20px, 44% 0, 48% 20px, 52% 0, 56% 20px, 60% 0,
    64% 20px, 68% 0, 72% 20px, 76% 0, 80% 20px, 84% 0, 88% 20px, 92% 0,
    96% 20px, 100% 4px, 100% 100%, 0 100%
  );
}

.page-home .home-path__eyebrow {
  color: var(--cyan-400);
}

.page-home .home-path__steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .home-path__step {
  position: relative;
  border: 2px solid var(--purple-500);
  background: rgba(24, 10, 46, .62);
  padding: 18px 16px 18px 22px;
  box-shadow: var(--shadow-soft);
}

.page-home .home-path__step::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2px;
  width: 4px;
  background: var(--cyan-400);
}

.page-home .home-path__step:nth-child(2)::before {
  background: var(--orange-500);
}

.page-home .home-path__step:nth-child(3)::before {
  background: var(--purple-500);
}

.page-home .home-path__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--fog-500);
}

.page-home .home-path__step h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--paper-050);
}

.page-home .home-path__step p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 244, 251, .8);
}

.page-home .home-path__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--orange-500);
  text-decoration: none;
  border-bottom: 2px solid var(--orange-700);
  padding-bottom: 2px;
}

.page-home .home-path__tail {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 244, 251, .78);
}

.page-home .home-path__tail a {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

/* ===== 高频疑问 ===== */
.page-home .home-faq {
  position: relative;
  padding-top: 54px;
}

.page-home .home-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background-image: repeating-linear-gradient(90deg, var(--orange-500) 0 2px, transparent 2px 26px);
  opacity: .7;
}

.page-home .home-faq__split {
  align-items: start;
}

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

.page-home .home-faq__list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.page-home .home-q {
  border: 2px solid var(--purple-700);
  background: rgba(24, 10, 46, .6);
  transition: border-color var(--ease);
}

.page-home .home-q:hover {
  border-color: var(--purple-500);
}

.page-home .home-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper-050);
}

.page-home .home-q summary::-webkit-details-marker {
  display: none;
}

.page-home .home-q summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--orange-500);
}

.page-home .home-q[open] summary::after {
  content: "–";
}

.page-home .home-q p {
  margin: 0;
  padding: 0 15px 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 244, 251, .78);
}

.page-home .home-q__more {
  padding-bottom: 16px !important;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .home-frame__body {
    padding: 24px 22px 26px;
  }

  .page-home .scorecard {
    margin: -36px 22px 0;
    padding: 16px 16px 14px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding-bottom: 46px;
  }

  .page-home .home-hero__grid {
    align-items: stretch;
  }

  .page-home .home-hero__stage {
    margin-top: 0;
    min-height: 100%;
  }

  .page-home .scorecard {
    position: absolute;
    left: -16px;
    bottom: 22px;
    width: min(430px, 76%);
    margin: 0;
  }

  .page-home .home-lane__field {
    font-size: 13.5px;
  }

  .page-home .home-pulse__map {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 60px);
  }

  .page-home .home-path__step:nth-child(2) {
    margin-left: 13%;
  }

  .page-home .home-path__step:nth-child(3) {
    margin-left: 26%;
  }

  .page-home .home-pass__cards {
    gap: 20px;
  }

  .page-home .home-faq__list {
    margin-top: 0;
  }
}

@media (min-width: 1180px) {
  .page-home .home-pulse__lanes {
    grid-template-columns: 1fr;
  }

  .page-home .home-fields {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .scorecard__more,
  .page-home .home-lane,
  .page-home .home-field,
  .page-home .home-pass__card,
  .page-home .home-q {
    transition: none;
  }

  .page-home .home-lane:hover,
  .page-home .home-field:hover,
  .page-home .home-pass__card:hover,
  .page-home .home-pass__card:focus-within {
    transform: none;
  }
}
