.page-home {
  --home-rule: rgba(201, 162, 39, .22);
  --home-rule-soft: rgba(244, 240, 230, .09);
  --home-wide: 1360px;
  --home-ease: cubic-bezier(.2, .7, .3, 1);
  display: block;
  background: var(--ink);
  overflow-x: hidden;
}

.page-home .home-section__inner {
  max-width: var(--home-wide);
  margin-inline: auto;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) var(--gutter) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(120% 88% at 10% 0%, rgba(201, 162, 39, .11), transparent 62%),
    linear-gradient(180deg, #10131a 0%, #0E1013 84%);
  border-bottom: 1px solid var(--home-rule);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 240, 230, .062) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 240, 230, .062) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(125% 105% at 16% 6%, #000 18%, transparent 82%);
  mask-image: radial-gradient(125% 105% at 16% 6%, #000 18%, transparent 82%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 52px);
  max-width: var(--home-wide);
  margin-inline: auto;
}

.page-home .hero-crumbs {
  margin-bottom: 18px;
}

.page-home .hero-crumbs .crumbs__sep {
  display: none;
}

.page-home .hero-main .ref-no {
  display: inline-block;
}

.page-home .hero-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 14px 0 0;
}

.page-home .hero-title__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(68px, 15.5vw, 148px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: .055em;
  background: linear-gradient(118deg, var(--gold-soft) 0%, var(--gold) 40%, rgba(201, 162, 39, .14) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-title__claim {
  display: block;
  max-width: 24em;
  font-size: clamp(21px, 3.1vw, 33px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-home .hero-lede {
  max-width: 38em;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.92;
  color: rgba(244, 240, 230, .72);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* 首屏右侧栏目索引 */

.page-home .hero-index {
  align-self: start;
  padding: 16px 0;
  background: rgba(23, 26, 32, .68);
  border: 1px solid var(--home-rule);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .hero-index__title {
  margin: 0 0 10px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--index);
  text-transform: uppercase;
}

.page-home .hero-index__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-rule-soft);
}

.page-home .hero-index__item a {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "no label"
    "no hint";
  gap: 3px 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--home-rule-soft);
  color: var(--paper);
  text-decoration: none;
  transition: background .18s var(--home-ease);
}

.page-home .hero-index__item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .2s var(--home-ease);
}

.page-home .hero-index__item a:hover,
.page-home .hero-index__item a:focus-visible {
  background: rgba(201, 162, 39, .07);
}

.page-home .hero-index__item a:hover::before,
.page-home .hero-index__item a:focus-visible::before {
  transform: scaleY(1);
}

.page-home .hero-index__no {
  grid-area: no;
  align-self: start;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-home .hero-index__label {
  grid-area: label;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
}

.page-home .hero-index__hint {
  grid-area: hint;
  font-size: 13px;
  line-height: 1.7;
  color: var(--index);
  transition: color .18s var(--home-ease);
}

.page-home .hero-index__item a:hover .hero-index__hint,
.page-home .hero-index__item a:focus-visible .hero-index__hint {
  color: var(--gold-soft);
}

/* 首屏视觉 */

.page-home .hero-figure {
  position: relative;
  z-index: 1;
  max-width: var(--home-wide);
  margin: clamp(38px, 5vw, 70px) auto 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  object-position: center 32%;
  border: 1px solid var(--home-rule);
  box-shadow: inset 0 0 90px rgba(14, 16, 19, .7);
}

.page-home .hero-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--index);
}

/* ---------- 通用章节 ---------- */

.page-home .home-section {
  padding-block: clamp(52px, 7vw, 96px);
  padding-inline: var(--gutter);
}

.page-home .home-paths {
  background: linear-gradient(180deg, #0E1013 0%, #12131a 100%);
}

.page-home .home-records {
  background: linear-gradient(180deg, #10141a 0%, #0E1013 100%);
  border-block: 1px solid rgba(58, 46, 36, .55);
}

.page-home .home-versions {
  background:
    radial-gradient(110% 80% at 88% 4%, rgba(31, 58, 52, .55), transparent 66%),
    linear-gradient(180deg, #0E1013 0%, #111a18 100%);
}

.page-home .home-contact {
  background: linear-gradient(180deg, #111a18 0%, #0E1013 88%);
  border-top: 1px solid rgba(58, 46, 36, .5);
}

.page-home .lead {
  max-width: 46em;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(244, 240, 230, .7);
}

.page-home .muted {
  color: var(--index);
}

.page-home .mono {
  font-family: var(--font-mono);
}

/* ---------- 三张主线卡 ---------- */

.page-home .path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.page-home .path-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--gold);
}

.page-home .path-card:hover {
  transform: translateY(-2px);
}

.page-home .path-card .index-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .path-card .index-card__title {
  margin: 0;
}

.page-home .path-card .index-card__body {
  margin: 0;
  line-height: 1.85;
}

.page-home .path-card .index-card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--gold-ink);
}

