.page-home {
  --home-gap: 14px;
  --home-cut: 20px;
  --home-quiet: #5B6058;
  background: var(--parchment);
  color: var(--ink-text);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}

.page-home p {
  margin: 0;
}

.page-home ul,
.page-home ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home a {
  color: inherit;
}

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

.page-home .home-hero {
  padding: 20px 0 24px;
  background:
    radial-gradient(120% 90% at 6% -20%, rgba(31, 74, 61, 0.95) 0%, rgba(14, 31, 26, 0) 62%),
    var(--ink);
  border-bottom: 1px solid var(--hairline-gold);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .hero-main {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-gold);
  background: var(--table);
  overflow: hidden;
}

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

.page-home .hero-main__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 30% 42%;
  opacity: 0.55;
}

.page-home .hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 31, 26, 0.18) 0%, rgba(14, 31, 26, 0.74) 46%, rgba(14, 31, 26, 0.96) 100%);
}

.page-home .hero-main__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
}

.page-home .hero-main__eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold-soft);
}

.page-home .hero-main h1 {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--parchment);
}

.page-home .hero-main__lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--sand-text);
}

.page-home .hero-search {
  margin-top: 18px;
}

.page-home .search-field {
  position: relative;
}

.page-home .search-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink-text);
  background: rgba(244, 237, 223, 0.95);
  border: 1px solid var(--gold);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
}

.page-home .search-field input::placeholder {
  color: #6C6F65;
}

.page-home .search-field input:focus {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.page-home .search-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(232, 220, 198, 0.12);
  border: 1px dashed var(--hairline-gold);
}

.page-home .search-list:empty {
  display: none;
}

.page-home .search-list__item {
  padding: 4px 11px;
  font-size: 13px;
  color: var(--ink-text);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 999px;
}

.page-home .search-list__item:hover {
  border-color: var(--gold);
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.page-home .hero-facts b {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .hero-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 14px;
  text-decoration: none;
  color: var(--parchment);
  background: rgba(22, 48, 42, 0.92);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.26s var(--ease), transform 0.26s var(--ease);
}

.page-home .hero-tile::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.26s var(--ease);
}

.page-home .hero-tile:hover::before,
.page-home .hero-tile:focus-visible::before {
  width: 100%;
}

.page-home .hero-tile:hover {
  background: rgba(31, 74, 61, 0.95);
  transform: translateY(-2px);
}

.page-home .hero-tile__no {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .hero-tile__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .hero-tile__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sand-text);
}

.page-home .hero-tile__go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .hero-tile--lg .hero-tile__title {
  font-size: 24px;
}

.page-home .preview-strip {
  display: flex;
  gap: 8px;
  margin-top: var(--home-gap);
  padding-bottom: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .preview-strip a {
  flex: 0 0 auto;
  min-width: 128px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  text-decoration: none;
  color: var(--sand-text);
  border: 1px solid var(--hairline-gold);
  border-radius: 12px;
  transition: border-color 0.26s var(--ease), color 0.26s var(--ease);
}

.page-home .preview-strip a:hover,
.page-home .preview-strip a:focus-visible {
  border-color: var(--gold);
  color: var(--parchment);
}

.page-home .preview-strip__no {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.page-home .preview-strip__label {
  font-size: 13px;
}

/* ---------- 章节头 ---------- */

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .section-head__index {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: var(--cinnabar);
  opacity: 0.9;
}

.page-home .section-head__title {
  font-size: clamp(20px, 4.8vw, 30px);
  font-weight: 800;
  line-height: 1.26;
  color: var(--ink-text);
}

.page-home .section-head__note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--home-quiet);
}

/* ---------- 01 入口卡带 ---------- */

.page-home .home-entry {
  padding: 44px 0 40px;
  background: var(--parchment);
}

.page-home .entry-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.page-home .entry-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  text-decoration: none;
  color: var(--ink-text);
  scroll-snap-align: start;
  transition: transform 0.26s var(--ease);
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: background 0.26s var(--ease);
}

.page-home .entry-card:hover::before {
  background: #fff;
}

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

.page-home .entry-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-home .badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(201, 162, 39, 0.24), rgba(201, 162, 39, 0) 68%);
  box-shadow: inset 0 0 0 3px rgba(201, 162, 39, 0.16);
}

.page-home .badge--high {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
  background: radial-gradient(circle at 50% 45%, rgba(181, 70, 47, 0.2), rgba(181, 70, 47, 0) 68%);
  box-shadow: inset 0 0 0 3px rgba(181, 70, 47, 0.14);
}

.page-home .entry-card__rank {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
}

.page-home .entry-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .entry-card__text {
  font-size: 13px;
  line-height: 1.68;
  color: var(--home-quiet);
}

.page-home .entry-card__device {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--home-quiet);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--hairline-dark);
}

/* ---------- 02 大厅预览 ---------- */

.page-home .home-hall {
  padding: 44px 0;
  background: var(--paper);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}

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

.page-home .hall-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .hall-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 10px;
}

.page-home .hall-group__rank {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--cinnabar);
  letter-spacing: 0.06em;
}

.page-home .hall-group__note {
  font-size: 12px;
  color: var(--home-quiet);
}

