.page-home .eyebrow__num {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--gold);
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-home .hero-frame {
  position: relative;
  margin-top: 14px;
  padding: clamp(16px, 3vw, 32px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top: 8px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border: 2px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .hero-frame__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .hero-frame__ver {
  color: var(--ink);
  background: var(--lime);
  padding: 1px 8px;
  border-radius: 4px;
}

.page-home .hero-frame__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 10px 0 16px;
  color: var(--ink);
  text-wrap: balance;
}

.page-home .hero-cta {
  margin-top: 22px;
}

.page-home .hero-frame__stage {
  position: relative;
  padding-bottom: 4px;
}

.page-home .hero-shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--paper-2);
}

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

.page-home .hero-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.page-home .hero-tags span {
  font-family: var(--font-num);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 2px 7px;
}

.page-home .hero-score {
  margin-top: 14px;
  background: var(--ink-2);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 var(--gold);
  padding: 12px 16px;
  display: grid;
  gap: 2px;
}

.page-home .hero-score__tag {
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .hero-score__nums {
  font-family: var(--font-num);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
}

.page-home .hero-score__meta {
  font-size: 0.78rem;
  color: var(--line);
}

.page-home .hero-tasks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-task {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
}

.page-home .hero-task__num {
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--gold);
  border-radius: 4px;
  padding: 1px 7px;
}

.page-home .hero-task__label {
  font-weight: 800;
  color: var(--ink);
}

.page-home .hero-task__desc {
  font-size: 0.82rem;
  color: var(--slate);
}

/* ---------- 筛选入口 ---------- */
.page-home .home-filter .section-head {
  max-width: 62ch;
}

.page-home .filter-bar {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--paper-2);
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .filter-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.page-home .filter-group__label {
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate);
  padding-right: 10px;
  margin-right: 2px;
  border-right: 2px solid var(--line);
}

.page-home .chip--on {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 700;
}

.page-home .filter-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .filter-step {
  padding: 16px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 var(--paper-2);
}

.page-home .filter-step__num {
  font-family: var(--font-num);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--ink);
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}

.page-home .filter-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  margin: 10px 0 6px;
  color: var(--ink);
}

.page-home .filter-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 比分与射手榜 ---------- */
.page-home .home-score .section-head {
  max-width: 62ch;
}

.page-home .score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.page-home .score-main {
  position: relative;
  background: var(--ink-2);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--gold);
  padding: clamp(18px, 3vw, 30px);
}

.page-home .score-main__tag {
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--lime);
  padding: 2px 9px;
  border-radius: 4px;
  display: inline-block;
}

.page-home .score-main__nums {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-num);
  font-size: clamp(3.4rem, 14vw, 6.4rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 16px 0 8px;
  color: var(--paper);
}

.page-home .score-main__colon {
  color: var(--gold);
  font-size: 0.62em;
}

.page-home .score-main__meta {
  font-family: var(--font-num);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--line);
}

.page-home .score-main__bar {
  margin-top: 18px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .score-main__bar span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--lime);
}

.page-home .score-main__note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--line);
}

.page-home .score-aside {
  position: relative;
  display: grid;
  gap: 14px;
}

.page-home .score-shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
}

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

.page-home .scorer-board {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 16px 18px;
}

.page-home .scorer-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.page-home .scorer-board__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  margin: 0;
  color: var(--ink);
}

.page-home .scorer-board__tag {
  font-family: var(--font-num);
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--ink);
  border-radius: 4px;
  padding: 1px 8px;
}

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

.page-home .scorer-item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2.6rem;
  align-items: center;
  gap: 10px;
}

.page-home .scorer-rank {
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
}

.page-home .scorer-bar {
  display: block;
  height: 10px;
  background: var(--paper-2);
  border-radius: 5px;
  overflow: hidden;
}

.page-home .scorer-bar i {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 5px;
}

