.page-home {
  position: relative;
  padding-bottom: 4rem;
  color: var(--paper);
  background:
    radial-gradient(80% 38% at 92% -8%, rgba(34, 224, 196, .09), transparent 62%),
    radial-gradient(60% 30% at 4% 6%, rgba(255, 154, 60, .06), transparent 58%),
    var(--ink-deep);
}

/* ---------- 首屏：章节预览 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3.5rem;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -30% -12%;
  background: repeating-radial-gradient(circle at 76% 18%, rgba(34, 224, 196, .085) 0 1px, transparent 1px 52px);
  opacity: .7;
  pointer-events: none;
}

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

.page-home .breadcrumb {
  margin-bottom: 1.75rem;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
}

.page-home .home-hero__lead .eyebrow {
  margin-bottom: .9rem;
}

.page-home .home-hero__lead .h-xl {
  margin: 0 0 1rem;
}

.page-home .home-hero__lead .lede {
  max-width: 36em;
  margin: 0 0 2rem;
}

/* 章节清单 */
.page-home .home-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-toc__item {
  border-bottom: 1px solid var(--line);
}

.page-home .home-toc__link {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  padding: .85rem .35rem;
  color: inherit;
  text-decoration: none;
  transition: background-color .16s var(--ease-out), transform .16s var(--ease-out);
}

.page-home .home-toc__link:hover,
.page-home .home-toc__link:focus-visible {
  background: rgba(34, 224, 196, .07);
  transform: translateX(3px);
}

.page-home .home-toc__num {
  font-family: var(--font-data);
  font-size: .95rem;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-home .home-toc__text {
  display: block;
  min-width: 0;
}

.page-home .home-toc__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: .01em;
}

.page-home .home-toc__sum {
  display: block;
  margin-top: .3rem;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
  transition: color .16s var(--ease-out);
}

.page-home .home-toc__link:hover .home-toc__sum,
.page-home .home-toc__link:focus-visible .home-toc__sum {
  color: var(--paper);
}

/* 右侧数据浮岛 */
.page-home .home-hero__aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.page-home .media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-mid);
}

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

.page-home .media--hero img { aspect-ratio: 8 / 5; }
.page-home .media--poss img { aspect-ratio: 3 / 2; }
.page-home .media--archive img { aspect-ratio: 14 / 9; }
.page-home .media--band img { aspect-ratio: 16 / 7; }

.page-home .home-flash {
  position: relative;
  z-index: 1;
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding: 3rem 0;
}

.page-home .section-head {
  margin-bottom: 0;
}

.page-home .section-head .h-lg {
  margin: .4rem 0 0;
}

.page-home .home-block__note {
  margin: .75rem 0 0;
  max-width: 26em;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 赛程 ---------- */
.page-home .home-schedule__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.page-home .home-schedule__panels {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 42, 34, .95), rgba(10, 28, 23, .95));
}

.page-home .home-schedule__card {
  align-self: start;
}

.page-home .home-schedule__card .paper__body {
  margin-top: .6rem;
}

.page-home .home-schedule__facts {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid rgba(22, 33, 31, .18);
}

.page-home .home-schedule__facts li {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(22, 33, 31, .18);
}

.page-home .home-schedule__k {
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--press);
}

.page-home .home-schedule__v {
  font-family: var(--font-data);
  font-size: .9rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* ---------- 控球率 ---------- */
.page-home .home-poss__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.page-home .home-poss__meters {
  display: grid;
  gap: 1.35rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.page-home .home-poss__legend {
  margin: .35rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 设备入口 ---------- */
.page-home .home-device__grid {
  margin-top: 2rem;
}

.page-home .home-device__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}

.page-home .home-device__panel .h-sm {
  margin: 0;
}

.page-home .home-device__panel .panel__body {
  margin: 0;
}

.page-home .home-device__panel .btn {
  margin-top: .35rem;
}

.page-home .home-device__tail {
  margin: 1.75rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--cyan);
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 往季归档 ---------- */
.page-home .home-archive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .home-archive__stack {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  margin-bottom: 1.5rem;
}

.page-home .home-archive__leaf {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 3.5rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--charcoal);
  font-family: var(--font-data);
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .4);
  transition: transform .16s var(--ease-out);
}

.page-home .home-archive__leaf:nth-child(1) {
  height: 4.5rem;
  background: var(--paper);
  border-color: var(--cyan);
}

.page-home .home-archive__leaf:nth-child(2) { height: 4.15rem; }
.page-home .home-archive__leaf:nth-child(3) { height: 3.85rem; }
.page-home .home-archive__leaf:nth-child(4) { height: 3.55rem; }
.page-home .home-archive__leaf:nth-child(5) { height: 3.25rem; }

.page-home .home-archive__leaf:hover {
  transform: translateY(-3px);
}

.page-home .home-archive__desc {
  margin: 0 0 1.5rem;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--paper);
}

/* ---------- 继续读下去 ---------- */
.page-home .home-continue .media--band {
  margin-top: 2rem;
}

.page-home .home-next {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.page-home .home-next__item {
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.page-home .home-next__link {
  display: grid;
  gap: .4rem;
  padding: 1.1rem 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: background-color .16s var(--ease-out), border-color .16s var(--ease-out);
}

.page-home .home-next__link:hover,
.page-home .home-next__link:focus-visible {
  background: rgba(255, 154, 60, .10);
}

.page-home .home-next__item:hover {
  border-color: var(--amber);
}

.page-home .home-next__k {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--amber);
}

.page-home .home-next__d {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 数据条过渡 ---------- */
.page-home .meter__fill {
  transition: width .46s var(--ease-out);
}

/* ---------- 进入视口的过渡 ---------- */
.page-home [data-reveal] {
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}

/* ---------- 中屏及以上 ---------- */
@media (min-width: 700px) {
  .page-home .home-hero {
    padding: 1.5rem 0 4rem;
  }

  .page-home .home-schedule__panels,
  .page-home .home-poss__meters {
    padding: 1.75rem 1.75rem;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .82fr);
    gap: 3rem 2.5rem;
    align-items: start;
  }

  .page-home .home-hero__aside {
    margin-top: 3.75rem;
  }

  .page-home .home-flash {
    max-width: 22rem;
    margin-top: -3.25rem;
    margin-left: -1.75rem;
  }

  .page-home .home-block {
    padding: 4rem 0;
  }

  .page-home .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .page-home .home-block__note {
    margin: 0;
    text-align: right;
  }

  .page-home .home-schedule__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: 2rem;
    align-items: start;
  }

  .page-home .home-poss__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 2.25rem;
    align-items: center;
  }

  .page-home .home-archive__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 2.5rem;
    align-items: center;
  }
}

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