.page-products {
  --pd-gap: clamp(16px, 2vw, 26px);
  --pd-r-lg: 28px;
  --pd-r-md: 20px;
  --pd-line: rgba(30, 75, 122, .5);
  background: var(--midnight);
  color: var(--ice);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-products a:focus-visible,
.page-products label:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(104px, 16vw, 180px) 0 clamp(42px, 6vw, 78px);
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--signal), transparent);
  opacity: .75;
}

.page-products .pd-hero__bg {
  position: absolute;
  inset: 0;
}

.page-products .pd-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-products .pd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 72% at 14% 0%, rgba(0, 229, 255, .18), transparent 58%),
    radial-gradient(85% 62% at 92% 92%, rgba(255, 107, 53, .14), transparent 60%),
    linear-gradient(180deg, rgba(6, 20, 40, .74) 0%, rgba(11, 30, 58, .94) 60%, var(--midnight) 100%);
}

.page-products .pd-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .pd-crumbs {
  margin-bottom: 20px;
}

.page-products .pd-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.page-products .pd-crumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color .16s var(--ease);
}

.page-products .pd-crumbs a:hover {
  color: var(--cyan);
}

.page-products .pd-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(143, 166, 196, .6);
}

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

.page-products .pd-hero__title {
  margin: 16px 0 0;
  max-width: 19ch;
  font-size: clamp(33px, 6.4vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.page-products .pd-hero__lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--ink-80);
}

.page-products .pd-hero__stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-stat {
  padding: 18px 18px 20px;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-md);
  background: linear-gradient(180deg, rgba(18, 48, 90, .78), rgba(6, 20, 40, .6));
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-products .pd-stat:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pd-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pd-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mist);
}

/* ---------- 页内目录 ---------- */
.page-products .pd-toc {
  padding: 12px 0;
  background: var(--abyss);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}

.page-products .pd-toc__inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-toc__inner::-webkit-scrollbar {
  display: none;
}

.page-products .pd-toc__inner .pill {
  flex: 0 0 auto;
  padding: 9px 17px;
  border: 1px solid var(--steel);
  border-radius: var(--pill);
  background: rgba(18, 48, 90, .5);
  color: var(--ink-80);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}

.page-products .pd-toc__inner .pill:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .1);
  color: var(--ice);
}

/* ---------- 章节骨架 ---------- */
.page-products .pd-sec {
  padding: clamp(50px, 7vw, 94px) 0;
  border-bottom: 1px solid rgba(30, 75, 122, .35);
}

.page-products .pd-sec:last-of-type {
  border-bottom: 0;
}

.page-products .pd-head {
  max-width: 800px;
}

.page-products .pd-head h2 {
  margin: 14px 0 0;
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.page-products .pd-head__lede {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--ink-70);
}

.page-products .pd-head__lede a,
.page-products .pd-ref__foot a,
.page-products .pd-clips__note a,
.page-products .pd-bracket__foot a,
.page-products .pd-way__meta a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .4);
}

.page-products .pd-head__lede a:hover,
.page-products .pd-ref__foot a:hover,
.page-products .pd-clips__note a:hover,
.page-products .pd-bracket__foot a:hover,
.page-products .pd-way__meta a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 三档赛前名单 ---------- */
.page-products .pd-tier {
  position: relative;
  overflow: hidden;
  margin-top: clamp(26px, 4vw, 46px);
  padding: clamp(20px, 3.2vw, 40px);
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-lg);
  background: linear-gradient(155deg, rgba(18, 48, 90, .92) 0%, rgba(6, 20, 40, .97) 100%);
}

.page-products .pd-tier__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-products .pd-tier__wash img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-products .pd-tier__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 229, 255, .1), transparent 58%);
}

.page-products .pd-tier__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pd-tier__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
}

.page-products .pd-tier__radio:focus-visible + .pd-tier__tab {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-products .pd-tier__tab {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--steel);
  border-radius: var(--pill);
  background: rgba(6, 20, 40, .6);
  color: var(--ink-70);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.page-products .pd-tier__tab:hover {
  border-color: var(--cyan);
  color: var(--ice);
}

.page-products .pd-tier__tab .num {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
}

.page-products .pd-tier__radio:checked + .pd-tier__tab {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--abyss);
}

.page-products .pd-tier__panels {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.page-products .pd-tier__panel {
  display: block;
}

.page-products .pd-tier:has(.pd-tier__radio:checked) .pd-tier__panel {
  display: none;
}

.page-products .pd-tier:has(#pd-tier-72:checked) .pd-tier__panel--72,
.page-products .pd-tier:has(#pd-tier-24:checked) .pd-tier__panel--24,
.page-products .pd-tier:has(#pd-tier-6:checked) .pd-tier__panel--6 {
  display: block;
}

.page-products .pd-tier__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ice);
}

.page-products .pd-tier__text {
  margin: 14px 0 0;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-70);
}

