.page-home {
  --home-tilt: -7deg;
  --home-scan: repeating-linear-gradient(
    to bottom,
    rgba(59, 240, 200, 0.055) 0 1px,
    transparent 1px 7px
  );
  --home-glow: radial-gradient(
    60% 70% at 78% 12%,
    rgba(59, 240, 200, 0.16) 0%,
    rgba(6, 17, 15, 0) 62%
  );
  padding-bottom: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 30px) 0 54px;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-glow), var(--home-scan);
  pointer-events: none;
}
.page-home .hero-grid {
  position: relative;
  display: grid;
  gap: 38px;
}

.page-home .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 22px;
}
.page-home .crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.page-home .crumbs a:hover {
  color: var(--cyan);
}

.page-home .hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 8.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--text);
}
.page-home .hero-lede {
  max-width: 34em;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  list-style: none;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}
.page-home .hero-facts .mono {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.page-home .hero-visual {
  position: relative;
}
.page-home .hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}
.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(59, 240, 200, 0.14) 0%,
    rgba(6, 17, 15, 0.72) 74%
  );
  pointer-events: none;
}

.page-home .score-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 比分牌 ---------- */
.page-home .score-card {
  display: grid;
  grid-template-areas:
    "top"
    "teams"
    "meta";
  gap: 8px;
  padding: 14px 16px 16px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--line);
  border-radius: var(--r-md);
}
.page-home .score-card__top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-home .score-card__time {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.page-home .score-card__state {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.page-home .score-card__state.is-live {
  color: var(--ink-950);
  background: var(--orange);
  border-color: transparent;
  font-weight: 700;
}
.page-home .score-card__state.is-done {
  color: var(--muted);
  background: rgba(147, 170, 161, 0.12);
}
.page-home .score-card__teams {
  grid-area: teams;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.page-home .score-card__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.page-home .score-card__meta {
  grid-area: meta;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.page-home .score-card.is-live,
.page-home .score-card:has(.is-live) {
  border-bottom-color: var(--orange);
}
.page-home .score-card:has(.is-done) {
  border-bottom-color: var(--muted);
}

/* ---------- 公共区块头 ---------- */
.page-home .home-fixtures,
.page-home .home-reports,
.page-home .home-switch,
.page-home .home-weekend,
.page-home .home-help {
  padding: 58px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .section-head {
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
}
.page-home .section-head h2,
.page-home .weekend-head h2,
.page-home .switch-head h2,
.page-home .help-body h2,
.page-home .reports-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.6vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  color: var(--text);
}
.page-home .section-head__img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  filter: brightness(0.82);
}
.page-home .section-head__note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 32em;
}

/* ---------- 赛程区 ---------- */
.page-home .fixtures-grid {
  display: grid;
  gap: 22px;
}
.page-home .panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.page-home .rank-panel {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px 24px;
}
.page-home .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.page-home .rank-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no team pts"
    "no tag pts";
  align-items: center;
  gap: 2px 12px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line-soft);
}
.page-home .rank-list li:last-child {
  border-bottom: none;
}
.page-home .rank-list__no {
  grid-area: no;
  font-size: 15px;
  color: var(--cyan);
  width: 30px;
}
.page-home .rank-list__team {
  grid-area: team;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.page-home .rank-list__tag {
  grid-area: tag;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.page-home .rank-list__pts {
  grid-area: pts;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.page-home .fixture-cards__grid {
  display: grid;
  gap: 12px;
}

/* ---------- 战报带 ---------- */
.page-home .reports-grid {
  display: grid;
  gap: 30px;
}
.page-home .reports-media {
  margin: 0;
}
.page-home .reports-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  filter: brightness(0.8);
}
.page-home .reports-media figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.page-home .reports-lede {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
}
.page-home .report-item {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .report-item:first-of-type {
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.page-home .report-item__tag {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.page-home .report-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.page-home .report-item__sum {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .report-item__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line-soft);
}
.page-home .report-item__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .report-item__stats dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.page-home .report-item__stats dd {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
}
.page-home .reports-body .btn {
  margin-top: 26px;
}

/* ---------- 五步切换 ---------- */
.page-home .switch-head {
  max-width: 44em;
}
.page-home .switch-lede {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .switch-body {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}
.page-home .steps {
  display: grid;
  gap: 10px;
  position: relative;
}
.page-home .step {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.page-home .step[open] {
  border-left-color: var(--cyan);
  background: var(--ink-700);
}
.page-home .step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.page-home .step__head::-webkit-details-marker {
  display: none;
}
.page-home .step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-950);
  background: var(--cyan);
}
.page-home .step__name {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.page-home .step__flag {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.page-home .step__flag.is-done {
  color: var(--cyan);
  border-color: rgba(59, 240, 200, 0.42);
}
.page-home .step__flag.is-live {
  color: var(--ink-950);
  background: var(--orange);
  border-color: transparent;
  font-weight: 700;
}
.page-home .step__body {
  margin: 0;
  padding: 0 16px 16px 56px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .switch-media {
  margin: 0;
}
.page-home .switch-media img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  filter: brightness(0.82);
}
.page-home .switch-media figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 26em;
}
.page-home .switch-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(59, 240, 200, 0.12) 0%, rgba(245, 166, 59, 0.1) 100%);
  border: 1px solid var(--line);
}
.page-home .switch-foot p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  max-width: 32em;
}

/* ---------- 周末连场 ---------- */
.page-home .weekend-head {
  max-width: 44em;
  margin-bottom: 30px;
}
.page-home .weekend-head p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .weekend-grid {
  display: grid;
  gap: 18px;
}
.page-home .weekend-card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px 18px;
}
.page-home .weekend-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-home .weekend-card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.page-home .weekend-card__badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-950);
  background: var(--amber);
  font-weight: 700;
}
.page-home .weekend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .weekend-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-areas:
    "time name"
    "time venue";
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.page-home .weekend-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.page-home .weekend-list__time {
  grid-area: time;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  align-self: start;
}
.page-home .weekend-list__name {
  grid-area: name;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.page-home .weekend-list__venue {
  grid-area: venue;
  font-size: 12px;
  color: var(--muted);
}
.page-home .weekend-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}
.page-home .weekend-foot p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38em;
}

