.page-home {
  --hm-top: 104px;
  color: var(--wb-paper);
}

.page-home .hm-shell {
  max-width: var(--wb-max);
  margin-inline: auto;
  padding-inline: var(--wb-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .hm-flow {
  min-width: 0;
}

/* ---------- 上下文 ---------- */
.page-home .hm-context {
  padding-block: clamp(12px, 1.6vw, 20px) 0;
}

/* ---------- 封面 ---------- */
.page-home .hm-cover {
  position: relative;
  margin-top: clamp(14px, 2vw, 24px);
  border: var(--wb-hair);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 62vh, 660px);
}

.page-home .hm-cover__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hm-cover__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 90% at 16% 10%, rgba(33, 230, 193, 0.16), transparent 56%),
    radial-gradient(90% 80% at 84% 76%, rgba(255, 61, 154, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(11, 6, 22, 0.42) 0%, rgba(11, 6, 22, 0.84) 58%, var(--wb-night) 100%);
}

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

.page-home .hm-cover__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(22px, 3vw, 46px);
}

.page-home .hm-plate {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  border: var(--wb-hair);
  padding: 8px 14px;
  background: rgba(21, 10, 46, 0.72);
}

.page-home .hm-plate__mark {
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: 0.04em;
  color: var(--wb-paper);
}

.page-home .hm-plate__sub {
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wb-mist);
}

.page-home .hm-cover__title {
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 11.5em;
  color: var(--wb-paper);
}

.page-home .hm-cover__lede {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 44ch;
  font-family: var(--wb-font-mono);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.9;
  color: #cfc3e6;
}

.page-home .hm-readout {
  margin: clamp(26px, 3.4vw, 42px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--wb-line);
  border: var(--wb-hair);
  max-width: 620px;
}

.page-home .hm-readout__item {
  background: rgba(11, 6, 22, 0.78);
  padding: clamp(12px, 1.6vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .hm-readout__item dt {
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--wb-mist);
  order: 2;
}

.page-home .hm-readout__item dd {
  margin: 0;
  order: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.page-home .hm-readout__num {
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.page-home .hm-readout__unit {
  font-family: var(--wb-font-mono);
  font-size: 12px;
  color: var(--wb-mist);
}

.page-home .hm-readout__item--cyan .hm-readout__num {
  color: var(--wb-cyan);
}

.page-home .hm-readout__item--amber .hm-readout__num {
  color: var(--wb-amber);
}

.page-home .hm-readout__item--magenta .hm-readout__num {
  color: var(--wb-magenta);
}

.page-home .hm-cover__acts {
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 数据横条 ---------- */
.page-home .hm-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 2.6vw, 34px);
  padding: clamp(12px, 1.6vw, 18px) clamp(16px, 2.2vw, 26px);
  border-left: var(--wb-hair);
  border-right: var(--wb-hair);
  border-bottom: var(--wb-hair);
  background: var(--wb-deep);
  font-family: var(--wb-font-mono);
  font-size: 12px;
  color: var(--wb-mist);
}

.page-home .hm-bar__item {
  white-space: nowrap;
}

.page-home .hm-bar__item b {
  color: var(--wb-paper);
  font-weight: 700;
  margin-right: 4px;
}

/* ---------- 分区通用 ---------- */
.page-home .hm-sec {
  padding-block: clamp(40px, 6vw, 80px);
  border-bottom: var(--wb-hair);
}

.page-home .hm-sec__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.page-home .hm-sec__title {
  margin: 10px 0 0;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(25px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--wb-paper);
}

.page-home .hm-sec__sub {
  margin: 14px 0 0;
  max-width: 46ch;
  font-family: var(--wb-font-mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--wb-mist);
}

/* ---------- 活动周期 ---------- */
.page-home .hm-cycle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
}

.page-home .hm-cycle__main {
  min-width: 0;
}

.page-home .hm-band {
  position: relative;
  border-top: var(--wb-hair);
  border-bottom: var(--wb-hair);
  background: rgba(21, 10, 46, 0.62);
}

.page-home .hm-band__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px clamp(20px, 3vw, 30px);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .hm-band__scroll::-webkit-scrollbar {
  display: none;
}

.page-home .hm-band::before,
.page-home .hm-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54px;
  pointer-events: none;
  z-index: 2;
}

