.page-products {
  --prod-edge: 6px 6px 0 rgba(59, 47, 82, 0.55);
  --prod-glow-violet: 0 0 0 1px rgba(168, 85, 247, 0.55), 0 22px 60px -26px rgba(168, 85, 247, 0.8);
  --prod-glow-arcade: 0 0 0 1px rgba(56, 189, 248, 0.5), 0 22px 60px -26px rgba(56, 189, 248, 0.7);
  padding-bottom: 64px;
  font-family: var(--font-body);
  color: var(--paper);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  margin: 0;
}

.page-products .cat-hero {
  position: relative;
  isolation: isolate;
  padding: 8px 0 48px;
  overflow: hidden;
}

.page-products .cat-hero::before {
  content: "";
  position: absolute;
  inset: -30% -25% 20%;
  z-index: -2;
  background:
    radial-gradient(58% 62% at 18% 6%, rgba(168, 85, 247, 0.38), transparent 68%),
    radial-gradient(46% 56% at 88% 0%, rgba(56, 189, 248, 0.26), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.page-products .cat-hero::after {
  content: "";
  position: absolute;
  inset: auto -25% -34% -25%;
  height: 190px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.16), transparent);
  transform: rotate(-3.5deg);
  pointer-events: none;
}

.page-products .cat-hero-inner {
  position: relative;
}

.page-products .cat-hero-title {
  margin: 14px 0 20px;
  font-weight: 900;
  font-size: clamp(2rem, 7.6vw, 4.2rem);
  line-height: 1.06;
  max-width: 19ch;
  color: var(--paper);
  background: linear-gradient(102deg, var(--paper) 18%, var(--violet-soft) 64%, var(--arcade) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-products .cat-hero-lead {
  margin: 0 0 32px;
  max-width: 44rem;
  font-size: clamp(0.98rem, 2.6vw, 1.1rem);
  line-height: 1.85;
  color: rgba(248, 245, 255, 0.76);
}

.page-products .cat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px dashed var(--line);
}

.page-products .cat-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-products .cat-stat-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--violet-soft);
  letter-spacing: -0.02em;
}

.page-products .cat-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- 区块骨架 ---------- */
.page-products .cat-section {
  position: relative;
  padding: 48px 0;
  border-top: 1px solid rgba(59, 47, 82, 0.6);
}

.page-products .cat-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.page-products .cat-sec-lead {
  margin: 14px 0 0;
  max-width: 42rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(248, 245, 255, 0.72);
}

.page-products .cat-body {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(248, 245, 255, 0.8);
}

.page-products .cat-aside {
  margin: 22px 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.page-products .cat-aside--wide {
  max-width: 46rem;
}

.page-products .cat-aside a {
  color: var(--arcade);
  text-decoration: none;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.5);
}

.page-products .cat-aside a:hover {
  color: var(--violet-soft);
  border-bottom-color: var(--violet-soft);
}

.page-products .section-title {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: clamp(1.35rem, 4.4vw, 2.05rem);
  line-height: 1.28;
  color: var(--paper);
}

/* ---------- Bento 矩阵 ---------- */
.page-products .cat-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.page-products .bento-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 3px solid var(--acc, var(--violet));
  background:
    linear-gradient(158deg, var(--panel-lift) 0%, var(--panel-deep) 100%);
  box-shadow: var(--prod-edge);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-products .bento-cell--records { --acc: var(--arcade); }
.page-products .bento-cell--rules { --acc: var(--violet); }
.page-products .bento-cell--cases { --acc: var(--gold); }
.page-products .bento-cell--starter { --acc: var(--mint); }

.page-products .bento-cell:hover {
  border-color: var(--acc, var(--violet));
  box-shadow: 0 0 0 1px var(--acc, var(--violet)), 0 20px 52px -28px rgba(168, 85, 247, 0.85);
}

.page-products .bento-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--acc, var(--violet));
}

.page-products .bento-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .bento-desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(248, 245, 255, 0.78);
}

.page-products .bento-points {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.page-products .bento-points li {
  position: relative;
  padding-left: 15px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .bento-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc, var(--violet));
  opacity: 0.85;
}

.page-products .bento-link {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--acc, var(--violet));
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.page-products .bento-link:hover {
  color: var(--paper);
}

/* ---------- 双栏骨架 ---------- */
.page-products .cat-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .cat-split-main {
  min-width: 0;
}

.page-products .cat-split-side {
  margin: 0;
  min-width: 0;
}

.page-products .cat-wide-figure {
  margin: 32px 0 0;
}

.page-products .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.page-products .media-caption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 牌局记录 ---------- */
.page-products .rec-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .rec-filter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.09);
  color: var(--arcade);
}

