Apply minimal cards to just one table in a note instead of all of them?

what I’m trying to do

does anyone know a way to only have specific tables be tweaked with minimal cards snippets and not all tables? for example i have the cssclass minimal cards activated in a note because i want for one of my dataview tables to look as a gallery but i also have other dataview tables in the same page but i don’t want those to show as cards just as a table, any workaround, tip perhaps? thanks!

Things I have tried

i have already asked for some help on reddit and discord but haven’t been able to find some help yet. i also asked ai and told me to add this

.gallery-cards .dataview.table-view-table {
  /* minimal cards styling here */
}

to the css but didn’t do anything.