.page-products {
  --dl-gap: 18px;
  --dl-surface: rgba(11, 46, 34, 0.62);
  --dl-surface-deep: rgba(7, 17, 13, 0.88);
  display: block;
}

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

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-sans);
  color: var(--mist);
  letter-spacing: -0.015em;
}

.page-products h1 {
  font-size: clamp(2rem, 7.4vw, 3.7rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 12px 0 16px;
}

.page-products h1 em {
  font-style: normal;
  color: var(--ink);
  background: var(--volt);
  padding: 0 0.16em;
  border-radius: 8px;
  display: inline-block;
  transform: skew(-4deg);
  box-shadow: 0 8px 26px rgba(200, 255, 61, 0.24);
}

.page-products .breadcrumb {
  padding-block: 14px 0;
}

.page-products .section {
  padding-block: 34px;
}

.page-products .section-head {
  max-width: 62ch;
  margin-bottom: 22px;
}

.page-products .section-head .lede {
  margin-top: 10px;
}

.page-products .section-title {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 6px 0 0;
}

/* ---------- 首屏 ---------- */
.dl-hero {
  position: relative;
}

.dl-hero-grid {
  display: grid;
  gap: 22px;
  padding-block: 26px 10px;
  align-items: start;
}

.dl-hero-copy .lede {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body-text);
  max-width: 46ch;
}

.dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dl-readout {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 22px 20px 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(200, 255, 61, 0.16), transparent 58%),
    linear-gradient(165deg, rgba(20, 90, 58, 0.6), rgba(7, 17, 13, 0.94));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.dl-readout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 44px);
  opacity: 0.38;
  pointer-events: none;
}

.dl-readout-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.dl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.18);
  animation: dl-pulse 2.4s ease-in-out infinite;
}

@keyframes dl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

.dl-version-big {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 10vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 10px 0 18px;
  color: var(--volt);
  text-shadow: 0 0 34px rgba(200, 255, 61, 0.32);
}

.dl-readout-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dl-readout-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
  color: var(--body-text);
}

.dl-readout-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-readout-list strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--mist);
  white-space: nowrap;
}

/* ---------- 下载入口 ---------- */
.dl-filter-row {
  margin-bottom: 18px;
}

.dl-cards {
  display: grid;
  gap: var(--dl-gap);
  grid-template-columns: 1fr;
}

.dl-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  padding: 22px 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 90, 58, 0.42), rgba(7, 17, 13, 0.9));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.dl-card:hover,
.dl-card:focus-within {
  border-color: var(--line);
  transform: translateY(-2px);
}

.dl-card--mobile {
  display: grid;
  gap: 18px;
  border-color: rgba(200, 255, 61, 0.4);
  box-shadow: 0 0 0 1px rgba(200, 255, 61, 0.14), 0 24px 56px rgba(0, 0, 0, 0.42);
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(200, 255, 61, 0.13), transparent 60%),
    linear-gradient(155deg, rgba(20, 90, 58, 0.56), rgba(7, 17, 13, 0.94));
}

.dl-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.dl-card-kicker .num-sm {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--volt);
  letter-spacing: 0.04em;
}

.dl-card .card-title {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.dl-card .card-text {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--body-text);
  margin: 0;
}

.dl-spec {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  display: grid;
  gap: 8px;
  border-top: 1px dashed var(--line-soft);
}

.dl-spec li {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-text);
}

.dl-spec li span:first-child {
  color: var(--sage);
}

.dl-card-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink);
}

.dl-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  max-height: 340px;
  object-fit: cover;
  border-radius: inherit;
}

.dl-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, 0.36);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.dl-inline-link:hover,
.dl-inline-link:focus-visible {
  color: var(--volt-soft);
  border-color: var(--volt-soft);
}

.dl-card--support {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(95, 227, 192, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(20, 90, 58, 0.36), rgba(7, 17, 13, 0.92));
}

.dl-card--support .eyebrow {
  margin: 0 0 8px;
}

.dl-support-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.dl-support-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- 电脑端 ---------- */
.dl-desktop-inner {
  display: grid;
  gap: 24px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  padding: 24px 20px;
  background:
    radial-gradient(70% 110% at 0% 0%, rgba(200, 255, 61, 0.1), transparent 58%),
    linear-gradient(200deg, rgba(20, 90, 58, 0.38), rgba(7, 17, 13, 0.94));
}

