/* All classes are attached only to element IDs belonging to the eligible page.
   No layout, fonts, colors, dimensions, crops, overflow or global-template rules.
   Content is visible by default, including when JavaScript fails. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.tbg-anim-page[data-tbg-motion-version="3.1.1"] .tbg-v3-card,
  body.tbg-anim-page[data-tbg-motion-version="3.1.1"] .tbg-v3-button {
    transition: box-shadow .35s ease;
  }
  body.tbg-anim-page[data-tbg-motion-version="3.1.1"] .tbg-v3-hover {
    box-shadow: var(--tbg-v3-hover-shadow);
  }
}
/* Finite motion runs through WAAPI and is cancelled when preference changes.
   No persistent opacity:0, will-change, transform reset or infinite animation. */
@media (prefers-reduced-motion:reduce) {
  body.tbg-anim-page[data-tbg-motion-version="3.1.1"] .tbg-v3-card,
  body.tbg-anim-page[data-tbg-motion-version="3.1.1"] .tbg-v3-button { transition:none; }
}
