.page-home {
  --home-slant: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  background: var(--c-paper);
  color: var(--tx);
  font-family: var(--f-body);
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-topbar {
  border-bottom: 1px solid var(--ln);
  background: var(--c-paper);
}

.page-home .home-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.page-home .home-topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--tx-soft);
}

.page-home .home-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(31, 138, 76, .18);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-top: clamp(24px, 5vw, 48px);
  padding-bottom: clamp(28px, 6vw, 62px);
  background: linear-gradient(180deg, rgba(215, 227, 217, .6), rgba(247, 248, 244, 0) 72%);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  align-items: end;
}

.page-home .home-hero__eyebrow {
  color: var(--c-green-deep);
  font-weight: 700;
}

.page-home .home-hero__title {
  margin: 10px 0 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--tx);
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--tx-soft);
}

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

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--home-slant);
}

.page-home .home-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--home-slant);
  box-shadow: inset 0 0 0 2px rgba(255, 46, 126, .38);
  pointer-events: none;
}

/* ---------- 栏目目录 ---------- */
.page-home .home-index {
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: clamp(38px, 7vw, 78px);
}

.page-home .home-index__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3.5vw, 38px);
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--ln);
  border-left: 3px solid var(--c-green);
  color: inherit;
  text-decoration: none;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-left-color .26s var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-visible {
  transform: translate(-2px, -4px);
  box-shadow: 6px 6px 0 var(--c-magenta), var(--sh-card);
  border-left-color: var(--c-orange);
}

.page-home .home-card__idx {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--c-green-deep);
}

.page-home .home-card__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--tx);
}

.page-home .home-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--tx-soft);
}

.page-home .home-card__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-green);
}

.page-home .home-card:hover .home-card__go {
  color: var(--c-orange);
}

/* ---------- 数据面板（深色高潮） ---------- */
.page-home .home-panel {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 7vw, 84px);
  padding-bottom: clamp(40px, 7vw, 84px);
  background: linear-gradient(150deg, var(--c-ink) 0%, var(--c-ink-2) 58%, #1C3F63 100%);
  color: var(--tx-invert);
}

.page-home .home-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 255, 58, .16), rgba(232, 255, 58, 0) 68%);
  pointer-events: none;
}

.page-home .home-panel .section__title,
.page-home .home-panel .home-panel__sub {
  color: var(--tx-invert);
}

.page-home .home-panel .section__num {
  color: var(--c-lime);
}

.page-home .home-panel .lead {
  color: var(--tx-invert-soft);
}

.page-home .home-panel__grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-home .home-panel__sub {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
}

.page-home .home-panel__text {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--tx-invert-soft);
}

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

.page-home .home-panel__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--tx-invert-soft);
}

.page-home .home-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 11px;
  height: 2px;
  background: var(--c-lime);
}

.page-home .home-chart {
  padding: 20px 18px 16px;
  background: rgba(247, 248, 244, .06);
  border: 1px solid var(--ln-dark);
  border-top: 3px solid var(--c-lime);
}

.page-home .home-chart__cap {
  margin: 0 0 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-cyan);
}

.page-home .home-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
}

.page-home .home-bar {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--c-lime), var(--c-green) 78%);
  transform-origin: bottom center;
}

.page-home .home-bar:nth-child(1) { height: 36%; }
.page-home .home-bar:nth-child(2) { height: 74%; }
.page-home .home-bar:nth-child(3) { height: 48%; }
.page-home .home-bar:nth-child(4) { height: 60%; }
.page-home .home-bar:nth-child(5) { height: 32%; }
.page-home .home-bar:nth-child(6) { height: 88%; }

.page-home .home-chart__foot {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tx-invert-soft);
}

.page-home .home-panel__media {
  margin: clamp(28px, 4vw, 46px) 0 0;
}

.page-home .home-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ln-dark);
}

.page-home .home-panel__media .media__caption {
  margin-top: 10px;
  color: var(--tx-invert-soft);
}

/* ---------- 手机端优先 ---------- */
.page-home .home-mobile {
  padding-top: clamp(38px, 6vw, 74px);
  padding-bottom: clamp(38px, 6vw, 74px);
}

.page-home .home-mobile__grid {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.page-home .home-mobile__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--tx-soft);
}

.page-home .home-mobile__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.page-home .home-mobile__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--tx-soft);
}

.page-home .home-mobile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 11px;
  height: 11px;
  background: var(--c-orange);
  transform: rotate(45deg);
}

.page-home .home-mobile__figure {
  margin: 0;
}

.page-home .home-mobile__figure img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
}

