.page-home {
  --home-line: rgba(91, 107, 102, .22);
  --home-line-strong: rgba(91, 107, 102, .42);
  background-color: var(--ink);
  color: var(--text);
  overflow-x: clip;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 面包屑 */
.page-home .breadcrumbs {
  padding-block: 1.25rem .35rem;
}

.page-home .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  color: var(--text-dim);
}

.page-home .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.page-home .breadcrumbs li::after {
  content: "/";
  color: var(--grid);
}

.page-home .breadcrumbs li:last-child::after {
  content: "";
}

.page-home .breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
}

.page-home .breadcrumbs a:hover,
.page-home .breadcrumbs a:focus-visible {
  color: var(--cyan);
}

/* 首屏 */
.page-home .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4.5rem);
  isolation: isolate;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: -1.5rem -1rem;
  z-index: -1;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 12% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 12% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  top: -.5rem;
  right: -3rem;
  width: min(85%, 520px);
  height: 72%;
  z-index: -1;
  background: linear-gradient(152deg, rgba(57, 217, 138, .22), rgba(74, 168, 255, .16) 46%, rgba(255, 138, 61, .12) 74%, transparent 94%);
  clip-path: polygon(22% 0, 100% 6%, 84% 100%, 0 82%);
  pointer-events: none;
}

.page-home .hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .hero-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
}

.page-home .hero-round {
  display: inline-flex;
  align-items: center;
  padding: .32rem .85rem;
  border: 1px solid rgba(255, 200, 87, .45);
  border-radius: var(--radius-pill);
  background: rgba(255, 200, 87, .1);
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .06em;
}

.page-home .hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.4vw, 3.9rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-home .hero-lede {
  max-width: 38rem;
  margin: 0 0 1.6rem;
  font-size: clamp(.95rem, 2.2vw, 1.06rem);
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.6rem;
}

.page-home .season-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .78rem;
  color: var(--text-dim);
}

.page-home .season-legend li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.page-home .swatch {
  display: inline-block;
  flex: none;
  width: .65rem;
  height: .65rem;
  border-radius: 3px;
}

.page-home .swatch--spring { background: var(--spring); box-shadow: 0 0 0 3px rgba(57, 217, 138, .16); }
.page-home .swatch--summer { background: var(--summer); box-shadow: 0 0 0 3px rgba(255, 138, 61, .16); }
.page-home .swatch--autumn { background: var(--autumn); box-shadow: 0 0 0 3px rgba(232, 184, 75, .16); }
.page-home .swatch--winter { background: var(--winter); box-shadow: 0 0 0 3px rgba(74, 168, 255, .16); }

.page-home .hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 7% 100%, 0 100%);
}

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

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 31, 26, .08), rgba(12, 31, 26, .78));
  pointer-events: none;
}

.page-home .hero-media-cap {
  position: absolute;
  left: 1rem;
  bottom: .85rem;
  z-index: 2;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--text-dim);
}

.page-home .hero-score {
  position: absolute;
  right: .85rem;
  bottom: 1.6rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .8rem 1.05rem;
  border: 1px solid rgba(255, 200, 87, .42);
  border-radius: var(--radius);
  background: rgba(8, 21, 15, .93);
  box-shadow: var(--shadow-lift);
}

.page-home .hero-score-label {
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--grid);
}

.page-home .hero-score-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-home .hero-score-meta {
  font-size: .7rem;
  color: var(--text-dim);
}

/* 章节骨架 */
.page-home .section {
  position: relative;
  padding-block: clamp(2.4rem, 7vw, 4.5rem);
  border-top: 1px solid var(--home-line);
}

.page-home .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .4rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(94, 242, 232, .45);
}

.page-home .section-head-text {
  min-width: 0;
}

.page-home .eyebrow {
  margin: 0 0 .45rem;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-home .section-title {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--text);
}

.page-home .section-lede {
  max-width: 42rem;
  margin: 0;
  font-size: .93rem;
  line-height: 1.85;
  color: var(--text-dim);
}

/* 01 比分牌 */
.page-home .board-visual {
  position: relative;
  margin: 0 0 clamp(1.3rem, 3vw, 1.9rem);
  aspect-ratio: 8 / 3;
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

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

.page-home .board-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 31, 26, .88), rgba(12, 31, 26, .18) 58%, rgba(12, 31, 26, .78));
  pointer-events: none;
}

.page-home .board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.4rem);
}

.page-home .score-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 20, 24, .97), rgba(12, 31, 26, .97));
  transition: transform .25s ease, border-color .25s ease;
}

.page-home .score-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 107, 102, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 107, 102, .1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-home .score-card > * {
  position: relative;
  z-index: 1;
}

.page-home .score-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 242, 232, .45);
}

.page-home .score-card--lead {
  border-color: rgba(255, 200, 87, .38);
  background: linear-gradient(150deg, rgba(255, 200, 87, .11), rgba(17, 20, 24, .97) 46%, rgba(12, 31, 26, .97));
}

.page-home .score-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
}

.page-home .score-stage {
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--grid);
}

.page-home .score-teams {
  margin: .2rem 0 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}

.page-home .score-card--lead .score-teams {
  font-size: 1.08rem;
}

