.page-home {
  --home-pad: clamp(20px, 4.6vw, 56px);
  --home-curve-a: 38px 10px 32px 12px;
  --home-curve-b: 12px 34px 10px 30px;
  background: var(--ivory);
  color: var(--ink);
  overflow-x: clip;
}

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

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

/* ---------- 封面 ---------- */
.page-home .cover {
  position: relative;
  padding: clamp(28px, 5vw, 62px) 0 clamp(38px, 6vw, 82px);
  background:
    radial-gradient(circle at 86% 6%, rgba(232, 178, 58, 0.26), transparent 44%),
    radial-gradient(circle at 6% 92%, rgba(196, 58, 47, 0.1), transparent 52%),
    linear-gradient(178deg, #F8F2E6 0%, #F8F2E6 66%, #EFE2C6 100%);
}

.page-home .cover::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 18%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(232, 178, 58, 0.55);
  pointer-events: none;
}

.page-home .cover__inner {
  display: grid;
  gap: clamp(26px, 5vw, 46px);
  position: relative;
  z-index: 1;
}

.page-home .cover__text h1 {
  margin: 10px 0 0;
  font-size: clamp(38px, 8.4vw, 78px);
  font-weight: 900;
  line-height: 1.04;
}

.page-home .cover__text .hl {
  background: linear-gradient(transparent 60%, var(--gold-soft) 60%);
  padding-inline: 0.06em;
}

.page-home .cover__lead {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  max-width: 36em;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  color: #2c2722;
}

.page-home .cover__paths {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-home .path {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-left: 3px solid var(--red);
  border-radius: 16px 6px 16px 6px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.page-home .path:hover,
.page-home .path:focus-visible {
  background: #fff;
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.page-home .path__num {
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.04em;
}

.page-home .path__label {
  font-size: clamp(15px, 1.5vw, 17px);
}

.page-home .path__arrow {
  margin-left: auto;
  color: var(--grey);
}

.page-home .cover__art {
  position: relative;
  padding: 14px 14px 0 0;
}

.page-home .cover__art::before {
  content: "";
  position: absolute;
  inset: 0 0 26px 30px;
  background: linear-gradient(140deg, var(--gold) 0%, #d99a24 62%, var(--red) 100%);
  border-radius: var(--home-curve-a);
  z-index: 0;
}

.page-home .cover__art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--home-curve-a);
  box-shadow: var(--shadow-soft);
}

.page-home .cover__seal {
  position: absolute;
  z-index: 2;
  right: 0;
  top: -18px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff8ec;
  font-size: 15px;
  font-weight: 700;
  transform: rotate(-9deg);
  box-shadow: 0 12px 26px -14px rgba(21, 18, 16, 0.8);
}

.page-home .cover__note {
  position: absolute;
  z-index: 2;
  left: 6px;
  bottom: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- 数据带 ---------- */
.page-home .numbers {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(30px, 4.4vw, 56px) 0;
}

.page-home .numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(248, 242, 230, 0.16);
  border-radius: 22px 6px 22px 6px;
  overflow: hidden;
}

.page-home .numbers__item {
  background: var(--ink);
  padding: clamp(16px, 2.4vw, 26px);
}

.page-home .numbers__item dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(248, 242, 230, 0.62);
}

.page-home .numbers__item dd {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--gold);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.1;
  font-weight: 700;
}

.page-home .numbers__plus,
.page-home .numbers__unit {
  font-family: var(--font-mono);
  font-size: 0.5em;
  color: var(--gold-soft);
  font-weight: 500;
}

.page-home .numbers__foot {
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 242, 230, 0.58);
  max-width: 44em;
}

/* ---------- 新手三步 ---------- */
.page-home .start {
  padding: clamp(40px, 6vw, 86px) 0;
  background: linear-gradient(180deg, #EFE2C6 0%, #F2E7D0 100%);
}

.page-home .start__inner {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
}

.page-home .start__tree h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.12;
}

.page-home .start__intro {
  margin: 14px 0 0;
  max-width: 32em;
  color: var(--grey);
  line-height: 1.8;
  font-size: 15px;
}

.page-home .tree {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  position: relative;
}

.page-home .tree::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 30px;
  border-left: 2px dashed rgba(196, 58, 47, 0.42);
}

