.page-home {
  --hp-cut: 30px;
  --hp-veil-angle: 180deg;
  --hp-gap: clamp(20px, 3vw, 32px);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(120% 70% at 84% -8%, rgba(36, 28, 76, .9) 0%, rgba(10, 26, 47, 0) 62%),
    var(--night);
  color: var(--cream);
}

.page-home .home-topline {
  padding-top: clamp(16px, 2vw, 24px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(18px, 2.4vw, 30px) clamp(44px, 6vw, 80px);
}

.page-home .home-hero__grid {
  display: grid;
  gap: var(--hp-gap);
  align-items: start;
}

.page-home .home-hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(430px, 76vw, 600px);
  padding: clamp(22px, 3.4vw, 44px);
  background: var(--night-2);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hp-cut)), calc(100% - var(--hp-cut)) 100%, 0 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--hp-veil-angle), rgba(10, 26, 47, .22) 0%, rgba(10, 26, 47, .70) 46%, rgba(10, 26, 47, .96) 86%),
    repeating-linear-gradient(0deg, rgba(127, 212, 240, .07) 0 1px, rgba(127, 212, 240, 0) 1px 60px),
    repeating-linear-gradient(90deg, rgba(127, 212, 240, .07) 0 1px, rgba(127, 212, 240, 0) 1px 60px);
}

.page-home .home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.page-home .home-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--yellow);
}

.page-home .home-tag::before {
  content: "";
  display: block;
  width: 3px;
  height: 14px;
  background: var(--orange);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.6vw, 46px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: .01em;
  color: var(--cream);
  text-wrap: balance;
}

.page-home .home-score {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 2.4vw, 20px);
  margin-top: 6px;
}

.page-home .home-score__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-score__who {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-home .home-score__num {
  font-family: var(--font-display);
  font-size: clamp(74px, 20vw, 112px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.page-home .home-score__num--home { color: var(--grass); }
.page-home .home-score__num--away { color: var(--ice); }

.page-home .home-score__sep {
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 54px);
  line-height: .9;
  color: var(--mist);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 32em;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 右侧索引栏 ---------- */
.page-home .home-rail {
  display: grid;
  gap: 16px;
  align-content: start;
  align-self: start;
}

.page-home .home-rail__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--night-2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--hp-cut) 100%, 0 calc(100% - var(--hp-cut)));
}

.page-home .home-rail__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.page-home .home-rail__block {
  padding: 18px 18px 20px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--night-2) 100%);
  border-left: 1px solid var(--ice);
}

.page-home .home-rail__head {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ice);
}

.page-home .home-shots {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-shots__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stroke);
}

.page-home .home-shots__row:last-child { border-bottom: 0; padding-bottom: 0; }

.page-home .home-shots__time {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-shots__pair {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-home .side-home { color: var(--grass); }
.page-home .side-away { color: var(--ice); }

.page-home .home-shots__colon {
  font-size: 14px;
  color: var(--mist);
}

.page-home .home-shots__hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-views {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: rgba(14, 59, 62, .55);
  border: 1px solid var(--stroke);
}

.page-home .home-views__link {
  flex: 1 1 84px;
  min-width: 0;
  padding: 9px 10px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(10, 26, 47, .5);
  transition: background .28s var(--ease), color .28s var(--ease);
}

.page-home .home-views__link:hover,
.page-home .home-views__link:focus-visible {
  background: var(--orange);
  color: var(--night);
}

.page-home .home-fav {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--yellow);
  background: transparent;
  border: 1px dashed var(--yellow);
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease);
}

.page-home .home-fav:hover,
.page-home .home-fav:focus-visible {
  background: var(--yellow);
  color: var(--night);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.page-home .home-section + .home-section {
  border-top: 1px solid rgba(22, 50, 79, .75);
}

.page-home .home-section--narrow {
  padding-block: clamp(42px, 5.4vw, 76px);
}

.page-home .home-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.page-home .home-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--cream);
  text-wrap: balance;
}

