#publicGamesList {
    list-style: none;
    padding: 0;
}

#publicGamesList p {
    margin: 0;
}

#publicGamesList li {
    background-color: white;
    color: black;
    padding: 4px;
}

#publicGamesList li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#publicGamesList li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#publicGamesList li:nth-child(even) {
    background-color: lightgray;
}

.select {
    background: linear-gradient(0deg, white, rgb(219, 219, 219));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    width: fit-content;
    padding: 4px;
    gap: 8px;
}

.select button {
    min-width: 120px;
    border-radius: 8px;
    background: white;
    transition: 0.1s;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.select button:hover {
    background-color: rgb(236, 236, 236);
}

.selected {
    background: var(--black-bg) !important;
    color: white !important;
    font-weight: 900;
}

.select button img {
    width: 48px;
}

.select button p {
    margin: 0;
}

.invert {
    filter: grayscale(1);
}

.selected img {
    filter: none;
}

#lobbyPlayersList {
    list-style: none;
    padding: 0;
}

#lobbyPlayersList p {
    margin: 0;
}

#lobbyPlayersList li {
    background-color: white;
    color: black;
    padding: 4px;
}

#lobbyPlayersList li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#lobbyPlayersList li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#lobbyPlayersList li:nth-child(even) {
    background-color: lightgray;
}

#leaderboardList {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    max-height: 208px;
}

#leaderboardList li {
    background-color: white;
    color: black;
    text-align: left;
    padding: 4px;
    position: relative;
    border-radius: 8px;
    margin-bottom: 4px;
    max-width: 320px;
}


#leaderboardList li > .content {
    margin-left: 32px;
    margin-right: 64px;
}

#leaderboardList li > .content > small {
    margin: 0;
    padding: 0;
}

#leaderboardList li > .content > p {
    margin: 0;
    padding: 0;
    max-width: 300px;
}

#leaderboardList li > .ranking {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(230, 230, 230);
    overflow: hidden;
    border-radius: 4px;

    color: black;
    display: flex;
    font-weight: 900;
    align-items: center;
    width: 32px;
    justify-content: center;
}

#leaderboardList li > .content > span {
    font-weight: 700;
    font-size: 0.75em;
    color: rgb(30, 32, 30);
}

#leaderboardList li > .score {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(243, 92, 37);
    width: 48px;
    overflow: hidden;
    color: white;
    display: flex;
    border-radius: 4px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}