/* Theme: Cozy Tabletop (default, GDD §12.2)
 * Warm tabletop felt aesthetic for a casual game night.
 *
 * This is the DEFAULT theme: all tokens are defined in :root by
 * design-tokens.css. This file normally contains no overrides — it exists
 * so the theme switcher round-trips cleanly and to document the
 * theme-file convention:
 *
 *   [data-theme="<id>"] { --eg-palette-*: ...; }
 *
 * Theme files load last in index.html, so [data-theme] selectors
 * (specificity 0,2,0) win ties against scoped component styles
 * (.foo[b-xyz], also 0,2,0) via source order.
 *
 * The one rule below is a scoped WCAG contrast fix (same pattern as
 * heros.css / badge-overrides.css), not a token override.
 */

/* Age pill, stale state — cream (#fff8e7) on the terracotta warning
 * background is only 2.9:1 at the pill's 10px bold size. Warm dark brown
 * on the same terracotta restores AA contrast (5.3:1) while keeping the
 * warning accent as the pill background.
 */
[data-theme="cozy-tabletop"] .schniffel-card-age--stale {
	color: #2b1d12;
}
