.page-home {
  --home-pad: clamp(16px, 4vw, 48px);
  --home-soft: rgba(18, 60, 47, 0.72);
  --home-line: var(--rail-line);
  padding-bottom: clamp(48px, 8vw, 96px);
  background: var(--pitch);
  color: #fff;
}

.page-home > section,
.page-home > nav.breadcrumb {
  padding-inline: var(--home-pad);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding-top: clamp(12px, 2.5vw, 28px);
}

.page-home .hero-inner {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
  align-items: end;
}

.page-home .hero-title {
  margin: 14px 0 18px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(42px, 10vw, 118px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-home .hero-title-accent {
  display: block;
  color: var(--turf-light);
}

.page-home .hero-lead {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.86);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .media-caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
  }
}

/* ---------- 横贯对阵条 ---------- */
.page-home .match-strip {
  margin-top: clamp(26px, 4vw, 52px);
  background: linear-gradient(180deg, var(--pitch-2) 0%, rgba(10, 42, 33, 0.35) 100%);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .match-strip-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px var(--home-pad) 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .match-strip-label {
  color: var(--amber);
}

.page-home .match-strip-note {
  color: var(--cyan);
}

.page-home .match-row {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-top: 1px solid var(--home-line);
  -webkit-overflow-scrolling: touch;
}

.page-home .match-cell {
  flex: 0 0 auto;
  min-width: 208px;
  padding: 16px 18px 18px;
  display: grid;
  gap: 8px;
  border-right: 1px solid var(--home-line);
  scroll-snap-align: start;
  transition: background-color 0.25s ease;
}

.page-home .match-cell:hover,
.page-home .match-cell:focus-within {
  background: rgba(47, 158, 99, 0.14);
}

.page-home .match-cell-round {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .match-cell-league {
  font-size: 13px;
  color: var(--muted);
}

.page-home .match-cell-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.page-home .team-home {
  box-shadow: inset 0 -1.5px 0 var(--turf);
  padding-bottom: 2px;
}

.page-home .team-sep {
  color: var(--muted);
}

.page-home .match-cell-score {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
}

@media (min-width: 940px) {
  .page-home .match-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-home .match-cell {
    min-width: 0;
  }
}

/* ---------- 规模统计 ---------- */
.page-home .stat-band {
  margin-top: clamp(28px, 4vw, 52px);
}

.page-home .stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-line);
}

.page-home .stat {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
  background: var(--pitch-2);
}

.page-home .stat-num {
  font-family: var(--mono);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .stat-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

/* ---------- 通用章节 ---------- */
.page-home .section {
  margin-top: clamp(48px, 7vw, 96px);
}

.page-home .section-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .section-title {
  margin: 10px 0 12px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-home .section-desc {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(245, 240, 228, 0.82);
}

.page-home .eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: none;
}

.page-home .section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--turf);
  color: #07201A;
  font-size: 15px;
  font-weight: 700;
}

.page-home .section-index--amber {
  background: var(--amber);
  color: var(--ink);
}

/* ---------- 第 12 轮 ---------- */
.page-home .round-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  grid-template-columns: 1fr;
}

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

.page-home .round-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.page-home .round-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 18px 18px 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sm);
  background: rgba(18, 60, 47, 0.5);
}

.page-home .round-step-no {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-home .round-step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.page-home .round-step-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.76);
}

.page-home .round-step-state {
  align-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(243, 178, 49, 0.16);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-home .round-step--meta {
  grid-template-columns: auto 1fr;
  background: transparent;
  border-style: dashed;
  border-color: var(--dash);
}

.page-home .round-step--meta .round-step-no {
  color: var(--muted);
}

@media (min-width: 1000px) {
  .page-home .round-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

/* ---------- 三条路径 ---------- */
.page-home .path-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.page-home .path-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: var(--home-soft);
  border: 1px solid var(--home-line);
}

.page-home .path-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: var(--turf);
  opacity: 0.7;
}

.page-home .path-no {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .path-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.page-home .path-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(245, 240, 228, 0.78);
}

.page-home .path-link {
  justify-self: start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--turf-light);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(111, 215, 155, 0.45);
}

