/* F-LAB casual game motion, local assets, no layout-dependent JS. */
.cover-title{position:relative;overflow:hidden}.cover-title .cover-spark{position:absolute;font-size:26px;color:#ffdc91;pointer-events:none;animation:flab-spark 3.2s ease-in-out infinite}.cover-spark.spark-left{left:12px;top:34%}.cover-spark.spark-right{right:13px;top:64%;animation-delay:-1.6s}.cover h1{animation:flab-title .7s cubic-bezier(.19,1,.22,1) both}.cover .hero{animation:flab-enter .55s ease-out both}.connection-animation{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 2px;color:#ffc9d4}.connection-animation span{font-size:24px;animation:flab-beat 1.5s ease-in-out infinite}.connection-animation i{width:7px;height:7px;border-radius:50%;background:#d8ee77;animation:flab-dot 1.2s ease-in-out infinite}.connection-animation i:nth-child(3){animation-delay:.15s}.connection-animation i:nth-child(4){animation-delay:.3s}.card.flab-new{animation:flab-card .34s cubic-bezier(.19,1,.22,1) both}.options.flab-new button{animation:flab-enter .25s ease-out both}.options.flab-new button:nth-child(2){animation-delay:25ms}.options.flab-new button:nth-child(3){animation-delay:50ms}.options.flab-new button:nth-child(4){animation-delay:75ms}.options button.flab-picked,.role-choices label.flab-picked,.confidence button.flab-picked{animation:flab-pick .28s ease-out both}.options button .letter{transition:background .15s,transform .15s}.options button.selected .letter{transform:rotate(-7deg) scale(1.05)}#lock.flab-locked{animation:flab-pick .45s ease-out both;background:#d8ee77;opacity:1}#locked-msg.flab-wait::after{content:' •••';color:#d8ee77;animation:flab-dot 1.2s infinite}.track .current{animation:flab-track 1.8s ease-in-out infinite}.reveal-panel,.result{position:relative}.round-sticker,.finish-sticker{position:absolute;width:72px;height:72px;object-fit:contain;right:9px;top:9px;z-index:1;pointer-events:none;filter:drop-shadow(0 3px 4px #54284b55);animation:flab-pop .48s cubic-bezier(.17,.89,.32,1.35) both}.finish-sticker{width:84px;height:84px;right:13px;top:13px}.flab-match .points{animation:flab-pop .5s ease-out both}.flab-surprise #reveal-title{animation:flab-wobble .55s ease-out both}.reveal-choice{animation:flab-enter .32s ease-out both}.reveal-choice+.reveal-choice{animation-delay:80ms}.mini-score span.flab-score{animation:flab-pick .35s ease-out;color:#e8f69a}.result.flab-finish{animation:flab-card .5s ease-out both}.motion-toggle{font-size:11px;background:none;border:0;color:inherit;padding:0;text-decoration:underline}footer{flex-wrap:wrap;gap:8px 14px}.flab-motion-off *, .flab-motion-off *::before,.flab-motion-off *::after{animation:none!important;transition:none!important}.flab-motion-off .cover-spark{opacity:.7}.flab-motion-off .options button.selected .letter{transform:none}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(max-height:700px){.round-sticker{width:54px;height:54px;right:6px;top:6px}.cover-title .cover-spark{font-size:17px}}@keyframes flab-spark{0%,100%{opacity:.55;transform:rotate(-12deg) scale(.8)}50%{opacity:1;transform:rotate(12deg) scale(1.2)}}@keyframes flab-title{from{transform:translateY(12px) rotate(-5deg);opacity:0}to{transform:translateY(0) rotate(-2deg);opacity:1}}@keyframes flab-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes flab-beat{0%,100%{transform:scale(1)}45%{transform:scale(1.2)}}@keyframes flab-dot{0%,100%{opacity:.35}50%{opacity:1}}@keyframes flab-card{from{opacity:.15;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes flab-pick{0%,100%{transform:scale(1)}45%{transform:scale(.97)}70%{transform:scale(1.025)}}@keyframes flab-track{0%,100%{opacity:1}50%{opacity:.7}}@keyframes flab-pop{from{opacity:.2;transform:scale(.55) rotate(-9deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes flab-wobble{0%,100%{transform:none}20%{transform:rotate(-3deg)}45%{transform:rotate(3deg)}70%{transform:rotate(-1deg)}}

#game-confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:100}