.page-home .home-mobile__figure .media__caption {
  margin-top: 10px;
}

/* ---------- 排查与反馈 ---------- */
.page-home .home-help {
  padding-top: clamp(38px, 7vw, 76px);
  padding-bottom: clamp(38px, 7vw, 76px);
}

.page-home .home-help__paths {
  display: grid;
  gap: 18px;
  margin-top: clamp(22px, 3.5vw, 36px);
}

.page-home .home-path {
  position: relative;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--ln);
  box-shadow: 6px 6px 0 var(--c-mist);
}

.page-home .home-path--retry {
  border-top: 4px solid var(--c-green);
}

.page-home .home-path--report {
  border-top: 4px solid var(--c-orange);
}

.page-home .home-path h3 {
  margin: 12px 0 8px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--tx);
}

.page-home .home-path p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--tx-soft);
}

.page-home .home-help__note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 14px 18px;
  background: rgba(31, 138, 76, .08);
  border-left: 3px solid var(--c-green);
  font-size: 15px;
  line-height: 1.8;
  color: var(--tx-soft);
}

.page-home .home-help__figure {
  margin: clamp(26px, 4vw, 44px) 0 0;
}

.page-home .home-help__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ln);
}

.page-home .home-help__figure .media__caption {
  margin-top: 10px;
}

/* ---------- 赛季与下一步 ---------- */
.page-home .home-season {
  padding-top: clamp(38px, 6vw, 74px);
  padding-bottom: clamp(46px, 8vw, 96px);
}

.page-home .home-season__band {
  padding: 20px clamp(18px, 3vw, 32px);
  color: var(--c-ink);
}

.page-home .home-season__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 3.6vw, 30px);
  letter-spacing: -.01em;
}

.page-home .home-season__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-home .home-season__copy p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--tx-soft);
}

.page-home .home-season__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .home-season__stat {
  border-top: 2px solid var(--c-green);
  padding-top: 10px;
}

.page-home .home-season__stat dt {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--tx-soft);
}

.page-home .home-season__stat dd {
  margin: 5px 0 0;
  font-family: var(--f-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--tx);
}

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

.page-home .home-season__links li {
  border-bottom: 1px solid var(--ln);
}

.page-home .home-season__links a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 4px;
  color: inherit;
  text-decoration: none;
  transition: padding-left .24s var(--ease), color .24s var(--ease);
}

.page-home .home-season__links a:hover,
.page-home .home-season__links a:focus-visible {
  padding-left: 12px;
  color: var(--c-green-deep);
}

.page-home .home-season__link-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
}

.page-home .home-season__link-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--tx-soft);
}

/* ---------- 进入动效 ---------- */
.has-js .page-home [data-reveal],
.page-home.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}

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

.has-js .page-home .home-bar,
.page-home.has-js .home-bar {
  transform: scaleY(0);
  transition: transform .55s var(--ease);
}

.has-js .page-home .home-chart.is-in .home-bar,
.page-home.has-js .home-chart.is-in .home-bar {
  transform: scaleY(1);
}

.has-js .page-home .home-chart.is-in .home-bar:nth-child(2),
.page-home.has-js .home-chart.is-in .home-bar:nth-child(2) { transition-delay: .06s; }
.has-js .page-home .home-chart.is-in .home-bar:nth-child(3),
.page-home.has-js .home-chart.is-in .home-bar:nth-child(3) { transition-delay: .12s; }
.has-js .page-home .home-chart.is-in .home-bar:nth-child(4),
.page-home.has-js .home-chart.is-in .home-bar:nth-child(4) { transition-delay: .18s; }
.has-js .page-home .home-chart.is-in .home-bar:nth-child(5),
.page-home.has-js .home-chart.is-in .home-bar:nth-child(5) { transition-delay: .24s; }
.has-js .page-home .home-chart.is-in .home-bar:nth-child(6),
.page-home.has-js .home-chart.is-in .home-bar:nth-child(6) { transition-delay: .3s; }

/* ---------- 断点 ---------- */
@media (min-width: 680px) {
  .page-home .home-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

@media (min-width: 880px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(32px, 5vw, 60px);
  }
}

@media (min-width: 900px) {
  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .page-home .home-season__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-home .home-panel__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }
}

@media (min-width: 1060px) {
  .page-home .home-index__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .home-index__grid > :nth-child(2),
  .page-home .home-index__grid > :nth-child(4) {
    margin-top: 26px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

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

  .has-js .page-home .home-bar,
  .page-home.has-js .home-bar {
    transform: none;
  }
}
