.page-home {
  background: var(--sand);
  color: var(--ink);
}

/* 页面上下文条 */
.page-home .home-context {
  background: var(--sand-light);
  border-bottom: 1px solid rgba(140, 133, 124, .45);
}
.page-home .home-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.page-home .home-context__note {
  margin: 0;
  color: var(--ink-mid);
}

/* 首屏：对角双色块 */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.page-home .hero__wrap {
  padding-top: 30px;
  padding-bottom: 34px;
}
.page-home .hero__grid {
  display: grid;
  gap: 26px;
}
.page-home .hero__eyebrow {
  margin: 0 0 10px;
  color: var(--goji);
}
.page-home .hero__title {
  margin: 0;
  max-width: 11em;
}
.page-home .hero__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: var(--fs-3);
  line-height: 1.85;
  color: var(--ink-mid);
}
.page-home .hero__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-home .hero__problem {
  margin: 18px 0 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}
.page-home .hero__problem a {
  color: var(--goji);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .hero__right {
  position: relative;
  overflow: hidden;
  background: var(--night);
  padding: 20px;
}
.page-home .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}
.page-home .hero__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(20, 36, 61, .58) 0%, rgba(20, 36, 61, .94) 72%);
}
.page-home .hero__board {
  position: relative;
  z-index: 1;
}
.page-home .hero__board-title {
  margin: 0 0 12px;
  color: var(--sand-gold);
}

.page-home .board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}
.page-home .board__item {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 14px 14px 14px 24px;
  background: var(--paper);
  border: 1px solid var(--ink-light);
}
.page-home .board__item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--goji);
}
.page-home .board__tag {
  display: block;
  font-size: var(--fs-1);
  letter-spacing: .08em;
  color: var(--ink-mid);
}
.page-home .board__league {
  margin: 6px 0 0;
  font-size: var(--fs-2);
  line-height: 1.6;
}
.page-home .board__score {
  margin: 8px 0 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  letter-spacing: .04em;
  color: var(--goji);
}
.page-home .board__meta {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.6;
  color: var(--ink-mid);
}

/* 联赛索引 */
.page-home .league__head {
  max-width: 760px;
}
.page-home .league__seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}
.page-home .league__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.page-home .lg-cell {
  position: relative;
  display: block;
  padding: 16px 16px 15px 24px;
  background: var(--sand-light);
  border: 1px solid var(--ink-light);
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.page-home .lg-cell::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--goji);
}
.page-home .lg-cell--gold::before {
  background: var(--sand-gold);
}
.page-home .lg-cell--night::before {
  background: var(--night-light);
}
.page-home .lg-cell__name {
  display: block;
  font-size: var(--fs-3);
  font-weight: 700;
  line-height: 1.5;
}
.page-home .lg-cell__meta {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-2);
  color: var(--ink-mid);
}
.page-home .lg-cell:hover,
.page-home .lg-cell:focus-visible {
  background: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.page-home .league__stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-light);
}

/* 战报时间轴 */
.page-home .track-sec__grid {
  display: grid;
  gap: 30px;
}
.page-home .track {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.page-home .track__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0 16px 6px;
  border-top: 1px solid var(--ink-light);
}
.page-home .track__item:last-child {
  border-bottom: 1px solid var(--ink-light);
}
.page-home .track__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-4);
  line-height: 1.3;
  color: var(--ink-light);
}
.page-home .track__title {
  margin: 0 0 4px;
  font-size: var(--fs-3);
  font-weight: 700;
  line-height: 1.5;
}
.page-home .track__text {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}
.page-home .track__item[data-active="true"] {
  border-top-color: var(--goji);
  background: linear-gradient(90deg, rgba(217, 164, 65, .14), transparent 72%);
}
.page-home .track__item[data-active="true"] .track__num {
  font-size: var(--fs-5);
  color: var(--goji);
}
.page-home .track__acc {
  margin-top: 22px;
}
.page-home .track-sec__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}
.page-home .track-figure {
  margin: 0;
}
.page-home .track-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* 主客场与导出 */
.page-home .split-sec__grid {
  display: grid;
  gap: 26px;
}
.page-home .split-figure {
  margin: 0;
  max-height: 420px;
  overflow: hidden;
}
.page-home .split-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .split-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 8px;
  background: var(--paper);
  border: 1px solid var(--ink-light);
}
.page-home .split-chart__grid line {
  stroke: var(--ink-light);
  stroke-width: 1;
  opacity: .5;
}
.page-home .split-chart__bar {
  fill: var(--goji);
}
.page-home .split-chart__line {
  fill: none;
  stroke: var(--sand-gold);
  stroke-width: 2.5;
}
.page-home .split-chart__dot {
  fill: var(--sand-gold);
}
.page-home .split-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0 0 20px;
  font-size: var(--fs-2);
  color: var(--ink-mid);
}
.page-home .split-chart-legend__key {
  display: inline-block;
  width: 18px;
  height: 8px;
}
.page-home .split-chart-legend__key--bar {
  background: var(--goji);
}
.page-home .split-chart-legend__key--line {
  height: 3px;
  background: var(--sand-gold);
}
.page-home .split-table {
  margin-top: 4px;
}
.page-home .split-table__caption {
  text-align: left;
  font-size: var(--fs-2);
  color: var(--ink-mid);
  padding-bottom: 8px;
}
.page-home .split-notes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .split-notes li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}
.page-home .split-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 8px;
  height: 2px;
  background: var(--goji);
}