.page-home .path-link:hover {
  color: #fff;
  border-bottom-color: var(--score);
}

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

/* ---------- 半场比分 ---------- */
.page-home .half-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
}

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

.page-home .half-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 14px;
  border-bottom: 1px solid var(--home-line);
  transition: background-color 0.22s ease;
}

.page-home .half-row:hover {
  background: rgba(243, 178, 49, 0.09);
}

.page-home .half-round {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .half-teams {
  font-size: 15px;
  color: #fff;
}

.page-home .half-score {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
}

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

.page-home .half-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

@media (min-width: 960px) {
  .page-home .half-grid {
    grid-template-columns: 1fr 0.85fr;
    align-items: start;
  }
}

/* ---------- 联赛变更清单 ---------- */
.page-home .change-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .change-card {
  display: grid;
  gap: 8px;
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(47, 158, 99, 0.18) 0%, rgba(18, 60, 47, 0.7) 62%);
  border: 1px solid var(--home-line);
}

.page-home .change-no {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .change-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.page-home .change-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.78);
}

.page-home .change-count {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--turf-light);
}

.page-home .changes-foot {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.78);
}

.page-home .changes-link {
  color: var(--turf-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 215, 155, 0.45);
}

.page-home .changes-link:hover {
  color: #fff;
  border-bottom-color: var(--score);
}

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

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

/* ---------- 球员分类收藏 ---------- */
.page-home .squad-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.page-home .squad-tag {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #F5F0E4;
  border-left: 4px solid rgba(255, 255, 255, 0.35);
}

.page-home .squad-tag.team-c1 { background: rgba(92, 127, 110, 0.42); border-left-color: #5C7F6E; }
.page-home .squad-tag.team-c2 { background: rgba(122, 106, 156, 0.42); border-left-color: #7A6A9C; }
.page-home .squad-tag.team-c3 { background: rgba(156, 122, 92, 0.42); border-left-color: #9C7A5C; }
.page-home .squad-tag.team-c4 { background: rgba(92, 122, 156, 0.42); border-left-color: #5C7A9C; }
.page-home .squad-tag.team-c5 { background: rgba(110, 138, 92, 0.42); border-left-color: #6E8A5C; }
.page-home .squad-tag.team-c6 { background: rgba(138, 92, 110, 0.42); border-left-color: #8A5C6E; }

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

.page-home .squad-note {
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: rgba(18, 60, 47, 0.62);
  border: 1px solid var(--home-line);
}

.page-home .squad-note-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--turf-light);
}

.page-home .squad-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(245, 240, 228, 0.78);
}

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

/* ---------- 平板浏览 ---------- */
.page-home .tablet-block {
  padding-block: clamp(28px, 5vw, 56px);
  margin-inline: calc(var(--home-pad) * -1);
  padding-inline: var(--home-pad);
  border-radius: 0;
  background: var(--pitch-2);
}

.page-home .tablet-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  grid-template-columns: 1fr;
  align-items: center;
}

.page-home .tablet-copy .section-title {
  margin-top: 12px;
}

.page-home .tablet-copy .btn {
  margin-top: 20px;
}

.page-home .tablet-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .tablet-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(245, 240, 228, 0.8);
}

.page-home .tablet-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

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

.page-home .tablet-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

@media (min-width: 1000px) {
  .page-home .tablet-grid {
    grid-template-columns: 1fr 0.95fr;
  }
}

/* ---------- 结尾 ---------- */
.page-home .closing-block {
  margin-top: clamp(48px, 7vw, 88px);
}

.page-home .closing-inner {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 158, 99, 0.22) 0%, rgba(10, 42, 33, 0.9) 70%);
  border: 1px solid var(--home-line);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: end;
}

.page-home .closing-block .section-title {
  margin-top: 8px;
  margin-bottom: 10px;
}

@media (min-width: 900px) {
  .page-home .closing-inner {
    grid-template-columns: 1.4fr auto;
    align-items: end;
  }

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

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .match-cell,
  .page-home .half-row,
  .page-home .path-link,
  .page-home .changes-link {
    transition: none;
  }
}
</main>
