/*
 * The Domains of Dread: design tokens.
 *
 * Charcoal palette aligned with the public wiki's Citizen theme (mediawiki/theme/citizen.css):
 * warm charcoal grounds (#151313 -> #2a2525), soft parchment off-white text (#e1dddd),
 * near-white headings (#faf8f8), and wine red accents (#722f37 fill, #da6a76 text); always
 * dark on the static site and forum.
 *
 * Wine red has two tones because of the dark charcoal ground. The wine itself is too dark
 * to read as text on charcoal, so links use the lighter tone (#da6a76, matching oklch(66% 0.14 15)
 * on the wiki). The wine itself (#722f37) is for fills that carry white text, for rules,
 * and for the logo.
 */
:root {
	--tdod-ground: #151313;          /* wiki surface-0 */
	--tdod-surface: #1a1818;         /* wiki surface-1: cards, panels, posts, navbar */
	--tdod-surface-raised: #1f1c1c;  /* wiki surface-2: inputs, codeboxes, callouts */
	--tdod-surface-hover: #242021;   /* wiki surface-3: hover rows, active controls */
	--tdod-surface-float: #2a2525;   /* wiki surface-4: dropdowns, tooltips */
	--tdod-black: #151313;           /* legacy ground alias (charcoal, no OLED black) */
	--tdod-text: #e1dddd;            /* wiki base body text */
	--tdod-white: #faf8f8;           /* wiki emphasized headings & button ink */
	--tdod-quiet: #a8a3a3;           /* wiki subtle muted text */
	--tdod-hairline: #302c2c;        /* subtle charcoal border */
	--tdod-border: #464040;          /* interactive charcoal border */
	--tdod-wine: #722f37;            /* the accent as a fill: buttons, rules, the logo */
	--tdod-wine-hover: #873843;      /* wine fill on hover */
	--tdod-wine-active: #5e262d;     /* wine fill when pressed */
	--tdod-wine-text: #da6a76;       /* the accent as text on charcoal: wiki progressive link */
	--tdod-wine-mark: #a12d40;       /* the accent in the logo on charcoal */
	--tdod-danger: #f58a8a;          /* wiki --tdod-down: link hover and errors */

	/* The same accent in parts, for tools that build their own shades from a hue:
	   oklch( 66% 0.14 15 ) is --tdod-wine-text on charcoal; oklch( 40% 0.095 15 ) is --tdod-wine. */
	--tdod-wine-hue: 15;
	--tdod-wine-text-lightness: 66%;
	--tdod-wine-text-chroma: 0.14;
}
