Frontend Card UI Customization

Hi customization gurus! I’m new to HA, I’ve read a little about the custom-state-ui-card and using customization in yaml. I’m looking for the best (and most simple) way to customize the card look/feel in the front end.

Specifically, I want to be able to change border and border-radius properties, as well as shadows, including :hover.

Is there a way for me to do this? What’s the best solution?

The only way to do this is to read the dev documents and write the code out. Here’s the docs: