BOULES À GOGO — V1.2
TERRE — GLOBE AVEC MÉRIDIENS ET PARALLÈLES
=========================================================

* {
    box-sizing: border-box;
}

#boulesagogo {
    width: 100%;
    min-height: 805px;
    position: relative;
    overflow: hidden;
    background: #050505;
    border-radius: 20px;
}

.machine {
    position: relative;
    width: 100%;
    height: 805px;
}

/* =========================================================
   LA TERRE
   ========================================================= */

.bag-sphere {
    position: absolute;

    width: 520px;
    height: 520px;

    left: 50%;
    top: 25px;

    transform: translateX(-50%);

    border-radius: 50%;

    /* V1.4 VISUEL 01 — fond du globe légèrement fumé
       pour le détacher du fond noir sans masquer les boules. */
    background:
        radial-gradient(
            circle at 31% 24%,
            rgba(255,255,255,.16) 0%,
            rgba(255,255,255,.055) 12%,
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 52%,
            rgba(78,92,108,.34) 0%,
            rgba(36,43,52,.26) 48%,
            rgba(10,13,17,.42) 78%,
            rgba(0,0,0,.58) 100%
        );

    box-shadow:
        0 0 30px rgba(255,190,0,.35),
        0 0 70px rgba(110,135,160,.10),
        inset 25px 15px 35px rgba(255,255,255,.035),
        inset -45px -35px 70px rgba(0,0,0,.72);

    overflow: hidden;

    /* Rotation de la sphère entière — comme dans la démo validée. */
    transform-origin: center center;

    border: 1px solid rgba(255, 215, 70, 0.28);
    box-shadow:
        0 0 10px rgba(255, 215, 70, 0.18),
        inset 0 0 18px rgba(255, 255, 255, 0.045);
}

/* =========================================================
   ROTATION DE LA TERRE — LOGIQUE DE LA DÉMO
   ========================================================= */

.bag-sphere.demo-spinning {
    animation: demoSphereSpin 1.55s linear infinite;
}

@keyframes demoSphereSpin {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* =========================================================
   MÉRIDIENS / PARALLÈLES — rendu 3D commun
   ========================================================= */

.bag-sphere::before {
    content: none !important;
}

.sphere-grid::before {
    content: none !important;
}

/* =========================================================
   PARALLÈLES
   ========================================================= */

.sphere-grid::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background:

        /* parallèle nord */
        radial-gradient(
            ellipse 50% 5.5% at 50% 30%,
            transparent 82%,
            rgba(255,215,90,.42) 86%,
            rgba(255,205,60,.16) 89%,
            transparent 93%
        ),

        /* deuxième nord */
        radial-gradient(
            ellipse 50% 7% at 50% 40%,
            transparent 84%,
            rgba(255,215,90,.52) 87%,
            rgba(255,205,60,.20) 90%,
            transparent 94%
        ),

        /* équateur */
        radial-gradient(
            ellipse 50% 8% at 50% 50%,
            transparent 83%,
            rgba(255,225,100,.72) 87%,
            rgba(255,210,60,.25) 90%,
            transparent 94%
        ),

        /* deuxième sud */
        radial-gradient(
            ellipse 50% 7% at 50% 60%,
            transparent 84%,
            rgba(255,215,90,.52) 87%,
            rgba(255,205,60,.20) 90%,
            transparent 94%
        ),

        /* parallèle sud */
        radial-gradient(
            ellipse 50% 5.5% at 50% 70%,
            transparent 82%,
            rgba(255,215,90,.42) 86%,
            rgba(255,205,60,.16) 89%,
            transparent 93%
        );

    opacity: .70;

    pointer-events: none;


    z-index: 1;
}

/* =========================================================
   OMBRE DE PROFONDEUR DU GLOBE
   ========================================================= */

.sphere-grid::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at 50% 48%,
            transparent 0%,
            transparent 54%,
            rgba(0,0,0,.10) 67%,
            rgba(0,0,0,.30) 82%,
            rgba(0,0,0,.62) 100%
        );

    pointer-events: none;

    z-index: 4;
}

/* =========================================================
   REFLET DE LA TERRE
   ========================================================= */

.sphere-reflection {
    position: absolute;

    width: 105px;
    height: 155px;

    left: 70px;
    top: 48px;

    border-radius: 50%;

    transform: rotate(35deg);

    background:
        radial-gradient(
            ellipse,
            rgba(255,255,255,.50),
            rgba(255,255,255,.12) 32%,
            rgba(255,255,255,0) 72%
        );

    filter: blur(4px);

    z-index: 10;

    pointer-events: none;
}

/* =========================================================
   GRILLE 3D DU GLOBE
   ========================================================= */

.globe-3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
}

/* =========================================================
   ZONE DES BOULES
   ========================================================= */



.sphere-grid {
    position: absolute;

    inset: 0;

    z-index: 2;
}

/* =========================================================
   BOULES
   ========================================================= */

.ball {
    position: absolute;

    width: 70px;
    height: 70px;

    border-radius: 50%;

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

    background:
        radial-gradient(
            circle at
                calc(50% + var(--shine-x, -14px))
                calc(50% + var(--shine-y, -16px)),
            #ffffff 0%,
            #ffbaba 7%,
            #e12a2a 30%,
            #8a0000 68%,
            #2b0000 100%
        );

    border: none;

    box-shadow:
        0 3px 10px rgba(0,0,0,.95),
        0 0 8px rgba(255,255,255,.35),
        inset var(--shadow-x, 9px)
                var(--shadow-y, 10px)
                14px rgba(0,0,0,.34);

    color: #111;

    font-size: 0;
    font-weight: bold;

    z-index: 5;
}

