All modern browsers now support complex selectors in :not()
TIL that all modern browsers now support complex selectors in :not()! 😍
https://dabblet.com/gist/e7769cbe23d3670665e97a03fe0622d3
So you can do things like:
.foo :not(.foo .foo *)
to match things inside one .foo wrapper but not two.container :not(.content *)
to get simple (shallow) “donut scope”