.page-home .score-num {
  margin: .1rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .score-card--lead .score-num {
  font-size: clamp(2.6rem, 8vw, 3.9rem);
}

.page-home .score-colon {
  margin-inline: .06em;
  color: var(--grid);
  font-size: .72em;
}

.page-home .score-meta {
  margin: 0;
  font-size: .8rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.page-home .score-link {
  margin-top: auto;
  padding-top: .5rem;
  align-self: flex-start;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .score-link:hover,
.page-home .score-link:focus-visible {
  border-bottom-color: currentColor;
}

/* 02 场次行 */
.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.page-home .chip {
  display: inline-flex;
  align-items: center;
  padding: .42rem .95rem;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: .78rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.page-home .chip:hover {
  border-color: rgba(94, 242, 232, .6);
  color: var(--text);
}

.page-home .chip[aria-pressed="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink-deep);
  font-weight: 700;
}

.page-home .chip--current {
  border-color: rgba(255, 200, 87, .55);
  background: rgba(255, 200, 87, .12);
  color: var(--gold);
}

.page-home .race-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line-strong);
}

.page-home .race-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .7rem;
  padding: .9rem .4rem;
  border-bottom: 1px solid var(--home-line);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.page-home .race-row:hover,
.page-home .race-row:focus-within {
  background: rgba(94, 242, 232, .06);
  box-shadow: inset 2px 0 0 var(--cyan);
}

.page-home .row-num {
  font-size: .7rem;
  color: var(--grid);
}

.page-home .row-cat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  color: var(--text-dim);
}

.page-home .row-name {
  flex: 1 1 11rem;
  font-size: .92rem;
  color: var(--text);
}

.page-home .row-stage {
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--grid);
  transition: color .2s ease;
}

.page-home .race-row:hover .row-stage,
.page-home .race-row:focus-within .row-stage {
  color: var(--cyan);
}

.page-home .row-link {
  margin-left: auto;
  font-size: .76rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .row-link:hover {
  text-decoration: underline;
}

.page-home .rows-foot {
  margin: 1.1rem 0 0;
}

.page-home .text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(94, 242, 232, .35);
  color: var(--cyan);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .text-link:hover {
  border-bottom-color: var(--cyan);
}

/* 03 数据看台 */
.page-home .data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.4rem);
  align-items: center;
}

.page-home .data-subtitle {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 800;
  color: var(--text);
}

.page-home .data-text {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .data-list {
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.page-home .data-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .87rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .data-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--winter);
}

.page-home .data-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.page-home .metric {
  padding: .55rem 0 .55rem .8rem;
  border-left: 2px solid rgba(74, 168, 255, .45);
}

.page-home .metric-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--winter);
}

.page-home .metric-label {
  font-size: .74rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.page-home .data-media {
  margin: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border: 1px solid rgba(74, 168, 255, .3);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

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

/* 04 公告轮次 */
.page-home .round-jump {
  margin-bottom: 1.4rem;
}

.page-home .rounds-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.4rem);
}

.page-home .round-track {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.6rem;
  list-style: none;
}

.page-home .round-track::before {
  content: "";
  position: absolute;
  left: .34rem;
  top: .8rem;
  bottom: .8rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(232, 184, 75, .2));
}

.page-home .round-node {
  position: relative;
  padding: .7rem 0;
}

.page-home .round-dot {
  position: absolute;
  left: -1.6rem;
  top: 1rem;
  width: .6rem;
  height: .6rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
}

.page-home .round-node:first-child .round-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, .16);
}

.page-home .round-title {
  margin: 0 0 .3rem;
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 700;
  color: var(--gold);
}

.page-home .round-desc {
  margin: 0;
  font-size: .85rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .rounds-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(232, 184, 75, .3);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

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

/* 05 使用路径 */
.page-home .path-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 clamp(1.4rem, 4vw, 2.2rem);
  padding: 0;
  list-style: none;
}

.page-home .path-step {
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--radius);
  background: rgba(17, 20, 24, .72);
}

.page-home .step-num {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .step-title {
  margin: 0 0 .35rem;
  font-size: .98rem;
  font-weight: 800;
  color: var(--text);
}

.page-home .step-text {
  margin: 0;
  font-size: .83rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .path-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border: 1px solid rgba(255, 200, 87, .3);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 200, 87, .1), rgba(17, 20, 24, .92) 58%);
}

.page-home .path-cta p {
  flex: 1 1 18rem;
  margin: 0;
  font-size: .89rem;
  line-height: 1.8;
  color: var(--text-dim);
}

/* 断点增强 */
@media (min-width: 700px) {
  .page-home .path-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 760px) {
  .page-home .section-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
  }

  .page-home .section-index {
    font-size: clamp(3rem, 6.5vw, 4.6rem);
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }

  .page-home .data-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-home .rounds-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .board-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    align-items: stretch;
  }

  .page-home .score-card--lead {
    grid-column: auto;
  }

  .page-home .path-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-card,
  .page-home .race-row,
  .page-home .chip,
  .page-home .row-stage {
    transition: none;
  }

  .page-home .score-card:hover {
    transform: none;
  }
}