/* =========================================================
   PASTILLE BLANCHE
   ========================================================= */

.ball::after {
    content: "";

    position: absolute;

    width: 38px;
    height: 38px;

    left: 50%;
    top: 50%;

    transform:
        translate(
            calc(-50% + var(--pastille-offset-x, 0px)),
            calc(-50% + var(--pastille-offset-y, 0px))
        )
        rotate(var(--pastille-angle, 0deg));

    transform-origin: center center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #ffffff 55%,
            #eeeeee 82%,
            #cfcfcf 100%
        );

    border: 2px solid #cfcfcf;

    box-shadow:
        0 1px 3px rgba(0,0,0,.55),
        inset 0 1px 2px rgba(255,255,255,.9);

    z-index: 2;
}

/* =========================================================
   NUMÉROS
   ========================================================= */

.ball-number {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(
            calc(-50% + var(--pastille-offset-x, 0px)),
            calc(-50% + var(--pastille-offset-y, 0px))
        )
        rotate(var(--pastille-angle, 0deg));

    transform-origin: center center;

    width: 34px;
    height: 34px;

    display: flex;

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

    color: #111;

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

    line-height: 1;

    z-index: 3;

    pointer-events: none;
}

/* =========================================================
   CONDUIT PRINCIPAL
   ========================================================= */

.neck {
    position: absolute;

    width: 80px;
    height: 145px;

    left: 50%;
    top: 520px;

    transform: translateX(-50%);

    border: none;

    border-radius:
        18px
        18px
        20px
        20px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.30) 0%,
            rgba(255,255,255,.10) 7%,
            rgba(255,255,255,.025) 18%,
            rgba(0,0,0,.12) 48%,
            rgba(0,0,0,.08) 62%,
            rgba(255,255,255,.045) 82%,
            rgba(255,255,255,.20) 94%,
            rgba(255,220,90,.30) 100%
        );

    box-shadow:
        inset 8px 0 10px rgba(255,255,255,.16),
        inset -8px 0 10px rgba(0,0,0,.42),
        inset 0 0 18px rgba(255,220,80,.10);

    z-index: 3;
}

.neck::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 8px;
    border-radius: 50%;
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.72),
            rgba(255,255,255,.18) 35%,
            rgba(255,255,255,.08) 65%,
            rgba(255,255,255,.52)
        );
    filter: blur(1px);
    opacity: .82;
    pointer-events: none;
    z-index: 30;
}

.neck::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 22px;
    left: -65px;
    top: 18px;
    transform: rotate(-18deg);
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0),
            rgba(255,255,255,.58),
            rgba(255,255,255,0)
        );
    filter: blur(3px);
    opacity: .75;
    pointer-events: none;
    z-index: 31;
    animation: conduitReflection 2.8s ease-in-out infinite;
}

/* =========================================================
   RAIL
   ========================================================= */

.rail {
    position: absolute;

    left: 0;
    right: 0;

    top: 665px;

    height: 185px;

    border-radius: 10px;

    background:
        linear-gradient(
            to bottom,
            #f5f5f5 0%,
            #b8b8b8 18%,
            #707070 50%,
            #cfcfcf 78%,
            #f7f7f7 100%
        );

    box-shadow:
        inset 0 2px 3px rgba(255,255,255,0.8),
        inset 0 -2px 3px rgba(0,0,0,0.35),
        0 0 5px rgba(220,220,220,0.7);

    z-index: 4;
}

/* =========================================================
   6 CONDUITS
   ========================================================= */

.conduits {
    position: absolute;

    left: calc(50% - 39px);
    top: 625px;

    transform: none;

    display: flex;

    gap: 20px;

    z-index: 5;
}

.conduit {
    width: 78px;
    height: 120px;

    flex: 0 0 78px;

    position: relative;

    overflow: hidden;

    border: none;

    border-radius:
        18px
        18px
        20px
        20px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.30) 0%,
            rgba(255,255,255,.10) 7%,
            rgba(255,255,255,.025) 18%,
            rgba(0,0,0,.12) 48%,
            rgba(0,0,0,.08) 62%,
            rgba(255,255,255,.045) 82%,
            rgba(255,255,255,.20) 94%,
            rgba(255,220,90,.30) 100%
        );

    box-shadow:
        inset 8px 0 10px rgba(255,255,255,.16),
        inset -8px 0 10px rgba(0,0,0,.42),
        inset 0 0 18px rgba(255,220,80,.10);

    animation:
        conduitGlow 2.4s ease-in-out infinite;

    outline: none;
}

.conduit::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 5px;
    bottom: 5px;

    width: 8px;

    border-radius: 50%;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.72),
            rgba(255,255,255,.18) 35%,
            rgba(255,255,255,.08) 65%,
            rgba(255,255,255,.52)
        );

    filter: blur(1px);

    opacity: .82;

    pointer-events: none;

    z-index: 30;
}

.conduit::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 22px;

    left: -65px;
    top: 18px;

    transform: rotate(-18deg);

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0),
            rgba(255,255,255,.58),
            rgba(255,255,255,0)
        );

    filter: blur(3px);

    opacity: .75;

    pointer-events: none;

    z-index: 31;

    animation:
        conduitReflection 2.8s ease-in-out infinite;
}

