.page-products {
  --ct-radius: 10px;
  --ct-gap: clamp(20px, 4vw, 36px);
  --row-h: 56px;
  background: var(--bg);
  color: var(--ink);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products .ct-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.page-products [id] {
  scroll-margin-top: calc(var(--header-h) + 72px);
}

/* ---------- 面包屑 ---------- */
.page-products .tb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: calc(var(--header-h) + 18px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.page-products .tb-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.page-products .tb-breadcrumb a:hover,
.page-products .tb-breadcrumb a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.page-products .tb-breadcrumb__sep {
  color: var(--line);
}

/* ---------- 首屏 ---------- */
.page-products .ct-hero {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(22px, 4vw, 46px) 0 clamp(28px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}
.page-products .tb-eyebrow {
  margin: 0 0 14px;
}
.page-products .ct-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-products .ct-mark {
  color: var(--cyan);
  border-bottom: 3px solid var(--cyan);
  padding-bottom: 2px;
}
.page-products .ct-hero__lead {
  max-width: 60ch;
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.page-products .ct-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--ct-radius);
  overflow: hidden;
}
.page-products .ct-fact {
  background: var(--panel);
  padding: 14px 16px;
}
.page-products .ct-fact__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cyan);
}
.page-products .ct-fact__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.page-products .ct-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-products .ct-hero__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--ct-radius);
  background: var(--panel);
  overflow: hidden;
}
.page-products .ct-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

/* ---------- 章节索引带 ---------- */
.page-products .ct-rail {
  position: sticky;
  top: var(--header-h);
  z-index: 15;
  margin: 0;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-products .ct-rail .tb-index__link {
  font-size: 13px;
}

/* ---------- 通用章节 ---------- */
.page-products .ct-section {
  padding: clamp(38px, 6vw, 70px) 0 0;
}
.page-products .ct-section + .ct-section {
  margin-top: clamp(38px, 6vw, 70px);
  border-top: 1px solid var(--line);
}
.page-products .ct-head {
  max-width: 70ch;
}
.page-products .ct-head__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.page-products .ct-head__lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 联赛目录行 ---------- */
.page-products .ct-league {
  margin-top: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--ct-radius);
  background: var(--panel);
}
.page-products .lg-bar {
  display: none;
}
.page-products .lg-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  min-height: var(--row-h);
  padding: 12px 14px;
  border-top: 1px solid var(--line-soft);
  transition: background 0.16s ease;
}
.page-products .lg-item:first-of-type {
  border-top: 0;
}
.page-products .lg-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transition: transform 0.18s ease;
}
.page-products .lg-item:hover,
.page-products .lg-item:focus-within {
  background: var(--cyan-soft);
  z-index: 6;
}
.page-products .lg-item:hover::before,
.page-products .lg-item:focus-within::before {
  transform: scaleY(1);
}
.page-products .lg-item:has(.lg-ver[open]) {
  z-index: 8;
}
.page-products .lg-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.page-products .lg-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.page-products .lg-name__cn {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-products .lg-abbr {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}
.page-products .lg-metric {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.page-products .lg-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.page-products .lg-time .tb-status {
  font-size: 11px;
}
.page-products .lg-ver {
  grid-column: 2 / -1;
  justify-self: start;
}
.page-products .lg-ver__sum {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--amber);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 3px 8px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.page-products .lg-ver__sum::-webkit-details-marker {
  display: none;
}
.page-products .lg-ver__sum::after {
  content: " ▾";
  color: var(--muted);
}
.page-products .lg-ver__sum:hover,
.page-products .lg-ver__sum:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}
.page-products .lg-ver[open] .lg-ver__sum {
  color: var(--cyan);
  border-color: var(--cyan);
}
.page-products .lg-ver[open] .lg-ver__sum::after {
  content: " ▴";
  color: var(--cyan);
}
.page-products .lg-ver__body {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 9;
  margin: 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--ct-radius);
  box-shadow: 0 16px 34px rgba(4, 26, 22, 0.66);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}
