.page-home {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: clip;
}

.page-home .breadcrumbs {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 14px var(--page-gutter) 0;
  font-size: 13px;
  color: var(--muted);
}

.page-home .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.page-home .breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-home .breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.page-home .breadcrumbs__link:hover {
  color: var(--link-hover);
}

.page-home .breadcrumbs__current {
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(circle at 84% 14%, rgba(53, 242, 178, 0.12), transparent 48%),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 61, 0.07), transparent 42%),
    linear-gradient(158deg, var(--deep) 0%, var(--ink) 72%);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.page-home .hero-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 60px) var(--page-gutter) clamp(30px, 5vw, 68px);
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .eyebrow {
  margin: 0;
  font-family: var(--numeric);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.page-home .hero-title {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero-lede {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--muted);
}

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

.page-home .path-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .path-card__index {
  grid-row: span 3;
  font-family: var(--numeric);
  font-size: 12px;
  color: var(--signal);
  padding-top: 3px;
}

.page-home .path-card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
}

.page-home .path-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .path-card .text-link {
  grid-column: 2;
  justify-self: start;
}

.page-home .text-link {
  color: var(--link-hover);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 255, 224, 0.35);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

.page-home .hero-visual {
  min-width: 0;
}

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

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

.page-home .image-frame__caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .track {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.page-home .track__stop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--numeric);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .track__stop i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.page-home .track__stop--accent i {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 242, 178, 0.16);
}

.page-home .track__stop--signal i {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.16);
}

/* ---------- 通用区块 ---------- */
.page-home .section-shell {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(34px, 5.5vw, 68px) var(--page-gutter);
}

.page-home .section-heading {
  margin: 0 0 clamp(20px, 3vw, 32px);
  max-width: 62ch;
}

.page-home .section-heading h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .section-lede {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .status-pill {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 3px 9px;
  font-family: var(--numeric);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.page-home .status-pill--accent {
  color: var(--accent);
}

.page-home .status-pill--signal {
  color: var(--signal);
}

/* ---------- 目录变化 ---------- */
.page-home .change-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.page-home .change-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-home .change-item__no {
  font-family: var(--numeric);
  font-size: 18px;
  color: var(--accent);
  padding-top: 2px;
}

.page-home .change-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.page-home .change-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--muted);
}

/* ---------- 联赛与轮次 ---------- */
.page-home .league-layout {
  display: grid;
  gap: 20px;
}

.page-home .league-rail {
  min-width: 0;
}

.page-home .league-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .league-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-home .league-chip:hover {
  border-color: var(--accent);
  color: var(--link-hover);
  transform: translateY(-1px);
}

.page-home .league-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-home .league-shot {
  margin: 16px 0 0;
}

.page-home .league-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .league-stream {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .league-panel {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 80px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-home .league-panel:target {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(53, 242, 178, 0.4);
}

.page-home .league-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .league-panel__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

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

.page-home .round-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 10px;
  padding: 10px 12px;
  background: var(--deep);
  border-left: 2px solid var(--accent);
}

.page-home .round-card__no {
  grid-row: span 2;
  font-family: var(--numeric);
  font-size: 15px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}

.page-home .round-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.page-home .round-card__meta {
  margin: 2px 0 0;
  font-family: var(--numeric);
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.page-home .round-card .status-pill {
  grid-column: 2;
  margin-top: 4px;
}

.page-home .league-panel__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 战绩与栏目 ---------- */
.page-home .insight-grid {
  display: grid;
  gap: 16px;
}

.page-home .insight-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .insight-col h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: 0.005em;
  color: var(--white);
}

.page-home .insight-banner {
  margin: 0;
}

.page-home .insight-banner img,
.page-home .local-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.page-home .digest-item {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.page-home .digest-time {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--numeric);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.page-home .digest-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .insight-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

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

.page-home .local-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .local-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.page-home .local-item span {
  font-family: var(--numeric);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .local-shot {
  margin: 0;
}

/* ---------- 数据带 ---------- */
.page-home .stats {
  background: linear-gradient(180deg, var(--deep), var(--ink));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .stats__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 58px) var(--page-gutter);
}

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

.page-home .stat {
  padding: 16px 14px;
  background: var(--ink);
}

.page-home .stat dt {
  font-family: var(--numeric);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-home .stat dd {
  margin: 8px 0 0;
  font-family: var(--numeric);
  font-size: clamp(24px, 4.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.page-home .stat dd small {
  margin-left: 5px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.page-home .stats__foot {
  margin: 20px 0 0;
}

/* ---------- 接入 ---------- */
.page-home .step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .step-item {
  padding: 14px 0 0;
  border-top: 2px solid var(--accent);
}

.page-home .step-item:nth-child(3),
.page-home .step-item:nth-child(4) {
  border-top-color: var(--signal);
}

.page-home .step-item__no {
  font-family: var(--numeric);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .step-item h3 {
  margin: 6px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
}

.page-home .step-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

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

/* ---------- 显现 ---------- */
.has-js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.has-js .page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .has-js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .league-chip:hover {
    transform: none;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .round-card {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .round-card__no {
    grid-row: auto;
  }

  .page-home .round-card .status-pill {
    grid-column: auto;
    margin-top: 0;
  }
}

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

  .page-home .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .change-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
  }

  .page-home .change-item__no {
    font-size: 22px;
  }
}

@media (min-width: 900px) {
  .page-home .insight-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 22px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: start;
    gap: 44px;
  }

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

@media (min-width: 1000px) {
  .page-home .league-layout {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .page-home .league-stream {
    gap: 16px;
  }
}
