.page-home {
  --home-gap: clamp(1rem, 3vw, 2.25rem);
  --home-sec: clamp(3rem, 7vw, 5.5rem);
  counter-reset: chain;
}

.page-home .crumb-trail {
  padding-block: clamp(1.25rem, 3vw, 2rem) 0;
}

.page-home .sect-head {
  max-width: 68ch;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.page-home .sect-note {
  margin-top: 0.75rem;
  color: var(--steel);
  line-height: 1.85;
  font-size: var(--fs-4);
}

.page-home .sect-tail {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  color: var(--steel);
  font-size: var(--fs-5);
  line-height: 1.85;
}

.page-home .sect-tail a {
  color: var(--gold-hi);
  text-decoration-color: rgba(212, 160, 23, 0.5);
  text-underline-offset: 0.24em;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: var(--home-gap);
  align-items: center;
  padding-block: clamp(1.75rem, 5vw, 3.25rem) clamp(2rem, 5vw, 3.75rem);
}

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

.page-home .home-title {
  margin: 0.5rem 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-1);
  line-height: 1.03;
  letter-spacing: -0.022em;
  background: linear-gradient(168deg, #F5D76E 0%, #D4A017 42%, #A87C12 76%, #7A5A0E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.page-home .lede {
  max-width: 62ch;
  color: var(--cream);
  opacity: 0.88;
  line-height: 1.9;
}

.page-home .chain-list {
  counter-reset: chain;
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-home .chain-list li {
  counter-increment: chain;
  min-width: 0;
}

.page-home .chain-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.44rem 0.9rem;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--cream);
  font-size: 0.83rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease), background 0.28s var(--ease);
}

.page-home .chain-list a::before {
  content: counter(chain, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .chain-list a:hover,
.page-home .chain-list a:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.1);
  color: var(--gold-hi);
}

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

.page-home .home-hero__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-home .home-hero__fig figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--gold-hi);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0) 0%, rgba(17, 18, 20, 0.88) 68%);
}

/* ---------- 通用区段 ---------- */
.page-home .home-change,
.page-home .home-quick,
.page-home .home-vendor {
  padding-block: var(--home-sec);
}

.page-home .home-keep,
.page-home .home-payout,
.page-home .home-ask {
  padding-block: var(--home-sec);
}

.page-home .home-keep {
  border-top: 1px solid var(--glass-line);
}

/* ---------- 对比区 ---------- */
.page-home .compare {
  display: grid;
  gap: var(--home-gap);
}

.page-home .compare__col {
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--glass-line);
  background: var(--glass);
}

.page-home .compare__col--keep {
  border-left: 3px solid var(--jade);
}

.page-home .compare__col--shift {
  border-left: 3px solid var(--gold);
}

.page-home .compare__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--cream);
}

.page-home .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.page-home .dot--jade {
  background: var(--jade);
  box-shadow: 0 0 12px rgba(46, 139, 122, 0.75);
}

.page-home .dot--gold {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.75);
}

.page-home .compare__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .compare__list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
  opacity: 0.86;
  line-height: 1.8;
  font-size: var(--fs-5);
}

.page-home .compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--steel);
  opacity: 0.7;
}

.page-home .compare__list li:last-child {
  margin-bottom: 0;
}

/* ---------- 找回路径 ---------- */
.page-home .keep__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

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

.page-home .keep__body > p:not(.sect-tail):not(.keep__cta) {
  max-width: 64ch;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.9;
}

.page-home .steps {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  border-left: 2px solid var(--glass-line);
}

.page-home .steps__item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 0 0 1.6rem 1.35rem;
}

.page-home .steps__item:last-child {
  padding-bottom: 0;
}

.page-home .steps__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
}

.page-home .steps__num {
  flex: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 0.2rem;
}

.page-home .steps__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--cream);
}

.page-home .steps__body p {
  margin: 0;
  color: var(--steel);
  line-height: 1.85;
  font-size: var(--fs-5);
}

.page-home .keep__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.page-home .keep__fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--ink-2);
}

.page-home .keep__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: transform 0.6s var(--ease);
}

.page-home .keep__fig:hover img {
  transform: scale(1.03);
}

.page-home .keep__fig figcaption {
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--steel);
  border-top: 1px solid var(--glass-line);
  background: var(--glass);
}

/* ---------- 两个高频小麻烦 ---------- */
.page-home .quick__pair {
  display: grid;
  gap: var(--home-gap);
}

.page-home .quick__card {
  padding: clamp(1.2rem, 3vw, 1.9rem);
  border-radius: var(--radius);
  border: 1px solid var(--glass-line);
  background: rgba(17, 18, 20, 0.45);
  backdrop-filter: blur(6px);
}

.page-home .quick__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--gold-hi);
}

.page-home .quick__line {
  margin: 0 0 1rem;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.88;
  font-size: var(--fs-5);
  max-width: 58ch;
}

.page-home .quick__link a {
  font-size: 0.86rem;
  color: var(--jade);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 139, 122, 0.45);
  padding-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

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

/* ---------- 派彩时段 ---------- */
.page-home .payout__fig {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--ink-2);
  position: relative;
}

.page-home .payout__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 7 / 3;
}

.page-home .payout__fig figcaption {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line-strong);
  background: rgba(17, 18, 20, 0.72);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: var(--gold-hi);
}

.page-home .clock {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-home .clock__slot {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "tag name"
    "time name";
  align-items: center;
  gap: 0.3rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-line);
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.page-home .clock__slot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--steel);
  opacity: 0.45;
}

.page-home .clock__tag {
  grid-area: tag;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
}

