.page-products {
  --pp-cut: 18px;
  --pp-cut-s: 9px;
  --pp-line: rgba(11, 61, 46, .14);
  --pp-hair: rgba(11, 61, 46, .08);
  --pp-gold-line: rgba(212, 175, 55, .42);
  --pp-paper-soft: rgba(246, 242, 233, .82);
  display: block;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-products .pg-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding: 40px 0 52px;
}

.page-products .pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(246, 242, 233, .05) 0 2px, transparent 2px 11px);
  pointer-events: none;
}

.page-products .pg-hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -90px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(18, 194, 176, .22), transparent 68%);
  pointer-events: none;
}

.page-products .pg-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-products .pg-hero .breadcrumb__link,
.page-products .pg-hero .breadcrumb__sep,
.page-products .pg-hero .breadcrumb__current {
  color: rgba(246, 242, 233, .7);
}

.page-products .pg-hero .breadcrumb__link:hover {
  color: var(--gold);
}

.page-products .pg-hero__grid {
  display: grid;
  gap: 32px;
  margin-top: 26px;
}

.page-products .pg-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 6.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-products .pg-hero__title em {
  font-style: normal;
  color: var(--gold);
}

.page-products .pg-hero__lead {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--pp-paper-soft);
}

.page-products .hero-index {
  position: relative;
  background: var(--deep-2);
  border: 1px solid var(--pp-gold-line);
  padding: 20px 20px 12px;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.page-products .hero-index__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-products .hero-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .hero-index__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, .28);
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.page-products .hero-index__link:hover,
.page-products .hero-index__link:focus-visible {
  color: var(--gold);
  transform: translateX(4px);
}

.page-products .hero-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

/* ---------- 章节骨架 ---------- */
.page-products .fn {
  padding: 48px 0 8px;
  border-top: 1px solid var(--pp-hair);
}

.page-products .fn__grid {
  display: grid;
  gap: 28px;
}

.page-products .fn__head--wide {
  max-width: 72ch;
}

.page-products .fn__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold-dark);
}

.page-products .fn__num::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.page-products .fn__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.4vw, 32px);
  line-height: 1.32;
  color: var(--deep);
}

.page-products .fn__lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-products .fn .prose {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
}

.page-products .fn .prose p {
  margin: 0 0 1em;
}

.page-products .pp-link {
  color: var(--deep);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}

.page-products .pp-link:hover,
.page-products .pp-link:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.page-products .pp-note {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 面板与图 ---------- */
.page-products .pp-panel {
  background: var(--surface);
  border: 1px solid var(--pp-line);
  padding: 20px;
  clip-path: polygon(var(--pp-cut) 0, 100% 0, 100% calc(100% - var(--pp-cut)), calc(100% - var(--pp-cut)) 100%, 0 100%, 0 var(--pp-cut));
}

.page-products .pp-panel--warm {
  background: var(--paper-warm);
}

.page-products .pp-panel--deep {
  background: var(--deep);
  border-color: var(--pp-gold-line);
  color: var(--paper);
}

.page-products .pp-panel__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.page-products .pp-panel--deep .pp-panel__label {
  color: var(--gold);
}

.page-products .pp-panel__text,
.page-products .pp-panel > p:not(.pp-panel__label) {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.page-products .pp-panel--deep .pp-panel__text {
  color: var(--pp-paper-soft);
}

.page-products .pp-fig {
  display: block;
  margin: 0 0 18px;
  border: 1px solid var(--pp-line);
}

.page-products .pp-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pp-fig--wide {
  aspect-ratio: 2 / 1;
}

.page-products .pp-fig--tall {
  aspect-ratio: 3 / 2;
}

/* ---------- 字段卡 ---------- */
.page-products .field-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .field {
  border-left: 3px solid var(--gold);
  background: var(--paper-warm);
  padding: 9px 12px;
}

.page-products .field__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--gold-dark);
}

.page-products .field__v {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- 检索表 ---------- */
.page-products .tbl-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--pp-line);
  background: var(--surface);
}

.page-products .tbl__caption {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--pp-line);
}

.page-products .tbl {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .tbl thead th {
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-align: left;
  padding: 11px 14px;
}

.page-products .tbl tbody th {
  width: 22%;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--deep);
  border-bottom: 1px solid var(--pp-line);
  border-right: 1px solid var(--pp-line);
}

.page-products .tbl tbody td {
  padding: 12px 14px;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px solid var(--pp-line);
}

.page-products .tbl tbody tr:nth-child(even) {
  background: var(--paper-warm);
}

/* ---------- 交锋条形 ---------- */
.page-products .h2h {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.page-products .h2h__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.page-products .h2h__val {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--deep);
}

.page-products .h2h__track {
  display: flex;
  height: 14px;
  background: var(--paper-warm);
  border: 1px solid var(--pp-line);
}

.page-products .h2h__track--right {
  justify-content: flex-end;
}

.page-products .h2h__fill {
  display: block;
  height: 100%;
}

.page-products .h2h__fill--cyan {
  background: var(--cyan);
}

.page-products .h2h__fill--gold {
  background: var(--gold);
}

.page-products .h2h__fill--mute {
  background: var(--ink-soft);
}

/* ---------- 三级归档链 ---------- */
.page-products .chain {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.page-products .chain__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "idx name" ". desc";
  gap: 2px 12px;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 3px solid var(--deep);
}

.page-products .chain__idx {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold-dark);
}

.page-products .chain__name {
  grid-area: name;
  font-weight: 600;
  font-size: 15px;
  color: var(--deep);
}

.page-products .chain__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- 赛季切换器 ---------- */
.page-products .season-switch {
  position: relative;
}

