/* =========================================================
   MIDNIGHT MINES
   ========================================================= */

:root {
    --mines-bg: #05050a;
    --mines-panel: rgba(13, 10, 20, .88);
    --mines-panel-soft: rgba(22, 15, 33, .72);

    --mines-purple: #8d5cff;
    --mines-purple-light: #b889ff;

    --mines-gold: #d8ad5f;
    --mines-gold-light: #ffd98a;

    --mines-green: #44d68c;
    --mines-red: #e85766;

    --mines-text: #f7f3ff;
    --mines-muted: #908a9c;

    --mines-border: rgba(180, 124, 255, .18);
}


/* =========================================================
   PAGE
   ========================================================= */

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(112, 55, 220, .15),
            transparent 45%
        ),
        var(--mines-bg);

    color: var(--mines-text);
}


.mines-page {
    min-height: 100vh;

    position: relative;

    z-index: 1;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.mines-navbar {
    height: 78px;

    padding: 0 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .05);

    background:
        rgba(6, 5, 10, .82);

    backdrop-filter:
        blur(18px);

    position: sticky;
    top: 0;

    z-index: 100;
}


.mines-brand {
    display: flex;
    align-items: center;
    gap: 13px;

    color: inherit;

    text-decoration: none;
}


.mines-brand-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    color: var(--mines-gold-light);

    background:
        linear-gradient(
            145deg,
            rgba(119, 70, 213, .28),
            rgba(25, 16, 40, .85)
        );

    border:
        1px solid
        rgba(184, 137, 255, .24);

    box-shadow:
        0 0 24px
        rgba(113, 61, 220, .16);
}


.mines-brand strong {
    display: block;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 3px;
}


.mines-brand span {
    display: block;

    margin-top: 4px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 4px;

    color: var(--mines-purple-light);
}

position: absolute;
left: 50%;
transform: translateX(-50%);

.mines-live {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    padding:
        10px 15px;

    display: flex;

    align-items: center;

    gap: 9px;

    border-radius:
        999px;

    border:
        1px solid
        rgba(68, 214, 140, .22);

    background:
        rgba(68, 214, 140, .07);

    color:
        #b9f7d8;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        2px;

    white-space:
        nowrap;

    box-shadow:
        0 0 20px
        rgba(68, 214, 140, .06);

    z-index:
        5;
}

    position: absolute;
    left: 50%;
    transform: translateX(-50%);

.mines-live span {
    width: 7px;
    height: 7px;

    flex:
        0 0 7px;

    border-radius:
        50%;

    background:
        var(--mines-green);

    box-shadow:
        0 0 10px
        rgba(68, 214, 140, .8);
}

/* =========================================================
   AUDIO CONTROL
   ========================================================= */

.mines-audio-control {
    display: flex;
    align-items: center;
    gap: 10px;

    height: 42px;
    padding: 0 12px;

    border: 1px solid rgba(184, 137, 255, .17);
    border-radius: 12px;

    background: rgba(255, 255, 255, .025);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mines-audio-button {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--mines-text);

    font-size: 14px;

    cursor: pointer;

    opacity: .9;

    transition:
        opacity .15s ease,
        transform .15s ease;
}

.mines-audio-button:hover {
    opacity: 1;
    transform: scale(1.06);
}

.mines-volume-slider {
    width: 86px;
    height: 4px;

    margin: 0;

    accent-color: var(--mines-purple-light);

    cursor: pointer;
}


.mines-user {
    display: flex;
    align-items: center;
    gap: 16px;
}


.mines-balance {
    display: flex;
    align-items: center;
    gap: 10px;
}


.mines-token,
.mines-coin {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #1c1308;

    font-weight: 900;

    background:
        linear-gradient(
            145deg,
            #ffe09b,
            #b87928
        );

    box-shadow:
        0 0 16px
        rgba(255, 205, 107, .18);
}


.mines-balance span {
    display: block;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: var(--mines-muted);
}


.mines-balance strong {
    display: block;

    margin-top: 3px;

    font-size: 14px;
}


.mines-back {
    min-height: 39px;

    padding: 0 16px;

    border-radius: 10px;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    background:
        rgba(255, 255, 255, .025);

    color: var(--mines-text);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

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


.mines-back:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(184, 137, 255, .26);

    background:
        rgba(141, 92, 255, .07);
}


/* =========================================================
   MAIN
   ========================================================= */

.mines-main {
    width:
        min(1380px, calc(100% - 48px));

    margin:
        42px auto 70px;

    display: grid;

    grid-template-columns:
        390px minmax(0, 1fr);

    gap: 32px;

    align-items: start;
}


/* =========================================================
   CONTROL PANEL
   ========================================================= */

.mines-control-panel {
    padding: 28px;

    border-radius: 22px;

    border:
        1px solid
        var(--mines-border);

    background:
        linear-gradient(
            145deg,
            rgba(22, 15, 33, .82),
            rgba(8, 7, 12, .94)
        );

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, .35);
}


.mines-control-header > span {
    font-size: 9px;
    font-weight: 900;

    letter-spacing: 3px;

    color: var(--mines-purple-light);
}


.mines-control-header h1 {
    margin:
        9px 0 8px;

    font-size: 30px;
    line-height: 1.05;
}


.mines-control-header p {
    margin: 0;

    color: var(--mines-muted);

    font-size: 12px;
    line-height: 1.65;
}


.mines-control-block {
    margin-top: 24px;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(255, 255, 255, .055);
}


