/* ==========================================================================
   page-products — 赛事数据服务
   ========================================================================== */

.page-products {
  --pdp-pad: clamp(18px, 4.2vw, 56px);
  --pdp-gap: clamp(28px, 4vw, 56px);
}

/* --------------------------------------------------------------------------
   首屏 · 对角斜切 + 关键数据前置
   -------------------------------------------------------------------------- */

.pdp-hero {
  position: relative;
  isolation: isolate;
  background: var(--char);
  color: var(--bone);
  overflow: hidden;
  padding: clamp(44px, 7vw, 92px) 0 clamp(52px, 8vw, 104px);
}

.pdp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--deep);
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 38% 100%);
  z-index: -2;
  pointer-events: none;
}

.pdp-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 46px,
      rgba(243, 238, 228, .04) 46px 47px);
  z-index: -1;
  pointer-events: none;
}

.pdp-hero__inner {
  position: relative;
  z-index: 1;
}

.pdp-hero__crumbs {
  margin-bottom: clamp(20px, 3.4vw, 36px);
}

.pdp-hero__crumbs .breadcrumbs__link {
  color: rgba(243, 238, 228, .58);
}

.pdp-hero__crumbs .breadcrumbs__link:hover {
  color: var(--clay);
}

.pdp-hero__eyebrow {
  color: var(--clay);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .14em;
}

.pdp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 14px 0 22px;
  max-width: 17ch;
}

.pdp-hero__lead {
  max-width: 60ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.78;
  color: rgba(243, 238, 228, .84);
}

.pdp-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: clamp(30px, 5vw, 56px) 0 0;
  padding-top: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--line-invert);
}

.pdp-hero__meta .stat__num {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: .012em;
  line-height: 1;
  color: var(--bone);
}

.pdp-hero__meta .stat__unit {
  font-family: var(--font-body);
  font-size: .42em;
  margin-left: 4px;
  letter-spacing: 0;
  color: var(--clay);
}

.pdp-hero__meta .stat__label {
  display: block;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: rgba(243, 238, 228, .58);
}

@media (min-width: 720px) {
  .pdp-hero__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   页面脊椎 · 全出血时间轴图
   -------------------------------------------------------------------------- */

.pdp-spine {
  background: var(--char);
}

.pdp-spine__figure {
  margin: 0;
}

.pdp-spine__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.pdp-spine__caption {
  padding: 14px var(--pdp-pad);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 238, 228, .55);
  background: var(--char);
  border-top: 1px solid var(--line-invert);
}

/* --------------------------------------------------------------------------
   通用章节
   -------------------------------------------------------------------------- */

.pdp-section {
  position: relative;
  padding: clamp(52px, 8vw, 108px) 0;
}

.pdp-section--deep { background: var(--deep); color: rgba(243, 238, 228, .86); }
.pdp-section--bone { background: var(--bone); color: var(--char); }
.pdp-section--char { background: var(--char); color: rgba(243, 238, 228, .86); }
.pdp-section--moss { background: var(--moss); color: rgba(243, 238, 228, .88); }

.pdp-section--deep .t-h2,
.pdp-section--deep .t-h3,
.pdp-section--deep .pdp-head__title,
.pdp-section--char .t-h2,
.pdp-section--char .t-h3,
.pdp-section--char .pdp-head__title,
.pdp-section--moss .t-h2,
.pdp-section--moss .t-h3,
.pdp-section--moss .pdp-head__title {
  color: var(--bone);
}

.pdp-section--deep .t-eyebrow,
.pdp-section--char .t-eyebrow,
.pdp-section--moss .t-eyebrow {
  color: var(--clay);
}

.pdp-section--bone .t-eyebrow {
  color: var(--clay);
}

.pdp-head {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.pdp-head__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.16;
  letter-spacing: -.012em;
  font-weight: 800;
  margin: 12px 0 16px;
  max-width: 20ch;
}

.pdp-head__lead {
  max-width: 60ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.76;
  opacity: .84;
}

/* 章节内文字排布 */

.page-products .stack {
  display: grid;
  gap: 14px;
}

.page-products .stack + .stack {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .t-h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.38;
  letter-spacing: -.006em;
  font-weight: 700;
}

.page-products .prose {
  max-width: 60ch;
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.78;
}

.page-products .t-note {
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .68;
}

/* 列表短横线 */

.pdp-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 60ch;
}

.pdp-check-list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.75;
}

.pdp-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 12px;
  height: 2px;
  background: var(--clay);
}

/* --------------------------------------------------------------------------
   01 · 时间轴章节
   -------------------------------------------------------------------------- */

.pdp-tl__grid {
  align-items: start;
}

.pdp-tl__visual {
  margin-top: clamp(24px, 4vw, 0px);
}

.pdp-node-card {
  margin: 0;
}

.pdp-node-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.pdp-node-card__caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 238, 228, .58);
}

/* 时间轴节点示意条 */

.pdp-tl__axis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 36px;
  border-top: 2px solid rgba(243, 238, 228, .22);
}

