@keyframes gold-flash-pseudo {
    0% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: 0 0 30px 15px rgba(255, 215, 0, 1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.7);
    }
}

.character-display.completed {
    position: relative;
    z-index: 10;
    border-color: gold !important;
    transition: border-color 0.2s;
}

.character-display.completed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
    animation: gold-flash-pseudo 1s ease-in-out forwards;
}
