.page-products {
  --pt-gap: clamp(1rem, 2.4vw, 1.6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

/* ---------- 面包屑留白 ---------- */
.page-products .breadcrumbs {
  padding-top: clamp(.75rem, 2vw, 1.25rem);
}

/* ---------- 首屏 ---------- */
.page-products .pt-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.25rem, 3.5vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}

.page-products .pt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(115% 85% at 88% 6%, rgba(200, 255, 61, .13), transparent 62%),
    radial-gradient(90% 80% at 4% 0%, rgba(28, 91, 69, .5), transparent 70%);
}

.page-products .pt-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.page-products .pt-hero__copy h1 {
  margin: .6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--fg);
}

.page-products .pt-hero__copy .lead {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--fg-dim);
}

.page-products .pt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ---------- 首屏数据牌 ---------- */
.page-products .pt-console {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.15rem;
  background: linear-gradient(158deg, rgba(28, 91, 69, .5), rgba(6, 18, 15, .92) 62%);
  box-shadow: var(--shadow-1);
}

.page-products .pt-console::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime-400), transparent);
  opacity: .75;
}

.page-products .pt-console__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: .8rem;
  color: var(--fg-dim);
}

.page-products .pt-console__note {
  font-family: var(--font-num);
  font-size: .78rem;
  color: var(--slate-400);
}

.page-products .pt-console__kpis {
  list-style: none;
  margin: 1.05rem 0 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-20);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .pt-console__kpis > li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .85rem .9rem;
  background: var(--ink-950);
}

.page-products .pt-console__value {
  font-family: var(--font-num);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime-400);
}

.page-products .pt-console__label {
  font-size: .78rem;
  color: var(--fg-dim);
}

/* ---------- 章节通用 ---------- */
.page-products .pt-sec {
  margin-top: clamp(2.25rem, 6vw, 4.5rem);
}

.page-products .pt-sec .section-band {
  margin-bottom: .35rem;
}

.page-products .pt-lead {
  max-width: 62ch;
  margin: .9rem 0 0;
  color: var(--fg-dim);
}

.page-products .pt-note {
  margin: 1.35rem 0 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--orange-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 122, 26, .07);
  font-size: .92rem;
  line-height: 1.7;
  color: var(--fg);
}

.page-products .pt-wide {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
}

.page-products .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-20);
  background: var(--moss-900);
}

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

.page-products .media-frame--tall {
  aspect-ratio: 3 / 4;
}

.page-products .media-frame--wide {
  aspect-ratio: 16 / 9;
}

.page-products .media-frame--square {
  aspect-ratio: 4 / 3;
}

.page-products .media-frame__caption {
  margin-top: .6rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--slate-400);
}

/* ---------- 01 通道 ---------- */
.page-products .pt-channel {
  display: grid;
  gap: var(--pt-gap);
  margin-top: 1.6rem;
}

.page-products .pt-channel__cards {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-products .pt-route {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1.15rem 1.4rem;
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  background: var(--moss-900);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-products .pt-route::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--slate-400);
}

.page-products .pt-route--alt::before {
  background: var(--lime-400);
}

.page-products .pt-route:hover {
  transform: translateY(-2px);
  border-color: var(--lime-400);
}

.page-products .pt-route h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -.01em;
}

.page-products .pt-route p {
  margin: .65rem 0 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--fg-dim);
}

.page-products .pt-route__list {
  list-style: none;
  margin: .85rem 0 1rem;
  padding: 0;
  display: grid;
  gap: .35rem;
  font-size: .84rem;
  color: var(--slate-400);
}

.page-products .pt-route__list li {
  position: relative;
  padding-left: .9rem;
}

.page-products .pt-route__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss-600);
}

.page-products .pt-route--alt .pt-route__list li::before {
  background: var(--lime-400);
}

.page-products .pt-channel__visual {
  margin: 0;
}

/* ---------- 02 联赛导航 ---------- */
.page-products .pt-league-bars {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .15rem;
}

