.flip-match-result-screen-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}

.flip-match-result-screen-main-active {
    pointer-events: unset;    
}

/* FLIP MATCH RESULT SCREEN */

.flip-match-result-screen {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 400px;
    background-color: rgb(40, 40, 40);
    border-radius: 1rem;
    padding: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    box-shadow: 0 0 150px black;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: top 500ms;
}

.flip-match-result-screen-active {
    top: 50%;
}

/* FLIP MATCH RESULT SCREEN SCOREBOARD */

.flip-match-result-screen-scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    padding-block: 15px;
    background-color: rgb(50, 50, 50);
    border-radius: 0.5rem 0.5rem 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.flip-match-result-screen-scoreboard-itself-svg {
    color: white;
    width: 35px;
    height: 35px;
}

/* .flip-match-result-screen-scoreboard-itself-svg-active {
    fill: white;
}
 */
.flip-match-result-screen-scoreboard-one-star-performance .flip-match-result-screen-scoreboard-itself-svg-first {
    fill: white;
}

.flip-match-result-screen-scoreboard-two-star-performance .flip-match-result-screen-scoreboard-itself-svg-first,
.flip-match-result-screen-scoreboard-two-star-performance .flip-match-result-screen-scoreboard-itself-svg-second {
    fill: white;
}

.flip-match-result-screen-scoreboard-three-star-performance .flip-match-result-screen-scoreboard-itself-svg {
    fill: white;
}

/* FLIP MATCH RESULT SCREEN HEADER */

.flip-match-result-screen-header-container {
    background-color: rgb(23, 23, 23);
    padding: 10px;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.flip-match-result-screen-header {
    color: white;
    font-weight: 400;
    text-align: center;
}

/* FLIP MATCH RESULT SCREEN BUTTONS */

.flip-match-result-screen-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.flip-match-result-screen-button-itself {
    border-radius: 0.5rem;
    border: 0;
    height: 45px;
    font-size: 1rem;
    background-color: rgb(60, 60, 60);
    cursor: pointer;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 200ms;
}

.flip-match-result-screen-button-itself-svg {
    color: white;
    width: 20px;
    height: 20px;
}

.flip-match-result-screen-button-itself:hover {
    background-color: rgb(80,80,80);
}

.flip-match-result-screen-button-itself:disabled {
    color: gray;
    background-color: rgb(30, 30, 30);
    cursor: not-allowed;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* FLIP MATCH RESULT SCREEN GO BACK TO MENU BUTTON */

.flip-match-result-screen-go-back-to-menu-button {
    border-radius: 0.5rem;
    border: 0;
    height: 45px;
    font-size: 1rem;
    background-color: rgb(60, 60, 60);
    cursor: pointer;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 200ms;
}

.flip-match-result-screen-go-back-to-menu-button:hover {
    background-color: rgb(80,80,80);
}

/* MEDIA QUERIES */

@media (max-width: 800px) {
    .flip-match-result-screen {
        width: 300px;
    }
}

@media (max-width: 500px) {
    .flip-match-result-screen {
        width: 250px;
    }
    .flip-match-result-screen-header {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .flip-match-result-screen-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .flip-match-result-screen {
        width: 220px;
    }
}