Templaters do not have access to less/css right now and that's why they use a class like .mobile It's a replacement for their inability to use media queries to target mobile devices and to create responsive templates.
MediaWiki:Common.css has stopped being sufficient for their needs, because it is shipped to every pageview, and thus only the most common usages of templating usually make use of MediaWiki:Common.css