/* ════════════════════════════════════════════════════════════════════════
   DirectX 修复工具主题站 · 站点主题层 theme.css（必须在 global.css / layout_*.css 之后加载）
   ------------------------------------------------------------------------
   主题色取自站点根目录 logo.png（实测：纯黑 #080808 100%，即 DirectX 修复工具的黑色图标），
   渐变另一端取 screenshot.png 里软件界面的钢蓝/浅蓝（#88C8E8）：主色走 logo 黑，
   形成「浅钢蓝 → 钢蓝 → 近黑」同色系渐变，避免默认蓝。
   覆盖内容：单层导航 / Hero 左文右图 / 更新署名脉冲胶囊 / 正文分节卡片化 /
   左侧悬挂目录 / 统一默认字体 / hover 无下划线 / 液态玻璃质感 / 信任下载面板。
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. 主题变量 ───────────────────────────────────────────── */
:root {
  --brand:        #14161B;   /* logo 纯黑（略提亮以便 UI 使用）*/
  --brand-dk:     #0A0C10;
  --brand-lt:     #2F5D7C;   /* 界面钢蓝 */
  --brand-cy:     #88C8E8;   /* 界面浅蓝高光 */
  --brand-shadow: rgba(20, 22, 27, .30);
  --brand-soft:   #EEF3F7;
  --brand-line:   #D6E1E8;
  --brand-ink:    #16242E;
  --brand-wash:   #F7FAFC;

  --blue:    #2F5D7C;
  --blue-dk: #1E4257;
  --blue-50: #EEF3F7;

  --hero-bg: linear-gradient(180deg, #F3F7FA 0%, #FFFFFF 100%);
  --cta-grad: linear-gradient(135deg, #7FC0DC 0%, #2F5D7C 52%, #101418 100%);

  --ink:   #1A2229;
  --ink-2: #53616B;
  --line:  rgba(20, 22, 27, .12);
  --font-default: system-ui, -apple-system, "Segoe UI", Roboto,
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ── 2. 统一默认字体（全站，含表单与代码元素）──────────────── */
html, body, button, input, select, textarea, code, kbd, samp, pre, time {
  font-family: var(--font-default) !important;
}
body {
  font-family: var(--font-default);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  background:
    radial-gradient(1100px 760px at 88% -8%, rgba(47, 93, 124, .13), transparent 62%),
    radial-gradient(980px 700px at -12% 26%, rgba(136, 200, 232, .18), transparent 58%),
    radial-gradient(1000px 720px at 106% 76%, rgba(20, 22, 27, .10), transparent 60%),
    linear-gradient(180deg, #F6F9FB 0%, #FCFDFE 46%, #F4F8FA 100%);
  background-attachment: fixed;
}
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%;
  filter: blur(96px); z-index: -1; pointer-events: none;
}
body::before {
  width: 560px; height: 560px; top: -170px; right: -110px;
  background: radial-gradient(circle, rgba(47, 93, 124, .17), transparent 70%);
}
body::after {
  width: 660px; height: 660px; bottom: -210px; left: -170px;
  background: radial-gradient(circle, rgba(136, 200, 232, .20), transparent 70%);
}

/* ── 3. 链接：全站 hover 一律不加下划线 ─────────────────────── */
a, a:hover, a:focus, a:active, a:visited { text-decoration: none !important; }
a { color: #2A5675; }
a:hover { color: var(--brand); }
.text-card a, .main-content a, .hero-sub a, .faq-v2 a {
  color: #2A5675; font-weight: 600;
  border-bottom: 1px solid rgba(42, 86, 117, .3);
}
.text-card a:hover, .faq-v2 a:hover { color: var(--brand); border-bottom-color: var(--brand); }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
section[id], h1[id], h2[id], h3[id], h4[id], div[id] { scroll-margin-top: 92px; }

/* ── 4. 顶部导航：单层毛玻璃条（logo.png + DirectX + 站内导航）── */
.ks-header {
  background: rgba(255, 255, 255, .74) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 10px 34px -20px rgba(10, 14, 18, .22);
  position: sticky; top: 0; z-index: 200;
}
.ks-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; height: 62px;
}
.ks-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.ks-logo img {
  height: 34px; width: auto; max-width: 150px; object-fit: contain;
  display: block; border-radius: 6px;
}
.ks-logo-txt {
  font-size: 19px; font-weight: 800; letter-spacing: .1px;
  background: linear-gradient(120deg, #2F5D7C 0%, #14161B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
.ks-subnav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.ks-subnav::-webkit-scrollbar { display: none; height: 0; }
.ks-subnav-inner { display: flex; align-items: center; gap: 4px; height: 62px; white-space: nowrap; }
.ks-subnav-inner a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px;
  font-size: 14px; font-weight: 500; color: #46525C;
  border-radius: 999px; text-decoration: none;
  transition: background .16s, color .16s, box-shadow .16s;
}
.ks-subnav-inner a:hover {
  color: #1E4257; background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(47, 93, 124, .14);
}
.ks-subnav-inner a.active {
  background: var(--cta-grad); color: #fff;
  box-shadow: 0 6px 16px -6px var(--brand-shadow);
}

/* ── 5. 面包屑 ─────────────────────────────────────────────── */
.breadcrumb { max-width: 1140px; margin: 0 auto; padding: 14px 20px 0; font-size: 13px; color: #8A9299; }
.breadcrumb a { color: #2A5675; font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: #C9CFD4; margin: 0 6px; }

/* ── 6. 更新署名胶囊（H1 正下方，低权重 + 脉冲呼吸灯）────────── */
.update-capsule {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(238, 243, 247, .94);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: 12.5px; font-weight: 400; line-height: 1.65;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  margin: 4px 0 14px;
}
.update-capsule time { font-weight: 500; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-lt);
  animation: ks-pulse 2.2s ease-in-out infinite;
}
@keyframes ks-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 93, 124, .5); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 93, 124, 0); }
}

/* ── 7. 首页 / 下载页 Hero：左文右图（窄屏上文下图）──────────── */
.site-hero {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 46px; align-items: center;
  max-width: 1140px; margin: 22px auto 26px;
  padding: 42px 44px;
  border-radius: 28px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .66));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 30px 60px -34px rgba(20, 22, 27, .30),
    0 22px 46px -30px rgba(10, 14, 18, .22);
}
.site-hero-text { min-width: 0; }
.hero-logo { width: 80px; height: 80px; object-fit: contain; display: block; margin-bottom: 16px; }
.site-hero h1 {
  margin: 0 0 6px; font-size: 33px; line-height: 1.26; font-weight: 800;
  letter-spacing: -.4px;
  background: linear-gradient(120deg, #1A2229 18%, var(--brand-lt) 122%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-hero h1 span { display: block; font-size: .62em; font-weight: 600; margin-top: 6px; line-height: 1.5; }
.site-hero .hero-sub {
  margin: 0 0 22px; font-size: 16px; line-height: 1.8; color: var(--ink-2);
  max-width: 560px;
}
.site-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 0 0 18px; }
.site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 200px; justify-content: center; }
.cta-primary, .cta-secondary, .trust-panel-btn {
  white-space: normal !important; text-align: center; line-height: 1.35;
  padding-left: 20px; padding-right: 20px;
}
.site-hero .cta-primary.cta-wide, .hero-v2 .cta-primary.cta-wide { flex: 1 1 100%; }
.site-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.site-hero .hero-meta span {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .82);
  border: 1px solid var(--brand-line); color: var(--brand-ink);
  font-size: 12.5px; backdrop-filter: blur(10px);
}
.site-hero-img { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.site-hero-img img {
  width: 100%; max-width: 520px; height: auto; display: block;
  border-radius: 16px;
  border: 1px solid var(--brand-line);
  box-shadow: 0 22px 46px -22px rgba(10, 14, 18, .34);
  background: #fff;
}

/* ── 8. 内容页 Hero（H1 + 胶囊 + 描述） ───────────────────── */
.hero-v2 {
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .64));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 22px 46px -30px rgba(20, 22, 27, .24),
    0 16px 36px -28px rgba(10, 14, 18, .2);
  margin: 0 0 20px;
  padding: 32px 34px 28px; text-align: center;
}
.hero-v2 .container { max-width: 860px; }
.hero-v2 .hero-logo { width: 80px; height: 80px; margin: 0 auto 14px; }
.hero-v2 h1 {
  margin: 0 0 4px; font-size: 28px; line-height: 1.32; font-weight: 800; color: #16202A;
  padding: 0; border: none;
}
.hero-v2 .hero-sub { margin: 0 auto; max-width: 780px; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.hero-v2 .update-capsule { margin: 6px 0 12px; }
.hero-v2 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.hero-v2 .hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hero-v2 .hero-meta span {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .82);
  border: 1px solid var(--brand-line); color: var(--brand-ink); font-size: 12.5px;
}

