.page-home {
  --home-gap: clamp(14px, 2vw, 22px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  padding-bottom: clamp(36px, 6vw, 72px);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: inherit;
}

.page-home p {
  margin: 0;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  padding: 14px 2px 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-context__item {
  color: var(--muted);
  margin: 0;
}

.page-home .home-rail {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-home .home-rail::-webkit-scrollbar {
  display: none;
}

.page-home .home-rail__link {
  flex: none;
  padding: 7px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  border-color: var(--kiwi);
  color: var(--kiwi-deep);
}

.page-home .home-rail__link[aria-current="true"] {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: var(--seed);
}

/* ---------- 分屏首屏 ---------- */

.page-home .home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-home .home-hero__copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: clamp(22px, 5vw, 48px);
}

.page-home .home-hero__eyebrow {
  color: var(--kiwi-deep);
}

.page-home h1 {
  font-size: clamp(36px, 7.4vw, 76px);
  line-height: 1.03;
  margin-top: 12px;
  text-wrap: balance;
}

.page-home .home-hero__lead {
  margin-top: 16px;
  max-width: 33em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .home-threads {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-thread {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border-left: 3px solid var(--kiwi);
}

.page-home .home-thread:nth-child(2) {
  border-left-color: var(--turf);
}

.page-home .home-thread:nth-child(3) {
  border-left-color: var(--indigo);
}

.page-home .home-thread__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .home-thread__val {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.page-home .home-thread__val--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--kiwi-deep);
}

.page-home .home-thread__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-home .home-hero__visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--night);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  display: block;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, 0.18) 0%, rgba(13, 27, 42, 0.82) 82%),
    radial-gradient(circle at 78% 88%, rgba(124, 194, 74, 0.4) 0%, rgba(13, 27, 42, 0) 58%);
}

.page-home .home-hero__stamp {
  position: absolute;
  left: 20px;
  bottom: 18px;
  margin: 0;
  color: var(--sage);
}

/* ---------- 比分卡：横切分栏边界 ---------- */

.page-home .home-score-wrap {
  position: relative;
  z-index: 8;
  margin-top: 14px;
}

.page-home .home-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 20px;
  padding: clamp(16px, 3vw, 24px) clamp(18px, 3vw, 30px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 255, 87, 0.28);
  background: var(--night);
  color: var(--mist);
  box-shadow: var(--shadow-lift);
}

.page-home .home-score__meta {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-home .home-score__nums {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(46px, 9vw, 84px);
  line-height: 1;
  color: var(--neon);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-score__nums span {
  display: inline-block;
  transform-origin: 50% 70%;
  animation: home-flip 0.32s ease-out both;
}

.page-home .home-score__nums span:nth-child(2) {
  animation-delay: 0.05s;
}

.page-home .home-score__nums span:nth-child(3) {
  animation-delay: 0.1s;
}

.page-home .home-score__sep {
  font-size: 0.55em;
  color: var(--sage);
}

.page-home .home-score__foot {
  font-size: 13px;
  line-height: 1.7;
  color: var(--on-dark);
}

@keyframes home-flip {
  from {
    transform: rotateX(-72deg);
    opacity: 0;
  }
  to {
    transform: rotateX(0);
    opacity: 1;
  }
}

/* ---------- 通用章节头 ---------- */

.page-home .home-sec {
  margin-top: clamp(48px, 8vw, 88px);
}

.page-home .home-sec__head {
  max-width: 60ch;
}

.page-home h2 {
  font-size: clamp(27px, 4.4vw, 44px);
  line-height: 1.1;
  margin-top: 10px;
}

.page-home .home-sec__lead {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 分栏切换 ---------- */

.page-home .home-switch__grid {
  margin-top: 24px;
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-switch__banner {
  margin: 0;
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}

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

.page-home .home-panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(18px, 3vw, 28px);
}

.page-home .home-panel--possession {
  background: var(--night);
  color: var(--mist);
  border-color: rgba(217, 255, 87, 0.22);
}

.page-home .home-panel--possession .micro {
  color: var(--sage);
}

.page-home .home-possession__ringwrap {
  position: relative;
  width: clamp(132px, 34vw, 168px);
  aspect-ratio: 1;
  margin: 14px auto 4px;
}

.page-home .home-possession__ring {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .home-possession__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 6vw, 34px);
  color: var(--neon);
}

.page-home .home-possession__num i {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--sage);
}

.page-home .home-possession__list {
  margin-top: 16px;
}

.page-home .home-possession__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
}

.page-home .home-possession__pct {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--neon);
}

.page-home .home-possession__bar {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: var(--pill);
  background: rgba(140, 160, 143, 0.28);
  overflow: hidden;
}

.page-home .home-possession__bar span {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--kiwi-deep), var(--kiwi));
}

.page-home .home-fixtures {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .home-fixtures__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .home-fixtures__row:last-child {
  border-bottom: 0;
}

.page-home .home-fixtures__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 15px;
  color: var(--kiwi-deep);
}

.page-home .home-fixtures__teams {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .home-fixtures__tag {
  grid-column: 2;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--surface-2);
  color: var(--muted);
}