.mines-control-title {
    margin-bottom: 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.mines-control-title span {
    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.7px;

    color: var(--mines-muted);
}


.mines-control-title strong {
    font-size: 11px;

    color: var(--mines-gold-light);
}


/* =========================================================
   BET INPUT
   ========================================================= */

.mines-bet-input {
    min-height: 54px;

    padding: 0 14px;

    display: flex;
    align-items: center;

    border-radius: 13px;

    border:
        1px solid
        rgba(184, 137, 255, .15);

    background:
        rgba(5, 5, 9, .72);

    box-shadow:
        inset 0 0 24px
        rgba(118, 63, 220, .045);
}


.mines-bet-input input {
    flex: 1;

    min-width: 0;

    margin-left: 11px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-size: 18px;
    font-weight: 900;
}


.mines-bet-input > span {
    font-size: 10px;
    font-weight: 800;

    color: var(--mines-muted);
}


.mines-quick-bets {
    margin-top: 10px;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 7px;
}


.mines-quick-bets button,
.mine-count-option {
    min-height: 36px;

    border-radius: 9px;

    border:
        1px solid
        rgba(255, 255, 255, .065);

    background:
        rgba(255, 255, 255, .025);

    color: #bbb4c6;

    font-size: 10px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        color .16s ease,
        box-shadow .16s ease;
}


.mines-quick-bets button.selected {
    border-color:
        rgba(184, 137, 255, .72);

    background:
        linear-gradient(
            145deg,
            rgba(141, 92, 255, .22),
            rgba(91, 46, 174, .10)
        );

    color: #f3eaff;

    box-shadow:
        0 0 0 1px
        rgba(184, 137, 255, .10),

        0 0 18px
        rgba(141, 92, 255, .22);

    text-shadow:
        0 0 8px
        rgba(184, 137, 255, .25);
}

    color:
        #f3eaff;

    box-shadow:
        0 0 0 1px
        rgba(184, 137, 255, .10),

        0 0 18px
        rgba(141, 92, 255, .22);

    text-shadow:
        0 0 8px
        rgba(184, 137, 255, .25);
}

.mines-quick-bets button:hover,
.mine-count-option:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(184, 137, 255, .24);

    color: #fff;
}


/* =========================================================
   MINE COUNT
   ========================================================= */

.mines-count-options {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 7px;
}


.mine-count-option.selected {
    border-color:
        rgba(184, 137, 255, .55);

    background:
        linear-gradient(
            145deg,
            rgba(141, 92, 255, .24),
            rgba(91, 46, 174, .13)
        );

    color: #fff;

    box-shadow:
        0 0 20px
        rgba(125, 69, 238, .12);
}


/* =========================================================
   INFO
   ========================================================= */

.mines-info-grid {
    margin-top: 24px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.mines-info-card {
    min-height: 70px;

    padding: 13px;

    border-radius: 12px;

    border:
        1px solid
        rgba(255, 255, 255, .055);

    background:
        rgba(255, 255, 255, .02);
}


.mines-info-card span {
    display: block;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1.3px;

    color: var(--mines-muted);
}


.mines-info-card strong {
    display: block;

    margin-top: 9px;

    font-size: 17px;
}


#minesMultiplier {
    color: var(--mines-purple-light);
}


#minesPotentialPayout {
    color: var(--mines-gold-light);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.mines-actions {
    margin-top: 22px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.mines-start-button,
.mines-cashout-button {
    min-height: 50px;

    border-radius: 12px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}


.mines-start-button {
    border:
        1px solid
        rgba(184, 137, 255, .36);

    background:
        linear-gradient(
            145deg,
            #8051dc,
            #57309c
        );

    color: #fff;

    box-shadow:
        0 12px 30px
        rgba(110, 59, 205, .17);
}


.mines-cashout-button {
    border:
        1px solid
        rgba(255, 213, 131, .25);

    background:
        linear-gradient(
            145deg,
            rgba(216, 173, 95, .22),
            rgba(136, 92, 30, .13)
        );

    color: var(--mines-gold-light);
}


.mines-start-button:hover:not(:disabled),
.mines-cashout-button:hover:not(:disabled) {
    transform:
        translateY(-2px);
}


.mines-start-button:disabled,
.mines-cashout-button:disabled {
    opacity: .4;

    cursor: not-allowed;

    transform: none;
}


.mines-message {
    min-height: 18px;

    margin:
        15px 0 0;

    text-align: center;

    font-size: 10px;

    color: var(--mines-muted);
}


/* =========================================================
   GAME AREA
   ========================================================= */

.mines-game-area {
    min-height: 670px;

    position: relative;

    padding: 28px;

    overflow: hidden;

    border-radius: 24px;

    border:
        1px solid
        rgba(184, 137, 255, .14);

    background:
        linear-gradient(
            145deg,
            rgba(18, 12, 28, .86),
            rgba(7, 6, 11, .95)
        );

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, .42);
}


.mines-game-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(116, 57, 232, .12),
            transparent 68%
        );

    filter:
        blur(20px);

    pointer-events: none;
}


