.page-products {
  --pr-gap: 24px;
  --pr-hair: 1px solid var(--wb-line);
}

/* ---------- Hero ---------- */
.page-products .pr-hero {
  padding-top: clamp(28px, 4vw, 48px);
  border-bottom: 0;
}

.page-products .pr-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-products .pr-hero__title {
  margin: 12px 0 18px;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--wb-paper);
}

.page-products .pr-hero__lead {
  max-width: 40ch;
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 15px;
  line-height: 1.85;
  color: var(--wb-mist);
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pr-hero__figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--wb-line);
  border: var(--pr-hair);
}

.page-products .pr-hero__figures > .wb-stat {
  background: var(--wb-night);
  padding: 20px 16px;
}

/* ---------- Band 横向色带 ---------- */
.page-products .pr-band {
  position: relative;
  margin-top: clamp(28px, 4vw, 56px);
  border-top: var(--pr-hair);
  border-bottom: var(--pr-hair);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 6, 22, 0.94) 0%, rgba(21, 10, 46, 0.6) 46%, rgba(11, 6, 22, 0.94) 100%),
    repeating-linear-gradient(90deg, var(--wb-line) 0 1px, transparent 1px 72px);
}

.page-products .pr-band__img {
  display: block;
  width: 100%;
  height: clamp(140px, 22vw, 240px);
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.page-products .pr-band__caption {
  position: absolute;
  left: var(--wb-gutter);
  right: var(--wb-gutter);
  bottom: 18px;
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--wb-paper);
}

/* ---------- 通用区块 ---------- */
.page-products .pr-sect {
  border-top: var(--pr-hair);
}

.page-products .pr-sect__intro {
  max-width: 42ch;
  margin: 14px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--wb-mist);
}

.page-products .pr-sect__note {
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--wb-amber);
  font-family: var(--wb-font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--wb-mist);
  max-width: 62ch;
}

.page-products .pr-sect__note a {
  color: var(--wb-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s var(--wb-ease);
}

.page-products .pr-sect__note a:hover {
  border-bottom-color: var(--wb-cyan);
}

/* ---------- 九宫格索引 ---------- */
.page-products .pr-index {
  margin-top: 28px;
}

.page-products .pr-index .wb-index-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  justify-content: flex-end;
  padding: 16px;
  background: var(--wb-deep);
}

.page-products .pr-index__meta {
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--wb-mist);
}

.page-products .pr-index .wb-index-cell:hover .pr-index__meta {
  color: var(--wb-night);
}

/* ---------- 更新分布 ---------- */
.page-products .pr-dist {
  margin-top: 28px;
  border-top: var(--pr-hair);
}

.page-products .pr-dist__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name num"
    "track track"
    "freq freq";
  gap: 8px 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: var(--pr-hair);
}

.page-products .pr-dist__name {
  grid-area: name;
  font-family: var(--wb-font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--wb-paper);
}

.page-products .pr-dist__num {
  grid-area: num;
  font-family: var(--wb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  color: var(--wb-cyan);
}

.page-products .pr-dist__track {
  grid-area: track;
  display: block;
  height: 6px;
  background: var(--wb-deep);
  border: 1px solid var(--wb-line);
}

.page-products .pr-dist__bar {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  background: linear-gradient(90deg, var(--wb-cyan), var(--wb-amber));
  transition: width 0.5s var(--wb-ease);
}

.page-products .pr-dist__row:hover .pr-dist__bar {
  background: linear-gradient(90deg, var(--wb-amber), var(--wb-magenta));
}

.page-products .pr-dist__freq {
  grid-area: freq;
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wb-mist);
}

/* ---------- 分类看点 ---------- */
.page-products .pr-feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pr-gap);
  margin-top: 28px;
}

.page-products .pr-feat__card {
  display: flex;
  flex-direction: column;
  border: var(--pr-hair);
  background: var(--wb-deep);
  transition: border-color 0.24s var(--wb-ease);
}

.page-products .pr-feat__card:hover {
  border-color: var(--wb-cyan);
}

.page-products .pr-feat__media {
  position: relative;
  overflow: hidden;
  border-bottom: var(--pr-hair);
  background: var(--wb-panel);
}

.page-products .pr-feat__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s var(--wb-ease);
}

.page-products .pr-feat__card:hover .pr-feat__media img {
  transform: scale(1.03);
}

.page-products .pr-feat__body {
  padding: 18px 18px 22px;
}

.page-products .pr-feat__title {
  margin: 12px 0 8px;
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  color: var(--wb-paper);
}

.page-products .pr-feat__text {
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--wb-mist);
}

/* ---------- 两栏分隔 ---------- */
.page-products .pr-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
  margin-top: 28px;
}

/* ---------- 周期刻度尺 ---------- */
.page-products .pr-scale {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--wb-line);
  border: var(--pr-hair);
}

.page-products .pr-scale__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 4px;
  background: var(--wb-night);
  text-align: center;
}

.page-products .pr-scale__day b {
  font-family: var(--wb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  color: var(--wb-mist);
}

.page-products .pr-scale__day em {
  font-family: var(--wb-font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--wb-mist);
  opacity: 0.7;
}

.page-products .pr-scale__day.is-passed {
  background: var(--wb-deep);
}

.page-products .pr-scale__day.is-passed b,
.page-products .pr-scale__day.is-passed em {
  color: var(--wb-cyan);
}

.page-products .pr-scale__day.is-now {
  background: linear-gradient(180deg, var(--wb-panel), var(--wb-deep));
  box-shadow: inset 0 -3px 0 0 var(--wb-magenta);
}

.page-products .pr-scale__day.is-now b {
  color: var(--wb-magenta);
  font-size: 26px;
}

.page-products .pr-scale__day.is-now em {
  color: var(--wb-paper);
  opacity: 1;
}

/* ---------- 流程步骤 ---------- */
.page-products .pr-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: pr-step;
}