.page-home .home-lead {
  margin: 0;
  max-width: 38em;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 两种看法 ---------- */
.page-home .home-pair {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

.page-home .home-pair__card {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(165deg, var(--teal) 0%, var(--night-2) 100%);
  border-top: 2px solid var(--grass);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .home-pair__card--away {
  background: linear-gradient(165deg, #12303f 0%, var(--night-2) 100%);
  border-top-color: var(--ice);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-home .home-pair__h {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--cream);
}

.page-home .home-pair__p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

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

.page-home .home-pair__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream);
}

.page-home .home-pair__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 2px;
  background: var(--yellow);
}

/* ---------- 统计分区折叠 ---------- */
.page-home .home-stats {
  display: grid;
  gap: 10px;
}

.page-home .home-stat {
  border: 1px solid var(--stroke);
  background: rgba(13, 33, 56, .72);
}

.page-home .home-stat[open] {
  border-color: var(--ice);
  background: rgba(14, 59, 62, .5);
}

.page-home .home-stat__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--cream);
}

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

.page-home .home-stat__idx {
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--night);
  background: var(--yellow);
}

.page-home .home-stat__name { flex: 1 1 auto; }

.page-home .home-stat__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .home-stat__rows {
  margin: 0;
  padding: 4px 16px 16px;
  list-style: none;
  display: grid;
}

.page-home .home-stat__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(22, 50, 79, .85);
  font-size: 14px;
  color: var(--cream);
}

.page-home .home-stat__vals {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-home .home-stat__vals i {
  font-style: normal;
  font-size: 12px;
  color: var(--mist);
}

/* ---------- 轮次轴 ---------- */
.page-home .home-bleed {
  position: relative;
  margin: 0 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.page-home .home-bleed img {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 380px);
  object-fit: cover;
}

.page-home .home-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 26, 47, .30) 0%, rgba(10, 26, 47, .86) 76%, var(--night) 100%);
}

.page-home .home-axis {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-block: 16px;
}

.page-home .home-axis::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, rgba(127, 212, 240, .18) 0%, var(--ice) 62%, var(--yellow) 100%);
}

.page-home .home-axis__node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--night);
  border: 1px solid var(--ice);
}

.page-home .home-axis__node.is-now {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(255, 210, 74, .18);
}

.page-home .home-axis__scale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .home-axis__scale .is-now { color: var(--yellow); }

.page-home .home-rounds__foot {
  margin: clamp(22px, 3vw, 34px) 0 0;
}

/* ---------- 出稿节奏 ---------- */
.page-home .home-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.page-home .home-flow__item {
  position: relative;
  padding: 0 0 clamp(24px, 3.4vw, 36px) 28px;
  border-left: 1px solid var(--stroke);
}

.page-home .home-flow__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .home-flow__dot {
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--yellow);
}

.page-home .home-flow__when {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ice);
}

.page-home .home-flow__h {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
}

.page-home .home-flow__p {
  margin: 0;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 回访路径 ---------- */
.page-home .home-paths {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.page-home .home-path {
  padding: clamp(20px, 2.6vw, 28px);
  background: rgba(36, 28, 76, .55);
  border-left: 2px solid var(--ice);
}

.page-home .home-path__n {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: rgba(127, 212, 240, .5);
}

.page-home .home-path__h {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}

.page-home .home-path__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 电脑端 ---------- */
.page-home .home-desk {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.page-home .home-desk__body {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.page-home .home-desk__note {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--stroke);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-desk__cta { margin: 4px 0 0; }

.page-home .home-desk__figure {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

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

/* ---------- 收束 ---------- */
.page-home .home-section--close {
  padding-block: clamp(40px, 6vw, 72px) 120px;
  background: linear-gradient(180deg, rgba(14, 59, 62, 0) 0%, rgba(14, 59, 62, .55) 100%);
  border-top: 0;
}

.page-home .home-close {
  display: grid;
  gap: 20px;
}

.page-home .home-close__lead {
  margin: 0;
  max-width: 46em;
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--cream);
}

.page-home .home-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-stat__rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    padding-bottom: 12px;
  }
}

@media (min-width: 820px) {
  .page-home .home-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .page-home {
    --hp-veil-angle: 100deg;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(28px, 5vw, 64px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 92px;
  }
}

@media (min-width: 860px) {
  .page-home .home-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 34px);
  }

  .page-home .home-flow__item {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--stroke);
  }

  .page-home .home-flow__item:last-child {
    border-top-color: var(--stroke);
  }

  .page-home .home-flow__dot {
    left: 0;
    top: -5px;
  }
}

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

@media (min-width: 880px) {
  .page-home .home-desk {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