.page-products .rec-filter--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.page-products .rec-steps {
  position: relative;
  margin: 28px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-products .rec-steps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--arcade), var(--violet), var(--line));
}

.page-products .rec-step {
  position: relative;
  padding-bottom: 22px;
}

.page-products .rec-step:last-child {
  padding-bottom: 0;
}

.page-products .rec-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--arcade);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.page-products .rec-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .rec-step-head .rule-num {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--arcade);
}

.page-products .rec-step p {
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(248, 245, 255, 0.75);
}

/* ---------- 规则文档 ---------- */
.page-products .rule-spec {
  margin: 26px 0 0;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.12), var(--panel-deep) 65%);
  box-shadow: var(--prod-edge);
}

.page-products .rule-spec-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-products .rule-spec-top .rule-num {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--violet-soft);
}

.page-products .rule-spec-title {
  margin: 12px 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .rule-spec p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(248, 245, 255, 0.76);
}

.page-products .rule-spec-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.page-products .rule-spec-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- 案例合集 ---------- */
.page-products .tag-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 24px -16px 0;
  padding: 4px 16px 14px;
}

.page-products .tag-rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-products .tag--arcade {
  border-color: rgba(56, 189, 248, 0.55);
  color: var(--arcade);
}

.page-products .tag--mint {
  border-color: rgba(94, 234, 212, 0.55);
  color: var(--mint);
}

.page-products .cat-split--cases {
  margin-top: 26px;
}

.page-products .case-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
}

.page-products .case-duo-col {
  padding: 20px;
  background: var(--panel-deep);
}

.page-products .case-duo-col--left {
  border-left: 3px solid var(--arcade);
}

.page-products .case-duo-col--right {
  border-left: 3px solid var(--gold);
}

.page-products .case-duo-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .case-duo-col--left .case-duo-label {
  color: var(--arcade);
}

.page-products .case-duo-col p:not(.case-duo-label) {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(248, 245, 255, 0.78);
}

.page-products .cat-split--cases .btn {
  margin-top: 22px;
}

/* ---------- 新用户资料库 ---------- */
.page-products .day-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.page-products .day-card {
  padding: 18px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.08), var(--panel-deep) 70%);
}

.page-products .day-range {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.page-products .day-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 8px;
}

.page-products .day-card p:not(.day-range) {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: rgba(248, 245, 255, 0.74);
}

/* ---------- 移动端路径 ---------- */
.page-products .mobile-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-products .mobile-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(248, 245, 255, 0.8);
}

.page-products .mobile-points .status-dot {
  margin-top: 0.5em;
  flex: 0 0 auto;
}

/* ---------- 版本记录 ---------- */
.page-products .version-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.page-products .version-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-deep);
  overflow: hidden;
}

.page-products .version-item[open] {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.22);
}

.page-products .version-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  color: var(--paper);
}

.page-products .version-item summary::-webkit-details-marker {
  display: none;
}

.page-products .version-summary {
  font-size: 0.88rem;
  color: rgba(248, 245, 255, 0.8);
}

.page-products .version-item .rule-num {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--arcade);
}

.page-products .version-body {
  padding: 0 18px 18px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.page-products .version-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.78;
  color: rgba(248, 245, 255, 0.74);
}

.page-products .version-body a {
  color: var(--arcade);
  text-decoration: none;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.5);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-products .cat-hero {
    padding: 16px 0 60px;
  }

  .page-products .case-duo {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 860px) {
  .page-products .cat-section {
    padding: 64px 0;
  }

  .page-products .cat-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
  }

  .page-products .bento-cell--records { grid-column: span 7; }
  .page-products .bento-cell--rules { grid-column: span 5; }
  .page-products .bento-cell--cases { grid-column: span 5; }
  .page-products .bento-cell--starter { grid-column: span 7; }

  .page-products .bento-cell {
    padding: 28px 26px 24px;
  }

  .page-products .cat-split {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 48px;
    align-items: start;
  }

  .page-products .cat-split--reverse {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }

  .page-products .cat-split--reverse .cat-split-main {
    order: 2;
  }

  .page-products .cat-split--reverse .cat-split-side {
    order: 1;
  }

  .page-products .cat-split--cases {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .cat-split--mobile {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .page-products .tag-rail {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 26px 0 0;
    padding: 0;
  }

  .page-products .cat-wide-figure {
    margin-top: 40px;
  }
}

@media (min-width: 1080px) {
  .page-products .cat-hero-title {
    max-width: 17ch;
  }

  .page-products .cat-split--cases {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .bento-cell {
    transition: none;
  }
}
<<<END>>>