.mines-board-header,
.mines-board-footer {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.mines-board-header span,
.mines-board-footer span {
    display: block;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.7px;

    color: var(--mines-muted);
}


.mines-board-header strong,
.mines-board-footer strong {
    display: block;

    margin-top: 5px;

    font-size: 13px;
}


.mines-status {
    padding: 9px 13px;

    border-radius: 999px;

    border:
        1px solid
        rgba(255, 255, 255, .07);

    background:
        rgba(255, 255, 255, .025);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;

    color: #aaa2b7;
}


.mines-status.active {
    border-color:
        rgba(68, 214, 140, .22);

    color: #aaf1cc;

    background:
        rgba(68, 214, 140, .05);
}


.mines-status.lost {
    border-color:
        rgba(232, 87, 102, .25);

    color: #ff9ba5;

    background:
        rgba(232, 87, 102, .05);
}


/* =========================================================
   BOARD
   ========================================================= */

.mines-board {
    width:
        min(620px, 100%);

    margin:
        55px auto;

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 13px;
}


.mine-tile {
    aspect-ratio: 1 / 1;

    position: relative;

    overflow: hidden;

    border-radius: 17px;

    border:
        1px solid
        rgba(184, 137, 255, .12);

    background:
        linear-gradient(
            145deg,
            rgba(39, 26, 58, .95),
            rgba(17, 12, 26, .96)
        );

    color: #fff;

    cursor: pointer;

    box-shadow:
        inset 0 0 26px
        rgba(118, 63, 220, .035),
        0 7px 22px
        rgba(0, 0, 0, .18);

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}


.mine-tile::before {
    content: "";

    position: absolute;

    inset: 1px;

    border-radius: inherit;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .035),
            transparent 48%
        );

    pointer-events: none;
}


.mine-tile:hover:not(:disabled) {
    transform:
        translateY(-3px)
        scale(1.015);

    border-color:
        rgba(184, 137, 255, .32);

    box-shadow:
        inset 0 0 30px
        rgba(118, 63, 220, .07),
        0 12px 28px
        rgba(0, 0, 0, .25),
        0 0 22px
        rgba(125, 68, 238, .08);
}


.mine-tile:disabled {
    cursor: default;
}


.mine-tile.revealed-safe {
    border-color:
        rgba(68, 214, 140, .36);

    background:
        radial-gradient(
            circle,
            rgba(68, 214, 140, .20),
            rgba(18, 51, 38, .76)
        );

    box-shadow:
        inset 0 0 32px
        rgba(68, 214, 140, .08),
        0 0 20px
        rgba(68, 214, 140, .08);
}


.mine-tile.revealed-mine {
    border-color:
        rgba(232, 87, 102, .5);

    background:
        radial-gradient(
            circle,
            rgba(232, 87, 102, .28),
            rgba(64, 20, 29, .88)
        );

    box-shadow:
        inset 0 0 32px
        rgba(232, 87, 102, .11),
        0 0 24px
        rgba(232, 87, 102, .12);
}


.mine-tile-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    font-size: 28px;
    font-weight: 900;

    opacity: 0;

    transition:
        opacity .18s ease,
        transform .18s ease;
}


.mine-tile.revealed-safe
.mine-tile-icon,
.mine-tile.revealed-mine
.mine-tile-icon {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}


.mine-tile.revealed-safe
.mine-tile-icon {
    color: #b9f6d7;
}


.mine-tile.revealed-mine
.mine-tile-icon {
    color: #ffb1ba;
}


/* =========================================================
   FOOTER
   ========================================================= */

.mines-board-footer {
    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, .05);
}


/* =========================================================
   RESULT MODAL
   ========================================================= */

.mines-result-overlay {
    position: fixed;

    inset: 0;

    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    background:
        rgba(3, 3, 6, .76);

    backdrop-filter:
        blur(12px);

    transition:
        opacity .2s ease,
        visibility .2s ease;
}


.mines-result-overlay.open {
    opacity: 1;
    visibility: visible;
}


.mines-result-modal {
    width:
        min(390px, 100%);

    padding: 35px;

    text-align: center;

    border-radius: 22px;

    border:
        1px solid
        rgba(184, 137, 255, .23);

    background:
        linear-gradient(
            145deg,
            #171020,
            #09080e
        );

    box-shadow:
        0 35px 110px
        rgba(0, 0, 0, .65),
        0 0 60px
        rgba(116, 57, 232, .11);
}


.mines-result-icon {
    width: 82px;
    height: 82px;

    margin:
        0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(184, 137, 255, .28);

    background:
        radial-gradient(
            circle,
            rgba(141, 92, 255, .22),
            rgba(10, 8, 15, .8)
        );

    color: var(--mines-purple-light);

    font-size: 34px;

    box-shadow:
        0 0 35px
        rgba(114, 61, 219, .15);
}


.mines-result-modal > span {
    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2.8px;

    color: var(--mines-purple-light);
}


.mines-result-modal h2 {
    margin:
        10px 0;

    font-size: 29px;
}


.mines-result-modal p {
    margin:
        0 auto;

    max-width: 290px;

    color: var(--mines-muted);

    font-size: 12px;
    line-height: 1.6;
}


.mines-result-modal > strong {
    display: block;

    margin-top: 20px;

    color: var(--mines-gold-light);

    font-size: 23px;
}


.mines-result-modal button {
    width: 100%;

    min-height: 46px;

    margin-top: 24px;

    border-radius: 11px;

    border:
        1px solid
        rgba(184, 137, 255, .28);

    background:
        linear-gradient(
            145deg,
            #8051dc,
            #57309c
        );

    color: #fff;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    cursor: pointer;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (
    max-width: 1050px
) {

    .mines-main {
        grid-template-columns:
            1fr;
    }

    .mines-control-panel {
        order: 2;
    }

}


