/* eterngit palette — terminal / 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="terminal"][data-mode="dark"] {
  color-scheme: dark;

  /* SURFACES */
  --bg: #0c0c0c;
  --bg-elev: #161616;
  --bg-inset: #1d1d1d;
  --bg-hover: #1f1f1f;
  --fg: #d0d0d0;
  --fg-muted: #9a9a9a;
  --fg-faint: #6a6a6a;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --accent: #26a269;
  --accent-fg: #0c0c0c;
  --accent-soft: rgba(38,162,105,0.15);
  --selection: rgba(38,162,105,0.30);

  /* ANSI / SEMANTIC */
  --red: #e35d5d;
  --green: #4ec76f;
  --yellow: #e3c46a;
  --blue: #57a5e5;
  --purple: #c98fe0;
  --cyan: #4fc5c9;
  --orange: #e8915b;
  --gray: #8a8a8a;

  /* DIFF */
  --diff-add-bg: rgba(78,199,111,0.12);
  --diff-add-text: #d0d0d0;
  --diff-add-marker: #26a269;
  --diff-add-gutter: rgba(78,199,111,0.16);
  --diff-del-bg: rgba(227,93,93,0.12);
  --diff-del-text: #d0d0d0;
  --diff-del-marker: #e35d5d;
  --diff-del-gutter: rgba(227,93,93,0.16);
  --diff-hunk-bg: rgba(87,165,229,0.10);
  --diff-hunk-fg: #57a5e5;

  /* CODE */
  --code-bg: #0c0c0c;
  --code-fg: #d0d0d0;
  --code-gutter-fg: #555555;
  --code-gutter-bg: #0c0c0c;
  --code-current-line: rgba(255,255,255,0.04);

  /* SYNTAX */
  --syn-keyword: #c98fe0;
  --syn-string: #4ec76f;
  --syn-comment: #6a6a6a;
  --syn-number: #e8915b;
  --syn-function: #57a5e5;
  --syn-type: #e3c46a;
  --syn-variable: #d0d0d0;
  --syn-operator: #4fc5c9;
  --syn-punctuation: #9a9a9a;
  --syn-property: #57a5e5;
  --syn-constant: #e8915b;
  --syn-tag: #e35d5d;
  --syn-attr: #e3c46a;
  --syn-builtin: #4fc5c9;
  --syn-regexp: #4ec76f;

  /* BADGES / CHIPS */
  --badge-latest-bg: #26a269;
  --badge-latest-fg: #0c0c0c;
  --badge-rc-bg: #e3c46a;
  --badge-rc-fg: #0c0c0c;
  --hash-bg: #1d1d1d;
  --hash-fg: #57a5e5;
  --tag-bg: #1d1d1d;
  --tag-fg: #d0d0d0;

  /* FILE TREE */
  --tree-folder: #57a5e5;
  --tree-file: #d0d0d0;
  --tree-current-bg: rgba(38,162,105,0.18);
  --tree-current-fg: #ffffff;
  --tree-guide: #2a2a2a;

  /* NAV CHROME */
  --chrome-bg: #1d1d1d;
  --chrome-fg: #d0d0d0;
  --chrome-muted: #8a8a8a;
  --chrome-border: #2a2a2a;
  --chrome-active-bg: #26a269;
  --chrome-active-fg: #0c0c0c;
  --chrome-accent: #26a269;
  --statusbar-bg: #161616;
  --statusbar-fg: #d0d0d0;
  --statusbar-accent: #26a269;
  --mode-fg: #0c0c0c;

  /* TYPE / SHAPE */
  --font-ui: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-mono: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-content: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 0px;
  --statusbar-h: 26px;
  --chrome-left: 0px;
}
