:root {
  --bg: #12141a;
  --surface: #1b1f28;
  --surface-2: #232936;
  --line: #2c3340;
  --line-strong: #3a4859;
  --text: #e8ecf3;
  --muted: #97a1b2;
  --faint: #6d7787;
  --accent: #85B7EB;
  --accent-dim: #16395c;
  --ok: #5DCAA5;
  --warn: #FAC775;
  --bad: #F09595;
  --danger: #E24B4A;
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.high-contrast {
  --surface: #20252f;
  --muted: #cbd3df;
  --faint: #a7b1c0;
  --line: #4a5568;
}

html[data-font="large"] body { font-size: 17px; }
html[data-font="small"] body { font-size: 13px; }
