/* Stationary masks preserve native wrapping and the existing inline colours. */
.wo-text-word-clip {
 display: inline-flex;
 overflow: hidden;
 padding-inline: .06em;
 margin-inline: -.06em;
 padding-bottom: 4px;
 margin-bottom: -4px;
 vertical-align: bottom;
}
.wo-text-word { display: inline-block; transform-origin: 50% 100%; }
[data-text-motion="pending"] .wo-text-word { translate: 0 100%; opacity: 0; }
[data-text-motion="complete"] .wo-text-word { translate: none; opacity: 1; }
[data-text-motion="complete"] .wo-text-word-clip { overflow: visible; }
@media (prefers-reduced-motion: reduce) {
 [data-text-motion] .wo-text-word { translate: none !important; opacity: 1 !important; }
 [data-text-motion] .wo-text-word-clip { overflow: visible; }
}
