.page-home {
  --home-card: min(74vw, 16.5rem);
  --home-gap: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ink-900);
  color: var(--paper);
}

.page-home img {
  max-width: 100%;
}

.page-home__crumb {
  padding-top: 1.5rem;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding: 1.25rem 0 clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .home-hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.page-home .home-hero__lede {
  margin: 1rem 0 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-actions {
  display: grid;
  gap: 0.625rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .home-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(11, 58, 46, 0.55);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .home-action:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.page-home .home-action:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-action--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.page-home .home-action--primary:hover {
  background: var(--cyan-soft);
}

.page-home .home-action__idx {
  font-size: 0.8125rem;
  color: var(--cyan);
}

.page-home .home-action--primary .home-action__idx {
  color: var(--ink-800);
}

.page-home .home-action__body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.page-home .home-action__title {
  font-weight: 600;
  font-size: 1rem;
}

.page-home .home-action__desc {
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-home .home-action--primary .home-action__desc {
  color: rgba(6, 35, 28, 0.72);
}

.page-home .home-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 18rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--ink-800);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.7) contrast(1.05);
  z-index: 0;
}

.page-home .home-pitch {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  padding: clamp(1rem, 3vw, 1.75rem);
  box-sizing: border-box;
}

.page-home .home-pitch__lines rect,
.page-home .home-pitch__lines line,
.page-home .home-pitch__lines circle {
  fill: none;
  stroke: rgba(156, 246, 228, 0.32);
  stroke-width: 1.4;
}

.page-home .home-pitch__paths path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 5;
  opacity: 0.9;
}

.page-home .home-pitch__paths circle {
  fill: var(--cyan);
}

.page-home .home-hero__readout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(0.75rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1.25rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  background: rgba(6, 35, 28, 0.74);
  backdrop-filter: blur(6px);
}

.page-home .home-hero__cell {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}

.page-home .home-hero__cell:first-child {
  border-left: 0;
}

.page-home .home-hero__num {
  display: block;
  font-size: 1.25rem;
  color: var(--cyan);
}

.page-home .home-hero__lbl {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- 收藏卡片流 ---------- */
.page-home .home-collect__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-collect h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.2;
}

.page-home .home-collect__text {
  margin: 0.875rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40ch;
}

.page-home .home-collect__media {
  margin: 1.25rem 0 0;
}

.page-home .home-collect__note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-2);
}

.page-home .home-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--home-card);
  gap: 0.875rem;
  margin: 0;
  padding: 0 0 0.875rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.page-home .home-cards:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .home-cards > * {
  scroll-snap-align: start;
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 15.5rem;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius-m);
  background: rgba(6, 35, 28, 0.72);
}

.page-home .home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.page-home .home-card__idx {
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.page-home .home-card__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.page-home .home-card__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .home-card__meta {
  display: grid;
  gap: 0.375rem;
  margin: auto 0 0;
}

.page-home .home-card__meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.375rem;
  border-top: 1px dashed rgba(156, 246, 228, 0.16);
  font-size: 0.75rem;
}

.page-home .home-card__meta dt {
  color: var(--muted-2);
}

.page-home .home-card__meta dd {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--cyan-soft);
}

.page-home .home-collect__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-home .home-collect__hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* ---------- 赛程双维度 ---------- */
.page-home .home-schedule h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.22;
}

