/* ================= page-home ================= */
.page-home {
  --hm-rail: 132px;
  --hm-gap: clamp(24px, 4vw, 60px);
  display: block;
  background: var(--paper);
  color: var(--ink);
}

.page-home .hm-section {
  position: relative;
  padding-block: clamp(56px, 9vw, 108px);
  background: var(--paper);
}
.page-home .hm-section--band { background: var(--paper-deep); }
.page-home .hm-section--deep {
  background: var(--ink);
  color: var(--paper);
}
.page-home .hm-section--deep .hm-lead,
.page-home .hm-section--deep .hm-split__main > p {
  color: var(--chalk-text);
}

/* ---- 非对称分栏 ---- */
.page-home .hm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.page-home .hm-split__rail .rail-note {
  color: var(--steel);
}
.page-home .hm-section--deep .hm-split__rail .rail-note {
  color: var(--chalk-dim);
}

@media (min-width: 900px) {
  .page-home .hm-split {
    grid-template-columns: minmax(0, var(--hm-rail)) minmax(0, 1fr);
    column-gap: var(--hm-gap);
  }
  .page-home .hm-split--mirror {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--hm-rail));
  }
  .page-home .hm-split--mirror .hm-split__rail { order: 2; }
  .page-home .hm-split--mirror .hm-split__main { order: 1; }
}
@media (max-width: 899px) {
  .page-home .hm-split__rail .rail-note { writing-mode: horizontal-tb; }
}

/* ---- 通用引导句 ---- */
.page-home .hm-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: var(--fs-18);
  line-height: 1.85;
  color: var(--ink);
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}
.page-home .section-head__no {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .16em;
  color: var(--grass);
}
.page-home .section-head__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.page-home .hm-section--deep .section-head__no { color: var(--score); }
.page-home .hm-section--deep .section-head__title { color: var(--chalk); }

/* ---- 箭头链接 ---- */
.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 6px;
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--grass-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--grass);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.page-home .link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
}
.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  gap: 16px;
  color: var(--ink);
}
.page-home .hm-section--deep .link-arrow {
  color: var(--chalk);
  border-bottom-color: var(--grass);
}
.page-home .hm-section--deep .link-arrow:hover,
.page-home .hm-section--deep .link-arrow:focus-visible { color: var(--score); }

/* ================= HERO ================= */
.page-home .hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}
.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: .38;
  filter: saturate(.55) brightness(.7);
}
.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(11,26,36,.96) 0%, rgba(11,26,36,.86) 46%, rgba(11,26,36,.46) 100%);
}

.page-home .hero__mark {
  position: absolute;
  right: -2vw;
  bottom: -.14em;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 26vw, 320px);
  line-height: .76;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(252, 251, 246, .16);
  pointer-events: none;
  user-select: none;
}

.page-home .hero__wedge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(50%, 500px);
  height: min(46%, 340px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 22px 26px;
  background: var(--paper);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .hero__wedge span {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .14em;
  line-height: 1.7;
  text-align: right;
  color: var(--score-ink);
}

.page-home .hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 46px);
  padding-block: clamp(96px, 15vw, 172px) clamp(60px, 9vw, 108px);
}

.page-home .hero__rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .hero__rail .rail-note {
  color: var(--chalk-dim);
}
.page-home .hero__seasons {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.page-home .hero__seasons li { scroll-snap-align: start; flex: 0 0 auto; }
.page-home .hero__seasons a {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 2px 0 2px 11px;
  border-left: 1px solid var(--chalk-line);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--chalk-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.page-home .hero__seasons a span {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  letter-spacing: .02em;
}
.page-home .hero__seasons a:hover,
.page-home .hero__seasons a:focus-visible {
  color: var(--chalk);
  border-left-color: var(--grass);
}

.page-home .hero__body { max-width: 46rem; }
.page-home .hero__body .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grass);
}
.page-home .hero__body h1.display {
  margin: 16px 0 0;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: .98;
  color: var(--chalk);
}
.page-home .hero__lead {
  max-width: 40ch;
  margin: 24px 0 0;
  font-size: var(--fs-18);
  line-height: 1.85;
  color: var(--chalk-text);
}
.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
    align-items: end;
  }
  .page-home .hero__seasons { flex-direction: column; overflow: visible; }
}

@media (max-width: 719px) {
  .page-home .hero__wedge { width: 48%; height: 30%; padding: 12px 14px; }
  .page-home .hero__wedge span { font-size: 11px; letter-spacing: .08em; }
}

