.page-home {
  --home-gut: clamp(18px, 3.6vw, 48px);
  --home-line: rgba(91, 102, 117, 0.35);
}

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

.page-home .home-head {
  max-width: 62ch;
}

.page-home .h2 {
  margin: 0.2em 0 0.45em;
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-size: clamp(26px, 5vw, 44px);
}

.page-home .h3 {
  margin: 0.3em 0 0.4em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.2;
}

.page-home .home-head__lead {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.7;
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: clamp(22px, 4vw, 44px) 0 clamp(34px, 6vw, 76px);
  border-bottom: 3px solid var(--ink);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -16%;
  top: -22%;
  width: min(760px, 118vw);
  aspect-ratio: 1 / 1;
  background: var(--deep);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.09;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

.page-home .hero__title {
  margin: 0.34em 0 0.4em;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(34px, 8.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--deep);
  box-shadow: inset 0 -0.18em 0 var(--cyan);
}

.page-home .hero .lead {
  max-width: 48ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(22px, 4vw, 34px) 0 0;
  border-top: 3px solid var(--ink);
}

.page-home .hero__stats .stat {
  padding: 12px 10px 12px 0;
  border-bottom: 2px solid var(--ink);
}

.page-home .hero__stats .stat:nth-child(odd) {
  border-right: 2px solid var(--ink);
  padding-left: 0;
}

.page-home .hero__stats .stat:nth-child(even) {
  padding-left: 12px;
}

.page-home .hero__stats .stat__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
}

.page-home .hero__stats .stat__value {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1;
  color: var(--deep);
}

.page-home .hero__media {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--tactic);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

/* ---------- 轮次时间轴 ---------- */
.page-home .rounds {
  padding: clamp(32px, 5vw, 68px) 0;
  background: var(--paper);
}

.page-home .round-track-wrap {
  position: relative;
  margin-top: clamp(20px, 3vw, 30px);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-2);
  padding: 14px;
  overflow: hidden;
}

.page-home .round-graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}

.page-home .round-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .round-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 2px 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .round-track__item {
  flex: 0 0 62%;
  min-width: 0;
  scroll-snap-align: start;
}

.page-home .round-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .round-node:hover,
.page-home .round-node:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-2);
}

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

.page-home .round-node__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.page-home .round-node__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--deep);
}

.page-home .round-node__meta {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
}

.page-home .round-node--current {
  background: var(--deep);
  color: var(--paper);
}

.page-home .round-node--current .round-node__label {
  color: var(--cyan);
}

.page-home .round-node--current .round-node__meta {
  color: var(--mist);
}

/* ---------- 联赛入口与纪律速读 ---------- */
.page-home .rounds-band {
  padding: clamp(32px, 5vw, 68px) 0;
  background: var(--paper);
  border-top: 3px solid var(--ink);
}

.page-home .rounds-layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .rounds-main {
  min-width: 0;
}

.page-home .quick-reads {
  list-style: none;
  counter-reset: qr;
  margin: clamp(20px, 3vw, 30px) 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .quick-reads li {
  counter-increment: qr;
  position: relative;
  padding: 14px 16px 14px 58px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .quick-reads li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--deep);
}

.page-home .quick-reads li::before {
  content: counter(qr, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 2px 6px;
  border: 2px solid var(--ink);
  background: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: clamp(18px, 3vw, 28px) 0 0;
}

.page-home .filter-btn {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.page-home .filter-btn:hover {
  background: var(--mist);
}

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

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  box-shadow: var(--shadow-1);
}

.page-home .filter-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .league-cards {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  width: 100%;
}

.page-home .league-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .league-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-2);
}

.page-home .league-card__tag {
  align-self: flex-start;
}

.page-home .league-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.25;
}

.page-home .league-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .league-card__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--deep);
  text-decoration: none;
}

.page-home .league-card__link:hover,
.page-home .league-card__link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- 球队库悬浮入口 ---------- */
.page-home .squad-rail {
  min-width: 0;
}

.page-home .squad-float {
  position: relative;
  padding: 0 18px 20px;
  border: 3px solid var(--ink);
  background: var(--deep);
  color: var(--paper);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.page-home .squad-float::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--cyan);
  pointer-events: none;
}

.page-home .squad-float__media {
  position: relative;
  z-index: 1;
  margin: 0 -18px 14px;
  border-bottom: 3px solid var(--ink);
}

