/* 全站深色主题：统一深色背景（和主页一致） */
html, body {
  background: #0b0d13 !important;
  color: #e8ecff !important;
  max-width: none !important;
}

/* 面包屑 */
.dl-breadcrumb, .breadcrumb {
  color: #8fa0be !important;
  background: transparent !important;
  border: 0 !important;
}
.dl-breadcrumb a, .breadcrumb a {
  color: #7aa2ff !important;
}

/* 下载页深色覆盖 */
.dl-hero { background: transparent !important; }
.dl-hero .plat {
  background: #141824 !important;
  color: #e8ecff !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
.dl-hero .plat .plat__icon {
  filter: invert(1) brightness(0.92);
}
.dl-hero .plat.is-active {
  background: rgba(123,76,255,.16) !important;
  border-color: #7b4cff !important;
  color: #fff !important;
}
.dl-hero .plat.is-active .plat__icon {
  filter: invert(1) brightness(0.92);
}

/* 下载页文字颜色（download.css 是浅色主题，深色字在深色底看不清） */
.dl-hero__content h1 { color: #e8ecff !important; }
.dl-hero__content p { color: #cbd6f4 !important; }
.dl-hero__sub { color: #8fa0be !important; }
.dl-hero__note { color: #a9b3c7 !important; }
.dl-hero__note a { color: #7aa2ff !important; }

.dl-features, .dl-steps, .dl-sysreq, .dl-faq { background: transparent !important; }
.dl-features .feat, .dl-sysreq > div > div, .dl-faq details {
  background: #141824 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
.dl-features .feat h3, .dl-sysreq h3, .dl-faq summary { color: #e8ecff !important; }
.dl-features .feat p, .dl-sysreq p, .dl-faq p { color: #a9b3c7 !important; }
.dl-features .feat .more { color: #7aa2ff !important; }
.dl-steps h2, .dl-sysreq h2, .dl-faq h2 { color: #e8ecff !important; }
.dl-steps li, .dl-steps p { color: #cbd6f4 !important; }

/* 页脚按钮文字（白底按钮 → 深色字） */
.wa-lite__btn-text em, .wa-lite__btn-text strong { color: #111 !important; }

/* 语言切换下拉 */
.lang-switch {
  position: relative;
  margin-left: 14px;
  display: inline-flex;
}
.lang-switch summary {
  cursor: pointer;
  list-style: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #cbd6f4;
  font-size: 13px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.03);
  transition: all .15s ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.07);
}
.lang-switch__caret {
  font-size: 9px;
  opacity: .6;
  transition: transform .15s ease;
}
.lang-switch[open] .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 140px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  z-index: 1000;
  animation: langFade .14s ease;
}
@keyframes langFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lang-switch__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: #cbd6f4;
  font-size: 13px;
  text-decoration: none;
  border-radius: 8px;
  transition: background .12s;
}
.lang-switch__menu a:hover {
  background: rgba(123,76,255,.18);
  color: #fff;
}
