.page-products {
  --cat-gap: clamp(14px, 2vw, 22px);
  --cat-line: rgba(216, 213, 200, .2);
  --cat-line-soft: rgba(216, 213, 200, .12);
  --cat-ink-soft: rgba(234, 243, 238, .74);
  --cat-ink-faint: rgba(234, 243, 238, .58);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs {
  padding-block: clamp(16px, 2.6vw, 28px) 0;
}

/* ---------- 首屏 ---------- */
.page-products .cat-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(18px, 3vw, 40px) clamp(40px, 6vw, 80px);
}

.page-products .cat-hero::before {
  content: "";
  position: absolute;
  inset: -12% -8% auto;
  height: 82%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 68% at 12% 4%, rgba(201, 242, 77, .16), transparent 68%),
    radial-gradient(52% 64% at 90% 26%, rgba(34, 49, 92, .85), transparent 74%);
}

.page-products .cat-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3.6vw, 40px);
  align-items: end;
}

.page-products .cat-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: clamp(34px, 7.2vw, 70px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--mint);
}

.page-products .cat-hero .lead {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 33em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--cat-ink-soft);
}

.page-products .cat-hero__chips {
  margin-top: clamp(18px, 2.6vw, 26px);
}

.page-products .cat-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  padding-top: clamp(18px, 2.6vw, 26px);
  border-top: 1px solid var(--cat-line);
}

.page-products .cat-hero__stats .stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.page-products .cat-hero__stats .stat-figure {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--whistle);
}

.page-products .cat-hero__stats .stat-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cat-ink-faint);
}

.page-products .cat-hero__fig {
  margin: 0;
}

.page-products .cat-hero__fig .media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--cat-line);
  overflow: hidden;
}

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

.page-products .media-caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cat-ink-faint);
}

/* ---------- 章节公共标题 ---------- */
.page-products .cat-head {
  max-width: 48em;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-products .cat-head h2 {
  margin: 12px 0 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--mint);
}

.page-products .cat-head__lead {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--cat-ink-soft);
}

.page-products .section--paper .cat-head h2,
.page-products .section--paper .cat-head__lead {
  color: var(--night);
}

.page-products .section--paper .cat-head__lead {
  color: rgba(11, 42, 37, .76);
}

.page-products .section--paper .eyebrow {
  color: rgba(11, 42, 37, .6);
}

/* ---------- 目录树 ---------- */
.page-products .cat-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 1.4vw, 16px);
}

.page-products .cat-node__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.8vw, 20px);
  align-items: start;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--cat-line-soft);
  border-left: 3px solid rgba(201, 242, 77, .45);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(18, 58, 50, .74), rgba(11, 42, 37, .48));
  color: inherit;
  text-decoration: none;
  transition: transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease);
}

.page-products .cat-node__link:hover,
.page-products .cat-node__link:focus-visible {
  transform: translateY(-3px);
  border-left-color: var(--whistle);
  background: linear-gradient(160deg, rgba(18, 58, 50, .96), rgba(11, 42, 37, .68));
}

.page-products .cat-node__no {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--whistle);
}

.page-products .cat-node__body {
  display: block;
  min-width: 0;
}

.page-products .cat-node__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mint);
}

.page-products .cat-node__desc {
  display: block;
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--cat-ink-faint);
}

.page-products .cat-node__go {
  align-self: center;
  font-size: 16px;
  color: var(--whistle);
  transition: transform .32s var(--ease);
}

.page-products .cat-node__link:hover .cat-node__go {
  transform: translateX(4px);
}

/* ---------- 标签章节 ---------- */
.page-products .cat-tags__layout {
  display: grid;
  gap: clamp(22px, 3.2vw, 36px);
}

.page-products .cat-tags .filter-bar {
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

.page-products .cat-taggrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}

.page-products .cat-tag {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--paper-line);
  border-top: 4px solid var(--mute);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 0 -10px rgba(11, 42, 37, .16);
}

