Yes… that’s right, and thank you — I’m really glad to hear you managed to apply this method.
I’m sure you could combine both approaches for desktop and mobile by using the :is() pseudo-class if you’d like (
CSS Hack: Role-Based App Themes ).