#selectPlayer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* Player container */

.player-select {
    position: relative;

    min-width: 0;
}


/* Hide radio button */

.player-select .activePlayer {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


/* Player card */

.playerLb {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 76px;

    padding: 10px 12px;

    box-sizing: border-box;

    background-color: white;

    border: 1px solid #e4e4e7;
    border-left: 4px solid transparent;

    border-radius: 10px;

    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.playerLb:hover {
    transform: translateY(-2px);

    border-color: #d7b5be;
    border-left-color: #6D071A;

    background-color: #fffafb;

    box-shadow: 0 5px 14px rgba(109, 7, 26, 0.10);
}


/* Selected player */

.activePlayer:checked + .playerLb {
    border-color: #6D071A;
    border-left-color: #6D071A;

    background-color: #f9eef1;

    box-shadow: 0 3px 12px rgba(109, 7, 26, 0.15);
}


/* Avatar */

.playerLb .pict {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 50%;

    background-color: #f4f4f5;

    border: 2px solid #eeeeee;
}

.activePlayer:checked + .playerLb .pict {
    border-color: #6D071A;
}


/* Player information */

.player-select-info {
    min-width: 0;

    flex: 1;
}


/* Name */

.player-select-name {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 4px;
}

.player-select-name .flag {
    width: 22px;
    height: 14px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 2px;

    border: 1px solid rgba(0, 0, 0, 0.08);
}

.player-select-name > span {
    overflow: hidden;

    color: #27272a;

    font-size: 14px;
    font-weight: 650;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Ranking */

.player-select-rank {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #71717a;

    font-size: 12px;
}


/* Category */

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    box-sizing: border-box;

    border-radius: 5px;

    background-color: #f1f1f1;

    color: #6D071A;

    font-size: 11px;
    font-weight: 700;
}


/* Progress */

.player-progress {
    margin-top: 6px;
}

.miniLevel {
    width: 100%;
    height: 4px;

    overflow: hidden;

    border-radius: 3px;

    background-color: #eeeeee;
}

.spanXp {
    margin-top: 3px;
    color: white;
    font-size: 10px;
}

@media screen and (max-width: 430px) {

    #selectPlayer {
        gap: 6px;
    }

    .playerLb {
        gap: 6px;

        min-height: 62px;

        padding: 7px;
    }

    .playerLb .pict {
        width: 38px;
        height: 38px;
    }

    .player-select-name {
        gap: 4px;
    }

    .player-select-name .flag {
        width: 18px;
        height: 12px;
    }

    .player-select-name > span {
        font-size: 11px;
    }

    .player-select-rank {
        font-size: 10px;
    }

    .rank-badge {
        min-width: 17px;
        height: 17px;

        font-size: 9px;
    }
}