@keyframes hmBlink {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.page-home {
  --hm-glass: rgba(21, 27, 66, .78);
  --hm-soft: rgba(255, 255, 255, .035);
  display: block;
  background:
    radial-gradient(1100px 520px at 84% -6%, rgba(255, 107, 44, .16), transparent 62%),
    radial-gradient(900px 540px at 2% 16%, rgba(79, 240, 208, .10), transparent 66%),
    var(--ke-ink);
  color: var(--ke-cream);
  padding-bottom: 84px;
  overflow-x: hidden;
}

.page-home .hm-status {
  max-width: var(--ke-shell);
  margin: 0 auto;
  padding: 100px 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ke-mist);
}

.page-home .hm-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ke-cyan);
  box-shadow: 0 0 0 4px rgba(79, 240, 208, .14);
  animation: hmBlink 2.6s var(--ke-ease) infinite;
}

.page-home .hm-status__label { color: var(--ke-cream); }
.page-home .hm-status__sep { color: var(--ke-mist); opacity: .5; }
.page-home .hm-status__text { letter-spacing: .06em; }

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  max-width: var(--ke-shell);
  margin: 0 auto;
  padding: 26px 20px 0;
}

.page-home .hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .hm-hero__title {
  margin: 16px 0 0;
  font-size: clamp(32px, 7vw, 64px);
  line-height: 1.07;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ke-cream);
}

.page-home .hm-hero__lede {
  margin: 18px 0 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(243, 233, 210, .82);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 比分牌 ---------- */
.page-home .hm-scoreboard {
  position: relative;
  margin-top: 32px;
  padding: 18px 16px 16px;
  border-radius: var(--ke-radius-lg);
  border: 1px solid var(--ke-line);
  background: linear-gradient(158deg, rgba(21, 27, 66, .96), rgba(11, 16, 48, .84));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .95);
  overflow: hidden;
}

.page-home .hm-scoreboard::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(255, 107, 44, .30), transparent 68%);
  pointer-events: none;
}

.page-home .hm-scoreboard__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ke-mist);
}

.page-home .hm-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ke-cyan);
}

.page-home .hm-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ke-red);
  box-shadow: 0 0 10px var(--ke-red);
}

.page-home .hm-score-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.page-home .hm-score-unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hm-score {
  font-family: var(--ke-font-mono);
  font-size: clamp(54px, 15vw, 90px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.05em;
  color: var(--ke-cream);
}

.page-home .hm-score-unit__tag {
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ke-mist);
}

.page-home .hm-score__sep {
  font-family: var(--ke-font-mono);
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1;
  color: var(--ke-orange);
  transform: translateY(2px);
}

.page-home .hm-quarters {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}

.page-home .hm-quarter {
  display: grid;
  gap: 7px;
  padding: 10px 8px;
  border-radius: var(--ke-radius-sm);
  background: var(--hm-soft);
  border: 1px solid var(--ke-line-soft);
}

.page-home .hm-quarter__label {
  font-family: var(--ke-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ke-mist);
}

.page-home .hm-quarter__score {
  font-family: var(--ke-font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ke-cream);
  white-space: nowrap;
}

.page-home .hm-quarter__bar {
  display: block;
  height: 3px;
  border-radius: var(--ke-pill);
  background: linear-gradient(90deg, var(--ke-orange), var(--ke-gold));
}

.page-home .hm-quarter:nth-child(1) .hm-quarter__bar { width: 66%; }
.page-home .hm-quarter:nth-child(2) .hm-quarter__bar { width: 84%; }
.page-home .hm-quarter:nth-child(3) .hm-quarter__bar { width: 58%; }
.page-home .hm-quarter:nth-child(4) .hm-quarter__bar { width: 94%; }

/* ---------- 右侧入口浮岛 ---------- */
.page-home .hm-dock {
  position: relative;
  display: grid;
  align-content: end;
  border-radius: var(--ke-radius-lg);
  border: 1px solid var(--ke-line);
  overflow: hidden;
  background: var(--ke-panel);
}

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

.page-home .hm-dock__media img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
  filter: saturate(.85) brightness(.72);
}

.page-home .hm-dock__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 48, .18), rgba(11, 16, 48, .94));
}

.page-home .hm-dock__panel {
  position: relative;
  padding: 16px 14px 14px;
  background: var(--hm-glass);
  border-top: 1px solid var(--ke-line);
}

.page-home .hm-dock__title {
  margin: 0 0 8px;
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ke-mist);
}

