.page-home {
  --ph-gap: clamp(16px, 2.8vw, 34px);
  --ph-shadow: 0 22px 54px rgba(0, 0, 0, .45);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: 72px;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home img {
  max-width: 100%;
  display: block;
}

.page-home .chapter-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: .06em;
  color: rgba(214, 179, 106, .32);
  margin-bottom: 10px;
}

.page-home .lede {
  max-width: 48ch;
  color: var(--mist);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  margin: 14px 0 0;
}

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

.page-home .hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(214, 179, 106, .09), transparent 62%),
    radial-gradient(90% 70% at 100% 100%, rgba(58, 31, 38, .5), transparent 70%),
    var(--ink);
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
  padding-block: clamp(28px, 6vw, 76px);
}

.page-home .hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(29px, 5.2vw, 54px);
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 16px 0 0;
  color: var(--paper);
}

.page-home .hero__entries {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(214, 179, 106, .07), rgba(20, 24, 22, .35) 62%);
  text-decoration: none;
  color: var(--paper);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  border-color: rgba(214, 179, 106, .7);
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(214, 179, 106, .13), rgba(20, 24, 22, .4) 62%);
}

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

.page-home .entry__text {
  display: block;
  min-width: 0;
}

.page-home .entry__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .entry__desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

.page-home .entry__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
}

.page-home .hero__visual {
  position: relative;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: saturate(.85) contrast(1.05);
}

.page-home .hero__arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
  opacity: .62;
}

.page-home .hero__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

/* ---------- 章节导航 ---------- */

.page-home .chapter-nav {
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.page-home .toc {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .toc::-webkit-scrollbar {
  display: none;
}

.page-home .toc li {
  flex: 0 0 auto;
}

.page-home .toc__link {
  display: block;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-home .toc__link:hover {
  color: var(--paper);
  border-color: var(--line);
}

.page-home .toc__link[aria-current="true"] {
  color: var(--amber);
  border-color: rgba(224, 138, 60, .5);
  background: rgba(224, 138, 60, .1);
}

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

.page-home .band {
  position: relative;
  padding-block: clamp(42px, 7.5vw, 92px);
}

.page-home .band--ink {
  background: var(--ink);
}

.page-home .band--teal {
  background: linear-gradient(180deg, var(--teal-deep), #17211F);
}

.page-home .band--wine {
  background: linear-gradient(180deg, var(--wine), #2A161C);
}

.page-home .band--indigo {
  background: linear-gradient(180deg, var(--indigo), #211C33);
}

.page-home .sec-head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .sec-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(23px, 3.3vw, 34px);
  line-height: 1.28;
  margin: 10px 0 0;
  color: var(--paper);
}

/* ---------- 图像容器 ---------- */

.page-home .media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: var(--ph-shadow);
}

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

.page-home .media__caption {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(11, 13, 12, .86);
  border-top: 1px solid var(--line-soft);
}

.page-home .cat-banner {
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* ---------- 九个分区 ---------- */

.page-home .cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .cat {
  background: var(--ink-2);
  min-width: 0;
}

.page-home .cat__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 2px 14px;
  height: 100%;
  padding: 18px 18px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .25s ease, box-shadow .25s ease;
}

.page-home .cat__link:hover,
.page-home .cat__link:focus-visible {
  background: rgba(214, 179, 106, .07);
  box-shadow: inset 0 0 0 1px rgba(214, 179, 106, .5);
}

.page-home .cat__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
  padding-top: 5px;
}

.page-home .cat__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.4;
}

.page-home .cat__desc {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 手机端设置 ---------- */

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

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

.page-home .setup {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 24, 22, .92), rgba(20, 24, 22, .5));
  box-shadow: inset 0 1px 0 rgba(214, 179, 106, .14);
  transition: border-color .25s ease, transform .25s ease;
}

.page-home .setup:hover {
  border-color: rgba(214, 179, 106, .55);
  transform: translateY(-2px);
}

.page-home .setup__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-home .setup h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin: 6px 0 6px;
}

.page-home .setup p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--gray);
}

/* ---------- 规则折叠 ---------- */

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

.page-home .rules-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .rule {
  border: 1px solid rgba(214, 179, 106, .24);
  border-radius: var(--radius);
  background: rgba(11, 13, 12, .34);
}

.page-home .rule[open] {
  border-color: rgba(214, 179, 106, .5);
  background: rgba(11, 13, 12, .58);
}

.page-home .rule__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .rule__sum::-webkit-details-marker {
  display: none;
}

.page-home .rule__sum::after {
  content: "＋";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--gold);
}

.page-home .rule[open] .rule__sum::after {
  content: "－";
}

.page-home .rule__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--gold);
  flex: 0 0 auto;
}

.page-home .rule__title {
  min-width: 0;
}

.page-home .rule__body {
  padding: 0 16px 16px 42px;
}

.page-home .rule__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 首次到访三步 ---------- */

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

.page-home .step {
  padding: 22px 20px 24px;
  border-top: 2px solid var(--gold);
  background: rgba(11, 13, 12, .38);
  border-radius: 0 0 var(--radius) var(--radius);
}

.page-home .step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(214, 179, 106, .38);
  margin-bottom: 12px;
}

.page-home .step h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 8px;
}

.page-home .step p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .step a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 138, 60, .45);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .step a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- 本地会馆 ---------- */

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

.page-home .local-facts {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .local-facts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .fact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .local-media {
  align-self: start;
}

/* ---------- 收束链接 ---------- */

.page-home .closing {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

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

.page-home .closing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 首屏固定入口 ---------- */

.page-home .pinned-setup {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(214, 179, 106, .52);
  border-radius: var(--radius);
  background: rgba(58, 31, 38, .95);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
}

.page-home .pinned-setup span:last-child {
  color: var(--amber);
}

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

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

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

  .page-home .local-facts li {
    grid-template-columns: 7.5em minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .page-home .hero__visual {
    aspect-ratio: auto;
    min-height: 470px;
    height: 100%;
  }

  .page-home .setup-layout {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .setup-media {
    margin-top: 36px;
  }

  .page-home .rules-layout {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .local-layout {
    grid-template-columns: 6fr 6fr;
    align-items: start;
  }

  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .step:nth-child(2) {
    margin-top: 30px;
  }

  .page-home .step:nth-child(3) {
    margin-top: 60px;
  }

  .page-home .pinned-setup {
    display: none;
  }

  .page-home {
    padding-bottom: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition: none !important;
    animation: none !important;
  }
}
<<<END>>>
