Sounds like you need to write a CSS translating proxy server.
…and follow the HN pattern of adding more complexity to my own niche solution instead of fixing he technical debt? :)
Maybe I could fund a startup for that…