/* ============ 复利成长助手 · themes.css：主题配色 ============ */
/* 默认：森夜（深绿暗色） */
body[data-theme="default"] {
  --bg: #0f1a14;
  --bg-soft: #12211a;
  --panel: #17251e;
  --panel-2: #1e2f26;
  --line: rgba(255,255,255,.08);
  --text: #e6f2ea;
  --text-2: #9db8a9;
  --text-3: #6b8577;
  --accent: #34d399;
  --accent-2: #a7f3d0;
  --accent-dim: rgba(52,211,153,.14);
  --danger: #f87171;
  --warn: #fbbf24;
  --gold: #f5c25c;
}

/* 暗金 */
body[data-theme="darkgold"] {
  --bg: #16120c;
  --bg-soft: #1d1810;
  --panel: #241d12;
  --panel-2: #2f2718;
  --line: rgba(255,220,150,.1);
  --text: #f3ead9;
  --text-2: #c4b396;
  --text-3: #8a7a5c;
  --accent: #f5c25c;
  --accent-2: #ffe9b8;
  --accent-dim: rgba(245,194,92,.15);
  --danger: #f87171;
  --warn: #f59e0b;
  --gold: #f5c25c;
}

/* 晨曦（暖亮） */
body[data-theme="dawn"] {
  --bg: #faf5ec;
  --bg-soft: #f3ecdd;
  --panel: #fffdf7;
  --panel-2: #f7efdf;
  --line: rgba(120,90,40,.14);
  --text: #3a3226;
  --text-2: #7d6f5a;
  --text-3: #a89a82;
  --accent: #f59e0b;
  --accent-2: #b45309;
  --accent-dim: rgba(245,158,11,.16);
  --danger: #dc2626;
  --warn: #d97706;
  --gold: #b7791f;
  --shadow-sm: 0 2px 8px rgba(120,90,40,.10);
}

/* 森林（清新亮） */
body[data-theme="forest"] {
  --bg: #eef6f0;
  --bg-soft: #e2efe6;
  --panel: #ffffff;
  --panel-2: #f2faf4;
  --line: rgba(20,80,50,.14);
  --text: #1f3529;
  --text-2: #5c7a68;
  --text-3: #8aa492;
  --accent: #10b981;
  --accent-2: #047857;
  --accent-dim: rgba(16,185,129,.14);
  --danger: #dc2626;
  --warn: #d97706;
  --gold: #b7791f;
  --shadow-sm: 0 2px 8px rgba(20,80,50,.10);
}
body[data-theme="dawn"] .btn-primary,
body[data-theme="forest"] .btn-primary { color: #fff; }
body[data-theme="dawn"] .switch input:checked + i::after,
body[data-theme="forest"] .switch input:checked + i::after { background: #fff; }
body[data-theme="dawn"] .progress > i,
body[data-theme="forest"] .progress > i { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); }