.page-products {
  --xp-gap: clamp(18px, 2.6vw, 34px);
  --xp-side: 236px;
}

.page-products .xp-crumbs-row {
  padding-top: 20px;
}

.page-products .xp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: clamp(22px, 4vw, 46px) clamp(26px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.page-products .xp-hero__lead {
  min-width: 0;
}

.page-products .xp-hero h1 {
  margin: 12px 0 0;
  font-size: var(--fs-1);
  line-height: 1.16;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.page-products .xp-hero__lede {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--fs-5);
  line-height: 1.8;
}

.page-products .xp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .xp-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .xp-hero__stat {
  background: var(--carbon);
  padding: 15px 14px;
  min-width: 0;
}

.page-products .xp-hero__stat dt {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-products .xp-hero__stat dd {
  margin: 8px 0 0;
  font-size: .9375rem;
  color: var(--text);
}

.page-products .xp-hero__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  margin-right: 5px;
}

/* 章节横条 */
.page-products .xp-chapterbar {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 14, .94);
}

.page-products .xp-chapterbar__list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .xp-chapterbar__list::-webkit-scrollbar {
  display: none;
}

.page-products .xp-chapterbar__link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-products .xp-chapterbar__link:hover,
.page-products .xp-chapterbar__link:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}

.page-products .xp-chapterbar__link[aria-current] {
  color: var(--carbon);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 700;
}

/* 功能区 */
.page-products .xp-feature {
  padding-block: clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 76px);
}

.page-products .xp-feature--panel {
  background: var(--surface);
}

.page-products .xp-feature--indigo {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--carbon) 78%);
}

.page-products .xp-feature--wine {
  background: linear-gradient(180deg, var(--wine) 0%, var(--carbon) 82%);
}

.page-products .xp-feature__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
}

.page-products .xp-feature__idx {
  grid-row: 1;
  grid-column: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--lime);
  opacity: .42;
  font-variant-numeric: tabular-nums;
}

.page-products .xp-feature__title {
  grid-row: 1;
  grid-column: 2;
  margin: 0;
  font-size: var(--fs-3);
  line-height: 1.24;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.page-products .xp-feature__lede {
  grid-row: 2;
  grid-column: 2;
  margin: 12px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--fs-5);
  line-height: 1.8;
}

.page-products .xp-feature__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--xp-gap);
  margin-top: clamp(22px, 3vw, 36px);
}

.page-products .xp-feature__main {
  min-width: 0;
}

.page-products .xp-feature__main p {
  margin: 0 0 1.1em;
  line-height: 1.85;
  color: var(--text);
}

.page-products .xp-feature__main p:last-of-type {
  margin-bottom: 0;
}

/* 操作路径窄栏 */
.page-products .xp-path {
  align-self: start;
  min-width: 0;
  border-top: 2px solid var(--lime);
  padding-top: 14px;
}

.page-products .xp-path__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--lime);
}

.page-products .xp-path__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: xp-step;
}

.page-products .xp-path__list li {
  counter-increment: xp-step;
  position: relative;
  padding: 0 0 14px 30px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .xp-path__list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.page-products .xp-path__list li::before {
  content: counter(xp-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .12em;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-products .xp-path__fav {
  margin-top: 18px;
}

/* 数据面板 */
.page-products .xp-panel {
  margin: clamp(18px, 2.6vw, 28px) 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  background: rgba(15, 36, 29, .72);
}

.page-products .xp-panel__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--lime);
}

.page-products .xp-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .xp-schedule__item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .xp-schedule__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .xp-schedule__time {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-products .xp-schedule__desc {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--muted);
}

/* 筛选器示意 */
.page-products .xp-filter {
  margin: clamp(18px, 2.6vw, 28px) 0;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line);
  background: rgba(23, 58, 47, .5);
}

.page-products .xp-filter__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .xp-filter__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .xp-filter__row:last-child {
  padding-bottom: 0;
}

.page-products .xp-filter__label {
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-products .xp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .xp-chips__item {
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.page-products .xp-chips__item.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--carbon);
  font-weight: 700;
}

.page-products .xp-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: clamp(18px, 2.6vw, 26px) 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-products .xp-compare__col {
  min-width: 0;
  text-align: center;
}

.page-products .xp-compare__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-products .xp-compare__col--on .xp-compare__num {
  color: var(--lime);
}