/* 大陆版入口 */
.page-home .mainland__panel {
  display: grid;
  gap: 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-left: 8px solid var(--night);
}
.page-home .mainland__btn {
  margin-top: 20px;
}
.page-home .mainland__arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.page-home .mainland__btn:hover .mainland__arrow {
  transform: translateX(4px);
}
.page-home .mainland__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.page-home .mainland__step {
  position: relative;
  padding-left: 44px;
}
.page-home .mainland__step-num {
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-3);
  color: var(--goji);
}
.page-home .mainland__step-title {
  margin: 0 0 4px;
  font-size: var(--fs-3);
  font-weight: 700;
  line-height: 1.5;
}
.page-home .mainland__step-text {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}

/* 专栏 */
.page-home .columns__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 24px;
  align-items: start;
}
.page-home .column-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--ink-light);
  border-top: 6px solid var(--goji);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.page-home .column-card--gold {
  border-top-color: var(--sand-gold);
}
.page-home .column-card--night {
  border-top-color: var(--night-light);
}
.page-home .column-card__media {
  margin: 0;
}
.page-home .column-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .column-card__tag {
  color: var(--ink-mid);
}
.page-home .column-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-4);
  line-height: 1.45;
}
.page-home .column-card__text {
  margin: 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}
.page-home .column-card:hover,
.page-home .column-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.page-home .columns__more {
  margin-top: 26px;
}

/* 收尾夜空蓝 */
.page-home .closing {
  position: relative;
  overflow: hidden;
}
.page-home .closing::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(180deg, rgba(217, 164, 65, .14), rgba(217, 164, 65, 0));
  pointer-events: none;
}
.page-home .closing__wrap {
  position: relative;
  display: grid;
  gap: 30px;
}
.page-home .closing__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--paper);
}
.page-home .closing__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: var(--fs-3);
  line-height: 1.85;
  color: rgba(251, 249, 244, .8);
}
.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-home .closing__link {
  display: inline-block;
  margin-top: 18px;
  font-size: var(--fs-2);
  color: var(--sand-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .closing__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  background: rgba(31, 58, 95, .55);
  border: 1px solid rgba(140, 133, 124, .5);
}
.page-home .closing__stat .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  line-height: 1.25;
  color: var(--sand-gold);
}
.page-home .closing__stat .stat__label {
  display: block;
  margin-top: 5px;
  font-size: var(--fs-2);
  line-height: 1.6;
  color: rgba(251, 249, 244, .72);
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .hero__wrap {
    padding-top: 46px;
    padding-bottom: 54px;
  }
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 0;
    align-items: stretch;
  }
  .page-home .hero__left {
    align-self: center;
    padding-right: 46px;
  }
  .page-home .hero__right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 440px;
    padding: 36px 24px 26px 48px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-home .board__item {
    flex: 0 0 68%;
  }

  .page-home .track-sec__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .split-sec__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .mainland__panel {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 44px;
    padding: 32px;
  }

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

  .page-home .closing__wrap {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
  }
}

/* 窄屏细节 */
@media (max-width: 520px) {
  .page-home .board__item {
    flex: 0 0 88%;
  }
  .page-home .track__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
  .page-home .mainland__panel {
    padding: 18px;
    border-left-width: 6px;
  }
  .page-home .closing__stats {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