.page-products .season-switch__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .season-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.page-products .season-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--pp-line);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-products .season-btn:hover {
  border-color: var(--orange);
  color: var(--deep);
}

.page-products .season-switch__radio:focus-visible ~ .season-rail {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.page-products .season-panel {
  display: none;
}

.page-products .season-switch__radio:nth-of-type(1):checked ~ .season-panels > .season-panel:nth-child(1),
.page-products .season-switch__radio:nth-of-type(2):checked ~ .season-panels > .season-panel:nth-child(2),
.page-products .season-switch__radio:nth-of-type(3):checked ~ .season-panels > .season-panel:nth-child(3),
.page-products .season-switch__radio:nth-of-type(4):checked ~ .season-panels > .season-panel:nth-child(4),
.page-products .season-switch__radio:nth-of-type(5):checked ~ .season-panels > .season-panel:nth-child(5),
.page-products .season-switch__radio:nth-of-type(6):checked ~ .season-panels > .season-panel:nth-child(6),
.page-products .season-switch__radio:nth-of-type(7):checked ~ .season-panels > .season-panel:nth-child(7) {
  display: block;
}

.page-products .season-switch__radio:nth-of-type(1):checked ~ .season-rail > .season-btn:nth-child(1),
.page-products .season-switch__radio:nth-of-type(2):checked ~ .season-rail > .season-btn:nth-child(2),
.page-products .season-switch__radio:nth-of-type(3):checked ~ .season-rail > .season-btn:nth-child(3),
.page-products .season-switch__radio:nth-of-type(4):checked ~ .season-rail > .season-btn:nth-child(4),
.page-products .season-switch__radio:nth-of-type(5):checked ~ .season-rail > .season-btn:nth-child(5),
.page-products .season-switch__radio:nth-of-type(6):checked ~ .season-rail > .season-btn:nth-child(6),
.page-products .season-switch__radio:nth-of-type(7):checked ~ .season-rail > .season-btn:nth-child(7) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  font-weight: 600;
}

.page-products .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-products .stat {
  padding: 10px 12px;
  background: var(--paper-warm);
  border-top: 2px solid var(--cyan);
}

.page-products .stat__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.page-products .stat__v {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--deep);
}

/* ---------- 战报分类标签页 ---------- */
.page-products .report-tabs {
  position: relative;
  margin-top: 20px;
}

.page-products .report-tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .report-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-products .report-chip {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--pp-line);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-products .report-chip:hover {
  border-color: var(--orange);
  color: var(--deep);
}

.page-products .report-tabs__radio:focus-visible ~ .report-rail {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.page-products .report-panel {
  display: none;
  padding: 18px 20px;
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
}

.page-products .report-panel__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--deep);
}

.page-products .report-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.page-products .report-tabs__radio:nth-of-type(1):checked ~ .report-panels > .report-panel:nth-child(1),
.page-products .report-tabs__radio:nth-of-type(2):checked ~ .report-panels > .report-panel:nth-child(2),
.page-products .report-tabs__radio:nth-of-type(3):checked ~ .report-panels > .report-panel:nth-child(3),
.page-products .report-tabs__radio:nth-of-type(4):checked ~ .report-panels > .report-panel:nth-child(4) {
  display: block;
}

.page-products .report-tabs__radio:nth-of-type(1):checked ~ .report-rail > .report-chip:nth-child(1),
.page-products .report-tabs__radio:nth-of-type(2):checked ~ .report-rail > .report-chip:nth-child(2),
.page-products .report-tabs__radio:nth-of-type(3):checked ~ .report-rail > .report-chip:nth-child(3),
.page-products .report-tabs__radio:nth-of-type(4):checked ~ .report-rail > .report-chip:nth-child(4) {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--paper);
}

/* ---------- 两端入口对照 ---------- */
.page-products .entries {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.page-products .entry-card {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--pp-line);
  border-top: 3px solid var(--gold);
  clip-path: polygon(var(--pp-cut) 0, 100% 0, 100% calc(100% - var(--pp-cut)), calc(100% - var(--pp-cut)) 100%, 0 100%, 0 var(--pp-cut));
}

.page-products .entry-card--mobile {
  border-top-color: var(--cyan);
}

.page-products .entry-card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-soft);
}

.page-products .entry-card__title {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--deep);
}

.page-products .entry-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .entry-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
}

.page-products .entry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ---------- 三步流程 ---------- */
.page-products .flow {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .flow__step {
  position: relative;
  padding: 22px 20px;
  background: var(--deep);
  color: var(--paper);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.page-products .flow__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-products .flow__title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  color: var(--paper);
}

.page-products .flow__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--pp-paper-soft);
}

.page-products .flow__step::after {
  content: "";
  display: none;
  position: absolute;
  top: 50%;
  right: -22px;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, .15));
}

/* ---------- 结尾行动区 ---------- */
.page-products .pp-next {
  margin-top: 64px;
  padding: 48px 0 56px;
  background: var(--deep-2);
  border-top: 6px solid var(--gold);
}

.page-products .pp-next__inner {
  display: grid;
  gap: 24px;
}

.page-products .pp-next__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.6vw, 28px);
  line-height: 1.35;
  color: var(--paper);
}

.page-products .pp-next__text {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.82;
  color: var(--pp-paper-soft);
}

.page-products .pp-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- 断点 ---------- */
@media (min-width: 520px) {
  .page-products .field-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 640px) {
  .page-products .chain {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-products .pg-hero {
    padding: 52px 0 64px;
  }

  .page-products .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-products .pp-next__inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .page-products .pg-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    align-items: end;
    gap: 56px;
  }

  .page-products .fn {
    padding: 72px 0 10px;
  }

  .page-products .fn__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: start;
  }

  .page-products .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }

  .page-products .flow__step:not(:last-child)::after {
    display: block;
  }
}
