/* ===== 玩法与规则中心 /business/ ===== */
.page-products {
  --pr-gap: 18px;
  --pr-radius: 18px;
  background-color: var(--felt-900);
  color: var(--ivory);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-products .container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-products p { margin: 0 0 1em; }
.page-products h1,
.page-products h2,
.page-products h3 { margin: 0; font-weight: 800; }

.page-products a { color: var(--gold-light); }

.page-products .lead {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(243, 238, 227, .84);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--mist);
}

.page-products .breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--gold-line);
}

.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.page-products .breadcrumbs a:hover { color: var(--gold-light); }

/* ---------- 首屏 ---------- */
.pr-hero {
  position: relative;
  padding: 24px 0 46px;
  background:
    radial-gradient(120% 92% at 88% 0%, rgba(201, 162, 39, .16), transparent 62%),
    linear-gradient(180deg, var(--felt-850), var(--felt-900));
}

.pr-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.pr-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
}

.pr-hero__title {
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: .01em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
  margin-bottom: 16px;
}

.pr-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.pr-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--gold-line);
}

.pr-hero__fact-num {
  font-family: var(--font-num);
  font-size: 34px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold);
}

.pr-hero__fact-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}

.pr-hero__figure {
  margin: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-2);
  background: var(--felt-800);
}

.pr-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ---------- 章节目录条 ---------- */
.pr-toc {
  position: sticky;
  top: 84px;
  z-index: 6;
  padding: 8px 0;
  background: rgba(11, 33, 25, .94);
  border-block: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.pr-toc__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pr-toc__list::-webkit-scrollbar { display: none; }

.pr-toc__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}

.pr-toc__link span {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold-line);
}

.pr-toc__link:hover {
  color: var(--ivory);
  background: rgba(27, 74, 56, .7);
}

.pr-toc__link.is-active {
  color: var(--felt-900);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

.pr-toc__link.is-active span { color: rgba(11, 33, 25, .6); }

/* ---------- 章节骨架 ---------- */
.pr-section {
  padding: 52px 0;
  position: relative;
}

.pr-section--alt {
  background: linear-gradient(180deg, var(--felt-850), var(--felt-900));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pr-head {
  position: relative;
  padding-left: 18px;
  margin-bottom: 30px;
}

.pr-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-line));
}

.pr-head__num {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 7px;
}

.pr-head__title {
  font-size: 25px;
  line-height: 1.25;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.pr-head__sub {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 238, 227, .74);
}

/* ---------- 筛选胶囊 ---------- */
.pr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pr-chip {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(27, 74, 56, .55);
  color: var(--ivory);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.pr-chip:hover { border-color: var(--line-strong); }

.pr-chip[aria-pressed="true"],
.pr-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--felt-900);
  font-weight: 600;
}

/* ---------- 玩法卡片 ---------- */
.pr-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pr-gap);
  align-items: start;
}

.pr-card {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: var(--r-m);
  background: linear-gradient(165deg, var(--felt-700), var(--felt-800));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.pr-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0) 78%);
}

.pr-card.is-hidden { display: none; }

.pr-card__idx {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 8px;
}

.pr-card__title {
  font-size: 18px;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.pr-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(243, 238, 227, .78);
}

.pr-card__more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}

.pr-card__more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--gold-light);
}

.pr-card__more summary::-webkit-details-marker { display: none; }

.pr-card__more summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--gold-line);
  border-radius: 5px;
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 1;
  color: var(--gold);
}

.pr-card__more[open] summary::before { content: "–"; }

.pr-card__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.pr-card__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

.pr-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
}

@media (hover: hover) {
  .pr-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-1);
  }
}

/* ---------- 图文分栏 ---------- */
.pr-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
  padding: 22px;
  border-radius: var(--r-l);
  background: rgba(18, 48, 36, .72);
  border: 1px solid var(--line-soft);
}

.pr-split__media {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--felt-700);
}

.pr-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pr-split__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.pr-split__text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(243, 238, 227, .8);
}

.pr-split__text p:last-child { margin-bottom: 0; }

/* ---------- 三层读法 ---------- */
.pr-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pr-layer {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-m);
  background: linear-gradient(150deg, rgba(27, 74, 56, .92), rgba(18, 48, 36, .96));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
}

.pr-layer__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(201, 162, 39, .14);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.pr-layer__title {
  font-size: 21px;
  margin-bottom: 10px;
}

.pr-layer__body {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(243, 238, 227, .82);
}

.pr-layer__when {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--jade);
}

/* ---------- 通用配图 ---------- */
.pr-figure {
  margin: 34px 0 0;
}

.pr-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-m);
  border: 1px solid var(--line-soft);
  background: var(--felt-800);
}

.pr-figure figcaption,
.pr-steps__aside figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 段位 ---------- */
.pr-rank-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: var(--r-l);
  background: rgba(18, 48, 36, .6);
  border: 1px solid var(--line-soft);
}

.pr-rank-intro__media {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--felt-700);
}

.pr-rank-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pr-rank-intro__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(243, 238, 227, .8);
}

.pr-ranks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pr-rank {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: linear-gradient(120deg, rgba(18, 48, 36, .9), rgba(11, 33, 25, .9));
  border: 1px solid var(--line-soft);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.pr-rank:hover { border-color: var(--line-strong); }

.pr-rank__num {
  font-family: var(--font-num);
  font-size: 26px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold);
  min-width: 44px;
}

.pr-rank__name {
  font-size: 17px;
  margin-bottom: 4px;
}

.pr-rank__range {
  margin: 0 0 8px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--gold-light);
}

.pr-rank__bar {
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(110, 90, 31, .32);
  overflow: hidden;
  margin-bottom: 8px;
}

