Use bg-accent with dark mode variants instead of bg-background/50 so badges remain readable on dark backgrounds.