/* ---------- 帮助与咨询 ---------- */
.page-home .home-help {
  border-bottom: none;
}
.page-home .help-grid {
  display: grid;
  gap: 30px;
}
.page-home .help-body p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 34em;
}
.page-home .help-groups {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.page-home .help-group {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.page-home .help-group:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.page-home .help-group h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.page-home .help-group p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .help-contact {
  background: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  align-self: start;
}
.page-home .help-contact h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.page-home .contact-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .contact-list div {
  display: grid;
  gap: 4px;
}
.page-home .contact-list dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.page-home .contact-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}
.page-home .contact-note {
  margin: 18px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.page-home .link-arrow {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 240, 200, 0.4);
  padding-bottom: 2px;
}
.page-home .link-arrow--sm {
  display: block;
  margin-top: 14px;
  font-size: 13px;
}
.page-home .link-arrow:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ---------- 桌面 ---------- */
@media (min-width: 780px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 46px) 0 76px;
  }
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 48px;
    align-items: start;
  }
  .page-home .hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .hero-visual {
    margin-top: -18px;
  }
  .page-home .score-stack {
    gap: 14px;
    margin-top: -26px;
    margin-left: 22px;
    transform: skewY(var(--home-tilt));
  }
  .page-home .score-stack .score-card {
    transform: skewY(calc(var(--home-tilt) * -1));
    box-shadow: var(--shadow-1);
  }
  .page-home .score-stack .score-card:nth-child(2) {
    margin-left: 26px;
  }
  .page-home .score-stack .score-card:nth-child(3) {
    margin-left: 10px;
  }

  .page-home .home-fixtures,
  .page-home .home-reports,
  .page-home .home-switch,
  .page-home .home-weekend,
  .page-home .home-help {
    padding: 84px 0;
  }
  .page-home .section-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 40px;
  }
  .page-home .fixtures-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: start;
  }
  .page-home .fixture-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .fixture-cards__grid .score-card:nth-child(even) {
    margin-top: 22px;
  }

  .page-home .reports-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 46px;
    align-items: start;
  }
  .page-home .reports-media {
    margin-top: 42px;
  }
  .page-home .reports-body {
    padding-right: 4px;
  }

  .page-home .switch-body {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 36px;
    align-items: start;
  }
  .page-home .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .page-home .steps::before {
    content: "";
    position: absolute;
    top: 41px;
    left: 4%;
    right: 4%;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 240, 200, 0.55), rgba(245, 166, 59, 0.45));
    z-index: 0;
  }
  .page-home .step {
    position: relative;
    z-index: 1;
    border-left-width: 1px;
  }
  .page-home .step[open] {
    border-left-color: var(--line);
    border-top-color: var(--cyan);
  }
  .page-home .step__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 14px 12px;
  }
  .page-home .step__name {
    font-size: 14px;
  }
  .page-home .step__body {
    padding: 0 14px 16px;
    font-size: 13px;
  }

  .page-home .weekend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .page-home .weekend-card:nth-child(2) {
    margin-top: 28px;
  }

  .page-home .help-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 42px;
    align-items: start;
  }
  .page-home .help-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .hero-lede {
    font-size: 17px;
  }
  .page-home .fixture-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .help-group,
  .page-home .score-card {
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
  }
}
</main>
