.page-home {
  --home-rail-w: 302px;
  --home-cut: 20px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(14px, 3vw, 26px) var(--gutter) clamp(40px, 8vw, 76px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* 上下文条 */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: clamp(18px, 3vw, 30px);
  border-bottom: 1px solid rgba(16, 26, 44, 0.14);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--felt);
}
.page-home .home-context__crumb {
  font-weight: 700;
}
.page-home .home-context__sep {
  width: 24px;
  height: 1px;
  background: var(--neon);
}
.page-home .home-context__note {
  letter-spacing: 0.1em;
  color: rgba(16, 26, 44, 0.6);
}

/* 栅格 */
.page-home .home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  column-gap: 0;
}
.page-home .home-grid > * {
  order: 2;
  min-width: 0;
}
.page-home .cover {
  order: 1;
}

/* 左侧人数浮层 */
.page-home .room-rail {
  order: 2;
  margin-bottom: clamp(26px, 5vw, 44px);
  padding: 20px 18px 18px;
  background: var(--felt-deep);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
}
.page-home .rail-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.page-home .rail-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.18);
}
.page-home .rail-title {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  transform: skewX(-3deg);
  transform-origin: left bottom;
}
.page-home .rail-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(246, 235, 216, 0.72);
}
.page-home .rail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 12px;
}
.page-home .rail-tab {
  font: inherit;
  font-size: 0.76rem;
  padding: 6px 10px;
  border: 1px solid rgba(216, 179, 106, 0.38);
  background: rgba(246, 235, 216, 0.06);
  color: var(--paper);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}
.page-home .rail-tab[aria-selected="true"] {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
  font-weight: 700;
}
.page-home .seat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.page-home .seat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(216, 179, 106, 0.26);
}
.page-home .seat:last-child {
  border-bottom: 0;
}
.page-home .seat__name {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(246, 235, 216, 0.92);
  overflow-wrap: anywhere;
}
.page-home .seat__num {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  line-height: 1;
  color: var(--neon);
}
.page-home .seat__wait {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(246, 235, 216, 0.58);
  min-width: 40px;
  text-align: right;
}
.page-home .rail-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 179, 106, 0.5);
  padding-bottom: 2px;
}
.page-home .rail-link:hover {
  color: var(--neon);
  border-color: var(--neon);
}
.page-home .rail-figure {
  margin: 16px 0 0;
}
.page-home .rail-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
}
.page-home .rail-figure figcaption {
  margin-top: 7px;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(246, 235, 216, 0.6);
}

/* 封面首屏 */
.page-home .cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.page-home .cover__plate {
  position: relative;
  padding-top: 4px;
}
.page-home .cover__plate::before {
  content: "";
  position: absolute;
  left: -6%;
  top: -2%;
  width: 58%;
  height: 34%;
  background: linear-gradient(100deg, var(--neon), var(--amber));
  opacity: 0.22;
  transform: skewX(-12deg);
  z-index: 0;
}
.page-home .cover__kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--felt);
}
.page-home .cover__title {
  position: relative;
  z-index: 1;
  margin: 0.3em 0 0.45em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  transform: skewX(-3deg);
  transform-origin: left bottom;
}
.page-home .cover__em {
  color: var(--neon);
}
.page-home .cover__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 32em;
  font-size: clamp(0.94rem, 1.6vw, 1.04rem);
  line-height: 1.85;
  color: rgba(16, 26, 44, 0.82);
}
.page-home .cover__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.page-home .cover-index {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.page-home .cover-index a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  background: rgba(16, 26, 44, 0.045);
  border-left: 3px solid var(--neon);
  text-decoration: none;
  color: inherit;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}
.page-home .cover-index a:hover,
.page-home .cover-index a:focus-visible {
  background: rgba(216, 179, 106, 0.22);
  border-left-color: var(--felt);
  transform: translateX(3px);
}
.page-home .cover-index__n {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--felt);
  padding-top: 0.25em;
}
.page-home .cover-index__t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}
.page-home .cover-index__d {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(16, 26, 44, 0.62);
}
.page-home .cover-media {
  position: relative;
  margin: 0;
}
.page-home .cover-media::after {
  content: "";
  position: absolute;
  left: 10%;
  right: -5%;
  bottom: -3%;
  height: 54%;
  background: linear-gradient(120deg, var(--violet), var(--amber));
  opacity: 0.34;
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.page-home .cover-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.page-home .cover-media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(16, 26, 44, 0.6);
}

/* 章节过渡窄条 */
.page-home .home-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(28px, 5vw, 48px) 0 clamp(16px, 2.6vw, 22px);
}
.page-home .home-divider__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--neon);
}
.page-home .home-divider__t {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  color: var(--felt);
}
.page-home .home-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(216, 179, 106, 0));
}

/* 通用画板 */
.page-home .board {
  padding: clamp(18px, 3.4vw, 32px);
}
.page-home .board__head {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.page-home .board__kick {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--neon);
}
.page-home .board__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.6vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.page-home .board__lead {
  margin: 0;
  max-width: 42em;
  font-size: clamp(0.9rem, 1.5vw, 0.98rem);
  line-height: 1.85;
  color: rgba(16, 26, 44, 0.74);
}
.page-home .board__head + .steps,
.page-home .board__head + .settle,
.page-home .board__head + .theme-cards {
  margin-top: clamp(18px, 3vw, 26px);
}

