.pn2,.ck2{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:14px;background:#0a0d22;min-height:340px}
.pn2-stage,.ck2-stage{position:relative;border-radius:14px;overflow:hidden;aspect-ratio:800/440;border:1px solid #262E63;background:#070a1c}
.pn2-svg,.ck2-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.pn2-zones{position:absolute;left:26.25%;top:21.8%;width:47.5%;height:37.7%;display:grid;grid-template-columns:repeat(3,1fr)}
.pn2-zone{background:rgba(139,241,255,.05);border:2px dashed rgba(139,241,255,.45);color:#8bf1ff;font-size:26px;cursor:pointer;display:grid;place-items:center;transition:.15s}
.pn2-zone:hover,.pn2-zone:focus-visible{background:rgba(139,241,255,.2);border-color:#8bf1ff;color:#fff;outline:0}
.pn2-zone:first-child{border-radius:12px 0 0 12px}.pn2-zone:last-child{border-radius:0 12px 12px 0}
/* penalty */
.pn2-keeper{transform-origin:0 0}
.pn2-keeper.idle{animation:pnSway 2.4s ease-in-out infinite}
.pn2-keeper.dive-left{animation:pnDiveL .55s .12s cubic-bezier(.2,.8,.3,1) both}
.pn2-keeper.dive-right{animation:pnDiveR .55s .12s cubic-bezier(.2,.8,.3,1) both}
.pn2-keeper.dive-center{animation:pnDiveC .5s .12s cubic-bezier(.2,.8,.3,1) both}
@keyframes pnSway{0%,100%{transform:translateX(-5px)}50%{transform:translateX(5px)}}
@keyframes pnDiveL{to{transform:translate(-125px,-16px) rotate(-64deg)}}
@keyframes pnDiveR{to{transform:translate(125px,-16px) rotate(64deg)}}
@keyframes pnDiveC{to{transform:translate(0,-26px) scale(1.07)}}
.pn2-ball{transform-origin:0 0}
.pn2-ball.shot-left{animation:pnBL .62s cubic-bezier(.2,.6,.3,1) both}
.pn2-ball.shot-center{animation:pnBC .62s cubic-bezier(.2,.6,.3,1) both}
.pn2-ball.shot-right{animation:pnBR .62s cubic-bezier(.2,.6,.3,1) both}
@keyframes pnBL{0%{transform:translate(0,0) scale(1) rotate(0)}100%{transform:translate(-110px,-214px) scale(.5) rotate(-540deg)}}
@keyframes pnBC{0%{transform:translate(0,0) scale(1) rotate(0)}100%{transform:translate(0,-198px) scale(.5) rotate(540deg)}}
@keyframes pnBR{0%{transform:translate(0,0) scale(1) rotate(0)}100%{transform:translate(110px,-214px) scale(.5) rotate(540deg)}}
.pn2-netfx{opacity:0}.pn2-netfx path{stroke:#8bf1ff;stroke-width:1.6}
.is-goal .pn2-netfx{animation:pnNet .9s .5s both}
@keyframes pnNet{0%{opacity:0;transform:translateY(0)}35%{opacity:1;transform:translateY(7px)}100%{opacity:0;transform:translateY(0)}}
.pn2-call{transform-box:fill-box;transform-origin:center;animation:callPop .45s .55s both}
.pn2-call rect{fill:rgba(11,15,42,.9);stroke-width:3}.pn2-call.g rect{stroke:#2fe38a}.pn2-call.x rect{stroke:#ff4d6d}
.pn2-call text,.ck2-call text{font:900 40px system-ui,Arial,sans-serif;fill:#fff;letter-spacing:2px}
.pn2-call.g text{fill:#2fe38a}.pn2-call.x text{fill:#ff6b86}
@keyframes callPop{0%{opacity:0;transform:scale(.4)}70%{transform:scale(1.1)}100%{opacity:1;transform:scale(1)}}
/* cricket */
.ck2-ball{transform-origin:0 0}
.ck2-bat{transform-origin:18px -100px}.ck2-bowlarm{transform-origin:8px -98px}
.ck2-dot .ck2-ball,.ck2-run .ck2-ball,.ck2-four .ck2-ball,.ck2-six .ck2-ball,.ck2-out .ck2-ball{animation-fill-mode:both}
.ck2-dot .ck2-ball{animation:ckDot 1.1s ease-out both}
.ck2-run .ck2-ball{animation:ckRun 1.5s ease-out both}
.ck2-four .ck2-ball{animation:ckFour 1.4s ease-out both}
.ck2-six .ck2-ball{animation:ckSix 1.5s ease-out both}
.ck2-out .ck2-ball{animation:ckOut 1s ease-in both}
@keyframes ckDot{0%{transform:translate(0,0)}45%{transform:translate(-292px,24px)}60%{transform:translate(-282px,70px)}100%{transform:translate(-276px,92px)}}
@keyframes ckRun{0%{transform:translate(0,0)}35%{transform:translate(-292px,24px)}55%{transform:translate(-200px,-30px)}100%{transform:translate(-30px,92px)}}
@keyframes ckFour{0%{transform:translate(0,0)}30%{transform:translate(-292px,24px)}100%{transform:translate(220px,92px)}}
@keyframes ckSix{0%{transform:translate(0,0)}30%{transform:translate(-292px,24px)}100%{transform:translate(170px,-250px) scale(.4);opacity:0}}
@keyframes ckOut{0%{transform:translate(0,0)}70%,100%{transform:translate(-368px,60px)}}
.ck2-run .ck2-bat,.ck2-four .ck2-bat,.ck2-six .ck2-bat,.ck2-dot .ck2-bat{animation:ckSwing .55s .35s ease-in-out both}
@keyframes ckSwing{0%{transform:rotate(0)}40%{transform:rotate(-100deg)}100%{transform:rotate(14deg)}}
.ck2-svg:not(.ck2-idle) .ck2-bowlarm{animation:ckBowl .45s ease-in both}
@keyframes ckBowl{0%{transform:rotate(-170deg)}100%{transform:rotate(10deg)}}
.ck2-out .ck2-stump.s0{animation:ckS0 .7s .65s ease-out both}.ck2-out .ck2-stump.s1{animation:ckS1 .7s .65s ease-out both}.ck2-out .ck2-stump.s2{animation:ckS2 .7s .65s ease-out both}
.ck2-stump{transform-box:fill-box;transform-origin:50% 100%}
@keyframes ckS0{to{transform:rotate(-70deg) translateX(-18px)}}@keyframes ckS1{to{transform:rotate(28deg) translateY(4px)}}@keyframes ckS2{to{transform:rotate(80deg) translateX(14px)}}
.ck2-bail{transform-box:fill-box;transform-origin:center}
.ck2-out .ck2-bail.b0{animation:ckB0 .9s .65s ease-out both}.ck2-out .ck2-bail.b1{animation:ckB1 .9s .65s ease-out both}
@keyframes ckB0{to{transform:translate(-40px,-70px) rotate(-300deg);opacity:0}}@keyframes ckB1{to{transform:translate(34px,-80px) rotate(260deg);opacity:0}}
.ck2-call{transform-box:fill-box;transform-origin:center;animation:callPop .45s .6s both}
.ck2-call rect{fill:rgba(11,15,42,.9);stroke:#8bf1ff;stroke-width:3}.ck2-call.out rect{stroke:#ff4d6d}.ck2-call.out text{fill:#ff6b86}
.ck2-call.six rect{stroke:#ffb020}.ck2-call.six text{fill:#ffd27a}.ck2-call.four rect{stroke:#2fe38a}.ck2-call.four text{fill:#2fe38a}
.ck2-fx circle{fill:#ffd27a;animation:ckFx 1s .8s ease-out both;transform-box:fill-box;transform-origin:center}
@keyframes ckFx{0%{opacity:0;transform:scale(.2)}40%{opacity:1;transform:scale(2.4)}100%{opacity:0;transform:scale(.6) translateY(-24px)}}
.ck2.out .ck2-stage{box-shadow:0 0 0 2px #ff4d6d55 inset}
@media (prefers-reduced-motion:reduce){.pn2 *,.ck2 *{animation-duration:.01s!important;animation-delay:0s!important}}