@media (
    max-width: 700px
) {

    .mines-navbar {
        height: auto;

        padding: 16px;

        flex-wrap: wrap;

        gap: 14px;
    }


    .mines-live {
        display: none;
    }


    .mines-main {
        width:
            min(100% - 24px, 700px);

        margin-top: 22px;
    }


    .mines-control-panel,
    .mines-game-area {
        padding: 18px;
    }


    .mines-game-area {
        min-height: auto;
    }


    .mines-board {
        margin:
            35px auto;

        gap: 8px;
    }


    .mine-tile {
        border-radius: 11px;
    }


    .mines-count-options {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .mines-quick-bets {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .mines-actions {
        grid-template-columns:
            1fr;
    }

}

/* =========================================================
   LIVE GAME - FINAL OVERRIDE
   ========================================================= */

.mines-navbar .mines-live {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    transform:
        translate(-50%, -50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;

    padding:
        9px 15px !important;

    width: auto !important;
    height: auto !important;

    border:
        1px solid
        rgba(68, 214, 140, .22) !important;

    border-radius:
        999px !important;

    background:
        rgba(68, 214, 140, .075) !important;

    color:
        #b9f7d8 !important;

    font-size:
        9px !important;

    font-weight:
        900 !important;

    letter-spacing:
        2px !important;

    line-height:
        1 !important;

    white-space:
        nowrap !important;

    box-shadow:
        0 0 20px
        rgba(68, 214, 140, .07) !important;
}


.mines-navbar .mines-live span {
    display: block !important;

    width: 7px !important;
    height: 7px !important;

    min-width: 7px !important;

    border-radius:
        50% !important;

    background:
        #44d68c !important;

    box-shadow:
        0 0 10px
        rgba(68, 214, 140, .85) !important;
}

/* =========================================================
   MINES — FINAL MOBILE SAFETY / POLISH
   ========================================================= */

@media (max-width: 680px) {

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }

    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    button,
    input,
    select {
        touch-action: manipulation;

        -webkit-tap-highlight-color:
            transparent;
    }


    /* =====================================================
       PAGE
       ===================================================== */

    .mines-page {
        width:
            calc(100% - 12px);

        max-width: 100%;

        margin:
            0 auto;

        padding-bottom:
            calc(
                26px +
                env(safe-area-inset-bottom)
            );

        box-sizing: border-box;
    }


    /* =====================================================
       TOPBAR
       ===================================================== */

    .mines-topbar {
        width: 100%;

        grid-template-columns:
            1fr
            auto;

        gap: 10px;

        padding: 12px;

        box-sizing: border-box;
    }

    .mines-title-wrapper {
        grid-column:
            1 / -1;

        grid-row: 1;

        text-align: center;
    }

    .mines-back-button {
        grid-column: 1;
        grid-row: 2;

        justify-self: start;

        min-height: 42px;
    }

    .mines-topbar-actions {
        grid-column: 2;
        grid-row: 2;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 7px;
    }


    /* =====================================================
       AUDIO
       ===================================================== */

    .mines-audio-control {
        width: auto;
        min-width: 0;

        height: 42px;

        padding:
            0
            9px;

        gap: 7px;
    }

    .mines-volume-wrap {
        width: 64px;
        min-width: 64px;

        flex:
            0 0
            64px;
    }

    .mines-volume-slider {
        width: 64px;
    }


    /* =====================================================
       BALANCE
       ===================================================== */

    .mines-balance-box {
        width: auto;

        min-width: 102px;

        min-height: 42px;

        padding:
            6px
            10px;

        box-sizing: border-box;
    }


    /* =====================================================
       MAIN LAYOUT
       ===================================================== */

    .mines-layout {
        width: 100%;
        max-width: 100%;

        grid-template-columns:
            1fr;

        gap: 12px;

        box-sizing: border-box;
    }

    .mines-layout > * {
        min-width: 0;
    }


    /* =====================================================
       PANELS
       ===================================================== */

    .mines-control-panel,
    .mines-game-panel {
        width: 100%;
        max-width: 100%;

        min-width: 0;

        padding:
            16px;

        box-sizing: border-box;
    }


    /* =====================================================
       INPUTS
       ===================================================== */

    .mines-input,
    .mines-select {
        width: 100%;
        max-width: 100%;

        min-height: 46px;

        box-sizing: border-box;
    }


    /* =====================================================
       QUICK BETS
       ===================================================== */

    .mines-quick-bets {
        width: 100%;

        grid-template-columns:
            repeat(
                3,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 6px;
    }

    .mines-quick-bets button {
        min-width: 0;
        min-height: 42px;

        padding:
            0
            6px;
    }


    /* =====================================================
       MINES GRID
       ===================================================== */

    .mines-grid {
        width: 100%;
        max-width: 100%;

        margin:
            0 auto;

        grid-template-columns:
            repeat(
                5,
                minmax(
                    0,
                    1fr
                )
            );

        gap:
            clamp(
                5px,
                1.8vw,
                9px
            );

        box-sizing: border-box;
    }


    .mine-tile,
    .mines-tile {
        width: 100%;

        min-width: 0;

        aspect-ratio:
            1 / 1;

        height: auto;

        min-height: 0;

        box-sizing: border-box;

        touch-action:
            manipulation;
    }


    /* =====================================================
       GAME HEADER / STATUS
       ===================================================== */

    .mines-game-header {
        width: 100%;

        flex-wrap: wrap;

        gap: 8px;
    }

    .mines-status {
        max-width: 100%;
    }


    /* =====================================================
       STATS
       ===================================================== */

    .mines-stats,
    .mines-stat-grid {
        width: 100%;

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 7px;
    }

    .mines-stat-card {
        min-width: 0;

        box-sizing: border-box;
    }


    /* =====================================================
       GAME BUTTONS
       ===================================================== */

    .mines-start-button,
    .mines-cashout-button,
    .mines-main-button {
        width: 100%;

        min-height: 52px;

        touch-action: manipulation;
    }


    /* =====================================================
       HISTORY
       ===================================================== */

    .mines-history {
        width: 100%;
        max-width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling:
            touch;
    }


    /* =====================================================
       RESULT MODAL
       ===================================================== */

    .mines-result-overlay {
        padding:
            max(
                10px,
                env(safe-area-inset-top)
            )
            10px
            max(
                10px,
                env(safe-area-inset-bottom)
            );

        overflow-y: auto;

        -webkit-overflow-scrolling:
            touch;
    }

    .mines-result-modal {
        width: 100%;

        max-width:
            calc(100vw - 20px);

        max-height:
            calc(100dvh - 20px);

        overflow-y: auto;

        box-sizing: border-box;
    }


    /* =====================================================
       MOBILE PERFORMANCE
       ===================================================== */

    .mines-control-panel,
    .mines-game-panel,
    .mines-result-modal {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .mines-page {
        width:
            calc(100% - 8px);
    }

    .mines-topbar {
        padding: 9px;
    }

    .mines-title {
        font-size: 21px;
    }

    .mines-volume-wrap {
        width: 50px;
        min-width: 50px;

        flex-basis: 50px;
    }

    .mines-volume-slider {
        width: 50px;
    }

    .mines-balance-box {
        min-width: 90px;
    }

    .mines-control-panel,
    .mines-game-panel {
        padding: 13px;
    }

    .mines-grid {
        gap: 5px;
    }

    .mines-quick-bets {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

    .mines-result-modal {
        padding:
            21px
            17px;
    }

}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .mine-tile:hover,
    .mines-tile:hover,
    .mines-start-button:hover,
    .mines-cashout-button:hover,
    .mines-main-button:hover,
    .mines-quick-bets button:hover {
        transform: none;
    }

}

/* =========================================================
   MIDNIGHT AUDIO UI — MINES
   VISUAL ONLY / FUNCTION UNCHANGED
   ========================================================= */

.mines-audio-control {
    position: relative;
    overflow: hidden;

    border:
        1px solid
        rgba(167, 102, 255, 0.20) !important;

    border-radius:
        12px !important;

    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(175, 110, 255, 0.08),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(25, 17, 39, 0.88),
            rgba(9, 8, 15, 0.94)
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        inset 0 0 18px rgba(132, 67, 230, 0.025),
        0 7px 22px rgba(0, 0, 0, 0.22) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.mines-audio-control::before {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    top: 0;

    height: 1px;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(186, 126, 255, 0.40),
            transparent
        );
}


/* =========================================================
   AUDIO BUTTON
   ========================================================= */

.mines-audio-button {
    position: relative;
    z-index: 2;

    width: 26px !important;
    height: 26px !important;

    flex: 0 0 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border:
        1px solid
        rgba(178, 113, 255, 0.18) !important;

    border-radius: 8px !important;

    background:
        radial-gradient(
            circle at 35% 22%,
            rgba(202, 158, 255, 0.10),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(37, 23, 58, 0.92),
            rgba(14, 11, 22, 0.96)
        ) !important;

    color: #d8b9ff !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 12px rgba(143, 73, 255, 0.08);

    opacity: 1 !important;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease !important;
}


.mines-audio-button:hover {
    transform:
        translateY(-1px)
        scale(1.03) !important;

    color: #f0e4ff !important;

    border-color:
        rgba(190, 126, 255, 0.40) !important;

    background:
        linear-gradient(
            145deg,
            rgba(52, 30, 81, 0.96),
            rgba(19, 13, 30, 0.98)
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 18px rgba(143, 73, 255, 0.18);
}


.mines-audio-button:active {
    transform: scale(0.96) !important;
}


/* =========================================================
   SVG ICON
   ========================================================= */

.mines-audio-icon {
    width: 17px;
    height: 17px;

    display: block;

    color: currentColor;

    pointer-events: none;
}


/* =========================================================
   VOLUME SLIDER
   ========================================================= */

.mines-volume-slider {
    position: relative;
    z-index: 2;

    width: 86px;
    height: 4px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 999px;

    outline: none;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            rgba(158, 86, 255, 0.76),
            rgba(193, 133, 255, 0.88)
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 0 9px rgba(139, 73, 255, 0.08);
}


/* Chrome / Brave / Edge */

.mines-volume-slider::-webkit-slider-runnable-track {
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(121, 62, 218, 0.72),
            rgba(180, 107, 255, 0.72)
        );
}


.mines-volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;

    margin-top: -4px;

    appearance: none;
    -webkit-appearance: none;

    border:
        2px solid
        #c994ff;

    border-radius: 50%;

    background: #16101f;

    box-shadow:
        0 0 0 3px rgba(159, 87, 255, 0.10),
        0 0 10px rgba(174, 105, 255, 0.46);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}


.mines-volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.10);

    box-shadow:
        0 0 0 4px rgba(159, 87, 255, 0.12),
        0 0 14px rgba(174, 105, 255, 0.62);
}


/* Firefox */

.mines-volume-slider::-moz-range-track {
    height: 4px;

    border: 0;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.07);
}


