Flash of unstyled content (FOUC) usually caused by incorrect Critical CSS. To avoid it, it is recommended to use Viewport based Critical CSS, it is more sophisticated, and failsafe method to generate Crirical CSS.

You can set Critical CSS mode to Viewport Based in Optimization > Styles. Please note, this feature is available only if Compute API is enabled.