.page-home {
  --hm-gap: 18px;
  --hm-rule: rgba(123, 247, 208, 0.16);
  --hm-band-pad: 48px;
  display: block;
  position: relative;
  background-image:
    radial-gradient(900px 520px at 80% -10%, rgba(123, 247, 208, 0.10), transparent 62%),
    radial-gradient(680px 420px at 4% 34%, rgba(255, 90, 43, 0.06), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: clip;
}

/* ---------- 通用 ---------- */
.page-home .hm-band {
  padding: var(--hm-band-pad) 0;
}

.page-home .hm-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 46em;
}

.page-home .hm-head--tight {
  margin-bottom: 18px;
}

.page-home .hm-head__note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.page-home .hm-h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 5.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

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

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding: 24px 0 40px;
}

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

.page-home .hm-hero__ctx {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .hm-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 20em;
}

.page-home .hm-hero__lede {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
}

.page-home .hm-hero__anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
}

.page-home .hm-hero__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 17vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-hero__unit {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--cyan-deep);
}

.page-home .hm-hero__note {
  flex: 1 1 100%;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

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

.page-home .hm-hero__visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border-left: 6px solid var(--cyan);
  box-shadow: 0 34px 90px -46px rgba(123, 247, 208, 0.55);
  isolation: isolate;
}

.page-home .hm-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  filter: brightness(0.76) saturate(0.88);
}

.page-home .hm-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(66% 86% at 84% 16%, rgba(255, 176, 32, 0.28), transparent 62%),
    linear-gradient(202deg, rgba(5, 20, 15, 0) 28%, rgba(5, 20, 15, 0.88) 100%);
}

.page-home .hm-hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-home .hm-hero__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

/* ---------- 重点场次数据板 ---------- */
.page-home .hm-spot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-gap);
}

.page-home .hm-spot__cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-image: linear-gradient(158deg, rgba(28, 70, 56, 0.44), rgba(10, 35, 28, 0.94));
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.page-home .hm-spot__cell:hover,
.page-home .hm-spot__cell:focus-within {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(123, 247, 208, 0.32), 0 24px 48px -30px rgba(123, 247, 208, 0.55);
}

.page-home .hm-spot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .hm-spot__id {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-home .hm-spot__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 4.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .hm-spot__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .hm-spot__stats {
  position: relative;
  min-height: 148px;
}

.page-home .hm-spot__set {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-content: start;
  transition: opacity var(--speed) var(--ease);
}

.page-home .hm-spot__set--alt {
  opacity: 0;
  pointer-events: none;
}

.page-home .hm-spot__cell:hover .hm-spot__set--base,
.page-home .hm-spot__cell:focus-within .hm-spot__set--base {
  opacity: 0;
}

.page-home .hm-spot__cell:hover .hm-spot__set--alt,
.page-home .hm-spot__cell:focus-within .hm-spot__set--alt {
  opacity: 1;
}

.page-home .hm-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hm-rule);
  font-size: 13px;
}

.page-home .hm-kv__k {
  color: var(--muted);
  white-space: nowrap;
}

.page-home .hm-kv__v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--text);
}

.page-home .hm-kv__v--hot {
  color: var(--orange);
}

.page-home .hm-spot__hint {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--hm-rule);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 检索定位 ---------- */
.page-home .hm-locate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.page-home .hm-locate__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
}

.page-home .hm-locate__demo {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--night-2);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.page-home .hm-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .hm-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.page-home .hm-chip--on {
  border-color: var(--cyan);
  color: var(--cyan);
  background-color: rgba(123, 247, 208, 0.08);
}

.page-home .hm-result {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hm-result__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background-color: rgba(18, 51, 41, 0.6);
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.page-home .hm-result__row--hit {
  border-color: rgba(123, 247, 208, 0.55);
  background-color: rgba(47, 224, 174, 0.10);
}

.page-home .hm-result__name {
  font-size: 14px;
  color: var(--text);
}

.page-home .hm-result__meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 赛程排布 ---------- */
.page-home .hm-rail {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .hm-rail__stop {
  position: relative;
  padding-top: 34px;
}

.page-home .hm-rail__num {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 22px;
  border-radius: 6px;
  background-color: var(--cyan-deep);
  color: var(--night);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-home .hm-rail__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.page-home .hm-rail__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 30em;
}

.page-home .hm-sched__strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  scrollbar-width: thin;
}

.page-home .hm-sched__slot {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-sched__slot--on {
  border-color: transparent;
  background-color: var(--cyan-deep);
  color: var(--night);
  font-weight: 700;
}

/* ---------- 版本入口 ---------- */
.page-home .hm-portals__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.page-home .hm-portals__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .hm-portals__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.78) brightness(0.82);
}

