/* Full-body standalone PNG characters, shared by cards and the penalty arena. */
.character-art{display:block;width:100%;height:100%;object-fit:contain;object-position:center;user-select:none;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 5px 4px #0005)}
.player-portrait{inset:5% 7% 22%;z-index:0;background:none;mask-image:none}
.player-card{background-image:radial-gradient(ellipse at 50% 36%,#ffffff1a,transparent 55%),linear-gradient(145deg,#294362,#101d35);box-shadow:0 9px 0 #040917,0 15px 26px #0006,inset 0 1px 4px #fff6;transition:transform .25s,box-shadow .25s;contain:layout style}
.player-card::before{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#ffffff12 40%,transparent 55%);pointer-events:none;z-index:1}
.player-card:hover,.player-card:focus-visible{transform:translateY(-5px);box-shadow:0 9px 0 #040917,0 16px 32px color-mix(in srgb,var(--card-color) 25%,transparent),inset 0 1px 4px #fff6}
.player-card.locked{filter:none;opacity:1}.locked .player-portrait{filter:none}.lock-label{top:auto;bottom:19%;left:10%;right:10%;font-size:7px;letter-spacing:.7px;padding:4px;border-radius:5px;background:#070e24dd;color:#e4eaff;border:1px solid #ffffff24}
.card-info{bottom:4%;left:5%;right:5%}.card-info strong{font-size:clamp(17px,1.7vw,24px);line-height:1.1}.card-info small{margin-top:4px}.rating{top:6%;left:7%;font-size:29px;text-shadow:0 2px 4px #000,0 0 8px #000}.rating small{font-size:7px}.inspect .player-card{width:min(310px,72vw);max-height:57svh}.inspect .player-card:hover{transform:none}.reveal .player-card .player-portrait{inset:5% 7% 22%}.art-unavailable{font-size:10px;line-height:1.6;color:#c4cee3;align-self:center;padding:20px}
.penalty-field{min-height:280px}.keeper{top:25%;left:37%;width:26%;height:33%;z-index:2;transform-origin:center 70%;animation:keeperReady 1.7s ease-in-out infinite}.keeper .character-art{object-position:center bottom}.striker{position:absolute;left:18%;top:57%;width:29%;height:40%;z-index:4;transform-origin:55% 82%;filter:drop-shadow(0 5px 3px #0004)}.striker .character-art{object-position:center bottom}.shot-ball{width:clamp(21px,5cqw,36px);height:clamp(21px,5cqw,36px);left:calc(50% - clamp(10.5px,2.5cqw,18px));top:76%;border:1px solid #1c2432;border-radius:50%;background:conic-gradient(from 18deg,#f8f9ff 0deg 48deg,#18212e 48deg 96deg,#fff 96deg 144deg,#273447 144deg 192deg,#fff 192deg 240deg,#18212e 240deg 288deg,#fff 288deg);box-shadow:inset -4px -4px 5px #0006,inset 3px 3px 4px #fff,0 4px 5px #0005;z-index:3;line-height:normal;font-size:0;filter:none}
.shooting .striker{animation:strikerRunUp .72s cubic-bezier(.4,0,.3,1) both}
.shooting .shot-ball{animation:shotFlight 1s cubic-bezier(.22,.61,.36,1) .72s both}
.shooting .keeper{animation:keeperDive .7s cubic-bezier(.15,.65,.35,1) .9s both}
.goal .striker{animation:strikerHappy 1.1s ease-in-out infinite}.goal .keeper{animation:keeperDisappointed .8s ease-in-out both;opacity:.9}.saved .keeper{animation:keeperCelebrate 1s ease-in-out infinite}.saved .striker{animation:strikerOops .9s ease-in-out both}
.goal .shot-ball{opacity:.55}.saved .shot-ball{animation:savedBall .5s ease-out both}
.goal .goal-confetti{animation:goalCelebration 2s both}.goal .goal-net{animation:netRipple .5s ease-out}
@keyframes keeperReady{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}
@keyframes keeperDive{0%{transform:translateY(-1cqw) scaleY(.95)}100%{transform:translateX(var(--keeper-travel)) translateY(-1cqw) rotate(var(--dive-angle))}}
@keyframes strikerRunUp{0%{transform:translate(0,0) rotate(-4deg)}20%{transform:translate(2cqw,-1cqw) rotate(5deg)}40%{transform:translate(4cqw,-2cqw) rotate(-5deg)}60%{transform:translate(6cqw,-3cqw) rotate(4deg)}82%{transform:translate(8cqw,-4cqw) rotate(-9deg)}100%{transform:translate(9cqw,-4cqw) rotate(8deg)}}
@keyframes strikerHappy{0%,100%{transform:translate(8cqw,-4cqw) rotate(-7deg)}35%{transform:translate(8cqw,-9cqw) rotate(7deg)}70%{transform:translate(8cqw,-4cqw) rotate(-4deg)}}
@keyframes keeperCelebrate{0%,100%{transform:translateY(0) rotate(-8deg)}35%{transform:translateY(-5cqw) rotate(8deg)}70%{transform:translateY(-1cqw) rotate(-5deg)}}
@keyframes keeperDisappointed{from{transform:translateX(var(--keeper-travel)) rotate(var(--dive-angle))}to{transform:translateX(var(--keeper-travel)) translateY(1cqw) rotate(12deg)}}
@keyframes strikerOops{from{transform:translate(9cqw,-4cqw) rotate(8deg)}to{transform:translate(8cqw,-3cqw) rotate(-12deg)}}
@media(max-width:600px){.player-portrait{inset:5% 5% 22%}.rating{font-size:27px;left:6%}.rating small{font-size:6px}.lock-label{font-size:6px}.card-info strong{font-size:20px}.penalty-field{min-height:260px}.inspect .player-card{max-height:55svh}.striker{left:16%;width:31%}}
@media(prefers-reduced-motion:reduce){.player-card{transition:none}.player-card:hover{transform:none}.shooting .striker{transform:translate(9cqw,-4cqw)}.shooting .keeper{transform:translateX(var(--keeper-travel)) rotate(var(--dive-angle))}.goal .striker{transform:translate(8cqw,-4cqw) rotate(5deg)}.saved .keeper{transform:translateY(-2cqw) rotate(-7deg)}}
