/* woodles.space · shared scrollbars · v1
   thin, theme-aware scrollbars so the browser's stock chrome doesn't
   puncture the illusion. pulls straight from shared/palette.css's
   --accent/--accent-strong tokens, so every named theme (and custom
   palettes) gets a matching thumb for free — nothing to hand-tune
   per theme. requires shared/palette.css to be loaded first. */

* {
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background-color: color-mix(in srgb, var(--accent) 45%, transparent);
	background-clip: padding-box;
	border: 2px solid transparent;
	border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
	background-color: var(--accent-strong);
}
::-webkit-scrollbar-corner {
	background: transparent;
}