.dl-desktop-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  margin: 12px 0 0;
}

.dl-desktop-copy .section-title {
  margin-top: 8px;
}

.dl-mini-steps {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.dl-mini-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(7, 17, 13, 0.62);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--body-text);
}

.dl-mini-steps .num-sm {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--volt);
}

.dl-shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.dl-shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 三步绑定 ---------- */
.dl-bind-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.dl-bind-step {
  position: relative;
  overflow: hidden;
  padding: 26px 20px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(20, 90, 58, 0.46), rgba(7, 17, 13, 0.9));
}

.dl-bind-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--volt), var(--signal));
}

.dl-step-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--volt);
  letter-spacing: -0.03em;
}

.dl-bind-step h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.dl-bind-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--body-text);
}

.dl-bind-figure {
  margin: 0 0 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.dl-bind-figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.dl-bind-notes {
  display: grid;
  gap: 10px;
}

.dl-bind-notes details {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: rgba(11, 46, 34, 0.5);
  padding: 14px 16px;
  transition: border-color var(--dur) var(--ease);
}

.dl-bind-notes details[open] {
  border-color: var(--line);
}

.dl-bind-notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--mist);
}

.dl-bind-notes summary::-webkit-details-marker {
  display: none;
}

.dl-bind-notes summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--volt);
  flex: none;
}

.dl-bind-notes details[open] summary::after {
  content: "−";
}

.dl-bind-notes details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--body-text);
}

/* ---------- 版本记录 ---------- */
.dl-versions-inner {
  display: grid;
  gap: 24px;
}

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

.dl-version {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0 16px 20px;
  border-left: 1px solid var(--line-soft);
}

.dl-version::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turf);
  border: 1px solid var(--line);
}

.dl-version.is-current::before {
  background: var(--volt);
  border-color: var(--volt);
  box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.16);
}

.dl-version-no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sage);
}

.dl-version.is-current .dl-version-no {
  color: var(--volt);
}

.dl-version-body h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.4;
}

.dl-version-body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--body-text);
}

.dl-timeline-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink);
}

.dl-timeline-figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- 常见设置 ---------- */
.dl-settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.dl-settings-grid .card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 20px 18px 20px 22px;
}

.dl-settings-grid .card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--volt);
  opacity: 0.72;
}

.dl-settings-grid .card:nth-child(2)::before {
  background: var(--cyan);
}

.dl-settings-grid .card:nth-child(3)::before {
  background: var(--amber);
}

.dl-settings-grid .card:nth-child(4)::before {
  background: var(--signal);
}

.dl-settings-grid .card-title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.dl-settings-grid .card-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--body-text);
  margin: 0;
}

/* ---------- 收口 ---------- */
.dl-cta {
  position: relative;
  margin-top: 16px;
  padding-block: 38px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(255, 90, 54, 0.16), transparent 58%),
    radial-gradient(70% 120% at 100% 100%, rgba(200, 255, 61, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(11, 46, 34, 0.72), rgba(7, 17, 13, 0.96));
  border-top: 1px solid var(--line);
}

.dl-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--volt), var(--signal));
}

.dl-cta-inner {
  display: grid;
  gap: 18px;
}

.dl-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 800;
}

.dl-cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
}

.dl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .dl-card--mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
    align-items: center;
  }

  .dl-card-media img {
    max-height: 300px;
  }

  .dl-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .page-products .section {
    padding-block: 54px;
  }

  .dl-hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 32px;
    padding-block: 52px 16px;
    align-items: end;
  }

  .dl-cards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .dl-card--mobile {
    grid-column: span 7;
  }

  .dl-card--desktop {
    grid-column: span 5;
  }

  .dl-card--support {
    grid-column: span 12;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .dl-bind-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .dl-bind-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dl-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
  }
}

@media (min-width: 900px) {
  .dl-desktop-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 34px;
    padding: 36px 32px;
    align-items: center;
  }

  .dl-versions-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 34px;
    align-items: start;
  }

  .dl-timeline-figure {
    position: sticky;
    top: 108px;
  }

  .dl-card-media img {
    max-height: 360px;
  }
}

@media (min-width: 1024px) {
  .dl-settings-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-dot {
    animation: none;
  }

  .page-products .dl-card {
    transition: none;
  }

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