That's weird. I was testing it out with a userstyle, which worked, so I assumed it would work with custom css too. But I guess there might be some restrictions in place? Seems very restrictive though if that's the case here. Not even the first one I gave works. I'll see if I can find anything out.