.page-home {
  --home-solid: #0B1322;
  --home-radius: 26px 8px 26px 8px;
  --home-gap: clamp(18px, 3vw, 34px);
  position: relative;
  color: var(--white);
  overflow-x: clip;
  background:
    radial-gradient(120% 70% at 84% -6%, rgba(45, 226, 197, 0.12), transparent 58%),
    radial-gradient(90% 55% at 4% 4%, rgba(124, 92, 255, 0.14), transparent 60%),
    var(--ink);
}

.page-home .section {
  position: relative;
  padding: clamp(44px, 7vw, 96px) 0;
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}

.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--white);
}

.page-home .section-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 54ch;
}

.page-home .prose {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--soft);
  max-width: 52ch;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.page-home .text-link {
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
  color: var(--teal);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-home .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

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

.page-home .text-link:hover::after,
.page-home .text-link:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- 封面首屏 ---------- */

.page-home .cover {
  position: relative;
  padding: clamp(30px, 6vw, 70px) 0 clamp(38px, 6vw, 74px);
  overflow: hidden;
}

.page-home .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(36, 48, 69, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 48, 69, 0.42) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(72% 62% at 46% 26%, #000, transparent 78%);
  mask-image: radial-gradient(72% 62% at 46% 26%, #000, transparent 78%);
}

.page-home .cover-grid {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: end;
}

.page-home .cover-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .cover-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, 0.16);
}

.page-home .cover-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
  text-wrap: balance;
}

.page-home .cover-lede {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.85;
  color: var(--soft);
}

.page-home .cover-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  background: var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.page-home .cover-index-item {
  background: rgba(14, 22, 38, 0.92);
}

.page-home .cover-index-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  color: var(--soft);
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 0 var(--lime);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .cover-index-num {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.14em;
}

.page-home .cover-index-link:hover,
.page-home .cover-index-link:focus-visible {
  color: var(--white);
  background: rgba(182, 255, 59, 0.08);
  box-shadow: inset 3px 0 0 0 var(--lime);
}

.page-home .cover-index-link:hover .cover-index-num,
.page-home .cover-index-link:focus-visible .cover-index-num {
  color: var(--lime);
}

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

.page-home .cover-figure {
  margin: 0;
  position: relative;
}

.page-home .cover-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  filter: saturate(0.9) contrast(1.05);
}

.page-home .cover-figure .media-caption {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--dim);
}

.page-home .cover-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.page-home .stat {
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--panel-deep);
}

.page-home .stat-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .stat-num {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--lime);
}

/* ---------- 今日赛程时间轴 ---------- */

.page-home .schedule-figure {
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.page-home .schedule-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-radius: 24px 6px 24px 6px;
  border: 1px solid var(--line);
}

.page-home .schedule-figure .media-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--dim);
}

.page-home .day-rail {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.page-home .day-rail::-webkit-scrollbar {
  display: none;
}

.page-home .day-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, 0.8);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .day-chip .mono {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.page-home .day-chip:hover,
.page-home .day-chip:focus-visible {
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-1px);
}

.page-home .day-chip.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.page-home .day-chip.is-active .mono {
  color: rgba(7, 11, 20, 0.62);
}

.page-home .day-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 86%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.page-home .day-panel {
  scroll-snap-align: start;
  scroll-margin-top: 110px;
  padding: 18px 16px 20px;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.96), rgba(10, 17, 32, 0.96));
  border: 1px solid var(--line);
  border-radius: 20px 6px 20px 6px;
}

.page-home .day-panel:target {
  border-color: rgba(182, 255, 59, 0.55);
  box-shadow: 0 0 0 1px rgba(182, 255, 59, 0.22);
}

.page-home .day-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px dashed var(--line);
}

.page-home .day-title .mono {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--teal);
}

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

.page-home .match {
  padding: 10px 10px 10px 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 0 var(--lime);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .match:hover {
  background: rgba(45, 226, 197, 0.06);
  box-shadow: inset 2px 0 0 0 var(--lime);
}

.page-home .match-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.74rem;
  color: var(--dim);
}

.page-home .match-time {
  color: var(--orange);
  font-size: 0.82rem;
}

.page-home .match-league {
  letter-spacing: 0.04em;
}

