Modified user card base on group and/or by username

I have some modified user card on css but it’s effect to all relevant selector. So how to modified user card base on group and/or by username?

here the my modified css:

   .name-username-wrapper {
   color: #f20079;
   }