.page-products{
  --cat-line: rgba(28,110,140,.22);
  --cat-line-soft: rgba(28,110,140,.12);
  --cat-wash: #eef5f8;
  background: var(--c-paper);
  color: var(--c-ink);
  overflow-x: hidden;
}

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

.page-products .eyebrow{
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-line);
  margin: 0 0 8px;
}

/* ---------- 首屏 ---------- */
.page-products .cat-hero{
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(20px, 4vw, 48px));
  color: var(--c-paper);
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(0,194,168,.22), transparent 62%),
    linear-gradient(158deg, var(--c-deep) 0%, var(--c-surge) 54%, var(--c-ink) 100%);
}
.page-products .cat-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  opacity: .6;
  pointer-events: none;
}
.page-products .cat-hero__glow{
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(64vw, 760px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0,194,168,.32), rgba(0,194,168,0) 64%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}
.page-products .cat-hero__inner{
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(18px, 3vw, 36px) clamp(28px, 5vw, 52px);
}
.page-products .cat-hero .breadcrumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--c-mist);
  margin-bottom: 16px;
}
.page-products .cat-hero .breadcrumb a{
  color: var(--c-aqua-lt);
  text-decoration: none;
}
.page-products .cat-hero .breadcrumb a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-products .breadcrumb__sep{
  color: rgba(201,216,226,.5);
}
.page-products .cat-hero .eyebrow{
  color: var(--c-aqua-lt);
}
.page-products .cat-hero h1{
  font-family: var(--f-head);
  font-size: clamp(32px, 6vw, 66px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  color: #fff;
  margin: 0;
  max-width: 15em;
}
.page-products .cat-hero__lead{
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--c-mist);
}
.page-products .cat-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-products .cat-hero__figure{
  margin: 0;
  position: relative;
  border: 1px solid rgba(95,224,205,.35);
  background: rgba(6,30,46,.55);
  overflow: hidden;
}
.page-products .cat-hero__figure .media__caption{
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--c-mist);
  padding: 10px 12px;
  background: rgba(6,30,46,.75);
  border-top: 1px solid rgba(95,224,205,.2);
}

.page-products .cat-stats{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  margin: 0 auto;
  border-top: 1px solid rgba(28,110,140,.5);
}
.page-products .cat-stats__item{
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 16px 0 20px;
}
.page-products .cat-stats dt{
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--c-mist);
}
.page-products .cat-stats dd{
  margin: 0;
  font-family: var(--f-mono);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--c-aqua-lt);
  letter-spacing: -.02em;
}
.page-products .cat-num{
  font-family: var(--f-mono);
  font-weight: 700;
}

/* ---------- 主体骨架 ---------- */
.page-products .cat-body{
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 80px);
}
.page-products .cat-sections{
  min-width: 0;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}

.page-products .cat-index{
  display: none;
}
.page-products .cat-index__label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-line);
  margin: 0 0 10px;
  padding-left: 10px;
}
.page-products .cat-index .toc{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-products .cat-index .toc__link{
  display: block;
  padding: 8px 0 8px 10px;
  border-left: 2px solid var(--cat-line-soft);
  font-size: 13.5px;
  line-height: 1.55;
  color: #3e627a;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.page-products .cat-index .toc__link span{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-aqua);
  margin-right: 8px;
}
.page-products .cat-index .toc__link:hover{
  color: var(--c-deep);
  border-left-color: rgba(0,194,168,.55);
}
.page-products .cat-index .toc__link.is-active,
.page-products .cat-index .toc__link[aria-current]{
  color: var(--c-deep);
  font-weight: 600;
  border-left-color: var(--c-aqua);
  background: linear-gradient(90deg, rgba(0,194,168,.1), transparent);
}

/* ---------- 章节通用 ---------- */
.page-products .cat-sec{
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.page-products .cat-sec__head{
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 8px 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cat-line);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.page-products .section-no{
  font-family: var(--f-mono);
  font-size: clamp(38px, 6.5vw, 68px);
  line-height: .88;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(28,110,140,.22);
}
.page-products .cat-sec h2{
  font-family: var(--f-head);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--c-deep);
  margin: 0;
}
.page-products .cat-sec__lede{
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: #3b5b6f;
}

/* ---------- 五类刻度 ---------- */
.page-products .cat-scale{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--cat-line);
  border: 1px solid var(--cat-line);
}
.page-products .cat-scale__link{
  display: block;
  height: 100%;
  padding: 15px 14px 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background .2s var(--ease);
}
.page-products .cat-scale__link:hover{
  background: var(--cat-wash);
}
.page-products .cat-scale__no{
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-aqua);
  margin-bottom: 10px;
}
.page-products .cat-scale__name{
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-deep);
}
.page-products .cat-scale__meta{
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5a7688;
}

