.page-products {
  --pp-radius: 3px;
  --pp-scan: repeating-linear-gradient(0deg, rgba(53, 240, 200, .045) 0 1px, transparent 1px 4px);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

/* ============ 首屏 ============ */
.page-products .hub-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-deep);
  padding: calc(var(--header-h) + clamp(36px, 8vw, 84px)) 0 clamp(32px, 6vw, 64px);
}

.page-products .hub-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .hub-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.6) contrast(1.06);
}

.page-products .hub-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, rgba(6, 18, 15, .94) 0%, rgba(11, 31, 26, .62) 46%, rgba(6, 18, 15, .97) 100%),
    var(--pp-scan);
}

.page-products .hub-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(54vw, 560px);
  background: linear-gradient(205deg, rgba(255, 90, 31, .24), rgba(255, 90, 31, 0) 60%);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-products .hub-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .hub-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--fog);
  margin-bottom: clamp(26px, 5vw, 46px);
}

.page-products .hub-hero .breadcrumb a {
  color: var(--fog);
  text-decoration: none;
}

.page-products .hub-hero .breadcrumb a:hover {
  color: var(--cyan);
}

.page-products .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--orange);
  text-transform: uppercase;
}

.page-products .hub-hero__title {
  margin: 12px 0 0;
  max-width: 15ch;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(30px, 8.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.page-products .hub-hero__lede {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 2.1vw, 16.5px);
  line-height: 1.8;
  color: rgba(244, 241, 232, .76);
}

.page-products .hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .hub-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(32px, 5.5vw, 56px) 0 0;
  padding: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
}

.page-products .hub-hero__stats > div {
  padding: 14px 12px;
  background: rgba(11, 31, 26, .78);
}

.page-products .hub-hero__stats dt {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--fog);
}

.page-products .hub-hero__stats dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 4.4vw, 28px);
  line-height: 1;
  color: var(--paper);
}

/* ============ 分段切换 ============ */
.page-products .hub-nav {
  position: relative;
  z-index: 2;
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-block: 12px;
}

.page-products .seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
  background: rgba(28, 42, 38, .72);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-products .seg__item {
  flex: 1 0 auto;
  padding: 10px 22px;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fog);
  border-radius: 2px;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-products .seg__item:hover {
  color: var(--paper);
  background: rgba(53, 240, 200, .1);
}

.page-products .seg__item--on {
  background: var(--orange);
  color: #180c04;
}

.page-products .seg__item--on:hover {
  background: var(--orange);
  color: #180c04;
}

/* ============ 通用区块 ============ */
.page-products .block {
  padding-block: clamp(44px, 8vw, 86px);
  scroll-margin-top: calc(var(--header-h) + 76px);
}

.page-products .block--rank,
.page-products .block--updates {
  background: linear-gradient(180deg, rgba(6, 18, 15, .55), rgba(11, 31, 26, 0) 70%);
}

.page-products .block__head {
  max-width: 66ch;
}

.page-products .block__head > .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .h-section {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(23px, 4.6vw, 36px);
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-products .h-card {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -.005em;
  color: inherit;
}

.page-products .block__lede {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.82;
  color: rgba(244, 241, 232, .74);
}

.page-products .num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ============ 日期轴 ============ */
.page-products .axis {
  margin-top: clamp(26px, 4vw, 38px);
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
  background: rgba(6, 18, 15, .6);
  padding-top: 16px;
  overflow: hidden;
}

.page-products .axis__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 clamp(14px, 3.6vw, 24px) 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 240, 200, .35) transparent;
}

.page-products .axis__tick {
  flex: 0 0 auto;
  width: 72px;
  scroll-snap-align: center;
  padding: 10px 4px 12px;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--card);
  color: var(--fog);
  transition: border-color .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}

.page-products .axis__dow {
  display: block;
  font-size: 11.5px;
  letter-spacing: .1em;
}

.page-products .axis__day {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
  color: inherit;
}

