/** * check-reduced-motion.mjs — a library component that animates must carry its own reduced-motion rule. * * ★ WHY IT CANNOT BE DONE ONCE, AT THE PAGE. A @media (prefers-reduced-motion) rule in the host * document does not cross a shadow boundary, and these components render inside one. Measured while * writing this: NO generated leaf page ships such a rule at all — 0 occurrences across the whole * built tree — so there is not even a page rule to inherit. Every animating component owns its own. * * ★ WHAT COUNTS AS ANIMATING: a transition:, an animation:, or an @keyframes in the component's * source. Motion declared in a template literal, a concatenated string or a