.page-products {
  --lib-gap: clamp(1rem, 3vw, 1.75rem);
  --lib-hair: 1px solid rgba(46, 74, 125, .45);
}

/* ---------- 面包屑与首屏 ---------- */
.page-products .lib-head {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2.25rem) 0 clamp(2rem, 6vw, 3.75rem);
}
.page-products .lib-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime-line), rgba(46, 74, 125, .35) 45%, transparent);
}
.page-products .lib-head__grid {
  display: grid;
  gap: var(--lib-gap);
}
.page-products h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.05rem, 8vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--paper);
  margin: .5rem 0 1rem;
}
.page-products .lib-head__acts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}
.page-products .lib-head__fig {
  margin: 0;
}

@media (min-width: 960px) {
  .page-products .lib-head__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

/* ---------- 通用区块标题 ---------- */
.page-products .lib-sec-head {
  max-width: 68ch;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.page-products .lib-sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  line-height: 1.1;
  color: var(--paper);
  margin: .35rem 0 .75rem;
}
.page-products .lib-sub {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 .8rem;
  padding-bottom: .5rem;
  border-bottom: var(--lib-hair);
}
.page-products .lib-note {
  font-size: .84rem;
  line-height: 1.7;
  margin: .6rem 0 0;
}
.page-products .lib-note a {
  color: var(--cyan);
}

@media (min-width: 900px) {
  .page-products .lib-sec-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    max-width: none;
  }
}

/* ---------- 总览数据 ---------- */
.page-products .lib-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}
.page-products .lib-stat {
  background: var(--ink-900);
  padding: clamp(.9rem, 3vw, 1.5rem);
}
.page-products .lib-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.page-products .lib-stat__unit {
  font-size: .5em;
  margin-left: .3em;
  color: var(--mist);
}
.page-products .lib-stat__label {
  display: block;
  margin-top: .55rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--mist);
}
@media (min-width: 760px) {
  .page-products .lib-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 归档结构 ---------- */
.page-products .lib-archive__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.page-products .round-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}
.page-products .round-chip {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
  padding: .45rem .15rem;
  border: 1px solid var(--steel);
  color: var(--mist);
  background: rgba(46, 74, 125, .1);
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.page-products .round-chip:hover {
  border-color: var(--cyan);
  color: var(--paper);
}
.page-products .round-chip.is-current {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink-900);
}
.page-products .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .filter-chips li {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .35rem .6rem;
  border: 1px dashed var(--steel);
  color: var(--cyan);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.page-products .filter-chips li:hover {
  border-color: var(--lime);
  border-style: solid;
  color: var(--lime);
}
@media (min-width: 960px) {
  .page-products .lib-archive__grid {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
  }
  .page-products .lib-archive__index {
    position: sticky;
    top: 1.5rem;
  }
}

/* ---------- 字段表 ---------- */
.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
}
.page-products .field-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .86rem;
}
.page-products .field-table caption {
  text-align: left;
  padding-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--lime);
}
.page-products .field-table th,
.page-products .field-table td {
  text-align: left;
  vertical-align: top;
  padding: .72rem .75rem;
  border-bottom: var(--lib-hair);
}
.page-products .field-table thead th {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--steel);
}
.page-products .field-table tbody th {
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}
.page-products .field-table td {
  color: var(--mist);
}
.page-products .field-table td:last-child {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--cyan);
  white-space: nowrap;
}
.page-products .field-table tbody tr {
  transition: background-color .18s var(--ease);
}
.page-products .field-table tbody tr:hover {
  background: rgba(198, 255, 61, .07);
}

/* ---------- 会员技能树 ---------- */
.page-products .tree {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.page-products .tree__root {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--lime);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.page-products .tree__root h3,
.page-products .tier h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  line-height: 1.15;
  color: var(--paper);
  margin: .6rem 0 .5rem;
}
.page-products .tree__root p,
.page-products .tier p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--mist);
}
.page-products .tree__tiers {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--lime-line);
  display: grid;
  gap: clamp(1rem, 3vw, 1.25rem);
}
.page-products .tier {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  padding: clamp(1rem, 3vw, 1.5rem);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.page-products .tier:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.page-products .tier::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 2.1rem;
  width: 1.25rem;
  height: 1px;
  background: var(--lime-line);
}
.page-products .tier__list {
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.page-products .tier__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--paper);
}
.page-products .tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: 1px;
  background: var(--lime);
}