.page-products .cat-quick{
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  background: var(--cat-wash);
  border-left: 3px solid var(--c-orange);
}
.page-products .cat-quick h3{
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--c-deep);
}
.page-products .cat-quick p{
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3b5b6f;
}
.page-products .cat-quick .btn{
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 频道卡片 ---------- */
.page-products .cat-cards{
  display: grid;
  gap: 20px;
}
.page-products .cat-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cat-line);
}
.page-products .cat-card__body{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 22px;
}
.page-products .cat-card__no{
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--c-aqua);
}
.page-products .cat-card h3{
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c-deep);
}
.page-products .cat-card__list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .cat-card__list li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--cat-line);
  font-size: 13.5px;
  line-height: 1.6;
}
.page-products .cat-card__list li:last-child{
  border-bottom: 0;
}
.page-products .cat-card__list span{
  font-weight: 600;
  color: var(--c-ink);
}
.page-products .cat-card__list em{
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #5a7688;
  text-align: right;
}
.page-products .cat-card__meta{
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--cat-line-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a7688;
}

/* ---------- 项目行列表 ---------- */
.page-products .cat-rows{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cat-line);
}
.page-products .cat-row{
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--cat-line);
}
.page-products .cat-row__no{
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-aqua);
  padding-top: 3px;
}
.page-products .cat-row__main h3{
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--c-deep);
}
.page-products .cat-row__main p{
  margin: 0;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.85;
  color: #3b5b6f;
}
.page-products .cat-row__tag{
  grid-column: 2;
  justify-self: start;
  margin-top: 10px;
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--c-deep);
  background: rgba(0,194,168,.14);
  border: 1px solid rgba(0,194,168,.42);
}

/* ---------- 测试版专区 ---------- */
.page-products .cat-beta__sheet{
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 4vw, 44px);
  color: var(--c-paper);
  background: linear-gradient(126deg, var(--c-deep) 0%, var(--c-mid) 58%, var(--c-surge) 100%);
}
.page-products .cat-beta__sheet::before{
  content: "";
  position: absolute;
  top: -40%;
  right: -12%;
  width: 58%;
  height: 180%;
  background: rgba(0,194,168,.16);
  transform: rotate(18deg);
  pointer-events: none;
}
.page-products .cat-beta__sheet::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(95,224,205,.1) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(95,224,205,.1) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.page-products .cat-beta__copy,
.page-products .cat-beta__list{
  position: relative;
  z-index: 1;
}
.page-products .cat-beta .eyebrow{
  color: var(--c-aqua-lt);
}
.page-products .cat-sec.cat-beta h2{
  color: #fff;
}
.page-products .cat-beta__copy p{
  margin: 14px 0 22px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-mist);
}
.page-products .cat-beta__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-products .cat-beta__list li{
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(95,224,205,.55);
}
.page-products .cat-beta__list strong{
  font-size: 14.5px;
  color: #fff;
}
.page-products .cat-beta__list span{
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-mist);
}

