/* ===== 站点主题（覆盖 :root 变量，不改原样式） ===== */
:root[data-theme="midnight"] {
  --bg: #0f1420;
  --bg2: #151b2b;
  --panel: rgba(30,38,56,.72);
  --panel-solid: #1b2234;
  --border: rgba(255,255,255,.10);
  --text: #e8ecf6;
  --text-2: #aab4cc;
  --text-3: #7b86a1;
  --primary: #7c8cff;
  --primary-2: #a78bfa;
  --accent: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --shadow-s: 0 2px 8px rgba(0,0,0,.35);
  --shadow-m: 0 10px 30px rgba(0,0,0,.40);
  --shadow-l: 0 20px 50px rgba(0,0,0,.50);
  --grad: linear-gradient(135deg,#7c8cff,#a78bfa);
  --grad-2: linear-gradient(135deg,#22d3ee,#7c8cff);
}
:root[data-theme="forest"] {
  --bg: #f2f7f4;
  --bg2: #e6f0ea;
  --panel: rgba(255,255,255,.80);
  --panel-solid: #ffffff;
  --border: rgba(16,60,40,.10);
  --text: #17302a;
  --text-2: #4d6b60;
  --text-3: #8aa79c;
  --primary: #10b981;
  --primary-2: #059669;
  --accent: #14b8a6;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --shadow-s: 0 2px 8px rgba(16,60,40,.07);
  --shadow-m: 0 10px 30px rgba(16,60,40,.09);
  --shadow-l: 0 20px 50px rgba(16,60,40,.13);
  --grad: linear-gradient(135deg,#10b981,#14b8a6);
  --grad-2: linear-gradient(135deg,#84cc16,#10b981);
}
:root[data-theme="sunset"] {
  --bg: #fff7f0;
  --bg2: #ffefe2;
  --panel: rgba(255,255,255,.82);
  --panel-solid: #ffffff;
  --border: rgba(120,53,15,.10);
  --text: #3b2415;
  --text-2: #7c5a42;
  --text-3: #b09279;
  --primary: #f97316;
  --primary-2: #fb923c;
  --accent: #f59e0b;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --shadow-s: 0 2px 8px rgba(120,53,15,.07);
  --shadow-m: 0 10px 30px rgba(120,53,15,.09);
  --shadow-l: 0 20px 50px rgba(120,53,15,.13);
  --grad: linear-gradient(135deg,#f97316,#fb923c);
  --grad-2: linear-gradient(135deg,#f59e0b,#f97316);
}
:root[data-theme="sakura"] {
  --bg: #fff5f8;
  --bg2: #fdeef4;
  --panel: rgba(255,255,255,.82);
  --panel-solid: #ffffff;
  --border: rgba(120,30,70,.10);
  --text: #3a1e2c;
  --text-2: #7a5468;
  --text-3: #b493a4;
  --primary: #ec4899;
  --primary-2: #f472b6;
  --accent: #a855f7;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --shadow-s: 0 2px 8px rgba(120,30,70,.07);
  --shadow-m: 0 10px 30px rgba(120,30,70,.09);
  --shadow-l: 0 20px 50px rgba(120,30,70,.13);
  --grad: linear-gradient(135deg,#ec4899,#f472b6);
  --grad-2: linear-gradient(135deg,#a855f7,#ec4899);
}
:root[data-theme="graphite"] {
  --bg: #f5f5f6;
  --bg2: #ebebed;
  --panel: rgba(255,255,255,.80);
  --panel-solid: #ffffff;
  --border: rgba(24,24,27,.10);
  --text: #18181b;
  --text-2: #52525b;
  --text-3: #a1a1aa;
  --primary: #3f3f46;
  --primary-2: #71717a;
  --accent: #52525b;
  --ok: #16a34a;
  --warn: #ca8a04;
  --danger: #dc2626;
  --shadow-s: 0 2px 8px rgba(24,24,27,.06);
  --shadow-m: 0 10px 30px rgba(24,24,27,.08);
  --shadow-l: 0 20px 50px rgba(24,24,27,.11);
  --grad: linear-gradient(135deg,#3f3f46,#71717a);
  --grad-2: linear-gradient(135deg,#52525b,#3f3f46);
}
:root[data-theme="classic"] {
  --bg: #f5f5f0; --bg2: #eeeee8; --panel: #ffffff; --panel-solid: #ffffff;
  --border: #cccccc; --text: #333333; --text-2: #666666; --text-3: #999999;
  --primary: #c00000; --primary-2: #ff6600; --accent: #0066cc;
  --grad: linear-gradient(#ffffff,#f0f0f0); --radius: 2px;
}
