.page-home {
  --home-rail: 264px;
  --home-gap: 32px;
  display: block;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 顶部主题区 ---------- */
.page-home .hm-mast {
  position: relative;
  padding: 122px 0 54px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-mast::before,
.page-home .hm-mast::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
}

.page-home .hm-mast::before {
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 62, 157, .22), transparent 66%);
}

.page-home .hm-mast::after {
  bottom: -260px;
  left: -160px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(46, 230, 222, .16), transparent 66%);
}

.page-home .hm-matrix-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(46, 230, 222, .09) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(130% 100% at 20% 0%, #000 0%, rgba(0, 0, 0, .34) 55%, transparent 80%);
  mask-image: radial-gradient(130% 100% at 20% 0%, #000 0%, rgba(0, 0, 0, .34) 55%, transparent 80%);
}

.page-home .hm-kicker {
  display: inline-flex;
  align-items: center;
  margin: 22px 0 18px;
  padding: 7px 16px;
  border: 1px solid rgba(46, 230, 222, .42);
  border-radius: var(--r-pill);
  background: rgba(46, 230, 222, .07);
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-home .hm-mast h1 {
  max-width: 23ch;
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--ink);
}

.page-home .hm-mast h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--cyan), var(--magenta) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-lede {
  max-width: 62ch;
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hm-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.page-home .hm-fact-num {
  font-family: var(--font-num);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}

.page-home .hm-fact-lbl {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 左右分屏 ---------- */
.page-home .hm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding-top: 40px;
  padding-bottom: 44px;
}

/* ---------- 左轨：年份时间轴 ---------- */
.page-home .hm-rail {
  position: relative;
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(22, 32, 60, .85), rgba(13, 20, 40, .62));
}

.page-home .hm-rail-figure {
  margin: 0 0 16px;
  border: 1px solid rgba(46, 230, 222, .2);
  border-radius: 10px;
  overflow: hidden;
}

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

.page-home .hm-years {
  position: relative;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hm-years::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(46, 230, 222, .7), rgba(122, 75, 255, .5) 58%, rgba(255, 62, 157, .55));
}

.page-home .hm-years li {
  position: relative;
}

.page-home .hm-years li::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}

.page-home .hm-years li:last-child::before {
  border-color: var(--magenta);
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(255, 62, 157, .6);
}

.page-home .hm-years li:hover::before,
.page-home .hm-years li:focus-within::before {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 230, 222, .15);
  transform: scale(1.2);
}

.page-home .hm-years a {
  display: block;
  padding: 7px 8px 7px 0;
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.page-home .hm-years a:hover,
.page-home .hm-years a:focus-visible {
  color: var(--ink);
  padding-left: 5px;
}

.page-home .hm-rail-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 右侧内容流 ---------- */
.page-home .hm-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
}

/* ---------- 矩阵图 ---------- */
.page-home .hm-matrix {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hm-matrix img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .hm-matrix figcaption {
  padding: 13px 20px 15px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 最新一期 ---------- */
.page-home .hm-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--panel);
}

.page-home .hm-latest {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255, 200, 90, .09), transparent 58%),
    var(--panel);
}

.page-home .hm-latest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 20px;
}

.page-home .hm-card-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}

.page-home .hm-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.page-home .hm-latest-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 26px 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-balls {
  display: flex;
  gap: 10px;
}

.page-home .hm-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 200, 90, .24), rgba(255, 200, 90, .07));
  border: 1px solid rgba(255, 200, 90, .55);
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.page-home .hm-span {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: auto;
  text-align: right;
}

.page-home .hm-span-label {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .hm-span-num {
  font-family: var(--font-num);
  font-size: clamp(60px, 10vw, 104px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--gold);
  text-shadow: 0 0 34px rgba(255, 200, 90, .32);
  white-space: nowrap;
}

.page-home .hm-span-delta {
  font-family: var(--font-num);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .hm-bars-wrap {
  padding-top: 20px;
}

.page-home .hm-bars-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  margin-bottom: 12px;
}

.page-home .hm-bars-label {
  font-size: 13.5px;
  color: var(--ink);
}

.page-home .hm-bars-hint {
  font-size: 12px;
  color: var(--muted);
}

.page-home .hm-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 92px;
}

.page-home .hm-bar {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 6px 6px 0 0;
  outline: none;
}

.page-home .hm-bar i {
  display: block;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(46, 230, 222, .95), rgba(76, 125, 255, .22));
  transition: filter .2s var(--ease), transform .2s var(--ease);
}

.page-home .hm-bar--now i {
  background: linear-gradient(180deg, var(--gold), rgba(255, 122, 89, .3));
}

.page-home .hm-bar:hover i,
.page-home .hm-bar:focus-visible i {
  filter: brightness(1.2);
  transform: translateY(-3px);
}

.page-home .hm-bar-tip {
  position: absolute;
  bottom: calc(var(--h, 50%) + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 5px 10px;
  border: 1px solid rgba(46, 230, 222, .4);
  border-radius: 8px;
  background: var(--raise);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 11.5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.page-home .hm-bar:hover .hm-bar-tip,
.page-home .hm-bar:focus-visible .hm-bar-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-home .hm-latest-go {
  display: inline-flex;
  margin-top: 22px;
}

/* ---------- 章节头 ---------- */
.page-home .hm-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .hm-sec-idx {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(46, 230, 222, .45);
  padding-bottom: 2px;
}

.page-home .hm-sec-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--ink);
}

