Thank you!
Forgot to mention that you can also block arbitrary text with the `:has-text(/regex/)` selector.
Block Medium's cookie notification on any domain:
*##body>div:has(div:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i))
google.*##.g:has(*:has-text(/word combination to block/i)) duckduckgo.*##.results > div:has(*:has-text(/word combination to block/i))
Thank you!