.page-products {
  --db-cut: 16px;
  --db-pad: clamp(18px, 2.6vw, 32px);
  background:
    radial-gradient(120% 78% at 92% -8%, rgba(226, 58, 46, .10), transparent 58%),
    radial-gradient(90% 60% at 4% 30%, rgba(107, 255, 158, .05), transparent 62%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 52%, var(--ink-900) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: clamp(48px, 8vw, 100px);
  overflow-x: hidden;
}

/* ---------- 通用排版 ---------- */
.page-products .db-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}

.page-products .db-h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.06;
  letter-spacing: .01em;
}

.page-products .db-head {
  max-width: 840px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.page-products .db-head__sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-products .db-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .db-note a {
  color: var(--green);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding-top: clamp(14px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
}

.page-products .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-products .breadcrumb a:hover {
  color: var(--green);
}

.page-products .breadcrumb span[aria-hidden="true"] {
  margin: 0 8px;
  color: var(--line);
}

/* ---------- 首屏 ---------- */
.page-products .db-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 34px) clamp(34px, 6vw, 74px);
}

.page-products .db-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.page-products .db-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 7.4vw, 82px);
  line-height: .98;
  letter-spacing: .005em;
}

.page-products .db-hero__title .db-mark {
  display: block;
  color: var(--green);
}

.page-products .db-hero__lede {
  margin: 0 0 24px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
}

.page-products .db-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.page-products .db-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.page-products .db-stat {
  min-width: 0;
}

.page-products .db-stat dt {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--dim);
}

.page-products .db-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
}

.page-products .db-stat__num {
  margin-right: 3px;
  font-size: 26px;
  font-weight: 700;
  color: var(--amber);
}

.page-products .db-hero__figure {
  margin: 0;
}

/* ---------- 切角面板 ---------- */
.page-products .db-frame {
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(145deg, var(--ink-700) 0%, var(--ink-900) 100%);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    var(--db-cut) 0,
    100% 0,
    100% calc(100% - var(--db-cut)),
    calc(100% - var(--db-cut)) 100%,
    0 100%,
    0 var(--db-cut)
  );
}

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

.page-products .db-frame--hero {
  aspect-ratio: 16 / 10;
}

.page-products .db-frame--hero .db-frame__img,
.page-products .db-frame--band .db-frame__img,
.page-products .db-frame--wide .db-frame__img {
  height: 100%;
}

.page-products .db-frame--band {
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-products .db-frame--wide {
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-products .db-frame--tall {
  aspect-ratio: 10 / 13;
}

.page-products .db-frame__caption {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--dim);
}

.page-products .db-band {
  width: 100%;
}

/* ---------- 区块 ---------- */
.page-products .db-section {
  padding-block: clamp(36px, 6vw, 76px);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}

/* ---------- 标签切换 ---------- */
.page-products .db-switch__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .db-switch__tab {
  position: relative;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.page-products .db-switch__tab:hover {
  color: var(--text);
}

.page-products .db-switch__tab[aria-selected="true"] {
  color: var(--text);
}

.page-products .db-switch__tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(107, 255, 158, .55);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}

.page-products .db-switch__tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.page-products .db-switch__tab:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- 面板 ---------- */
.page-products .db-panel {
  padding: var(--db-pad);
  background: linear-gradient(160deg, rgba(22, 48, 76, .74), rgba(15, 32, 54, .52));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    0 0,
    calc(100% - var(--db-cut)) 0,
    100% var(--db-cut),
    100% 100%,
    var(--db-cut) 100%,
    0 calc(100% - var(--db-cut))
  );
}

.page-products .db-panel__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
}

.page-products .db-panel > p {
  margin: 0 0 16px;
  max-width: 70ch;
  color: var(--muted);
}

.page-products .db-panel:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* ---------- 列表与链接 ---------- */
.page-products .db-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.page-products .db-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
}

.page-products .db-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 2px;
  background: var(--amber);
}

.page-products .db-link {
  display: inline-block;
  padding-bottom: 2px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 255, 158, .35);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-products .db-link:hover {
  color: var(--text);
  border-bottom-color: var(--green);
}

/* ---------- 分栏 ---------- */
.page-products .db-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 48px);
  align-items: start;
}

.page-products .db-split__media {
  min-width: 0;
}

.page-products .db-split__body {
  min-width: 0;
}

