CSS: Styling expanded nodes only?

I am by far no expert, but I think this is not possible with pure CSS.

You first would need to identify the .Node-self.is-parent:not(.is-collapsed) elements (no problem until here), but then modify the parent .Node or grandparent .Node-outer element, which is not possible according to

But I would be delighted if someone could proof me wrong!


P.S.: If you are fine with only highlighting the child items, this might give you a pointer:

.Node:not(.is-currentRoot) > .Node-self.is-parent:not(.is-collapsed) + .Node-children
{
    Background: rgba(0,0,0,.1);
}