Can these logic be moved to Javascript? Let's keep logic in CSS as simple as possible, maybe with a className only, if possible.

e.g. `.appWindow.show-screenshot > .screenshot-layer` and `.appWindow:not(.show-screenshot) > iframe`