/* ==========================================================================
   FOREVER BOT V8 - ESTILOS EXCLUSIVOS +MILIONÁRIA VIP PRO
   ========================================================================== */

/* Esferas de Dezenas 3D Interativas */
.sphere-maismil {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: radial-gradient(circle at 35% 35%, #fef08a 0%, #eab308 50%, #854d0e 100%);
    color: #020617;
    font-weight: 900;
    font-size: 0.85rem;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.4), inset -2px -2px 4px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.sphere-maismil:hover, .sphere-maismil:active {
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.8), inset -2px -2px 4px rgba(0, 0, 0, 0.4);
}

/* Esferas dos Trevos 3D (Verde Esmeralda) */
.sphere-trevo {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: radial-gradient(circle at 35% 35%, #a7f3d0 0%, #10b981 50%, #064e3b 100%);
    color: #020617;
    font-weight: 900;
    font-size: 0.8rem;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4), inset -2px -2px 4px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.sphere-trevo:hover, .sphere-trevo:active {
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.8), inset -2px -2px 4px rgba(0, 0, 0, 0.4);
}

/* Scrollbar Customizado */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.4);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.8);
}

/* ==========================================================================
   ESTILOS DE IMPRESSÃO / BILHETE FÍSICO OFICIAL DA +MILIONÁRIA
   ========================================================================== */
.bilhete-maismil-container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 2px solid #001038;
    border-radius: 8px;
    padding: 12px;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.header-bilhete-maismil {
    background: linear-gradient(135deg, #001848 0%, #002878 100%);
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.title-bilhete-maismil {
    font-size: 16pt;
    font-weight: 900;
    color: #facc15;
    letter-spacing: 0.5px;
}

.grid-bilhete-dezenas {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 3px;
    background: #fefce8;
    border: 1px solid #eab308;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.cell-dezena-bilhete {
    border: 1px solid #ca8a04;
    border-radius: 3px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.5pt;
    font-weight: bold;
    color: #1e3a8a;
    position: relative;
    background: #ffffff;
}

.cell-dezena-bilhete.marcado::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 2px;
    z-index: 2;
}

.grid-bilhete-trevos {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.cell-trevo-bilhete {
    flex: 1;
    border: 1px solid #059669;
    border-radius: 4px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 7pt;
    font-weight: bold;
    color: #047857;
    position: relative;
    background: #ffffff;
}

.cell-trevo-bilhete.marcado::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 3px;
    z-index: 2;
}

.secao-marcacao-rodape {
    font-size: 6pt;
    font-weight: bold;
    color: #001848;
    border-top: 1px solid #cbd5e1;
    padding-top: 6px;
    margin-top: 6px;
}

.row-marcar-opt {
    display: flex;
    gap: 3px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.box-marcar-opt {
    border: 1px dashed #001848;
    padding: 1px 3px;
    font-size: 6.5pt;
    font-weight: 900;
    position: relative;
}

.box-marcar-opt.marcado::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    background-color: #000000;
    border-radius: 50%;
} 

/* ==========================================================================
   ESTILOS COMPACTOS PARA O MODAL DE BILHETES E ELEVADOR DE ROLAGEM
   ========================================================================== */

/* Barra de Rolagem Personalizada (Elevador) */
.custom-modal-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-modal-scrollbar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
}
.custom-modal-scrollbar::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}
.custom-modal-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Grids Compactas de Dezenas (10 colunas) e Trevos (6 colunas) */
.grid-dezenas-compact {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
}
.grid-trevos-compact {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
}

/* Célula Compacta das Dezenas */
.cell-dezena-compact {
    font-size: 7.5pt;
    font-weight: 800;
    text-align: center;
    padding: 1px 0;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    user-select: none;
}
.cell-dezena-compact.marcado {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.5);
    font-weight: 900;
}

/* Célula Compacta dos Trevos */
.cell-trevo-compact {
    font-size: 7.5pt;
    font-weight: 800;
    text-align: center;
    padding: 2px 0;
    background: rgba(16, 185, 129, 0.05);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 3px;
    user-select: none;
}
.cell-trevo-compact.marcado {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
    font-weight: 900;
} 

/* ==========================================================================
   🛡️ BLINDAGEM SUPREMA DE NAVEGAÇÃO VIA CSS NATIVO (:has SELECTOR)
   ========================================================================== */

/* 1. Garante prioridade total para a classe .hidden do Tailwind na +Milionária */
#vipTab-maismil.hidden {
    display: none !important;
}

/* 2. Se QUALQUER OUTRA aba VIP estiver ativa (sem a classe .hidden), 
   a engine do navegador esconde a +Milionária instantaneamente */
body:has([id^="vipTab-"]:not(#vipTab-maismil):not(.hidden)) #vipTab-maismil {
    display: none !important;
} 
