Thanks for this suggestion!
Can you give some hint on how to implement it?
As far as I know group memberships are not indicated with HTML attributes. Is there some other way for CSS to detect whether or not someone is a member of a particular group?