@property --_text-rotate-i{syntax:"<integer>";inherits:true;initial-value:0}@property --_text-rotate-n{syntax:"<integer>";inherits:true;initial-value:1}@property --_text-rotate-k{syntax:"<integer>";inherits:false;initial-value:0}@property --_text-rotate-t{syntax:"<number>";inherits:true;initial-value:0}@property --_text-rotate-e{syntax:"<number>";inherits:true;initial-value:0}@layer components{.text-rotate{--_text-rotate-n:1;--_dur:var(--text-rotate-duration,10s);vertical-align:bottom;height:1lh;display:inline-grid;overflow:hidden;&>span{flex-direction:column;display:flex}&>span>*{--_text-rotate-k:0;--_text-rotate-i:calc(var(--_text-rotate-t) * var(--_text-rotate-n));--_last:clamp(0, var(--_text-rotate-i) - var(--_text-rotate-n) + 2, 1);--_p:calc(var(--_text-rotate-i) + var(--_text-rotate-e) * (1 - var(--_text-rotate-n) * var(--_last)));white-space:nowrap;height:1lh;translate:0 calc(var(--_p) * -1lh);animation:text-rotate-index var(--_dur) steps(var(--_text-rotate-n)) infinite, text-rotate-roll calc(var(--_dur) / var(--_text-rotate-n)) infinite;display:block}&[data-align=center]>span>*{text-align:center}&[data-align=end]>span>*{text-align:end}&:hover>span>*,&:focus-within>span>*{animation-play-state:paused}&[data-pause=none]:hover>span>*,&[data-pause=none]:focus-within>span>*{animation-play-state:running}&[data-direction=down]>span{flex-direction:column-reverse}&[data-direction=down]>span>*{translate:0 calc((var(--_text-rotate-n) - 1 - var(--_p)) * -1lh)}&[data-effect=fade]>span{display:grid}&[data-effect=fade]>span>*{--_on:calc(1 - min(1, abs(var(--_text-rotate-i) - var(--_text-rotate-k))));--_text-rotate-next:calc(1 - min(1, abs(mod(var(--_text-rotate-i) + 1, var(--_text-rotate-n)) - var(--_text-rotate-k))));opacity:calc(var(--_on) * (1 - var(--_text-rotate-e)) + var(--_text-rotate-next) * var(--_text-rotate-e));translate:0 calc((var(--_text-rotate-next) * (1 - var(--_text-rotate-e)) - var(--_on) * var(--_text-rotate-e)) * .25lh);grid-area:1/1}}.text-rotate:has(>span>:nth-child(2):last-child){--_text-rotate-n:2}.text-rotate:has(>span>:nth-child(3):last-child){--_text-rotate-n:3}.text-rotate:has(>span>:nth-child(4):last-child){--_text-rotate-n:4}.text-rotate:has(>span>:nth-child(5):last-child){--_text-rotate-n:5}.text-rotate:has(>span>:nth-child(6):last-child){--_text-rotate-n:6}.text-rotate:has(>span>:nth-child(7):last-child){--_text-rotate-n:7}.text-rotate:has(>span>:nth-child(8):last-child){--_text-rotate-n:8}.text-rotate:has(>span>:nth-child(9):last-child){--_text-rotate-n:9}.text-rotate:has(>span>:nth-child(10):last-child){--_text-rotate-n:10}.text-rotate:has(>span>:nth-child(11):last-child){--_text-rotate-n:11}.text-rotate:has(>span>:nth-child(12):last-child){--_text-rotate-n:12}.text-rotate:has(>span>:nth-child(13):last-child){--_text-rotate-n:13}.text-rotate:has(>span>:nth-child(14):last-child){--_text-rotate-n:14}.text-rotate:has(>span>:nth-child(15):last-child){--_text-rotate-n:15}.text-rotate:has(>span>:nth-child(16):last-child){--_text-rotate-n:16}.text-rotate:has(>span>:nth-child(17):last-child){--_text-rotate-n:17}.text-rotate:has(>span>:nth-child(18):last-child){--_text-rotate-n:18}.text-rotate:has(>span>:nth-child(19):last-child){--_text-rotate-n:19}.text-rotate:has(>span>:nth-child(20):last-child){--_text-rotate-n:20}.text-rotate:has(>span>:nth-child(21):last-child){--_text-rotate-n:21}.text-rotate:has(>span>:nth-child(22):last-child){--_text-rotate-n:22}.text-rotate:has(>span>:nth-child(23):last-child){--_text-rotate-n:23}.text-rotate:has(>span>:nth-child(24):last-child){--_text-rotate-n:24}.text-rotate:has(>span>:nth-child(25):last-child){--_text-rotate-n:25}.text-rotate:has(>span>:nth-child(26):last-child){--_text-rotate-n:26}.text-rotate:has(>span>:nth-child(27):last-child){--_text-rotate-n:27}.text-rotate:has(>span>:nth-child(28):last-child){--_text-rotate-n:28}.text-rotate:has(>span>:nth-child(29):last-child){--_text-rotate-n:29}.text-rotate:has(>span>:nth-child(30):last-child){--_text-rotate-n:30}.text-rotate:has(>span>:nth-child(31):last-child){--_text-rotate-n:31}.text-rotate:has(>span>:nth-child(32):last-child){--_text-rotate-n:32}.text-rotate:has(>span>:nth-child(33):last-child){--_text-rotate-n:33}.text-rotate:has(>span>:nth-child(34):last-child){--_text-rotate-n:34}.text-rotate:has(>span>:nth-child(35):last-child){--_text-rotate-n:35}.text-rotate:has(>span>:nth-child(36):last-child){--_text-rotate-n:36}.text-rotate:has(>span>:nth-child(37):last-child){--_text-rotate-n:37}.text-rotate:has(>span>:nth-child(38):last-child){--_text-rotate-n:38}.text-rotate:has(>span>:nth-child(39):last-child){--_text-rotate-n:39}.text-rotate:has(>span>:nth-child(40):last-child){--_text-rotate-n:40}.text-rotate>span>:nth-child(2){--_text-rotate-k:1}.text-rotate>span>:nth-child(3){--_text-rotate-k:2}.text-rotate>span>:nth-child(4){--_text-rotate-k:3}.text-rotate>span>:nth-child(5){--_text-rotate-k:4}.text-rotate>span>:nth-child(6){--_text-rotate-k:5}.text-rotate>span>:nth-child(7){--_text-rotate-k:6}.text-rotate>span>:nth-child(8){--_text-rotate-k:7}.text-rotate>span>:nth-child(9){--_text-rotate-k:8}.text-rotate>span>:nth-child(10){--_text-rotate-k:9}.text-rotate>span>:nth-child(11){--_text-rotate-k:10}.text-rotate>span>:nth-child(12){--_text-rotate-k:11}.text-rotate>span>:nth-child(13){--_text-rotate-k:12}.text-rotate>span>:nth-child(14){--_text-rotate-k:13}.text-rotate>span>:nth-child(15){--_text-rotate-k:14}.text-rotate>span>:nth-child(16){--_text-rotate-k:15}.text-rotate>span>:nth-child(17){--_text-rotate-k:16}.text-rotate>span>:nth-child(18){--_text-rotate-k:17}.text-rotate>span>:nth-child(19){--_text-rotate-k:18}.text-rotate>span>:nth-child(20){--_text-rotate-k:19}.text-rotate>span>:nth-child(21){--_text-rotate-k:20}.text-rotate>span>:nth-child(22){--_text-rotate-k:21}.text-rotate>span>:nth-child(23){--_text-rotate-k:22}.text-rotate>span>:nth-child(24){--_text-rotate-k:23}.text-rotate>span>:nth-child(25){--_text-rotate-k:24}.text-rotate>span>:nth-child(26){--_text-rotate-k:25}.text-rotate>span>:nth-child(27){--_text-rotate-k:26}.text-rotate>span>:nth-child(28){--_text-rotate-k:27}.text-rotate>span>:nth-child(29){--_text-rotate-k:28}.text-rotate>span>:nth-child(30){--_text-rotate-k:29}.text-rotate>span>:nth-child(31){--_text-rotate-k:30}.text-rotate>span>:nth-child(32){--_text-rotate-k:31}.text-rotate>span>:nth-child(33){--_text-rotate-k:32}.text-rotate>span>:nth-child(34){--_text-rotate-k:33}.text-rotate>span>:nth-child(35){--_text-rotate-k:34}.text-rotate>span>:nth-child(36){--_text-rotate-k:35}.text-rotate>span>:nth-child(37){--_text-rotate-k:36}.text-rotate>span>:nth-child(38){--_text-rotate-k:37}.text-rotate>span>:nth-child(39){--_text-rotate-k:38}.text-rotate>span>:nth-child(40){--_text-rotate-k:39}@supports (z-index:sibling-count()){.text-rotate>span>*{--_text-rotate-n:sibling-count();--_text-rotate-k:calc(sibling-index() - 1)}}@keyframes text-rotate-index{0%{--_text-rotate-t:0}to{--_text-rotate-t:1}}@keyframes text-rotate-roll{0%,92%{--_text-rotate-e:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}to{--_text-rotate-e:1}}@media (prefers-reduced-motion:reduce){.text-rotate>span>*{animation:none}}}