.page-home {
  background: var(--cream);
  color: var(--ink);
}

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

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.6vw, 38px);
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 12px 0 0;
}

.page-home .section-title--light {
  color: var(--cream);
}

.page-home .lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(20, 17, 15, .74);
}

.page-home .eyebrow {
  display: inline-block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ember);
  border: 1px solid rgba(232, 69, 43, .32);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}

.page-home .eyebrow--light {
  color: var(--gold);
  border-color: rgba(233, 169, 60, .38);
}

.page-home .text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ember-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(232, 69, 43, .35);
  padding-bottom: 3px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--ember);
  border-bottom-color: var(--ember);
}

.page-home .text-link--light {
  color: var(--gold);
  border-bottom-color: rgba(233, 169, 60, .4);
}

/* ===== HERO ===== */
.page-home .hero {
  position: relative;
  padding: calc(var(--header-h) + 38px) 0 50px;
  background:
    radial-gradient(120% 80% at 92% -10%, rgba(232, 69, 43, .18), rgba(246, 240, 231, 0) 62%),
    var(--cream);
  overflow: hidden;
}

.page-home .hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 62px);
  line-height: 1.08;
  letter-spacing: .025em;
  margin: 16px 0 0;
  max-width: 16em;
}

.page-home .hero-lede {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(20, 17, 15, .78);
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--stone);
}

.page-home .hero-meta li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .hero-meta b {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

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

.page-home .hero-board {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

/* 比分面板 */
.page-home .score-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 22px 18px 16px 24px;
  box-shadow: var(--shadow-panel);
}

.page-home .score-panel::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(233, 169, 60, .55) 0 1px, transparent 1px 13px);
}

.page-home .feather {
  position: absolute;
  right: -28px;
  bottom: -26px;
  width: 210px;
  height: 210px;
  color: var(--clay);
  opacity: .12;
  pointer-events: none;
}

.page-home .score-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.page-home .score-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .04em;
  margin: 0;
  color: var(--cream);
}

.page-home .score-sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(246, 240, 231, .58);
}

.page-home .score-thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-invert);
}

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

.page-home .score-list {
  margin-top: 14px;
}

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

.page-home .score-toggle {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-home .score-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(246, 240, 231, .55);
}

.page-home .score-icon {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  transition: transform .2s var(--ease);
}

.page-home .score-icon::before,
.page-home .score-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.page-home .score-icon::before {
  left: 0;
  top: 4.5px;
  width: 11px;
  height: 2px;
}

.page-home .score-icon::after {
  left: 4.5px;
  top: 0;
  width: 2px;
  height: 11px;
  transition: opacity .2s var(--ease);
}

.page-home .score-item.is-open .score-icon {
  transform: rotate(180deg);
  color: var(--ember);
}

.page-home .score-item.is-open .score-icon::after {
  opacity: 0;
}

.page-home .score-time {
  margin-left: auto;
}

.page-home .score-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.page-home .score-teams {
  font-size: 14px;
  color: rgba(246, 240, 231, .9);
}

.page-home .score-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .score-body {
  padding: 0 0 13px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(246, 240, 231, .7);
}

/* 射手榜 */
.page-home .scorers-wrap {
  position: relative;
}

.page-home .scorers-wrap::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 56%;
  height: 48%;
  background: var(--ember);
  border-radius: var(--r-lg);
  z-index: 0;
}

.page-home .scorers-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.page-home .scorers-cover {
  position: relative;
  height: 148px;
  overflow: hidden;
}

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

.page-home .scorers-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(178deg, rgba(20, 17, 15, .35), rgba(20, 17, 15, .82));
}

.page-home .scorers-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .scorers-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--cream);
}

.page-home .scorers-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-home .scorers-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 0;
}

.page-home .scorers-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .scorers-row:nth-child(2) {
  background: rgba(44, 122, 140, .1);
  border-left: 3px solid var(--teal);
  padding-left: 9px;
}

.page-home .rank {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--stone);
}

.page-home .scorers-row:first-child .rank {
  color: var(--ember);
}

.page-home .who {
  font-size: 14px;
  color: var(--ink);
}

.page-home .goals {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.page-home .goals small {
  font-size: 11px;
  font-weight: 400;
  color: var(--stone);
  margin-left: 3px;
}

.page-home .scorers-foot {
  margin-top: auto;
  padding: 16px 18px 20px;
  background: rgba(246, 240, 231, .72);
}

.page-home .scorers-foot p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(20, 17, 15, .72);
}

/* ===== 标签带 ===== */
.page-home .tab-band {
  background: var(--ink);
  color: var(--cream);
  padding: 26px 0;
  border-top: 3px solid var(--ember);
}

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

.page-home .tab-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--cream);
}

.page-home .pill-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.page-home .pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(246, 240, 231, .3);
  color: var(--cream);
  font-size: 14px;
  text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .pill:hover,
.page-home .pill:focus-visible {
  background: rgba(246, 240, 231, .12);
  border-color: var(--gold);
}