.page-home .match-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .match-teams {
  font-size: 0.92rem;
  color: var(--soft);
  line-height: 1.4;
}

.page-home .match-vs {
  color: var(--dim);
  font-size: 0.78rem;
  padding: 0 2px;
}

.page-home .match-score {
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s var(--ease);
}

.page-home .match:hover .match-score {
  color: var(--lime);
}

.page-home .track-hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- 联赛排名速览 ---------- */

.page-home .standings {
  background: linear-gradient(180deg, transparent, rgba(14, 22, 38, 0.55), transparent);
}

.page-home .standings-grid {
  display: grid;
  gap: clamp(26px, 3.5vw, 44px);
  align-items: start;
}

.page-home .standing-hints {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .standing-hints li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .standing-hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--violet);
}

.page-home .standings-board {
  background: rgba(10, 17, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px 8px 24px 8px;
  padding: 18px 16px 16px;
}

.page-home .board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .board-league {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
}

.page-home .board-round {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-home .board-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .board-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.page-home .board-table th {
  padding: 8px 6px;
  text-align: right;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .board-table th:nth-child(2) {
  text-align: left;
}

.page-home .board-table td {
  padding: 11px 6px;
  text-align: right;
  color: var(--muted);
  border-bottom: 1px solid rgba(36, 48, 69, 0.55);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .board-table td:nth-child(2) {
  text-align: left;
}

.page-home .board-table tbody tr:hover td {
  background: rgba(45, 226, 197, 0.06);
  color: var(--soft);
}

.page-home .board-table tbody tr:hover .board-points {
  color: var(--lime);
}

.page-home .board-team {
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}

.page-home .board-points {
  color: var(--white);
  font-weight: 600;
}

.page-home .spark {
  display: block;
  margin-left: auto;
  overflow: visible;
}

.page-home .spark--up {
  color: var(--lime);
}

.page-home .spark--flat {
  color: var(--teal);
}

.page-home .spark--down {
  color: var(--orange);
}

.page-home .board-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 回看与筛选 ---------- */

.page-home .replay-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .step-list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 16px 18px;
  background: rgba(14, 22, 38, 0.7);
  border-left: 2px solid var(--line);
  border-radius: 4px 18px 18px 4px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .step:hover {
  border-left-color: var(--orange);
  background: rgba(20, 30, 50, 0.85);
}

.page-home .step-num {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .step-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.page-home .step-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .replay-figure {
  margin: 0;
}

.page-home .replay-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px 26px 8px 26px;
  border: 1px solid var(--line);
}

.page-home .replay-figure .media-caption {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- 服务保障 ---------- */

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

.page-home .support-card {
  padding: 20px 18px 22px;
  background: var(--panel-deep);
  transition: background 0.2s var(--ease);
}

.page-home .support-card:hover {
  background: rgba(20, 30, 50, 0.92);
}

.page-home .support-num {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.page-home .support-title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
}

.page-home .support-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
}

/* ---------- 认证条带 ---------- */

.page-home .cert {
  padding-bottom: clamp(50px, 8vw, 104px);
}

.page-home .cert-band {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(90% 130% at 92% 0%, rgba(182, 255, 59, 0.12), transparent 62%),
    rgba(14, 22, 38, 0.9);
  border: 1px solid rgba(182, 255, 59, 0.24);
  border-radius: 28px 10px 28px 10px;
}

.page-home .cert-figure {
  margin: 0;
}

.page-home .cert-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 16px 4px 16px 4px;
  border: 1px solid var(--line);
}

.page-home .cert-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.28;
  color: var(--white);
}

.page-home .cert-copy .section-title {
  margin-bottom: 14px;
}

.page-home .cert-copy .prose {
  color: var(--soft);
}

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

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

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

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

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

@media (min-width: 900px) {
  .page-home .cover-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .cover-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .page-home .day-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .track-hint {
    display: none;
  }

  .page-home .standings-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

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

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

  .page-home .cert-band {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home .cover-title {
    font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  }

  .page-home .replay-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .text-link::after,
  .page-home .day-chip,
  .page-home .match,
  .page-home .step,
  .page-home .support-card,
  .page-home .cover-index-link {
    transition: none;
  }

  .page-home .day-chip:hover,
  .page-home .day-chip:focus-visible {
    transform: none;
  }
}
