/* Counter, Solid design (spec §3.7): a flat filled panel. The card in a pale tint of the accent with
   no border (a small lift in the light scheme), the icon on the accent, the number in the accent. Loaded after counter.css,
   only where the design is chosen. It changes tokens only, on .hafe-counter itself, so the Style
   tab still wins. */
.hafe-design-solid .hafe-counter {
	--hafe-counter-d-bg: color-mix(in srgb, var(--hafe-accent) 7%, var(--hafe-surface));
	--hafe-counter-d-line: transparent;
	--hafe-counter-d-shadow: var(--hafe-solid-lift);
	--hafe-counter-d-radius: 1rem;
	--hafe-counter-d-media: var(--hafe-accent);
	--hafe-counter-d-media-ink: var(--hafe-on-accent);
}

.hafe-scheme-dark.hafe-design-solid .hafe-counter {
	--hafe-counter-d-bg: color-mix(in srgb, var(--hafe-accent) 14%, var(--hafe-surface));
}

/* No card stays no card: this file loads after counter.css, so its card would otherwise come back. */
.hafe-design-solid.hafe-counter-box-none .hafe-counter {
	--hafe-counter-d-bg: transparent;
	--hafe-counter-d-shadow: none;
}