.page-products .pd-tier__fields {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-r-md);
  overflow: hidden;
  background: var(--pd-line);
}

.page-products .pd-tier__fields > div {
  padding: 16px 18px;
  background: rgba(6, 20, 40, .74);
}

.page-products .pd-tier__fields dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .pd-tier__fields dd {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-80);
}

/* ---------- 裁判名单 ---------- */
.page-products .pd-ref {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-products .pd-ref__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-lg);
  background: var(--abyss);
}

.page-products .pd-ref__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .pd-ref__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(11, 30, 58, .4), transparent 58%);
}

.page-products .pd-ref__lead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--pd-r-md) var(--pd-r-md) 0;
  background: rgba(0, 229, 255, .07);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-80);
}

.page-products .pd-ref__ico {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--cyan);
}

.page-products .pd-ref__list {
  display: grid;
  gap: 4px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-ref__item {
  padding: 12px 0 12px 18px;
  border-left: 2px solid var(--steel);
  transition: border-color .16s var(--ease);
}

.page-products .pd-ref__item:hover {
  border-left-color: var(--cyan);
}

.page-products .pd-ref__k {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ice);
}

.page-products .pd-ref__v {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-70);
}

.page-products .pd-ref__foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 回看集锦 ---------- */
.page-products .pd-clips {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 46px);
}

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

.page-products .pd-clips__facet {
  padding: 18px 20px;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-md);
  background: linear-gradient(160deg, rgba(18, 48, 90, .62), rgba(6, 20, 40, .72));
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-products .pd-clips__facet:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pd-clips__facet-k {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--whistle);
}

.page-products .pd-clips__facet-v {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-70);
}

.page-products .pd-clips__note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--pd-r-md);
  border: 1px dashed var(--steel);
}

.page-products .pd-clips__note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-70);
}

.page-products .pd-clips__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-lg);
  background: var(--abyss);
}

.page-products .pd-clips__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .pd-clips__media .media__cap {
  display: block;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--pd-line);
}

/* ---------- 签表与轮换 ---------- */
.page-products .pd-bracket {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-products .pd-bracket__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-lg);
  background: var(--abyss);
}

.page-products .pd-bracket__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .pd-bracket__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-bracket__item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-md);
  background: rgba(18, 48, 90, .42);
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-products .pd-bracket__item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pd-bracket__idx {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--signal);
}

.page-products .pd-bracket__t {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ice);
}

.page-products .pd-bracket__d {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-70);
}

.page-products .pd-bracket__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 产出节奏 ---------- */
.page-products .pd-cadence {
  display: grid;
  gap: var(--pd-gap);
  grid-template-columns: 1fr;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-cadence__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-md);
  background: linear-gradient(170deg, rgba(18, 48, 90, .55), rgba(6, 20, 40, .72));
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-products .pd-cadence__item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pd-cadence__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pd-cadence__item--hot .pd-cadence__num {
  color: var(--signal);
}

.page-products .pd-cadence__item--ok .pd-cadence__num {
  color: var(--judge);
}

.page-products .pd-cadence__label {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-70);
}

/* ---------- 取用方式 ---------- */
.page-products .pd-ways {
  display: grid;
  gap: var(--pd-gap);
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-products .pd-way {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-md);
  background: linear-gradient(170deg, rgba(18, 48, 90, .6), rgba(6, 20, 40, .74));
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}

.page-products .pd-way:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pd-way__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--ice);
}

.page-products .pd-way__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-70);
}

.page-products .pd-way__text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .4);
}

.page-products .pd-way__meta {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .pd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: clamp(34px, 5vw, 58px);
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--steel);
  border-radius: var(--pd-r-lg);
  background:
    linear-gradient(118deg, rgba(0, 229, 255, .12), rgba(255, 107, 53, .09) 68%, transparent 100%),
    rgba(11, 30, 58, .8);
}

.page-products .pd-cta__text {
  flex: 1 1 320px;
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-80);
}

.page-products .pd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-products .pd-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .page-products .pd-cadence__item--wide {
    grid-column: span 2;
  }

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

@media (min-width: 900px) {
  .page-products .pd-ref {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .pd-clips {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .pd-bracket {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-products .pd-cadence {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-products .pd-cadence__item {
    grid-column: span 3;
  }

  .page-products .pd-cadence__item--wide {
    grid-column: span 6;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-stat:hover,
  .page-products .pd-cadence__item:hover,
  .page-products .pd-way:hover,
  .page-products .pd-bracket__item:hover,
  .page-products .pd-clips__facet:hover {
    transform: none;
  }
}