.page-products .cat-tag--red { border-top-color: var(--red); }
.page-products .cat-tag--amber { border-top-color: var(--amber); }
.page-products .cat-tag--indigo { border-top-color: var(--indigo); }

.page-products .cat-tag h3 {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--night);
}

.page-products .cat-tag p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(11, 42, 37, .74);
}

.page-products .cat-tag__extra {
  display: block;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px dashed rgba(11, 42, 37, .18);
  font-size: 14px;
  line-height: 1.72;
  color: rgba(11, 42, 37, .58);
  transition: max-height .42s var(--ease), opacity .3s var(--ease),
              margin-top .42s var(--ease), padding-top .42s var(--ease);
}

.page-products .cat-tag:hover .cat-tag__extra,
.page-products .cat-tag:focus-within .cat-tag__extra {
  max-height: 220px;
  margin-top: 14px;
  padding-top: 12px;
  opacity: 1;
}

.page-products .cat-tags__fig {
  margin: 0;
}

.page-products .cat-tags__fig .media {
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-line);
  overflow: hidden;
}

.page-products .section--paper .media-caption {
  color: rgba(11, 42, 37, .56);
}

/* ---------- 赛程入口 ---------- */
.page-products .cat-sched .scroll-rail {
  margin: 0;
  padding: 0 0 clamp(12px, 2vw, 18px);
  list-style: none;
  gap: var(--cat-gap);
}

.page-products .cat-rail__card {
  flex: 0 0 auto;
  min-width: min(302px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(201, 242, 77, .24);
  border-radius: var(--radius-md);
  background: rgba(11, 42, 37, .52);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-products .cat-rail__card:hover {
  border-color: var(--whistle);
  background: rgba(11, 42, 37, .78);
}

.page-products .cat-rail__no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--whistle);
}

.page-products .cat-rail__card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--mint);
}

.page-products .cat-rail__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--cat-ink-soft);
}

.page-products .cat-rail__meta {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cat-ink-faint);
}

.page-products .cat-rail__meta span {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(201, 242, 77, .16);
  font-size: 12px;
  color: var(--whistle);
}

.page-products .cat-sched__fig {
  margin: clamp(24px, 3.6vw, 38px) 0 0;
}

.page-products .cat-sched__fig .media {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 242, 77, .2);
  overflow: hidden;
}

/* ---------- 数据章节 ---------- */
.page-products .cat-stats__layout {
  display: grid;
  gap: clamp(22px, 3.2vw, 34px);
}

.page-products .cat-metrics {
  list-style: none;
  margin: 0;
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  border: 1px solid var(--cat-line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(34, 49, 92, .5), rgba(11, 42, 37, .6));
}

.page-products .cat-metric {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
  align-items: center;
}

.page-products .cat-metric__name {
  font-size: 14.5px;
  color: var(--mint);
}

.page-products .cat-metric__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(216, 213, 200, .16);
  overflow: hidden;
}

.page-products .cat-metric__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--whistle), var(--whistle-lit));
}

.page-products .cat-metric:nth-child(1) .cat-metric__track i { width: 72%; }
.page-products .cat-metric:nth-child(2) .cat-metric__track i { width: 58%; }
.page-products .cat-metric:nth-child(3) .cat-metric__track i { width: 41%; }
.page-products .cat-metric:nth-child(4) .cat-metric__track i { width: 33%; }
.page-products .cat-metric:nth-child(5) .cat-metric__track i { width: 22%; }

.page-products .cat-stats__notes {
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--cat-line-soft);
  border-radius: var(--radius-md);
  background: rgba(18, 58, 50, .56);
}

.page-products .cat-note__figure {
  font-family: var(--font-mono);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1;
  color: var(--whistle);
}

.page-products .cat-note h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mint);
}

.page-products .cat-note p {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--cat-ink-faint);
}

