Playground to reproduce the issue
Neither the original code, nor the transform do not add the :is() pseudo-class.
However, it is added regardless, including around the pseudo-elements, which breaks the CSS.
Fun additional fact: the IsSelector transpilation does not seem to do anything at all? Example.