What causes layout shift
Images and videos without set dimensions, ads and embeds that load late, cookie banners pushed in at the top, and web fonts that swap in and change the size of text. Each pushes the content below it down after the visitor has started reading or tapping.
How to fix it
Give every image and embed a width and height or an aspect ratio, reserve space for banners and ads, show cookie notices as overlays rather than inserting them above content, and choose font loading settings that limit the size change when the web font arrives.
Questions, answered
Not if they use transforms, which move elements without changing the layout. Animations that change size or position properties can count.
Real visitors scroll, accept cookies and see ads that tests do not. Shifts after the first load still count.