.page-products .pt-league-bar {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  grid-template-areas:
    "name track"
    "note note";
  align-items: center;
  gap: .4rem .8rem;
  padding: .8rem .2rem;
  border-bottom: 1px dashed rgba(38, 68, 58, .9);
}

.page-products .pt-league-bar__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--fg);
}

.page-products .pt-league-bar__track {
  grid-area: track;
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(38, 68, 58, .55);
  overflow: hidden;
}

.page-products .pt-league-bar__fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--moss-600), var(--lime-400));
}

.page-products .pt-league-bars > li:nth-child(1) .pt-league-bar__fill { width: 100%; }
.page-products .pt-league-bars > li:nth-child(2) .pt-league-bar__fill { width: 86%; }
.page-products .pt-league-bars > li:nth-child(3) .pt-league-bar__fill { width: 71%; }
.page-products .pt-league-bars > li:nth-child(4) .pt-league-bar__fill { width: 60%; }
.page-products .pt-league-bars > li:nth-child(5) .pt-league-bar__fill { width: 52%; }

.page-products .pt-league-bar__note {
  grid-area: note;
  font-size: .84rem;
  line-height: 1.65;
  color: var(--fg-dim);
}

.page-products .pt-dims {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-products .pt-dim {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  background: rgba(11, 33, 27, .72);
}

.page-products .pt-dim h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--lime-400);
  letter-spacing: -.01em;
}

.page-products .pt-dim p {
  margin: .55rem 0 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--fg-dim);
}

/* ---------- 03 球员数据 ---------- */
.page-products .pt-player {
  display: grid;
  gap: var(--pt-gap);
  margin-top: 1.6rem;
  align-items: start;
}

.page-products .pt-player__chart {
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(11, 33, 27, .95), rgba(6, 18, 15, .98));
  padding: 1.1rem 1.1rem .9rem;
}

.page-products .pt-segbar {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pt-seg {
  transition: opacity .2s var(--ease);
}

.page-products .pt-seg--1 { fill: #26443A; }
.page-products .pt-seg--2 { fill: #2E5749; }
.page-products .pt-seg--3 { fill: #3A6E58; }
.page-products .pt-seg--4 { fill: #4E8F63; }
.page-products .pt-seg--5 { fill: #86C24A; }
.page-products .pt-seg--6 { fill: var(--lime-400); }

.page-products .pt-segbar:hover .pt-seg {
  opacity: .55;
}

.page-products .pt-segbar .pt-seg:hover {
  opacity: 1;
}

.page-products .pt-player__hint {
  margin: .75rem 0 0;
  font-size: .8rem;
  color: var(--slate-400);
  font-family: var(--font-num);
}

.page-products .pt-player__fig {
  margin: 0;
}

.page-products .pt-ranges {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.page-products .pt-range {
  padding: .85rem .95rem;
  border: 1px solid var(--line-20);
  border-radius: var(--radius-sm);
  background: var(--moss-900);
  transition: border-color .2s var(--ease);
}

.page-products .pt-range:hover {
  border-color: var(--lime-400);
}

.page-products .pt-range__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
}

.page-products .pt-range__tag {
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--lime-400);
}

.page-products .pt-range__val {
  font-family: var(--font-num);
  font-size: .92rem;
  color: var(--fg);
}

.page-products .pt-range p {
  margin: .5rem 0 0;
  font-size: .86rem;
  line-height: 1.68;
  color: var(--fg-dim);
}

/* ---------- 04 对照表 ---------- */
.page-products .pt-compare {
  margin-top: 1.5rem;
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  background: var(--moss-900);
  overflow-x: auto;
}

.page-products .pt-compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .9rem;
}

.page-products .pt-compare caption {
  padding: .85rem 1rem;
  text-align: left;
  font-size: .78rem;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-20);
}

.page-products .pt-compare th,
.page-products .pt-compare td {
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(38, 68, 58, .65);
  line-height: 1.65;
}

.page-products .pt-compare thead th {
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--fg-dim);
  background: rgba(6, 18, 15, .8);
}

.page-products .pt-compare tbody th {
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}

.page-products .pt-compare tbody td {
  color: var(--fg-dim);
}

.page-products .pt-compare .pt-compare__hi {
  color: var(--lime-200);
  background: rgba(200, 255, 61, .045);
}

.page-products .pt-compare tbody tr:last-child th,
.page-products .pt-compare tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 05 归档 ---------- */
.page-products .pt-archive {
  display: grid;
  gap: var(--pt-gap);
  margin-top: 1.25rem;
  align-items: start;
}

.page-products .pt-archive__list {
  list-style: none;
  margin: 1.25rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: .6rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--fg-dim);
}

.page-products .pt-archive__list li {
  padding-left: .95rem;
  border-left: 2px solid var(--moss-600);
}

.page-products .pt-archive__list strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: .35rem;
}

