.page-home {
  --home-line: var(--line-tint);
  --home-card-bg: linear-gradient(158deg, rgba(18, 41, 77, .92), rgba(10, 23, 48, .72));
  --home-gap: clamp(18px, 3.5vw, 40px);
  color: var(--frost-050);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(53, 240, 138, .10), transparent 62%),
    radial-gradient(900px 520px at 4% 22%, rgba(111, 195, 255, .09), transparent 60%),
    var(--abyss-900);
  overflow-x: hidden;
}

.page-home .home-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(88px, 15vw, 142px) var(--gutter) 0;
}

.page-home .home-topline .breadcrumb {
  font-size: 13px;
  color: var(--slate-400);
}

.page-home .home-topline .breadcrumb a {
  color: var(--slate-400);
  text-decoration: none;
}

.page-home .home-topline .breadcrumb a:hover {
  color: var(--mint-200);
}

.page-home .home-topline .breadcrumb [aria-current="page"] {
  color: var(--frost-050);
}

.page-home .home-topline-tag {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber-400);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(20px, 3.4vw, 42px) var(--gutter) clamp(28px, 5vw, 64px);
}

.page-home .home-hero-title {
  margin: 14px 0 18px;
  font-size: clamp(30px, 8.5vw, 54px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--frost-050) 32%, var(--mint-200) 78%, var(--neon-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero-lead {
  max-width: 34em;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--slate-400);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 26px;
}

.page-home .subscribe > summary {
  list-style: none;
  cursor: pointer;
}

.page-home .subscribe > summary::-webkit-details-marker {
  display: none;
}

.page-home .subscribe[open] > summary {
  border-color: var(--mint-200);
  color: var(--mint-200);
}

.page-home .subscribe-panel {
  margin-top: 12px;
  max-width: 340px;
  padding: 16px 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--navy-800);
}

.page-home .subscribe-panel p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
}

.page-home .subscribe-mail {
  color: var(--amber-400);
  font-size: 13px;
  word-break: break-all;
}

.page-home .subscribe-link {
  font-size: 13px;
  color: var(--neon-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 138, .4);
}

.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
  font-size: 13px;
  color: var(--slate-400);
}

.page-home .home-hero-meta .numeric {
  display: inline-block;
  margin-right: 4px;
  font-size: 20px;
  color: var(--frost-050);
}

.page-home .home-hero-visual {
  position: relative;
  height: 240px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero-visual::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: linear-gradient(115deg, transparent 36%, rgba(53, 240, 138, .22) 50%, transparent 64%);
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(166, 255, 212, .55) 1.4px, transparent 1.6px);
  background-size: 24px 24px;
  opacity: .35;
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 章节导航 ---------- */
.page-home .toc {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 var(--gutter) 4px;
  max-width: var(--shell-max);
  margin: 0 auto 6px;
  scrollbar-width: none;
}

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

.page-home .toc-link {
  flex: 0 0 auto;
  padding: 9px 14px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--slate-400);
  text-decoration: none;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-pill);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}

.page-home .toc-link:hover,
.page-home .toc-link[aria-current="true"] {
  color: var(--mint-200);
  border-color: var(--mint-200);
}

/* ---------- 章通用 ---------- */
.page-home .home-chapter {
  position: relative;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 82px) var(--gutter);
  border-top: 1px solid var(--home-line);
}

.page-home .home-chapter-head {
  position: relative;
  margin-bottom: clamp(20px, 3.4vw, 34px);
}

.page-home .chapter-no {
  display: block;
  font-size: clamp(48px, 12vw, 96px);
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(111, 195, 255, .10);
  margin-bottom: -8px;
}

.page-home .chapter-title {
  margin: 0 0 10px;
  font-size: clamp(23px, 5.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.28;
}

.page-home .chapter-sub {
  max-width: 40em;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-400);
}

/* ---------- 联赛频道条 ---------- */
.page-home .home-league-band {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3.4vw, 28px) clamp(14px, 3vw, 26px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--navy-800);
}

.page-home .home-league-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
  z-index: 0;
}

.page-home .home-league-band .chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.page-home .home-league-band .chip-row::-webkit-scrollbar {
  display: none;
}

.page-home .home-league-band .chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--frost-050);
  background: rgba(5, 11, 26, .62);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.page-home .home-league-band .chip:hover {
  border-color: var(--mint-200);
}

.page-home .home-league-band .chip.is-active,
.page-home .home-league-band .chip[aria-pressed="true"] {
  color: var(--abyss-900);
  background: var(--neon-400);
  border-color: var(--neon-400);
  font-weight: 600;
}

.page-home .home-league-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-league-foot p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-400);
}

/* ---------- 重点场次 ---------- */
.page-home .home-featured {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .home-featured:focus-visible,
.page-home .wall-scroll:focus-visible {
  outline: 1px solid var(--mint-200);
  outline-offset: 4px;
  border-radius: var(--radius-card);
}

.page-home .feature-card {
  flex: 0 0 auto;
  width: min(520px, 84vw);
  scroll-snap-align: start;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--home-card-bg);
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
}

.page-home .feature-card:hover {
  border-color: var(--mint-200);
  box-shadow: 0 0 0 1px rgba(166, 255, 212, .18), 0 22px 46px rgba(5, 11, 26, .62);
}

.page-home .feature-card > img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.page-home .feature-body {
  padding: clamp(16px, 3vw, 24px);
}

