.page-home {
  --home-gap: clamp(56px, 9vw, 118px);
  --home-edge: clamp(16px, 4vw, 44px);
  display: block;
  padding-bottom: var(--home-gap);
}

.page-home .home-crumb {
  padding-top: clamp(18px, 3vw, 30px);
  margin-bottom: clamp(14px, 2.4vw, 22px);
}

.page-home .home-crumb .ng-crumbs {
  margin: 0;
}

/* ---------- 框景首屏 ---------- */

.page-home .home-hero {
  position: relative;
  margin: 0 var(--home-edge);
  padding: clamp(30px, 5vw, 62px) clamp(20px, 4vw, 54px);
  background:
    linear-gradient(135deg, var(--purple-a) 0%, var(--purple-b) 48%, var(--void) 100%);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 5vw, 44px);
  align-items: end;
}

.page-home .home-hero__lead {
  min-width: 0;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-home .home-hero__title {
  margin: 0;
  font-size: clamp(34px, 8.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
}

.page-home .home-hero__lede {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.8;
  color: #cfd8e6;
}

.page-home .home-hero__hint {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan-deep);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ash);
  max-width: 48ch;
}

.page-home .home-hero__actions {
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .home-hero__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  min-width: 0;
}

.page-home .home-hero__side-note {
  color: var(--cyan);
  align-self: center;
}

.page-home .home-score {
  flex: 1 1 260px;
  min-width: 0;
  padding: 20px 34px 20px 20px;
  background: linear-gradient(135deg, var(--orange) 0%, #cc3413 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.35), 0 24px 60px -32px rgba(255, 77, 46, 0.8);
}

.page-home .home-score__meta {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-score__row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  flex-wrap: wrap;
}

.page-home .home-score__team {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .home-score__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(46px, 12vw, 92px);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
}

.page-home .home-score__sep {
  font-family: var(--font-mono);
  font-size: clamp(28px, 7vw, 52px);
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-score__foot {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- 积分榜 ---------- */

.page-home .home-board-section .ng-section__head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-board {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-home .home-board__col {
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--steel);
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.92) 0%, rgba(5, 7, 14, 0.92) 100%);
}

.page-home .home-board__hint {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--cyan);
}

.page-home .home-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.page-home .home-table__caption {
  text-align: left;
  padding-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ash);
}

.page-home .home-table th,
.page-home .home-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(36, 53, 79, 0.75);
  font-size: 14px;
  color: var(--paper);
  white-space: nowrap;
}

.page-home .home-table thead th {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ash);
  border-bottom-color: var(--cyan-deep);
}

.page-home .home-table .is-num {
  text-align: right;
  font-family: var(--font-mono);
}

.page-home .home-table__pts {
  color: var(--cyan);
  font-weight: 700;
}

.page-home .home-table__up {
  color: var(--mint);
}

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

.page-home .home-board__foot {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ash);
}

.page-home .home-board__figure {
  margin: 0;
  min-width: 0;
}

.page-home .home-board__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--steel);
  background: linear-gradient(160deg, var(--navy), var(--void));
}

.page-home .home-board__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash);
}

/* ---------- 前瞻卡片 ---------- */

.page-home .home-pre {
  display: grid;
  gap: 18px;
}

.page-home .home-pre__card {
  min-width: 0;
}

.page-home .home-pre__card--lead {
  background: linear-gradient(150deg, rgba(42, 20, 80, 0.9) 0%, rgba(11, 27, 51, 0.95) 100%);
}

.page-home .home-pre__card--lead .ng-card__title {
  font-size: clamp(20px, 3.2vw, 26px);
}

.page-home .home-pre__more {
  margin: clamp(24px, 4vw, 36px) 0 0;
}

/* ---------- 旧版资料 ---------- */

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

.page-home .home-archive__figure {
  margin: 0;
  min-width: 0;
}

.page-home .home-archive__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: 1px solid var(--steel);
  background: linear-gradient(160deg, var(--navy), var(--void));
}

.page-home .home-archive__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--tick-amber, var(--amber));
}

.page-home .home-archive__body {
  min-width: 0;
}

.page-home .home-archive__title {
  margin: 12px 0 0;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
}

.page-home .home-archive__p {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: #c6d1e0;
}

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

.page-home .home-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--steel);
  background: rgba(11, 27, 51, 0.7);
  font-size: 15px;
  color: var(--paper);
}

.page-home .home-steps__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--void);
  background: var(--cyan);
}

.page-home .home-archive__cta {
  margin: 26px 0 0;
}

/* ---------- 时间线 ---------- */

.page-home .home-timeline {
  list-style: none;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  position: relative;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-deep) 55%, var(--orange) 100%);
}

.page-home .home-timeline__item {
  position: relative;
  padding: 0 0 clamp(26px, 4vw, 38px) 38px;
  min-width: 0;
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--cyan);
}

.page-home .home-timeline__item:last-child::before {
  border-color: var(--orange);
}

.page-home .home-timeline__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--tick-amber, var(--amber));
}

.page-home .home-timeline__title {
  margin: 8px 0 0;
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-timeline__text {
  margin: 10px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ash);
}

/* ---------- 版本与认证 ---------- */

.page-home .home-trust__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(22px, 4vw, 40px);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  background: linear-gradient(135deg, rgba(42, 20, 80, 0.55) 0%, rgba(5, 7, 14, 0.9) 62%);
}

.page-home .home-trust__figure {
  margin: 0;
  min-width: 0;
}

.page-home .home-trust__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--steel);
  background: linear-gradient(160deg, var(--navy), var(--void));
}

.page-home .home-trust__body {
  min-width: 0;
}

.page-home .home-trust__title {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
}

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

.page-home .home-trust__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #c6d1e0;
}

.page-home .home-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.page-home .home-trust__list strong {
  color: var(--paper);
  font-weight: 700;
}

.page-home .home-trust__p {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ash);
}

.page-home .home-trust__meta {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ash);
}

.page-home .home-trust__cta {
  margin: 22px 0 0;
}

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

@media (min-width: 760px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  }

  .page-home .home-board {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }

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

  .page-home .home-pre__card--lead {
    grid-column: 1 / -1;
  }

  .page-home .home-archive__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

@media (min-width: 1040px) {
  .page-home .home-pre {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-pre__card--lead {
    grid-column: auto;
    grid-row: span 1;
  }

  .page-home .home-timeline {
    padding-left: 6px;
  }

  .page-home .home-hero__panel {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__bg {
    opacity: 0.18;
  }
}

.page-home {
  --tick-amber: currentColor;
}
