.page-home {
  --home-rail-w: 264px;
  --home-gap: 56px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--paper);
  padding: 28px 0 56px;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  max-width: 100%;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__crumb .breadcrumb__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--silver);
}

.page-home .home-hero__crumb .breadcrumb__current {
  color: var(--gold);
}

.page-home .home-hero__crumb .breadcrumb__sep {
  color: rgba(201, 207, 214, .5);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 32px;
}

.page-home .home-hero__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 5.2vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--card);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(246, 241, 231, .82);
}

/* 奖级摘要面板 */
.page-home .home-hero__board {
  background: rgba(28, 32, 39, .82);
  border: 1px solid rgba(201, 207, 214, .24);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.page-home .home-hero__board-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--silver);
}

.page-home .home-summary {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
}

.page-home .home-summary th,
.page-home .home-summary td {
  padding: 7px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(201, 207, 214, .16);
  color: rgba(246, 241, 231, .9);
  font-weight: 400;
}

.page-home .home-summary thead th {
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--silver);
  text-transform: uppercase;
  border-bottom-color: rgba(201, 207, 214, .32);
}

.page-home .home-summary tbody th {
  color: var(--gold);
  font-weight: 700;
}

.page-home .home-summary .num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .home-hero__board-note {
  margin: 12px 0 14px;
  font-size: .75rem;
  line-height: 1.7;
  color: rgba(201, 207, 214, .78);
}

.page-home .home-hero__board-link {
  margin: 0;
}

/* 期号 + 奖号球一行 */
.page-home .home-hero__stripe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 207, 214, .22);
}

.page-home .home-hero__period {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.page-home .home-hero__period-label {
  font-size: .875rem;
  color: var(--silver);
}

.page-home .home-hero__period-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--gold);
}

.page-home .home-hero__balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__balls-sep {
  display: block;
  width: 1px;
  height: 30px;
  margin: 0 6px;
  background: rgba(201, 207, 214, .38);
}

.page-home .ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--card);
  border: 2px solid rgba(253, 251, 246, .3);
  box-shadow: inset -3px -4px 9px rgba(0, 0, 0, .3);
  transition: transform .16s ease, box-shadow .16s ease;
}

.page-home .ball--red {
  background: radial-gradient(circle at 34% 28%, #e8364f, var(--red) 52%, var(--red-deep) 100%);
}

.page-home .ball--blue {
  background: radial-gradient(circle at 34% 28%, #5690d4, var(--blue) 52%, #123c6d 100%);
}

.page-home .ball:hover {
  transform: translateY(-2px);
  box-shadow: inset -3px -4px 9px rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .34);
}

/* 首屏数据条 */
.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-stat {
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.page-home .home-stat:nth-child(2) {
  border-left-color: var(--gold);
}

.page-home .home-stat:nth-child(3) {
  border-left-color: var(--blue);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--card);
  line-height: 1.2;
}

.page-home .home-stat__label {
  display: block;
  margin-top: 4px;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: rgba(201, 207, 214, .82);
}

/* 首屏预览面板 */
.page-home .home-hero__preview {
  display: grid;
  gap: 14px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-preview {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
  padding: 20px 18px 22px;
  color: var(--text);
}

.page-home .home-preview__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--red);
  margin-bottom: 10px;
}

.page-home .home-preview__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .home-preview__title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.page-home .home-preview__title a:hover {
  color: var(--red);
}

.page-home .home-preview__text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 两栏主体 ---------- */
.page-home .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-home .home-rail {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-paper);
}

.page-home .home-rail__block + .home-rail__block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
}

.page-home .home-rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-rail__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rail__tab {
  display: inline-block;
  padding: 5px 11px;
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.page-home .home-rail__tab--on {
  color: var(--ink-900);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

.page-home .home-rail__ruler {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--rule);
}

.page-home .home-rail__tick {
  position: relative;
  padding: 5px 0 5px 16px;
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--muted);
  letter-spacing: .06em;
}

.page-home .home-rail__tick::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--rule);
}

.page-home .home-rail__tick--on {
  color: var(--ink-900);
  font-weight: 700;
  background: linear-gradient(90deg, rgba(242, 183, 5, .28), transparent 82%);
  border-left: 3px solid var(--gold);
  margin-left: -2px;
  padding-left: 15px;
}

.page-home .home-rail__tick--on::before {
  background: var(--gold);
  width: 10px;
}