.page-home .feature-body h3 {
  margin: 12px 0 16px;
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: 800;
  line-height: 1.42;
}

.page-home .range-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.page-home .range-list > div {
  padding: 10px 12px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: rgba(5, 11, 26, .42);
}

.page-home .range-list dt {
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.page-home .range-list dd {
  margin: 0;
  font-size: 22px;
  color: var(--frost-050);
}

.page-home .range-list dd.range-val {
  color: var(--amber-400);
  font-size: 20px;
}

.page-home .feature-stamp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--slate-400);
}

.page-home .stamp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alert-coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 122, .16);
}

.page-home .feature-stamp .numeric {
  color: var(--amber-400);
  letter-spacing: .04em;
}

/* ---------- 数字墙 ---------- */
.page-home .wall-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .wall-card {
  flex: 0 0 auto;
  width: min(264px, 76vw);
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--home-card-bg);
  transition: border-color .45s var(--ease);
}

.page-home .wall-card:hover {
  border-color: rgba(166, 255, 212, .5);
}

.page-home .wall-league {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--sky-300);
}

.page-home .wall-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--frost-050);
}

.page-home .wall-label {
  margin: 12px 0 6px;
  font-size: 11px;
  color: var(--slate-400);
}

.page-home .bar-track {
  position: relative;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--home-line);
}

.page-home .bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--bar-from, 16%);
  width: calc(var(--bar-to, 56%) - var(--bar-from, 16%));
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(53, 240, 138, .35), var(--neon-400));
}

.page-home .bar-fill--sky {
  background: linear-gradient(90deg, rgba(111, 195, 255, .32), var(--sky-300));
}

.page-home .bar-fill::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: var(--amber-400);
}

.page-home .wall-range {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--amber-400);
}

.page-home .wall-note {
  margin: 16px 0 6px;
  padding-top: 12px;
  border-top: 1px solid var(--home-line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-400);
}

.page-home .wall-stamp {
  margin: 0;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(132, 151, 176, .86);
}

/* ---------- 战报与规则 ---------- */
.page-home .home-split {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.page-home .split-side {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--home-card-bg);
}

.page-home .split-side h3 {
  margin: 12px 0 12px;
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: 800;
  line-height: 1.45;
}

.page-home .split-side p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate-400);
}

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

.page-home .split-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-400);
}

.page-home .split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-400);
}

.page-home .split-list .numeric {
  color: var(--amber-400);
}

.page-home .rule-key {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  font-size: 12px;
  color: var(--mint-200);
  border: 1px solid rgba(166, 255, 212, .35);
  border-radius: var(--radius-pill);
}

.page-home .split-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-300), transparent);
}

.page-home .split-tri {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--sky-300);
}

.page-home .split-tri--down {
  border-left: none;
  border-right: 7px solid var(--amber-400);
}

.page-home .home-info-figure {
  margin: 26px 0 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--navy-800);
}

.page-home .home-info-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-info-figure figcaption {
  padding: 12px 18px 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate-400);
  border-top: 1px solid var(--home-line);
}

/* ---------- 公告 ---------- */
.page-home .exhibit-row {
  display: grid;
  gap: 14px;
}

.page-home .exhibit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--home-card-bg);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.page-home .exhibit:hover {
  border-color: var(--mint-200);
  transform: translateY(-3px);
}

.page-home .exhibit-meta {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--sky-300);
}

.page-home .exhibit-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--frost-050);
}

.page-home .exhibit-value {
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--amber-400);
  border: 1px solid rgba(255, 182, 61, .3);
  border-radius: var(--radius-pill);
}

.page-home .home-more {
  display: inline-flex;
  margin-top: 22px;
}

/* ---------- 三步 ---------- */
.page-home .step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .step {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: var(--home-card-bg);
}

.page-home .step-no {
  display: block;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--amber-400);
  margin-bottom: 10px;
}

.page-home .step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.page-home .step p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-400);
}

.page-home .home-help {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-card);
  background: rgba(10, 23, 48, .7);
}

.page-home .home-help p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-400);
}

.page-home .home-help-mail {
  color: var(--mint-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 255, 212, .4);
  word-break: break-all;
}

.page-home .home-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  font-size: 13px;
}

.page-home .home-help-links a {
  color: var(--sky-300);
  text-decoration: none;
}

.page-home .home-help-links a:hover {
  color: var(--mint-200);
}

/* ---------- 中小屏 ---------- */
@media (min-width: 620px) {
  .page-home .exhibit-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-hero-visual {
    height: 320px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
  }

  .page-home .home-hero-visual {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .page-home .home-league-band .chip-row {
    flex-wrap: wrap;
    overflow: visible;
  }

  .page-home .home-split {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 26px;
  }

  .page-home .split-line {
    height: auto;
    width: 1px;
    flex-direction: column;
    background: linear-gradient(180deg, transparent, var(--sky-300) 22%, var(--mint-200) 70%, transparent);
  }

  .page-home .split-tri {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--sky-300);
  }

  .page-home .split-tri--down {
    border-left: none;
    border-right: 7px solid var(--amber-400);
  }

  .page-home .chapter-sub {
    font-size: 16px;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero-title {
    font-size: 56px;
  }

  .page-home .home-hero-lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .exhibit,
  .page-home .feature-card,
  .page-home .wall-card,
  .page-home .toc-link {
    transition: none;
  }

  .page-home .exhibit:hover {
    transform: none;
  }
}

.page-home {
  --bar-from: 1rem;
  --bar-to: 1rem;
}