.page-home .room-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--gold);
  border-radius: 10px;
}

.page-home .room-row + .room-row {
  margin-top: 8px;
}

.page-home .room-row__name {
  font-size: 15px;
  font-weight: 700;
}

.page-home .room-row__meta {
  font-size: 13px;
  color: var(--home-quiet);
  font-variant-numeric: tabular-nums;
}

.page-home .hall-note {
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--home-quiet);
  border-top: 1px solid var(--hairline-dark);
}

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

.page-home .hall-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .hall-figure__cap {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--home-quiet);
}

.page-home .hall-more {
  margin-top: 22px;
}

/* ---------- 03 检索 ---------- */

.page-home .home-search {
  padding: 44px 0;
  background: var(--parchment);
}

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

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

.page-home .search-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-dark);
}

.page-home .search-panel__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-text);
}

.page-home .search-field--block {
  margin-top: 16px;
}

.page-home .search-field--block input {
  background: #fff;
  border-color: var(--hairline-dark);
}

.page-home .search-field--block input:focus {
  border-color: var(--gold);
}

.page-home .search-field--block .search-list {
  background: rgba(43, 43, 38, 0.05);
  border-color: var(--hairline-dark);
}

.page-home .search-panel__hint {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--home-quiet);
}

.page-home .quick-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-home .tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cinnabar);
  background: rgba(181, 70, 47, 0.07);
  border: 1px solid rgba(181, 70, 47, 0.38);
  border-radius: 999px;
}

/* ---------- 04 版本与结算 ---------- */

.page-home .home-version {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--table) 100%);
  color: var(--parchment);
}

.page-home .home-version .section-head__index {
  color: var(--gold);
  opacity: 1;
}

.page-home .home-version .section-head__title {
  color: var(--parchment);
}

.page-home .home-version .section-head__note {
  color: var(--muted);
}

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

.page-home .version-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background: rgba(244, 237, 223, 0.06);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
}

.page-home .version-card--accent {
  background: rgba(201, 162, 39, 0.1);
}

.page-home .version-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .step-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--sand-text);
}

.page-home .step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

.page-home .link-gold {
  align-self: flex-start;
  margin-top: 2px;
  padding-bottom: 2px;
  font-size: 14px;
  text-decoration: none;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--hairline-gold);
  transition: color 0.26s var(--ease), border-color 0.26s var(--ease);
}

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

/* ---------- 05 更新与答疑 ---------- */

.page-home .home-updates {
  padding: 44px 0;
  background: var(--paper);
}

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

.page-home .log-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-home .log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.page-home .log-item:first-child {
  padding-top: 0;
}

.page-home .log-item__thumb {
  margin: 0;
}

.page-home .log-item__thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--hairline-dark);
}

.page-home .log-item__body h3 {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.page-home .log-item__body p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--home-quiet);
}

.page-home .help-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  background: var(--parchment);
  border: 1px solid var(--hairline-dark);
  border-left: 3px solid var(--cinnabar);
  border-radius: var(--radius);
}

.page-home .help-panel h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .help-panel p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--home-quiet);
}

.page-home .help-panel .btn {
  align-self: flex-start;
  margin-top: 4px;
  text-decoration: none;
}

/* ---------- 收尾 ---------- */

.page-home .home-contact {
  padding: 26px 0;
  background: var(--ink);
  border-top: 1px solid var(--hairline-gold);
}

.page-home .contact-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .contact-bar__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--parchment);
}

.page-home .contact-bar__text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--sand-text);
  word-break: break-word;
}

.page-home .contact-bar__btn {
  text-decoration: none;
}

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

@media (min-width: 720px) {
  .page-home .entry-rail {
    grid-auto-columns: 46%;
    gap: 14px;
  }

  .page-home .hero-main {
    min-height: 440px;
    padding: 28px 26px;
  }

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

  .page-home .hero-tile--lg {
    grid-column: 1 / -1;
  }

  .page-home .log-item--lead {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .contact-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 28px 0 30px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 16px;
  }

  .page-home .hero-side {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1.2fr 0.95fr 0.8fr;
    gap: 16px;
  }

  .page-home .hero-tile--lg {
    grid-column: auto;
  }

  .page-home .hero-main {
    min-height: 520px;
  }

  .page-home .preview-strip {
    margin-top: 18px;
  }

  .page-home .entry-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 16px;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-home .home-entry,
  .page-home .home-hall,
  .page-home .home-search,
  .page-home .home-updates {
    padding: 64px 0;
  }

  .page-home .home-version {
    padding: 72px 0;
  }

  .page-home .section-head {
    gap: 18px;
    margin-bottom: 30px;
  }

  .page-home .section-head__index {
    font-size: 58px;
  }

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

  .page-home .search-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
  }

  .page-home .version-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-home .home-contact {
    padding: 30px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-tile,
  .page-home .entry-card,
  .page-home .link-gold,
  .page-home .preview-strip a {
    transition: none;
  }

  .page-home .hero-tile:hover,
  .page-home .entry-card:hover {
    transform: none;
  }
}

.page-home {
  --home-gap: 14px;
  --home-cut: 20px;
  --home-quiet: #5B6058;
  display: block;
}
<<<END>>>
