/* Shared turn indicator: animate an isolated ring, never the avatar border. */
.game-user__img-wrap.game-user__img-active {
    position: relative;
    animation: none !important;
    border-color: #ffd031 !important;
    box-shadow: none !important;
    will-change: transform;
}

.game-user__img-wrap.game-user__img-active::after {
    content: '';
    position: absolute;
    inset: -7px;
    border: 3px solid #ffd031;
    border-radius: inherit;
    pointer-events: none;
    animation: game-active-avatar-pulse .6s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes game-active-avatar-pulse {
    from { opacity: .35; transform: scale(.96); }
    to { opacity: 1; transform: scale(1.06); }
}
