/* PRESENTATION LAB: motion levels. Lab only. fx.js adds the particles; this file does the CSS part. */
@keyframes lab-pop{0%{scale:1}45%{scale:1.14}100%{scale:1}}
@keyframes lab-shake{0%,100%{transform:translate(0,0)}20%{transform:translate(-3px,1px)}40%{transform:translate(3px,-1px)}60%{transform:translate(-2px,0)}80%{transform:translate(2px,1px)}}
@keyframes lab-bump{0%{transform:scale(1)}40%{transform:scale(1.25)}100%{transform:scale(1)}}
@keyframes lab-glow{0%,100%{filter:none}50%{filter:drop-shadow(0 0 8px var(--climb))}}

/* Calm: no bouncing or pulsing; letters glide. */
html[data-motion="calm"] .tile{transition:transform .35s ease-out,opacity .3s,background .2s}
html[data-motion="calm"] .climber::before{animation:none}
html[data-motion="calm"] .stat.low{animation:none}
html[data-motion="calm"] .word.valid .score b{animation:none}
html[data-motion="calm"] .gain{animation-duration:2s}

/* Juicy: letters pop as you pick them, the board shakes on a big word, numbers bump. */
html[data-motion="juicy"] .tile.on{animation:lab-pop .18s ease-out}
html[data-motion="juicy"] .tile{transition:transform .38s cubic-bezier(.25,1.6,.5,1),opacity .2s,background .08s}
html[data-motion="juicy"] .gain{font-size:1.4rem;animation-duration:1.6s}
html[data-motion="juicy"] .climber{animation:lab-glow 1.4s ease-in-out infinite}
html[data-motion="juicy"] .stat b.lab-bump,html[data-motion="juicy"] .alt b.lab-bump{display:block;animation:lab-bump .32s ease-out}
html[data-motion="juicy"] .lab-shake{animation:lab-shake .26s linear}
html[data-motion="standard"] .lab-shake{animation:lab-shake .2s linear}
@media (prefers-reduced-motion:reduce){html[data-motion] .lab-shake,html[data-motion] .tile.on{animation:none}}
