.page-home {
  --hm-rail-w: 280px;
  --hm-gold-line: rgba(200, 160, 60, 0.26);
  --hm-panel-bg: #0A1624;
}

/* ---------- 框景首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(96px, 14vw, 160px) 0 clamp(48px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

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

.page-home .hm-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(130% 90% at 12% 0%, rgba(7, 15, 25, 0.3), rgba(7, 15, 25, 0.94) 72%),
    linear-gradient(180deg, rgba(7, 15, 25, 0.6), rgba(7, 15, 25, 0.2) 40%, rgba(7, 15, 25, 0.9));
  pointer-events: none;
}

.page-home .hm-frame {
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid var(--hm-gold-line);
  pointer-events: none;
}

.page-home .hm-frame::before,
.page-home .hm-frame::after {
  content: "";
  position: absolute;
}

.page-home .hm-frame::before {
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(to right, rgba(200, 160, 60, 0.55) 0 1px, transparent 1px 44px);
}

.page-home .hm-frame::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  background: repeating-linear-gradient(to bottom, rgba(200, 160, 60, 0.55) 0 1px, transparent 1px 44px);
}

.page-home .hm-frame-corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(200, 160, 60, 0.7);
  background: var(--ink);
  padding: 0 6px;
  line-height: 1.6;
}

.page-home .hm-frame-corner--tl { top: -9px; left: 22px; }
.page-home .hm-frame-corner--tr { top: -9px; right: 22px; }
.page-home .hm-frame-corner--bl { bottom: -9px; left: 22px; }
.page-home .hm-frame-corner--br { bottom: -9px; right: 22px; }

.page-home .hm-hero-inner {
  position: relative;
  z-index: 3;
}

.page-home .hm-hero-inner .breadcrumb {
  margin-bottom: clamp(28px, 5vw, 52px);
}

.page-home .hm-hero-cols {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

/* ---------- 左侧索引轴 ---------- */
.page-home .hm-rail-brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 6px;
}

.page-home .hm-rail-note {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--celadon);
  margin: 0 0 16px;
}

.page-home .hm-rail-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .hm-rail-list li {
  flex: 0 0 auto;
}

.page-home .hm-rail-list a {
  display: block;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.page-home .hm-rail-list a:hover,
.page-home .hm-rail-list a:focus-visible {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.page-home .hm-rail-list a[aria-current="true"] {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(200, 160, 60, 0.1);
}

/* ---------- 首屏主文 ---------- */
.page-home .hm-hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 7vw, 70px);
  line-height: 1.18;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin: 14px 0 0;
  text-shadow: 0 0 1px rgba(7, 15, 25, 0.9), 0 3px 0 rgba(0, 0, 0, 0.28);
}

.page-home .hm-h1-line {
  display: block;
}

.page-home .hm-hero-lead {
  margin-top: 22px;
  max-width: 40em;
  color: var(--body);
}

.page-home .hm-entries {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .hm-entry {
  position: relative;
  display: block;
  padding: 18px 18px 20px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: rgba(20, 43, 63, 0.62);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.page-home .hm-entry:hover,
.page-home .hm-entry:focus-visible {
  background: rgba(20, 43, 63, 0.95);
  border-color: var(--gold);
}

.page-home .hm-entry-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-home .hm-entry-title {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin-bottom: 8px;
}

.page-home .hm-entry-desc {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
}

/* ---------- 本月速览 ---------- */
.page-home .hm-brief-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .hm-brief-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .hm-brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-brief-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-brief-key {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 4px;
}

.page-home .hm-brief-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
}

.page-home .hm-brief-list strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .hm-brief-panel {
  padding: 24px 22px;
  background: var(--hm-panel-bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}

.page-home .hm-panel-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 16px;
}

.page-home .hm-panel-list {
  margin: 0;
}

.page-home .hm-panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(42, 64, 85, 0.9);
}

.page-home .hm-panel-row dt {
  font-size: 13px;
  color: var(--celadon);
  letter-spacing: 0.04em;
}

.page-home .hm-panel-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--paper);
  text-align: right;
}

.page-home .hm-panel-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--celadon);
}

/* ---------- 时间轴 ---------- */
.page-home .hm-tl-grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
}

.page-home .hm-tl-aside .prose {
  color: var(--body);
}

.page-home .hm-tl-fig {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  padding: 8px;
}

.page-home .hm-tl-fig img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-home .hm-tl-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 1px dashed rgba(126, 154, 148, 0.5);
}

.page-home .hm-tl-item {
  position: relative;
  padding: 0 0 26px 4px;
}

.page-home .hm-tl-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--gold);
}

.page-home .hm-tl-item--now::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 160, 60, 0.16);
}

.page-home .hm-tl-item--origin::before {
  border-color: var(--celadon);
}

.page-home .hm-tl-ver {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.page-home .hm-tl-item--now .hm-tl-ver {
  color: var(--gold);
}

.page-home .hm-tl-meta {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--celadon);
}

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

/* ---------- 差异预览 ---------- */
.page-home .hm-diff-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-home .hm-diff-table {
  position: relative;
  border-top: 1px solid var(--line);
}

.page-home .hm-diff-headrow {
  display: none;
}

.page-home .hm-diff-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "mod mod"
    "old new"
    "tag tag";
  gap: 8px 16px;
  padding: 16px 12px 16px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background var(--ease);
}

