.move-stage{width:min(100%,350px);aspect-ratio:1;position:relative;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 36% 28%,#fff 0,#f5fffc 25%,#d8f9e8 52%,#bde9f4 75%,#fff0d6 100%);border:8px solid #fff;box-shadow:0 20px 56px #087b7127,0 0 0 3px #bce9d8;overflow:hidden}
.move-caption{position:absolute;z-index:3;top:6%;left:10%;right:10%;text-align:center;color:#0b4d69;font-size:clamp(12px,1vw,15px);font-weight:750}
.move-mode-label{position:absolute;z-index:3;top:15%;left:8%;right:8%;text-align:center;color:#0a4e72;font-weight:950;font-size:clamp(13px,1.1vw,16px)}
.move-svg{width:76%;height:76%;overflow:visible;filter:drop-shadow(0 5px 8px #0b436a30)}
.move-arrow{fill:none;stroke:#ff861f;stroke-width:6;stroke-linecap:round;stroke-dasharray:7 8;marker-end:url(#moveArrow);opacity:0}
.move-kind-0 .arrow-shoulder,.move-kind-1 .arrow-hand,.move-kind-2 .arrow-leg,.move-kind-3 .arrow-sway{opacity:1;animation:moveArrowFlow 1.1s linear infinite}
.move-kind-0 .whole-body{animation:moveShoulderLift 1.3s ease-in-out infinite alternate}.move-kind-0 .arms{transform-box:fill-box;transform-origin:center top;animation:moveShoulder 1.8s ease-in-out infinite}
.move-kind-1 .whole-body{opacity:.12}.move-kind-1 .hand-demo{display:flex}
.move-kind-2 .legs{transform-box:fill-box;transform-origin:center;animation:moveLegs 1s ease-in-out infinite alternate}
.move-kind-3 .whole-body{transform-box:fill-box;transform-origin:center;animation:moveSway 1.1s ease-in-out infinite alternate}
.hand-demo{display:none;position:absolute;z-index:4;left:12%;right:12%;top:42%;height:70px;align-items:center;justify-content:center;gap:16px;border:2px solid #fff;border-radius:22px;background:#ffffffeb;box-shadow:0 12px 25px #12577525;font-size:42px}
.hand-demo b{font-size:26px;color:#ff861f}.demo-fist{animation:fistCycle 1.8s ease-in-out infinite}.demo-palm{animation:palmCycle 1.8s ease-in-out infinite}
@keyframes fistCycle{0%,42%,100%{transform:scale(1);opacity:1}50%,92%{transform:scale(.72);opacity:.4}}@keyframes palmCycle{0%,42%,100%{transform:scale(.72);opacity:.4}50%,92%{transform:scale(1);opacity:1}}
@keyframes moveArrowFlow{to{stroke-dashoffset:-30}}@keyframes moveShoulder{0%,100%{transform:rotate(0)}50%{transform:rotate(8deg)}}@keyframes moveShoulderLift{from{transform:translateY(2px)}to{transform:translateY(-8px)}}@keyframes moveLegs{from{transform:translateY(0)}to{transform:translateY(-10px)}}@keyframes moveSway{from{transform:translateX(-7px)}to{transform:translateX(7px)}}
.move-stage small{position:absolute;bottom:8%;padding:6px 12px;border-radius:999px;background:#fff;color:#0b5671;font-weight:900;box-shadow:0 4px 14px #0c739522}
#activity.active{overflow-y:auto!important}
#activity .activity{height:auto!important;min-height:100%;align-content:center}
#activity .activity-copy{height:auto;max-height:none;overflow:visible;align-self:center}
#activity .content-card{height:auto;max-height:none;overflow:visible}
#activity .content-card .content-text{display:block;white-space:normal;overflow-wrap:anywhere;font-size:clamp(18px,1.65vw,24px);line-height:1.5}
#activity .safe-note{height:auto;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
@media(max-width:850px){.move-stage{width:min(76vw,270px);border-width:6px}#activity .activity{height:auto!important;min-height:100%;align-content:start}#activity .activity-copy{width:100%}#activity .content-card .content-text{font-size:18px}}
@media(prefers-reduced-motion:reduce){.move-stage *{animation:none!important}}

/* Keep movement labels in the instruction card, never over the demonstration */
.move-caption,.move-mode-label{display:none!important}
.move-stage{overflow:hidden;isolation:isolate}
.move-svg{width:84%;height:84%}
.move-kind-0 .whole-body{animation:moveShoulderLift 1.15s ease-in-out infinite alternate}
.move-kind-0 .arms{animation:moveShoulder 1.35s ease-in-out infinite}
.move-kind-1 .whole-body{display:none}
.move-kind-1 .hand-demo{display:flex;top:38%;height:92px;font-size:54px}
.move-kind-2 .legs{animation:moveLegs .85s ease-in-out infinite alternate}
.move-kind-3 .whole-body{animation:moveSway .95s ease-in-out infinite alternate}
.move-type{display:block;margin:9px 0 7px;padding:10px 13px;border-radius:13px;background:linear-gradient(100deg,#dff9e9,#e2f4ff 65%,#fff1d8);color:#0b4c70;font-size:clamp(14px,1.15vw,17px);font-weight:950;line-height:1.35;overflow-wrap:anywhere}
#activity.active{height:100%;min-height:0;overflow-y:auto!important;overflow-x:hidden}
#activity .activity{height:auto!important;min-height:100%;align-content:center;align-items:center}
#activity .activity-copy{min-height:0;max-height:none;overflow:visible}
#activity .content-card{height:auto;max-height:none;overflow:visible;margin:12px 0;padding:clamp(14px,1.7vw,22px)}
#activity .content-card .content-text{font-size:clamp(18px,1.5vw,22px);line-height:1.48;margin:8px 0;overflow-wrap:anywhere}
#activity .safe-note{margin-top:10px;padding:9px 12px;font-size:13px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
#activity .timer-line{margin:10px 0}
#activity .activity-controls{margin-top:10px;gap:8px}
@media(max-width:850px){.move-svg{width:80%;height:80%}.move-kind-1 .hand-demo{top:38%;height:78px;font-size:45px}#activity.active{height:auto;min-height:100%}#activity .activity{align-content:start}#activity .content-card .content-text{font-size:17px}#activity .safe-note{font-size:12px}}

/* Prevent the demonstration from being clipped by the short visual column */
#activity .activity-visual:has(.move-stage){height:380px!important;min-height:380px!important;overflow:visible!important;border-radius:28px}
#activity .activity-visual:has(.eye-stage){height:340px!important;min-height:340px!important;overflow:visible!important;border-radius:28px}
#activity .move-stage{width:min(100%,350px);height:auto;aspect-ratio:1;overflow:hidden;border-radius:50%}
#activity .move-stage .move-svg{width:78%;height:78%;max-height:none}
#activity .move-kind-1 .whole-body{display:block!important;opacity:.3}
#activity .move-kind-1 .hand-demo{left:7%;right:7%;height:82px;top:41%;background:#ffffffed}
#activity.active{height:auto!important;min-height:calc(100vh - 140px);overflow-y:auto!important;overflow-x:hidden}
#activity .activity{height:auto!important;min-height:calc(100vh - 140px);align-content:center}
@media(max-width:850px){#activity .activity-visual:has(.move-stage){height:300px!important;min-height:300px!important;overflow:visible!important}#activity .activity-visual:has(.eye-stage){height:290px!important;min-height:290px!important;overflow:visible!important}#activity .move-stage{width:min(76vw,270px)}#activity .move-stage .move-svg{width:78%;height:78%}#activity.active{height:auto!important;min-height:calc(100vh - 120px)}#activity .activity{min-height:calc(100vh - 120px)}}

/* Move the duration badge below the artwork so it never covers the legs */
#activity .activity-visual:has(.move-stage){height:420px!important;min-height:420px!important;overflow:visible!important;padding-bottom:34px}
#activity .move-stage{overflow:visible!important;width:min(100%,350px);height:auto;aspect-ratio:1}
#activity .move-stage .move-svg{width:86%;height:86%;max-height:none}
#activity .move-stage small{left:50%;bottom:-36px;transform:translateX(-50%);white-space:nowrap;z-index:5}
@media(max-width:850px){#activity .activity-visual:has(.move-stage){height:350px!important;min-height:350px!important;padding-bottom:34px}#activity .move-stage{width:min(76vw,270px)}#activity .move-stage .move-svg{width:84%;height:84%}#activity .move-stage small{bottom:-34px}}
