/* === File: styles/theme-dark.css === */
/* theme-dark.css - ONLY colors (HEX) */

/* forced dark */
:root[data-theme="dark"] {
	--bg: #141312;
	--paper: #1c1a18;
	--ink: #e9e3dc;
	--muted: #b2a79d;
	--accent: #62a8ff;
	--rule: #2e2a26;

	/* NEW: method name color (distinct from sec-title) */
	--method-ink: #cbb8a6;

	--code-bg: #23201d;
	--chip-bg: #26221f;

	--diff-add-bg: #12301b;
	--diff-del-bg: #3a171b;
	--diff-chg-bg: #3a2f10;
	--diff-hunk: #1f262b;

	--shadow: #000000;
}

/* system dark ONLY when user has not chosen a theme (auto) */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--bg: #141312;
		--paper: #1c1a18;
		--ink: #e9e3dc;
		--muted: #b2a79d;
		--accent: #62a8ff;
		--rule: #2e2a26;

		/* NEW: method name color (distinct from sec-title) */
		--method-ink: #cbb8a6;

		--code-bg: #23201d;
		--chip-bg: #26221f;

		--diff-add-bg: #12301b;
		--diff-del-bg: #3a171b;
		--diff-chg-bg: #3a2f10;
		--diff-hunk: #1f262b;

		--shadow: #000000;
		--chart-paper: #23201d;
		--chart-surface: #2a2622;
	}

	#sign {
		filter: invert(1);
	}
}
