Sandbox: https://codesandbox.io/s/reshadow-cra-hcqjm?file=/src/index.js:359-427
Basically, having &:focus-within doesn't work and produces this kind of selector:
.__section_131irbl:focus-.__within_131irbl {}
While wrapping the :focus-within with :global — &:global(:focus-within) produces a proper selector:
.__section_yw67i7:focus-within {}