.page-home .hm-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--wb-night) 6%, rgba(11, 6, 22, 0));
}

.page-home .hm-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--wb-night) 6%, rgba(11, 6, 22, 0));
}

.page-home .hm-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
  font-family: var(--wb-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--wb-mist);
  border: 1px solid var(--wb-line);
  padding: 8px 16px;
  background: rgba(36, 18, 70, 0.55);
  text-decoration: none;
  transition: color 0.3s var(--wb-ease),
              border-color 0.3s var(--wb-ease),
              background-color 0.3s var(--wb-ease);
}

.page-home .hm-chip:hover,
.page-home .hm-chip:focus-visible {
  color: var(--wb-night);
  background: var(--wb-amber);
  border-color: var(--wb-amber);
}

.page-home .hm-chip--lead {
  color: var(--wb-cyan);
  border-color: var(--wb-cyan);
}

.page-home .hm-cycle__facts {
  list-style: none;
  margin: clamp(20px, 2.6vw, 28px) 0 clamp(22px, 2.8vw, 30px);
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-cycle__facts li {
  font-family: var(--wb-font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--wb-mist);
  padding-left: 14px;
  border-left: 2px solid var(--wb-line);
}

.page-home .hm-cycle__facts b {
  color: var(--wb-cyan);
  font-weight: 700;
  margin-right: 6px;
}

.page-home .hm-cycle__fig {
  margin: 0;
}

.page-home .hm-cycle__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* ---------- 九宫格分类 ---------- */
.page-home .hm-cats__stage {
  position: relative;
  border: var(--wb-hair);
  overflow: hidden;
}

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

.page-home .hm-cats__grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--wb-line);
}

.page-home .hm-cats__item {
  display: flex;
  min-width: 0;
}

.page-home .hm-cats__cell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  min-height: clamp(108px, 12vw, 152px);
  padding: clamp(13px, 1.8vw, 22px);
  background: rgba(11, 6, 22, 0.9);
  color: var(--wb-paper);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.32s var(--wb-ease),
              border-color 0.32s var(--wb-ease),
              color 0.32s var(--wb-ease),
              transform 0.32s var(--wb-ease);
}

.page-home .hm-cats__cell:hover,
.page-home .hm-cats__cell:focus-visible {
  background: var(--wb-amber);
  border-color: var(--wb-amber);
  color: var(--wb-night);
  transform: scale(1.02);
}

.page-home .hm-cats__num {
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--wb-cyan);
  font-variant-numeric: tabular-nums;
  transition: color 0.32s var(--wb-ease);
}

.page-home .hm-cats__name {
  font-family: var(--wb-font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.3;
  transition: color 0.32s var(--wb-ease);
}

.page-home .hm-cats__desc {
  margin-top: auto;
  font-family: var(--wb-font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--wb-mist);
  transition: color 0.32s var(--wb-ease);
}

.page-home .hm-cats__cell:hover .hm-cats__num,
.page-home .hm-cats__cell:hover .hm-cats__name,
.page-home .hm-cats__cell:hover .hm-cats__desc,
.page-home .hm-cats__cell:focus-visible .hm-cats__num,
.page-home .hm-cats__cell:focus-visible .hm-cats__name,
.page-home .hm-cats__cell:focus-visible .hm-cats__desc {
  color: var(--wb-night);
}

/* ---------- 记录找回 ---------- */
.page-home .hm-restore__banner {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
}

.page-home .hm-restore__banner .wb-figure__media {
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--wb-line);
  border: var(--wb-hair);
}

.page-home .hm-step {
  background: var(--wb-deep);
  padding: clamp(20px, 2.4vw, 30px);
}

.page-home .hm-step__no {
  display: block;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  color: var(--wb-magenta);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-step__title {
  margin: 14px 0 0;
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  color: var(--wb-paper);
}

.page-home .hm-step__text {
  margin: 10px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--wb-mist);
}

