Remove text from gauge with card_mod not always work

I have a weather station dashboard with a gauge meter to show the UV Index.
To get the needle in the middle of a segment I added +0.5 to the UV index.
With card_mod I added a css line to hide the index from the gauge because it’s 0.5 to high and the real value is above.
When I open the dashboard on my iphone in the HA app or webbrowser (cleared the cache) the index value is shown, but after a while it disappers. (see images)
Does someone know why this happens:
Card_mod code

card_mod:
  style:
    .: |
      .name {
        font-size: 22px !important;
        position: absolute;
        bottom: 20px;
        }
    ha-gauge$: |
      text.value-text {
        display: none !important;
      }