:root{
  --ui-font:system-ui,-apple-system,"Segoe UI",sans-serif;
  --display-font:Georgia,"Times New Roman",serif;
  --bg:#171a1c;
  --bg-soft:#202426;
  --surface:#262a2c;
  --surface-2:#1b1e20;
  --surface-3:#303537;
  --text:#eee8db;
  --muted:#aaa195;
  --line:rgba(203,178,136,.34);
  --line-strong:rgba(203,178,136,.56);
  --accent:#79acd0;
  --accent-soft:rgba(121,172,208,.18);
  --danger:#c06357;
  --ivory:#f3ead8;
  --onyx:#17191c;
  --white-panel:#cec5b6;
  --white-panel-text:#211e1a;
  --black-panel:#171a1c;
  --black-panel-text:#eee8db;
  --sq-light:#aaa79f;
  --sq-dark:#777c7c;
  --heat-friendly-rgb:70,126,163;
  --heat-enemy-rgb:174,81,68;
  --heat-alpha-min:.20;
  --heat-alpha-max:.78;
  --radius:16px;
  --shadow:0 16px 40px rgba(0,0,0,.30);
  --app-max:1420px;
  --side-width:286px;
  --stage-gap:16px;
  --board-max:650px;
  --panel-padding:16px;
}

html[data-theme="classic"]{
  --ui-font:system-ui,-apple-system,"Segoe UI",sans-serif;
  --display-font:var(--ui-font);
  --bg:#7f858b;
  --bg-soft:#92979c;
  --surface:rgba(255,255,255,.16);
  --surface-2:rgba(0,0,0,.11);
  --surface-3:rgba(255,255,255,.08);
  --text:#111;
  --muted:rgba(17,17,17,.66);
  --line:rgba(0,0,0,.22);
  --line-strong:rgba(0,0,0,.36);
  --accent:#d5e0ff;
  --accent-soft:rgba(213,224,255,.25);
  --danger:#a53d3d;
  --ivory:#f2ebda;
  --onyx:#262d38;
  --white-panel:rgba(255,255,255,.16);
  --white-panel-text:#111;
  --black-panel:rgba(255,255,255,.16);
  --black-panel-text:#111;
  --sq-light:#a8b4c0;
  --sq-dark:#a8b4c0;
  --heat-friendly-rgb:16,185,129;
  --heat-enemy-rgb:239,71,111;
  --heat-alpha-min:.25;
  --heat-alpha-max:.90;
  --radius:20px;
  --shadow:0 12px 28px rgba(0,0,0,.16);
  --app-max:1320px;
  --side-width:290px;
  --stage-gap:16px;
  --board-max:640px;
  --panel-padding:14px;
}