/* 三步入场 */
.page-home .steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.page-home .step {
  padding: 20px 18px 18px;
  background: var(--felt);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.page-home .step:nth-child(2) {
  background: var(--felt-deep);
}
.page-home .step:nth-child(3) {
  background: var(--ink);
}
.page-home .step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--neon);
}
.page-home .step__title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}
.page-home .step p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(246, 235, 216, 0.78);
}
.page-home .step__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 179, 106, 0.5);
  padding-bottom: 2px;
}
.page-home .step__link:hover {
  color: var(--neon);
  border-color: var(--neon);
}

/* 段位奖励 */
.page-home .board--ranks {
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.page-home .ranks__bar {
  height: 8px;
  background: linear-gradient(90deg, var(--violet), var(--amber), var(--neon));
}
.page-home .ranks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3.6vw, 36px);
}
.page-home .board__kick--light {
  color: var(--amber);
}
.page-home .board--ranks .board__title {
  color: var(--paper);
}
.page-home .board--ranks .board__lead {
  color: rgba(246, 235, 216, 0.8);
}
.page-home .rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}
.page-home .rank-tab {
  font: inherit;
  font-size: 0.76rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 179, 106, 0.45);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}
.page-home .rank-tab[aria-selected="true"] {
  background: linear-gradient(120deg, var(--violet), var(--amber));
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}
.page-home .rank-panel p {
  margin: 0;
  max-width: 36em;
  font-size: 0.87rem;
  line-height: 1.85;
  color: rgba(246, 235, 216, 0.82);
}
.page-home .rank-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.page-home .board--ranks .btn--ghost {
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 106, 0.6);
}
.page-home .ranks__media {
  margin: 0;
}
.page-home .ranks__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: drop-shadow(0 0 26px rgba(233, 196, 106, 0.28));
}
.page-home .ranks__media figcaption {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(246, 235, 216, 0.6);
}

/* 结算与适配 */
.page-home .board--settle {
  background: var(--paper-dim);
  border-top: 2px solid var(--gold);
}
.page-home .settle {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 30px);
}
.page-home .settle-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .settle-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(11, 92, 70, 0.28);
}
.page-home .settle-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.page-home .settle-steps__n {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--neon);
}
.page-home .settle-steps h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
}
.page-home .settle-steps p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.72;
  color: rgba(16, 26, 44, 0.72);
}
.page-home .settle-media {
  margin: 0 0 6px;
}
.page-home .settle-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-home .settle-media figcaption {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(16, 26, 44, 0.6);
}
.page-home .settle-fit__label {
  margin: 16px 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--felt);
}
.page-home .fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .fit-tags li {
  font-size: 0.74rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 92, 70, 0.1);
  border: 1px solid rgba(11, 92, 70, 0.24);
  color: var(--felt);
}
.page-home .settle-more {
  margin-top: 18px;
}

/* 栏目速览 */
.page-home .theme-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.page-home .theme-card {
  display: block;
  position: relative;
  padding: 18px 16px 20px;
  background: var(--paper);
  border: 1px solid rgba(16, 26, 44, 0.12);
  text-decoration: none;
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease),
    background var(--speed) var(--ease);
}
.page-home .theme-card:hover,
.page-home .theme-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--neon);
  background: rgba(246, 235, 216, 0.96);
}
.page-home .theme-card__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--neon);
}
.page-home .theme-card__c {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--felt);
}
.page-home .theme-card__t {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.page-home .theme-card__d {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.72;
  color: rgba(16, 26, 44, 0.7);
}
.page-home .themes__foot {
  margin: 24px 0 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(16, 26, 44, 0.66);
}

/* 收尾 */
.page-home .home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 32px);
  margin-top: clamp(30px, 5vw, 52px);
  padding: clamp(22px, 4vw, 38px);
  background: var(--felt-deep);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.page-home .home-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.2;
}
.page-home .home-cta p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.85;
  color: rgba(246, 235, 216, 0.8);
}
.page-home .home-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.page-home .home-cta .btn--ghost {
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 106, 0.6);
}
.page-home .home-tally {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.page-home .home-tally > div {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}
.page-home .home-tally dt {
  margin-bottom: 5px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(246, 235, 216, 0.7);
}
.page-home .home-tally dd {
  margin: 0;
}
.page-home .home-tally .num {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1;
  color: var(--neon);
}

/* 动效 */
@media (prefers-reduced-motion: no-preference) {
  .page-home .rail-live__dot {
    animation: home-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes home-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.18);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(255, 107, 44, 0.05);
  }
}

/* 响应式 */
@media (min-width: 560px) {
  .page-home .cover-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .theme-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .cover {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }
  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .page-home .ranks {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
  .page-home .settle {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-grid {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    column-gap: clamp(28px, 3.4vw, 44px);
  }
  .page-home .room-rail {
    grid-column: 1;
    grid-row: 1 / span 30;
    align-self: start;
    position: sticky;
    top: 92px;
    order: 0;
    margin-bottom: 0;
  }
  .page-home .home-grid > *:not(.room-rail) {
    grid-column: 2;
  }
  .page-home .theme-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
  .page-home .theme-card:nth-child(2) {
    transform: translateY(18px);
  }
  .page-home .theme-card:nth-child(2):hover,
  .page-home .theme-card:nth-child(2):focus-visible {
    transform: translateY(14px);
  }
  .page-home .theme-card:nth-child(4) {
    transform: translateY(10px);
  }
  .page-home .theme-card:nth-child(4):hover,
  .page-home .theme-card:nth-child(4):focus-visible {
    transform: translateY(6px);
  }
  .page-home .themes__foot {
    margin-top: 36px;
  }
  .page-home .home-cta {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

@media (min-width: 1140px) {
  .page-home .home-tally {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
<<<END>>>
</main>