/* =========================================================
   ANIMATION CONDUITS
   ========================================================= */

@keyframes conduitGlow {

    0%, 100% {
        box-shadow:
            inset 8px 0 10px rgba(255,255,255,.16),
            inset -8px 0 10px rgba(0,0,0,.42),
            inset 0 0 18px rgba(255,220,80,.10);
    }

    50% {
        box-shadow:
            inset 8px 0 12px rgba(255,255,255,.25),
            inset -8px 0 11px rgba(0,0,0,.36),
            inset 0 0 22px rgba(255,220,80,.16);
    }
}

@keyframes conduitReflection {

    0%, 100% {
        left: -65px;
        opacity: .10;
    }

    35% {
        left: 25px;
        opacity: .72;
    }

    65% {
        left: 65px;
        opacity: .16;
    }
}

/* =========================================================
   PANNEAU RÉSULTAT
   ========================================================= */

.result-column {
    position: absolute;

    width: 400px;
    height: 135px;

    left: calc(50% + 260px);
    top: 25px;

    padding: 14px;

    border: 3px solid #c58b00;

    border-radius: 16px;

    background:
        linear-gradient(
            rgba(35,20,0,.92),
            rgba(10,10,10,.96)
        );

    box-shadow:
        0 0 18px rgba(255,190,0,.25),
        inset 0 0 20px rgba(0,0,0,.8);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    z-index: 15;
}

.result-title {
    width: 100%;

    margin-bottom: 10px;

    text-align: center;

    display: block;

    color: #ffd83e;

    font-size: 20px;

    font-weight: bold;

    text-shadow:
        0 0 8px rgba(255,195,0,.5);
}

.result-numbers {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(6, 48px);

    grid-auto-rows: 48px;

    justify-content: flex-start;

    gap: 0 12px;
}

.result-number {
    width: 48px;
    height: 48px;

    display: none;

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

    position: relative;

    border: none;

    border-radius: 50%;

    background: transparent;

    box-shadow: none;

    color: transparent;

    font-size: 0;

    line-height: 1;
}

.result-number.result-ball {
    display: flex;
}

.result-number.result-ball .ball {
    flex: 0 0 48px !important;

    width: 48px !important;
    height: 48px !important;

    position: relative;

    left: auto;
    top: auto;

    margin: 0;
}

.result-number.result-ball .ball::after {
    width: 30px;
    height: 30px;
}

.result-number.result-ball .ball-number {
    width: 27px;
    height: 27px;

    font-size: 13px;
}

/* =========================================================
   NUMÉRO RÉSULTAT
   ========================================================= */

.result-ball-number {
    position: absolute !important;

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

    width: 27px !important;
    height: 27px !important;

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

    display: flex !important;

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

    color: #111 !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    z-index: 10 !important;

    pointer-events: none;
}

/* =========================================================
   BOUTON TIRER
   ========================================================= */

.boulesagogo-actions {
    position: absolute;

    left: 0;
    right: 0;

    top: 760px;

    text-align: center;

    z-index: 20;
}

#drawBtn {
    min-width: 330px;

    padding: 12px 30px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            #ffd83e,
            #f4b900
        );

    color: #111;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 0 18px rgba(255,195,0,.4);
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

    .result-column {
        left: 50%;
        top: 680px;

        transform:
            translateX(-50%);
    }

    .boulesagogo-actions {
        top: 950px;
    }

    .machine {
        height: 1040px;
    }

    #boulesagogo {
        min-height: 1040px;
    }
}

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

@media (max-width: 700px) {

    .bag-sphere {
        width: 430px;
        height: 430px;
    }

    .ball {
        width: 55px;
        height: 55px;
    }

    .ball::after {
        width: 32px;
        height: 32px;
    }

    .ball-number {
        width: 29px;
        height: 29px;

        font-size: 14px;
    }

    .neck {
        top: 435px;
    }

    .rail {
        top: 565px;
    }

    .conduits {
        top: 545px;

        left:
            calc(50% - 27.5px);

        gap: 8px;
    }

    .conduit {
        width: 63px;

        flex-basis: 63px;

        height: 105px;
    }

    .result-column {
        width: 250px;
        height: 250px;

        top: 650px;
    }

    .boulesagogo-actions {
        top: 675px;
    }

    .machine {
        height: 1020px;
    }

    #boulesagogo {
        min-height: 1020px;
    }
}

/* =========================================================
   LIBELLÉ RÉSULTAT
   ========================================================= */

.result-title {
    font-size: 0 !important;
}

.result-title::after {
    content: "RÉSULTAT";

    display: block;

    width: 100%;

    text-align: center;

    font-size: 20px;

    font-weight: bold;
}

/* La grille 3D est le rendu officiel du globe. */
.globe-3d {
    display: block;
}


/* =========================================================
   V1.8 TEST — GRILLE 1 À 45 DANS LA ZONE RÉSULTAT
   ========================================================= */
