There's a bug reported against SWC because it works differently from this plugin, but AFAICT the bug is in the plugin, not SWC.
Report: vercel/next.js#30802 (comment)
My response: vercel/next.js#30802 (comment)
Basically when the minifier encounters .globalClass & ::after it kills the space between the ampersand and the colons.