I'm using a dark theme CustomCSS and it's making some of the item rarity colors difficult to read, such as:

I'm not changing the colors wildly, just a hue lighter so it's visible on the black background. Anyone can tell me the names of the CSS for the item rarity colors so I can do that? Thanks.
it doesn't actually look like item rarity text has a specific class! instead they appear to be defined with html styling, like so:

and unfortunately i'm not sure how to target them. i thought you might be able to use an attribute selector for each rarity, but i can't get that to work. so if this is possible, i don't know how to do it. 😔
Here's a template with all the selectors, just change the "background: red" part to your desired style.
I'm a little lost on what I should be inspecting?