.page-products {
  --ds-glass: rgba(246, 241, 232, 0.06);
  --ds-edge: rgba(246, 241, 232, 0.14);
  --ds-edge-strong: rgba(246, 241, 232, 0.26);
  --ds-slate: #232A31;
  --ds-ink-2: #14181D;
  background: var(--fx-ink);
  color: var(--fx-warm);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3,
.page-products p,
.page-products ol,
.page-products figure {
  margin: 0;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products a {
  text-decoration: none;
}

/* 面包屑 */
.page-products .ds-topline {
  padding-top: 18px;
}

.page-products .ds-topline a {
  color: var(--fx-grey);
}

.page-products .ds-topline a:hover {
  color: var(--fx-orange);
}

/* 首屏 */
.page-products .ds-hero {
  padding-top: 26px;
  padding-bottom: 46px;
}

.page-products .ds-hero__grid {
  display: grid;
  gap: 26px;
}

.page-products .ds-h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-products .ds-h1 em {
  font-style: normal;
  color: var(--fx-orange);
}

.page-products .ds-lede {
  margin-top: 18px;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(246, 241, 232, 0.78);
}

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

/* 规模板 */
.page-products .ds-board {
  padding: 20px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: var(--ds-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-products .ds-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ds-edge);
}

.page-products .ds-board__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ds-edge);
}

.page-products .ds-board__row:last-child {
  border-bottom: 0;
}

.page-products .ds-board__key {
  font-size: 13px;
  color: var(--fx-grey);
}

.page-products .ds-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--fx-cyan);
}

.page-products .ds-unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--fx-grey);
  margin-left: 3px;
}

.page-products .ds-spark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.page-products .ds-spark__area {
  fill: rgba(255, 107, 26, 0.16);
}

.page-products .ds-spark__line {
  fill: none;
  stroke: var(--fx-orange);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-products .ds-spark__dot {
  fill: var(--fx-cyan);
}

.page-products .ds-caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fx-grey);
}

/* 分区骨架 */
.page-products .ds-band {
  padding: 52px 0;
  background: var(--fx-ink);
}

.page-products .ds-band--teal {
  background: linear-gradient(180deg, rgba(14, 42, 47, 0.96) 0%, rgba(11, 13, 16, 1) 100%);
}

.page-products .ds-band--slate {
  background: var(--ds-ink-2);
}

.page-products .ds-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.page-products .ds-h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.6vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.page-products .ds-sub {
  margin-top: 12px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246, 241, 232, 0.74);
}

/* 宽幅图 */
.page-products .ds-wide {
  position: relative;
  margin-bottom: 28px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--fx-charcoal);
}

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

.page-products .ds-wide__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border: 1px solid var(--ds-edge);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fx-warm);
}

.page-products .ds-wide--run,
.page-products .ds-wide--pitch,
.page-products .ds-wide--grid {
  margin-top: 28px;
  margin-bottom: 0;
}

/* 交锋对照 */
.page-products .ds-h2h__grid {
  display: grid;
  gap: 20px;
}

.page-products .ds-rail {
  padding: 18px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: rgba(11, 13, 16, 0.5);
}

.page-products .ds-rail__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 4px;
}

.page-products .ds-rail__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-left: 3px solid var(--fx-wine);
  background: rgba(90, 30, 44, 0.22);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-products .ds-rail__item--now {
  border-left-color: var(--fx-orange);
  background: rgba(255, 107, 26, 0.14);
}

.page-products .ds-rail__season {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fx-warm);
}

.page-products .ds-rail__meta {
  font-size: 11px;
  color: var(--fx-grey);
  letter-spacing: 0.04em;
}

.page-products .ds-split {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .ds-rail__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 241, 232, 0.7);
}

.page-products .ds-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: rgba(11, 13, 16, 0.5);
}

.page-products .ds-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .ds-table__cap {
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  color: var(--fx-grey);
  border-bottom: 1px solid var(--ds-edge);
}

.page-products .ds-table th,
.page-products .ds-table td {
  padding: 12px 14px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--ds-edge);
}

.page-products .ds-table th:first-child,
.page-products .ds-table td:first-child {
  text-align: left;
}

.page-products .ds-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fx-grey);
}

.page-products .ds-table tbody td {
  font-family: var(--font-mono);
  color: rgba(246, 241, 232, 0.88);
}

.page-products .ds-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .ds-table tr.is-current td {
  background: rgba(255, 107, 26, 0.1);
}

.page-products .ds-table tr.is-current td:first-child {
  box-shadow: inset 3px 0 0 var(--fx-orange);
  color: var(--fx-orange);
}

/* 球员档案 */
.page-products .ds-squad__grid {
  display: grid;
  gap: 20px;
}

.page-products .ds-players {
  display: grid;
  gap: 14px;
}

.page-products .ds-player {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: var(--ds-slate);
  transition: border-color 0.25s var(--ease);
}

.page-products .ds-player:hover {
  border-color: var(--fx-orange);
}

.page-products .ds-player__pos {
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-mist);
}

.page-products .ds-player__id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fx-grey);
}