.page-home .home-fixtures__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 球队归档 ---------- */

.page-home .home-archive {
  margin-top: clamp(48px, 8vw, 88px);
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-archive__rail {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
}

.page-home .home-legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.page-home .home-legend__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--kiwi);
}

.page-home .home-legend__item:nth-child(2) .home-legend__dot {
  background: var(--indigo);
}

.page-home .home-legend__item:nth-child(3) .home-legend__dot {
  background: var(--wine);
}

.page-home .home-archive__hint {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .home-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.page-home .home-chip:hover,
.page-home .home-chip:focus-visible {
  background: var(--kiwi);
  border-color: var(--kiwi);
  transform: translateY(-2px);
}

.page-home .home-chip--all {
  background: var(--seed);
  border-color: var(--seed);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .home-chip--all:hover,
.page-home .home-chip--all:focus-visible {
  background: var(--kiwi-deep);
  border-color: var(--kiwi-deep);
  color: var(--mist);
}

.page-home .home-archive__facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-home .home-archive__facts li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .home-archive__facts strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--kiwi-deep);
  margin-right: 6px;
}

/* ---------- 版本批次 ---------- */

.page-home .home-batch {
  position: relative;
  margin-top: clamp(48px, 8vw, 88px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--indigo);
}

.page-home .home-batch__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-home .home-batch__layer {
  position: relative;
  display: grid;
  gap: var(--home-gap);
  padding: clamp(22px, 4vw, 46px);
  background: linear-gradient(140deg, rgba(39, 64, 122, 0.95) 0%, rgba(13, 27, 42, 0.93) 78%);
  color: var(--mist);
}

.page-home .home-batch__intro p {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.8;
  color: var(--on-dark);
  max-width: 46ch;
}

.page-home .home-batch__meta {
  color: var(--sage);
  letter-spacing: 0.08em;
}

.page-home .home-batch__link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 255, 87, 0.45);
  padding-bottom: 2px;
}

.page-home .home-batch__link:hover,
.page-home .home-batch__link:focus-visible {
  color: var(--kiwi);
  border-bottom-color: var(--kiwi);
}

.page-home .home-batch__card {
  background: var(--mist);
  color: var(--seed);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-soft);
}

.page-home .home-batch__card .micro {
  color: var(--muted);
}

.page-home .home-batch__id {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4.5vw, 36px);
  letter-spacing: 0.02em;
  color: var(--kiwi-deep);
  margin-top: 6px;
}

.page-home .home-batch__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .home-batch__details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-home .home-batch__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--kiwi-deep);
}

.page-home .home-batch__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-batch__summary::after {
  content: "＋";
  font-size: 15px;
}

.page-home .home-batch__details[open] .home-batch__summary::after {
  content: "－";
}

.page-home .home-batch__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .home-batch__row:last-child {
  border-bottom: 0;
}

.page-home .home-batch__id-sm {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--kiwi-deep);
}

/* ---------- 家庭共看 ---------- */

.page-home .home-family {
  margin-top: clamp(48px, 8vw, 88px);
  display: grid;
  gap: var(--home-gap);
  align-items: center;
}

.page-home .home-family__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-family__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .home-family__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kiwi);
}

.page-home .home-family__link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--kiwi-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 125, 46, 0.42);
  padding-bottom: 2px;
}

.page-home .home-family__link:hover,
.page-home .home-family__link:focus-visible {
  color: var(--seed);
  border-bottom-color: var(--seed);
}

.page-home .home-family__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--night);
}

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

/* ---------- 下一步 ---------- */

.page-home .home-next {
  margin-top: clamp(48px, 8vw, 88px);
}

.page-home .home-next__grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: 24px;
}

.page-home .home-next__card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-top: 3px solid var(--kiwi);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .home-next__card:nth-child(2) {
  border-top-color: var(--indigo);
}

.page-home .home-next__card:nth-child(3) {
  border-top-color: var(--wine);
}

.page-home .home-next__card:hover,
.page-home .home-next__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--kiwi);
}

.page-home .home-next__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .home-next__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  margin: 10px 0 8px;
}

.page-home .home-next__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  flex: 1;
}

.page-home .home-next__go {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--kiwi-deep);
}

/* ---------- 响应式 ---------- */

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

  .page-home .home-fixtures__row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .page-home .home-fixtures__tag {
    grid-column: auto;
    justify-self: end;
  }
}

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

@media (min-width: 900px) {
  .page-home .home-archive {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-batch__layer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: start;
  }

  .page-home .home-family {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .home-hero__copy {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .page-home .home-hero__visual {
    min-height: 100%;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }

  .page-home .home-score-wrap {
    margin-top: -58px;
    margin-left: clamp(24px, 6vw, 84px);
    margin-right: clamp(24px, 12vw, 220px);
  }

  .page-home .home-switch__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-switch__banner img {
    max-height: 300px;
  }
}

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

  .page-home .home-chip,
  .page-home .home-next__card,
  .page-home .home-rail__link {
    transition: none;
  }

  .page-home .home-chip:hover,
  .page-home .home-next__card:hover {
    transform: none;
  }
}
<<<END>>>
