@scope: the nearest theme wins

Three nested cards, one theme each. Change themes, then switch @scope off and watch the headings break.

Your browser doesn't support @scope yet, so the "@scope" mode looks like the plain-selector mode. Try a recent Chrome, Edge, Firefox or Safari.

Layer 1

chipButton

Layer 2

chipButton

Layer 3

chipButton
.slot · embedded widget

Widget

chipButton
CSS in use right now