.mines-volume-slider::-moz-range-progress {
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #7c3ee1,
            #ba72ff
        );
}


.mines-volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;

    border:
        2px solid
        #c994ff;

    border-radius: 50%;

    background: #16101f;

    box-shadow:
        0 0 10px
        rgba(174, 105, 255, 0.50);

    cursor: pointer;
}


/* =========================================================
   FOCUS
   ========================================================= */

.mines-audio-button:focus-visible,
.mines-volume-slider:focus-visible {
    outline:
        1px solid
        rgba(200, 147, 255, 0.65);

    outline-offset: 2px;
}


/* =========================================================
   MIDNIGHT MINES
   RESPONSIVE NAVBAR FINAL FIX

   PHONES
   IPAD MINI / AIR / PRO
   SURFACE DUO / SURFACE PRO
   GALAXY Z FOLD
   ASUS ZENBOOK FOLD
   NEST HUB
   NEST HUB MAX

   DESKTOP > 1280px UNCHANGED
   ========================================================= */


/* =========================================================
   PHONES
   <= 680px
   ========================================================= */

@media (max-width: 680px) {

    .mines-navbar {
        position: sticky !important;

        top: 0 !important;

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        padding:
            8px !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto !important;

        grid-template-rows:
            auto
            auto !important;

        align-items: center !important;

        column-gap:
            7px !important;

        row-gap:
            7px !important;

        overflow:
            visible !important;

        z-index:
            100 !important;
    }


    /* =====================================================
       BRAND
       ===================================================== */

    .mines-brand {
        grid-column:
            1 !important;

        grid-row:
            1 !important;

        min-width:
            0 !important;

        gap:
            8px !important;
    }


    .mines-brand-icon {
        width:
            37px !important;

        height:
            37px !important;

        min-width:
            37px !important;

        flex:
            0 0
            37px !important;

        font-size:
            19px !important;
    }


    .mines-brand strong {
        font-size:
            10px !important;

        letter-spacing:
            1.5px !important;

        white-space:
            nowrap !important;
    }


    .mines-brand span {
        margin-top:
            2px !important;

        font-size:
            5px !important;

        letter-spacing:
            2.3px !important;
    }


    /* =====================================================
       LIVE
       TOP RIGHT ON PHONES
       ===================================================== */

    .mines-navbar
    .mines-live {
        position:
            static !important;

        grid-column:
            2 !important;

        grid-row:
            1 !important;

        justify-self:
            end !important;

        left:
            auto !important;

        right:
            auto !important;

        top:
            auto !important;

        bottom:
            auto !important;

        margin:
            0 !important;

        transform:
            none !important;

        padding:
            7px
            9px !important;

        gap:
            5px !important;

        font-size:
            5.5px !important;

        letter-spacing:
            .7px !important;

        white-space:
            nowrap !important;
    }


    .mines-navbar
    .mines-live span {
        width:
            5px !important;

        height:
            5px !important;

        min-width:
            5px !important;

        flex:
            0 0
            5px !important;
    }


    /* =====================================================
       USER ROW
       AUDIO + BALANCE + BACK
       ===================================================== */

    .mines-user {
        grid-column:
            1 / -1 !important;

        grid-row:
            2 !important;

        width:
            100% !important;

        min-width:
            0 !important;

        display:
            flex !important;

        flex-direction:
            row !important;

        align-items:
            center !important;

        justify-content:
            space-between !important;

        gap:
            6px !important;

        margin:
            0 !important;

        padding-top:
            7px !important;

        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                .045
            ) !important;
    }


    /* =====================================================
       AUDIO
       ICON ONLY ON PHONE
       ===================================================== */

    .mines-audio-control {
        position:
            relative !important;

        width:
            38px !important;

        min-width:
            38px !important;

        height:
            38px !important;

        flex:
            0 0
            38px !important;

        padding:
            0 !important;

        margin:
            0 !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        gap:
            0 !important;

        overflow:
            hidden !important;

        transform:
            none !important;
    }


    .mines-audio-button {
        width:
            36px !important;

        height:
            36px !important;

        min-width:
            36px !important;

        flex:
            0 0
            36px !important;
    }


    .mines-volume-slider {
        display:
            none !important;
    }


    /* =====================================================
       BALANCE
       ===================================================== */

    .mines-balance {
        min-width:
            0 !important;

        flex:
            1 1
            auto !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            flex-start !important;

        gap:
            7px !important;

        overflow:
            hidden !important;
    }


    .mines-token {
        width:
            29px !important;

        height:
            29px !important;

        min-width:
            29px !important;

        flex:
            0 0
            29px !important;
    }


    .mines-balance span {
        font-size:
            5px !important;

        letter-spacing:
            .65px !important;

        white-space:
            nowrap !important;
    }


    .mines-balance strong {
        margin-top:
            1px !important;

        font-size:
            9px !important;

        white-space:
            nowrap !important;
    }


    /* =====================================================
       BACK
       ===================================================== */

    .mines-back {
        min-width:
            108px !important;

        min-height:
            38px !important;

        flex:
            0 0
            108px !important;

        padding:
            0
            8px !important;

        font-size:
            5.7px !important;

        letter-spacing:
            .35px !important;

        white-space:
            nowrap !important;
    }

}


