.page-products {
  --pt-hair: rgba(127, 154, 166, 0.24);
  --pt-panel: rgba(14, 43, 36, 0.72);
  --pt-panel-soft: rgba(14, 43, 36, 0.42);
  --pt-gap: clamp(20px, 3vw, 36px);
}

.page-products .pt-crumbs {
  padding-top: 22px;
  padding-bottom: 4px;
}

.page-products .pt-crumbs__sep {
  margin: 0 8px;
  color: var(--mist);
  font-family: var(--font-mono);
}

/* ---------- 首屏 ---------- */
.page-products .pt-hero {
  padding: clamp(26px, 5vw, 64px) 0 clamp(34px, 6vw, 76px);
}

.page-products .pt-hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-products .pt-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-products .pt-hero__lede {
  margin-top: 18px;
  color: rgba(242, 234, 215, 0.74);
  max-width: 46ch;
}

.page-products .pt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pt-hero__badge {
  margin-top: 22px;
}

.page-products .pt-hero__visual {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(7, 23, 38, 0.9), rgba(14, 43, 36, 0.75));
  border: 1px solid var(--pt-hair);
  overflow: hidden;
}

.page-products .pt-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pt-hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--pt-hair) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

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

.page-products .pt-spine__labels text {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--mist);
  letter-spacing: 0.04em;
}

/* ---------- 通用小节辅助 ---------- */
.page-products .pt-lede {
  max-width: 68ch;
  margin-top: 14px;
}

.page-products .pt-subhead {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.page-products .section--paper .pt-subhead {
  color: var(--ink);
}

/* ---------- 签表工具 ---------- */
.page-products .pt-bracket__media {
  margin: clamp(24px, 4vw, 40px) 0;
}

.page-products .pt-ways {
  gap: var(--pt-gap);
}

.page-products .pt-way {
  padding: 20px 0 4px;
  border-top: 2px solid transparent;
  border-image: var(--spine-x) 1;
}

.page-products .pt-way__no {
  color: var(--rust);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.page-products .pt-way__title {
  margin: 8px 0 10px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .pt-way p {
  color: rgba(242, 234, 215, 0.72);
  font-size: 15.5px;
  line-height: 1.75;
}

.page-products .pt-tabs {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-products .pt-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pt-tabs__panel {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--pt-panel);
  border: 1px solid var(--pt-hair);
}

.page-products .pt-tabs__meta {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-products .pt-fixtures {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-products .pt-fixtures__row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pt-hair);
}

.page-products .pt-fixtures__row:last-child {
  border-bottom: 0;
}

.page-products .pt-fixtures__label {
  flex: 1 1 auto;
  color: rgba(242, 234, 215, 0.82);
  font-size: 15px;
}

.page-products .pt-tabs__note {
  margin-top: 16px;
  color: rgba(242, 234, 215, 0.6);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 球员查询 ---------- */
.page-products .pt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
}

.page-products .pt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pt-hair);
  border-radius: var(--radius);
}

.page-products .pt-table-caption {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-products .pt-player-table .num {
  text-align: right;
}

.page-products .pt-player-notes {
  gap: var(--pt-gap);
  margin-top: clamp(26px, 4vw, 40px);
  align-items: start;
}

.page-products .pt-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pt-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: rgba(242, 234, 215, 0.74);
  font-size: 15.5px;
  line-height: 1.75;
}

.page-products .pt-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.page-products .pt-player-media {
  margin: 0;
}

/* ---------- 苹果端同步 ---------- */
.page-products .pt-sync__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-products .pt-sync__copy p {
  color: rgba(242, 234, 215, 0.74);
  font-size: 16px;
  line-height: 1.78;
  margin-top: 16px;
}

.page-products .pt-sync__status {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
}

.page-products .pt-sync__status-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .pt-sync__status-version {
  color: var(--cyan);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.page-products .pt-sync__status-text {
  margin-top: 8px;
  color: var(--cream);
  font-size: 15px;
}

.page-products .pt-sync__help {
  margin-top: 22px;
}

.page-products .pt-help-list {
  margin: 0;
  padding-left: 1.2em;
}

.page-products .pt-help-list li {
  margin-bottom: 10px;
  color: rgba(242, 234, 215, 0.76);
  font-size: 15px;
  line-height: 1.75;
}

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

/* ---------- 补时与教练 ---------- */
.page-products .pt-extra__grid {
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(26px, 4vw, 42px);
  align-items: start;
}

.page-products .pt-extra__timeline,
.page-products .pt-extra__coach {
  min-width: 0;
}

.page-products .pt-timeline {
  margin: 20px 0 24px;
}

.page-products .pt-tl-expander .expander__summary {
  color: var(--cream);
  font-size: 15.5px;
}

.page-products .pt-tl-expander .expander__body p {
  color: rgba(242, 234, 215, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.page-products .pt-extra__media {
  margin: 22px 0 0;
}

.page-products .pt-coach {
  margin-bottom: 18px;
}

.page-products .pt-coach__title {
  margin: 6px 0 14px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .pt-coach__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.page-products .pt-coach__field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-ink);
}

.page-products .pt-coach__field dt {
  color: rgba(29, 22, 16, 0.68);
  font-size: 14px;
}

.page-products .pt-coach__field dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- 订阅 ---------- */
.page-products .pt-sub-list {
  gap: var(--pt-gap);
  margin-top: clamp(24px, 4vw, 36px);
}

.page-products .pt-sub {
  padding: 22px 20px;
}

.page-products .pt-sub__no {
  display: inline-block;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(255, 162, 31, 0.16);
  color: var(--gold);
  font-size: 13px;
  text-align: center;
}

.page-products .pt-sub h3 {
  margin: 12px 0 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .pt-sub p {
  color: rgba(242, 234, 215, 0.72);
  font-size: 15.5px;
  line-height: 1.75;
}

.page-products .pt-sub__foot {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: rgba(242, 234, 215, 0.78);
  font-size: 15.5px;
  line-height: 1.78;
}

/* ---------- 版本与适配 ---------- */
.page-products .pt-version-table th[scope="row"] {
  font-weight: 500;
  color: rgba(242, 234, 215, 0.66);
  text-align: left;
}

.page-products .pt-version__links {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--pt-hair);
}

.page-products .pt-version__links p {
  color: rgba(242, 234, 215, 0.74);
  font-size: 15.5px;
  line-height: 1.78;
}

.page-products .pt-version__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 900px) {
  .page-products .pt-hero__grid {
    grid-template-columns: 5fr 7fr;
  }

  .page-products .pt-sync__grid {
    grid-template-columns: 6fr 5fr;
  }

  .page-products .pt-player-notes,
  .page-products .pt-extra__grid {
    align-items: start;
  }

  .page-products .pt-sync__media {
    justify-self: end;
    width: 100%;
    max-width: 420px;
  }
}

@media (min-width: 1200px) {
  .page-products .pt-hero__grid {
    gap: 64px;
  }
}

@media (max-width: 899px) {
  .page-products .pt-spine__labels text {
    font-size: 13px;
  }

  .page-products .pt-tabs__panel {
    padding: 16px;
  }

  .page-products .pt-sync__media {
    max-width: 100%;
  }
}
