It includes itself in the header, so it should be independent of style... or am I missing anything?

It must be as you say, before using this mod, I added the code to each style used (the normal one and the mobile one), it was just a little doubt. Effectively, the code must be added to the header.
Then I can do a couple of tests and confirm that it works with independence of the style (mobile or non-mobile) I now have 3 or 4 styles installed apart from the mobile version.

Again, fantastic mod, really!!
It was necessary to have something like that!