/* 象数阁 · 三套主题令牌
 * paper 素雅宣纸（宋体竖排） / dark 深色典籍暗金 / minimal 现代极简工具风
 */
:root,
[data-theme="paper"] {
  --bg: #f5f1e8;
  --bg-2: #efe9dc;
  --surface: #fdfbf6;
  --surface-2: #f3ede1;
  --surface-3: #e9e1d1;
  --text: #2c2a24;
  --text-2: #6d6558;
  --text-3: #9b9282;
  --line: #ded5c2;
  --line-2: #c7bba3;
  --accent: #9d3b2c;
  --accent-2: #87673a;
  --accent-soft: #f5e8e2;
  --accent-text: #ffffff;
  --ok: #3d7350;
  --warn: #9a6320;
  --danger: #a33a2e;
  --radius: 5px;
  --radius-lg: 8px;
  --shadow: 0 1px 3px rgba(70, 56, 30, .07);
  --shadow-lg: 0 6px 24px rgba(70, 56, 30, .10);
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wx-wood: #3f7a55;
  --wx-fire: #b4453a;
  --wx-earth: #9a7530;
  --wx-metal: #7b7f86;
  --wx-water: #38689a;
  --wx-wood-bg: #e8f1e9;
  --wx-fire-bg: #f8e9e5;
  --wx-earth-bg: #f5eedd;
  --wx-metal-bg: #eceeef;
  --wx-water-bg: #e6eef6;
}

[data-theme="dark"] {
  --bg: #14161a;
  --bg-2: #191c21;
  --surface: #1e2228;
  --surface-2: #242931;
  --surface-3: #2d333c;
  --text: #ece2cb;
  --text-2: #b9ad91;
  --text-3: #857b64;
  --line: #363b43;
  --line-2: #4a4f58;
  --accent: #c9a961;
  --accent-2: #9c7f45;
  --accent-soft: #2b271d;
  --accent-text: #17191d;
  --ok: #79b58c;
  --warn: #d5a657;
  --danger: #d97b6c;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .35);
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --wx-wood: #7fc79a;
  --wx-fire: #e39386;
  --wx-earth: #ddb963;
  --wx-metal: #a9b0bb;
  --wx-water: #85b6e6;
  --wx-wood-bg: #1b2b22;
  --wx-fire-bg: #30201e;
  --wx-earth-bg: #2d281a;
  --wx-metal-bg: #252a30;
  --wx-water-bg: #1b2634;
}

[data-theme="minimal"] {
  --bg: #f7f8fa;
  --bg-2: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #f4f6f9;
  --surface-3: #e9edf2;
  --text: #1b2028;
  --text-2: #5b6674;
  --text-3: #8d97a4;
  --line: #e2e7ee;
  --line-2: #cbd3de;
  --accent: #2b62c9;
  --accent-2: #4568a0;
  --accent-soft: #e8f0ff;
  --accent-text: #ffffff;
  --ok: #2e7d51;
  --warn: #9a6a12;
  --danger: #c03c34;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(24, 38, 62, .06);
  --shadow-lg: 0 8px 28px rgba(24, 38, 62, .10);
  --font-serif: "Songti SC", "STSong", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --wx-wood: #2e7d51;
  --wx-fire: #c0503e;
  --wx-earth: #97701d;
  --wx-metal: #6b7480;
  --wx-water: #2a6bb3;
  --wx-wood-bg: #e8f4ec;
  --wx-fire-bg: #fdecea;
  --wx-earth-bg: #f8f1dd;
  --wx-metal-bg: #eef0f2;
  --wx-water-bg: #e7f0fb;
}

[data-theme="paper"] .topbar,
[data-theme="paper"] .reader-main,
[data-theme="paper"] .book-body { font-family: var(--font-serif); }
[data-theme="dark"] .brand-seal { border-radius: 3px; }
[data-theme="minimal"] .brand-seal { border-radius: 8px; }