.page-home .home-rail__note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-rail__foot {
  margin: 20px 0 0;
}

/* 章节内容 */
.page-home .home-flow > .section + .section {
  margin-top: 76px;
}

.page-home .home-flow .section__num {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

.page-home .home-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--card);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .home-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-note a:hover {
  color: var(--red);
}

/* 01 三步 */
.page-home .home-steps {
  display: grid;
  gap: 16px;
}

.page-home .home-step {
  position: relative;
  padding: 20px 18px 20px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.page-home .home-step__num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--card);
  background: var(--ink-900);
  border-radius: 999px;
}

.page-home .home-step__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.page-home .home-step p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

/* 02 玩法分区 */
.page-home .home-zones {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-zone {
  position: relative;
  padding: 20px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.page-home .home-zone:nth-child(2n) {
  border-top-color: var(--blue);
}

.page-home .home-zone:nth-child(3n) {
  border-top-color: var(--gold);
}

.page-home .home-zone__tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-zone__name {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--text);
}

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

.page-home .home-zone__facts dt {
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--red-deep);
  white-space: nowrap;
  padding-top: 3px;
}

.page-home .home-zone__facts dd {
  margin: 0;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-zones__more {
  margin: 24px 0 0;
}

/* 分隔带 */
.page-home .home-band {
  margin: 56px 0 0;
}

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

/* 03 趋势 */
.page-home .home-trends {
  display: grid;
  gap: 24px;
}

.page-home .home-trends__title {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.page-home .home-trends__caption {
  margin: 0 0 20px;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .home-freq {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.page-home .home-freq__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}

.page-home .home-freq__name {
  font-size: .875rem;
  color: var(--text);
}

.page-home .home-freq__count {
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .home-freq__track {
  display: block;
  height: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .home-freq__fill {
  display: block;
  height: 100%;
  border-radius: 1px;
}

.page-home .home-freq__fill--red {
  width: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
}

.page-home .home-freq__fill--gold {
  width: 26.5%;
  background: linear-gradient(90deg, #c8940a, var(--gold));
}

.page-home .home-freq__fill--blue {
  width: 6%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.page-home .home-trends__facts {
  margin: 0;
  padding: 16px 18px;
  background: var(--card);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
}

.page-home .home-trends__facts dt {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.page-home .home-trends__facts dd {
  margin: 0 0 14px;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-trends__facts dd:last-child {
  margin-bottom: 0;
}

.page-home .home-trends__figure {
  margin: 0;
}

.page-home .home-trends__figure .figure__frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 04 团队 */
.page-home .home-crew {
  display: grid;
  gap: 18px;
}

.page-home .home-crew__block {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.page-home .home-crew__block:first-child {
  background: var(--ink-900);
  border-color: var(--ink-800);
  color: var(--paper);
}

.page-home .home-crew__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: inherit;
}

.page-home .home-crew__block:first-child .home-crew__title {
  color: var(--gold);
}

.page-home .home-crew__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .home-crew__list li {
  position: relative;
  padding-left: 18px;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-crew__block:first-child .home-crew__list li {
  color: rgba(246, 241, 231, .82);
}

.page-home .home-crew__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

.page-home .home-crew__block:first-child .home-crew__list li::before {
  background: var(--gold);
}

/* 05 帮助 */
.page-home .home-help {
  display: grid;
  gap: 18px;
}

.page-home .home-help__card {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.page-home .home-help__card h3 {
  margin: 12px 0 10px;
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--text);
}

.page-home .home-help__card p {
  margin: 0 0 14px;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-help__action {
  margin: 0;
}

/* 页脚前衬底 */
.page-home .home-closing {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.page-home .home-closing img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  filter: saturate(.72);
}

.page-home .home-closing__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 24px 22px;
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--card);
  background: linear-gradient(to top, rgba(20, 22, 26, .88), rgba(20, 22, 26, 0));
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-hero {
    padding: 36px 0 68px;
  }

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

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .85fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-trends {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 36px;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .home-shell {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: var(--home-gap);
    padding-top: 80px;
    padding-bottom: 96px;
  }

  .page-home .home-rail {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

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

  .page-home .home-hero__preview {
    margin-top: 52px;
  }
}

@media (min-width: 1280px) {
  .page-home .home-rail {
    padding: 22px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ball,
  .page-home .home-preview__title a {
    transition: none;
  }

  .page-home .ball:hover {
    transform: none;
  }
}
</final>
