.cdv-worst-player-badge {
    position:
        relative !important;

    isolation:
        isolate;

    overflow:
        hidden !important;

    color:
        #ff9caf !important;

    border:
        1px solid
        rgba(
            255,
            64,
            104,
            .56
        ) !important;

    background:
        linear-gradient(
            135deg,
            rgba(
                130,
                14,
                43,
                .68
            ),
            rgba(
                45,
                7,
                24,
                .92
            )
        ) !important;

    box-shadow:
        inset
        0 1px 0
        rgba(
            255,
            255,
            255,
            .08
        ),

        0 0 18px
        rgba(
            255,
            38,
            82,
            .16
        ) !important;

    text-shadow:
        0 0 11px
        rgba(
            255,
            94,
            124,
            .36
        );

    animation:
        cdvWorstPlayerPulse
        3.2s
        ease-in-out
        infinite !important;
}


.cdv-worst-player-badge::before {
    content:
        "";

    position:
        absolute;

    z-index:
        -1;

    inset:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            105deg,
            transparent
            16%,

            rgba(
                255,
                150,
                164,
                .20
            )
            50%,

            transparent
            76%
        );

    transform:
        translateX(
            -140%
        );

    animation:
        cdvWorstPlayerScan
        4.6s
        ease-in-out
        infinite;
}


.cdv-worst-player-badge::after {
    content:
        "−10";

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        22px;

    height:
        14px;

    margin-left:
        6px;

    padding:
        0 4px;

    border:
        1px solid
        rgba(
            255,
            106,
            132,
            .34
        );

    border-radius:
        999px;

    color:
        #ffd3da;

    font-size:
        6px;

    font-weight:
        950;

    letter-spacing:
        .04em;

    background:
        rgba(
            255,
            49,
            88,
            .13
        );

    vertical-align:
        middle;
}


@keyframes cdvWorstPlayerPulse {
    0%,
    100% {
        border-color:
            rgba(
                255,
                64,
                104,
                .42
            );

        box-shadow:
            0 0 12px
            rgba(
                255,
                38,
                82,
                .09
            );
    }

    50% {
        border-color:
            rgba(
                255,
                103,
                131,
                .78
            );

        box-shadow:
            0 0 25px
            rgba(
                255,
                38,
                82,
                .24
            );
    }
}


@keyframes cdvWorstPlayerScan {
    0%,
    58% {
        transform:
            translateX(
                -140%
            );
    }

    84%,
    100% {
        transform:
            translateX(
                140%
            );
    }
}


@media (prefers-reduced-motion: reduce) {
    .cdv-worst-player-badge,
    .cdv-worst-player-badge::before {
        animation:
            none !important;
    }
}
