/* modal match detail */

.mobile .team-versus-title {
    background: #00000055;
}
.card-match-detail {
    background: transparent;
    /* border-radius: 15px; */
    padding: 0;
    position: relative;
}

.itemization-container .mobile .card-match-team,
.card-match-detail .mobile .card-match-team {
    border: none !important;
}

.card-match-detail .card-match-team,
.itemization-container .card-match-team {
    border: 1px solid #989380;
    border-radius: 0;
    padding: 10px;
    color: #989380;
    min-width: 130px;
    position: relative;
    background: #00000055;
}

.card-match-detail .mobile .card-match-team,
.itemization-container .mobile .card-match-team {
    padding: 0;
    width: 46%;
    background: transparent;
}

.card-match-detail .card-match-team .match-status,
.itemization-container .card-match-team .match-status {
    position: absolute;
    top: 50%;
    left: -10px;
    height: calc(100% + 2px);
    width: 20px;
    font-weight: 600;
    background-color: #989380;
    color: white;
    border: 2px solid #989380;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.itemization-container .mobile .card-match-team .match-status,
.card-match-detail .mobile .card-match-team .match-status {
    position: static;
    height: auto;
    transform: translateY(0);
    padding: 16px 0px;
}
.card-match-detail .title-team-1.card-match-team.victory,
.itemization-container .title-team-1.card-match-team.victory {
    border-color: #0a96e4;
    color: white;
}

.card-match-detail .title-team-2.card-match-team.victory,
.itemization-container .title-team-2.card-match-team.victory {
    border-color: #FFD154;
    color: white;
}

.card-match-detail .title-team-2.card-match-team.victory .match-status,
.itemization-container .title-team-2.card-match-team.victory .match-status {
    border-color: #FFD154;
    background-color: #FFD154;
}

.card-match-detail .title-team-1.card-match-team.victory .match-status,
.itemization-container .title-team-1.card-match-team.victory .match-status {
    border-color: #0a96e4;
    background-color: #0a96e4;
}
.card-match-detail .card-match-team .match-status div,
.itemization-container .card-match-team .match-status div {
    transform: rotate(-90deg);
}
.card-match-detail .card-match-team:last-child,
.itemization-container .card-match-team:last-child {
    border-radius: 0;
}
.card-match-detail .card-match-team:last-child .match-status,
.itemization-container .card-match-team:last-child .match-status {
    left: auto;
    right: -10px;
}
.card-match-detail .card-match-team:last-child .match-status div,
.itemization-container .card-match-team:last-child .match-status div {
    transform: rotate(-90deg);
}
.card-match-detail .player-info-stats {
    /* border-top: 1px solid #f7ab00;
    border-bottom: 1px solid #f7ab00; */
    position: relative;
    min-height: 110px;
    border-radius: 10px 0 0 0;
}
.card-match-detail .player-info-stats.team2 {
    border-radius: 0 10px 0 0;
}
.card-match-detail .player-info-stats .text-role {
    position: absolute;
    bottom: 0;
    right: calc(0% - 120px);
    background: black;
    padding: 5px 12px;
    border-radius: 10px 10px 0 0;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.75rem;
    z-index: 1000;
    transform: translateX(-50%);
    width: 120px;
    text-align: center;
}
.card-match-detail .player-info-stats .text-role .role-icon {
    width: 20px;
    margin-right: 5px;
}
.card-match-detail .player-info-stats .text-role .role-icon img {
    width: 20px;
    aspect-ratio: 1;
    object-fit: contain;
}
.card-match-detail .player-info-stats .text-role .role-name {
    width: calc(100% - 20px);
}
.card-match-detail .player-info-stats.team2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 2px;
    height: calc(100% - 40px);
    /* background: #d6d6d6; */
}
.card-match-detail .player-info-stats.team1 .player-data .player-data-info {
    /* padding: 30px 5px 12px; */
    padding: 12px 5px 0px 5px;
    background: url("../images/s16/bgs/stat-player-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: -2.62px 0px 7.86px 0px #00000040;
}

.card-match-detail .player-info-stats.team2 .player-data .player-data-info {
    /* padding: 30px 5px 12px; */
    padding: 12px 5px 0px 5px;
    background: url("../images/s16/bgs/stat-player-bg2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: -2.62px 0px 7.86px 0px #00000040;
}


.player-info-stats.team2 .player-data-info-orn-left::before,
.player-info-stats.team2 .player-data-info-orn-left::after,
.player-info-stats.team2 .player-data-info-orn-right::before,
.player-info-stats.team2 .player-data-info-orn-right::after,
.player-info-stats.team2 .player-data-info-orn-left::before,
.player-info-stats.team2 .player-data-info-orn-left::after,
.player-info-stats.team2 .player-data-info-orn-right::before,
.player-info-stats.team2 .player-data-info-orn-right::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: url("../images/s16/orns/stat-player-orn2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.player-data-info-orn-left::before,
.player-data-info-orn-left::after,
.player-data-info-orn-right::before,
.player-data-info-orn-right::after,
.player-data-info-orn-left::before,
.player-data-info-orn-left::after,
.player-data-info-orn-right::before,
.player-data-info-orn-right::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: url("../images/s16/orns/stat-player-orn.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.player-data-info-orn-left::before {
    top: 0;
    left: 0;
}
.player-data-info-orn-left::after {
    bottom: 0;
    left: 0;
    opacity: 50%;
}
.player-data-info-orn-right::before {
    top: 0;
    right: 0;
}
.player-data-info-orn-right::after {
    bottom: 0;
    right: 0;
    opacity: 50%;
}


.card-match-detail .player-info-stats.team2 .player-data .player-data-info {
    border-radius: 0;
}
.card-match-detail .player-info-stats .player-data {
    /* background: #fbc2001f; */
    width: 100%;
    padding-bottom: 35px;
}
#modal-match-detail .kda,
.card-match-detail .kda {
    font-weight: 600;
    font-size: 0.8rem;
}
#modal-match-detail .kda .kda-text,
.card-match-detail .kda .kda-text {
    font-size: 0.7rem;
    line-height: 1.2;
}
#modal-match-detail .stats .kda-text,
.card-match-detail .stats .kda-text {
    font-weight: 500;
    font-size: 0.65rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
}
#modal-match-detail .stats .kda-content,
.card-match-detail .stats .kda-content {
    font-weight: 800;
    font-size: 0.8rem;
    line-height: 1.2;
}
#modal-match-detail .team-score,
.card-match-detail .team-score {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 15px;
}
#modal-match-detail .team-logo,
.card-match-detail .team-logo {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#modal-match-detail .team-logo img,
.card-match-detail .team-logo img {
    width: 100px;
    height: auto;
    /* padding: 10px; */
    aspect-ratio: 1;
    object-fit: contain;
}
#modal-match-detail .score-logo img,
.score-logo img {
    width: 18px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    /* opacity: 0.5; */
    filter: brightness(3);
}

.mobile .score-logo img {
    width: 24px;
    filter: brightness(20);
}
.card-match-detail .card-match-team.victory .score-logo img,
.itemization-container .card-match-team.victory .score-logo img {
    opacity: 1;
    filter: brightness(20);
}
.card-match-detail .card-match-team:last-child .score-logo img,
.itemization-container .card-match-team:last-child .score-logo img {
    transform: scaleX(-1);
}
#modal-match-detail .team-logo-sm img,
.card-match-detail .team-logo-sm img {
    /* width: 70px; */
    width: 25px;
    height: auto;
    /* padding: 8px; */
    aspect-ratio: 1;
    object-fit: contain;
}
#modal-match-detail .team-score-sm,
.card-match-detail .team-score-sm,
.card-match-detail .card-match-team .team-name,
.itemization-container .card-match-team .team-name {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.card-match-detail .mobile .card-match-team.defeat .team-score-sm,
.card-match-detail .mobile .card-match-team.defeat .team-name,
.itemization-container .mobile .card-match-team.defeat .team-name {
    color: #C0C0C0;
}

.card-match-detail .mobile .team-score-sm,
.card-match-detail .mobile .card-match-team .team-name,
.itemization-container .mobile .card-match-team .team-name {
    font-size: 1.1rem;
}

#modal-match-detail img.hero-logo,
.card-match-detail img.hero-logo {
    width: 20px;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 1px solid white;
}
#modal-match-detail .player-name,
.card-match-detail .player-name {
    /* font-size: 0.95rem; */
    font-size: 0.65rem;
    line-height: 1.2;
    /* width: 100px; */
    /* width: 80px; */
    font-family: Brakshoo, sans-serif !important;
    padding: 0px 0.2rem;

    background: linear-gradient(180deg, #d3faf9 0%, #fadc96 100%);
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent;

    font-weight: 500;
}
#modal-match-detail .player-pick,
.card-match-detail .player-pick {
    /* font-size: 0.9rem;
    line-height: 0.9rem; */
    font-size: 0.8rem;
    line-height: 0.8rem;
}
#modal-match-detail .equipment-bg-sm,
.card-match-detail .equipment-bg-sm {
    width: 24px;
    height: 24px;
    background-color: #cccccc55;
    border-radius: 30px;
    margin-right: 1px;
}
#modal-match-detail .equipment-bg,
.card-match-detail .equipment-bg {
    max-width: 28px;
    width: 28px;
    height: 28px;
    background-color: #cccccc55;
    border-radius: 28px;
    margin-right: 1px;
}
#modal-match-detail .equipment-logo-sm,
.card-match-detail .equipment-logo-sm {
    max-width: 22px;
    border-radius: 22px;
    margin-right: 1px;
}
#modal-match-detail .equipment-logo,
.card-match-detail .equipment-logo {
    max-width: 28px;
    border-radius: 28px;
    padding-left: 1px;
}
.card-match-detail .text-game-time {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}
.card-match-detail .text-game-no {
    /* font-family: 'TWOFOLD uncomplete DeSigN', sans-serif;
    font-size: 1rem;
    font-weight: 600; */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    line-height: 1;
    padding-top: 8px;
}

.card-match-detail .player-role-kda-mb {
    background: #B10C37;
    padding: 2px 6px;
    font-size: 0.7rem
}

.card-match-detail .role-kda-mb::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0A96E4;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: -1;
}

.card-match-detail .team2 .role-kda-mb::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

.card-match-detail .player-role {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #B10C37;
    padding: 2px 10px;
    font-size: 0.7rem;
    z-index: 10;
}

.card-match-detail .team2 .player-role {
    left: unset;
    right: 0;
}
.card-match-detail .player-logo {
    width: 45px;
    height: 100%;
    /* background-color: #ffffff; */
    /* background: url('../images/orns/bg-talent.png') no-repeat center center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat; */
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.card-match-detail .player-logo::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("../images/s15/orns/player-bg.png") no-repeat; */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.card-match-detail .player-logo img {
    width: 45px;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.card-match-detail .player-logo img.player {
    object-fit: cover;
    object-position: top center;
    transform: scale(1.6) translateY(12px);
}
.card-match-detail .emblems-card {
    /* background: url("../images/orns/player-rating/button-bg-white.png") */
        no-repeat center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7px 10px 5px;
    max-width: 120px;
    min-width: 120px;
    margin-left: -30px;
    padding-left: 25px;
    margin-top: 5px;
}
.card-match-detail .player-info-stats.team2 .emblems-card {
    /* margin-left: 0; */
    margin-left: auto;
    margin-right: -35px;
    padding-left: 10px;
    padding-right: 0px;
}
.card-match-detail .emblems-card .emblem-logo,
.card-match-detail .emblems-card img.emblem-logo {
    /* width: 20px; */
    width: 18px;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
}

.card-match-detail .game-video-urls {
    /* background: radial-gradient(
        62.12% 108.24% at 0% 0%,
        #535353 0%,
        #050505 100%
    );
    border-radius: 10px; */
}
.player-info-stats.team1 .kda::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0A96E4;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    z-index: 1;
}

.player-info-stats.team2 .kda::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFD154;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    z-index: 1;
}

.title-team-2 .match-status > *,
.team2 .player-data .kda > * {
    color: black !important;
}


#match-info-card-outer .game-video-urls {
    color: white;
}

.match-info-title .text-gradient {
    color: transparent !important;
}

/* sm: phone - landscape */
@media (min-width: 576px) {
}

/* md: tablet */
@media (min-width: 768px) {
}

/* lg: desktop */
@media (min-width: 992px) {
    /* modal match detail */
    #modal-match-detail .modal-dialog {
        max-width: 950px;
        /* width: 950px; */
    }
    #modal-match-detail .modal-content {
        padding: 25px 25px 15px;
    }
    .card-match-detail .card-match-team,
    .itemization-container .card-match-team {
        min-width: 250px;
        padding: 8px 15px;
    }
    .chart-detail-parent .itemization-container .card-match-team {
        width: 350px;
    }

    .card-match-detail .card-match-team .match-status,
    .itemization-container .card-match-team .match-status {
        left: -20px;
        width: 25px;
        font-size: 1rem;
    }
    .card-match-detail .card-match-team:last-child .match-status,
    .itemization-container .card-match-team:last-child .match-status {
        left: auto;
        right: -20px;
    }
    #modal-match-detail .kda,
    .card-match-detail .kda {
        margin: 0 10px;
        width: 60px;
        width: 50px;
        /* font-size: 1rem; */
    }

    .player-info-stats.team1 .kda {
        text-align: start !important;
    }

    .player-info-stats.team1 .kda > *,
    .player-info-stats.team2 .kda > * {
        padding-left: 10px;
        z-index: 2;
    }

    .player-info-stats.team2 .kda {
        text-align: end !important;
        padding-right: 10px;
        color: black;
    }

    .card-match-detail .player-info-stats {
        border-radius: 0;
    }
    .card-match-detail .player-info-stats .text-role {
        top: 0;
        bottom: auto;
        border-radius: 0 0 10px 10px;
    }
    .card-match-detail .player-info-stats.team2::before {
        top: 62%;
    }
    .card-match-detail .player-info-stats .player-data {
        min-width: 240px;
        width: auto;
        padding-bottom: 0;
    }
    .card-match-detail .player-info-stats .player-data .player-data-info {
        margin-bottom: 0;
    }
    #modal-match-detail .stats,
    .card-match-detail .stats {
        /* margin: 0 8px; */
        /* width: 100px; */
        /* width: 70px; */
        font-size: 0.8rem;
        white-space: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #modal-match-detail img.hero-logo,
    .card-match-detail img.hero-logo {
        /* width: 18px; */
        width: 22px;
        max-height: 22px;
        margin: 0 3px;
    }
    #modal-match-detail .player-name,
    .card-match-detail .player-name {
        /* font-size: 0.9rem; */
        line-height: 1.2;
        /* font-weight: 700; */
        width: 100px;
    }
    #modal-match-detail .player-pick,
    .card-match-detail .player-pick {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    .card-match-detail {
        padding: 0;
    }
    .card-match-detail .player-logo,
    .card-match-detail .player-logo img {
        width: 60px;
    }
    .card-match-detail .player-logo img.player {
        transform: scale(1.2) translateY(18px);
    }
    #modal-match-detail .team-logo-sm img,
    .card-match-detail .team-logo-sm img,
    .itemization-container .team-logo-sm img {
        width: 45px;
    }
    #modal-match-detail .team-score-sm,
    .card-match-detail .team-score-sm,
    .card-match-detail .card-match-team .team-name {
        font-size: 1.2rem;
    }
    #modal-match-detail .score-logo img,
    .score-logo img {
        width: 25px;
    }
    .card-match-detail .text-game-time {
        /* font-size: 0.8rem; */
    }
    .card-match-detail .text-game-no {
        font-size: 1.8rem;
    }
    .card-match-detail .player-info-stats .player-data .player-data-info {
        box-shadow: -2px 0px 8px 0px #00000040;
        padding: 12px 18px;
        /* width: calc(100% - 70px); */
        min-height: 110px;
    }
    .card-match-detail .player-info-stats.team2 .player-data .player-data-info {
        box-shadow: 2px 0px 8px 0px #00000040;
        border-radius: 0;
    }
    .card-match-detail .emblems-card .emblem-logo,
    .card-match-detail .emblems-card img.emblem-logo {
        width: 20px;
    }

    .col-lg-left {
        width: 40%;
    }

    .col-lg-mid {
        width: 20%;
    }

    .col-lg-right {
        width: 40%;
    }

    .col-lg-left > div,
    .col-lg-mid > div,
    .col-lg-right > div {
        background: #00000080;
    }

}

/* xl: wide */
@media (min-width: 1200px) {
    #modal-match-detail .modal-dialog {
        max-width: 1200px;
    }


    .col-lg-left {
        width: 37%;
    }

    .col-lg-mid {
        width: 26%;
    }

    .col-lg-right {
        width: 37%;
    }
}

/* super wide */
@media (min-width: 1440px) {
    .card-match-detail .col-equipment {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* super xl wide */
@media (min-width: 1600px) {
}