.page-home .path-card .index-card__note {
  margin: 0;
}

.page-home .path-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .path-card--lead {
  border-top-color: var(--seal);
}

.page-home .paths-figure {
  margin-top: 34px;
}

/* ---------- 更新记录 ---------- */

.page-home .records-lede {
  margin-bottom: 30px;
}

.page-home .record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.page-home .record-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.page-home .record-chip {
  position: relative;
}

.page-home .record-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .record-chip span {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--index);
  cursor: pointer;
  transition: background .18s var(--home-ease), color .18s var(--home-ease), border-color .18s var(--home-ease);
}

.page-home .record-chip:hover span {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.page-home .record-chip input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.page-home .record-chip input:focus-visible + span {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.page-home .record-list {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-home .record-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201, 162, 39, .55), rgba(201, 162, 39, .06));
}

.page-home .record-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 15px 0;
  border-bottom: 1px solid var(--home-rule-soft);
}

.page-home .record-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 21px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #10141a;
  transition: background .18s var(--home-ease);
}

.page-home .record-item:hover::before {
  background: var(--gold);
}

.page-home .record-item__time {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--index);
}

.page-home .record-item__no {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-home .record-item__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 240, 230, .86);
}

.page-home .record-item .tag {
  justify-self: start;
}

.page-home .record-foot {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
}

.page-home .record-foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .4);
}

.page-home .record-foot a:hover,
.page-home .record-foot a:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.page-home .record-figure {
  margin: 0;
}

.page-home .record-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border: 1px solid var(--home-rule);
}

.page-home .record-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--index);
}

/* 纯 CSS 筛选 —— 仅在有 :has() 支持时生效 */
.page-home:has(#rec-answers:checked) .record-item:not([data-cat="answers"]) {
  display: none;
}

.page-home:has(#rec-version:checked) .record-item:not([data-cat="version"]) {
  display: none;
}

.page-home:has(#rec-entry:checked) .record-item:not([data-cat="entry"]) {
  display: none;
}

/* ---------- 版本对照 ---------- */

.page-home .versions-lede {
  margin-bottom: 30px;
}

.page-home .version-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .version-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--home-rule);
  background: var(--paper);
}

.page-home .version-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .version-table caption {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--index);
  background: rgba(58, 46, 36, .08);
  border-bottom: 1px solid rgba(58, 46, 36, .18);
}

.page-home .version-table thead th {
  padding: 13px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--paper);
  background: var(--pine);
}

.page-home .version-table tbody th {
  padding: 15px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid rgba(58, 46, 36, .16);
}

.page-home .version-table tbody td {
  padding: 15px 18px;
  line-height: 1.75;
  color: var(--body-mid);
  border-bottom: 1px solid rgba(58, 46, 36, .16);
  vertical-align: top;
}

.page-home .version-table tbody tr:nth-child(even) {
  background: rgba(58, 46, 36, .055);
}

.page-home .version-table tbody tr:last-child th,
.page-home .version-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .version-figure {
  margin: 0;
}

.page-home .version-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .version-foot {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 服务与联系 ---------- */

.page-home .contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--home-rule);
}

.page-home .contact-strip__paper {
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper);
  color: var(--ink);
}

.page-home .contact-strip__paper .ref-no {
  color: var(--gold-ink);
}

.page-home .contact-strip__title {
  margin: 16px 0 0;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .contact-strip__body {
  max-width: 40em;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--body-mid);
}

.page-home .contact-strip__note {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--seal);
}

.page-home .contact-strip__glass {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(23, 26, 32, .82);
  border-top: 1px solid var(--home-rule);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-home .contact-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
}

.page-home .contact-fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-rule-soft);
}

.page-home .contact-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .contact-fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--index);
}

.page-home .contact-fact dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  word-break: break-word;
}

.page-home .contact-fact dd a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 206, 140, .35);
}

.page-home .contact-fact dd a:hover,
.page-home .contact-fact dd a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-home .contact-strip__hint {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--index);
}

/* ---------- 焦点反馈 ---------- */

.page-home a:focus-visible,
.page-home .record-chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 620px) {
  .page-home .record-item {
    grid-template-columns: 8.5em 5.5em minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px 14px;
  }

  .page-home .record-item .tag {
    justify-self: end;
  }

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

@media (min-width: 900px) {
  .page-home .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .record-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .record-figure {
    position: sticky;
    top: 90px;
  }
}

@media (min-width: 1040px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
    gap: clamp(36px, 4vw, 64px);
    align-items: start;
  }

  .page-home .path-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .version-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .version-table-wrap {
    overflow-x: visible;
  }

  .page-home .contact-strip {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .page-home .contact-strip__glass {
    border-top: 0;
    border-left: 1px solid var(--home-rule);
  }

  .page-home .contact-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1280px) {
  .page-home .contact-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
  }
}
<<<END>>>