.pdp-axis__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pdp-axis__step::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  background: rgba(243, 238, 228, .22);
  transform: translateX(-.5px);
}

.pdp-axis__tick {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(243, 238, 228, .62);
  white-space: nowrap;
}

.pdp-node {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bone);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.pdp-node--yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(240, 190, 46, .2);
}

.pdp-node--red {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 58, 43, .24);
}

.pdp-node:hover {
  transform: scale(1.55);
}

@media (max-width: 640px) {
  .pdp-axis__tick { font-size: 10.5px; }
  .pdp-node { width: 9px; height: 9px; }
  .pdp-tl__axis { padding-top: 28px; }
  .pdp-axis__step::before { height: 28px; }
}

/* 图例 */

.pdp-section .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 12.5px;
  color: rgba(243, 238, 228, .7);
}

/* --------------------------------------------------------------------------
   02 · 分布表章节
   -------------------------------------------------------------------------- */

.pdp-dist__visual {
  margin-top: clamp(24px, 4vw, 0px);
}

.pdp-table-card {
  margin: 0;
}

.pdp-table-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.pdp-table-card__caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--char-soft);
}

/* 示例表格 */

.pdp-sample {
  margin-top: clamp(32px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.pdp-sample__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--deep);
  color: var(--bone);
}

.pdp-sample__title {
  font-size: 13.5px;
  letter-spacing: .06em;
  font-weight: 600;
}

.pdp-sample__note {
  font-family: var(--font-body);
  color: rgba(243, 238, 228, .7);
}

.pdp-sample__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pdp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 14px;
}

.pdp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--char);
  color: var(--bone);
  text-align: left;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}

.pdp-table thead th:first-child {
  background: var(--deep);
}

.pdp-table tbody th {
  text-align: left;
  padding: 12px 18px;
  font-weight: 600;
  color: var(--deep);
  background: rgba(11, 58, 44, .06);
  white-space: nowrap;
}

.pdp-table tbody td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--char-soft);
  white-space: nowrap;
}

.pdp-table__row {
  transition: background-color .18s var(--ease);
}

.pdp-table__row:hover {
  background: rgba(190, 107, 72, .07);
}

.pdp-table__row:hover th {
  background: rgba(190, 107, 72, .14);
}

.pdp-bar {
  display: block;
  height: 10px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--orange) var(--w, 50%),
    rgba(20, 24, 27, .08) var(--w, 50%),
    rgba(20, 24, 27, .08) 100%
  );
}

/* --------------------------------------------------------------------------
   03 · 看战报 V3
   -------------------------------------------------------------------------- */

.pdp-v3__grid {
  align-items: start;
}

.pdp-v3__visual {
  margin-top: clamp(24px, 4vw, 0px);
}

.pdp-phone {
  margin: 0 auto;
  max-width: 320px;
}

.pdp-phone img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid rgba(243, 238, 228, .18);
}

.pdp-phone__caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 238, 228, .58);
  text-align: center;
}

/* --------------------------------------------------------------------------
   04 · 组合使用
   -------------------------------------------------------------------------- */

.pdp-flow {
  margin: 0 0 clamp(28px, 4vw, 48px);
}

.pdp-flow img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.pdp-combo__grid {
  row-gap: clamp(28px, 3.4vw, 44px);
}

.pdp-combo {
  padding-top: 20px;
  border-top: 2px solid rgba(243, 238, 228, .26);
}

.pdp-combo__time {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--yellow);
}

.pdp-combo .t-h3 {
  margin-bottom: 10px;
  color: var(--bone);
}

.pdp-combo .prose {
  color: rgba(243, 238, 228, .8);
}

/* --------------------------------------------------------------------------
   05 · 适用人群
   -------------------------------------------------------------------------- */

.pdp-audiences {
  display: grid;
  border-top: 1px solid var(--line);
}

.pdp-audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: clamp(22px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s var(--ease);
}

.pdp-audience__key {
  font-family: var(--font-data);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: .04em;
  line-height: 1;
  color: var(--clay);
}

.pdp-audience__body .t-h3 {
  margin-bottom: 10px;
}

.pdp-audience__body .prose {
  max-width: 62ch;
  color: var(--char-soft);
}

@media (min-width: 760px) {
  .pdp-audience {
    grid-template-columns: 84px 1fr;
    gap: clamp(16px, 3vw, 40px);
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   06 · 收束 CTA
   -------------------------------------------------------------------------- */

.pdp-cta__inner {
  max-width: 800px;
}

.pdp-cta__eyebrow {
  color: var(--clay);
}

.pdp-cta__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.16;
  letter-spacing: -.012em;
  font-weight: 800;
  margin: 12px 0 18px;
  max-width: 22ch;
  color: var(--bone);
}

.pdp-cta__lead {
  max-width: 60ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.76;
  color: rgba(243, 238, 228, .84);
}

.pdp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.2vw, 40px);
}

/* --------------------------------------------------------------------------
   进入视口的渐入
   -------------------------------------------------------------------------- */

.page-products [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.has-js .page-products [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal],
  .has-js .page-products [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-products {
  --w: transparent;
}