.page-home .home-sechead__lede {
  margin: 0.875rem 0 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-switch {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .home-switch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home .home-switch__tab {
  padding: 0.5rem 0.9375rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .home-switch__tab:hover {
  border-color: var(--cyan-soft);
}

.page-home .home-switch__tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-switch__tab[href="#view-league"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.page-home .home-switch:has(#view-date:target) .home-switch__tab[href="#view-league"] {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--paper);
}

.page-home .home-switch:has(#view-date:target) .home-switch__tab[href="#view-date"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.page-home #view-date {
  display: none;
}

.page-home .home-switch:has(#view-date:target) #view-league {
  display: none;
}

.page-home .home-switch:has(#view-date:target) #view-date {
  display: block;
}

.page-home .home-switch .data-table {
  width: 100%;
  font-size: 0.875rem;
}

.page-home .home-switch .data-table caption {
  text-align: left;
}

.page-home .home-steps {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.page-home .home-steps h3 {
  margin: 0;
  font-size: 1.0625rem;
}

.page-home .home-steps ol {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .home-steps li .num {
  color: var(--cyan);
}

.page-home .home-steps__media {
  margin: 0;
}

.page-home .home-steps__media figcaption {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- 控球率 ---------- */
.page-home .home-possession__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-possession h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.22;
}

.page-home .home-possession__text {
  margin: 0.875rem 0 0;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-possession__points {
  display: grid;
  gap: 0.625rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .home-possession__points li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .home-possession__points .num {
  font-size: 1.125rem;
  color: var(--cyan);
}

.page-home .home-chart {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.page-home .home-chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-home .home-chart__legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}

.page-home .home-chart__key {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.page-home .home-chart__key::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
  background: var(--cyan);
}

.page-home .home-chart__key--b::before {
  background: var(--cyan-soft);
  opacity: 0.6;
}

.page-home .home-cmp {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-cmp__name {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-home .home-cmp__line {
  display: grid;
  grid-template-columns: auto 1fr 3.25rem;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.375rem;
}

.page-home .home-cmp__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .home-cmp__dot--b {
  background: var(--cyan-soft);
  opacity: 0.6;
}

.page-home .home-cmp__track {
  display: block;
  height: 0.4375rem;
  border-radius: 999px;
  background: rgba(42, 53, 50, 0.9);
  overflow: hidden;
}

.page-home .home-cmp__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--cyan);
  transform-origin: left center;
  animation: home-bar-grow 700ms var(--ease) both;
}

.page-home .home-cmp__fill--b {
  background: var(--cyan-soft);
  opacity: 0.6;
}

.page-home .home-cmp__num {
  font-size: 0.8125rem;
  text-align: right;
  color: var(--paper);
}

.page-home .w-42 { width: 42%; }
.page-home .w-33 { width: 33%; }
.page-home .w-36 { width: 36%; }
.page-home .w-48 { width: 48%; }
.page-home .w-52 { width: 52%; }
.page-home .w-58 { width: 58%; }
.page-home .w-64 { width: 64%; }
.page-home .w-67 { width: 67%; }

@keyframes home-bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.page-home .home-chart__note {
  margin: 1.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* ---------- 常驻工具带 ---------- */
.page-home .home-rail-sec__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-rail-sec h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.22;
}

.page-home .home-rail-sec__text {
  margin: 0.875rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-faq {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.page-home .home-faq .disclosure {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(11, 58, 46, 0.45);
}

.page-home .home-faq .disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}

.page-home .home-faq .disclosure__trigger::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-faq .disclosure[data-open="true"] .disclosure__trigger::after {
  content: "–";
}

.page-home .home-faq .disclosure__trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .home-faq .disclosure__panel {
  padding: 0 1rem 0.875rem;
}

.page-home .home-faq .disclosure__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-rail {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.page-home .home-rail__title {
  margin: 0;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-home .home-rail__figure {
  margin: 1rem 0;
  border-radius: var(--radius-m);
  overflow: hidden;
}

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

.page-home .home-rail__list {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.page-home .home-rail__list div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8125rem;
}

.page-home .home-rail__list dt {
  color: var(--muted-2);
}

.page-home .home-rail__list dd {
  margin: 0;
  color: var(--paper);
  text-align: right;
}

.page-home .home-rail .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- 数据更新 ---------- */
.page-home .home-fresh__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-fresh .eyebrow {
  color: var(--ink-700);
}

.page-home .home-fresh h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.22;
}

.page-home .home-fresh__text {
  margin: 0.875rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(10, 15, 13, 0.76);
}

.page-home .home-fresh__facts {
  display: grid;
  gap: 0.625rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .home-fresh__facts li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(10, 15, 13, 0.16);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(10, 15, 13, 0.86);
}

.page-home .home-fresh__facts .num {
  font-size: 0.9375rem;
  color: var(--ink-800);
}

.page-home .home-fresh__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  align-self: start;
  border: 1px solid rgba(10, 15, 13, 0.16);
  background: rgba(10, 15, 13, 0.16);
}

.page-home .home-fresh__stats .stat {
  padding: 1rem 0.875rem;
  background: var(--shell);
}

.page-home .home-fresh__stats .stat__num {
  display: block;
  font-size: 1.375rem;
  color: var(--ink-800);
}

.page-home .home-fresh__stats .stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(10, 15, 13, 0.66);
}

/* ---------- 下一步 ---------- */
.page-home .home-next h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

.page-home .home-next__list {
  display: grid;
  gap: 1px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.page-home .home-next__list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--ink-900);
  color: inherit;
  text-decoration: none;
  transition: background 180ms var(--ease);
}

.page-home .home-next__list a:hover {
  background: var(--ink-800);
}

.page-home .home-next__list a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .home-next__list strong {
  font-size: 0.9375rem;
  color: var(--cyan-soft);
}

.page-home .home-next__list span {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-fresh__stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .home-hero__visual {
    min-height: 30rem;
  }

  .page-home .home-steps {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .home-collect__grid {
    grid-template-columns: 4fr 8fr;
    align-items: start;
  }

  .page-home .home-possession__grid {
    grid-template-columns: 5fr 6fr;
    align-items: center;
  }

  .page-home .home-rail-sec__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .home-fresh__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .home-next__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .page-home .home-rail {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  .page-home .home-next__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-cmp__fill {
    animation: none;
  }

  .page-home .home-action,
  .page-home .home-next__list a,
  .page-home .home-switch__tab {
    transition: none;
  }
}