.page-home .hm-dock__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--ke-radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--ke-cream);
  transition: background .2s var(--ke-ease), border-color .2s var(--ke-ease), transform .2s var(--ke-ease);
}

.page-home .hm-dock__link:hover,
.page-home .hm-dock__link:focus-visible {
  background: rgba(79, 240, 208, .09);
  border-color: rgba(79, 240, 208, .48);
  transform: translateX(2px);
}

.page-home .hm-dock__idx {
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ke-gold);
}

.page-home .hm-dock__body strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .hm-dock__body em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ke-mist);
}

.page-home .hm-dock__arrow {
  font-size: 14px;
  color: var(--ke-cyan);
}

/* ---------- 通用区块 ---------- */
.page-home .hm-block {
  max-width: var(--ke-shell);
  margin: 0 auto;
  padding: 68px 20px 0;
}

.page-home .hm-text {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(243, 233, 210, .82);
}

.page-home .hm-text--narrow { max-width: 40em; }

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

.page-home .hm-figure {
  margin: 0;
  border-radius: var(--ke-radius-md);
  overflow: hidden;
  border: 1px solid var(--ke-line);
}

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

.page-home .hm-figure figcaption,
.page-home .hm-weekend__figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ke-mist);
  background: rgba(21, 27, 66, .62);
}

/* ---------- 节次时间轴 ---------- */
.page-home .hm-track {
  position: relative;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-home .hm-track::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--ke-orange), rgba(79, 240, 208, .8));
}

.page-home .hm-track__item {
  position: relative;
  padding: 0 0 26px 46px;
}

.page-home .hm-track__item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ke-ink);
  border: 2px solid var(--ke-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, .12);
}

.page-home .hm-track__q {
  display: block;
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ke-gold);
}

.page-home .hm-track__score {
  display: block;
  margin-top: 6px;
  font-family: var(--ke-font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ke-cream);
}

.page-home .hm-track__note {
  margin: 8px 0 0;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(243, 233, 210, .74);
}

/* ---------- 入口分流 ---------- */
.page-home .hm-routes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.page-home .hm-route {
  padding: 24px 22px 22px;
  border-radius: var(--ke-radius-md);
  border: 1px solid var(--ke-line);
  background: linear-gradient(172deg, rgba(21, 27, 66, .94), rgba(11, 16, 48, .66));
  transition: transform .24s var(--ke-ease), border-color .24s var(--ke-ease);
}

.page-home .hm-route:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 240, 208, .4);
}

.page-home .hm-route--a { border-top: 2px solid var(--ke-orange); }
.page-home .hm-route--b { border-top: 2px solid var(--ke-cyan); }
.page-home .hm-route--c { border-top: 2px solid var(--ke-gold); }

.page-home .hm-route__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--ke-pill);
  font-family: var(--ke-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ke-mist);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ke-line-soft);
}

.page-home .hm-route .ke-h3 {
  margin: 14px 0 0;
  color: var(--ke-cream);
}

.page-home .hm-route p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(243, 233, 210, .76);
}

.page-home .hm-route__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ke-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ke-ease);
}

.page-home .hm-route__link:hover,
.page-home .hm-route__link:focus-visible {
  border-bottom-color: var(--ke-cyan);
}

/* ---------- 周末连看 ---------- */
.page-home .hm-weekend__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .hm-weekend__figure {
  margin: 0;
  border-radius: var(--ke-radius-md);
  overflow: hidden;
  border: 1px solid var(--ke-line);
}

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

.page-home .hm-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .hm-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ke-line-soft);
}

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

.page-home .hm-step__num {
  font-family: var(--ke-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ke-orange);
  padding-top: 2px;
}

.page-home .hm-step__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ke-cream);
}

.page-home .hm-step p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(243, 233, 210, .74);
}

/* ---------- 数据对照 ---------- */
.page-home .hm-contrast__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

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

.page-home .hm-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(243, 233, 210, .8);
}

.page-home .hm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ke-cyan);
  box-shadow: 0 0 10px rgba(79, 240, 208, .5);
}

.page-home .hm-contrast__body .ke-btn {
  margin-top: 26px;
}

.page-home .hm-contrast__panel {
  padding: 18px 16px 16px;
  border-radius: var(--ke-radius-lg);
  background: var(--ke-cream);
  color: var(--ke-brown);
  border: 1px solid var(--ke-cream-line);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
}

.page-home .hm-contrast__figure {
  margin: 0 0 6px;
  border-radius: var(--ke-radius-sm);
  overflow: hidden;
}

.page-home .hm-contrast__figure img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.page-home .hm-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ke-font-mono);
  font-size: 13px;
  color: var(--ke-brown);
}