.page-home .hm-restore__acts {
  margin-top: clamp(22px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 权益额度 ---------- */
.page-home .hm-credit__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  border: var(--wb-hair);
  padding: clamp(24px, 3.4vw, 46px);
  background: linear-gradient(140deg, rgba(36, 18, 70, 0.92), rgba(21, 10, 46, 0.56) 62%, rgba(11, 6, 22, 0.72));
}

.page-home .hm-credit__inner::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 162, 58, 0.22), transparent 68%);
  pointer-events: none;
}

.page-home .hm-credit__text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .hm-credit__lede {
  margin: 16px 0 0;
  max-width: 42ch;
  font-family: var(--wb-font-mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--wb-mist);
}

.page-home .hm-credit__text .wb-btn {
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-home .hm-credit__facts {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--wb-line);
  border: var(--wb-hair);
}

.page-home .hm-credit__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  background: rgba(11, 6, 22, 0.74);
}

.page-home .hm-credit__row dt {
  font-family: var(--wb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--wb-mist);
}

.page-home .hm-credit__row dd {
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 13px;
  color: var(--wb-cyan);
  text-align: right;
}

/* ---------- 尾部延伸 ---------- */
.page-home .hm-tail {
  margin: 0;
  padding-block: clamp(28px, 4vw, 44px);
  font-family: var(--wb-font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--wb-mist);
}

.page-home .hm-tail a {
  color: var(--wb-cyan);
  border-bottom: 1px solid rgba(33, 230, 193, 0.4);
  text-decoration: none;
  transition: border-color 0.3s var(--wb-ease);
}

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

/* ---------- 悬浮控制台 ---------- */
.page-home .hm-console {
  display: none;
}

.page-home .hm-console__eyebrow {
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wb-mist);
}

.page-home .hm-console__pulse {
  margin: 10px 0 0;
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--wb-paper);
  display: flex;
  align-items: center;
}

.page-home .hm-console__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wb-cyan);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(33, 230, 193, 0.55);
  animation: hm-pulse 2.4s var(--wb-ease) infinite;
}

@keyframes hm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(33, 230, 193, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(33, 230, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 230, 193, 0); }
}

.page-home .hm-console__line {
  margin: 8px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--wb-mist);
}

.page-home .hm-console__more {
  margin-top: 16px;
  border-top: var(--wb-hair);
  padding-top: 14px;
}

.page-home .hm-console__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--wb-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--wb-amber);
}

.page-home .hm-console__more summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-console__more summary::after {
  content: " +";
}

.page-home .hm-console__more[open] summary::after {
  content: " −";
}

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

.page-home .hm-console__list a {
  font-family: var(--wb-font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--wb-paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--wb-ease), border-color 0.3s var(--wb-ease);
}

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

.page-home .hm-console__cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ---------- 响应式 ---------- */
@media (min-width: 780px) {
  .page-home .hm-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .hm-cycle__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 880px) {
  .page-home .hm-credit__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-shell {
    grid-template-columns: minmax(0, 1fr) 248px;
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
  }

  .page-home .hm-console {
    display: block;
    position: sticky;
    top: var(--hm-top);
    align-self: start;
    margin-top: clamp(16px, 2vw, 28px);
    padding: 20px;
    border: 1px solid rgba(33, 230, 193, 0.34);
    background: rgba(36, 18, 70, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media (max-width: 560px) {
  .page-home .hm-cover {
    min-height: 0;
  }

  .page-home .hm-cover__title {
    font-size: clamp(28px, 8.4vw, 38px);
    max-width: none;
  }

  .page-home .hm-readout__item {
    padding: 11px 10px;
    gap: 6px;
  }

  .page-home .hm-readout__item dt {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .page-home .hm-cats__cell {
    padding: 12px 10px;
    gap: 4px;
  }

  .page-home .hm-cats__desc {
    font-size: 10px;
    line-height: 1.45;
  }

  .page-home .hm-console {
    display: none;
  }
}

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