/* ---------- 集锦索引 ---------- */
.page-products .cat-hl{
  background: #fff;
  border: 1px solid var(--cat-line);
}
.page-products .hl-row{
  border-bottom: 1px solid var(--cat-line);
}
.page-products .hl-row:last-child{
  border-bottom: 0;
}
.page-products .hl-row summary{
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  transition: background .18s var(--ease);
}
.page-products .hl-row summary::-webkit-details-marker{
  display: none;
}
.page-products .hl-row summary:hover{
  background: var(--cat-wash);
}
.page-products .hl-row__time{
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-line);
}
.page-products .hl-row__league{
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--c-ink);
}
.page-products .hl-row__score{
  justify-self: end;
  font-family: var(--f-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-deep);
}
.page-products .hl-row__dur{
  grid-column: 2 / -1;
  justify-self: end;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #5a7688;
}
.page-products .hl-row__body{
  display: grid;
  gap: 14px;
  padding: 16px 16px 20px;
  border-top: 1px dashed var(--cat-line);
}
.page-products .hl-row__body p{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.85;
  color: #3b5b6f;
}
.page-products .hl-row__body a{
  font-size: 13.5px;
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-products .hl-row__body a:hover{
  color: var(--c-aqua);
}

/* ---------- 移动端能力 ---------- */
.page-products .cat-mobile{
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.page-products .cat-mobile__figure{
  margin: 0;
  max-width: 320px;
  border: 1px solid var(--cat-line);
  overflow: hidden;
}
.page-products .cat-mobile__figure .media__caption{
  padding: 10px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: #5a7688;
  border-top: 1px solid var(--cat-line-soft);
  background: #fff;
}
.page-products .cat-mobile__body h2{
  margin: 0 0 14px;
}
.page-products .cat-mobile__list{
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-products .cat-mobile__list li{
  padding: 12px 14px;
  background: #fff;
  border-left: 2px solid var(--c-aqua);
  font-size: 13.5px;
  line-height: 1.8;
  color: #3b5b6f;
}
.page-products .cat-mobile__list strong{
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--c-deep);
}

/* ---------- 收尾入口 ---------- */
.page-products .cat-cta{
  margin-top: clamp(24px, 4vw, 48px);
  padding-block: clamp(28px, 4vw, 48px);
  background: var(--c-surge);
  border-top: 1px solid rgba(95,224,205,.28);
  color: var(--c-paper);
}
.page-products .cat-cta h2{
  margin: 0 0 18px;
  font-family: var(--f-head);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
}
.page-products .cat-cta__links{
  display: grid;
  gap: 1px;
  background: rgba(95,224,205,.25);
  border: 1px solid rgba(95,224,205,.25);
}
.page-products .cat-cta__link{
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  background: var(--c-deep);
  color: var(--c-paper);
  text-decoration: none;
  transition: background .2s var(--ease);
}
.page-products .cat-cta__link:hover{
  background: var(--c-mid);
}
.page-products .cat-cta__label{
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.page-products .cat-cta__desc{
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px){
  .page-products .cat-scale{
    grid-template-columns: repeat(5, minmax(0,1fr));
  }
  .page-products .cat-stats{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .page-products .cat-row{
    grid-template-columns: 56px minmax(0,1fr) 132px;
    align-items: start;
  }
  .page-products .cat-row__tag{
    grid-column: 3;
    justify-self: end;
    margin-top: 2px;
  }
  .page-products .hl-row summary{
    grid-template-columns: 64px minmax(0,1fr) 92px 64px;
    padding: 14px 18px;
  }
  .page-products .hl-row__dur{
    grid-column: auto;
    justify-self: end;
  }
  .page-products .hl-row__body{
    grid-template-columns: minmax(0,1fr);
    padding: 16px 18px 22px;
  }
  .page-products .cat-cta__links{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (min-width: 900px){
  .page-products .cat-hero__inner{
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    align-items: center;
  }
  .page-products .cat-cards{
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-items: start;
  }
  .page-products .cat-cards > :nth-child(2){
    margin-top: 26px;
  }
  .page-products .cat-beta__sheet{
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    align-items: center;
  }
  .page-products .cat-mobile{
    grid-template-columns: 280px minmax(0,1fr);
    align-items: start;
  }
  .page-products .hl-row__body{
    grid-template-columns: 280px minmax(0,1fr);
    align-items: start;
  }
}

@media (min-width: 1040px){
  .page-products .cat-body{
    grid-template-columns: 208px minmax(0,1fr);
    align-items: start;
  }
  .page-products .cat-index{
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 26px);
  }
}

@media (prefers-reduced-motion: reduce){
  .page-products *{
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
