Correct. If you want to remove it for all moderators, group-moderators is not a class, it’s just moderator. But then you don’t need moderator, just
.d-icon-shield-alt {
display: none;
}
The gap is probably
.names span {
margin-right: 8px;
So
.moderator .names span {
margin-right: 0;
}