Just use svg it has worked well on all devices for over a decade. No need to try and get overly clever with css. calibre conversion uses the specificity that comes from the css_parser (fork of cssutils) python library, so you would need to check there.
See
https://manual.calibre-ebook.com/con...ormatting-demo for an demo epub file which shows you how to do full screen images with text