.page-home {
  --home-pad: clamp(56px, 9vw, 132px);
  --home-gap: clamp(20px, 3.2vw, 38px);
  display: block;
  overflow-x: hidden;
  background: var(--void);
  color: var(--silver);
  font-family: var(--font-body);
}

/* ---------- 页面内共享块 ---------- */
.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edge);
}

.page-home .section-no {
  font-family: var(--font-editorial);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  line-height: .9;
  color: var(--violet);
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--stardust);
}

.page-home .prose {
  max-width: 34em;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--stardust);
}

.page-home .stat--hot .stat__value {
  color: var(--amber);
}

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

.page-home .home-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 208, .4);
  transition: border-color .22s ease, color .22s ease;
}

.page-home .home-link:hover,
.page-home .home-link:focus-visible {
  color: var(--stardust);
  border-bottom-color: var(--stardust);
  outline: none;
}

.page-home .home-fig {
  margin: 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--orbit);
}

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

.page-home .home-fig__cap {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--edge);
}

/* ---------- 首屏轨道入口 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 5vw, 60px) 0 clamp(40px, 6vw, 84px);
  background: var(--nebula-bg), var(--void);
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 32, .62) 0%, rgba(10, 6, 32, .82) 54%, var(--void) 100%);
}

.page-home .home-hero__deco {
  position: absolute;
  top: 4%;
  right: -3vw;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(96px, 20vw, 224px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.05em;
  color: rgba(124, 77, 255, .14);
  -webkit-text-stroke: 1px rgba(124, 77, 255, .34);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  pointer-events: none;
  user-select: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-hero__ctx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-home .home-hero__title {
  margin: 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--stardust);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 24em;
  font-family: var(--font-editorial);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--silver);
}

.page-home .orbit-entries {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: clamp(28px, 5vw, 54px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .orbit-entries::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12%;
  z-index: 0;
  width: 136%;
  aspect-ratio: 5 / 1;
  transform: translateX(-50%);
  border: 1px dashed rgba(43, 34, 112, .9);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .orbit-entries__item {
  position: relative;
  z-index: 1;
  display: flex;
}

.page-home .entry-card {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no name dot"
    "no desc dot";
  align-items: center;
  gap: 4px 14px;
  padding: 19px 20px;
  background: linear-gradient(150deg, rgba(30, 18, 80, .94), rgba(21, 11, 58, .74));
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px -26px rgba(0, 0, 0, .9);
  text-decoration: none;
  transition: border-color .22s ease, transform .22s ease;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  border-color: var(--neon);
  outline: none;
  transform: translateY(-2px);
}

.page-home .entry-card__no {
  grid-area: no;
  font-family: var(--font-editorial);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--violet);
}

.page-home .entry-card__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--stardust);
}

.page-home .entry-card__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mist);
}

.page-home .entry-card__dot {
  grid-area: dot;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(53, 242, 208, .14);
  animation: home-pulse 2.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.page-home .home-hero__rail {
  position: relative;
  z-index: 2;
  margin-top: clamp(18px, 3.4vw, 34px);
  height: clamp(76px, 12vw, 132px);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-hero__rail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

/* ---------- 速度条带 ---------- */
.page-home .home-speed {
  padding: var(--home-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(21, 11, 58, .58) 20%, rgba(21, 11, 58, .58) 80%, transparent);
}

.page-home .home-speed__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-speed__band {
  margin-top: 26px;
  padding: 20px 22px;
  background: rgba(30, 18, 80, .62);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--neon);
  border-radius: var(--radius);
}

.page-home .home-speed__segs {
  display: flex;
  gap: 4px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .home-speed__seg {
  height: 6px;
  border-radius: 1px;
}

.page-home .home-speed__seg:nth-child(1) { flex: 1.9; background: var(--violet); }
.page-home .home-speed__seg:nth-child(2) { flex: 1.7; background: rgba(124, 77, 255, .82); }
.page-home .home-speed__seg:nth-child(3) { flex: 1.5; background: rgba(124, 77, 255, .6); }
.page-home .home-speed__seg:nth-child(4) { flex: 1.3; background: rgba(53, 242, 208, .45); }
.page-home .home-speed__seg:nth-child(5) { flex: 1.1; background: rgba(53, 242, 208, .6); }
.page-home .home-speed__seg:nth-child(6) { flex: .9; background: rgba(53, 242, 208, .75); }
.page-home .home-speed__seg:nth-child(7) { flex: .7; background: rgba(53, 242, 208, .9); }
.page-home .home-speed__seg:nth-child(8) { flex: .5; background: var(--neon); }

.page-home .home-speed__readout {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.page-home .home-speed__arrow {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--mist);
  padding-bottom: 20px;
}

/* ---------- 账户分栏 ---------- */
.page-home .home-account {
  padding: 0 0 var(--home-pad);
}

.page-home .home-account__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-account__panes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .acct-pane {
  padding: 20px 20px 16px;
  background: rgba(21, 11, 58, .72);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--violet);
  border-radius: var(--radius);
}

.page-home .acct-pane--alt {
  border-top-color: var(--neon);
}

.page-home .acct-pane__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--stardust);
}

.page-home .acct-pane__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .acct-pane__rows {
  margin: 0;
  padding: 0;
}

.page-home .acct-pane__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--edge);
}

.page-home .acct-pane__row dt {
  font-size: 13px;
  color: var(--mist);
}

.page-home .acct-pane__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver);
  text-align: right;
}

/* ---------- 导出清单与去向 ---------- */
.page-home .home-exports {
  padding: 0 0 var(--home-pad);
}

.page-home .home-exports__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

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

.page-home .export-mini {
  padding: 16px 16px 14px;
  background: rgba(30, 18, 80, .55);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
}

.page-home .export-mini__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.page-home .export-mini__fmt {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--silver);
}

.page-home .home-next {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}

.page-home .next-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .22s ease, background-color .22s ease;
}

.page-home .next-card:hover,
.page-home .next-card:focus-visible {
  border-color: var(--neon);
  background: rgba(53, 242, 208, .05);
  outline: none;
}

.page-home .next-card__label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--stardust);
}

.page-home .next-card__hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-account__panes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__deco {
    top: 2%;
    right: -2vw;
  }

  .page-home .orbit-entries {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 30px);
  }

  .page-home .orbit-entries__item:nth-child(1),
  .page-home .orbit-entries__item:nth-child(3) {
    transform: translateY(26px);
  }

  .page-home .home-speed__layout {
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
  }

  .page-home .home-account__split {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .page-home .home-exports__layout {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero__title {
    max-width: 14em;
  }

  .page-home .home-next {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card__dot {
    animation: none;
  }

  .page-home .entry-card,
  .page-home .next-card,
  .page-home .home-link {
    transition: none;
  }

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