/* =========================================================
   CDV IDENTICAL FLAT CARDS FINAL V1
   Toutes les vignettes partagent strictement
   le même rendu sombre, plat et immobile.
========================================================= */

/* ---------------------------------------------------------
   SURFACE STRICTEMENT COMMUNE
--------------------------------------------------------- */

.player-v2 .pv-card,
.player-v2 .replay-metric-card,
.player-v2 .replay-panel {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    border:
        1px solid
        rgba(125, 101, 190, .20)
        !important;

    outline:
        none
        !important;

    border-radius:
        16px
        !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 32, .94),
            rgba(8, 9, 22, .96)
        )
        !important;

    box-shadow:
        inset 0 1px 0
        rgba(143, 118, 205, .035),

        0 16px 35px
        rgba(0, 0, 0, .22)
        !important;

    -webkit-backdrop-filter:
        blur(16px)
        saturate(108%)
        !important;

    backdrop-filter:
        blur(16px)
        saturate(108%)
        !important;

    transform:
        none
        !important;

    transform-style:
        flat
        !important;

    animation:
        none
        !important;

    transition:
        border-color .18s ease,
        background .18s ease
        !important;
}


/* ---------------------------------------------------------
   SUPPRESSION TOTALE DES REFLETS ET HALOS
--------------------------------------------------------- */

.player-v2 .pv-card::before,
.player-v2 .pv-card::after,
.player-v2 .replay-metric-card::before,
.player-v2 .replay-metric-card::after,
.player-v2 .replay-panel::before,
.player-v2 .replay-panel::after {
    content:
        none
        !important;

    display:
        none
        !important;

    opacity:
        0
        !important;
}


/* ---------------------------------------------------------
   AUCUN MOUVEMENT AU SURVOL
--------------------------------------------------------- */

.player-v2 .pv-card:hover,
.player-v2 .replay-metric-card:hover,
.player-v2 .replay-panel:hover {
    transform:
        none
        !important;

    border-color:
        rgba(145, 119, 213, .26)
        !important;

    outline:
        none
        !important;

    background:
        linear-gradient(
            145deg,
            rgba(19, 19, 35, .96),
            rgba(9, 10, 24, .97)
        )
        !important;

    box-shadow:
        inset 0 1px 0
        rgba(143, 118, 205, .045),

        0 16px 35px
        rgba(0, 0, 0, .22)
        !important;
}


/* Neutralise aussi les transformations écrites
   directement par le JavaScript 3D. */

.player-v2 .player-v2-grid .pv-card[style] {
    transform:
        none
        !important;
}


/* ---------------------------------------------------------
   SUPPRESSION DES ANCIENS CONTOURS SPÉCIFIQUES
--------------------------------------------------------- */

.player-v2 .pv-winrate,
.player-v2 .pv-rank,
.player-v2 .pv-games,
.player-v2 .pv-performance,
.player-v2 .pv-record,
.player-v2 .pv-impact,
.player-v2 .pv-teammate,
.player-v2 .pv-identity,
.player-v2 .pv-chart,
.player-v2 .pv18-rank-card,
.player-v2 .pv18-statistics,
.player-v2 .replay-metric-card,
.player-v2 .replay-panel {
    border-color:
        rgba(125, 101, 190, .20)
        !important;

    outline:
        none
        !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 32, .94),
            rgba(8, 9, 22, .96)
        )
        !important;
}


/* Même la carte KDA abandonne son contour doré
   afin que toutes les vignettes soient identiques. */

.player-v2 .replay-metric-card.accent {
    border-color:
        rgba(125, 101, 190, .20)
        !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 32, .94),
            rgba(8, 9, 22, .96)
        )
        !important;
}


/* ---------------------------------------------------------
   SOUS-VIGNETTES INTERNES IDENTIQUES
--------------------------------------------------------- */

.player-v2 .pv-record-stat,
.player-v2 .replay-champion-card,
.player-v2 .replay-recent-row {
    border:
        1px solid
        rgba(125, 101, 190, .16)
        !important;

    outline:
        none
        !important;

    border-radius:
        11px
        !important;

    background:
        rgba(18, 18, 34, .74)
        !important;

    box-shadow:
        inset 0 1px 0
        rgba(143, 118, 205, .025)
        !important;

    transform:
        none
        !important;

    animation:
        none
        !important;

    transition:
        border-color .18s ease,
        background .18s ease
        !important;
}

.player-v2 .pv-record-stat:hover,
.player-v2 .replay-champion-card:hover,
.player-v2 .replay-recent-row:hover {
    transform:
        none
        !important;

    border-color:
        rgba(145, 119, 213, .23)
        !important;

    background:
        rgba(20, 20, 38, .82)
        !important;
}


/* ---------------------------------------------------------
   TITRES : AUCUN CONTOUR BLANC
--------------------------------------------------------- */

.player-v2 .pv-title {
    border-color:
        rgba(125, 101, 190, .18)
        !important;

    outline:
        none
        !important;

    box-shadow:
        none
        !important;

    background:
        rgba(17, 17, 32, .72)
        !important;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {
    .player-v2 .pv-card,
    .player-v2 .replay-metric-card,
    .player-v2 .replay-panel {
        border-radius:
            14px
            !important;
    }
}