.page-home .scorer-item:nth-child(1) .scorer-bar i { width: 100%; background: var(--lime); }
.page-home .scorer-item:nth-child(2) .scorer-bar i { width: 83%; }
.page-home .scorer-item:nth-child(3) .scorer-bar i { width: 72%; }
.page-home .scorer-item:nth-child(4) .scorer-bar i { width: 61%; }

.page-home .scorer-goals {
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.page-home .scorer-board__note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 两场连看 ---------- */
.page-home .home-fit .section-head {
  max-width: 62ch;
}

.page-home .fit-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .fit-item {
  padding: 14px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--paper-2);
}

.page-home .fit-item--active {
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-home .fit-num {
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--ink);
  border-radius: 4px;
  padding: 1px 7px;
  display: inline-block;
}

.page-home .fit-item--active .fit-num {
  color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.page-home .fit-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
  margin: 10px 0 5px;
  color: var(--ink);
}

.page-home .fit-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .fit-item--active .fit-desc {
  color: var(--ink);
}

.page-home .fit-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding: clamp(16px, 3vw, 26px);
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.page-home .fit-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 750;
  margin: 0 0 14px;
  color: var(--ink);
}

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

.page-home .fit-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--line);
}

.page-home .fit-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .fit-step__num {
  font-family: var(--font-num);
  font-size: 0.95rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
}

.page-home .fit-step p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .fit-shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

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

/* ---------- 加载与对照 ---------- */
.page-home .home-speed .section-head {
  max-width: 62ch;
}

.page-home .stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.page-home .stat {
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 var(--gold);
  display: grid;
  gap: 4px;
}

.page-home .stat-num {
  font-family: var(--font-num);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .stat-unit {
  font-size: 0.62em;
  color: var(--gold);
  margin-left: 2px;
}

.page-home .stat-label {
  font-size: 0.82rem;
  color: var(--line);
  line-height: 1.5;
}

.page-home .speed-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 6px solid var(--gold);
  background: var(--paper-2);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--slate);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- 分流入口 ---------- */
.page-home .home-routes .section-head {
  max-width: 62ch;
}

.page-home .route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.page-home .route-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 var(--paper-2);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .route-card:hover,
.page-home .route-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  border-color: var(--gold);
}

.page-home .route-card--lead {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--gold);
}

.page-home .route-card__num {
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .route-card--lead .route-card__num {
  color: var(--lime);
}

.page-home .route-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
}

.page-home .route-card__desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .route-card--lead .route-card__desc {
  color: var(--line);
}

/* ---------- 尾部 ---------- */
.page-home .closing {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.page-home .closing__panel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 8px 8px 0 var(--gold);
}

.page-home .closing__shot {
  margin: 0;
  opacity: 0.42;
}

.page-home .closing__shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .closing__text {
  position: relative;
  padding: clamp(20px, 4vw, 36px);
  margin-top: -180px;
  color: var(--paper);
}

.page-home .closing__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .closing__text p {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--paper-2);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hero-tasks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

@media (min-width: 900px) {
  .page-home .hero-frame__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .hero-frame__stage {
    margin-top: 8px;
  }

  .page-home .score-grid {
    grid-template-columns: 6fr 5fr;
    align-items: start;
    gap: 28px;
  }

  .page-home .score-aside .scorer-board {
    position: relative;
    z-index: 2;
    margin-top: -52px;
    margin-left: 24px;
    margin-right: 12px;
  }

  .page-home .fit-detail {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

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

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

  .page-home .route-card {
    grid-column: span 2;
  }

  .page-home .route-card--lead {
    grid-column: span 2;
    grid-row: span 2;
    align-content: start;
  }

  .page-home .closing__text {
    margin-top: -220px;
    padding: clamp(28px, 4vw, 48px);
    max-width: 62%;
  }
}

@media (min-width: 1140px) {
  .page-home .hero-frame {
    padding: 36px 40px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-card {
    transition: none;
  }

  .page-home .route-card:hover,
  .page-home .route-card:focus-visible {
    transform: none;
  }
}
