i found a post a while ago that helped me with the card-mod code blocks.
it might work like this:
style:
mushroom-shape-icon$: |
.shape {
margin-right: 50px;
}
.: |
ha-card {
background: rgba(var(--rgb-primary-background-color), 0.3);
left: -20px;
top: -20px;
width: 500px;
--spacing: 10px 10px 0px 12px;
--icon-size: 70px;
--ha-card-border-width: 0;
--chip-box-shadow: none;
}