/* ── 9. 正文容器 + 左侧悬挂目录（源站已有 l1-toc，此处补栅格）── */
.content-wrap { max-width: 1140px; margin: 0 auto; padding: 6px 20px 30px; }
.l1-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px; align-items: start;
  max-width: 1140px !important; margin: 0 auto; padding: 6px 20px 30px;
}
.l1-toc {
  position: sticky; top: 84px;
  padding: 16px 14px;
  border-radius: 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .64));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 18px 40px -28px rgba(10, 14, 18, .26);
  max-height: calc(100vh - 110px); overflow: auto;
}
.l1-toc h3 {
  margin: 0 0 10px; padding: 0 6px 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-ink); text-transform: uppercase;
  border-bottom: 1px solid var(--brand-line);
}
.l1-toc ul { list-style: none; margin: 0; padding: 0; }
.l1-toc li { margin-bottom: 2px; }
.l1-toc a {
  display: block; padding: 7px 10px;
  font-size: 13px; line-height: 1.5; color: #556069;
  border-radius: 9px; border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.l1-toc a:hover { color: #1E4257; background: var(--brand-wash); border-left-color: var(--brand-lt); }
.main-content { min-width: 0; }

/* ── 10. 文段卡片化（H2 分段玻璃卡）────────────────────────── */
.text-card {
  border-radius: 22px;
  padding: 26px 30px;
  margin: 0 0 20px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .68));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 18px 42px -26px rgba(10, 14, 18, .26);
  transition: transform .25s ease, box-shadow .25s ease;
}
.text-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 26px 52px -26px rgba(10, 14, 18, .3);
}
.text-card h2, .main-content > h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; padding: 0 0 12px;
  font-size: 21px; font-weight: 800; color: #16202A;
  border-bottom: 1px solid var(--brand-line);
}
.text-card h2::before, .main-content > h2::before {
  content: ""; flex-shrink: 0; width: 7px; height: 22px; border-radius: 4px;
  background: var(--cta-grad);
  box-shadow: 0 2px 10px rgba(47, 93, 124, .3);
}
.text-card h3, .main-content > h3 {
  display: inline-flex; align-items: center;
  margin: 20px 0 8px; padding: 4px 14px;
  font-size: 16px; font-weight: 700; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(47, 93, 124, .12);
}
.text-card p, .main-content > p { margin: 12px 0; font-size: 15.5px; line-height: 1.9; color: #39434B; }
.text-card ul, .text-card ol, .main-content > ul, .main-content > ol { margin: 14px 0 16px; padding-left: 22px; }
.text-card li { margin: 7px 0; font-size: 15.5px; line-height: 1.85; color: #39434B; }
.text-card ul li::marker { color: var(--brand-lt); }
.text-card ol li::marker { color: var(--brand); font-weight: 700; }
.text-card strong { color: #16202A; }
.text-card code, .main-content code {
  padding: 2px 7px; border-radius: 6px; font-size: 13.5px;
  background: var(--brand-wash); color: #1E4257;
  border: 1px solid var(--brand-line); word-break: break-all;
}
.text-card pre, .main-content pre {
  background: #12181D; color: #E6EDF3; padding: 16px 18px;
  border-radius: 14px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 14px 0;
}
.text-card pre code, .main-content pre code { background: none; border: none; padding: 0; color: inherit; }
.text-card blockquote {
  margin: 14px 0; padding: 12px 16px; border-left: 4px solid var(--brand-lt);
  background: var(--brand-wash); border-radius: 0 12px 12px 0;
  font-size: 15px; color: #39434B;
}
.text-card img, .main-content img { max-width: 100%; height: auto; border-radius: 14px; }

/* 表格品牌化 */
.text-card table, .main-content table, .compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 16px 0; font-size: 14.5px;
  border: 1px solid var(--brand-line); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .76);
}
.text-card th, .main-content th, .compare-table th {
  padding: 11px 15px; text-align: left; font-weight: 700;
  color: var(--brand-ink); background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-line);
}
.text-card td, .main-content td, .compare-table td {
  padding: 11px 15px; color: #39434B;
  border-bottom: 1px solid rgba(47, 93, 124, .1); vertical-align: top;
}
.text-card tbody tr:last-child td, .compare-table tbody tr:last-child td { border-bottom: none; }
.text-card tbody tr:hover td, .compare-table tbody tr:hover td { background: var(--brand-wash); }
.table-wrap { overflow-x: auto; }

