.page-products {
  --pr-cut: 12px;
  --pr-arch-line: rgba(179, 66, 60, 0.55);
  --pr-card-top: #191C21;
  --pr-card-bottom: #14161A;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products .breadcrumbs {
  padding-top: 20px;
}

.page-products .section {
  padding-block: clamp(32px, 6vw, 64px);
}

.page-products .pr-sec-head {
  max-width: 44rem;
}

.page-products .pr-sec-head h2,
.page-products .pr-mobile__body h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.page-products .pr-sec-head .prose,
.page-products .pr-mobile__body .prose {
  color: var(--ivory-78);
  max-width: 36em;
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  padding-top: clamp(20px, 4vw, 44px);
}

.page-products .pr-hero h1 {
  margin: 14px 0 18px;
  padding-left: clamp(14px, 2.2vw, 24px);
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivory);
  text-shadow: 0 0 1px var(--gold-line-strong);
}

.page-products .pr-hero .lead {
  max-width: 38em;
  color: var(--ivory-78);
}

/* ---------- 版本卡 ---------- */
.page-products .pr-versions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 42px);
}

.page-products .pr-vercard {
  position: relative;
  padding: 18px 18px 20px;
  background: linear-gradient(158deg, var(--pr-card-top), var(--pr-card-bottom));
  clip-path: polygon(
    var(--pr-cut) 0,
    100% 0,
    100% calc(100% - var(--pr-cut)),
    calc(100% - var(--pr-cut)) 100%,
    0 100%,
    0 var(--pr-cut)
  );
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.page-products .pr-vercard:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--gold-line-strong);
}

.page-products .pr-vercard__code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cool);
}

.page-products .pr-vercard__ver {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.page-products .pr-vercard__state {
  margin: 6px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-products .pr-vercard__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ivory-62);
}

.page-products .pr-vercard--archived {
  background: linear-gradient(158deg, #17191d, var(--pr-card-bottom));
}

.page-products .pr-vercard--archived .pr-vercard__state {
  color: var(--cool);
}

.page-products .pr-vercard--current {
  background: linear-gradient(158deg, #241e0f, var(--pr-card-bottom) 68%);
  animation: pr-breathe 3s ease-in-out infinite;
}

.page-products .pr-vercard--current .pr-vercard__code {
  color: var(--gold-hi);
}

.page-products .pr-vercard--index {
  background: linear-gradient(158deg, #14161a, #171a1f);
}

@keyframes pr-breathe {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.32), 0 0 22px rgba(201, 162, 39, 0.12);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(232, 199, 102, 0.72), 0 0 34px rgba(201, 162, 39, 0.32);
  }
}

/* ---------- 图片容器 ---------- */
.page-products .pr-figure {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: clamp(24px, 4vw, 36px) 0 0;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    var(--pr-cut) 0,
    100% 0,
    100% calc(100% - var(--pr-cut)),
    calc(100% - var(--pr-cut)) 100%,
    0 100%,
    0 var(--pr-cut)
  );
}

.page-products .pr-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-products .pr-figure .media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ivory-78);
}

.page-products .pr-figure--wide {
  aspect-ratio: 2 / 1;
}

.page-products .pr-figure--stack {
  aspect-ratio: 5 / 4;
}

.page-products .pr-figure--grid {
  aspect-ratio: 12 / 7;
}

.page-products .pr-figure--phone {
  aspect-ratio: 3 / 4;
  max-width: 420px;
}

.page-products .pr-figure--band {
  aspect-ratio: 7 / 2;
}

/* ---------- 三组索引 ---------- */
.page-products .pr-groups__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-products .pr-groups__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-products .pr-groups__tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ivory-78);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.page-products .pr-groups__tabs a span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
}

.page-products .pr-groups__tabs a:hover,
.page-products .pr-groups__tabs a:focus-visible {
  border-color: var(--gold-line-strong);
  color: var(--ivory);
  outline: none;
}

.page-products .pr-group {
  scroll-margin-top: calc(var(--header-top) + var(--header-h) + 24px);
}

.page-products .pr-group + .pr-group {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.page-products .pr-group h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.page-products .pr-group__intro {
  margin: 0;
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ivory-62);
}

