I see – that helps.
It would be best to head over to the card-mod topic for the more general questions about badges and styling (just to keep this topic more focused on the original project). I think your answer is here, right at the start: 🔹 Card-mod - Add css styles to any lovelace card - #1310 by Ildar_Gabdullin.
Maybe insert it like this, inside the host section (I haven’t tested this):
card_mod:
style: |
:host {
color: transparent;
--label-badge-text-color:
...