.pr-rank__bar span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--jade), #7FD3BE);
}

.pr-rank:nth-child(1) .pr-rank__bar span { width: 10%; }
.pr-rank:nth-child(2) .pr-rank__bar span { width: 21%; }
.pr-rank:nth-child(3) .pr-rank__bar span { width: 33%; }
.pr-rank:nth-child(4) .pr-rank__bar span { width: 44%; }
.pr-rank:nth-child(5) .pr-rank__bar span { width: 56%; }
.pr-rank:nth-child(6) .pr-rank__bar span { width: 67%; }
.pr-rank:nth-child(7) .pr-rank__bar span { width: 79%; }
.pr-rank:nth-child(8) .pr-rank__bar span { width: 90%; }
.pr-rank:nth-child(9) .pr-rank__bar span { width: 100%; }

.pr-rank__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.pr-note {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--jade);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: rgba(63, 148, 131, .1);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 238, 227, .82);
}

/* ---------- 四步教程 ---------- */
.pr-steps-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: pr-step;
}

.pr-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-m);
  background: rgba(27, 74, 56, .5);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
}

.pr-step__num {
  font-family: var(--font-num);
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: .04em;
}

.pr-step__title {
  font-size: 17px;
  margin-bottom: 8px;
}

.pr-step__body {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 238, 227, .82);
}

.pr-step__trap {
  margin: 0 0 10px;
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--cinnabar);
}

.pr-step__trap::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  background: var(--cinnabar);
  transform: rotate(45deg);
}

.pr-step__time {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--gold-line);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold-light);
}

.pr-steps__aside {
  margin: 0;
  align-self: start;
}

.pr-steps__aside img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-m);
  border: 1px solid var(--line-soft);
  background: var(--felt-800);
}

/* ---------- 三步定位 ---------- */
.pr-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.pr-path__item {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-m);
  background: linear-gradient(160deg, rgba(27, 74, 56, .85), rgba(18, 48, 36, .95));
  border: 1px solid var(--line-soft);
}

.pr-path__num {
  display: block;
  font-family: var(--font-num);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(201, 162, 39, .55);
  margin-bottom: 10px;
}

.pr-path__title {
  font-size: 17px;
  margin-bottom: 8px;
}

.pr-path__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 238, 227, .8);
}

/* ---------- 校对与更新 ---------- */
.pr-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pr-check__col {
  padding: 22px;
  border-radius: var(--r-m);
  background: rgba(18, 48, 36, .88);
  border: 1px solid var(--line-soft);
}

.pr-check__title {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold-light);
}

.pr-check__col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 238, 227, .82);
}

.pr-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--r-l);
  background: linear-gradient(120deg, rgba(201, 162, 39, .14), rgba(176, 58, 46, .1));
  border: 1px solid var(--line-strong);
}

.pr-callout__text {
  margin: 0;
  flex: 1 1 260px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 238, 227, .86);
}

/* ---------- 按钮 ---------- */
.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.pr-btn--gold {
  background: var(--gold);
  color: var(--felt-900);
  border-color: var(--gold);
}

.pr-btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.pr-btn--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--line-strong);
}

.pr-btn--ghost:hover { color: var(--felt-900); background: var(--gold-light); border-color: var(--gold-light); }

@media (hover: hover) {
  .pr-btn:hover { transform: translateY(-2px); }
}

/* ---------- 收尾 ---------- */
.pr-end {
  padding: 46px 0 58px;
  background:
    radial-gradient(110% 120% at 12% 100%, rgba(63, 148, 131, .16), transparent 62%),
    var(--felt-850);
  border-top: 1px solid var(--line-soft);
}

.pr-end__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.pr-end__title {
  font-size: 24px;
  margin-bottom: 12px;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.pr-end__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(243, 238, 227, .8);
}

.pr-end__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 进场显现 ---------- */
.page-products [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-products [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .page-products [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .pr-hero__title { font-size: 38px; }
  .pr-head__title { font-size: 28px; }
  .pr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-rank-intro { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (min-width: 880px) {
  .pr-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pr-layer:nth-child(2) { margin-top: 20px; }
  .pr-layer:nth-child(3) { margin-top: 40px; }
  .pr-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 30px; }
  .pr-end__inner { grid-template-columns: minmax(0, 1.4fr) auto; }
}

@media (min-width: 960px) {
  .page-products .container { padding-inline: 28px; }

  .pr-hero { padding: 32px 0 58px; }
  .pr-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 44px;
  }
  .pr-hero__title { font-size: 46px; }
  .pr-hero__fact-num { font-size: 40px; }

  .pr-section { padding: 68px 0; }
  .pr-head__title { font-size: 32px; }
  .pr-head { margin-bottom: 38px; }

  .pr-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .pr-card:nth-child(3n + 2) { margin-top: 26px; }
  .pr-card:nth-child(3n) { margin-top: 52px; }

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

  .pr-steps-wrap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; }
  .pr-steps__aside { margin-top: 40px; }

  .pr-rank-intro { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
}

@media (min-width: 1180px) {
  .pr-hero__title { font-size: 52px; }
  .pr-head__title { font-size: 34px; }
}

/* 移动端：目录条取消吸顶，避免与顶部导航重叠 */
@media (max-width: 900px) {
  .pr-toc { position: static; backdrop-filter: none; }
}

@media (max-width: 420px) {
  .pr-hero__facts { gap: 12px 20px; }
  .pr-hero__fact-num { font-size: 28px; }
  .pr-step,
  .pr-rank { grid-template-columns: 1fr; gap: 8px; }
  .pr-rank__num { min-width: 0; }
}
