.page-home {
  --home-gutter: clamp(1rem, 4vw, 2rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.75;
}

.page-home .home-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

/* ---------- 上下文提示 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .home-context__tag {
  padding: .5em 1em;
  border-radius: 999px;
  border: 1px solid rgba(43, 245, 196, .38);
  background: rgba(43, 245, 196, .08);
  color: var(--signal);
}

.page-home .home-context__sep {
  color: var(--line);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-top: .4rem;
}

.page-home .home-hero .eyebrow {
  margin: 0 0 .85rem;
  color: var(--signal-soft);
}

.page-home .home-hero__stack {
  position: relative;
  isolation: isolate;
}

.page-home .home-hero__num {
  display: block;
  margin-left: -.05em;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(92px, 26vw, 216px);
  line-height: .76;
  letter-spacing: -.05em;
  color: rgba(43, 245, 196, .16);
  user-select: none;
}

.page-home .home-hero__title {
  position: relative;
  margin: -.32em 0 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .home-hero__lede {
  margin: clamp(1.1rem, 2.4vw, 1.6rem) 0 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 三张入口卡 ---------- */
.page-home .home-index {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.page-home .home-index__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(43, 245, 196, .12), rgba(43, 245, 196, 0) 52%),
    var(--track);
  text-decoration: none;
  color: var(--paper);
  overflow: hidden;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .home-index__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(140deg, rgba(43, 245, 196, .18), rgba(43, 245, 196, 0));
  pointer-events: none;
}

.page-home .home-index__card > * {
  position: relative;
  z-index: 1;
}

.page-home .home-index__card:hover,
.page-home .home-index__card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(43, 245, 196, .5);
  box-shadow: 0 20px 44px -24px rgba(43, 245, 196, .55);
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--signal);
}

.page-home .home-index__title {
  margin: .6rem 0 .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.25;
  color: var(--paper);
}

.page-home .home-index__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .home-index__go {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--signal);
}

.page-home .home-index__go::after {
  content: " \2192";
}

/* ---------- 通栏切角主视觉 ---------- */
.page-home .home-band {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.page-home .home-band__frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--track);
}

.page-home .home-band__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}

.page-home .home-band__caption {
  margin-top: .7rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--slate);
  text-align: right;
}

/* ---------- 区块间距 ---------- */
.page-home .home-round,
.page-home .home-board,
.page-home .home-review,
.page-home .home-compat,
.page-home .home-cadence,
.page-home .home-cta {
  margin-top: clamp(3rem, 7vw, 5rem);
}

/* ---------- 第 12 轮四格数据条 ---------- */
.page-home .home-round__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.page-home .home-round__cell {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--arena);
  text-decoration: none;
  color: var(--paper);
  transition: background .18s var(--ease);
}

.page-home .home-round__cell:hover,
.page-home .home-round__cell:focus-visible {
  background: var(--track);
}

.page-home .home-round__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--signal-soft);
}

.page-home .home-round__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.2;
  color: var(--paper);
}

.page-home .home-round__big .num {
  font-family: var(--font-mono);
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-home .home-round__note {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 积分榜三种读法 ---------- */
.page-home .home-board__layout {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.page-home .home-board__figure {
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 27, 51, .92), rgba(6, 11, 20, .96));
}

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

.page-home .home-board__caption {
  margin-top: .7rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--slate);
}

.page-home .home-board__spark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .9rem;
}

.page-home .home-board__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.page-home .filter-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  padding: .62em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.page-home .filter-chip:hover,
.page-home .filter-chip:focus-visible {
  color: var(--paper);
  border-color: rgba(43, 245, 196, .5);
}

.page-home .filter-chip[aria-pressed="true"],
.page-home .filter-chip[data-active="true"] {
  color: var(--arena);
  background: var(--signal);
  border-color: var(--signal);
}

.page-home .home-board__views {
  display: grid;
  gap: .75rem;
  width: 100%;
}