.page-home .tree__item {
  position: relative;
}

.page-home .step {
  border-radius: 14px;
}

.page-home .step summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 10px 9px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-home .step summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 10px;
}

.page-home .step__dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff6e8;
  font-size: 13px;
  font-weight: 700;
  transition: background 200ms var(--ease-out);
}

.page-home .step[open] .step__dot {
  background: var(--ink);
  color: var(--gold);
}

.page-home .step__name {
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 19px);
}

.page-home .step__meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--grey);
  white-space: nowrap;
}

.page-home .step__body {
  margin: 2px 0 14px 52px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #4a423b;
}

.page-home .start__tip {
  margin: 22px 0 0;
  padding: 12px 16px;
  border-radius: 12px 4px 12px 4px;
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--green);
  font-size: 14px;
  color: #3d362f;
  line-height: 1.75;
}

.page-home .start__art {
  margin: 0;
  position: relative;
}

.page-home .start__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--home-curve-b);
  box-shadow: var(--shadow-soft);
}

.page-home .start__art figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
  font-family: var(--font-brush);
  letter-spacing: 0.02em;
}

/* ---------- 稳定版速览 ---------- */
.page-home .stable {
  padding: clamp(42px, 6vw, 88px) 0;
  background: var(--ivory);
}

.page-home .section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.page-home .section-head .lead {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--grey);
  line-height: 1.8;
  font-size: 15.5px;
}

.page-home .stable__grid {
  display: grid;
  gap: clamp(24px, 3.6vw, 40px);
  margin-top: clamp(24px, 3.6vw, 38px);
  align-items: center;
}

.page-home .stable__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .stable__list li {
  padding-left: 22px;
  position: relative;
  line-height: 1.8;
  font-size: 15px;
  color: #3a332c;
}

.page-home .stable__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .stable__k {
  display: inline-block;
  min-width: 3.2em;
  margin-right: 8px;
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.06em;
}

.page-home .stable__art {
  margin: 0;
  position: relative;
  padding-bottom: 6px;
}

.page-home .stable__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 10px 30px 10px 30px;
  border: 2px solid rgba(232, 178, 58, 0.6);
}

.page-home .stable__views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-home .stable__views .chip {
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--sand);
  color: #4a3c25;
  border: 1px solid rgba(232, 178, 58, 0.55);
}

.page-home .stable__art figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
}

/* ---------- 赛季快报 ---------- */
.page-home .brief {
  padding: clamp(42px, 6vw, 88px) 0 clamp(52px, 7vw, 96px);
  background:
    radial-gradient(circle at 92% 0%, rgba(196, 58, 47, 0.28), transparent 46%),
    var(--ink);
  color: var(--ivory);
}

.page-home .brief .section-head h2 {
  color: var(--ivory);
}

.page-home .brief .section-head .lead {
  color: rgba(248, 242, 230, 0.66);
}

.page-home .brief .eyebrow {
  color: var(--gold);
}

.page-home .brief__stream {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 3.6vw, 38px);
}

.page-home .brief__card {
  padding: 20px 20px 18px;
  border-radius: 6px 22px 6px 22px;
  background: rgba(248, 242, 230, 0.07);
  border-left: 3px solid var(--gold);
}

.page-home .brief__card h3 {
  margin: 10px 0 8px;
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 800;
  line-height: 1.35;
  color: #fffaf0;
}

.page-home .brief__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 242, 230, 0.72);
}

.page-home .brief__time {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  margin: 0;
}

.page-home .brief__card .badge {
  margin-top: 14px;
  display: inline-block;
}

.page-home .brief__more {
  display: inline-block;
  margin-top: clamp(30px, 4vw, 44px);
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(232, 178, 58, 0.4);
  padding-bottom: 3px;
}

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

/* ---------- 记录可查 ---------- */
.page-home .records {
  padding: clamp(42px, 6vw, 88px) 0;
  background: linear-gradient(180deg, #F8F2E6 0%, #EFE2C6 100%);
}

.page-home .records__inner {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}

.page-home .records__text h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.14;
}

.page-home .records__text .lead {
  margin: 14px 0 0;
  max-width: 34em;
  color: #433b33;
  line-height: 1.85;
  font-size: 15.5px;
}

