.page-home {
  --home-rail: 318px;
  --home-tick: rgba(147, 167, 188, .26);
  --home-arc: rgba(201, 162, 39, .34);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: .005em;
}

.page-home a:focus-visible,
.page-home label:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

/* ---------- 通用块 ---------- */
.page-home .home-block {
  position: relative;
  padding: clamp(52px, 7vw, 100px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.page-home .block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 30px);
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.page-home .block-head__text h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
}

.page-home .block-lead {
  max-width: 74ch;
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(243, 240, 233, .82);
}

.page-home .block-foot {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  font-size: 14px;
}

.page-home .link-gold {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .42);
  padding-bottom: 2px;
}

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

/* ---------- 框景首屏 ---------- */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 9vw, 116px) 0 clamp(46px, 6.4vw, 84px);
  border-bottom: 1px solid var(--line-strong);
}

.page-home .hero-frame__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  opacity: .4;
  filter: saturate(.72) contrast(1.06);
}

.page-home .hero-frame__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(11, 26, 46, .62) 0%, rgba(11, 26, 46, .9) 58%, var(--ink) 100%),
    radial-gradient(120% 85% at 80% 16%, rgba(201, 162, 39, .18), transparent 62%);
}

.page-home .hero-frame__scale {
  position: absolute;
  inset: clamp(6px, 1vw, 14px);
  z-index: 3;
  border: 1px solid rgba(201, 162, 39, .24);
  pointer-events: none;
}

.page-home .hero-frame__scale::before,
.page-home .hero-frame__scale::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--home-tick) 0 1px, transparent 1px 34px);
}

.page-home .hero-frame__scale::before {
  top: -1px;
}

.page-home .hero-frame__scale::after {
  bottom: -1px;
}

.page-home .hero-frame__inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.page-home .hero-frame__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}

.page-home .hero-frame__stamp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--steel);
}

.page-home .hero-frame__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.14;
  color: var(--paper);
}

.page-home .hero-frame__lead {
  max-width: 58ch;
  margin: clamp(16px, 2vw, 22px) 0 0;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(243, 240, 233, .82);
}

.page-home .hero-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.page-home .hero-figure__round {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
  line-height: 1;
}

.page-home .hero-round__pre,
.page-home .hero-round__post {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  color: var(--steel);
}

.page-home .hero-round__num {
  font-family: var(--font-mono);
  font-size: clamp(70px, 12vw, 128px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--gold);
  text-shadow: 0 0 34px rgba(201, 162, 39, .32);
}

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 16px 24px;
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
}

.page-home .hero-facts > div {
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
}

.page-home .hero-facts dt {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-home .hero-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hero-frame__rail {
  position: relative;
  align-self: start;
  padding: clamp(20px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(20, 38, 60, .94), rgba(11, 26, 46, .94));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, .24);
}

.page-home .hero-frame__rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--ink);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.page-home .rail-title {
  margin: 10px 0 12px;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.25;
}

.page-home .rail-note {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--steel);
}

.page-home .hero-frame__rail .btn {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.page-home .rail-meta {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--steel);
}

/* ---------- 本周轮次条带 ---------- */
.page-home .round-track {
  position: relative;
}

.page-home .round-track__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .round-node {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-home .round-node--current {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, .10), rgba(20, 38, 60, .92));
}

.page-home .round-node__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 12px;
  line-height: 1;
}

.page-home .round-node__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .round-node--current .round-node__num {
  color: var(--gold);
}

.page-home .round-node__unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
}

.page-home .round-node .tag {
  display: inline-block;
  margin-bottom: 12px;
}

.page-home .round-node__label {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.page-home .round-node__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}

/* ---------- 两条主线 ---------- */
.page-home .lanes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.page-home .lanes__col {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-home .lanes__col--sub {
  border-left: 2px solid var(--gold);
}

.page-home .lanes__col--filter {
  border-left: 2px solid var(--green);
}

.page-home .lanes__col h3 {
  margin: 8px 0 12px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
}

.page-home .lanes__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .switch {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
  cursor: pointer;
}

.page-home .switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.page-home .switch__track {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.page-home .switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--steel);
  transition: transform .18s var(--ease), background .18s var(--ease);
}

.page-home .switch__input:checked + .switch__track {
  border-color: var(--gold);
  background: rgba(201, 162, 39, .2);
}

.page-home .switch__input:checked + .switch__track::after {
  transform: translateX(20px);
  background: var(--gold-hi);
}