/* 结构化要点列表 */
.text-card ul.kv-list { list-style: none; padding-left: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.text-card ul.kv-list li {
  padding: 12px 16px; margin: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--brand-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.text-card ul.kv-list li strong { display: block; margin-bottom: 3px; color: var(--brand-ink); }

/* 步骤组件 */
.text-card .steps-v2 { list-style: none; counter-reset: step; padding: 0; margin: 16px 0; }
.text-card .steps-v2 li {
  position: relative; padding: 14px 16px 14px 54px; margin-bottom: 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .78);
  border: 1px solid var(--brand-line); counter-increment: step;
}
.text-card .steps-v2 li::before {
  content: counter(step); position: absolute; left: 15px; top: 14px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--cta-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* 提示框 */
.tip-box, .notice-card {
  background: var(--brand-wash); border-left: 4px solid var(--brand-lt);
  border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 16px 0;
  font-size: 14.5px; color: #2E3F4B;
}

/* ── 11. Hub / entity 卡 ──────────────────────────────────── */
.hub-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 18px 0 4px; }
.hub-card-v2 {
  display: block; padding: 20px; border-radius: 18px; color: inherit;
  background: linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(247, 250, 252, .72));
  border: 1px solid var(--brand-line);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hub-card-v2:hover {
  transform: translateY(-3px); border-color: var(--brand-lt);
  box-shadow: 0 16px 34px -20px rgba(47, 93, 124, .36); color: inherit;
}
.hub-card-v2 .card-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: #1E4257;
}
.hub-card-v2 h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: #16202A; }
.hub-card-v2 p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #5A666F; }
.hub-card-v2 .card-arrow { font-size: 13px; font-weight: 600; color: #1E4257; }
.entity-card { border: 1px solid var(--brand-line); border-radius: 18px; padding: 22px 24px; margin: 20px 0; }
/* 关键信息卡（entity-grid）：标签 12.5px 灰、值统一 14.5px/600 深色，禁止内联字号差异 */
.entity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 22px; align-items: start; }
.entity-grid > div { border-left: 3px solid var(--brand-lt); padding-left: 12px; min-width: 0; }
.entity-label { font-size: 12.5px; line-height: 1.5; color: #8A9299; margin-bottom: 5px; font-weight: 400; }
.entity-value {
  font-size: 14.5px !important; line-height: 1.65; color: #16202A !important;
  font-weight: 600 !important; word-break: break-word; overflow-wrap: anywhere;
}
.entity-value code, .entity-value strong, .entity-value b, .entity-value span {
  font-size: inherit !important; font-family: inherit !important;
  font-weight: inherit !important; color: inherit !important;
}
.entity-value code { word-break: break-all; background: none; border: none; padding: 0; }

/* ── 12. FAQ 扁平化（禁止卡片套卡片） ─────────────────────── */
.faq-v2 { margin: 0 !important; background: transparent !important; border: none !important; padding: 0 !important; }
.faq-v2 h2 { margin: 0 0 14px !important; }
.text-card .faq-item, .text-card .faq-item-v2,
.faq-v2 .faq-item, .faq-v2 .faq-item-v2 {
  background: transparent !important; border: none !important; border-radius: 0 !important;
  padding: 15px 0 !important; margin: 0 !important;
  border-bottom: 1px solid var(--brand-line) !important;
}
.text-card .faq-item:last-child, .text-card .faq-item-v2:last-child,
.faq-v2 .faq-item:last-child, .faq-v2 .faq-item-v2:last-child { border-bottom: none !important; }
.text-card .faq-q, .faq-v2 .faq-q {
  display: block !important; padding: 0 !important; margin: 0 0 6px !important;
  font-size: 16px !important; font-weight: 700 !important; color: #16202A !important;
  line-height: 1.6 !important;
}
.text-card .faq-q::before, .faq-v2 .faq-q::before { content: none !important; display: none !important; }
.text-card .faq-a, .faq-v2 .faq-a {
  padding: 0 !important; margin: 0 !important;
  font-size: 15px !important; line-height: 1.9 !important; color: #46525C !important;
}

/* ── 13. 按钮族 + 信任下载面板 ────────────────────────────── */
.cta-primary, .trust-panel-btn, .compact-dl-btn, .btn-download, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  background: var(--cta-grad) !important;
  color: #fff !important; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 12px 26px -12px var(--brand-shadow), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .15s, filter .15s;
}
.cta-primary:hover, .trust-panel-btn:hover, .compact-dl-btn:hover, .btn-download:hover, .btn-primary:hover {
  color: #fff !important; filter: brightness(1.08); transform: translateY(-1px);
}
.cta-primary svg, .cta-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  background: rgba(255, 255, 255, .86) !important;
  color: #1E4257 !important;
  border: 1.5px solid var(--brand-line) !important;
  font-size: 15.5px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cta-secondary:hover { color: var(--brand) !important; border-color: var(--brand-lt) !important; }