/* =========================================================
   VERY SMALL PHONES
   GALAXY Z FOLD 5 / S8+ / IPHONE SE
   <= 380px
   ========================================================= */

@media (max-width: 380px) {

    .mines-user {
        gap:
            4px !important;
    }


    .mines-audio-control {
        width:
            35px !important;

        min-width:
            35px !important;

        height:
            35px !important;

        flex-basis:
            35px !important;
    }


    .mines-audio-button {
        width:
            33px !important;

        height:
            33px !important;

        min-width:
            33px !important;

        flex-basis:
            33px !important;
    }


    .mines-token {
        width:
            27px !important;

        height:
            27px !important;

        min-width:
            27px !important;

        flex-basis:
            27px !important;
    }


    .mines-balance span {
        font-size:
            4.5px !important;
    }


    .mines-balance strong {
        font-size:
            8px !important;
    }


    .mines-back {
        min-width:
            94px !important;

        flex-basis:
            94px !important;

        padding:
            0
            6px !important;

        font-size:
            5px !important;
    }

}


/* =========================================================
   IPAD MINI / IPAD AIR / ASUS ZENBOOK FOLD
   681 — 900px
   ========================================================= */

@media (min-width: 681px) and (max-width: 900px) {

    .mines-navbar {
        position:
            sticky !important;

        top:
            0 !important;

        width:
            100% !important;

        height:
            74px !important;

        min-height:
            74px !important;

        padding:
            0
            14px !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            space-between !important;

        gap:
            8px !important;

        overflow:
            visible !important;
    }


    /* BRAND */

    .mines-brand {
        min-width:
            128px !important;

        flex:
            0 0
            auto !important;

        gap:
            7px !important;
    }


    .mines-brand-icon {
        width:
            36px !important;

        height:
            36px !important;

        min-width:
            36px !important;

        flex:
            0 0
            36px !important;
    }


    .mines-brand strong {
        font-size:
            10px !important;

        letter-spacing:
            1.8px !important;
    }


    .mines-brand span {
        font-size:
            5px !important;

        letter-spacing:
            2.3px !important;
    }


    /* =====================================================
       LIVE TRUE CENTER
       ===================================================== */

    .mines-navbar
    .mines-live {
        position:
            absolute !important;

        left:
            50% !important;

        top:
            50% !important;

        right:
            auto !important;

        bottom:
            auto !important;

        margin:
            0 !important;

        transform:
            translate(
                -50%,
                -50%
            ) !important;

        padding:
            7px
            9px !important;

        gap:
            5px !important;

        font-size:
            5.5px !important;

        letter-spacing:
            .7px !important;

        white-space:
            nowrap !important;

        z-index:
            10 !important;
    }


    /* USER */

    .mines-user {
        width:
            auto !important;

        min-width:
            0 !important;

        margin-left:
            auto !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            flex-end !important;

        gap:
            5px !important;
    }


    /* AUDIO */

    .mines-audio-control {
        width:
            86px !important;

        min-width:
            86px !important;

        height:
            38px !important;

        flex:
            0 0
            86px !important;

        padding:
            0
            6px !important;

        gap:
            5px !important;
    }


    .mines-audio-button {
        width:
            25px !important;

        height:
            25px !important;

        min-width:
            25px !important;

        flex:
            0 0
            25px !important;
    }


    .mines-volume-slider {
        display:
            block !important;

        width:
            45px !important;

        min-width:
            45px !important;

        flex:
            0 0
            45px !important;
    }


    /* BALANCE */

    .mines-balance {
        min-width:
            94px !important;

        gap:
            6px !important;
    }


    .mines-token {
        width:
            28px !important;

        height:
            28px !important;

        min-width:
            28px !important;

        flex:
            0 0
            28px !important;
    }


    .mines-balance span {
        font-size:
            4.5px !important;

        letter-spacing:
            .7px !important;

        white-space:
            nowrap !important;
    }


    .mines-balance strong {
        font-size:
            8.5px !important;

        white-space:
            nowrap !important;
    }


    /* BACK */

    .mines-back {
        min-width:
            92px !important;

        min-height:
            37px !important;

        flex:
            0 0
            92px !important;

        padding:
            0
            7px !important;

        font-size:
            5px !important;

        letter-spacing:
            .35px !important;

        white-space:
            nowrap !important;
    }

}


