/* ===== 下载中心 · 页面作用域 .page-products ===== */

.page-products {
  --pd-amber-line: rgba(224, 160, 41, .42);
  --pd-amber-line-soft: rgba(224, 160, 41, .14);
  --pd-cyan-line: rgba(70, 227, 208, .32);
  --pd-text: rgba(244, 247, 246, .82);
  --pd-text-mute: rgba(244, 247, 246, .6);
}

/* 深底区块统一正文色，奶油纸区块交给 .mk-paper */
.page-products .pd-intro,
.page-products .pd-ends,
.page-products .pd-pass,
.page-products .pd-pen,
.page-products .pd-ver {
  color: var(--pd-text);
}

/* ---------- 首屏声明 ---------- */
.page-products .pd-intro {
  padding-top: calc(var(--mk-header-h) + clamp(20px, 4.5vw, 56px));
  padding-bottom: clamp(20px, 3.4vw, 40px);
}

.page-products .pd-intro__title {
  font-family: var(--mk-narrow);
  font-size: clamp(1.72rem, 4.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  font-weight: 600;
  color: var(--mk-cold);
  margin: .55em 0 .6em;
  max-width: 21em;
}

.page-products .pd-lede,
.page-products .mk-lede {
  max-width: 42em;
}

.page-products .pd-intro__aside {
  margin-top: clamp(22px, 4vw, 30px);
}

@media (min-width: 1024px) {
  .page-products .pd-intro__aside {
    margin-top: 0;
    padding-top: 58px;
  }
}

.page-products .pd-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--mk-line-strong);
}

.page-products .pd-facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mk-line-soft);
}

.page-products .pd-facts__k {
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--mk-sage);
}

.page-products .pd-facts__v {
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  font-size: 1.02rem;
  color: var(--mk-cold);
  white-space: nowrap;
}

/* ---------- 章节标题组 ---------- */
.page-products .pd-head {
  margin-bottom: clamp(20px, 3vw, 38px);
}

.page-products .pd-head__t {
  font-family: var(--mk-narrow);
  font-size: clamp(1.28rem, 2.9vw, 2rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--mk-cold);
  margin: .38em 0 .5em;
  max-width: 24em;
}

.page-products .pd-head__d {
  margin: 0;
  max-width: 52ch;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--pd-text-mute);
}

.page-products .pd-install .pd-head__t {
  color: var(--mk-brown);
}

.page-products .pd-install .pd-head__d {
  color: rgba(22, 19, 15, .68);
}

.page-products .pd-install .mk-eyebrow {
  color: rgba(22, 19, 15, .5);
}

/* ---------- 01 三端对照表 ---------- */
.page-products .pd-table-wrap {
  width: 100%;
}

.page-products .pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}

.page-products .pd-table__cap {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--mk-sage);
}

.page-products .pd-table th,
.page-products .pd-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--mk-line-soft);
}

.page-products .pd-table thead th {
  font-family: var(--mk-narrow);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--mk-cyan);
  border-bottom: 1px solid var(--mk-line-strong);
}

.page-products .pd-table tbody th {
  font-family: var(--mk-narrow);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--mk-cold);
  white-space: nowrap;
}

.page-products .pd-table tbody td {
  color: var(--pd-text);
  line-height: 1.65;
}

@media (hover: hover) {
  .page-products .pd-table tbody tr:hover {
    background: rgba(70, 227, 208, .05);
  }
}

.page-products .pd-ends__note {
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--pd-cyan-line);
  font-size: .9rem;
  line-height: 1.75;
  color: var(--pd-text-mute);
  max-width: 46ch;
}

.page-products .pd-ends__media {
  margin-top: clamp(24px, 4vw, 34px);
}

@media (min-width: 1024px) {
  .page-products .pd-ends__media {
    margin-top: 0;
  }
}

