Granular group-based permissions for anonymous and logged in users

May I know the CSS class for anonymous and registered users? I’m not using their internal IDs because I’m on pure CSS.