Horizontal-stack how to delete background

How to remove the background frame and make the color transparent
1

Can you please provide your card code?

If you can apply a theme to the card, you can do that.

  # Changes for transparent buttons
  
  card-background-color: rgba(0,0,0,0)
  ha-card-border-color: rgba(0,0,0,0)
  ha-card-border-radius: "0px"
  ha-card-border-width: "0px"
      type: horizontal-stack
      cards:
        - type: custom:mushroom-title-card
          title: Зал
          card_mod:
            style: |
              ha-card {
                padding-left: 5px !important;
                padding-bottom: 0px !important;
                padding-top: 10px !important;
              }
        - type: custom:mushroom-chips-card
          card_mod:
            style: |
              ha-card {
                padding-top: 6px !important;
              }
          alignment: end
          chips:
            - type: template
              entity: switch.hfjh_m100_abce_fish_tank
              card_mod:
                style: |
                  ha-card {
                    margin-right: -5px !important;
                  }
              icon: mdi:fishbowl

I am not seeing the border you have in your example

Is the code you posted abbreviated?

yes, it was displayed normally. Before updating Browser_mod to version 2.3.2 or the 2025 HAcore update, although maybe I dropped the cache only after updating it.