.page-products .xp-compare__cap {
  display: block;
  margin-top: 10px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-products .xp-compare__arrow {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--orange);
}

/* 订阅开关列表 */
.page-products .xp-switch-list {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .xp-switch__name {
  grid-row: 1;
  grid-column: 1;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.page-products .xp-switch__state {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}

.page-products .xp-switch__desc {
  grid-row: 2;
  grid-column: 1 / -1;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--muted);
}

/* 收藏位格子 */
.page-products .xp-slots {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin: clamp(18px, 2.6vw, 26px) 0;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  background: rgba(30, 27, 69, .32);
}

.page-products .xp-slots__cell {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: transparent;
}

/* 屏幕分区示意 */
.page-products .xp-thumbmap {
  margin: clamp(18px, 2.6vw, 26px) 0;
  border: 1px solid var(--line);
  background: rgba(23, 58, 47, .5);
}

.page-products .xp-thumbmap__zone {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .xp-thumbmap__zone:last-child {
  border-bottom: 0;
}

.page-products .xp-thumbmap__zone > span:first-child {
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: var(--text);
  flex: 0 0 auto;
}

.page-products .xp-thumbmap__zone--near {
  background: rgba(199, 242, 80, .07);
  border-left: 2px solid var(--lime);
  color: var(--text);
}

/* 版本时间轴 */
.page-products .xp-timeline {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-timeline__item {
  position: relative;
  padding: 20px 0 20px 26px;
  border-bottom: 1px solid var(--line);
}

.page-products .xp-timeline__item:last-child {
  border-bottom: 0;
}

.page-products .xp-timeline__node {
  position: absolute;
  left: 0;
  top: 24px;
  width: 11px;
  height: 11px;
  background: var(--carbon);
  border: 1px solid var(--lime);
  transform: rotate(45deg);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .xp-timeline__ver {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-products .xp-timeline__name {
  display: block;
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.page-products .xp-timeline__desc {
  display: block;
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .xp-timeline__item:hover .xp-timeline__node,
.page-products .xp-timeline__item:focus-within .xp-timeline__node {
  background: var(--lime);
  border-color: var(--lime);
}

/* 后续入口 */
.page-products .xp-next {
  padding-block: clamp(34px, 5vw, 64px);
}

.page-products .xp-next__title {
  margin: 10px 0 clamp(20px, 3vw, 30px);
  font-size: var(--fs-3);
  line-height: 1.25;
}

.page-products .xp-next .index-item__title {
  color: var(--text);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.page-products .xp-next .index-item__title:hover,
.page-products .xp-next .index-item__title:focus-visible {
  color: var(--lime);
}

/* 图片示意框 */
.page-products .xp-shot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .22s var(--ease);
}

.page-products .xp-shot:hover {
  border-color: var(--lime);
}

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

/* 桌面布局 */
@media (min-width: 1000px) {
  .page-products .xp-feature__body {
    grid-template-columns: var(--xp-side) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .xp-path {
    position: sticky;
    top: calc(var(--header-h) + 84px);
  }

  .page-products .xp-filter__row {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }

  .page-products .xp-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
    position: relative;
    padding-top: 26px;
  }

  .page-products .xp-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 1px;
    background: var(--line);
  }

  .page-products .xp-timeline__item {
    padding: 0 24px 0 0;
    border-bottom: 0;
  }

  .page-products .xp-timeline__node {
    top: 0;
    left: 2px;
  }
}

@media (min-width: 960px) {
  .page-products .xp-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .85fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: end;
  }
}

@media (min-width: 900px) {
  .page-products .xp-chapterbar {
    position: sticky;
    top: var(--header-h);
    z-index: 6;
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 560px) {
  .page-products .xp-slots {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .page-products .xp-feature__idx {
    grid-row: 1;
    grid-column: 1;
    font-size: 1.5rem;
  }

  .page-products .xp-feature__title {
    grid-row: 2;
    grid-column: 1;
    margin-top: 8px;
  }

  .page-products .xp-feature__lede {
    grid-row: 3;
    grid-column: 1;
  }

  .page-products .xp-compare {
    gap: 6px;
    padding: 16px 12px;
  }
}

@media (max-width: 420px) {
  .page-products .xp-schedule__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-products .xp-thumbmap__zone {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .xp-chapterbar__link,
  .page-products .xp-shot,
  .page-products .xp-timeline__node,
  .page-products .xp-next .index-item__title {
    transition: none;
  }
}
<<<END>>>