.page-products .cat-stats__fig {
  margin: 0;
}

.page-products .cat-stats__fig .media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--cat-line-soft);
  overflow: hidden;
}

/* ---------- 订阅章节 ---------- */
.page-products .cat-sub__layout {
  display: grid;
  gap: clamp(22px, 3.2vw, 34px);
}

.page-products .cat-sub__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-sub__item {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 26px) clamp(58px, 6vw, 74px);
  border: 1px solid rgba(201, 242, 77, .2);
  border-radius: var(--radius-md);
  background: rgba(11, 42, 37, .45);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-products .cat-sub__item:hover {
  border-color: var(--whistle);
  background: rgba(11, 42, 37, .7);
}

.page-products .cat-sub__no {
  position: absolute;
  left: clamp(16px, 2vw, 22px);
  top: clamp(18px, 2.4vw, 26px);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--whistle);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--night);
}

.page-products .cat-sub__item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mint);
}

.page-products .cat-sub__item p {
  margin: 9px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--cat-ink-faint);
}

.page-products .cat-sub__fig {
  margin: 0;
}

.page-products .cat-sub__fig .media {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 242, 77, .2);
  overflow: hidden;
}

/* ---------- 篮球专线 ---------- */
.page-products .cat-hoops__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-hoops__card {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(242, 183, 5, .28);
  border-radius: var(--radius-md);
  background: rgba(11, 42, 37, .42);
}

.page-products .cat-hoops__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.page-products .cat-hoops__card h3 {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mint);
}

.page-products .cat-hoops__card p {
  margin: 9px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--cat-ink-soft);
}

.page-products .cat-hoops__foot {
  margin: clamp(22px, 3.2vw, 32px) 0 0;
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.4vw, 26px);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(242, 183, 5, .1);
  font-size: 15px;
  line-height: 1.8;
  color: var(--mint);
}

/* ---------- 上手路径 ---------- */
.page-products .cat-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  counter-reset: cat-step;
}

.page-products .cat-steps__item {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  padding-top: clamp(30px, 3.6vw, 40px);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.page-products .cat-steps__item::before {
  content: "";
  position: absolute;
  left: clamp(18px, 2.4vw, 26px);
  top: clamp(14px, 2vw, 20px);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--whistle);
}

.page-products .cat-steps__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(11, 42, 37, .48);
}

.page-products .cat-steps__item h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--night);
}

.page-products .cat-steps__item p {
  margin: 9px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(11, 42, 37, .72);
}

.page-products .cat-start__foot {
  margin-top: clamp(26px, 3.6vw, 40px);
  padding-top: clamp(20px, 2.8vw, 30px);
  border-top: 1px solid var(--paper-line);
}

.page-products .cat-start__foot p {
  margin: 0 0 clamp(16px, 2.4vw, 22px);
  max-width: 40em;
  font-size: 16px;
  line-height: 1.82;
  color: rgba(11, 42, 37, .76);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-products .cat-taggrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 780px) {
  .page-products .cat-tree {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 20px);
  }
}

@media (min-width: 880px) {
  .page-products .cat-tags__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 290px);
    align-items: start;
  }

  .page-products .cat-stats__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .cat-metrics {
    grid-column: 1;
  }

  .page-products .cat-stats__notes {
    grid-column: 2;
  }

  .page-products .cat-stats__fig {
    grid-column: 1 / -1;
  }

  .page-products .cat-sub__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: start;
  }

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

@media (min-width: 920px) {
  .page-products .cat-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
}

@media (hover: none) {
  .page-products .cat-tag__extra {
    max-height: none;
    margin-top: 14px;
    padding-top: 12px;
    opacity: 1;
  }
}

@media (max-width: 479px) {
  .page-products .cat-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .cat-metric {
    grid-template-columns: 3.6em minmax(0, 1fr);
  }

  .page-products .cat-note {
    grid-template-columns: minmax(0, 1fr);
  }
}
