.page-home {
  background: var(--bg);
  color: var(--body-text);
  overflow-x: hidden;
}

.page-home .wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  box-sizing: border-box;
}

.page-home section {
  position: relative;
  padding: clamp(52px, 8vw, 92px) 0;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 12px;
}

.page-home .display-md {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 16px;
  max-width: 24ch;
}

.page-home .lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--body-text);
  max-width: 62ch;
  margin: 0;
}

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

/* ---------- 首屏 比分墙 ---------- */

.page-home .round-board {
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(44px, 7vw, 80px);
  overflow: hidden;
  background: var(--bg);
}

.page-home .board-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .board-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.65);
}

.page-home .round-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 19, 15, 0.72) 0%, rgba(8, 19, 15, 0.92) 55%, var(--bg) 100%);
}

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

.page-home .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: clamp(20px, 4vw, 40px);
}

.page-home .crumb-sep {
  color: var(--line);
}

.page-home .board-head {
  border-bottom: 2px solid var(--lime);
  padding-bottom: clamp(20px, 4vw, 34px);
}

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

.page-home .round-pin {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.page-home .pin-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 18vw, 96px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.page-home .pin-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.page-home .board-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 16px;
}

.page-home .board-copy .lede {
  font-size: clamp(16px, 1.7vw, 19px);
}

.page-home .round-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}

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

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

.page-home .score-item[hidden] {
  display: none;
}

.page-home .score-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "home score away"
    "verdict verdict verdict";
  align-items: center;
  gap: 8px 14px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  transition: background 0.16s var(--ease);
}

.page-home .score-item summary::-webkit-details-marker {
  display: none;
}

.page-home .score-item summary:hover,
.page-home .score-item summary:focus-visible {
  background: var(--bg-3);
}

.page-home .score-home {
  grid-area: home;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .score-away {
  grid-area: away;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .score-num {
  grid-area: score;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  padding: 0 10px;
  border-left: 2px solid var(--line);
  border-right: 2px solid var(--line);
}

.page-home .score-verdict {
  grid-area: verdict;
  justify-self: start;
  margin-top: 4px;
}

.page-home .score-detail {
  padding: 4px 4px 20px;
  border-left: 2px solid var(--bg-3);
  padding-left: 14px;
  margin-left: 2px;
}

.page-home .score-detail p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  max-width: 62ch;
}

.page-home .score-review {
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 13px !important;
}

/* ---------- 赛季数字 ---------- */

.page-home .season-figures {
  background: var(--bg-2);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.page-home .figures {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

.page-home .figure-item {
  background: var(--bg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .fig-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.page-home .fig-label {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.page-home .fig-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 6px;
}

/* ---------- 客场排名 ---------- */

.page-home .away-rank {
  background: var(--bg);
}

.page-home .home-media {
  margin: 30px 0 0;
  border: 2px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

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

.page-home .away-banner {
  aspect-ratio: 21 / 9;
}

.page-home .away-banner img {
  height: 100%;
}

.page-home .media-frame-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bg);
  border-top: 2px solid var(--lime);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-home .rank-groups {
  margin-top: 26px;
  display: grid;
  gap: 30px;
}

.page-home .rank-group {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.page-home .rank-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .rank-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .rank-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .rank-name {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.page-home .rank-track {
  display: flex;
  justify-content: flex-end;
  height: 10px;
  background: var(--bg-3);
  min-width: 0;
}

.page-home .rank-bar {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--lime-2);
  transition: width 0.32s var(--ease);
}

.page-home .rank-bar[data-trend="up"] {
  background: var(--orange);
}

.page-home .rank-bar[data-trend="down"] {
  background: var(--steel);
}

.page-home .rank-val {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.page-home .rank-foot {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--steel);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- 号码与名额 ---------- */

.page-home .squad-numbers {
  background: var(--bg-2);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.page-home .squad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .squad-visual {
  order: 2;
}

.page-home .squad-copy {
  order: 1;
}

.page-home .squad-frame {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.page-home .squad-frame img {
  height: 100%;
}

.page-home .number-cards {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-home .number-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .jersey-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  border-right: 2px solid var(--line);
  padding-right: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.page-home .jersey-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
  min-width: 0;
}

.page-home .jersey-team {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--white);
}

/* ---------- 结论徽章 ---------- */

.page-home .verdicts {
  overflow: hidden;
  background: var(--bg);
}

.page-home .verdict-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .verdict-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.5) brightness(0.8);
}

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

.page-home .verdict-row {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

.page-home .verdict-card {
  background: var(--bg-2);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.18s var(--ease);
}

.page-home .verdict-card:hover {
  background: var(--bg-3);
}

.page-home .verdict-tag {
  display: inline-block;
}

.page-home .verdict-grade {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .verdict-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  max-width: 40ch;
}

/* ---------- 更新节奏 ---------- */

.page-home .cadence {
  background: var(--bg-2);
}

.page-home .cadence-track {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
  counter-reset: cadence;
}

.page-home .cadence-item {
  background: var(--bg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: cadence;
  position: relative;
}

.page-home .cadence-item::before {
  content: "0" counter(cadence);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--lime-2);
}

.page-home .cadence-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.01em;
}

.page-home .cadence-what {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .cadence-notes {
  margin-top: 30px;
  border-left: 2px solid var(--lime);
  padding-left: 18px;
}

.page-home .cadence-notes p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  max-width: 62ch;
}

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

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

  .page-home .rank-row {
    grid-template-columns: 90px minmax(0, 1fr) 70px;
  }

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

  .page-home .verdict-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .rank-groups {
    gap: 34px;
  }
}

@media (min-width: 900px) {
  .page-home .board-head {
    position: relative;
    padding-right: 240px;
    padding-bottom: 30px;
  }

  .page-home .round-pin {
    position: absolute;
    right: -10px;
    bottom: -30px;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
  }

  .page-home .pin-num {
    font-size: 168px;
    line-height: 0.78;
  }

  .page-home .score-item summary {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 190px;
    grid-template-areas: "home score away verdict";
    gap: 16px;
  }

  .page-home .score-verdict {
    justify-self: end;
    margin-top: 0;
  }

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

  .page-home .rank-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: var(--line);
    border: 2px solid var(--line);
  }

  .page-home .rank-group {
    background: var(--bg);
    border-top: none;
    padding: 22px 20px;
  }

  .page-home .squad-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .squad-visual {
    order: 1;
  }

  .page-home .squad-copy {
    order: 2;
  }

  .page-home .cadence-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-home .board-copy h1 {
    max-width: 18ch;
  }

  .page-home .away-banner {
    aspect-ratio: 32 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rank-bar,
  .page-home .score-item summary,
  .page-home .verdict-card {
    transition: none;
  }
}

.page-home {
  --w: 1rem;
}
