.teen62Container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.playerSection {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.playerName {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    padding: 2px 2px;
    border-radius: 4px;
    align-self: flex-start;
}

.playerCards {
    display: flex;
    gap: 2px;
}

.cardImage {
    width: 3rem;
    height: 4rem;
    object-fit: contain;
    border-radius: 4px;
    background-color: white;
    animation: flipIn 0.5s ease-out both;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

@keyframes flipIn {
    from {
        transform: perspective(600px) rotateY(90deg);
        opacity: 0;
    }

    to {
        transform: perspective(600px) rotateY(0deg);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cardImage {
        width: 1.8rem;
        height: 2.5rem;
    }

    .playerName {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
    
    .teen62Container {
        gap: 0.5rem;
    }
    
    .playerSection {
        gap: 0;
    }
}