/* 窄屏：表格转纵向卡片堆叠 */
@media (max-width: 767px) {
  .page-products .pd-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .page-products .pd-table,
  .page-products .pd-table tbody,
  .page-products .pd-table tr,
  .page-products .pd-table th,
  .page-products .pd-table td {
    display: block;
    width: 100%;
  }

  .page-products .pd-table tr {
    border-bottom: 1px solid var(--mk-line);
    padding: 14px 0 16px;
  }

  .page-products .pd-table tr:first-child {
    border-top: 1px solid var(--mk-line-strong);
  }

  .page-products .pd-table tbody th {
    font-size: 1.06rem;
    color: var(--mk-cyan);
    white-space: normal;
    padding: 0 0 10px;
    border-bottom: 0;
  }

  .page-products .pd-table td {
    display: grid;
    grid-template-columns: 6.6em 1fr;
    gap: 10px;
    padding: 5px 0;
    font-size: .89rem;
    border-bottom: 0;
  }

  .page-products .pd-table td::before {
    content: attr(data-label);
    font-size: .76rem;
    letter-spacing: .04em;
    color: var(--mk-sage);
    padding-top: .18em;
  }
}

/* ---------- 02 传球成功率 ---------- */
.page-products .pd-pass__spec {
  margin-top: clamp(24px, 4vw, 34px);
}

@media (min-width: 1024px) {
  .page-products .pd-pass__spec {
    margin-top: 0;
  }
}

.page-products .pd-spec {
  margin: 0;
}

.page-products .pd-spec__item {
  padding: 15px 0;
  border-top: 1px solid var(--mk-line-soft);
}

.page-products .pd-spec__item:first-child {
  border-top: 1px solid var(--mk-line-strong);
}

.page-products .pd-spec__item dt {
  font-family: var(--mk-narrow);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mk-cyan);
  margin-bottom: .45em;
}

.page-products .pd-spec__item dd {
  margin: 0;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--pd-text);
  max-width: 42ch;
}

/* ---------- 03 点球记录 ---------- */
.page-products .pd-pen__cols {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--pd-amber-line);
}

.page-products .pd-pen__col {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--mk-line-soft);
}

.page-products .pd-pen__idx {
  margin: 0;
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--mk-amber);
}

.page-products .pd-pen__t {
  font-family: var(--mk-narrow);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--mk-cold);
  margin: .55em 0 .45em;
}

.page-products .pd-pen__col p:not(.pd-pen__idx) {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--pd-text-mute);
}

.page-products .pd-pen__note {
  margin: clamp(18px, 3vw, 26px) 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--pd-text-mute);
  max-width: 60ch;
}

.page-products .pd-pen__media {
  margin-top: clamp(22px, 4vw, 30px);
}

@media (min-width: 900px) {
  .page-products .pd-pen__cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .pd-pen__col {
    padding: 20px 24px 22px;
    border-bottom: 0;
    border-left: 1px solid var(--mk-line-soft);
  }

  .page-products .pd-pen__col:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .page-products .pd-pen__col:last-child {
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .page-products .pd-pen__media {
    margin-top: 0;
  }
}

/* ---------- 04 版本演进 ---------- */
.page-products .pd-ver__media {
  margin-bottom: clamp(22px, 4vw, 30px);
}

@media (min-width: 1024px) {
  .page-products .pd-ver__media {
    margin-bottom: 0;
  }
}

.page-products .pd-ver__sub {
  font-family: var(--mk-narrow);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mk-cyan);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mk-line-strong);
}

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

.page-products .pd-ver__row {
  display: grid;
  grid-template-columns: 3.3em 1fr 3.6em;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.page-products .pd-ver__no {
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  font-size: .86rem;
  letter-spacing: -.01em;
  color: var(--mk-amber);
}

.page-products .pd-ver__bar {
  display: block;
  height: 8px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--mk-cyan) 0%, rgba(70, 227, 208, .16) 100%);
  min-width: 8px;
}

.page-products .pd-ver__row--current .pd-ver__bar {
  height: 11px;
  background: linear-gradient(90deg, var(--mk-amber) 0%, rgba(70, 227, 208, .24) 100%);
}