.cta-badges, .cta-meta { font-size: 12.5px; color: #62707A; line-height: 1.6; }

/* 信任下载面板（源站已具备三要素，此处换肤 + 徽标同一行居中） */
.duba-trust-panel {
  background: linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  padding: 26px 30px; margin: 18px 0 24px; max-width: none; text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 20px 44px -28px rgba(10, 14, 18, .3);
}
.trust-panel-brand-row {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: #46525C;
}
.trust-panel-brand-row strong { color: #16202A; }
.trust-panel-btn { width: 100%; max-width: 520px; margin: 0 auto 14px; }
.trust-panel-badges, .trust-badges {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: #62707A;
}
.trust-panel-badges span, .trust-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--brand-line);
  color: #1E4257; font-size: 12.5px; line-height: 1.5; white-space: nowrap;
}
.trust-panel-badges svg, .trust-badge svg { width: 14px; height: 14px; color: #2F5D7C; }
.trust-panel-md5 { font-size: 11.5px; color: #62707A; margin: 10px 0 0; word-break: break-all; }

/* 底部转化区（本站未用，保留兼容） */
.cta-section-v2 {
  background: var(--cta-grad) !important;
  border-radius: 22px; padding: 38px 32px; text-align: center;
  margin: 0 0 8px; color: #fff; border: none !important;
  box-shadow: 0 26px 54px -30px rgba(20, 22, 27, .48);
}
.cta-section-v2 h2 { margin: 0 0 8px; font-size: 23px; color: #fff; border: none; justify-content: center; }
.cta-section-v2 h2::before { content: none; }
.cta-section-v2 p { margin: 0 0 18px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.cta-section-v2 .cta-primary { background: #fff !important; color: #1E4257 !important; }
.cta-section-v2 .cta-badges { display: flex; justify-content: center; gap: 8px 14px; margin: 16px auto 0; color: rgba(255, 255, 255, .94); }

/* ── 14. 页脚：深色液态玻璃 + 完整站点导航 ─────────────────── */
.footer { border-top: none; padding: 0; margin-top: 44px; }
.footer:not(.glass-footer) { background: transparent !important; }
.glass-footer {
  padding: 50px 0 26px;
  background: linear-gradient(180deg, #0E1418 0%, #131E24 60%, #0A1014 100%) !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -24px 52px -34px rgba(4, 10, 14, .5);
}
.footer.glass-footer { background: linear-gradient(180deg, #0E1418 0%, #131E24 60%, #0A1014 100%) !important; }
.glass-footer .footer-grid {
  max-width: 1140px; margin: 0 auto 30px; padding: 0 20px;
  display: grid; grid-template-columns: 1.4fr .9fr 1fr 1fr 1fr; gap: 26px;
}
.glass-footer .footer-col h4 {
  color: #FFFFFF; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px;
}
.glass-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.glass-footer .footer-col li { margin: 8px 0; }
.glass-footer .footer-col a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.glass-footer .footer-col a:hover { color: #fff; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; margin-bottom: 12px; }
.footer-logo-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cta-grad);
  box-shadow: 0 0 0 5px rgba(136, 200, 232, .16), 0 0 16px rgba(47, 93, 124, .5);
}
.footer-desc { margin: 0; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .72); max-width: 300px; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; text-align: center; color: rgba(255, 255, 255, .7); line-height: 2;
}
.footer-bottom a { color: rgba(255, 255, 255, .82); }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin-left: 14px; }

/* ── 15. 兜底：不支持 backdrop-filter 的环境 ───────────────── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-hero, .hero-v2, .text-card, .hub-card-v2, .l1-toc, .update-capsule, .duba-trust-panel {
    background: rgba(255, 255, 255, .98);
  }
  .ks-header { background: rgba(255, 255, 255, .99) !important; }
  .footer.glass-footer { background: #0E1418 !important; }
  body { background: #F6F9FB; }
  body::before, body::after { display: none; }
}

/* ── 16. 响应式 ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .site-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; border-radius: 22px; }
  .site-hero-img { order: 2; }
  .site-hero-text { order: 1; }
  .site-hero-img img { max-width: 100%; }
  .l1-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
  .glass-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .l1-layout { grid-template-columns: 1fr; padding: 6px 16px 24px; }
  .l1-toc { position: static; top: auto; margin-bottom: 16px; max-height: none; }
  .l1-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .l1-toc li { margin: 0; }
  .l1-toc a { border-left: none; border: 1px solid var(--brand-line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
  .site-hero h1 { font-size: 26px; }
  .hero-v2 { padding: 24px 20px; border-radius: 20px; }
  .hero-v2 h1 { font-size: 22px; }
  .text-card { padding: 22px 20px; border-radius: 18px; }
  .ks-header-inner { gap: 12px; height: 58px; }
  .ks-logo-txt { font-size: 17px; }
  .ks-subnav-inner { height: 58px; }
  .glass-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  .site-hero { padding: 24px 18px; }
  .site-hero h1 { font-size: 23px; }
  .site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 100%; width: 100%; }
  .glass-footer .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .duba-trust-panel { padding: 20px 16px; }
  .trust-panel-badges span, .trust-badge { padding: 3px 9px; font-size: 11.5px; }
}