.page-products .axis__unit {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-products .axis__tick--on {
  border-color: rgba(53, 240, 200, .55);
  background: linear-gradient(180deg, rgba(53, 240, 200, .18), rgba(53, 240, 200, .02));
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(53, 240, 200, .18), 0 12px 28px -20px rgba(53, 240, 200, .9);
}

.page-products .axis__tick--on .axis__day {
  color: var(--cyan);
}

.page-products .match-list {
  list-style: none;
  margin: 0;
  padding: 0 clamp(14px, 3.6vw, 24px) 20px;
  display: grid;
  gap: 10px;
}

.page-products .match {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(53, 240, 200, .42);
  border-radius: 2px;
  background: rgba(28, 42, 38, .6);
}

.page-products .match__time {
  font-size: 22px;
  line-height: 1;
  color: var(--orange-soft);
}

.page-products .match__league {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .match__note {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--fog);
}

.page-products .match__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 240, 200, .16);
}

.page-products .match__dot--warm {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .18);
}

/* ============ 临时查询 ============ */
.page-products .rank-grid {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
}

.page-products .rank-grid__text > .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .query-panel {
  position: relative;
  overflow: hidden;
  margin-top: clamp(22px, 3.4vw, 30px);
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(53, 240, 200, .34);
  border-radius: var(--pp-radius);
  background: linear-gradient(155deg, #16241f 0%, #0a1713 58%, #06120f 100%);
  box-shadow: 0 30px 74px -44px rgba(0, 0, 0, .98);
}

.page-products .query-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent rgba(53, 240, 200, .42) transparent transparent;
}

.page-products .query-panel__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .query-panel__hint {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(244, 241, 232, .82);
}

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

.page-products .query-chips li {
  padding: 6px 12px;
  border: 1px dashed var(--rule-strong);
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--fog);
}

.page-products .query-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  padding: 1px;
  background: var(--rule);
  border-radius: 2px;
}

.page-products .query-facts > div {
  padding: 12px 10px;
  background: rgba(6, 18, 15, .82);
}

.page-products .query-facts dt {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--fog);
}

.page-products .query-facts dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--paper);
}

.page-products .num--cyan {
  color: var(--cyan);
}

.page-products .fold {
  margin-top: 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(28, 42, 38, .5);
}

.page-products .fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-products .fold > summary::-webkit-details-marker {
  display: none;
}

.page-products .fold > summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .fold[open] > summary::after {
  content: "−";
}

.page-products .fold > p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .72);
}

/* ============ 图片容器 ============ */
.page-products .shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
  background: var(--ink-deep);
  overflow: hidden;
}

.page-products .shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
}

.page-products .shot--tall img {
  aspect-ratio: 3 / 2;
}

.page-products .shot--wide img {
  aspect-ratio: 3 / 2;
}

.page-products .shot--square img {
  aspect-ratio: 4 / 3;
}

.page-products .shot figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--fog);
  background: rgba(6, 18, 15, .7);
}

/* ============ 资源下载区 ============ */
.page-products .dl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: clamp(22px, 3.4vw, 30px) 0 0;
  padding: 0;
}

.page-products .dl-filters li {
  padding: 6px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--cream);
}

.page-products .dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.page-products .dl-card {
  position: relative;
  padding: 30px 16px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--cream);
  border-radius: 2px;
  box-shadow: 5px 5px 0 -1px rgba(217, 210, 192, .2);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
  outline: none;
}

.page-products .dl-card:hover,
.page-products .dl-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 -1px rgba(53, 240, 200, .42);
}

.page-products .dl-card__ext {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 15px 5px 11px;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .16em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.page-products .dl-card .h-card {
  font-size: 16px;
  color: var(--ink);
}

.page-products .dl-card__meta {
  margin: 8px 0 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #5c6455;
}

.page-products .dl-card__detail {
  max-height: 220px;
  opacity: 1;
  transition: max-height .3s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease);
}

