/* eterngit palette — neovim / dark
   Theme = CSS variables only. Switching theme/mode swaps these values; page structure never changes.
   Loaded by every page; the active [data-theme][data-mode] pair wins via attribute selector. */

html[data-theme="neovim"][data-mode="dark"] {
  color-scheme: dark;

  /* SURFACES */
  --bg: #1a1b26;
  --bg-elev: #1f2335;
  --bg-inset: #16161e;
  --bg-hover: #292e42;
  --fg: #c0caf5;
  --fg-muted: #9aa5ce;
  --fg-faint: #565f89;
  --border: #2a2f44;
  --border-strong: #3b4261;
  --accent: #7aa2f7;
  --accent-fg: #1a1b26;
  --accent-soft: rgba(122,162,247,0.15);
  --selection: #28344a;

  /* ANSI / SEMANTIC */
  --red: #f7768e;
  --green: #9ece6a;
  --yellow: #e0af68;
  --blue: #7aa2f7;
  --purple: #bb9af7;
  --cyan: #7dcfff;
  --orange: #ff9e64;
  --gray: #565f89;

  /* DIFF */
  --diff-add-bg: rgba(158,206,106,0.12);
  --diff-add-text: #c0caf5;
  --diff-add-marker: #9ece6a;
  --diff-add-gutter: rgba(158,206,106,0.16);
  --diff-del-bg: rgba(247,118,142,0.12);
  --diff-del-text: #c0caf5;
  --diff-del-marker: #f7768e;
  --diff-del-gutter: rgba(247,118,142,0.16);
  --diff-hunk-bg: rgba(122,162,247,0.10);
  --diff-hunk-fg: #7aa2f7;

  /* CODE */
  --code-bg: #1a1b26;
  --code-fg: #c0caf5;
  --code-gutter-fg: #3b4261;
  --code-gutter-bg: #1a1b26;
  --code-current-line: #1e2030;

  /* SYNTAX */
  --syn-keyword: #bb9af7;
  --syn-string: #9ece6a;
  --syn-comment: #565f89;
  --syn-number: #ff9e64;
  --syn-function: #7aa2f7;
  --syn-type: #2ac3de;
  --syn-variable: #c0caf5;
  --syn-operator: #89ddff;
  --syn-punctuation: #a9b1d6;
  --syn-property: #7dcfff;
  --syn-constant: #ff9e64;
  --syn-tag: #f7768e;
  --syn-attr: #e0af68;
  --syn-builtin: #2ac3de;
  --syn-regexp: #b4f9f8;

  /* BADGES / CHIPS */
  --badge-latest-bg: #9ece6a;
  --badge-latest-fg: #1a1b26;
  --badge-rc-bg: #e0af68;
  --badge-rc-fg: #1a1b26;
  --hash-bg: #292e42;
  --hash-fg: #7dcfff;
  --tag-bg: #292e42;
  --tag-fg: #c0caf5;

  /* FILE TREE */
  --tree-folder: #7aa2f7;
  --tree-file: #c0caf5;
  --tree-current-bg: rgba(122,162,247,0.15);
  --tree-current-fg: #c0caf5;
  --tree-guide: #2a2f44;

  /* NAV CHROME */
  --chrome-bg: #16161e;
  --chrome-fg: #9aa5ce;
  --chrome-muted: #565f89;
  --chrome-border: #16161e;
  --chrome-active-bg: #1a1b26;
  --chrome-active-fg: #c0caf5;
  --chrome-accent: #7aa2f7;
  --statusbar-bg: #16161e;
  --statusbar-fg: #9aa5ce;
  --statusbar-accent: #7aa2f7;
  --mode-fg: #1a1b26;

  /* TYPE / SHAPE */
  --font-ui: "JetBrains Mono", "Fira Code", "Hack", "Cascadia Code", ui-monospace, Menlo, Consolas, monospace;
  --font-mono: "JetBrains Mono", "Fira Code", "Hack", "Cascadia Code", ui-monospace, Menlo, Consolas, monospace;
  --font-content: "JetBrains Mono", "Fira Code", "Hack", "Cascadia Code", ui-monospace, Menlo, Consolas, monospace;
  --radius: 4px;
  --statusbar-h: 24px;
  --chrome-left: 0px;
}