.result-column { width: 190px; height: 350px; padding: 10px; }
.result-title { margin-bottom: 8px; }
.result-numbers { width: 100%; display: grid; grid-template-columns: repeat(5, 38px); grid-template-rows: repeat(9, 38px); gap: 4px; justify-content: center; align-content: start; }
.result-number { display: flex !important; width: 38px !important; height: 38px !important; align-items: center; justify-content: center; border: 1px solid #ffb3b3 !important; border-radius: 5px !important; background: #ffffff !important; box-shadow: none !important; color: #ff2b2b !important; font-size: 14px !important; font-weight: 700; line-height: 1; }
.result-number.result-ball { display: flex !important; }
.result-number .ball { display: none !important; }
@media (max-width: 700px) { .result-column { width: 190px; height: 350px; top: 650px; } }


/* =========================================================
   V1.8 TEST — V NOIR SUR CHAQUE NUMERO TIRE
   ========================================================= */
.result-number.numero-tire::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 57%;
    width: 18px;
    height: 14px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    background:
        linear-gradient(45deg, transparent 40%, #111 41%, #111 59%, transparent 60%) left center / 50% 100% no-repeat,
        linear-gradient(-45deg, transparent 40%, #111 41%, #111 59%, transparent 60%) right center / 50% 100% no-repeat;
}


/* =========================================================
   V1.8 TEST — 6 BOULES DE RÉSULTAT SOUS LA GRILLE
   ========================================================= */
.result-column {
    height: 440px;
}

.result-balls-line {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.result-boule {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 25%, #ff7777 0%, #e00000 35%, #a80000 72%, #650000 100%);
    border: 2px solid #ffb0b0;
    box-shadow:
        inset -4px -5px 8px rgba(0,0,0,0.35),
        inset 4px 4px 7px rgba(255,255,255,0.28),
        0 2px 5px rgba(0,0,0,0.45);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-shadow: 1px 1px 2px #400000;
}


/* =========================================================
   V1.8 TEST — BOULES DE RÉSULTAT RONDES + PASTILLE BLANCHE
   ========================================================= */

.result-balls-line {
    flex-wrap: nowrap;
}

.result-boule {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;

    visibility: hidden;
    opacity: 0;

    overflow: visible;
    transition: opacity 0.15s ease;
}

.result-boule.visible {
    visibility: visible;
    opacity: 1;
}

/* Pastille blanche parfaitement ronde au centre. */
.result-boule-pastille {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #111111;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-shadow: none;
    z-index: 3;
}


/* =========================================================
   V1.9 TEST — JEU DE LAMPES PENDANT LE TIRAGE
   ========================================================= */
.lampes-tirage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 94%;
    height: 94%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.lampe-tirage {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-sizing: border-box;
    background: #241010;
    border: 1px solid #542020;
    opacity: .7;
    transition: all .08s ease;
}

/* Projecteurs : chaque lampe garde sa couleur et projette un halo. */
.lampe-tirage:nth-child(1), .lampe-tirage:nth-child(8), .lampe-tirage:nth-child(15) {
    --couleur-projecteur: #ff3030;
}
.lampe-tirage:nth-child(2), .lampe-tirage:nth-child(9), .lampe-tirage:nth-child(16) {
    --couleur-projecteur: #ffd52e;
}
.lampe-tirage:nth-child(3), .lampe-tirage:nth-child(10), .lampe-tirage:nth-child(17) {
    --couleur-projecteur: #39ff68;
}
.lampe-tirage:nth-child(4), .lampe-tirage:nth-child(11), .lampe-tirage:nth-child(18) {
    --couleur-projecteur: #35a7ff;
}
.lampe-tirage:nth-child(5), .lampe-tirage:nth-child(12), .lampe-tirage:nth-child(19) {
    --couleur-projecteur: #b45cff;
}
.lampe-tirage:nth-child(6) { --couleur-projecteur: #ff5bd6; }
.lampe-tirage:nth-child(7) { --couleur-projecteur: #28e8e8; }
.lampe-tirage:nth-child(13) { --couleur-projecteur: #ff8a2a; }
.lampe-tirage:nth-child(14) { --couleur-projecteur: #7dff3f; }

.lampe-tirage.allumee {
    background: var(--couleur-projecteur);
    border-color: #ffffff;
    opacity: 1;
    box-shadow:
        0 0 7px var(--couleur-projecteur),
        0 0 20px var(--couleur-projecteur),
        0 0 40px var(--couleur-projecteur),
        0 0 70px color-mix(in srgb, var(--couleur-projecteur) 75%, transparent),
        0 0 95px color-mix(in srgb, var(--couleur-projecteur) 45%, transparent);
    transform: scale(1.15);
}
.lampe-tirage:nth-child(1){left:8%;top:4%}.lampe-tirage:nth-child(2){left:24%;top:1%}.lampe-tirage:nth-child(3){left:40%;top:0%}.lampe-tirage:nth-child(4){left:56%;top:0%}.lampe-tirage:nth-child(5){left:72%;top:1%}.lampe-tirage:nth-child(6){left:88%;top:4%}
.lampe-tirage:nth-child(7){left:96%;top:22%}.lampe-tirage:nth-child(8){left:98%;top:42%}.lampe-tirage:nth-child(9){left:98%;top:62%}.lampe-tirage:nth-child(10){left:94%;top:80%}
.lampe-tirage:nth-child(11){left:78%;top:96%}.lampe-tirage:nth-child(12){left:60%;top:99%}.lampe-tirage:nth-child(13){left:42%;top:100%}.lampe-tirage:nth-child(14){left:24%;top:99%}.lampe-tirage:nth-child(15){left:8%;top:96%}
.lampe-tirage:nth-child(16){left:2%;top:80%}.lampe-tirage:nth-child(17){left:0%;top:62%}.lampe-tirage:nth-child(18){left:0%;top:42%}.lampe-tirage:nth-child(19){left:2%;top:22%}

/* =========================================================
   TEST 03 — OPTIONS À GAUCHE / RÉSULTATS À DROITE
   La sphère reste la zone visuelle principale.
   ========================================================= */
.line-options {
    position: absolute;
    width: 190px;
    min-height: 150px;
    left: calc(50% - 660px);
    top: 190px;
    padding: 16px;
    border: 3px solid #c58b00;
    border-radius: 16px;
    background: linear-gradient(rgba(35,20,0,.92), rgba(10,10,10,.96));
    box-shadow: 0 0 18px rgba(255,190,0,.25), inset 0 0 20px rgba(0,0,0,.8);
    color: #ffd83e;
    z-index: 25;
    text-align: center;
}
.line-options-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 14px;
    text-shadow: 0 0 8px rgba(255,195,0,.5);
}
.line-options label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}
#lineCount {
    width: 150px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 2px solid #c58b00;
    background: #111;
    color: #ffd83e;
    font-weight: bold;
    text-align: center;
}
.result-column {
    left: calc(50% + 220px);
    top: 25px;
    width: 360px;
    height: 600px;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
}
.result-numbers {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    overflow: hidden;
}
.result-balls-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    margin-top: 0;
    min-height: 38px;
}
.result-line-label {
    flex: 0 0 58px;
    width: 58px;
    color: #ffd83e;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
    margin-right: 3px;
}
.result-balls-line .result-boule {
    flex: 0 0 38px;
}
@media (max-width: 1100px) {
    .line-options {
        left: 25px;
        top: 190px;
    }
    .result-column {
        left: 50%;
        top: 680px;
        transform: translateX(-50%);
    }
}
@media (max-width: 700px) {
    .line-options {
        left: 50%;
        top: 610px;
        transform: translateX(-50%);
        width: 190px;
    }
    .result-column {
        width: 390px;
        height: 500px;
        top: 790px;
    }
    .machine {
        height: 1350px;
    }
    #boulesagogo {
        min-height: 1350px;
    }
}


/* =========================================================
   TEST 08 — ZONE RÉSULTATS AJUSTÉE À 6 BOULES
   ========================================================= */
.result-column {
    width: 330px;
}
.result-balls-line {
    gap: 4px;
}
.result-line-label {
    flex: 0 0 50px;
    width: 50px;
    margin-right: 0;
}
@media (max-width: 700px) {
    .result-column {
        width: 330px;
    }
}


/* =========================================================
   TEST 09 — RÉSULTATS 280 PX / SANS LIBELLÉ DE LIGNE
   ========================================================= */
.result-column {
    left: calc(50% + 285px);
    width: 280px;
    padding: 8px;
    box-sizing: border-box;
}
.result-balls-line {
    justify-content: center;
    gap: 4px;
}
.result-balls-line .result-boule {
    flex: 0 0 38px;
    width: 38px;
}
.result-line-label {
    display: none !important;
}
@media (max-width: 700px) {
    .result-column {
        width: 280px;
    }
}


/* =========================================================
   TEST 10 — PANNEAU OPTIONS DÉCORÉ + COUNTDOWN + PRIX
   ========================================================= */
.line-options {
    width: 220px;
    min-height: 365px;
    padding: 14px 14px 16px;
    box-sizing: border-box;
    border: 3px solid #c58b00;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,215,70,.13) 0%, rgba(255,215,70,0) 30%),
        repeating-radial-gradient(circle at 50% 45%, rgba(255,215,70,.035) 0 2px, transparent 2px 18px),
        linear-gradient(145deg, rgba(58,32,0,.98), rgba(9,9,9,.98) 48%, rgba(38,20,0,.98));
    box-shadow:
        0 0 10px rgba(255,190,0,.22),
        0 0 28px rgba(255,190,0,.16),
        inset 0 0 22px rgba(0,0,0,.9),
        inset 0 1px 0 rgba(255,230,130,.25);
}

.line-options::before,
.line-options::after {
    content: "✦";
    position: absolute;
    color: #ffd83e;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(255,215,70,.65);
}
.line-options::before { left: 9px; top: 8px; }
.line-options::after { right: 9px; top: 8px; }

.line-options-title {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,215,70,.35);
    font-size: 21px;
    letter-spacing: 1.5px;
}

.countdown-zone,
.line-selector-zone,
.price-zone {
    position: relative;
    margin-top: 10px;
    padding: 9px 8px;
    border: 1px solid rgba(255,215,70,.22);
    border-radius: 12px;
    background: rgba(0,0,0,.34);
    box-shadow: inset 0 0 12px rgba(0,0,0,.55);
}

.countdown-label,
.price-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
    color: #e8c95a;
}