.page-home .squad-float__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .squad-float .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--cyan);
}

.page-home .squad-float .h3 {
  position: relative;
  z-index: 1;
  color: var(--paper);
}

.page-home .squad-float p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .squad-recent {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(247, 249, 246, 0.28);
}

.page-home .squad-recent summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .squad-recent summary::-webkit-details-marker {
  display: none;
}

.page-home .squad-recent summary::after {
  content: " +";
}

.page-home .squad-recent[open] summary::after {
  content: " −";
}

.page-home .squad-recent summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .squad-recent__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .squad-recent__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(247, 249, 246, 0.22);
  font-size: 13px;
  color: var(--mist);
}

.page-home .squad-recent__list b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.page-home .squad-float .btn {
  position: relative;
  z-index: 1;
}

/* ---------- 当季内容中心 ---------- */
.page-home .center-band {
  padding: clamp(34px, 5vw, 72px) 0;
  background: var(--deep);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.page-home .center-band .home-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .center-band .eyebrow {
  color: var(--cyan);
}

.page-home .center-band .h2 {
  color: var(--paper);
}

.page-home .center-band .home-head__lead {
  color: var(--mist);
}

.page-home .center-grid {
  display: grid;
  gap: 14px;
}

.page-home .center-card {
  padding: 16px;
  background: var(--tactic);
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-1);
}

.page-home .center-card__idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .center-card h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  color: var(--paper);
}

.page-home .center-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .center-band__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
}

.page-home .center-band .btn--ghost {
  color: var(--paper);
  border-color: var(--cyan);
}

/* ---------- 周末双场 ---------- */
.page-home .double {
  padding: clamp(34px, 5vw, 72px) 0;
  background: var(--paper);
}

.page-home .double-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .match-panel {
  padding: 16px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

.page-home .match-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 3px solid var(--ink);
}

.page-home .match-panel__round {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--deep);
}

.page-home .match-rows {
  margin: 0;
}

.page-home .match-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--home-line);
}

.page-home .match-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .match-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .match-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .double__figure {
  margin: clamp(20px, 3vw, 32px) 0 0;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.page-home .double__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm {
  padding: clamp(34px, 5vw, 72px) 0;
  background: var(--mist);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.page-home .rhythm .home-head__lead {
  color: var(--deep);
}

.page-home .rhythm-list {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  max-width: 60ch;
}

.page-home .rhythm-list li {
  position: relative;
  padding: 0 0 22px 26px;
  border-left: 3px solid var(--ink);
}

.page-home .rhythm-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .rhythm-list li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: var(--cyan);
  border: 3px solid var(--ink);
}

.page-home .rhythm-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--deep);
}

.page-home .rhythm-body {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.page-home .rhythm__note {
  margin: clamp(22px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--deep);
}

.page-home .rhythm__note a {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.page-home .rhythm__note a:hover,
.page-home .rhythm__note a:focus-visible {
  background: var(--paper);
}

/* ---------- 品牌新章 ---------- */
.page-home .story {
  padding: clamp(34px, 5vw, 72px) 0;
  background: var(--ink);
  color: var(--paper);
}

.page-home .story__inner {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 40px);
  border: 3px solid var(--cyan);
  box-shadow: var(--shadow-2);
}

.page-home .story .eyebrow {
  color: var(--cyan);
}

.page-home .story .h2 {
  color: var(--paper);
}

.page-home .story__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .story .btn--ghost {
  color: var(--paper);
  border-color: var(--paper);
}

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

  .page-home .hero__stats .stat {
    padding: 12px 14px;
    border-right: 2px solid var(--ink);
  }

  .page-home .hero__stats .stat:last-child {
    border-right: 0;
  }
}

@media (min-width: 700px) {
  .page-home .league-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .page-home .round-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-home .round-track__item {
    flex: none;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
  }

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

  .page-home .story__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: center;
  }

  .page-home .story__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1000px) {
  .page-home .rounds-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-home .squad-float {
    position: sticky;
    top: calc(var(--bar-h) + 18px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .round-node,
  .page-home .league-card,
  .page-home .filter-btn {
    transition: none;
  }

  .page-home .round-node:hover,
  .page-home .league-card:hover {
    transform: none;
  }
}
