:root,
[data-theme="phosphor"] {
  color-scheme: dark;
  --bg: #070908;
  --bg-rgb: 7, 9, 8;
  --surface: #0a0d0b;
  --surface-raised: #101411;
  --surface-soft: #0d100e;
  --border: #3a433c;
  --border-strong: #5c695f;
  --text: #f1f4f1;
  --text-soft: #c1c8c2;
  --muted: #969f98;
  --accent: #b8f516;
  --accent-rgb: 184, 245, 22;
  --accent-ink: #111900;
  --success: #8fda3c;
  --warning: #f7c64b;
  --error: #ff6655;
  --focus: #d3ff60;
  --glow-opacity: 0.16;
}

[data-theme="amber"] {
  color-scheme: dark;
  --bg: #0b0804;
  --bg-rgb: 11, 8, 4;
  --surface: #110d07;
  --surface-raised: #191208;
  --surface-soft: #151008;
  --border: #574329;
  --border-strong: #80673e;
  --text: #fff5dc;
  --text-soft: #d5c4a0;
  --muted: #ac9875;
  --accent: #ffb52e;
  --accent-rgb: 255, 181, 46;
  --accent-ink: #211300;
  --success: #cfdd64;
  --warning: #ffc860;
  --error: #ff725c;
  --focus: #ffd284;
  --glow-opacity: 0.18;
}

[data-theme="glacier"] {
  color-scheme: dark;
  --bg: #05090d;
  --bg-rgb: 5, 9, 13;
  --surface: #081018;
  --surface-raised: #0c1922;
  --surface-soft: #09141c;
  --border: #31505f;
  --border-strong: #507789;
  --text: #eafaff;
  --text-soft: #b7d3dc;
  --muted: #8ca8b4;
  --accent: #5ee7ff;
  --accent-rgb: 94, 231, 255;
  --accent-ink: #00191e;
  --success: #6ee7b7;
  --warning: #f6c85f;
  --error: #ff7085;
  --focus: #9cf0ff;
  --glow-opacity: 0.14;
}

[data-theme="ultraviolet"] {
  color-scheme: dark;
  --bg: #09060d;
  --bg-rgb: 9, 6, 13;
  --surface: #100b17;
  --surface-raised: #191022;
  --surface-soft: #140d1d;
  --border: #513f60;
  --border-strong: #806195;
  --text: #fbf1ff;
  --text-soft: #d0bdd8;
  --muted: #aa94b5;
  --accent: #ca79ff;
  --accent-rgb: 202, 121, 255;
  --accent-ink: #190022;
  --success: #8ae5bb;
  --warning: #f4c760;
  --error: #ff6879;
  --focus: #e2b5ff;
  --glow-opacity: 0.15;
}

[data-theme="crimson"] {
  color-scheme: dark;
  --bg: #090506;
  --bg-rgb: 9, 5, 6;
  --surface: #110809;
  --surface-raised: #1a0d0f;
  --surface-soft: #150b0c;
  --border: #57343a;
  --border-strong: #82505a;
  --text: #fff2f2;
  --text-soft: #d6bcbc;
  --muted: #ad8c90;
  --accent: #ff4d58;
  --accent-rgb: 255, 77, 88;
  --accent-ink: #210003;
  --success: #85d5a2;
  --warning: #f6bf58;
  --error: #ff4d58;
  --focus: #ff9ba2;
  --glow-opacity: 0.17;
}

[data-theme="paper"] {
  color-scheme: light;
  --bg: #e9e7df;
  --bg-rgb: 233, 231, 223;
  --surface: #f5f3ec;
  --surface-raised: #fffdf6;
  --surface-soft: #efede5;
  --border: #9c9a90;
  --border-strong: #62645f;
  --text: #171b19;
  --text-soft: #404943;
  --muted: #626b65;
  --accent: #375e13;
  --accent-rgb: 55, 94, 19;
  --accent-ink: #ffffff;
  --success: #28734b;
  --warning: #9c6500;
  --error: #a52f2f;
  --focus: #477c18;
  --glow-opacity: 0.03;
}

[data-theme="system"] {
  color-scheme: light dark;
  --bg: #e9e7df;
  --bg-rgb: 233, 231, 223;
  --surface: #f5f3ec;
  --surface-raised: #fffdf6;
  --surface-soft: #efede5;
  --border: #9c9a90;
  --border-strong: #62645f;
  --text: #171b19;
  --text-soft: #404943;
  --muted: #626b65;
  --accent: #375e13;
  --accent-rgb: 55, 94, 19;
  --accent-ink: #ffffff;
  --success: #28734b;
  --warning: #9c6500;
  --error: #a52f2f;
  --focus: #477c18;
  --glow-opacity: 0.03;
}

@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --bg: #070908;
    --bg-rgb: 7, 9, 8;
    --surface: #0a0d0b;
    --surface-raised: #101411;
    --surface-soft: #0d100e;
    --border: #3a433c;
    --border-strong: #5c695f;
    --text: #f1f4f1;
    --text-soft: #c1c8c2;
    --muted: #969f98;
    --accent: #b8f516;
    --accent-rgb: 184, 245, 22;
    --accent-ink: #111900;
    --success: #8fda3c;
    --warning: #f7c64b;
    --error: #ff6655;
    --focus: #d3ff60;
    --glow-opacity: 0.16;
  }
}