#boulesagogo-countdown {
    position: relative;
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #ff3030;
    font-family: Arial, sans-serif;
    font-size: 66px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255,215,70,.5), 0 0 20px rgba(255,170,0,.22);
    transition: transform .22s ease-out, opacity .22s ease-out;
}

.countdown-zone::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,215,70,.18);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(255,190,0,.12);
    pointer-events: none;
}

.line-selector-zone label {
    margin-bottom: 7px;
}

#lineCount {
    width: 150px;
    height: 40px;
    padding: 6px 10px;
    border: 2px solid #c58b00;
    border-radius: 9px;
    background: #111;
    color: #ffd83e;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,.7), 0 0 8px rgba(255,190,0,.12);
}

.price-zone {
    margin-top: 12px;
    padding: 11px 8px 13px;
}

.price-label {
    margin-bottom: 4px;
}

#boulesagogo-price {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: .5px;
    text-shadow: 0 0 8px rgba(255,215,70,.35);
}

@media (max-width: 1100px) {
    .line-options {
        width: 220px;
        min-height: 365px;
    }
}

@media (max-width: 700px) {
    .line-options {
        width: 220px;
        min-height: 365px;
    }
}

.countdown-final {
    font-size: 30px !important;
    letter-spacing: 1px;
}


/* =========================================================
   TEST 11 — UNIFORMISATION DES PANNEAUX OPTIONS / RÉSULTATS
   ========================================================= */