/* ---------- 索引卡片 ---------- */
.page-home .hm-index {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(122, 75, 255, .1), transparent 52%), var(--panel);
}

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

.page-home .hm-file {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--raise);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.page-home .hm-file:hover {
  border-color: rgba(46, 230, 222, .5);
  transform: translateY(-3px);
}

.page-home .hm-file-tag {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(46, 230, 222, .38);
  background: rgba(46, 230, 222, .08);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-home .hm-file h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

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

.page-home .hm-file-link {
  margin-top: auto;
  padding-top: 6px;
  color: var(--cyan);
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

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

/* ---------- 三条路径 ---------- */
.page-home .hm-paths {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--panel);
}

.page-home .hm-path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.page-home .hm-path {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-path:first-child {
  border-top: none;
  padding-top: 4px;
}

.page-home .hm-path-no {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--line);
}

.page-home .hm-path-body {
  flex: 1 1 auto;
  min-width: 0;
}

.page-home .hm-path-body h3 {
  margin: 0 0 5px;
  font-family: var(--font-head);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}

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

.page-home .hm-path-go {
  flex: 0 0 auto;
}

/* ---------- 手机查号视觉块 ---------- */
.page-home .hm-paths-visual {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background:
    radial-gradient(120% 110% at 0% 100%, rgba(46, 230, 222, .12), transparent 60%),
    var(--panel);
}

.page-home .hm-visual-figure {
  margin: 0 0 16px;
  border-radius: var(--r-s);
  overflow: hidden;
}

.page-home .hm-visual-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.page-home .hm-paths-visual p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.76;
  color: var(--muted);
}

/* ---------- 为什么能一直用 ---------- */
.page-home .hm-why {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(200deg, rgba(255, 62, 157, .08), transparent 46%), var(--panel);
}

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

.page-home .hm-why-list li {
  padding: 18px 0 18px 18px;
  border-left: 2px solid var(--line);
  transition: border-color .24s var(--ease);
}

.page-home .hm-why-list li:hover {
  border-left-color: var(--cyan);
}

.page-home .hm-why-list h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hm-why-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 收尾 ---------- */
.page-home .hm-sep {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .hm-sep img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}

.page-home .hm-outro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(46, 230, 222, .3);
  border-radius: var(--r-l);
  background: linear-gradient(100deg, rgba(46, 230, 222, .12), rgba(122, 75, 255, .12));
}

.page-home .hm-outro p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- 进场显现 ---------- */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}

.page-home.js-ready [data-reveal].is-visible,
.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 720 以上：六列非对称栅格 ---------- */
@media (min-width: 720px) {
  .page-home .hm-flow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-home .hm-flow > * {
    grid-column: span 6;
    min-width: 0;
  }

  .page-home .hm-flow > .hm-paths {
    grid-column: span 4;
  }

  .page-home .hm-flow > .hm-paths-visual {
    grid-column: span 2;
  }

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

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

/* ---------- 960 以上：左右分屏 ---------- */
@media (min-width: 960px) {
  .page-home .hm-mast {
    padding-top: 148px;
    padding-bottom: 66px;
  }

  .page-home .hm-split {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    gap: var(--home-gap);
    align-items: start;
    padding-top: 48px;
  }

  .page-home .hm-rail {
    position: sticky;
    top: 108px;
  }

  .page-home .hm-paths {
    padding: 28px;
  }

  .page-home .hm-path {
    gap: 22px;
    padding: 20px 0;
  }

  .page-home .hm-path-no {
    font-size: 32px;
  }

  .page-home .hm-latest {
    padding: 28px;
  }
}

/* ---------- 960 以下：时间轴折叠为横向胶囊条 ---------- */
@media (max-width: 959px) {
  .page-home .hm-rail {
    padding: 16px 16px 18px;
  }

  .page-home .hm-years {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .page-home .hm-years::before,
  .page-home .hm-years li::before {
    display: none;
  }

  .page-home .hm-years a {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 13.5px;
    white-space: nowrap;
  }

  .page-home .hm-years a:hover,
  .page-home .hm-years a:focus-visible {
    padding-left: 15px;
    border-color: var(--cyan);
  }

  .page-home .hm-years li:last-child a {
    border-color: rgba(255, 62, 157, .6);
    background: rgba(255, 62, 157, .12);
    color: var(--ink);
  }
}

/* ---------- 480 以下微调 ---------- */
@media (max-width: 480px) {
  .page-home .hm-mast {
    padding-top: 96px;
  }

  .page-home .hm-latest-body {
    gap: 20px;
  }

  .page-home .hm-ball {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .page-home .hm-span {
    margin-left: 0;
    text-align: left;
  }

  .page-home .hm-span-num {
    font-size: 64px;
  }

  .page-home .hm-bars {
    gap: 6px;
    height: 76px;
  }

  .page-home .hm-latest-go,
  .page-home .hm-path-go {
    width: 100%;
    justify-content: center;
  }

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

  .page-home .hm-path-body {
    flex: 1 1 100%;
    order: -1;
  }

  .page-home .hm-outro {
    padding: 20px;
  }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .hm-years a,
  .page-home .hm-file,
  .page-home .hm-bar i {
    transition: none;
  }

  .page-home .hm-file:hover {
    transform: none;
  }
}

.page-home {
  --h: 1rem;
}
