.page-products {
  --pp-block: clamp(60px, 9vw, 124px);
  --pp-code-bg: #0A0F15;
  background: var(--ink);
  color: var(--fg);
}

.page-products .apps-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 9vw, 104px)) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(120% 80% at 12% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 12% 0%, #000 0%, transparent 72%);
}

.page-products .apps-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .breadcrumb {
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-products .apps-hero__title {
  font-size: clamp(34px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 14px 0 clamp(18px, 2.6vw, 28px);
}

.page-products .apps-hero__lede {
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--fg-dim);
  margin: 0 0 clamp(24px, 4vw, 44px);
}

/* 三条路径的分叉示意 */
.page-products .fork {
  display: block;
  width: 100%;
  height: clamp(76px, 13vw, 168px);
  margin-bottom: 6px;
}

.page-products .fork path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.page-products .fork path.is-accent {
  stroke: var(--lime-deep);
  stroke-width: 2.5;
}

.page-products .fork path.is-blue {
  stroke: var(--blue);
  stroke-dasharray: 6 5;
}

.page-products .fork path.is-node {
  stroke: var(--fg-dim);
  stroke-width: 3;
}

.page-products .route-chips {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 4px 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .route-chips::-webkit-scrollbar {
  display: none;
}

.page-products .route-chips a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .route-chips a:hover,
.page-products .route-chips a:focus-visible {
  color: var(--fg);
  border-color: var(--lime-deep);
}

.page-products .route-chips a.is-current {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

/* 章节通用 */
.page-products .apps-section {
  position: relative;
  padding: var(--pp-block) 0;
  border-bottom: 1px solid var(--line);
}

.page-products .apps-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(26px, 4.5vw, 52px);
}

.page-products .apps-head__num {
  font-family: var(--font-mono);
  font-size: clamp(42px, 9vw, 84px);
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-products .apps-head .h2 {
  font-size: clamp(25px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 6px 0 12px;
}

.page-products .apps-head__lede {
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--fg-dim);
  margin: 0;
}

.page-products .prose {
  max-width: 38em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--fg-dim);
}

.page-products .h3 {
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

/* 路径卡片 */
.page-products .path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-products .path-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--lime);
  border-radius: var(--radius) var(--radius) 0 0;
}

.page-products .path-card:nth-child(2)::before {
  background: var(--blue);
}

.page-products .path-card:nth-child(3)::before {
  background: var(--orange);
}

.page-products .path-card:hover {
  transform: translateY(-2px);
  border-color: var(--fg-dim);
}

.page-products .path-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.page-products .path-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg);
  opacity: 0.9;
}

.page-products .path-meta {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-products .path-meta div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-products .path-meta dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime-deep);
}

.page-products .path-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-dim);
}

.page-products .path-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
}

/* 图片 */
.page-products .photo {
  margin: clamp(24px, 4vw, 44px) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

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

.page-products .photo figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
}

/* 试运行频道 */
.page-products .beta-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .beta-copy .prose {
  margin: 0;
}

.page-products .field-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .field-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px 14px;
  background: var(--glass);
  border-left: 2px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-dim);
}

.page-products .field-list .mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--lime-deep);
  letter-spacing: 0.01em;
}

.page-products .beta-layout .photo {
  margin-top: 0;
}

/* 折叠组 */
.page-products .fold-set {
  margin-top: clamp(28px, 4.5vw, 52px);
  border-top: 1px solid var(--line);
}

.page-products .fold {
  border-bottom: 1px solid var(--line);
}

.page-products .fold__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 2px;
  background: none;
  border: 0;
  color: var(--fg);
  font-family: inherit;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

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

.page-products .fold__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  flex: 0 0 auto;
}

.page-products .fold__title {
  min-width: 0;
}

.page-products .fold__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.24s var(--ease);
}

.page-products .fold__head[aria-expanded="true"] .fold__arrow {
  transform: rotate(-135deg);
}

