/* fx: scrub-scale — голяма дума, която расте със скрола. Родителят реже преливането. */
html [data-fx="scrub-scale"]{display:block;transform:scale(var(--fx-s,1));transform-origin:50% 50%;will-change:transform;transition:none}
:has(>[data-fx="scrub-scale"]){overflow-x:clip}
/* CSS-first: view() + smoothstep чрез ease-in-out; data-fx-from/to → --fx-from/--fx-to (JS веднъж). [data-fx-js] = вложен scroller → JS път. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    html.fx-js [data-fx="scrub-scale"]:not([data-fx-js]){animation:fx-scrub-scale ease-in-out both;animation-duration:auto;animation-timeline:view(block);animation-range:cover}
    @keyframes fx-scrub-scale{from{transform:scale(var(--fx-from,.7))}to{transform:scale(var(--fx-to,1.12))}}
  }
}
@media (prefers-reduced-motion:reduce){[data-fx="scrub-scale"]{transform:none;will-change:auto;animation:none}}
