MobileFrontend emits body content wrapped in a div#mw-mf-viewport element, which should be usable for styling in a way analogous to per-skin styling in T197617. Similar to the per-skin styling case, the #mw-mf-viewport selector should be moved to somewhere before the .mw-parser-output thing.
This change would allow for further replacement of Mobile{,FrontPage}.css by letting these things disperse into individual pages.
zh.wp sort of bumped into this issue in the main page template-style-ification process, see https://zh.wikipedia.org/wiki/Wikipedia:%E9%A6%96%E9%A1%B5/styles.css. The basic story is that we are using the fact that MF does not load Common.css but only Mobile.css to do some differential styling, like everyone else is doing. Translating it into TemplateStyle is difficult since there is not an exact match for "mobile" pages -- the closest possible is skin-minerva, which is not generalizable to all MF deployments because MF can use other skins too.