.page-home .home-board__view {
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(43, 245, 196, .55);
  background: rgba(16, 27, 51, .58);
}

.page-home .home-board__view[hidden] {
  display: none;
}

.page-home .home-board__view h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--signal-soft);
}

.page-home .home-board__view p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate);
}

/* ---------- 回看与会员中心 ---------- */
.page-home .home-review {
  display: grid;
  gap: 1.25rem;
}

.page-home .home-review__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--track);
}

.page-home .home-review__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.page-home .home-review__body .eyebrow {
  margin: 0 0 .6rem;
  color: var(--signal-soft);
}

.page-home .home-review__body h2 {
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .home-review__body > p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .home-review__list {
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.page-home .home-review__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-review__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

/* ---------- 适配清单与版本对照 ---------- */
.page-home .home-compat__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.page-home .home-compat__card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--track);
}

.page-home .home-compat__card h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
}

.page-home .home-compat__card p {
  margin: 0 0 1.1rem;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .home-compat__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 245, 196, .35);
}

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

.page-home .home-compat__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--arena);
}

.page-home .home-compat__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

/* ---------- 更新节奏 ---------- */
.page-home .home-cadence__bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.page-home .home-cadence__step {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.1rem 1.2rem;
  background: var(--arena);
}

.page-home .home-cadence__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--slate);
}

.page-home .home-cadence__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--signal);
}

.page-home .home-cadence__hint {
  font-size: 13px;
  color: var(--slate);
}

.page-home .home-cadence__more {
  margin-top: 1rem;
  padding: .2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 27, 51, .62);
}

.page-home .home-cadence__more summary {
  cursor: pointer;
  padding: .9rem 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--signal-soft);
  list-style: none;
}

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

.page-home .home-cadence__more summary::before {
  content: "+ ";
  color: var(--signal);
}

.page-home .home-cadence__more[open] summary::before {
  content: "\2212 ";
}

.page-home .home-cadence__log {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .8rem;
}

.page-home .home-cadence__log li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

.page-home .home-cadence__log p {
  margin: 0;
  flex: 1 1 15rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 收束区 ---------- */
.page-home .home-cta {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 138, 61, .12), transparent 58%),
    linear-gradient(140deg, rgba(43, 245, 196, .12), rgba(43, 245, 196, 0) 62%),
    var(--track);
}

.page-home .home-cta h2 {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  color: var(--paper);
}

.page-home .home-cta p {
  margin: 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.3rem;
}

/* ---------- 小屏微调 ---------- */
@media (max-width: 480px) {
  .page-home .home-hero__title {
    font-size: clamp(26px, 8.4vw, 32px);
  }

  .page-home .home-band__caption {
    text-align: left;
  }
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 640px) {
  .page-home .home-round__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .page-home .home-cadence__bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .home-index {
    display: block;
  }

  .page-home .home-index__card {
    width: 72%;
    max-width: 560px;
  }

  .page-home .home-index__card:nth-child(1) {
    margin-inline-start: 0;
    margin-top: 0;
  }

  .page-home .home-index__card:nth-child(2) {
    width: 62%;
    margin-inline-start: 14%;
    margin-top: 32px;
  }

  .page-home .home-index__card:nth-child(3) {
    width: 55%;
    margin-inline-start: 28%;
    margin-top: 64px;
  }

  .page-home .home-board__layout {
    grid-template-columns: 1.02fr .98fr;
    gap: 1.75rem;
    align-items: start;
  }

  .page-home .home-review {
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: center;
  }

  .page-home .home-compat__grid {
    grid-template-columns: 1fr 1.08fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .page-home .home-round__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__card,
  .page-home .home-round__cell,
  .page-home .home-compat__link,
  .page-home .filter-chip {
    transition: none;
  }

  .page-home .home-index__card:hover,
  .page-home .home-index__card:focus-visible {
    transform: none;
  }
}