.page-products .lg-ver__k {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
}
.page-products .lg-go {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.page-products .lg-go:hover,
.page-products .lg-go:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 图片与说明条 ---------- */
.page-products .ct-figure {
  margin: clamp(22px, 4vw, 34px) 0 0;
}
.page-products .ct-figure img,
.page-products .ct-compare figure img,
.page-products .ct-fresh figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--ct-radius);
  background: var(--panel);
  object-fit: cover;
}
.page-products .tb-media__cap {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 指标分类 ---------- */
.page-products .ct-cats {
  display: flex;
  gap: 4px;
  margin-top: clamp(20px, 4vw, 30px);
  padding-bottom: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.page-products .ct-cats__link {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.page-products .ct-cats__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.18s ease;
}
.page-products .ct-cats__link:hover,
.page-products .ct-cats__link:focus-visible {
  color: var(--ink);
}
.page-products .ct-cats__link:hover::after,
.page-products .ct-cats__link:focus-visible::after,
.page-products .ct-cats__link.is-current::after {
  transform: scaleX(1);
}
.page-products .ct-cats__link.is-current {
  color: var(--cyan);
}
.page-products .ct-cats__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1px 5px;
}
.page-products .ct-cat {
  padding: clamp(24px, 4vw, 34px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-products .ct-cat:last-child {
  border-bottom: 0;
}
.page-products .ct-cat__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
}
.page-products .ct-cat__no {
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}
.page-products .ct-cat__head h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-products .ct-cat__q {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.page-products .ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.page-products .ct-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 6px 10px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.page-products .ct-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.page-products .ct-cat__foot {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 对比视图 ---------- */
.page-products .ct-compare {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  margin-top: clamp(22px, 4vw, 34px);
}
.page-products .ct-compare figure,
.page-products .ct-fresh figure {
  margin: 0;
}
.page-products .ct-compare__notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-products .ct-compare__notes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.page-products .ct-compare__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.page-products .ct-compare__notes li:nth-child(3)::before {
  background: var(--orange);
}
.page-products .ct-compare__notes .tb-btn {
  margin-top: 18px;
}

/* ---------- 刷新与版本 ---------- */
.page-products .ct-fresh {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  margin-top: clamp(22px, 4vw, 34px);
}
.page-products .ct-fresh__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ctstep;
}
.page-products .ct-fresh__steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.8;
}
.page-products .ct-fresh__steps li::before {
  counter-increment: ctstep;
  content: counter(ctstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}
.page-products .ct-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.page-products .ct-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.page-products .ct-legend__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.page-products .ct-legend__dot--ok {
  background: var(--cyan);
}
.page-products .ct-legend__dot--warn {
  background: var(--orange);
}
.page-products .ct-legend__dot--live {
  background: var(--amber);
}
.page-products .ct-legend__dot--down {
  background: var(--coral);
}
.page-products .ct-fresh__link {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .ct-fresh__link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.page-products .ct-fresh__link a:hover,
.page-products .ct-fresh__link a:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 场景选路 ---------- */
.page-products .ct-scene {
  margin: clamp(22px, 4vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--ct-radius);
  overflow: hidden;
}
.page-products .ct-scene__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--panel);
}
.page-products .ct-scene__item:nth-child(1) {
  border-left: 3px solid var(--cyan);
}
.page-products .ct-scene__item:nth-child(2) {
  border-left: 3px solid var(--amber);
}
.page-products .ct-scene__item:nth-child(3) {
  border-left: 3px solid var(--orange);
}
.page-products .ct-scene__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.page-products .ct-scene__body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-products .ct-scene__body p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .ct-scene__body .tb-btn {
  margin-top: 14px;
}

/* ---------- 末尾引导 ---------- */
.page-products .ct-cta {
  display: grid;
  gap: 22px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--ct-radius);
}
.page-products .ct-cta h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.page-products .ct-cta p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .ct-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-products .ct-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }
  .page-products .ct-hero__lead {
    font-size: 16px;
  }
  .page-products .ct-hero__media img {
    aspect-ratio: 4 / 3;
  }
  .page-products .lg-bar {
    display: grid;
    grid-template-columns: 44px minmax(150px, 1.6fr) 90px 150px 96px 96px;
    gap: 12px;
    align-items: center;
    padding: 11px 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
  }
  .page-products .lg-bar span:last-child {
    justify-self: end;
  }
  .page-products .lg-item {
    grid-template-columns: 44px minmax(150px, 1.6fr) 90px 150px 96px 96px;
    gap: 12px;
    min-height: var(--row-h);
    padding: 0 18px;
  }
  .page-products .lg-idx,
  .page-products .lg-name,
  .page-products .lg-metric,
  .page-products .lg-time,
  .page-products .lg-ver,
  .page-products .lg-go {
    grid-row: 1;
    grid-column: auto;
    justify-self: start;
  }
  .page-products .lg-go {
    justify-self: end;
  }
  .page-products .ct-cat__head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .page-products .ct-compare {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
  .page-products .ct-fresh {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
  .page-products .ct-cta {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: center;
  }
  .page-products .ct-cta__acts {
    justify-content: flex-end;
  }
}