.page-products .ds-player__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--ds-edge);
}

.page-products .ds-player__label {
  font-size: 12px;
  color: var(--fx-grey);
}

.page-products .ds-player__num {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--fx-warm);
}

.page-products .ds-player__state {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: rgba(246, 241, 232, 0.82);
}

.page-products .ds-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
}

.page-products .ds-dot--cyan {
  background: var(--fx-cyan);
  box-shadow: 0 0 0 3px rgba(43, 217, 200, 0.16);
}

.page-products .ds-dot--orange {
  background: var(--fx-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.18);
}

.page-products .ds-dot--grey {
  background: var(--fx-grey);
}

/* 可展开侧栏 */
.page-products .ds-drawers {
  display: block;
}

.page-products .ds-drawer {
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: var(--ds-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.page-products .ds-drawer + .ds-drawer {
  margin-top: 14px;
}

.page-products .ds-drawer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-warm);
  cursor: pointer;
  list-style: none;
}

.page-products .ds-drawer__summary::-webkit-details-marker {
  display: none;
}

.page-products .ds-drawer__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--fx-orange);
}

.page-products .ds-drawer[open] .ds-drawer__summary::after {
  content: "–";
}

.page-products .ds-drawer__summary:focus-visible {
  outline: 2px solid var(--fx-cyan);
  outline-offset: -2px;
}

.page-products .ds-drawer__body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(246, 241, 232, 0.8);
}

.page-products .ds-drawer__body p + p {
  margin-top: 10px;
}

.page-products .ds-drawer__fig {
  margin: 14px 0;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .ds-drawer__fig img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .ds-abbr {
  border-bottom: 1px dotted var(--fx-cyan);
  color: var(--fx-warm);
  cursor: help;
  text-decoration: none;
}

/* 三步路径 */
.page-products .ds-steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.page-products .ds-step {
  padding-top: 16px;
  border-top: 2px solid var(--fx-orange);
}

.page-products .ds-step:nth-child(2) {
  border-top-color: var(--fx-cyan);
}

.page-products .ds-step:nth-child(3) {
  border-top-color: var(--fx-wine);
}

.page-products .ds-step__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fx-orange);
}

.page-products .ds-step h3 {
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-products .ds-step p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 241, 232, 0.76);
}

/* 覆盖与更新 */
.page-products .ds-cov__grid {
  display: grid;
  gap: 26px;
}

.page-products .ds-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.page-products .ds-metric {
  padding: 16px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: var(--ds-slate);
}

.page-products .ds-metric__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--fx-cyan);
}

.page-products .ds-metric__label {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(246, 241, 232, 0.72);
}

.page-products .ds-cov__note {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(246, 241, 232, 0.7);
  border-left: 3px solid var(--fx-orange);
  padding-left: 14px;
}

/* 使用人群 */
.page-products .ds-uses {
  display: grid;
  gap: 16px;
}

.page-products .ds-use {
  padding: 20px;
  border: 1px solid var(--ds-edge);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.04);
}

.page-products .ds-use h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-products .ds-use p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(246, 241, 232, 0.76);
}

.page-products .ds-use a {
  color: var(--fx-orange);
  border-bottom: 1px solid rgba(255, 107, 26, 0.45);
}

.page-products .ds-use a:hover {
  border-bottom-color: var(--fx-orange);
}

/* 结尾行动区 */
.page-products .ds-cta {
  padding: 46px 0 54px;
  background: var(--fx-orange);
  color: var(--fx-ink);
  clip-path: polygon(0 0, 100% 3.5%, 100% 100%, 0 96.5%);
}

.page-products .ds-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fx-ink);
}

.page-products .ds-cta__text {
  margin-top: 12px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11, 13, 16, 0.78);
}

.page-products .ds-cta__links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .ds-btn-ink,
.page-products .ds-btn-line {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-products .ds-btn-ink {
  background: var(--fx-ink);
  color: var(--fx-warm);
  border: 1px solid var(--fx-ink);
}

.page-products .ds-btn-line {
  background: transparent;
  color: var(--fx-ink);
  border: 1px solid rgba(11, 13, 16, 0.5);
}

.page-products .ds-btn-ink:hover,
.page-products .ds-btn-line:hover {
  transform: translateY(-2px);
}

.page-products .ds-btn-line:hover {
  background: rgba(11, 13, 16, 0.08);
}

/* 平板及以上 */
@media (min-width: 620px) {
  .page-products .ds-band {
    padding: 64px 0;
  }

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

  .page-products .ds-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 桌面 */
@media (min-width: 900px) {
  .page-products .ds-hero {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .page-products .ds-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .page-products .ds-band {
    padding: 84px 0;
  }

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

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

  .page-products .ds-cta {
    padding: 68px 0 78px;
  }
}

@media (min-width: 980px) {
  .page-products .ds-h2h__grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-products .ds-squad__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
  }

  .page-products .ds-cov__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }

  .page-products .ds-wide--grid {
    margin-top: 0;
  }
}

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

  .page-products .ds-player:nth-child(2),
  .page-products .ds-player:nth-child(4) {
    margin-top: 24px;
  }
}