.page-home .switch__input:focus-visible + .switch__track {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

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

.page-home .switch__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .switch__body span {
  display: block;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--steel);
}

.page-home .lanes__limit {
  margin: 18px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--steel);
}

.page-home .lanes__limit strong {
  color: var(--gold);
  font-weight: 800;
}

.page-home .league-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.page-home .league-item {
  position: relative;
}

.page-home .league-item__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.page-home .league-item__label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 14px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}

.page-home .league-item__label:hover {
  border-color: var(--line-strong);
}

.page-home .league-item__input:checked + .league-item__label {
  border-color: var(--gold);
  background: rgba(201, 162, 39, .12);
}

.page-home .league-item__input:focus-visible + .league-item__label {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.page-home .league-item__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .league-item__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--steel);
}

/* ---------- 转会与球迷组织 ---------- */
.page-home .updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.2vw, 48px);
  align-items: start;
}

.page-home .updates__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(243, 240, 233, .84);
}

.page-home .updates__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  margin: clamp(22px, 2.8vw, 30px) 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .updates__stats > div {
  padding: 16px 18px;
  background: var(--ink-2);
}

.page-home .updates__stats dt {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--steel);
}

.page-home .updates__stats dd {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--paper);
}

.page-home .updates__stats dd .num {
  color: var(--gold);
}

.page-home .updates__stats dd.updates__fields {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .updates__note {
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .updates__note .num {
  color: var(--green);
  font-weight: 800;
}

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

/* ---------- 抢断数据 ---------- */
.page-home .home-block--steal {
  overflow: hidden;
}

.page-home .steal-tex {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .steal-tex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
}

.page-home .home-block--steal .shell {
  position: relative;
  z-index: 1;
}

.page-home .steal-lead {
  max-width: 78ch;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(243, 240, 233, .84);
}

.page-home .steal-lead .num {
  font-weight: 800;
  color: var(--green);
}

.page-home .steal-table th,
.page-home .steal-table td {
  padding: 11px 14px;
}

.page-home .steal-table th[scope="col"] {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--steel);
}

.page-home .steal-table__zone th {
  padding: 12px 14px;
  background: rgba(63, 167, 106, .12);
  border-left: 2px solid var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 600;
  text-align: left;
  color: var(--green);
}

.page-home .steal-table .num {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--paper);
}

/* ---------- 年鉴索引 ---------- */
.page-home .index-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.2vw, 46px);
  align-items: start;
}

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

.page-home .index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .16s var(--ease);
}

.page-home .index-item:hover {
  background: rgba(20, 38, 60, .62);
}

.page-home .index-item__num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gold);
}

.page-home .index-item h3 {
  margin: 0 0 7px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.35;
}

.page-home .index-item h3 a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .index-item h3 a:hover,
.page-home .index-item h3 a:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

.page-home .index-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.66;
  color: var(--steel);
}

.page-home .index-media {
  margin: 0;
}

.page-home .index-foot {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .index-foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .42);
}

.page-home .index-foot a:hover {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .round-track__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-home .round-track__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page-home .round-track::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 78px;
    height: 106px;
    border-top: 1px dashed var(--home-arc);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
  }

  .page-home .round-node {
    background: transparent;
    border: 0;
    border-top: 2px solid var(--line-strong);
    border-radius: 0;
    padding: 20px clamp(12px, 1.6vw, 24px) 0;
  }

  .page-home .round-node--current {
    background: linear-gradient(180deg, rgba(201, 162, 39, .12), transparent 78%);
    border-top-color: var(--gold);
  }

  .page-home .round-node + .round-node {
    border-left: 1px solid var(--hair);
  }
}

@media (min-width: 980px) {
  .page-home .hero-frame__inner {
    grid-template-columns: minmax(0, 1fr) var(--home-rail);
    gap: clamp(34px, 4vw, 60px);
  }

  .page-home .lanes {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 2.1fr);
    gap: clamp(26px, 3vw, 52px);
  }

  .page-home .updates {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .page-home .index-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  }
}

@media (max-width: 520px) {
  .page-home .hero-frame__title {
    max-width: none;
  }

  .page-home .hero-round__num {
    font-size: 68px;
  }

  .page-home .league-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .hero-frame__rail .btn {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .switch__track,
  .page-home .switch__track::after,
  .page-home .league-item__label,
  .page-home .index-item {
    transition: none;
  }
}
