pub fn scope_selector(selector: &str, class: &str) -> String
Scope one complex selector: stamp .class on the last non-:global compound and unwrap every :global(…).
.class
:global
:global(…)