/* 움직임 2차(2026-11-28, js/routes/motion2.js?v=5cff0a1-202611280006). 캔버스 H21-X-* 값보다 한 박자 느리게 */
.mz-fr { position: relative; display: inline-block; vertical-align: middle; line-height: 0; }
.mz-fr.mz-paw-arm { position: fixed; display: block; }   /* 출석 앞발은 1차 자리(화면 고정)를 그대로(겹치기 틀의 relative가 이기던 것) */
.mz-fr > img { display: block; width: 100%; height: auto; }
.mz-fr > img.off { position: absolute; left: 0; top: 0; opacity: 0; }
.mz-bob { animation: mzBob 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes mzBob { 0%, 100% { transform: none; } 50% { transform: translateY(3px) rotate(-1.5deg); } }
.mz-like-on { position: relative; animation: mzLikeBg 625ms ease-out both; }
.mz-like-on svg { animation: mzLikePress 525ms cubic-bezier(.2,.8,.3,1.25) both; }
.mz-like-on b { display: inline-block; animation: mzLikeNum 375ms cubic-bezier(.2,.8,.3,1.2) both; }
@keyframes mzLikeBg { 0% { background: #FBE3E5; } 100% { background: #FCEEEF; } }
@keyframes mzLikePress { 0% { transform: scale(1.3); } 45% { transform: scale(.84); } 72% { transform: scale(1.07); } 100% { transform: none; } }
@keyframes mzLikeNum { 0% { transform: translateY(6px); } 100% { transform: none; } }   /* 숫자는 처음부터 보이고 아래에서 살짝 올라온다 */
.mz-like-ln { position: absolute; left: 22px; top: 50%; width: 2px; height: 7px; margin-top: -3px; border-radius: 1px; background: #C2483A; pointer-events: none; opacity: 0; animation: mzLikeLn 425ms 175ms ease-out both; }
@keyframes mzLikeLn { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-11px) scaleY(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-16px) scaleY(1); } }
.mz-cheer { display: inline-block; animation: mzCheer 440ms ease-out both; }
@keyframes mzCheer { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 60% { opacity: 1; transform: translateY(-2px) scale(1.04); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mz-bob, .mz-like-on, .mz-like-on svg, .mz-like-on b, .mz-cheer { animation: none !important; } .mz-like-ln { display: none; } }