/* =========================================================
   IPAD PRO / SURFACE PRO 7 / NEST HUB
   901 — 1050px
   ========================================================= */

@media (min-width: 901px) and (max-width: 1050px) {

    .mines-navbar {
        position:
            sticky !important;

        top:
            0 !important;

        width:
            100% !important;

        height:
            76px !important;

        min-height:
            76px !important;

        padding:
            0
            22px !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            space-between !important;

        gap:
            14px !important;

        overflow:
            visible !important;
    }


    .mines-brand {
        min-width:
            155px !important;

        flex:
            0 0
            auto !important;

        gap:
            10px !important;
    }


    .mines-brand-icon {
        width:
            40px !important;

        height:
            40px !important;

        min-width:
            40px !important;

        flex:
            0 0
            40px !important;
    }


    .mines-brand strong {
        font-size:
            12px !important;
    }


    .mines-brand span {
        font-size:
            6px !important;
    }


    /* TRUE CENTER LIVE */

    .mines-navbar
    .mines-live {
        position:
            absolute !important;

        left:
            50% !important;

        top:
            50% !important;

        right:
            auto !important;

        margin:
            0 !important;

        transform:
            translate(
                -50%,
                -50%
            ) !important;

        z-index:
            10 !important;
    }


    .mines-user {
        width:
            auto !important;

        min-width:
            0 !important;

        margin-left:
            auto !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            flex-end !important;

        gap:
            7px !important;
    }


    .mines-audio-control {
        width:
            112px !important;

        min-width:
            112px !important;

        height:
            40px !important;

        flex:
            0 0
            112px !important;

        padding:
            0
            8px !important;

        gap:
            7px !important;
    }


    .mines-volume-slider {
        display:
            block !important;

        width:
            60px !important;

        min-width:
            60px !important;

        flex:
            0 0
            60px !important;
    }


    .mines-balance {
        min-width:
            122px !important;

        gap:
            7px !important;
    }


    .mines-token {
        width:
            31px !important;

        height:
            31px !important;

        min-width:
            31px !important;

        flex:
            0 0
            31px !important;
    }


    .mines-balance span {
        font-size:
            5.5px !important;
    }


    .mines-balance strong {
        font-size:
            10px !important;

        white-space:
            nowrap !important;
    }


    .mines-back {
        min-width:
            120px !important;

        min-height:
            39px !important;

        flex:
            0 0
            120px !important;

        padding:
            0
            10px !important;

        font-size:
            6px !important;

        white-space:
            nowrap !important;
    }

}