.page-home .hm-diff-row[data-level="high"] {
  border-left-color: var(--cinnabar);
  background: linear-gradient(90deg, rgba(179, 57, 44, 0.16), rgba(179, 57, 44, 0.03) 55%, transparent 80%);
}

.page-home .hm-diff-row:hover {
  background: rgba(20, 43, 63, 0.6);
}

.page-home .hm-diff-mod {
  grid-area: mod;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.page-home .hm-diff-mod em {
  display: inline-block;
  margin-left: 10px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--celadon);
}

.page-home .hm-diff-old {
  grid-area: old;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.page-home .hm-diff-new {
  grid-area: new;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gold-soft);
}

.page-home .hm-diff-row .tag {
  grid-area: tag;
  justify-self: start;
}

.page-home .hm-diff-tip {
  position: absolute;
  right: 10px;
  bottom: -12px;
  z-index: 4;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  background: var(--ink-3);
  border: 1px solid var(--line);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}

.page-home .hm-diff-row:hover .hm-diff-tip {
  opacity: 1;
  transform: translateY(0);
}

.page-home .hm-diff-foot {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .hm-diff-cta-text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  max-width: 30em;
}

.page-home .hm-diff-cta .btn {
  margin: 0 10px 10px 0;
}

.page-home .hm-diff-fig {
  margin: 0;
  border: 1px solid var(--line);
  padding: 8px;
}

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

/* ---------- 三步走（暖白纸区段） ---------- */
.page-home .hm-steps-grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
}

.page-home .hm-step-list {
  list-style: none;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 0;
  counter-reset: hm-step;
}

.page-home .hm-step {
  position: relative;
  padding: 22px 0 22px 22px;
  border-left: 1px solid rgba(42, 64, 85, 0.28);
}

.page-home .hm-step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 28px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.page-home .hm-step-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #8A6E1F;
  margin-bottom: 8px;
}

.page-home .hm-step-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.page-home .hm-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #33465A;
  max-width: 36em;
}

.page-home .hm-step-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #8A6E1F;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home .hm-step-link:hover,
.page-home .hm-step-link:focus-visible {
  color: var(--cinnabar);
}

.page-home .hm-steps-fig {
  margin: 0;
}

.page-home .hm-steps-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid rgba(42, 64, 85, 0.35);
}

.page-home .hm-steps-fig .media-caption {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #50626F;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- 桌面端与支持 ---------- */
.page-home .hm-desktop-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.page-home .hm-desktop-main .prose {
  color: var(--body);
}

.page-home .hm-spec-list {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-spec-row dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--celadon);
}

.page-home .hm-spec-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--paper);
}

.page-home .hm-support {
  padding: 24px 22px;
  background: var(--hm-panel-bg);
  border: 1px solid var(--line);
}

.page-home .hm-support-head {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 16px;
}

.page-home .hm-support-card {
  position: relative;
  display: block;
  padding: 18px 40px 18px 18px;
  margin-bottom: 12px;
  background: rgba(20, 43, 63, 0.7);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease);
}

.page-home .hm-support-card:hover,
.page-home .hm-support-card:focus-visible {
  background: rgba(20, 43, 63, 1);
  border-color: var(--gold);
}

.page-home .hm-support-title {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin-bottom: 8px;
}

.page-home .hm-support-desc {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
}

.page-home .hm-support-arrow {
  position: absolute;
  right: 16px;
  top: 20px;
  color: var(--gold);
  font-size: 16px;
}

.page-home .hm-support-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--celadon);
}

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

  .page-home .hm-diff-row {
    grid-template-columns: 1fr 1.4fr;
    grid-template-areas:
      "mod tag"
      "old new";
    align-items: start;
  }

  .page-home .hm-diff-row .tag {
    justify-self: end;
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero-cols {
    grid-template-columns: var(--hm-rail-w) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .hm-rail {
    position: sticky;
    top: 104px;
    align-self: start;
    padding-right: 20px;
    border-right: 1px solid var(--hm-gold-line);
  }

  .page-home .hm-rail-list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .hm-rail-list li + li {
    margin-top: 2px;
  }

  .page-home .hm-rail-list a {
    padding: 10px 0 10px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    white-space: normal;
  }

  .page-home .hm-rail-list a[aria-current="true"] {
    border-left-color: var(--gold);
    background: linear-gradient(90deg, rgba(200, 160, 60, 0.14), transparent 76%);
  }

  .page-home .hm-brief-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .hm-tl-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .page-home .hm-diff-headrow {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.4fr 96px;
    gap: 16px;
    padding: 12px 12px 12px 14px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--celadon);
    border-bottom: 1px solid var(--line);
  }

  .page-home .hm-diff-headrow span:last-child {
    text-align: right;
  }

  .page-home .hm-diff-row {
    grid-template-columns: 1.1fr 1fr 1.4fr 96px;
    grid-template-areas: "mod old new tag";
    align-items: center;
    gap: 16px;
    padding: 18px 12px 18px 14px;
  }

  .page-home .hm-diff-row .tag {
    justify-self: end;
  }

  .page-home .hm-diff-foot {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-home .hm-steps-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-home .hm-desktop-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .hm-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hm-hero-lead {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-entry,
  .page-home .hm-diff-tip,
  .page-home .hm-raillist a,
  .page-home .hm-support-card {
    transition: none;
  }
}
<<<END>>>