.page-home .hm-table caption {
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--ke-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(29, 24, 20, .6);
}

.page-home .hm-table th,
.page-home .hm-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--ke-cream-line);
  text-align: right;
}

.page-home .hm-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(29, 24, 20, .55);
}

.page-home .hm-table tbody th {
  text-align: left;
  font-weight: 600;
}

.page-home .hm-table tbody tr:hover {
  background: rgba(255, 107, 44, .12);
}

/* ---------- 信任条 ---------- */
.page-home .hm-trust {
  margin-top: 68px;
  border-top: 1px solid var(--ke-line);
  border-bottom: 1px solid var(--ke-line);
  background: linear-gradient(180deg, rgba(21, 27, 66, .55), rgba(11, 16, 48, .2));
}

.page-home .hm-trust__inner {
  max-width: var(--ke-shell);
  margin: 0 auto;
  padding: 44px 20px 40px;
}

.page-home .hm-trust__title {
  margin-top: 12px;
  max-width: 20em;
}

.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin-top: 30px;
}

.page-home .hm-stat {
  padding-left: 12px;
  border-left: 1px solid var(--ke-line);
}

.page-home .hm-stat__num {
  display: block;
  font-family: var(--ke-font-mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ke-orange);
}

.page-home .hm-stat:nth-child(3) .hm-stat__num { color: var(--ke-cyan); }
.page-home .hm-stat:nth-child(5) .hm-stat__num { color: var(--ke-gold); }

.page-home .hm-stat__plus,
.page-home .hm-stat__unit {
  font-size: .55em;
  margin-left: 2px;
  vertical-align: super;
}

.page-home .hm-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ke-mist);
}

.page-home .hm-trust__note {
  margin: 30px 0 0;
  max-width: 46em;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(138, 147, 184, .92);
}

/* ---------- 收尾 CTA ---------- */
.page-home .hm-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px 22px;
  border-radius: var(--ke-radius-lg);
  border: 1px solid var(--ke-line);
  background:
    radial-gradient(520px 200px at 90% 0%, rgba(255, 107, 44, .18), transparent 70%),
    rgba(21, 27, 66, .72);
}

.page-home .hm-cta__text .ke-h2 { margin-top: 10px; }

.page-home .hm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 滚动显现 ---------- */
.ke-js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ke-ease), transform .4s var(--ke-ease);
  transition-delay: var(--ke-delay, 0ms);
}

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

/* ---------- 窄屏与宽屏 ---------- */
@media (max-width: 420px) {
  .page-home .hm-quarters { gap: 6px; }
  .page-home .hm-quarter { padding: 9px 6px; }
  .page-home .hm-quarter__score { font-size: 12.5px; }
}

@media (min-width: 760px) {
  .page-home .hm-status { padding-top: 112px; }
  .page-home .hm-scoreboard { padding: 22px 22px 18px; }
  .page-home .hm-quarters { gap: 10px; }
  .page-home .hm-quarter { padding: 12px 10px; }

  .page-home .hm-routes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .page-home .hm-route:nth-child(2) { margin-top: 32px; }
  .page-home .hm-route:nth-child(3) { margin-top: 64px; }

  .page-home .hm-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero { padding-top: 34px; }

  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .hm-dock { min-height: 548px; }

  .page-home .hm-dock__media {
    position: absolute;
    inset: 0;
  }

  .page-home .hm-dock__media img {
    height: 100%;
  }

  .page-home .hm-dock__panel {
    margin: 14px;
    border-radius: var(--ke-radius-md);
    border: 1px solid var(--ke-line);
    backdrop-filter: blur(10px);
  }

  .page-home .hm-split,
  .page-home .hm-weekend__grid,
  .page-home .hm-contrast__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 44px;
    align-items: center;
  }

  .page-home .hm-contrast__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .hm-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .hm-track::before {
    left: 6px;
    right: 6px;
    top: 12px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--ke-orange), rgba(79, 240, 208, .85));
  }

  .page-home .hm-track__item {
    padding: 42px 0 0;
  }

  .page-home .hm-track__item::before {
    left: 0;
    top: 6px;
  }

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

  .page-home .hm-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    padding: 40px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-status__dot { animation: none; }
  .page-home .hm-route { transition: none; }
  .page-home .hm-route:hover { transform: none; }
  .page-home .hm-dock__link { transition: none; }
  .page-home .hm-dock__link:hover { transform: none; }
  .ke-js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-home {
  --ke-delay: var(--ke-ease);
}