/* =========================================================
   SURFACE PRO 7
   901 — 960px
   ========================================================= */

@media (min-width: 901px) and (max-width: 960px) {

    .mines-navbar {
        height:
            72px !important;

        min-height:
            72px !important;

        padding:
            0
            14px !important;

        gap:
            8px !important;
    }


    .mines-brand {
        min-width:
            130px !important;

        gap:
            7px !important;
    }


    .mines-brand-icon {
        width:
            35px !important;

        height:
            35px !important;

        min-width:
            35px !important;

        flex-basis:
            35px !important;
    }


    .mines-brand strong {
        font-size:
            10px !important;
    }


    .mines-brand span {
        font-size:
            5px !important;
    }


    .mines-navbar
    .mines-live {
        padding:
            7px
            8px !important;

        font-size:
            5.5px !important;
    }


    .mines-user {
        gap:
            5px !important;
    }


    .mines-audio-control {
        width:
            94px !important;

        min-width:
            94px !important;

        flex-basis:
            94px !important;
    }


    .mines-volume-slider {
        width:
            43px !important;

        min-width:
            43px !important;

        flex-basis:
            43px !important;
    }


    .mines-balance {
        min-width:
            105px !important;
    }


    .mines-token {
        width:
            28px !important;

        height:
            28px !important;

        min-width:
            28px !important;

        flex-basis:
            28px !important;
    }


    .mines-balance span {
        font-size:
            4.8px !important;
    }


    .mines-balance strong {
        font-size:
            9px !important;
    }


    .mines-back {
        min-width:
            105px !important;

        flex-basis:
            105px !important;

        padding:
            0
            7px !important;

        font-size:
            5.3px !important;
    }

}


/* =========================================================
   NEST HUB
   1024 x 600
   ========================================================= */

@media
    (min-width: 961px)
    and (max-width: 1050px)
    and (max-height: 650px) {

    .mines-navbar {
        height:
            68px !important;

        min-height:
            68px !important;

        padding:
            0
            20px !important;
    }


    .mines-brand-icon {
        width:
            38px !important;

        height:
            38px !important;

        min-width:
            38px !important;

        flex-basis:
            38px !important;
    }

}


/* =========================================================
   NEST HUB MAX / LARGE FOLD
   1051 — 1280px
   ========================================================= */

@media (min-width: 1051px) and (max-width: 1280px) {

    .mines-navbar {
        position:
            sticky !important;

        top:
            0 !important;

        width:
            100% !important;

        height:
            72px !important;

        min-height:
            72px !important;

        padding:
            0
            24px !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            space-between !important;

        gap:
            12px !important;

        overflow:
            visible !important;
    }


    .mines-brand {
        min-width:
            165px !important;

        flex:
            0 0
            auto !important;
    }


    /* TRUE CENTER LIVE */

    .mines-navbar
    .mines-live {
        position:
            absolute !important;

        left:
            50% !important;

        top:
            50% !important;

        right:
            auto !important;

        margin:
            0 !important;

        transform:
            translate(
                -50%,
                -50%
            ) !important;

        z-index:
            10 !important;
    }


    .mines-user {
        width:
            auto !important;

        min-width:
            0 !important;

        margin-left:
            auto !important;

        display:
            flex !important;

        align-items:
            center !important;

        gap:
            8px !important;
    }


    .mines-audio-control {
        width:
            118px !important;

        min-width:
            118px !important;

        height:
            40px !important;

        flex:
            0 0
            118px !important;

        padding:
            0
            8px !important;

        gap:
            7px !important;
    }


    .mines-volume-slider {
        display:
            block !important;

        width:
            65px !important;

        min-width:
            65px !important;

        flex:
            0 0
            65px !important;
    }


    .mines-balance {
        min-width:
            125px !important;
    }


    .mines-back {
        min-width:
            120px !important;

        min-height:
            38px !important;

        flex:
            0 0
            120px !important;

        font-size:
            6px !important;
    }

}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .mines-audio-button:hover,
    .mines-back:hover {
        transform:
            none !important;
    }

}
