.page-home {
  --home-line: rgba(214, 228, 245, 0.16);
  --home-glow: rgba(35, 224, 208, 0.22);
  --home-pad: clamp(48px, 7vw, 96px);
  overflow-x: clip;
}

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

.page-home .section {
  padding-block: var(--home-pad);
}

.page-home a:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.page-home .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
}

.page-home .crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-3);
}

.page-home .crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

.page-home .crumbs a:hover {
  color: var(--neon);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(40px, 6vw, 84px);
  isolation: isolate;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

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

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 82% 6%, rgba(124, 77, 255, 0.38), transparent 62%),
    radial-gradient(90% 70% at 8% 96%, rgba(35, 224, 208, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(6, 20, 40, 0.6) 0%, rgba(6, 20, 40, 0.9) 58%, var(--night) 100%);
}

.page-home .hero__frame {
  position: relative;
  padding: clamp(20px, 3vw, 46px);
  border: var(--hair);
  background: linear-gradient(158deg, rgba(11, 36, 71, 0.94), rgba(6, 20, 40, 0.84));
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--neon);
  opacity: 0.75;
}

.page-home .hero__frame::before {
  top: 9px;
  left: 9px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .hero__frame::after {
  right: 9px;
  bottom: 9px;
  border-top: 0;
  border-left: 0;
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-home .hero__hl {
  color: var(--neon);
  box-shadow: inset 0 -0.16em 0 rgba(35, 224, 208, 0.22);
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .hero__actions {
  margin-top: 26px;
}

.page-home .hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--home-line);
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 96px;
}

.page-home .stat__num {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--neon);
}

.page-home .stat__cap {
  font-size: 13px;
  color: var(--ink-3);
}

.page-home .hero__rail {
  border-left: 2px solid var(--home-line);
  padding-left: 20px;
}

.page-home .rail {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .rail__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .rail__num {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--score);
}

.page-home .rail__cap {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.page-home .rail__note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 当季焦点条带 ---------- */
.page-home .band {
  background: linear-gradient(180deg, var(--night-2), var(--night));
  border-block: var(--hair);
}

.page-home .band__lead {
  max-width: 74ch;
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .band__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 22px;
}

.page-home .match-list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px 4px 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--neon) rgba(17, 60, 107, 0.5);
}

.page-home .match-list > li {
  flex: 0 0 84%;
  scroll-snap-align: start;
}

.page-home .match-list::-webkit-scrollbar,
.page-home .seasons::-webkit-scrollbar {
  height: 6px;
}

.page-home .match-list::-webkit-scrollbar-track,
.page-home .seasons::-webkit-scrollbar-track {
  background: rgba(17, 60, 107, 0.45);
}

.page-home .match-list::-webkit-scrollbar-thumb,
.page-home .seasons::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--neon), var(--violet));
}

.page-home .match {
  display: grid;
  gap: 12px;
  align-content: start;
  height: 100%;
  padding: 20px;
}

.page-home .match__time {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--score);
}

.page-home .match__teams {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-home .match__vs {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
  padding: 0 4px;
}

.page-home .match__fav {
  justify-self: start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 224, 208, 0.4);
  padding-bottom: 2px;
}

.page-home .match__fav:hover {
  color: var(--score);
  border-bottom-color: var(--score);
}

.page-home .band__figure {
  margin: 32px 0 0;
}

.page-home .band__figure img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: var(--hair);
}

.page-home .figure__cap {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 三步开始 ---------- */
.page-home .steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--panel);
  border: var(--hair);
  border-top: 3px solid var(--violet);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .step:nth-child(2) {
  border-top-color: var(--neon);
}

.page-home .step:nth-child(3) {
  border-top-color: var(--coral);
}

.page-home .step:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
}

.page-home .step__num {
  margin: 0;
  font-family: var(--font-num);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: rgba(214, 228, 245, 0.32);
}

.page-home .step__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .step__text {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .steps__note {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--steel);
  font-size: 14px;
  color: var(--ink-3);
}