.page-home .hm-portals__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(196deg, rgba(5, 20, 15, 0.1) 20%, rgba(5, 20, 15, 0.9) 100%);
}

.page-home .hm-portals__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .hm-portals__list {
  display: grid;
  gap: 14px;
}

.page-home .hm-portal {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--panel);
  text-decoration: none;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.page-home .hm-portal:hover,
.page-home .hm-portal:focus-visible {
  border-color: var(--cyan);
  background-color: #163C31;
  transform: translateY(-2px);
}

.page-home .hm-portal__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .hm-portal__t {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--text);
}

.page-home .hm-portal__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hm-portal__go {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ---------- 数据锚点带 ---------- */
.page-home .hm-anchors {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--night-2);
}

.page-home .hm-anchors__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.7) brightness(0.85);
  pointer-events: none;
}

.page-home .hm-anchors .shell {
  position: relative;
  z-index: 1;
}

.page-home .hm-anchors__title {
  margin: 0 0 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.4;
  color: var(--text);
  max-width: 30em;
}

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

.page-home .hm-anchor {
  display: grid;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
}

.page-home .hm-anchor--warm {
  border-left-color: var(--orange);
}

.page-home .hm-anchor__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-anchor--warm .hm-anchor__num {
  color: var(--orange);
}

.page-home .hm-anchor__plus {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--muted);
  vertical-align: 0.35em;
}

.page-home .hm-anchor__label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .hm-anchors__foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--hm-rule);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hm-anchors__foot a {
  color: var(--cyan);
}

.page-home .hm-anchors__foot a:hover {
  color: var(--cyan-deep);
}

/* ---------- 公告 ---------- */
.page-home .hm-bulletin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.page-home .hm-bulletin__card {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.page-home .hm-bulletin__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
}

.page-home .hm-bulletin__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

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

.page-home .hm-bulletin__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.85);
}

/* ---------- 收尾 ---------- */
.page-home .hm-closing__inner {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 30px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-image:
    linear-gradient(118deg, rgba(28, 70, 56, 0.6), rgba(5, 20, 15, 0.95) 68%),
    radial-gradient(420px 220px at 92% 0%, rgba(255, 90, 43, 0.16), transparent 70%);
}

.page-home .hm-closing__title {
  max-width: 22em;
}

.page-home .hm-closing__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 32em;
}

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

.page-home .hm-closing__foot {
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .hm-closing__foot a {
  color: var(--cyan);
}

.page-home .hm-closing__foot a:hover {
  color: var(--cyan-deep);
}

/* ---------- 平板 ---------- */
@media (min-width: 640px) {
  .page-home {
    --hm-band-pad: 60px;
  }

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

  .page-home .hm-bulletin__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 34px;
  }

  .page-home .hm-bulletin__media img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home {
    --hm-band-pad: 76px;
  }

  .page-home .hm-hero {
    padding: 46px 0 68px;
  }

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

  .page-home .hm-hero__note {
    flex: 1 1 auto;
    max-width: 20em;
    align-self: center;
  }

  .page-home .hm-spot__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .hm-spot__cell--a {
    grid-column: span 7;
    grid-row: span 2;
  }

  .page-home .hm-spot__cell--b {
    grid-column: span 5;
  }

  .page-home .hm-spot__cell--c {
    grid-column: span 5;
  }

  .page-home .hm-locate__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }

  .page-home .hm-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 34px;
  }

  .page-home .hm-rail__stop {
    padding-top: 44px;
  }

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

  .page-home .hm-anchors {
    padding: 58px 0;
  }

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

  .page-home .hm-closing__inner {
    padding: 46px 44px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-spot__cell,
  .page-home .hm-portal,
  .page-home .hm-spot__set {
    transition: none;
  }

  .page-home .hm-spot__cell:hover,
  .page-home .hm-spot__cell:focus-within,
  .page-home .hm-portal:hover,
  .page-home .hm-portal:focus-visible {
    transform: none;
  }
}
