.page-products {
  --tp-line: rgba(247, 247, 242, 0.14);
  --tp-line-soft: rgba(247, 247, 242, 0.08);
  --tp-gap: 14px;
  --tp-card-pad: 16px;
  background: var(--charcoal);
  color: var(--paper);
  padding-bottom: 64px;
}

.page-products .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-products .crumbs__link {
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.page-products .crumbs__link:hover,
.page-products .crumbs__link:focus-visible {
  color: var(--flame);
  border-color: var(--flame);
}

.page-products .crumbs [aria-current="page"] {
  color: var(--paper);
}

.page-products .crumbs__sep {
  color: var(--steel);
}

/* ---------- 首屏声明 ---------- */
.page-products .tp-open {
  display: grid;
  gap: 20px;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--tp-line);
}

.page-products .tp-open__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-products .tp-open__lede {
  margin: 16px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.78);
}

.page-products .tp-open__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-products .tp-open__media {
  border: 1px solid var(--tp-line);
}

.page-products .tp-open__media img,
.page-products .tp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .page-products .tp-open {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 36px;
    padding: 28px 0 34px;
  }
}

/* ---------- 工作区与粘性索引 ---------- */
.page-products .tp-workspace {
  display: grid;
  gap: 22px;
  padding-top: 26px;
}

.page-products .tp-rail {
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  background: var(--carbon);
  padding: 12px 14px 14px;
}

.page-products .tp-rail__cap {
  margin: 0 0 10px;
  color: var(--gray);
}

.page-products .tp-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.page-products .tp-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(247, 247, 242, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.page-products .tp-rail__link:hover,
.page-products .tp-rail__link:focus-visible {
  color: var(--paper);
  border-color: var(--flame);
  background: rgba(255, 77, 28, 0.1);
}

.page-products .tp-rail__link.is-active {
  color: var(--ink-orange);
  background: var(--flame);
  border-color: var(--flame);
}

.page-products .tp-rail__link.is-active .tp-rail__no {
  color: var(--ink-orange);
}

.page-products .tp-rail__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.page-products .tp-rail__note {
  display: none;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
}

.page-products .tp-flow {
  display: grid;
  gap: 8px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .page-products .tp-workspace {
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-products .tp-rail {
    position: sticky;
    top: 84px;
  }

  .page-products .tp-rail__nav {
    display: grid;
    gap: 3px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-products .tp-rail__link {
    display: flex;
    width: 100%;
    white-space: normal;
    border-color: transparent;
    background: transparent;
  }

  .page-products .tp-rail__note {
    display: block;
  }
}

/* ---------- 区块通用 ---------- */
.page-products .tp-sec {
  padding: 34px 0 10px;
  border-top: 1px solid var(--tp-line-soft);
  min-width: 0;
}

.page-products .tp-sec:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.page-products .section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.page-products .section-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--flame);
}

.page-products .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-products .section-sub {
  margin: 0;
  max-width: 62ch;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.72;
  color: rgba(247, 247, 242, 0.7);
}

/* ---------- 01 工具矩阵 ---------- */
.page-products .tp-matrix {
  display: grid;
  gap: var(--tp-gap);
}

.page-products .tp-card {
  padding: var(--tp-card-pad);
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-left: 3px solid var(--flame);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.page-products .tp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 28, 0.5);
  background: #181E24;
}

.page-products .tp-card .label {
  color: var(--gray);
}

.page-products .tp-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--paper);
}

.page-products .tp-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.72);
}

.page-products .tp-card__link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  text-decoration: none;
  border-top: 1px solid var(--tp-line-soft);
}

.page-products .tp-card__link:hover,
.page-products .tp-card__link:focus-visible {
  color: var(--flame);
}

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

@media (min-width: 1200px) {
  .page-products .tp-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 02 收藏对照 ---------- */
.page-products .tp-compare__bg {
  margin-bottom: 18px;
  border: 1px solid var(--tp-line);
}

.page-products .tp-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .tp-compare {
  display: grid;
  gap: 22px;
}

.page-products .tp-compare__main {
  min-width: 0;
}

.page-products .tp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .tp-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
}

.page-products .tp-step__no {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.1;
  color: var(--flame);
}

.page-products .tp-step__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--paper);
}

.page-products .tp-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.7);
}

.page-products .tp-compare__side {
  padding: 14px;
  background: var(--steel);
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  min-width: 0;
}

.page-products .tp-compare__side .label {
  color: rgba(247, 247, 242, 0.66);
}

.page-products .tp-matchup {
  margin-top: 10px;
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 13, 15, 0.45);
}

.page-products .tp-matchup__row {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 1.35fr 0.9fr;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--tp-line-soft);
  font-size: 13px;
}

.page-products .tp-matchup__row:last-child {
  border-bottom: 0;
}

.page-products .tp-matchup__row--head {
  padding: 8px 12px;
  background: rgba(247, 247, 242, 0.05);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-products .tp-matchup__row--head .tp-matchup__home {
  color: var(--flame);
}

.page-products .tp-matchup__row--head .tp-matchup__away {
  color: var(--gray);
}

.page-products .tp-matchup__metric {
  color: rgba(247, 247, 242, 0.66);
}

.page-products .tp-matchup__home,
.page-products .tp-matchup__away {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.page-products .tp-matchup__home {
  color: var(--lime);
  font-size: 15px;
}

.page-products .tp-matchup__away {
  color: rgba(247, 247, 242, 0.62);
  font-size: 15px;
}

.page-products .tp-compare__hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(247, 247, 242, 0.6);
}

@media (min-width: 900px) {
  .page-products .tp-compare {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 26px;
  }
}

/* ---------- 03 控球率轮次 ---------- */
.page-products .tp-possess {
  display: grid;
  gap: 22px;
}

.page-products .tp-possess__chart {
  padding: 16px;
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-products .tp-bar-round {
  display: grid;
  gap: 6px;
}

.page-products .tp-bar-round__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .tp-bar-round__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.page-products .tp-bar-round__meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--gray);
}