@media (min-width: 900px) {
  .page-products .tree {
    position: relative;
  }
  .page-products .tree__root::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.15rem;
    width: 1px;
    height: 1.15rem;
    background: var(--lime-line);
  }
  .page-products .tree__tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 2.5rem 0 0;
    border-left: 0;
    position: relative;
  }
  .page-products .tree__tiers::before {
    content: "";
    position: absolute;
    top: .6rem;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: var(--lime-line);
  }
  .page-products .tier::before {
    left: 50%;
    top: -1.9rem;
    width: 1px;
    height: 1.9rem;
  }
}

/* ---------- 下载格式 ---------- */
.page-products .fmt-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.25rem);
}
.page-products .fmt-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  transition: border-color .2s var(--ease);
}
.page-products .fmt-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-width: 0 20px 20px 0;
  border-style: solid;
  border-color: transparent var(--lime) transparent transparent;
  opacity: .85;
}
.page-products .fmt-card:nth-child(2)::after {
  border-color: transparent var(--orange) transparent transparent;
}
.page-products .fmt-card:nth-child(3)::after {
  border-color: transparent var(--steel) transparent transparent;
}
.page-products .fmt-card:hover {
  border-color: var(--lime-line);
}
.page-products .fmt-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  color: var(--paper);
  margin: .7rem 0 .5rem;
}
.page-products .fmt-card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .lib-terminals {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}
.page-products .lib-terminals__text p {
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mist);
  margin: 0 0 .9rem;
}

@media (min-width: 700px) {
  .page-products .fmt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .page-products .lib-terminals {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
  }
}

/* ---------- 数据清单 ---------- */
.page-products .lib-facts {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.page-products .lib-facts li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  padding-bottom: .55rem;
  border-bottom: var(--lib-hair);
  font-size: .87rem;
  line-height: 1.6;
  color: var(--mist);
}
.page-products .lib-facts b {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* ---------- 交锋与场馆 ---------- */
.page-products .lib-history__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.page-products .lib-history__grid h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1.1;
  color: var(--paper);
  margin: .35rem 0 .9rem;
}
.page-products .lib-history__grid p {
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mist);
  margin: 0 0 .9rem;
}
@media (min-width: 900px) {
  .page-products .lib-history__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

/* ---------- 更新节奏 ---------- */
.page-products .lib-cadence__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.page-products .cadence {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .2rem;
  border-left: 2px solid var(--steel);
}
.page-products .cadence li {
  position: relative;
  padding: .2rem 0 1.1rem 1.5rem;
}
.page-products .cadence li:last-child {
  padding-bottom: 0;
}
.page-products .cadence li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .55rem;
  width: 10px;
  height: 10px;
  background: var(--lime);
}
.page-products .cadence__time {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: .3rem;
}
.page-products .cadence h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  color: var(--paper);
  margin: 0 0 .35rem;
}
.page-products .cadence p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .lib-scenes {
  display: grid;
  gap: .9rem;
  align-content: start;
}
.page-products .scene {
  background: var(--ink-800);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--steel);
  padding: 1rem 1.15rem;
  transition: border-left-color .2s var(--ease), background-color .2s var(--ease);
}
.page-products .scene:hover {
  border-left-color: var(--orange);
  background: rgba(255, 122, 61, .07);
}
.page-products .scene h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--paper);
  margin: 0 0 .35rem;
}
.page-products .scene p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-products .lib-cadence__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 结尾行动区 ---------- */
.page-products .lib-cta__inner {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}
.page-products .lib-cta__text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 5.5vw, 2.6rem);
  line-height: 1.08;
  color: var(--paper);
  margin: .35rem 0 .75rem;
}
.page-products .lib-cta__text p {
  margin: 0;
  max-width: 58ch;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mist);
}
.page-products .lib-cta__text a {
  color: var(--cyan);
}
.page-products .lib-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
@media (min-width: 900px) {
  .page-products .lib-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

/* ---------- 图片 ---------- */
.page-products .figure img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .figure {
  margin: 0;
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 640px) {
  .page-products .field-table {
    min-width: 420px;
  }
  .page-products .lib-head__acts .btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .page-products .lib-cta__acts .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .page-products .round-index {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  }
  .page-products .round-chip {
    font-size: .64rem;
  }
}