.page-products .pr-steps__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: var(--pr-hair);
}

.page-products .pr-steps__item:first-child {
  border-top: var(--pr-hair);
}

.page-products .pr-steps__idx {
  grid-row: span 2;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  color: var(--wb-vermilion);
}

.page-products .pr-steps__title {
  margin: 0;
  font-family: var(--wb-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--wb-paper);
}

.page-products .pr-steps__text {
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--wb-mist);
}

.page-products .pr-advice {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed var(--wb-line);
  background: var(--wb-deep);
}

.page-products .pr-advice__title {
  margin: 0 0 8px;
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wb-amber);
}

.page-products .pr-advice__text {
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--wb-paper);
}

/* ---------- 侧栏 ---------- */
.page-products .pr-cyclefig {
  margin: 0 0 var(--pr-gap);
  border: var(--pr-hair);
  background: var(--wb-panel);
}

.page-products .pr-cyclefig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: 0.9;
}

.page-products .pr-cyclefig__cap {
  padding: 12px 14px;
  border-top: var(--pr-hair);
  font-family: var(--wb-font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--wb-mist);
}

.page-products .pr-asidecard {
  margin-bottom: var(--pr-gap);
  background: var(--wb-panel);
}

.page-products .pr-asidecard--warn {
  border-left: 3px solid var(--wb-vermilion);
}

.page-products .pr-asidelist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-products .pr-asidelist li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-family: var(--wb-font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--wb-mist);
  border-bottom: 1px dashed var(--wb-line);
}

.page-products .pr-asidelist li:last-child {
  border-bottom: 0;
}

.page-products .pr-asidelist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--wb-cyan);
}

.page-products .pr-asidecard__note {
  margin: 12px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--wb-mist);
  opacity: 0.85;
}

.page-products .pr-asidecard .wb-card__text a {
  color: var(--wb-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s var(--wb-ease);
}

.page-products .pr-asidecard .wb-card__text a:hover {
  border-bottom-color: var(--wb-cyan);
}

/* ---------- 额度流水 ---------- */
.page-products .pr-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--pr-hair);
}

.page-products .pr-ledger__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "time val"
    "desc desc";
  gap: 4px 12px;
  align-items: baseline;
  padding: 14px 12px;
  border-bottom: var(--pr-hair);
  background: transparent;
  transition: background-color 0.24s var(--wb-ease), border-color 0.24s var(--wb-ease);
}

.page-products .pr-ledger__row:hover {
  background: var(--wb-deep);
  border-bottom-color: var(--wb-cyan);
}

.page-products .pr-ledger__time {
  grid-area: time;
  font-family: var(--wb-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--wb-mist);
}

.page-products .pr-ledger__desc {
  grid-area: desc;
  font-family: var(--wb-font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--wb-paper);
}

.page-products .pr-ledger__val {
  grid-area: val;
  font-family: var(--wb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-products .pr-ledger__val.is-plus {
  color: var(--wb-amber);
}

.page-products .pr-ledger__val.is-minus {
  color: var(--wb-vermilion);
}

.page-products .pr-ledger__hint {
  margin: 14px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--wb-mist);
}

/* ---------- 订阅 ---------- */
.page-products .pr-sub {
  margin-top: 28px;
  border-top: var(--pr-hair);
}

.page-products .pr-sub__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: var(--pr-hair);
}

.page-products .pr-sub__info {
  min-width: 0;
  flex: 1 1 220px;
}

.page-products .pr-sub__name {
  margin: 0;
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--wb-paper);
}

.page-products .pr-sub__desc {
  margin: 6px 0 0;
  font-family: var(--wb-font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--wb-mist);
}

.page-products .pr-sub__btn {
  flex: 0 0 auto;
}

/* ---------- 收尾 ---------- */
.page-products .pr-outro__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: clamp(24px, 3.4vw, 40px);
  border: var(--pr-hair);
  border-left: 3px solid var(--wb-amber);
  background:
    linear-gradient(120deg, var(--wb-deep) 0%, var(--wb-panel) 100%);
}

.page-products .pr-outro__title {
  margin: 0 0 12px;
  font-family: var(--wb-font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wb-paper);
}

.page-products .pr-outro__lead {
  max-width: 44ch;
  margin: 0;
  font-family: var(--wb-font-mono);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--wb-mist);
}

.page-products .pr-outro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 平板起 ---------- */
@media (min-width: 720px) {
  .page-products .pr-hero__figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pr-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-dist__row {
    grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr) 48px 110px;
    grid-template-areas: "name track num freq";
    gap: 16px;
  }

  .page-products .pr-feat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-outro__box {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-products .pr-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .page-products .pr-hero__figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .page-products .pr-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 0;
  }

  .page-products .pr-split__main {
    padding-right: clamp(28px, 3.2vw, 48px);
    border-right: 1px solid var(--wb-line);
  }

  .page-products .pr-split__aside {
    padding-left: clamp(24px, 2.8vw, 40px);
  }

  .page-products .pr-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-dist__bar,
  .page-products .pr-feat__media img {
    transition: none;
  }
}
</final>

.page-products {
  --w: 1rem;
}
