Author with shadow-css selectors and replace with shim classes if not available