/* ================= 赛季入口 ================= */
.page-home .season-gate { margin-top: 30px; }
.page-home .season-gate__track {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.page-home .season-gate__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.page-home .season-gate__item {
  flex: 0 0 auto;
  width: 188px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--grid);
  border-top: 4px solid var(--grid);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.page-home .hm-section--gate { background: var(--paper); }
.page-home .season-gate__item:hover { transform: translateY(-3px); border-top-color: var(--grass); }
.page-home .season-gate__input:checked + .season-gate__item {
  background: var(--ink);
  border-color: var(--ink);
  border-top-color: var(--score);
}
.page-home .season-gate__input:focus-visible + .season-gate__item {
  outline: 2px solid var(--grass);
  outline-offset: 3px;
}
.page-home .season-gate__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.page-home .season-gate__input:checked + .season-gate__item .season-gate__year { color: var(--score); }
.page-home .season-gate__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--grass-deep);
}
.page-home .season-gate__input:checked + .season-gate__item .season-gate__cap { color: var(--grass); }
.page-home .season-gate__desc {
  font-size: var(--fs-13);
  line-height: 1.65;
  color: var(--steel);
}
.page-home .season-gate__input:checked + .season-gate__item .season-gate__desc { color: var(--chalk-text); }

/* ================= 四条内容线 ================= */
.page-home .lines {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .lines__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0;
  border-top: 1px dashed var(--grid);
}
.page-home .lines__item:last-child { border-bottom: 1px dashed var(--grid); }
.page-home .lines__no {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .16em;
  color: var(--score-ink);
}
.page-home .lines__title {
  margin: 0;
  font-size: var(--fs-22);
  line-height: 1.35;
  color: var(--ink);
}
.page-home .lines__body p {
  margin: 8px 0 0;
  max-width: 56ch;
  font-size: var(--fs-15);
  line-height: 1.8;
  color: var(--steel);
}
.page-home .lines__link {
  align-self: center;
  justify-self: start;
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--grass-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--grass);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.page-home .lines__link:hover,
.page-home .lines__link:focus-visible { color: var(--ink); }

@media (min-width: 760px) {
  .page-home .lines__item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
  }
}

/* ================= 收录规模 ================= */
.page-home .scale__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--grid);
  border: 1px solid var(--grid);
}
@media (min-width: 760px) {
  .page-home .scale__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.page-home .scale__kpi {
  padding: clamp(18px, 2.6vw, 28px) clamp(16px, 2.2vw, 24px);
  background: var(--paper-deep);
}
.page-home .scale__kpi::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--grass);
}
.page-home .scale__kpi .kpi__value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.page-home .scale__kpi .kpi__label {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--steel);
}
.page-home .scale__foot {
  margin: 24px 0 0;
  max-width: 66ch;
  font-size: var(--fs-15);
  line-height: 1.85;
  color: var(--ink);
}

/* ================= 最近比赛日 ================= */
.page-home .round__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .round__item { border-top: 1px solid var(--chalk-line); }
.page-home .round__item:last-child { border-bottom: 1px solid var(--chalk-line); }
.page-home .round__expand { display: block; }
.page-home .round__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}
.page-home .round__summary::-webkit-details-marker { display: none; }
.page-home .round__summary::marker { content: ""; }
.page-home .round__no {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .12em;
  color: var(--grass);
}
.page-home .round__match {
  font-size: var(--fs-18);
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
}
.page-home .round__match b {
  font-family: var(--font-mono);
  font-size: var(--fs-22);
  color: var(--score);
}
.page-home .round__half {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .08em;
  color: var(--chalk-dim);
}
.page-home .round__summary:hover .round__match { color: var(--score); }
.page-home .round__body {
  padding: 0 0 22px;
}
.page-home .round__body p {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-15);
  line-height: 1.85;
  color: var(--chalk-text);
}
@media (min-width: 720px) {
  .page-home .round__summary {
    grid-template-columns: 96px minmax(0, 1fr) 138px;
    align-items: baseline;
    gap: 20px;
  }
  .page-home .round__half { text-align: right; }
}

/* ================= 比分读法 ================= */
.page-home .halves__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin-top: 30px;
}
@media (min-width: 880px) {
  .page-home .halves__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
}
.page-home .halves__demo { max-width: 420px; }
.page-home .score-split {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border: 1px solid var(--grid);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  transition: transform .32s var(--ease);
}
.page-home .score-split__half {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 2.4vw, 26px);
  transition: transform .32s var(--ease);
}
.page-home .score-split__half--up { background: var(--grass); color: var(--chalk); }
.page-home .score-split__half--down { background: var(--ink-blue); color: var(--chalk); border-top: 2px solid var(--chalk); }
.page-home .score-split__label {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .16em;
}
.page-home .score-split__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1;
}
.page-home .halves__demo:hover .score-split__half { transform: translateY(-4px); }
.page-home .halves__demo:focus-within .score-split__half { transform: translateY(-4px); }