.page-products .pr-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.page-products .pr-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
  background: linear-gradient(155deg, var(--pr-card-top), var(--pr-card-bottom));
  clip-path: polygon(
    var(--pr-cut) 0,
    100% 0,
    100% calc(100% - var(--pr-cut)),
    calc(100% - var(--pr-cut)) 100%,
    0 100%,
    0 var(--pr-cut)
  );
  box-shadow: inset 0 0 0 1px var(--line-soft);
  color: var(--ivory-78);
  text-decoration: none;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}

.page-products .pr-entry:hover,
.page-products .pr-entry:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--gold-line-strong);
  color: var(--ivory);
  outline: none;
}

.page-products .pr-entry__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-products .pr-entry__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ivory);
}

.page-products .pr-entry__desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--cool);
}

/* ---------- 省份分组 ---------- */
.page-products .pr-chips {
  display: flex;
  gap: 8px;
  margin: 22px 0 0;
  padding: 2px 2px 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.page-products .pr-chips li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 6px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ivory-78);
  background: rgba(20, 22, 26, 0.7);
}

.page-products .pr-chips li:first-child {
  border-color: var(--gold-line-strong);
  color: var(--ivory);
}

.page-products .pr-province__note {
  margin-top: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--gold-line);
}

.page-products .pr-province__note p {
  margin: 0;
  max-width: 36em;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ivory-62);
}

/* ---------- 移动端入口 ---------- */
.page-products .pr-mobile {
  background: linear-gradient(180deg, rgba(30, 59, 54, 0.34), rgba(11, 11, 13, 0));
}

.page-products .pr-mobile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .pr-mobile__grid .pr-figure {
  margin-top: 0;
}

.page-products .pr-steps {
  list-style: none;
  counter-reset: pr-step;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pr-steps li {
  position: relative;
  padding-left: 46px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ivory-78);
}

.page-products .pr-steps li::before {
  counter-increment: pr-step;
  content: counter(pr-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--gold-hi);
}

.page-products .pr-steps li::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--gold-line);
}

.page-products .pr-mobile__tail {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--cool);
}

/* ---------- 三端 ---------- */
.page-products .pr-ends__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 34px);
}

.page-products .pr-end {
  padding: 20px 18px 22px;
  background: linear-gradient(180deg, var(--pr-card-top), var(--pr-card-bottom));
  border-top: 1px solid var(--gold-line-strong);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.page-products .pr-end__code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .pr-end h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--ivory);
}

.page-products .pr-end p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ivory-62);
}

.page-products .pr-ends__note {
  margin: 20px 0 0;
  max-width: 40em;
  padding-left: 16px;
  border-left: 2px solid var(--gold-line);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ivory-78);
}

/* ---------- 归档 ---------- */
.page-products .pr-search-uses {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pr-search-uses li {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(58, 27, 39, 0.42), rgba(20, 22, 26, 0.9));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ivory-62);
}

.page-products .pr-search-uses__code {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-hi);
}

.page-products .pr-archive__bar {
  margin-top: 22px;
  padding: 20px 20px 22px;
  border-left: 3px solid var(--cinnabar);
  background: rgba(179, 66, 60, 0.09);
}

.page-products .pr-archive__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.0625rem;
  color: var(--ivory);
}

.page-products .pr-archive__text {
  margin: 0 0 12px;
  max-width: 34em;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ivory-78);
}

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

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

@media (min-width: 880px) {
  .page-products .pr-versions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pr-groups__layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-products .pr-groups__tabs {
    display: block;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--line-soft);
  }

  .page-products .pr-groups__tabs a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
    padding: 10px 14px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    margin-left: -1px;
    white-space: normal;
  }

  .page-products .pr-groups__tabs a:hover,
  .page-products .pr-groups__tabs a:focus-visible {
    border-left-color: var(--gold);
    background: rgba(201, 162, 39, 0.06);
  }

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

  .page-products .pr-mobile__grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-products .pr-entries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-groups__layout {
    grid-template-columns: 216px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-vercard,
  .page-products .pr-entry {
    transition: none;
  }

  .page-products .pr-vercard:hover,
  .page-products .pr-entry:hover {
    transform: none;
  }

  .page-products .pr-vercard--current {
    animation: none;
    box-shadow: inset 0 0 0 1px var(--gold-line-strong);
  }
}
<<<END>>>
