.simulearn-fight-game {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #08090d;
    border-radius: 16px;
}

.simulearn-fight-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.simulearn-fight-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.simulearn-fight-hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.simulearn-fight-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}


/* =========================================================
   PLAYER CARD
   ========================================================= */

.simulearn-fight-player {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    width: auto !important;
    min-width: 180px !important;
    max-width: 300px !important;

    padding: 10px 14px !important;

    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    color: #fff;

    box-sizing: border-box !important;
}


/* =========================================================
   PLAYER AVATAR
   ========================================================= */

.simulearn-fight-player-avatar {
    display: block !important;

    width: 54px !important;
    height: 54px !important;

    min-width: 54px !important;
    min-height: 54px !important;

    max-width: 54px !important;
    max-height: 54px !important;

    flex: 0 0 54px !important;

    overflow: hidden !important;

    border-radius: 50% !important;

    background: #15171c;

    border: 2px solid rgba(255, 255, 255, 0.2);

    box-sizing: border-box !important;
}


/* =========================================================
   AVATAR IMAGE
   ========================================================= */

.simulearn-fight-player-avatar > img {
    display: block !important;

    width: 54px !important;
    height: 54px !important;

    min-width: 54px !important;
    min-height: 54px !important;

    max-width: 54px !important;
    max-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    object-fit: cover !important;
    object-position: center !important;

    box-sizing: border-box !important;
}


/* =========================================================
   PLAYER TEXT
   ========================================================= */

.simulearn-fight-player-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.simulearn-fight-player-rating {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.7;
}


/* =========================================================
   ROUND / TIMER
   ========================================================= */

.simulearn-fight-round {
    text-align: center;
    color: #fff;
}

.simulearn-fight-round-label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.simulearn-fight-timer {
    display: block;
    margin-top: 4px;
    font-size: 32px;
    font-weight: 800;
}


/* =========================================================
   BOTTOM EVENT
   ========================================================= */

.simulearn-fight-bottom {
    display: flex;
    justify-content: center;
}

.simulearn-fight-event {
    max-width: 600px;
    padding: 12px 22px;
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .simulearn-fight-game {
        height: 500px;
        border-radius: 10px;
    }

    .simulearn-fight-hud {
        padding: 12px;
    }

    .simulearn-fight-player {
        min-width: 120px !important;
        max-width: 200px !important;
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .simulearn-fight-player-avatar {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;
        min-height: 42px !important;

        max-width: 42px !important;
        max-height: 42px !important;

        flex-basis: 42px !important;
    }

    .simulearn-fight-player-avatar > img {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;
        min-height: 42px !important;

        max-width: 42px !important;
        max-height: 42px !important;
    }

    .simulearn-fight-player-name {
        font-size: 14px;
    }

    .simulearn-fight-player-rating {
        font-size: 11px;
    }

    .simulearn-fight-timer {
        font-size: 24px;
    }

    .simulearn-fight-event {
        font-size: 12px;
        padding: 10px 16px;
    }
}