.page-products .pd-ver__num {
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  color: var(--mk-sage);
  text-align: right;
  white-space: nowrap;
}

.page-products .pd-ver__panels {
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .pd-ver__panels .mk-panel {
  border-top: 1px solid var(--mk-line-soft);
}

.page-products .pd-ver__panels .mk-panel:last-child {
  border-bottom: 1px solid var(--mk-line-soft);
}

.page-products .pd-ver__pn {
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  font-size: .84rem;
  letter-spacing: -.01em;
  color: var(--mk-amber);
  white-space: nowrap;
}

.page-products .pd-ver__pl {
  font-family: var(--mk-narrow);
  font-size: .98rem;
  font-weight: 600;
  color: var(--mk-cold);
}

.page-products .pd-ver__list {
  margin: 0;
  padding: 2px 0 6px 1.15em;
  font-size: .89rem;
  line-height: 1.75;
  color: var(--pd-text-mute);
}

.page-products .pd-ver__list li {
  margin-bottom: .35em;
}

.page-products .pd-ver__list li::marker {
  color: var(--mk-cyan);
}

/* ---------- 05 安装与更新（纸面区） ---------- */
.page-products .pd-install {
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

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

.page-products .pd-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 12px;
  padding-bottom: 22px;
}

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

.page-products .pd-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1.9em;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--pd-amber-line), rgba(224, 160, 41, .06));
}

.page-products .pd-steps__no {
  font-family: var(--mk-mono);
  font-variant-numeric: tabular-nums;
  font-size: .86rem;
  letter-spacing: -.01em;
  color: var(--mk-amber);
  padding-top: .12em;
}

.page-products .pd-steps__t {
  font-family: var(--mk-narrow);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--mk-brown);
  margin: 0 0 .32em;
}

.page-products .pd-steps__body p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.72;
  color: rgba(22, 19, 15, .7);
  max-width: 42ch;
}

.page-products .pd-install__media {
  margin-top: clamp(26px, 4vw, 34px);
}

@media (min-width: 1024px) {
  .page-products .pd-install__media {
    margin-top: 0;
  }
}

.page-products .pd-install__aside {
  margin: 16px 0 0;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(22, 19, 15, .64);
}

.page-products .pd-install__aside a {
  color: #0F6A5C;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 106, 92, .35);
}

.page-products .pd-install__aside a:hover {
  border-bottom-color: #0F6A5C;
}

.page-products .pd-trouble {
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(22, 19, 15, .2);
}

.page-products .pd-trouble__t {
  font-family: var(--mk-narrow);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--mk-brown);
  margin: 0 0 12px;
}

.page-products .pd-trouble__list {
  margin: 0;
}

.page-products .pd-trouble__item {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 19, 15, .12);
}

@media (min-width: 760px) {
  .page-products .pd-trouble__item {
    grid-template-columns: 22ch 1fr;
    gap: 22px;
    align-items: baseline;
  }
}

.page-products .pd-trouble__q {
  font-family: var(--mk-narrow);
  font-size: .95rem;
  font-weight: 600;
  color: var(--mk-brown);
}

.page-products .pd-trouble__a {
  margin: 0;
  font-size: .89rem;
  line-height: 1.72;
  color: rgba(22, 19, 15, .68);
}

/* ---------- 收束 ---------- */
.page-products .pd-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: clamp(6px, 1.5vw, 12px);
}

.page-products .pd-cta__t {
  margin: 0;
  font-family: var(--mk-narrow);
  font-size: clamp(1.05rem, 2.2vw, 1.36rem);
  font-weight: 600;
  color: var(--mk-cold);
  max-width: 30em;
}

.page-products .pd-cta__d {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--pd-text-mute);
}

.page-products .pd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

@media (min-width: 860px) {
  .page-products .pd-cta__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .page-products .pd-cta__actions {
    margin-top: 0;
    flex-shrink: 0;
  }
}

/* ---------- 图片统一响应 ---------- */
.page-products .mk-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-ver__bar,
  .page-products .pd-steps__item::after {
    transition: none;
  }
}
