Problem with change badges color

I have a badge that is supposed to change color depending on the value of the entity. Everything was working until yesterday. After installing beta 2024.01 it stopped. This is part of my yaml:

badges:

- type: entity-filter
state_filter:
- operator: ‘!=’
value: ‘off’
entities:
- entity: input_text.air_quality
icon: mdi:tailwind
name: air
style: |
:host {
–label-badge-background-color:
{% if states(config.entity) == ‘very good’ %}
green;
{% elif states(config.entity) == ‘good’ %}
blue;
{% elif states(config.entity) == ‘moderate’ %}
pink;
{% elif states(config.entity) == ‘sufficient’ %}
red;
{% elif states(config.entity) == ‘bad’ %}
darkred;
{% elif states(config.entity) == ‘very bad’ %}
darkred;
{% else %}
orange;
{% endif %}
}

What has changed? What should this entry look like now?

I found…
“style:”
replace to:
“card_mod:
style:”