.line-options,
.result-column {
    width: 280px;
    box-sizing: border-box;
    border: 3px solid #c58b00;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,215,70,.13) 0%, rgba(255,215,70,0) 30%),
        repeating-radial-gradient(circle at 50% 45%, rgba(255,215,70,.035) 0 2px, transparent 2px 18px),
        linear-gradient(145deg, rgba(58,32,0,.98), rgba(9,9,9,.98) 48%, rgba(38,20,0,.98));
    box-shadow:
        0 0 10px rgba(255,190,0,.22),
        0 0 28px rgba(255,190,0,.16),
        inset 0 0 22px rgba(0,0,0,.9),
        inset 0 1px 0 rgba(255,230,130,.25);
}

.line-options {
    min-height: 365px;
    padding: 14px 14px 16px;
}

.result-column {
    padding: 10px;
}

.line-options-title,
.result-title {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffd83e;
    text-shadow: 0 0 8px rgba(255,215,70,.35);
}

.line-options-title {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,215,70,.35);
}

.result-title {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,215,70,.35);
}

@media (max-width: 1100px) {
    .line-options,
    .result-column {
        width: 280px;
    }
}

@media (max-width: 700px) {
    .line-options,
    .result-column {
        width: 280px;
    }
}


/* =========================================================
   TEST 12 — PANNEAUX ÉGAUX + JOCKER
   ========================================================= */
.line-options,
.result-column {
    width: 280px;
    height: 440px;
    min-height: 440px;
    box-sizing: border-box;
}

.line-options {
    padding: 14px 14px 16px;
}

.result-column {
    padding: 10px;
}

.jocker-zone {
    position: relative;
    margin-top: 10px;
    padding: 11px 8px;
    border: 1px solid rgba(255,215,70,.22);
    border-radius: 12px;
    background: rgba(0,0,0,.34);
    box-shadow: inset 0 0 12px rgba(0,0,0,.55);
}

.jocker-option {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 !important;
    color: #ffd83e;
    font-size: 16px !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    cursor: pointer;
}

#boulesagogo-jocker {
    width: 20px;
    height: 20px;
    accent-color: #c58b00;
    cursor: pointer;
}

.jocker-price {
    margin-top: 5px;
    color: #e8c95a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
}

@media (max-width: 1100px) {
    .line-options,
    .result-column {
        width: 280px;
        height: 440px;
        min-height: 440px;
    }
}

@media (max-width: 700px) {
    .line-options,
    .result-column {
        width: 280px;
        height: 440px;
        min-height: 440px;
    }
}

/* =========================================================
   TEST 13 — ALIGNEMENT VERTICAL DES PANNEAUX
   OPTIONS et RÉSULTATS commencent exactement à la même hauteur.
   ========================================================= */
.line-options {
    top: 25px;
}

@media (max-width: 1100px) {
    .line-options {
        top: 25px;
    }
}

@media (max-width: 700px) {
    .line-options {
        top: 650px;
    }
    .result-column {
        top: 650px;
    }
}


/* =========================================================
   TEST 17 — RAIL PLUS FIN
   ========================================================= */
.rail {
    height: 55px;
}

/* =========================================================
   TEST 15 — HORLOGE COMPACTE DANS LA ZONE RÉSULTATS
   ========================================================= */
.result-countdown-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 10px;
    padding: 6px 8px;
    min-height: 42px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,215,70,.20);
    border-bottom: 1px solid rgba(255,215,70,.20);
    background: rgba(0,0,0,.28);
    border-radius: 10px;
}

.result-countdown-label {
    color: #ff3030;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    margin: 0;
    white-space: nowrap;
}

#boulesagogo-result-countdown {
    color: #ff3030;
    font-family: "Courier New", monospace;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow:
        0 0 5px rgba(255,215,70,.75),
        0 0 12px rgba(255,190,0,.45);
}


/* =========================================================
   TEST 22 — BOUTON COMPACT PENDANT L'ARRÊT
   Présentation uniquement.
   ========================================================= */
#drawBtn:disabled {
    padding-top: 8px;
    padding-bottom: 8px;
}


/* =========================================================
   TEST 23 — HAUTEUR UNIFORME DU BOUTON
   Le bouton garde la même hauteur au repos et pendant le tirage.
   Présentation uniquement.
   ========================================================= */
#drawBtn {
    height: 40px !important;
    min-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================================
   FRONTIER — PAGE TIRAGE UNIQUEMENT
   ========================================================= */
body.page-id-261 #header {
    display: none !important;
}

/* Réduire la barre supérieure sur Tirage */
body.page-id-261 #top-bar {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Réduire l'espace interne de la barre supérieure sur Tirage */
body.page-id-261 #top-bar-info {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Supprimer les espaces générés par la Top Bar sur Tirage */
body.page-id-261 #top-bar::before,
body.page-id-261 #top-bar::after {
    display: none !important;
}

/* =========================================================
   TEST 25 — ZONE PRINCIPALE COMPACTÉE
   ========================================================= */
