/* gaokao-static/themes/tokens.css · v6.0 ⑧ 12款主题 CSS 变量 token（每款 light + dark） */
/* 由 SVG 主色调提取，供 app.js 主题系统热切换使用 */

:root,
[data-theme="light"] {
  --bg: #f7f8fa; --surface: #fff; --primary: #4f6ef7; --text: #1a1f36; --muted: #6b7280; --border: #e2e5eb; --user-bubble: #4f6ef7; --acc: #7c8aff;
}
[data-theme="dark"] {
  --bg: #0f1117; --surface: #171c2a; --primary: #4f6ef7; --text: #e6eaf2; --muted: #8a93a6; --border: #2a3145; --user-bubble: #4f6ef7; --acc: #9db1ff;
}

/* 组A·四季 */
[data-theme="light"][data-theme-variant="spring"] { --bg: #FFF5F7; --surface: #fff; --primary: #FF9DB0; --text: #3a1a2a; --muted: #9a7080; --border: #FFD0DC; --user-bubble: linear-gradient(135deg,#FF9DB0,#FFB8C8); --acc: #FF6B8A; }
[data-theme="dark"][data-theme-variant="spring"] { --bg: #1e1216; --surface: #2a1a22; --primary: #FF9DB0; --text: #f0d8de; --muted: #a08090; --border: #3a2228; --user-bubble: linear-gradient(135deg,#FF7B98,#FF9DB0); --acc: #FFB8C8; }

[data-theme="light"][data-theme-variant="summer"] { --bg: #E8F6FB; --surface: #fff; --primary: #2fb3c4; --text: #0a2a36; --muted: #5a8090; --border: #BFE6F0; --user-bubble: linear-gradient(135deg,#2fb3c4,#5fc8d8); --acc: #1a98a8; }
[data-theme="dark"][data-theme-variant="summer"] { --bg: #0a1a22; --surface: #102830; --primary: #2fb3c4; --text: #d0e8f0; --muted: #608898; --border: #1a3848; --user-bubble: linear-gradient(135deg,#2fb3c4,#5fc8d8); --acc: #5fd0e0; }

[data-theme="light"][data-theme-variant="autumn"] { --bg: #FDF4EC; --surface: #fff; --primary: #E09040; --text: #3a2a10; --muted: #8a7060; --border: #F5DCC0; --user-bubble: linear-gradient(135deg,#E09040,#F0A050); --acc: #C07830; }
[data-theme="dark"][data-theme-variant="autumn"] { --bg: #1e160a; --surface: #2a1e10; --primary: #E09040; --text: #f0d8c0; --muted: #a08870; --border: #3a2818; --user-bubble: linear-gradient(135deg,#C07830,#E09040); --acc: #F0A050; }

[data-theme="light"][data-theme-variant="winter"] { --bg: #F5F9FC; --surface: #fff; --primary: #5090c0; --text: #1a2a3a; --muted: #5a7080; --border: #DCEAF2; --user-bubble: linear-gradient(135deg,#5090c0,#70a8d0); --acc: #4080b0; }
[data-theme="dark"][data-theme-variant="winter"] { --bg: #0a0e14; --surface: #101420; --primary: #5090c0; --text: #d0e0f0; --muted: #607888; --border: #1a2838; --user-bubble: linear-gradient(135deg,#4080b0,#5090c0); --acc: #70a8d0; }

/* 组B·学科 */
[data-theme="light"][data-theme-variant="math"] { --bg: #EDF1FA; --surface: #fff; --primary: #4f6ef7; --text: #1a2040; --muted: #6070a0; --border: #D5DDF0; --user-bubble: linear-gradient(135deg,#4f6ef7,#6a8cff); --acc: #3a5ae0; }
[data-theme="dark"][data-theme-variant="math"] { --bg: #0a0e20; --surface: #101830; --primary: #4f6ef7; --text: #d0d8f0; --muted: #6080b0; --border: #1a2848; --user-bubble: linear-gradient(135deg,#4f6ef7,#6a8cff); --acc: #8aa0ff; }

[data-theme="light"][data-theme-variant="physics"] { --bg: #F0EAF8; --surface: #fff; --primary: #7c3aed; --text: #2a1040; --muted: #7a6090; --border: #D5C5F0; --user-bubble: linear-gradient(135deg,#7c3aed,#9d5cf0); --acc: #6a2ae0; }
[data-theme="dark"][data-theme-variant="physics"] { --bg: #100820; --surface: #1a1030; --primary: #9d5cf0; --text: #e0d0f0; --muted: #8060a0; --border: #281848; --user-bubble: linear-gradient(135deg,#7c3aed,#9d5cf0); --acc: #b78df0; }

[data-theme="light"][data-theme-variant="chemistry"] { --bg: #E8F5E8; --surface: #fff; --primary: #2fa060; --text: #102a10; --muted: #5a805a; --border: #C5E8C5; --user-bubble: linear-gradient(135deg,#2fa060,#4ab878); --acc: #258050; }
[data-theme="dark"][data-theme-variant="chemistry"] { --bg: #081a08; --surface: #102010; --primary: #4ab878; --text: #d0f0d0; --muted: #60a060; --border: #184018; --user-bubble: linear-gradient(135deg,#2fa060,#4ab878); --acc: #5fc88a; }

[data-theme="light"][data-theme-variant="biology"] { --bg: #E8F8F2; --surface: #fff; --primary: #2fa080; --text: #0a2a1a; --muted: #50807a; --border: #C5E8DC; --user-bubble: linear-gradient(135deg,#2fa080,#4ab898); --acc: #258060; }
[data-theme="dark"][data-theme-variant="biology"] { --bg: #081a14; --surface: #0a2018; --primary: #4ab898; --text: #d0f0e0; --muted: #508878; --border: #184028; --user-bubble: linear-gradient(135deg,#2fa080,#4ab898); --acc: #5fd3a0; }

/* 组C·情绪 */
[data-theme="light"][data-theme-variant="energy"] { --bg: #FFFAE0; --surface: #fff; --primary: #f0a020; --text: #3a2a00; --muted: #8a7050; --border: #FFE8A8; --user-bubble: linear-gradient(135deg,#f0a020,#ffc040); --acc: #e09010; }
[data-theme="dark"][data-theme-variant="energy"] { --bg: #1a1400; --surface: #2a2008; --primary: #ffc040; --text: #f0e0c0; --muted: #a08860; --border: #3a2c10; --user-bubble: linear-gradient(135deg,#e09010,#ffc040); --acc: #ffd060; }

[data-theme="light"][data-theme-variant="calm"] { --bg: #E8FAF2; --surface: #fff; --primary: #2fa080; --text: #0a2a1a; --muted: #50807a; --border: #C5EEDC; --user-bubble: linear-gradient(135deg,#2fa080,#5fd3a0); --acc: #258060; }
[data-theme="dark"][data-theme-variant="calm"] { --bg: #0a1a14; --surface: #0a2018; --primary: #5fd3a0; --text: #d0f0e0; --muted: #508878; --border: #184028; --user-bubble: linear-gradient(135deg,#2fa080,#5fd3a0); --acc: #7fe0b0; }

/* 组D·特殊 */
[data-theme="dark"][data-theme-variant="dark-night"] { --bg: #0A0A1E; --surface: #1E1E3A; --primary: #6a6aff; --text: #d0d0f0; --muted: #6a6a8a; --border: #2a2a4a; --user-bubble: linear-gradient(135deg,#5a5add,#7c7cff); --acc: #8a8aff; }

[data-theme="light"][data-theme-variant="warm-vintage"] { --bg: #F5EAD8; --surface: #fff; --primary: #b08040; --text: #3a2a10; --muted: #8a7050; --border: #E0CDB0; --user-bubble: linear-gradient(135deg,#b08040,#c89858); --acc: #a07030; }
[data-theme="dark"][data-theme-variant="warm-vintage"] { --bg: #1a1408; --surface: #2a2008; --primary: #c89858; --text: #f0e0c0; --muted: #a08860; --border: #3a2c10; --user-bubble: linear-gradient(135deg,#a07030,#c89858); --acc: #d8a868; }
