/* Coreografía: nadie quiere quedarse con la pelota. */
.scene-strip .character{animation-duration:12s;animation-timing-function:cubic-bezier(.45,0,.2,1);animation-iteration-count:infinite;will-change:transform;backface-visibility:hidden}
.scene-strip .kid{animation-name:kid-dodge}
.scene-strip .green{animation-name:green-dodge}
.scene-strip .elf{animation-name:elf-dodge}
.scene-strip .skeleton{animation-name:skeleton-dodge}
.scene-strip .hot-potato{width:60px;height:60px;padding:4px;border:4px solid #d3a33d;background:linear-gradient(145deg,#c52e2e,#7d1111);box-shadow:0 0 0 3px rgba(255,244,188,.75),0 9px 20px rgba(34,12,5,.38),0 0 23px rgba(255,197,82,.75);overflow:visible;animation:photo-ball 12s linear infinite;will-change:left,top,transform;z-index:20}
.scene-strip .ball-photo{width:100%;height:100%;display:block;border-radius:50%;overflow:hidden;background:#d8e6f2}
.scene-strip .hot-potato img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(2.15);transform-origin:44% 31%;filter:saturate(.92) contrast(1.05)}
.scene-strip .hot-potato:before{content:"";position:absolute;inset:-10px;border:3px solid rgba(255,224,126,.75);border-radius:50%;animation:ball-pulse 1s ease-in-out infinite;pointer-events:none}

@keyframes kid-dodge{
  0%,5%,100%{transform:translate(0,0) rotate(0) scale(1)}
  8%{transform:translate(5px,4px) rotate(4deg) scale(1.03,.96)}
  12%{transform:translate(17px,-17px) rotate(8deg) scale(.98,1.04)}
  17%{transform:translate(4px,0) rotate(-4deg) scale(1.03,.97)}
  22%,57%{transform:translate(0,0) rotate(0) scale(1)}
  61%{transform:translate(-8px,7px) rotate(-6deg) scale(1.04,.94)}
  65%{transform:translate(8px,-55px) rotate(9deg) scale(.97,1.06)}
  69%{transform:translate(18px,-20px) rotate(5deg) scale(1)}
  73%{transform:translate(0,2px) rotate(-4deg) scale(1.03,.97)}
  78%,88%{transform:translate(0,0) rotate(0) scale(1)}
  91%{transform:translate(3px,-7px) rotate(3deg) scale(1)}
  94%{transform:translate(0,0) rotate(-2deg) scale(1)}
}
@keyframes green-dodge{
  0%,15%,100%{transform:translate(0,0) rotate(0) scale(1)}
  19%{transform:translate(-5px,2px) rotate(-3deg) scale(1.02,.98)}
  23%{transform:translate(-21px,12px) rotate(-11deg) scale(1.04,.91)}
  27%{transform:translate(20px,-31px) rotate(9deg) scale(.96,1.07)}
  31%{transform:translate(8px,-7px) rotate(4deg) scale(1)}
  35%,66%{transform:translate(0,0) rotate(0) scale(1)}
  70%{transform:translate(-15px,10px) rotate(-8deg) scale(1.05,.92)}
  74%{transform:translate(8px,-18px) rotate(5deg) scale(.98,1.04)}
  78%,100%{transform:translate(0,0) rotate(0) scale(1)}
}
@keyframes elf-dodge{
  0%,28%,100%{transform:translate(0,0) rotate(0) scale(1)}
  32%{transform:translate(0,-9px) rotate(-2deg) scale(1.02)}
  36%{transform:translate(-8px,6px) rotate(-5deg) scale(1.04,.95)}
  41%{transform:translate(12px,-58px) rotate(7deg) scale(.96,1.07)}
  45%{transform:translate(22px,-22px) rotate(5deg) scale(1)}
  49%{transform:translate(4px,3px) rotate(-4deg) scale(1.03,.97)}
  53%,75%{transform:translate(0,0) rotate(0) scale(1)}
  79%{transform:translate(19px,8px) rotate(8deg) scale(1.04,.93)}
  83%{transform:translate(-10px,-24px) rotate(-5deg) scale(.98,1.04)}
  87%,100%{transform:translate(0,0) rotate(0) scale(1)}
}
@keyframes skeleton-dodge{
  0%,42%,100%{transform:translate(0,0) rotate(0) scale(1)}
  47%{transform:translate(8px,-4px) rotate(3deg) scale(1.01)}
  51%{transform:translate(31px,5px) rotate(12deg) scale(1.02,.96)}
  56%{transform:translate(-12px,-42px) rotate(-8deg) scale(.97,1.06)}
  61%{transform:translate(-4px,-7px) rotate(-3deg) scale(1)}
  65%,82%{transform:translate(0,0) rotate(0) scale(1)}
  86%{transform:translate(18px,-16px) rotate(10deg) scale(1.01)}
  90%{transform:translate(-9px,-24px) rotate(-7deg) scale(.98,1.03)}
  94%,100%{transform:translate(0,0) rotate(0) scale(1)}
}
@keyframes photo-ball{
  0%,5%{left:16%;top:48%;transform:translate(0,0) rotate(0deg) scale(.94)}
  11%{left:20%;top:31%;transform:translate(0,0) rotate(120deg) scale(1)}
  21%{left:38%;top:28%;transform:translate(0,0) rotate(320deg) scale(1.07)}
  27%{left:44%;top:54%;transform:translate(0,0) rotate(450deg) scale(.97)}
  36%{left:62%;top:25%;transform:translate(0,0) rotate(650deg) scale(1.06)}
  43%{left:70%;top:53%;transform:translate(0,0) rotate(790deg) scale(.96)}
  51%{left:86%;top:22%;transform:translate(0,0) rotate(980deg) scale(1.08)}
  58%{left:79%;top:57%;transform:translate(0,0) rotate(1130deg) scale(.95)}
  66%{left:62%;top:36%;transform:translate(0,0) rotate(1320deg) scale(1.05)}
  73%{left:42%;top:55%;transform:translate(0,0) rotate(1480deg) scale(.96)}
  82%{left:20%;top:34%;transform:translate(0,0) rotate(1670deg) scale(1.06)}
  88%{left:13%;top:57%;transform:translate(0,0) rotate(1790deg) scale(.94)}
  94%,100%{left:16%;top:48%;transform:translate(0,0) rotate(1870deg) scale(.94)}
}
@keyframes ball-pulse{0%,100%{transform:scale(.78);opacity:0}45%{opacity:.85}75%{transform:scale(1.12);opacity:0}}

@media(max-width:760px){.scene-strip .hot-potato{width:44px;height:44px;border-width:3px;padding:3px}.scene-strip .hot-potato:before{inset:-7px;border-width:2px}}
@media(prefers-reduced-motion:reduce){.scene-strip .character{animation:none!important}.scene-strip .hot-potato{animation:none!important;left:46%;top:34%;transform:none}.scene-strip .hot-potato:before{animation:none;opacity:.35}}