.page-home .clock__name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3);
  color: var(--cream);
  text-align: right;
}

.page-home .clock__time {
  grid-area: time;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-home .clock__slot--done::before {
  background: var(--jade);
  opacity: 1;
}

.page-home .clock__slot--done .clock__tag {
  color: var(--jade);
}

.page-home .clock__slot--now {
  border-color: rgba(212, 160, 23, 0.55);
  background: linear-gradient(120deg, rgba(212, 160, 23, 0.1) 0%, rgba(26, 28, 32, 1) 62%);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.14), 0 18px 40px -30px rgba(212, 160, 23, 0.9);
}

.page-home .clock__slot--now::before {
  background: var(--gold);
  opacity: 1;
}

.page-home .clock__slot--now .clock__tag {
  color: var(--gold-hi);
}

.page-home .clock__slot--now .clock__name {
  background: linear-gradient(168deg, #F5D76E 0%, #D4A017 60%, #A87C12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .clock__slot--now .clock__time {
  color: var(--gold-hi);
}

.page-home .payout__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.25rem, 3vw, 1.9rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--glass-line);
}

.page-home .payout__meta p {
  margin: 0;
  max-width: 62ch;
  color: var(--steel);
  line-height: 1.85;
  font-size: var(--fs-5);
}

.page-home .payout__link {
  flex: none;
}

/* ---------- 厂商专区 ---------- */
.page-home .vendor__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .vendor__fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--ink-2);
  order: 2;
}

.page-home .vendor__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .vendor__fig figcaption {
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--gold-hi);
  border-top: 1px solid var(--glass-line);
  background: rgba(17, 18, 20, 0.6);
}

.page-home .vendor__body {
  min-width: 0;
  order: 1;
}

.page-home .vendor__body > p:not(.sect-kicker):not(.vendor__hint):not(.vendor__cta) {
  max-width: 62ch;
  color: var(--cream);
  opacity: 0.86;
  line-height: 1.9;
}

.page-home .vendor__diff {
  margin: clamp(1.25rem, 3vw, 1.9rem) 0;
  padding: 0;
}

.page-home .vendor__row {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--glass-line);
}

.page-home .vendor__row:first-child {
  border-top: 1px solid var(--glass-line);
}

.page-home .vendor__row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-4);
  color: var(--gold-hi);
  margin-bottom: 0.35rem;
}

.page-home .vendor__row dd {
  margin: 0;
  color: var(--cream);
  opacity: 0.82;
  line-height: 1.85;
  font-size: var(--fs-5);
}

.page-home .vendor__hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-transform: uppercase;
}

.page-home .cloud {
  list-style: none;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-home .cloud__chip {
  display: inline-block;
  padding: 0.34rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  opacity: 0.8;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease);
}

.page-home .cloud__chip--gold {
  border-color: rgba(212, 160, 23, 0.5);
  color: var(--gold-hi);
  opacity: 1;
}

.page-home .cloud__chip--jade {
  border-color: rgba(46, 139, 122, 0.5);
  color: #6FC8B5;
  opacity: 1;
}

.page-home .cloud__chip:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  opacity: 1;
}

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

/* ---------- 回访问答 ---------- */
.page-home .ask {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--glass-line);
}

.page-home .ask__row {
  padding: clamp(1.1rem, 2.6vw, 1.55rem) 0;
  border-bottom: 1px solid var(--glass-line);
  display: grid;
  gap: 0.6rem;
}

.page-home .ask__row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3);
  color: var(--cream);
  letter-spacing: -0.008em;
}

.page-home .ask__row dd {
  margin: 0;
  max-width: 66ch;
  color: var(--steel);
  line-height: 1.9;
  font-size: var(--fs-5);
}

.page-home .ask__row dd a {
  color: var(--gold-hi);
  text-decoration-color: rgba(212, 160, 23, 0.45);
  text-underline-offset: 0.22em;
}

.page-home .ask__tail {
  margin: clamp(1.25rem, 3vw, 1.9rem) 0 0;
  color: var(--steel);
  font-size: var(--fs-5);
}

.page-home .ask__tail a {
  color: var(--jade);
  text-decoration-color: rgba(46, 139, 122, 0.45);
  text-underline-offset: 0.22em;
}

/* ---------- 栏目速览 ---------- */
.page-home .home-tail {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--glass-line);
}

.page-home .home-tail__title {
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.75rem);
  font-family: var(--font-display);
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 0.02em;
}

.page-home .home-tail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .home-tail__list li {
  min-width: 0;
}

.page-home .home-tail__list a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-4);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}

.page-home .home-tail__list a span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .home-tail__list a:hover,
.page-home .home-tail__list a:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.08);
  color: var(--gold-hi);
}

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

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

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

  .page-home .clock__slot {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "name"
      "time";
    text-align: left;
    gap: 0.45rem;
  }

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

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

@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .page-home .keep__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
  }

  .page-home .vendor__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
  }

  .page-home .vendor__fig {
    order: 1;
    position: sticky;
    top: calc(var(--ticker-h) + 1.5rem);
  }

  .page-home .vendor__body {
    order: 2;
  }

  .page-home .ask__row {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: baseline;
  }

  .page-home .ask__row dt {
    position: sticky;
    top: calc(var(--ticker-h) + 1.5rem);
  }
}

@media (min-width: 1200px) {
  .page-home .compare__col {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .keep__fig img,
  .page-home .chain-list a,
  .page-home .cloud__chip,
  .page-home .home-tail__list a {
    transition: none;
  }

  .page-home .keep__fig:hover img {
    transform: none;
  }
}