.page-products .pt-archive__fig {
  margin: 0;
}

/* ---------- 06 版本演进 ---------- */
.page-products .pt-steps {
  position: relative;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.9rem;
  display: grid;
  gap: 1.35rem;
}

.page-products .pt-steps::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--moss-600), var(--line-20));
}

.page-products .pt-steps__item {
  position: relative;
}

.page-products .pt-steps__item::before {
  content: "";
  position: absolute;
  left: calc(-1.9rem + 1px);
  top: .3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--moss-600);
  box-shadow: 0 0 0 3px var(--ink-950), 0 0 0 4px var(--line-20);
}

.page-products .pt-steps__item--now::before {
  background: var(--lime-400);
  box-shadow: 0 0 0 3px var(--ink-950), 0 0 0 4px var(--lime-400), 0 0 16px rgba(200, 255, 61, .55);
}

.page-products .pt-steps__ver {
  display: inline-block;
  font-family: var(--font-num);
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--lime-400);
}

.page-products .pt-steps__item h3 {
  margin: .2rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -.01em;
}

.page-products .pt-steps__item p {
  margin: .4rem 0 0;
  font-size: .86rem;
  line-height: 1.68;
  color: var(--fg-dim);
}

.page-products .pt-versions-foot {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.page-products .pt-versions-fig {
  margin: 0;
}

.page-products .pt-versions-foot p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--fg-dim);
}

.page-products .pt-versions-foot a {
  color: var(--lime-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 收尾 ---------- */
.page-products .pt-cta {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.page-products .pt-cta__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line-20);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(200, 255, 61, .16), transparent 60%),
    linear-gradient(150deg, var(--moss-900), var(--ink-950) 72%);
}

.page-products .pt-cta__copy h2 {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: -.01em;
}

.page-products .pt-cta__copy p {
  margin: .65rem 0 0;
  max-width: 52ch;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--fg-dim);
}

.page-products .pt-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-content: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .pt-console__kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pt-channel__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-products .pt-ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .pt-league-bar {
    grid-template-columns: 5rem 9rem minmax(0, 1fr);
    grid-template-areas: "name track note";
    gap: 1rem;
  }

  .page-products .pt-league-bar__note {
    text-align: left;
  }

  .page-products .pt-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-products .pt-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
  }

  .page-products .pt-channel {
    grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
    gap: 1.75rem;
  }

  .page-products .pt-player {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
  }

  .page-products .pt-archive {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    gap: 1.75rem;
  }

  .page-products .pt-versions-foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.75rem;
  }

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

  .page-products .pt-steps {
    padding: 1.9rem 0 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-products .pt-steps::before {
    left: 0;
    right: 0;
    top: 8px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--moss-600), var(--lime-400));
  }

  .page-products .pt-steps__item::before {
    left: 0;
    top: -1.9rem;
  }
}

@media (min-width: 1200px) {
  .page-products .pt-channel__cards {
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pt-route,
  .page-products .pt-range,
  .page-products .pt-seg {
    transition: none;
  }

  .page-products .pt-route:hover {
    transform: none;
  }
}