.page-products .dl-card__detail p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: #3a443c;
}

.page-products .dl-card__stamp {
  padding-top: 9px;
  border-top: 1px solid rgba(11, 31, 26, .14);
  font-family: var(--font-display);
  letter-spacing: .06em;
  color: #1f5a4c !important;
}

/* ============ 移动端入口 ============ */
.page-products .mobile-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-products .mobile-grid__text > .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .steps {
  list-style: none;
  margin: clamp(22px, 3.6vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(28, 42, 38, .58);
}

.page-products .step__no {
  font-size: 30px;
  line-height: 1;
  color: var(--orange);
}

.page-products .step .h-card {
  font-size: 16px;
  color: var(--paper);
}

.page-products .step p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(244, 241, 232, .7);
}

.page-products .mobile-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: rgba(53, 240, 200, .07);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .82);
}

/* ============ 更新公告 ============ */
.page-products .update-card {
  display: grid;
  gap: clamp(22px, 3.4vw, 34px);
  padding: clamp(22px, 3.6vw, 34px);
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
  background:
    linear-gradient(140deg, rgba(255, 90, 31, .1), rgba(255, 90, 31, 0) 48%),
    rgba(28, 42, 38, .62);
}

.page-products .update-card__body > .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .update-card__body .btn {
  margin-top: 22px;
}

.page-products .update-card__aside {
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(6, 18, 15, .66);
}

.page-products .update-card__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--orange-soft);
  text-transform: uppercase;
}

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

.page-products .update-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 241, 232, .78);
}

.page-products .update-list__tag {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cyan);
}

/* ============ 覆盖与场景 ============ */
.page-products .scene-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-products .scene {
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--pp-radius);
  background: rgba(6, 18, 15, .62);
  transition: border-color .24s var(--ease), background .24s var(--ease);
}

.page-products .scene:hover {
  border-color: var(--rule-cyan);
  background: rgba(28, 42, 38, .72);
}

.page-products .scene__index {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1;
  color: rgba(53, 240, 200, .55);
}

.page-products .scene .h-card {
  color: var(--paper);
}

.page-products .scene p:last-child {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .72);
}

/* ============ 上手路径 ============ */
.page-products .paths-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-products .paths-grid__text > .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .route {
  list-style: none;
  margin: clamp(22px, 3.6vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--rule-strong);
}

.page-products .route__step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0 14px 16px;
  position: relative;
}

.page-products .route__step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.page-products .route__idx {
  font-size: 26px;
  line-height: 1;
  color: var(--orange-soft);
}

.page-products .route__step .h-card {
  font-size: 16px;
  color: var(--paper);
}

.page-products .route__step p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .72);
}

.page-products .route__step a,
.page-products .route-tail a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .route__step a:hover,
.page-products .route-tail a:hover {
  color: var(--orange-soft);
}

.page-products .route-tail {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--rule-strong);
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.82;
  color: rgba(244, 241, 232, .78);
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-products .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .update-card {
    grid-template-columns: 1.4fr .9fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .rank-grid {
    grid-template-columns: 1.08fr .92fr;
    align-items: start;
  }

  .page-products .mobile-grid {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }

  .page-products .paths-grid {
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
  }

  .page-products .seg__item {
    flex: 0 1 auto;
  }

  .page-products .axis__tick {
    width: 82px;
  }
}

@media (min-width: 1080px) {
  .page-products .hub-hero__stats > div {
    padding: 18px 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .page-products .dl-card__detail {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
  }

  .page-products .dl-card:hover .dl-card__detail,
  .page-products .dl-card:focus-visible .dl-card__detail,
  .page-products .dl-card:focus-within .dl-card__detail {
    max-height: 260px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-card,
  .page-products .dl-card__detail,
  .page-products .axis__tick,
  .page-products .seg__item,
  .page-products .scene {
    transition: none;
  }

  .page-products .dl-card:hover,
  .page-products .dl-card:focus-visible {
    transform: none;
  }
}
