/* ============================================================
   主题包：深蓝（默认） dark-blue
   ============================================================
   用法：所有页面 head 引入本文件（:root 默认值）+ light-gray.css
   （[data-theme="light-gray"] 覆盖）。theme.js 只负责设置 data-theme
   属性与 localStorage 持久化，变量由本文件声明。
   注意：style.css :root 已含基础 12 键（--bg/--card/--text 等，
   两套主题内容区一致），本文件只声明主题特有键 + markdown 变量。
   ============================================================ */
:root, [data-theme="dark-blue"] {
  /* ---- 侧栏 ---- */
  --sidebar-bg: #0f1c3d;
  --ai-sidebar-bg: #16264a;
  --sidebar-hover: #1a2b55;
  --sidebar-active: #1e5eff;
  --sidebar-text: #c7d3ec;
  --sidebar-text-2: #8fa3cc;
  --sidebar-hover-text: #ffffff;
  /* ---- 菜单字体（一级=分组标题，二级=菜单项） ---- */
  --menu-level1-font-size: 14px;
  --menu-level2-font-size: 13px;
  /* ---- 顶栏 ---- */
  --topbar-bg: #ffffff;
  --topbar-title: #0f1c3d;
  --theme-color: #ffffff;
  /* ---- 横幅/渐变 ---- */
  --welcome-grad: linear-gradient(135deg, #0f1c3d, #1e3a8a);
  --ai-title-grad: linear-gradient(135deg, #1e5eff, #7b5cff);
  --welcome-text: #ffffff;
  --welcome-sub: #b8c7ea;
  /* ---- AI 面板 ---- */
  --ai-btn-bg: rgba(255,255,255,.06);
  --ai-btn-border: rgba(255,255,255,.16);
  --ai-btn-text: #e6edfb;
  --ai-search-bg: rgba(255,255,255,.07);
  --ai-search-border: rgba(255,255,255,.08);
  --ai-divider: rgba(255,255,255,.07);
  --scrollbar: #2a3d6b;
  /* ---- AI 面板补充（DUTON AI 页：浮层/在线点/删除按钮等） ---- */
  --ai-dot: #34d399;
  --ai-btn-hover-bg: #dfe3e9;
  --ai-btn-hover-border: #c3cad4;
  --ai-ctx-bg: #151d33;
  --ai-ctx-border: rgba(255,255,255,.12);
  --ai-ctx-shadow: 0 8px 24px rgba(4,12,38,.5);
  --ai-ctx-text: #dbe5f7;
  --ai-ctx-hover: rgba(255,255,255,.09);
  --ai-danger-text: #ff8f95;
  --ai-danger-hover: rgba(229,72,77,.18);
  --ai-del-bg: rgba(255,255,255,.1);
  --ai-del-color: #c7d3ec;
  --ai-del-hover: rgba(229,72,77,.8);
  --ai-typing: #9db4e0;
  --ai-mask-shadow: 4px 0 24px rgba(4,12,38,.35);
  --ai-empty-text: #8fa3cc;
  --shadow-brand: 0 10px 30px rgba(30,94,255,.35);
  --shadow-brand-sm: 0 6px 18px rgba(30,94,255,.14);
  --shadow-brand-btn: 0 3px 10px rgba(30,94,255,.3);
  --mask-bg: rgba(10,18,40,.5);

  /* ---- Markdown 渲染（深蓝主题默认 = 浅色文档 + 深色代码块） ---- */
  --md-text: #1c2434;
  --md-text-2: #5a6478;
  --md-heading: #0f1c3d;
  --md-code-inline-bg: #eef1f7;
  --md-code-inline-text: #1249d0;
  --md-code-bg: #1e2430;
  --md-code-text: #e6e9ef;
  --md-table-border: #e3e8f0;
  --md-table-head-bg: #f4f6fb;
  --md-quote-bg: #f6f4ff;
  --md-quote-border: #7b5cff;
  --md-quote-text: #4a4468;
  --md-link: #1e5eff;
  --md-hr: #e3e8f0;
}