#boulesagogo {
    min-height: 805px !important;
}

#boulesagogo .machine {
    height: 805px !important;
}

/* Masquer le menu uniquement sur la page Tirage */
body.page-id-261 #nav-main {
    display: none !important;
}

/* =========================================================
   TEST DESIGN 03 — PRIX TOTAL DANS LE CADRE OPTIONS
   Le total reste sous le JOCKER et à l'intérieur du cadre épais.
   Aucune dimension extérieure du panneau OPTIONS n'est modifiée.
   ========================================================= */
.line-options {
    overflow: hidden;
}

.line-options .price-zone {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    margin-top: 0 !important;
    padding: 8px 8px 9px;
    box-sizing: border-box;
}

.line-options .price-label {
    margin-bottom: 2px;
}

.line-options #boulesagogo-price {
    font-size: 24px;
}

/* =========================================================
   TEST DESIGN 05 — TOTAL À L'INTÉRIEUR DU CADRE OPTIONS
   Sous le JOCKER, sans chevauchement.
   Les dimensions extérieures du cadre OPTIONS restent inchangées.
   ========================================================= */

.line-options .price-zone {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    clear: both !important;
    margin: 10px 0 0 !important;
    padding: 7px 8px 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* On gagne uniquement de la place à l'intérieur du panneau. */
.line-options .countdown-zone {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.line-options #boulesagogo-countdown {
    height: 72px !important;
}

.line-options .line-selector-zone {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.line-options #lineCount {
    height: 38px !important;
}

.line-options .jocker-zone {
    margin-top: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.line-options .jocker-price {
    margin-top: 4px !important;
}

.line-options .price-label {
    margin-bottom: 2px !important;
}

.line-options #boulesagogo-price {
    font-size: 24px !important;
}

/* =========================================================
   TEST DESIGN 07 — TOTAL VISIBLE SOUS LE JOCKER
   Le total reste entièrement dans le cadre OPTIONS.
   Aucun changement des dimensions extérieures.
   ========================================================= */

.line-options {
    overflow: hidden !important;
}

/* Un peu plus compact en hauteur, uniquement à l'intérieur. */
.line-options .countdown-zone {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.line-options #boulesagogo-countdown {
    height: 64px !important;
}

.line-options .line-selector-zone {
    margin-top: 7px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.line-options #lineCount {
    height: 36px !important;
}

.line-options .jocker-zone {
    margin-top: 7px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.line-options .jocker-price {
    margin-top: 3px !important;
}

/* Le total est un vrai bloc sous le JOCKER. */
.line-options .price-zone {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 9px !important;
    margin: 0 !important;
    padding: 6px 8px 7px !important;
    min-height: 68px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.line-options .price-label {
    display: block !important;
    margin: 0 0 3px !important;
    line-height: 1.1 !important;
}

.line-options #boulesagogo-price {
    display: block !important;
    margin: 0 auto !important;
    line-height: 1.1 !important;
    font-size: 24px !important;
}

/* =========================================================
   TEST DESIGN 08 — JOCKER PLUS COMPACT
   Réduction uniquement de la hauteur de la zone JOCKER.
   ========================================================= */
.line-options .jocker-zone {
    margin-top: 5px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.line-options .jocker-price {
    margin-top: 2px !important;
}


/* =========================================================
   TEST 31 — JOCKER PLUS EXPLICITE
   Toute la ligne est cliquable et le texte indique l'action.
   ========================================================= */

.line-options .jocker-option {
    min-height: 28px !important;
    padding: 2px 4px !important;
    border-radius: 8px;
    cursor: pointer;
}

.line-options .jocker-option:hover {
    background: rgba(255,215,70,.08);
}

.line-options #boulesagogo-jocker {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
}

.line-options .jocker-option span {
    white-space: nowrap;
}


/* =========================================================
   TEST 32 — CORRECTION DU CHEVAUCHEMENT JOCKER / PRIX
   ========================================================= */

.line-options .price-zone {
    min-height: 58px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}


/* =========================================================
   TEST 33 — PLUS D'ESPACE ENTRE JOCKER ET PRIX
   ========================================================= */

.line-options .price-zone {
    bottom: 3px !important;
}

.line-options .jocker-zone {
    margin-bottom: 12px !important;
}


/* =========================================================
   TEST 36 — REMONTEE LÉGÈRE DE RÉSULTATS UNIQUEMENT
   OPTIONS, SPHÈRE ET LE RESTE INCHANGÉS.
   ========================================================= */

.result-column {
    transform: translateY(-10px);
}


/* =========================================================
   TEST 40 — TITRE RÉSULTATS FINAL
   ========================================================= */

.result-title {
    font-size: 0 !important;
}

.result-title::before {
    content: "* RÉSULTATS *";
    font-size: 18px;
}

.result-title::after {
    content: none !important;
}
/* =========================================================
   MOBILE — VERSION COMPACTE
   TEST 03
   Redimensionnement tactile conservé
   PC INCHANGÉ
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       CONTENEUR PRINCIPAL
       ----------------------------------------------------- */

    #boulesagogo {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 1050px !important;

        overflow: hidden !important;
    }


    .machine {
        width: 100% !important;
        height: 1050px !important;

        position: relative !important;
    }


    /* -----------------------------------------------------
       SPHÈRE
       -----------------------------------------------------
       IMPORTANT :
       width et height ne sont PAS en !important.
       Le JavaScript peut donc continuer à modifier
       la taille de la sphère avec le tactile.
       ----------------------------------------------------- */

    .bag-sphere {
        left: 50% !important;
        top: 15px !important;

        transform: translateX(-50%) !important;

        width: 330px;
        height: 330px;

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


    /* -----------------------------------------------------
       BOULES
       ----------------------------------------------------- */

    .ball {
        width: 45px !important;
        height: 45px !important;
    }

    .ball::after {
        width: 27px !important;
        height: 27px !important;
    }

    .ball-number {
        width: 24px !important;
        height: 24px !important;

        font-size: 12px !important;
    }


    /* -----------------------------------------------------
       CONDUIT CENTRAL
       ----------------------------------------------------- */

    .neck {
        width: 60px !important;
        height: 105px !important;

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

        transform: translateX(-50%) !important;
    }


    /* -----------------------------------------------------
       6 CONDUITS
       ----------------------------------------------------- */

    .conduits {
        left: 50% !important;
        top: 425px !important;

        transform: translateX(-50%) !important;

        width: 100% !important;

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

        gap: 4px !important;
    }


    .conduit {
        width: 45px !important;
        flex: 0 0 45px !important;

        height: 80px !important;
    }


    /* -----------------------------------------------------
       RAIL
       ----------------------------------------------------- */

    .rail {
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        top: 500px !important;
        height: 45px !important;
    }


    /* -----------------------------------------------------
       PANNEAU OPTIONS
       ----------------------------------------------------- */

    .line-options {
        position: absolute !important;

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

        transform: translateX(-50%) !important;

        width: 230px !important;
        height: 360px !important;
        min-height: 360px !important;

        padding: 10px !important;

        box-sizing: border-box !important;

        margin: 0 !important;
    }


    /* -----------------------------------------------------
       TITRE OPTIONS
       ----------------------------------------------------- */

    .line-options-title {
        font-size: 17px !important;

        margin-bottom: 7px !important;
        padding-bottom: 6px !important;
    }


    /* -----------------------------------------------------
       ZONES OPTIONS
       ----------------------------------------------------- */

    .countdown-zone,
    .line-selector-zone,
    .jocker-zone,
    .price-zone {
        width: 100% !important;

        box-sizing: border-box !important;

        margin-top: 6px !important;
        padding: 6px !important;
    }


    /* -----------------------------------------------------
       COMPTE À REBOURS
       ----------------------------------------------------- */

    .countdown-label,
    .price-label {
        font-size: 9px !important;
    }

    #boulesagogo-countdown {
        height: 55px !important;

        font-size: 46px !important;
    }


    /* -----------------------------------------------------
       NOMBRE DE LIGNES
       ----------------------------------------------------- */

    #lineCount {
        width: 130px !important;
        max-width: 100% !important;

        height: 34px !important;

        font-size: 13px !important;
    }


    /* -----------------------------------------------------
       JOCKER
       ----------------------------------------------------- */

    .jocker-option {
        font-size: 12px !important;

        gap: 7px !important;
    }

    #boulesagogo-jocker {
        width: 17px !important;
        height: 17px !important;
    }

    .jocker-price {
        font-size: 10px !important;
    }


    /* -----------------------------------------------------
       PRIX
       ----------------------------------------------------- */

    #boulesagogo-price {
        font-size: 20px !important;
    }


    /* -----------------------------------------------------
       BOUTON TIRER
       ----------------------------------------------------- */

    .boulesagogo-actions {
        position: absolute !important;

        left: 0 !important;
        right: 0 !important;

        top: 925px !important;

        width: 100% !important;

        text-align: center !important;
    }

    #drawBtn {
        width: 230px !important;
        min-width: 0 !important;

        height: 36px !important;
        min-height: 36px !important;

        padding: 0 15px !important;

        font-size: 14px !important;
    }


    /* -----------------------------------------------------
       RÉSULTATS
       ----------------------------------------------------- */

    .result-column {
        position: absolute !important;

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

        transform: translateX(-50%) !important;

        width: 230px !important;
        height: 360px !important;
        min-height: 360px !important;

        padding: 8px !important;

        box-sizing: border-box !important;

        margin: 0 !important;
    }


    /* -----------------------------------------------------
       TITRE RÉSULTATS
       ----------------------------------------------------- */

    .result-title {
        font-size: 17px !important;

        margin-bottom: 6px !important;
        padding-bottom: 5px !important;
    }


    /* -----------------------------------------------------
       COMPTE À REBOURS DES RÉSULTATS
       ----------------------------------------------------- */

    .result-countdown-zone {
        min-height: 34px !important;

        padding: 4px !important;

        margin: 3px 0 6px !important;

        gap: 5px !important;
    }

    .result-countdown-label {
        font-size: 8px !important;
    }

    #boulesagogo-result-countdown {
        font-size: 19px !important;
    }


    /* -----------------------------------------------------
       COMPTEUR
       ----------------------------------------------------- */

    #zone-compteur {
        width: 100% !important;
        max-width: 100% !important;

        overflow: hidden !important;
    }

    #zone-compteur iframe {
        max-width: 210px !important;
    }
}


/* =========================================================
   CORRECTION MOBILE — RÉSULTATS CENTRÉS
   Modification mobile uniquement.
   OPTIONS / TIRER / PC inchangés.
   ========================================================= */
@media (max-width: 700px) {
    .result-column {
        left: 0 !important;
        right: 0 !important;
        top: 975px !important;
        bottom: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;

        transform: none !important;
    }
}