.page-home .steps__note a {
  color: var(--neon);
}

/* ---------- 数据面板 ---------- */
.page-home .board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: var(--steel);
  border: var(--hair);
}

.page-home .board__cell {
  padding: 24px 22px;
  background: var(--night-2);
  transition: background 0.2s ease;
}

.page-home .board__cell:hover {
  background: var(--panel);
}

.page-home .board__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--neon);
}

.page-home .board__cell--lead .board__num {
  font-size: clamp(52px, 10vw, 84px);
  color: var(--score);
}

.page-home .board__cell:nth-child(4) .board__num {
  color: var(--coral);
}

.page-home .board__cell:nth-child(5) .board__num {
  color: var(--violet);
}

.page-home .board__cap {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---------- 三个赛季横滑 ---------- */
.page-home .seasons {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 4px 4px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--neon) rgba(17, 60, 107, 0.5);
}

.page-home .season {
  flex: 0 0 84%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  background: linear-gradient(158deg, var(--panel), var(--night-2));
  border: var(--hair);
  border-left: 3px solid var(--neon);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .season:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
}

.page-home .season--now {
  border-left-color: var(--coral);
  background: linear-gradient(158deg, rgba(17, 60, 107, 0.9), var(--night-2));
}

.page-home .season__num {
  margin: 6px 0 0;
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--ice);
}

.page-home .season__rows {
  margin: 0;
  display: grid;
  gap: 2px;
}

.page-home .season__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--home-line);
}

.page-home .season__row dt {
  font-size: 13.5px;
  color: var(--ink-3);
}

.page-home .season__row dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
  color: var(--score);
}

.page-home .season__link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--neon);
  text-decoration: none;
}

.page-home .season__link:hover {
  text-decoration: underline;
}

.page-home .seasons__hint {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 收藏与导出 ---------- */
.page-home .vault {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .vault__lead {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

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

.page-home .vault__list li {
  padding-left: 16px;
  border-left: 2px solid var(--steel);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-home .vault__num {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 600;
  color: var(--coral);
  margin-right: 4px;
}

.page-home .vault .actions {
  margin-top: 26px;
}

.page-home .vault__figure {
  margin: 0;
  padding: 16px;
  background: var(--night-2);
  border: var(--hair);
}

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

/* ---------- 使用场景 ---------- */
.page-home .scenes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.page-home .scenes__figure {
  margin: 0;
  border: var(--hair);
  overflow: hidden;
}

.page-home .scenes__figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

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

.page-home .scene {
  padding: 20px 20px 22px;
  background: rgba(11, 36, 71, 0.6);
  border: var(--hair);
  border-radius: 2px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .scene:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
  background: var(--panel);
}

.page-home .scene__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .scene__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ---------- 收尾 ---------- */
.page-home .outro {
  background:
    radial-gradient(110% 70% at 88% 0%, rgba(124, 77, 255, 0.24), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night-3));
  border-top: var(--hair);
}

.page-home .outro__inner {
  border-left: 3px solid var(--coral);
  padding-left: clamp(18px, 3vw, 36px);
}

.page-home .outro__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

.page-home .outro__text {
  margin: 16px 0 0;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-2);
}

.page-home .outro .actions {
  margin-top: 26px;
}

.page-home .outro__meta {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.page-home .outro__meta a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--home-line);
}

.page-home .outro__meta a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

/* ---------- 显现动效（渐进增强） ---------- */
.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

  .page-home .step:hover,
  .page-home .scene:hover,
  .page-home .season:hover {
    transform: none;
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .match-list > li {
    flex-basis: 320px;
  }

  .page-home .season {
    flex-basis: 330px;
  }

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

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

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

  .page-home .scenes {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .scenes__figure img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

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

@media (min-width: 1024px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1fr) 236px;
    align-items: end;
  }

  .page-home .rail {
    flex-direction: column;
    gap: 22px;
  }

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

  .page-home .board__cell--lead {
    grid-column: span 2;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>