.page-products .db-split__body > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 表格 ---------- */
.page-products .db-scroll {
  width: 100%;
  overflow-x: auto;
  background: rgba(10, 22, 38, .55);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.page-products .db-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.page-products .db-table caption {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .db-table th,
.page-products .db-table td {
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .db-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(42, 74, 107, .24);
}

.page-products .db-table tbody tr {
  transition: background .18s var(--ease);
}

.page-products .db-table tbody tr:hover {
  background: rgba(107, 255, 158, .06);
}

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

.page-products .db-table td:first-child {
  position: relative;
  padding-left: 24px;
}

.page-products .db-table td:first-child::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--green);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.page-products .db-table tbody tr:hover td:first-child::before {
  transform: translateY(-50%) scaleX(1);
}

.page-products .db-table--rhythm td:nth-child(2) {
  white-space: normal;
  min-width: 220px;
  color: var(--muted);
}

.page-products .db-num {
  font-family: var(--font-mono);
  color: var(--amber);
  letter-spacing: .02em;
}

.page-products .db-num--hot {
  color: var(--green);
  font-weight: 700;
}

/* ---------- 标签 ---------- */
.page-products .db-tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text);
  background: rgba(42, 74, 107, .32);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.page-products .db-tag--amber {
  color: var(--amber);
  background: rgba(242, 180, 65, .08);
  box-shadow: inset 0 0 0 1px rgba(242, 180, 65, .5);
}

.page-products .db-tag--green {
  color: var(--green);
  background: rgba(107, 255, 158, .08);
  box-shadow: inset 0 0 0 1px rgba(107, 255, 158, .45);
}

.page-products .db-tag--red {
  color: #ff9086;
  background: rgba(226, 58, 46, .14);
  box-shadow: inset 0 0 0 1px rgba(226, 58, 46, .55);
}

/* ---------- 位置分组 ---------- */
.page-products .db-groups {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.page-products .db-group {
  padding: 16px 18px;
  background: linear-gradient(150deg, rgba(22, 48, 76, .62), rgba(15, 32, 54, .42));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-products .db-group__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text);
}

.page-products .db-group__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--amber);
}

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

.page-products .db-group__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 转会卡片 ---------- */
.page-products .db-transfer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .db-tcard {
  padding: var(--db-pad);
  background: linear-gradient(155deg, rgba(22, 48, 76, .88), rgba(15, 32, 54, .58));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    var(--db-cut) 0,
    100% 0,
    100% calc(100% - var(--db-cut)),
    calc(100% - var(--db-cut)) 100%,
    0 100%,
    0 var(--db-cut)
  );
}

.page-products .db-tcard__league {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(242, 180, 65, .48);
}

.page-products .db-tcard__week {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--dim);
}

.page-products .db-tcard__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .db-tcard__bar {
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--green), rgba(107, 255, 158, 0));
}

/* ---------- 反馈脉冲 ---------- */
.page-products .db-split__media--pulse {
  padding-top: clamp(6px, 2vw, 20px);
}

.page-products .db-pulse {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .db-pulse__base {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.page-products .db-pulse__peak {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(107, 255, 158, .7));
}

/* ---------- 展开组内文 ---------- */
.page-products .accordion {
  margin-top: 22px;
}

.page-products .accordion__panel-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 860px) {
  .page-products .db-split--7-5 {
    grid-template-columns: 7fr 5fr;
  }

  .page-products .db-split--5-7 {
    grid-template-columns: 5fr 7fr;
  }
}

@media (min-width: 900px) {
  .page-products .db-hero__grid {
    grid-template-columns: 7fr 5fr;
  }
}

@media (min-width: 780px) {
  .page-products .db-transfer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .db-tcard:nth-child(2) {
    margin-top: 38px;
  }

  .page-products .db-tcard:nth-child(3) {
    margin-top: 76px;
  }
}

@media (max-width: 719px) {
  .page-products {
    font-size: 15.5px;
  }

  .page-products .db-switch__tab {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-products .db-band .db-frame__caption {
    font-size: 11px;
  }

  .page-products .db-stat__num {
    font-size: 22px;
  }
}

@media (max-width: 460px) {
  .page-products .db-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-products .db-panel {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .db-switch__tab::after,
  .page-products .db-table td:first-child::before,
  .page-products .db-table tbody tr,
  .page-products .db-switch__tab {
    transition: none;
  }
}