.page-home .records__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(20px, 3vw, 30px) 0;
}

.page-home .records__stats > div {
  padding: 14px 12px;
  border-radius: 14px 4px 14px 4px;
  background: rgba(255, 255, 255, 0.7);
}

.page-home .records__stats .num {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--red);
}

.page-home .records__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  margin-left: 2px;
}

.page-home .records__stats p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey);
}

.page-home .records__panel {
  background: #fffdf8;
  border-radius: 6px 26px 6px 26px;
  padding: clamp(18px, 2.6vw, 26px);
  box-shadow: var(--shadow-soft);
}

.page-home .records__panel-head {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

.page-home .records__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(21, 18, 16, 0.16);
}

.page-home .records__row:last-of-type {
  border-bottom: none;
}

.page-home .records__id {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .records__meta {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--grey);
}

.page-home .records__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 18, 16, 0.1);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--grey);
}

/* ---------- 订阅收束 ---------- */
.page-home .join {
  padding: clamp(36px, 5vw, 72px) 0 clamp(46px, 6vw, 88px);
  background: var(--ivory);
}

.page-home .join__inner {
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border-radius: 42px 12px 42px 12px;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 178, 58, 0.34), transparent 44%),
    linear-gradient(126deg, #C43A2F 0%, #8E231C 78%);
  color: #F8F2E6;
  box-shadow: var(--shadow-soft);
}

.page-home .join__text h2 {
  margin: 0;
  font-size: clamp(25px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.16;
  color: #fffaf0;
}

.page-home .join__text p {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(248, 242, 230, 0.86);
}

.page-home .join__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .join__cta .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .join__cta .btn--ghost {
  background: transparent;
  border: 2px solid rgba(248, 242, 230, 0.68);
  color: #fffaf0;
}

.page-home .join__cta .btn--ghost:hover,
.page-home .join__cta .btn--ghost:focus-visible {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

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

.page-home .join__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px 6px 24px 6px;
  border: 2px solid rgba(247, 217, 139, 0.45);
}

.page-home .join__aside {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--grey);
}

.page-home .join__aside a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 58, 47, 0.35);
  padding-bottom: 2px;
}

.page-home .join__aside a:hover,
.page-home .join__aside a:focus-visible {
  border-bottom-color: var(--red);
}

/* ---------- 桌面端布局 ---------- */
@media (min-width: 760px) {
  .page-home .brief__stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .brief__card--wide {
    grid-column: 1 / -1;
  }

  .page-home .brief__card:nth-child(2n) {
    transform: translateY(18px);
  }

  .page-home .brief__stream {
    padding-bottom: 18px;
  }
}

@media (min-width: 900px) {
  .page-home .cover__inner {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
    align-items: end;
    gap: clamp(32px, 4vw, 58px);
  }

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

  .page-home .path {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-left: none;
    border-top: 3px solid var(--red);
    padding: 14px 14px 16px;
  }

  .page-home .path:hover,
  .page-home .path:focus-visible {
    border-top-color: var(--gold);
    transform: translateY(-4px);
  }

  .page-home .path__arrow {
    margin-left: 0;
    margin-top: auto;
    align-self: flex-end;
  }

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

  .page-home .start__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 54px);
  }

  .page-home .stable__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(30px, 4vw, 52px);
  }

  .page-home .records__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-home .join__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (min-width: 1080px) {
  .page-home .brief__stream {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px 22px;
  }

  .page-home .brief__card {
    grid-column: span 6;
  }

  .page-home .brief__card:nth-child(1) {
    grid-column: span 7;
  }

  .page-home .brief__card:nth-child(2) {
    grid-column: span 5;
    transform: translateY(30px);
  }

  .page-home .brief__card:nth-child(3) {
    grid-column: span 4;
    transform: none;
  }

  .page-home .brief__card:nth-child(4) {
    grid-column: span 4;
    transform: translateY(30px);
  }

  .page-home .brief__card:nth-child(5) {
    grid-column: span 4;
  }

  .page-home .brief__card--wide {
    grid-column: 2 / 12 !important;
  }

  .page-home .brief__stream {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path,
  .page-home .step__dot,
  .page-home .brief__card {
    transition: none !important;
    transform: none !important;
  }
}