.page-products .tp-track {
  height: 11px;
  border-radius: 2px;
  background: rgba(247, 247, 242, 0.07);
  overflow: hidden;
}

.page-products .tp-track__fill {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-products .tp-track__fill--home {
  background: linear-gradient(90deg, var(--ember), var(--flame));
}

.page-products .tp-track__fill--away {
  background: linear-gradient(90deg, #1D2733, #3A4A5B);
}

.page-products .tp-scale {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--tp-line-soft);
}

.page-products .tp-scale__tick {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(247, 247, 242, 0.42);
}

.page-products .tp-possess__side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-products .tp-possess__side .tp-media {
  border: 1px solid var(--tp-line);
}

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

.page-products .tp-rhythm li {
  padding: 10px 12px;
  border-left: 2px solid var(--steel);
  font-size: 13px;
  line-height: 1.66;
  color: rgba(247, 247, 242, 0.7);
  background: rgba(247, 247, 242, 0.03);
}

.page-products .tp-rhythm strong {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--flame);
}

@media (min-width: 860px) {
  .page-products .tp-possess {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 24px;
  }
}

/* ---------- 04 订阅与入口 ---------- */
.page-products .tp-access {
  display: grid;
  gap: 20px;
}

.page-products .tp-access__steps {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.page-products .tp-access__item {
  position: relative;
  padding: 14px 14px 14px 54px;
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
}

.page-products .tp-access__no {
  position: absolute;
  left: 14px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--flame);
}

.page-products .tp-access__title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--paper);
}

.page-products .tp-access__item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.72);
}

.page-products .tp-access__media {
  border: 1px solid var(--tp-line);
}

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

.page-products .tp-facts .stat {
  padding: 14px;
  background: rgba(247, 247, 242, 0.04);
  border: 1px solid var(--tp-line-soft);
  border-left: 2px solid var(--flame);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
}

.page-products .tp-facts .stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  line-height: 1.1;
  color: var(--lime);
}

.page-products .tp-facts .stat__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

@media (min-width: 860px) {
  .page-products .tp-access {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 26px;
  }

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

/* ---------- 05 版本与支持 ---------- */
.page-products .tp-version {
  display: grid;
  gap: 22px;
}

.page-products .tp-version__timeline {
  display: grid;
  gap: 0;
  padding-left: 16px;
  border-left: 2px solid var(--tp-line);
  min-width: 0;
}

.page-products .tp-ver {
  position: relative;
  padding: 0 0 20px 8px;
}

.page-products .tp-ver:last-child {
  padding-bottom: 0;
}

.page-products .tp-ver::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.18);
}

.page-products .tp-ver__tag {
  display: inline-block;
  margin-bottom: 6px;
}

.page-products .tp-ver__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.35;
  color: var(--paper);
}

.page-products .tp-ver p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.7);
}

.page-products .tp-support {
  padding: 16px;
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-top: 3px solid var(--flame);
  border-radius: var(--radius);
  min-width: 0;
}

.page-products .tp-support .label {
  color: var(--gray);
}

.page-products .tp-support__title {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--paper);
}

.page-products .tp-support p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.7);
}

.page-products .tp-support__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--tp-line-soft);
  margin: 0 !important;
}

.page-products .contact-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.page-products .contact-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
  overflow-wrap: anywhere;
}

.page-products .tp-support .btn {
  margin-top: 8px;
  margin-right: 8px;
}

@media (min-width: 900px) {
  .page-products .tp-version {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 30px;
  }
}

/* ---------- 06 场景组合 ---------- */
.page-products .tp-scene {
  display: grid;
  gap: 12px;
}

.page-products .tp-scene__card {
  padding: 16px;
  background: var(--carbon);
  border: 1px solid var(--tp-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.page-products .tp-scene__card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 63, 0.4);
}

.page-products .tp-scene__card .label {
  color: var(--lime);
}

.page-products .tp-scene__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--paper);
}

.page-products .tp-scene__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 247, 242, 0.72);
}

.page-products .tp-scene__combo {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--tp-line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.page-products .tp-scene__media {
  margin-top: 18px;
  border: 1px solid var(--tp-line);
}

@media (min-width: 700px) {
  .page-products .tp-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-products .tp-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.9fr);
    grid-auto-rows: minmax(0, auto);
  }

  .page-products .tp-scene__media {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
    height: 100%;
  }
}

/* ---------- 收尾 ---------- */
.page-products .tp-callout {
  margin-top: 34px;
  padding: 22px 18px;
  border: 1px solid var(--tp-line);
  border-left: 4px solid var(--flame);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(182, 46, 14, 0.24), rgba(11, 13, 15, 0.9) 62%);
  display: grid;
  gap: 18px;
}

.page-products .tp-callout__title {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.18;
  color: var(--paper);
}

.page-products .tp-callout__body p {
  margin: 0;
  max-width: 56ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.75);
}

.page-products .tp-callout__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

@media (min-width: 860px) {
  .page-products .tp-callout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    padding: 26px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tp-card,
  .page-products .tp-scene__card,
  .page-products .tp-rail__link,
  .page-products .crumbs__link {
    transition: none;
  }

  .page-products .tp-card:hover,
  .page-products .tp-scene__card:hover {
    transform: none;
  }
}