.page-home .halves__bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: height .32s var(--ease), margin-top .32s var(--ease);
}
.page-home .halves__demo:hover .halves__bars,
.page-home .halves__demo:focus-within .halves__bars {
  height: 54px;
  margin-top: 12px;
}
.page-home .halves__bars span { display: block; background: var(--grass); }
.page-home .halves__bars span:nth-child(1) { height: 34%; }
.page-home .halves__bars span:nth-child(2) { height: 62%; }
.page-home .halves__bars span:nth-child(3) { height: 45%; }
.page-home .halves__bars span:nth-child(4) { height: 28%; }
.page-home .halves__bars span:nth-child(5) { height: 76%; }
.page-home .halves__bars span:nth-child(6) { height: 52%; background: var(--ink-blue); }
.page-home .halves__bars span:nth-child(4),
.page-home .halves__bars span:nth-child(5) { background: var(--ink-blue); }
.page-home .halves__note {
  margin: 14px 0 0;
  font-size: var(--fs-13);
  line-height: 1.75;
  color: var(--steel);
}

.page-home .halves__figure {
  margin: 0;
}
.page-home .halves__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.6) contrast(.96);
  border-bottom: 4px solid var(--grass);
}
.page-home .halves__figure figcaption {
  margin-top: 12px;
  font-size: var(--fs-13);
  line-height: 1.7;
  color: var(--steel);
}

/* ================= 十二码档案 ================= */
.page-home .spot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  margin-top: 30px;
}
@media (min-width: 860px) {
  .page-home .spot__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}
.page-home .spot__figure {
  margin: 0;
  position: relative;
}
.page-home .spot__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.5) brightness(.92);
}
.page-home .spot__figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--chalk) 0 16px, transparent 16px 30px);
}
.page-home .spot__fields {
  margin: 0;
  border-top: 1px solid var(--grid);
}
.page-home .spot__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grid);
}
.page-home .spot__field dt {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .1em;
  color: var(--steel);
}
.page-home .spot__field dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-18);
  color: var(--ink);
}
.page-home .spot__note {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: var(--fs-15);
  line-height: 1.9;
  color: var(--ink);
}

/* ================= 看台名录 ================= */
.page-home .stand__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin-top: 24px;
}
@media (min-width: 880px) {
  .page-home .stand__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; }
}
.page-home .stand__body p {
  margin: 0 0 18px;
  max-width: 56ch;
  font-size: var(--fs-18);
  line-height: 1.9;
  color: var(--ink);
}
.page-home .stand__figure { margin: 0; }
.page-home .stand__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.42) brightness(.86);
}
.page-home .stand__figure figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  line-height: 1.7;
  color: var(--steel);
}

/* ================= 栏目入口 ================= */
.page-home .enter__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--chalk-line);
}
.page-home .enter__item { border-bottom: 1px solid var(--chalk-line); }
.page-home .enter__link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px 16px;
  padding: 22px 0;
  text-decoration: none;
  color: var(--chalk);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.page-home .enter__link:hover,
.page-home .enter__link:focus-visible {
  color: var(--score);
  padding-left: 10px;
}
.page-home .enter__index {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .14em;
  color: var(--chalk-dim);
}
.page-home .enter__title {
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.3;
}
.page-home .enter__desc {
  grid-column: 2 / 3;
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--chalk-text);
}
.page-home .enter__arrow {
  grid-row: 1 / span 2;
  grid-column: 3 / 4;
  font-family: var(--font-mono);
  font-size: var(--fs-22);
  color: var(--grass);
  transition: transform .25s var(--ease);
}
.page-home .enter__link:hover .enter__arrow,
.page-home .enter__link:focus-visible .enter__arrow { transform: translateX(6px); }

@media (min-width: 760px) {
  .page-home .enter__link {
    grid-template-columns: 48px 200px minmax(0, 1fr) 32px;
    gap: 20px;
  }
  .page-home .enter__desc { grid-column: 3 / 4; }
  .page-home .enter__arrow { grid-row: auto; grid-column: 4 / 5; }
}

.page-home .enter__foot {
  margin: 26px 0 0;
  font-size: var(--fs-15);
  line-height: 1.85;
  color: var(--chalk-text);
}
.page-home .enter__foot a {
  color: var(--chalk);
  border-bottom: 1px solid var(--grass);
  text-decoration: none;
  padding-bottom: 2px;
}
.page-home .enter__foot a:hover,
.page-home .enter__foot a:focus-visible { color: var(--score); }

/* ---- 小屏兜底 ---- */
@media (max-width: 480px) {
  .page-home .season-gate__item { width: 160px; padding: 14px 14px 16px; }
  .page-home .enter__link { grid-template-columns: 30px minmax(0, 1fr) 24px; }
  .page-home .hero__mark { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-split__half,
  .page-home .halves__bars,
  .page-home .season-gate__item,
  .page-home .enter__link,
  .page-home .enter__arrow,
  .page-home .link-arrow {
    transition: none;
  }
}
</main>