.page-products .fold__body {
  padding: 0 2px 22px;
}

.page-products .fold__body p {
  max-width: 38em;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-products .fold__body .field-list {
  margin-top: 12px;
}

/* 赛前十分钟 */
.page-products .lineup-banner {
  position: relative;
  margin: 0 0 clamp(28px, 4.5vw, 52px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-products .lineup-banner__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg);
  background: linear-gradient(transparent, rgba(6, 8, 11, 0.94));
}

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

.page-products .timeline__item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

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

.page-products .timeline__tick {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-dim);
  text-align: right;
  padding-top: 4px;
  letter-spacing: 0.02em;
}

.page-products .timeline__card {
  position: relative;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--line);
}

.page-products .timeline__card::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(184, 255, 60, 0.14);
}

.page-products .timeline__item--alert .timeline__card::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16);
}

.page-products .timeline__card p {
  max-width: 40em;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-products .timeline__out {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--lime-deep) !important;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* 移动端阅读 */
.page-products .mobile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-products .chip-strip {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 4px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .chip-strip::-webkit-scrollbar {
  display: none;
}

.page-products .chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-dim);
  white-space: nowrap;
}

.page-products .chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

.page-products .mobile-copy .prose {
  margin: 0 0 20px;
}

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

.page-products .tips li {
  padding: 12px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-dim);
}

.page-products .tips strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fg);
  font-weight: 600;
}

.page-products .mobile-layout .photo {
  margin-top: 0;
}

/* 接口 */
.page-products .api-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .code-block {
  margin: 0 0 18px;
  padding: 18px 18px;
  background: var(--pp-code-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .code-block code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: #C6E2FF;
  white-space: pre;
}

.page-products .api-copy .prose {
  margin: 20px 0 24px;
}

.page-products .api-layout .photo {
  margin-top: 0;
}

/* 版本矩阵 */
.page-products .matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: clamp(28px, 4.5vw, 46px);
}

.page-products .matrix {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .matrix__caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  padding-bottom: 12px;
}

.page-products .matrix th,
.page-products .matrix td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.page-products .matrix thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--lime-deep);
  white-space: nowrap;
  font-weight: 600;
}

.page-products .matrix tbody th {
  font-weight: 500;
  color: var(--fg);
  font-size: 14.5px;
}

.page-products .matrix td {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  white-space: nowrap;
}

.page-products .matrix td.is-diff {
  color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 47, 0.45);
  border-radius: var(--radius);
}

.page-products .matrix tbody tr:hover th,
.page-products .matrix tbody tr:hover td {
  background: rgba(58, 160, 255, 0.06);
}

.page-products .open-steps {
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.page-products .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
}

.page-products .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  padding: 3px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 收尾横条 */
.page-products .apps-cta {
  padding: clamp(34px, 5.5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(184, 255, 60, 0.09), rgba(58, 160, 255, 0.06) 52%, transparent 88%);
}

.page-products .apps-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.page-products .apps-cta__title {
  margin: 0 0 10px;
}

.page-products .apps-cta__text {
  max-width: 40em;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fg-dim);
}

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

/* 响应式 */
@media (min-width: 700px) {
  .page-products .field-list li {
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: baseline;
  }

  .page-products .apps-cta__inner {
    grid-template-columns: minmax(0, 1.6fr) auto;
    gap: 32px;
  }
}

@media (min-width: 880px) {
  .page-products .apps-head {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-products .path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .beta-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: start;
  }

  .page-products .mobile-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
  }

  .page-products .api-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
  }

  .page-products .lineup-banner img {
    height: 360px;
  }

  .page-products .photo--offset {
    margin-left: clamp(0px, 8vw, 110px);
  }

  .page-products .photo--wide img {
    height: 420px;
  }
}

@media (min-width: 1100px) {
  .page-products .timeline {
    padding-left: 104px;
  }

  .page-products .timeline__item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }
}
<<<END>>>
