/* === Root Fallbacks === */
:root {
  --bg: #0d1117;
  --text: #f0f6fc;
  --muted: #8b949e;
  --accent: #007bff;
  --accent-hover: #005bb5;
}

/* === Default (Dark Mode) === */
body {
  --bg: #0d1117;
  --text: #f0f6fc;
  --muted: #8b949e;
  --accent: #007bff;
  --accent-hover: #005bb5;
}

/* === Light Mode === */
body.light {
  --bg: #ffffff;
  --text: #000000;
  --muted: #444444;
  --accent: #007bff;
  --accent-hover: #005bb5;
}

/* === Colorblind Modes === */

/* Protanopia (red-blind) */
body.protanopia {
  --bg: #0d1117;
  --text: #f0f6fc;
  --muted: #8b949e;
  --accent: #a38f00;
  --accent-hover: #8c7c00;
}

/* Deuteranopia (green-blind) */
body.deuteranopia {
  --bg: #0d1117;
  --text: #f0f6fc;
  --muted: #8b949e;
  --accent: #7f7f00;
  --accent-hover: #666600;
}

/* Tritanopia (blue-blind) */
body.tritanopia {
  --bg: #0d1117;
  --text: #f0f6fc;
  --muted: #8b949e;
  --accent: #ff6600;
  --accent-hover: #cc5200;
}

/* Achromatopsia (no color) */
body.achromatopsia {
  --bg: #f0f0f0;
  --text: #000000;
  --muted: #555555;
  --accent: #888888;
  --accent-hover: #666666;
}