.page-home .pill.is-on {
  background: var(--ember);
  border-color: var(--ember);
  font-weight: 700;
  color: #fff;
}

.page-home .tab-note {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 240, 231, .6);
}

/* ===== 升级 ===== */
.page-home .section {
  padding: 54px 0;
}

.page-home .upgrade {
  background: var(--cream);
}

.page-home .upgrade-grid {
  display: grid;
  gap: 28px;
}

.page-home .upgrade-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.page-home .upgrade-figure img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.page-home .upgrade-cards {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-home .upgrade-card {
  position: relative;
  padding: 20px 20px 22px;
  background: var(--cream-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.page-home .upgrade-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ember);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.page-home .upgrade-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .03em;
}

.page-home .upgrade-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(20, 17, 15, .72);
}

/* ===== 窄幅插入段 ===== */
.page-home .interlude {
  background: var(--cream-deep);
  padding: 46px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .interlude-inner {
  max-width: 720px;
}

.page-home .interlude-num {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(46px, 12vw, 88px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ember);
}

.page-home .interlude-num span {
  font-size: .34em;
  margin-left: 8px;
  color: var(--clay);
}

.page-home .interlude h2 {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.page-home .interlude p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(20, 17, 15, .75);
}

/* ===== 反馈 ===== */
.page-home .feedback {
  background: var(--panel);
  color: var(--cream);
}

.page-home .feedback-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.page-home .feedback .lede {
  color: rgba(246, 240, 231, .74);
}

.page-home .feedback .section-title {
  color: var(--cream);
}

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

.page-home .step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding-bottom: 18px;
}

.page-home .step:last-child {
  padding-bottom: 0;
}

.page-home .step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(233, 169, 60, .55);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .step h3 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cream);
}

.page-home .step p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 240, 231, .68);
}

.page-home .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
}

.page-home .feedback-actions .text-link {
  margin-top: 0;
}

.page-home .feedback-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-invert);
}

.page-home .feedback-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ===== 赛程 ===== */
.page-home .schedule {
  background: var(--cream);
}

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

.page-home .schedule-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(20, 17, 15, .7);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

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

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

.page-home .match-row:hover {
  background: rgba(232, 69, 43, .05);
}

.page-home .match-day {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ember);
}

.page-home .match-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .match-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.page-home .schedule-foot {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--cream-deep);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}

.page-home .schedule-foot p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(20, 17, 15, .74);
}

.page-home .schedule-foot .btn {
  justify-self: start;
}

/* ===== 末尾深色区 ===== */
.page-home .final {
  background: var(--ink);
  color: var(--cream);
  padding: 52px 0 62px;
}

.page-home .final-head {
  display: grid;
  gap: 16px;
}

.page-home .final-head .text-link {
  margin-top: 0;
  justify-self: start;
}

.page-home .news-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line-invert);
}

.page-home .news-item {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-invert);
  text-decoration: none;
  color: inherit;
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}

.page-home .news-item:hover,
.page-home .news-item:focus-visible {
  background: rgba(246, 240, 231, .05);
  padding-left: 12px;
}

.page-home .news-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-home .news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--cream);
}

.page-home .news-text {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(246, 240, 231, .6);
}

.page-home .final-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-invert);
}

.page-home .mini-stat {
  display: grid;
  gap: 6px;
}

.page-home .mini-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .mini-num small {
  font-size: .38em;
  margin-left: 4px;
  color: rgba(246, 240, 231, .7);
}

.page-home .mini-label {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 240, 231, .58);
}

.page-home .final-more {
  margin: 26px 0 0;
  font-size: 13px;
  color: rgba(246, 240, 231, .6);
}

.page-home .final-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 169, 60, .5);
  padding-bottom: 1px;
}

.page-home .final-more a:hover {
  color: var(--cream);
}

/* ===== 响应式 ===== */
@media (min-width: 760px) {
  .page-home .tab-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 24px;
  }

  .page-home .tab-note {
    grid-column: 1 / -1;
  }

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

  .page-home .schedule-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .schedule-note {
    max-width: 30ch;
  }

  .page-home .schedule-foot {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .page-home .final-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

@media (min-width: 920px) {
  .page-home .hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .page-home .hero-board {
    grid-template-columns: 5fr 7fr;
    gap: 26px;
    align-items: stretch;
    margin-top: 44px;
  }

  .page-home .score-panel {
    padding: 24px 22px 18px 28px;
  }

  .page-home .scorers-cover {
    height: 176px;
  }

  .page-home .upgrade-grid {
    grid-template-columns: 4fr 8fr;
    gap: 38px;
    align-items: start;
  }

  .page-home .upgrade-figure img {
    max-height: 520px;
  }

  .page-home .feedback-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .section {
    padding: 72px 0;
  }

  .page-home .interlude {
    padding: 58px 0;
  }

  .page-home .schedule {
    padding-bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-icon,
  .page-home .news-item,
  .page-home .pill,
  .page-home .match-row,
  .page-home .text-link {
    transition: none;
  }
}
