
.prl-shell{
  --mjs-sky:#55788f;--mjs-sage-edge:#b9c7a9;
  --prl-cloth:url('/assets/playmat-mjschmetterling-cloth.webp');--prl-cloth-size:390px 380px;--prl-cloth-colour:#ece4d2;
  --prl-corners:url('/assets/playmat-mjschmetterling-corners.webp');--prl-rim:#cfc6ae
}


.prl-tile{background-image:url('/assets/piece-mjschmetterling-tile.webp');filter:drop-shadow(0 2px 2px #4a4a2e4d)}
.prl-tile .prl-art{left:7%;top:8%;width:80%;height:73%}
.prl-tile:nth-child(5n+2) .prl-art{transform:rotate(-4deg)}
.prl-tile:nth-child(7n+3) .prl-art{transform:rotate(3deg)}
.prl-tile::after{inset:2% 5% 9% 3%;border-radius:12%}


.prl-line{stroke:var(--mjs-sky)}
.prl-dot{fill:var(--mjs-sky)}


.prl-fly{position:absolute;z-index:6;pointer-events:none;display:block}
.prl-fly-body{position:absolute;left:9%;top:11%;width:76%;height:68%;display:block;animation:mjs-away 1.5s cubic-bezier(.35,.1,.45,1) forwards}
.prl-fly.is-left .prl-fly-body{animation-name:mjs-away-left}
.prl-fly .prl-art{position:static;display:block;width:100%;height:100%;transform-origin:50% 50%;animation:mjs-flap .2s ease-in-out 7 alternate;filter:drop-shadow(0 6px 4px #3f4a3340)}
@keyframes mjs-away{
  0%{transform:translate(0,0) rotate(0) scale(1);opacity:1}
  30%{transform:translate(16px,-44px) rotate(9deg) scale(1)}
  62%{transform:translate(-4px,-104px) rotate(-5deg) scale(.9);opacity:.95}
  100%{transform:translate(34px,-180px) rotate(12deg) scale(.72);opacity:0}
}
@keyframes mjs-away-left{
  0%{transform:translate(0,0) rotate(0) scale(1);opacity:1}
  30%{transform:translate(-16px,-40px) rotate(-9deg) scale(1)}
  62%{transform:translate(6px,-100px) rotate(5deg) scale(.9);opacity:.95}
  100%{transform:translate(-34px,-176px) rotate(-12deg) scale(.72);opacity:0}
}
@keyframes mjs-flap{from{transform:scaleX(1)}to{transform:scaleX(.32)}}

@media(prefers-reduced-motion:reduce){
  .prl-fly{display:none}
}
