Casted dashboards don't respect css?

Hello,

I’ve built a magic mirror that has a tv in “portrait mode” behind the glass. Im using a chrome cast to “drive” it. I had imagined building a custom dashboard that would have calendar, weather etc. i need to orient it in a rotated 90 degree. I finally found the button card amd was able to rotate the cards appropriately using css in custom_fields. I intentionally used a weird rotation angle to tell if it was succesful. It was in the dashboard display, displye correctly so I went to start casting it to my mirror. This is where the trouble starts, no matter what I do the rotation does not take effect. Everything is straight and in original orientation, is this some sort of issue with the casted browser, is there a way around it? Any other way to get what I’m after?