﻿/* ─── Painel Jogos: card mobile — evita quebra de linha no valor ─── */
@media (max-width: 767px) {
    .header-cards { margin-bottom: 0.5rem !important; }
    .card-today--list--item,
    .card-other-days--list--item {
        width: 5.5rem !important;
        height: auto !important;
        min-height: 5rem !important;
        padding: 4px !important;
    }
    .card-today--list--item--text span,
    .card-other-days--list--item--text span {
        white-space: nowrap;
        font-size: 0.55rem !important;
    }
    .card-today--list--item--text b,
    .card-other-days--list--item--text b {
        white-space: nowrap;
    }
}

/* ─── Modal Grupo Detalhes (redesign) ─────────────────────────────── */
.gd-modal-content { border-radius: 14px !important; overflow: hidden; border: none !important; }
.gd-header { background: #4700A6; padding: 16px 18px 14px; display: flex; align-items: center; justify-content: space-between; }
.gd-header-info { display: flex; align-items: center; gap: 10px; }
.gd-header-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gd-header-label { margin: 0 0 1px; font-size: 10px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: .06em; }
.gd-header-premio { margin: 0; font-size: 17px; font-weight: 500; color: #fff; }
.gd-close-btn { background: rgba(255,255,255,0.15); border: none; border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.gd-stats { display: flex; border-bottom: 1px solid #EEEEF5; }
.gd-stat { flex: 1; padding: 12px 14px; text-align: center; }
.gd-stat--border { border-left: 1px solid #EEEEF5; border-right: 1px solid #EEEEF5; }
.gd-stat-label { margin: 0 0 2px; font-size: 10px; color: #9B9BB4; text-transform: uppercase; letter-spacing: .05em; }
.gd-stat-valor { margin: 0; font-size: 14px; font-weight: 500; color: #1C1B2E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-cotas { margin: 0 16px; padding: 8px 12px; background: #F0EBFF; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gd-cotas-label { font-size: 11px; color: #4700A6; }
.gd-cotas-valor { font-size: 12px; font-weight: 500; color: #4700A6; }
.gd-tabs { border-bottom: 1px solid #EEEEF5; padding: 0 16px; margin-top: 12px; }
.gd-tab-nav { gap: 0; border: none; }
.gd-tab-btn { background: none; border: none; border-bottom: 2px solid transparent; padding: 9px 14px 7px; font-size: 13px; color: #9B9BB4; cursor: pointer; font-weight: 400; }
.gd-tab-btn.active { border-bottom-color: #4700A6; color: #4700A6; font-weight: 500; }
.gd-descricao { background: #F8F8FC; border-radius: 10px; padding: 14px; font-size: 13px; color: #4E4B66; line-height: 1.6; }
.gd-jogos-lista { display: flex; flex-direction: column; gap: 6px; }
.gd-jogo-row { display: flex; align-items: center; gap: 10px; background: #F8F8FC; border-radius: 8px; padding: 6px 10px; }
.gd-jogo-num { font-size: 11px; color: #9B9BB4; min-width: 22px; text-align: right; flex-shrink: 0; }
.gd-footer { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid #EEEEF5; background: #fff; flex-wrap: nowrap; overflow: hidden; }
.gd-print-btn { background: #F4F4F9; border: none; border-radius: 8px; width: 34px; height: 34px; min-width: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.gd-footer-total { flex: 1; min-width: 60px; overflow: hidden; }
.gd-footer-total-label { margin: 0; font-size: 9px; color: #9B9BB4; text-transform: uppercase; letter-spacing: .05em; }
.gd-footer-total-valor { margin: 0; font-size: 14px; font-weight: 500; color: #1C1B2E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-select { border: 1px solid #DDDDE8; border-radius: 8px; padding: 5px 4px; font-size: 13px; color: #1C1B2E; background: #fff; width: 54px; min-width: 54px; flex-shrink: 0; cursor: pointer; }
.gd-comprar-btn { display: flex; align-items: center; background: #4700A6; color: #fff; border: none; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.gd-comprar-btn:hover { background: #38008a; }

/* ─── Abas: segmented-control (redesign) ──────────────────────────── */

.jogos--menu--options {
    margin-top: 20px !important;
    gap: 0 !important;
}

.jogos--menu--options ul {
    background: #EEEEF5;
    border-radius: 12px !important;
    padding: 5px !important;
    gap: 4px !important;
    width: 100%;
    overflow: visible !important;
    scroll-snap-type: unset !important;
}

.jogos--menu--options ul li {
    flex: 1;
    min-width: 0 !important;
    height: auto !important;
    text-wrap-mode: unset !important;
    scroll-snap-align: unset !important;
}

.button--jogos,
.button--jogos.active,
.button--jogos:hover {
    height: 3rem !important;
    padding: 0 0.75rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6E7191 !important;
    width: 100%;
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    gap: 0.4rem;
}

.button--jogos svg,
.button--jogos.active svg,
.button--jogos:hover svg {
    fill: #6E7191 !important;
    transition: fill 0.18s ease;
    flex-shrink: 0;
}

.button--jogos.active,
.button--jogos:hover {
    background-color: #FFFFFF !important;
    color: #170F49 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.button--jogos.active svg,
.button--jogos:hover svg {
    fill: #170F49 !important;
}

@media (max-width: 768px) {
    .jogos--menu--options ul {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }
    .jogos--menu--options ul::-webkit-scrollbar { display: none; }
    .jogos--menu--options ul li {
        flex: 0 0 auto !important;
    }

    .button--jogos,
    .button--jogos.active,
    .button--jogos:hover {
        height: 2.75rem !important;
        font-size: 0.72rem !important;
        padding: 0 0.75rem !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .button--jogos svg,
    .button--jogos.active svg,
    .button--jogos:hover svg {
        height: 14px !important;
        width: 14px !important;
    }

    .button--jogos span,
    .button--jogos.active span,
    .button--jogos:hover span {
        margin-left: 0.2rem !important;
    }
}

/* ─────────────────────────────────────────────────────────────────── */

/*página de jogos abas mobile*/

@media(max-width:800px ) {
    .abasJogosIntersena {
        overflow-x: scroll;
        overflow-y: hidden;
        display: flex;
        flex-wrap: nowrap !important;
    }

    .media-tab-subtitle-mobile-intersena {
        display: none;
    }

    .nav-item-mobile-intersena-jogos {
        gap: 10px;
    }

    .padding-left-mobile-jogos-intersena {
        margin-left: -0.8rem !important;
    }
}


/*Página de jogos*/

.loteria-titulo-jogos {
    letter-spacing: 0.21em;
}

@media(max-width: 800px) {
    .loteria-titulo-jogos {
        letter-spacing: 0.21em;
        font-size: 1.4rem;
    }

    .repetir-jogo {
        margin-bottom: 20px;
    }
}

.jogos-dezenas-total {
    border-radius: 10px;
}

.jogo-dezena {
    width: 45px;
    height: 45px;
    margin: 0 0.9009009009009009% 10px;
    display: inline-block;
    vertical-align: top;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 45px;
    position: relative;
    cursor: pointer !important;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.dezenas-desktop .form-check-input:checked ~ .form-option-label,
.dezenas-mobile .form-check-input:checked ~ .form-option-label {
    color: var(--cz-white);
    font-weight: bold;
    background-color: var(--cz-primary);
}

.dezenas-mobile {
    /*box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    border-radius: 5px;
    margin-top: -40px;*/
    display: flex;
}

    .dezenas-mobile .jogo-dezena {
        width: 33px;
        height: 33px;
        line-height: 30px;
    }


.jogo-dezena-square {
    width: 40px;
    height: 40px;
    margin: 0 0.9009009009009009% 10px;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 35px;
    position: relative;
    cursor: pointer !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.bubbly-button:focus {
    outline: 1;
}

.bubbly-button:before, .bubbly-button:after {
    position: absolute;
    content: "";
    display: block;
    width: 140%;
    height: 100%;
    left: -20%;
    z-index: -1000;
    transition: all ease-in-out 0.5s;
    background-repeat: no-repeat;
}

.bubbly-button:before {
    display: none;
    top: -75%;
    background-image: radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, transparent 20%, #229551 20%, transparent 30%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, transparent 10%, #229551 15%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}

.bubbly-button:after {
    display: none;
    bottom: -75%;
    background-image: radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, #229551 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}

.bubbly-button:active {
    transform: scale(0.9);
    background-color: #229551;
    color: #fff;
    box-shadow: 0 2px 25px rgba(20, 168, 0, 0.2);
}

.bubbly-button.animate:before {
    display: block;
    animation: topBubbles ease-in-out 0.75s forwards;
}

.bubbly-button.animate:after {
    display: block;
    animation: bottomBubbles ease-in-out 0.75s forwards;
}

@keyframes topBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes bottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.jogo-dezena-fazer-pedido {
    width: 30px;
    font-size: 0.6rem;
    height: 30px;
    margin: 0 .9009009009009009% 10px;
    display: inline-block;
    vertical-align: top;
    background-color: #ecebeb;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 30px;
    position: relative;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}


.ng-scope {
    width: 8.178%;
    height: 45px;
    margin: 0 .9009009009009009% 10px;
    display: inline-block;
    vertical-align: top;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 44px;
    position: relative;
    cursor: pointer !important;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.btn-cta-simulador {
    padding: 40px 10px
}

.contain {
    margin: 0px;
    padding: 0px;
    box-sizing: unset
}

.bg-concurso {
    border-radius: 30px;
    background-color: #4800a6;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

@media (max-width: 800px) {
    .bg-concurso {
        margin-top: 20px;
    }

    .p-selecione {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

.ng-scope {
    width: 8.178%;
    height: 45px;
    margin: 0 .9009009009009009% 10px;
    display: inline-block;
    vertical-align: top;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 44px;
    position: relative;
    cursor: pointer !important;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

#estimativa-premio-proximo {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    text-align: center;
}

#estimativa-premio {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: 1px -1px 0 #2f5d87, 2px -2px 0 #2e5a83, 3px -3px 0 #2d5880, 4px -4px 0 #2b557c, 5px -5px 0 #2a5378, 6px -6px 0 #295074, 7px -7px 0 #274d71, 8px -8px 0 #264b6d, 9px -9px 0 #254869, 10px -10px 0 #234665, 11px -11px 0 #224361, 12px -12px 0 #21405e, 13px -13px 12px rgba(0, 0, 0, 0.55), 13px -13px 1px rgba(0, 0, 0, 0.5);
}

#fl-select {
    border-radius: 30px !important;
}

.botao-palpitar-acao {
    background-color: #E70054;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
}

.botao-palpitar-explicacao {
    background-color: rgb(151, 156, 199);
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.bg-banner {
    background-color: #4700A6;
}

.texto-loteria-banner {
    letter-spacing: 0.1rem;
    padding-left: 4rem;
    /*font-weight: 700;*/
    font-style: italic;
}

.premio-loteria-banner {
    color: #F11ADA;
    margin-left: -40px;
    background-color: #37027E;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
}

    .premio-loteria-banner::before {
        content: "R$";
        font-size: 1rem !important;
        color: #fff;
    }

    .premio-loteria-banner::after {
        content: ",00";
        font-size: 1rem !important;
        color: #fff;
    }

.cta-bolao-participe {
    /*margin-top: 30px !important;
    margin-left: -100px;*/
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: space-around;
}

    .cta-bolao-participe .botoes {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

.btn-potencializar {
    background-color: #F11ADA !important;
    border-color: #F11ADA !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

@media(max-width: 720px) {
    .cta-bolao-participe {
        margin-top: 0px !important;
        /*margin-left: -10px;*/
        text-align: center;
    }

    .premio-loteria-banner {
        margin-left: 0px;
    }

    .texto-loteria-banner {
        /*margin-left: 0px;*/
        padding-left: unset !important;
        text-align: center;
    }
}

/* ─── Bolões: sub-tabs Intersena / Interativos ─── */

.esn-repetir-fixo-mobile { display: none; }

.esn-repetir-mobile-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.78rem; font-weight: 600; color: #4700A6;
    padding: 4px 10px; border-radius: 20px;
    border: 1.5px solid rgba(71,0,166,0.25);
    background: rgba(71,0,166,0.05);
}

.boloes-subtab-pill {
    display: inline-flex;
    background: #EEEEF5;
    border-radius: 12px;
    padding: 5px;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.boloes-control-bar {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 56px;
}

.boloes-subtab {
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    color: #6E7191;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}
.boloes-subtab:hover { color: #170F49; }
.boloes-subtab--ativo {
    background: #4700A6 !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(71,0,166,0.25) !important;
}

/* ─── Bolões: toggle lista/cards ─── */

.boloes-view-toggle { align-items: center; margin-left: auto; }

.boloes-view-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #EEEEF5;
    border-radius: 8px;
    background: #F7F7FB;
    color: #8d97ab;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.boloes-view-btn--ativo {
    background: var(--cz-primary) !important;
    border-color: var(--cz-primary) !important;
    color: #fff !important;
}

/* ─── Bolões: view de lista ─── */

.boloes-lista { display: flex; flex-direction: column; gap: 0; }

.boloes-lista-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 0;
    background: #fff;
    border-bottom: 1px solid #F0F0F8;
    overflow: hidden;
    transition: background 0.12s;
    position: relative;
    min-width: 0;
}
.boloes-lista-row:first-child { border-radius: 12px 12px 0 0; }
.boloes-lista-row:last-child  { border-radius: 0 0 12px 12px; border-bottom: none; }
.boloes-lista-row:hover { background: #FAFAFA; }

.boloes-lista-info { flex: 1 1 120px; min-width: 0; }
.boloes-lista-codigo { font-size: 0.82rem; color: #373f50; }

.boloes-lista-chances {
    flex: 0 0 120px;
    display: flex; align-items: center; gap: 4px;
    font-size: 0.78rem; color: #373f50;
}

.boloes-lista-cotas {
    flex: 0 0 80px;
    font-size: 0.78rem; color: #8d97ab;
}

.boloes-lista-price {
    flex: 0 0 100px;
    display: flex; flex-direction: column;
    font-size: 0.85rem; color: #373f50;
    white-space: nowrap;
}

.boloes-lista-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.boloes-lista-btn-lupa {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: none; cursor: pointer;
    background: transparent;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.boloes-lista-btn-lupa:hover { opacity: 1; }

.boloes-lista-btn-cart {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: none; cursor: pointer;
    transition: filter 0.15s;
}
.boloes-lista-btn-cart:hover { filter: brightness(0.9); }

.bolao-badge {
    font-size: 0.65rem; font-weight: 700; color: #fff;
    background: #3F51B5; border-radius: 6px;
    padding: 1px 8px; line-height: 1.6;
}

/* ─── ESN Cockpit v2 ─── */

.esn-cockpit { margin-bottom: 1.5rem; }

.esn-tools-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #EEEEF5;
    margin-bottom: 12px;
    /* mobile: linha única com scroll horizontal */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.esn-tools-row::-webkit-scrollbar { display: none; } /* Chrome/Safari */

@media (min-width: 768px) {
    /* desktop: quebra vertical natural, sem scroll */
    .esn-tools-row {
        flex-wrap: wrap;
        overflow: visible;
    }
}

.esn-tools-divider { width: 1px; height: 28px; background: #EEEEF5; flex-shrink: 0; }

.esn-tool-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #373f50;
    font-size: 0.8rem;
    font-weight: 600;
}

.esn-chip-label { white-space: nowrap; }

.esn-surpresinha-select,
.esn-surpresinha-input,
.esn-fechamento-select {
    font-size: 0.75rem;
    padding: 3px 6px;
    border: 1px solid #EEEEF5;
    border-radius: 7px;
    height: 30px;
    background: #F7F7FB;
    color: #373f50;
    max-width: 120px;
}

.esn-palpitar-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    background: var(--cz-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    height: 30px;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.esn-palpitar-btn:hover { opacity: 0.88; }

.esn-repetir-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    background: #F7F7FB;
    color: #373f50;
    border: 1px solid #EEEEF5;
    border-radius: 8px;
    cursor: pointer;
    height: 30px;
    transition: border-color 0.15s;
}
.esn-repetir-btn:hover { border-color: #c9d5e0; }

.esn-tools-hint { font-size: 0.75rem; color: #8d97ab; white-space: nowrap; }

.esn-body { display: flex; align-items: stretch; gap: 16px; }

.esn-grid-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #EEEEF5;
}

.esn-grid-wrap { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.esn-grid-row { display: flex; gap: 2px; }
.esn-grid-hint {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: #8d97ab;
    text-align: center;
}
.esn-grid-hint strong { color: #373f50; }

.esn-grid-wrap .form-option.form-check-inline { margin-right: 0; flex-shrink: 0; }
.esn-grid-wrap .form-option-label {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    line-height: 40px;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 2px;
    border-radius: 10px;
}

.esn-teimosinha-bar {
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #EEEEF5;
    flex-wrap: wrap;
}
.esn-tei-label { font-size: 0.78rem; color: #373f50; font-weight: 500; flex-shrink: 0; }
.esn-tei-hint { font-size: 0.72rem; color: #8d97ab; margin-left: auto; }

.esn-tei-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #EEEEF5;
    background: #F7F7FB;
    color: #373f50;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 2.5rem;
}
.esn-tei-btn:hover { border-color: var(--cz-primary); color: var(--cz-primary); }
.esn-tei-btn--ativo { background: var(--cz-primary) !important; border-color: var(--cz-primary) !important; color: #fff !important; }

.esn-extra-select { padding: 12px 16px; }

.esn-panel {
    display: none;
    width: 260px;
    flex-shrink: 0;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #EEEEF5;
    position: sticky;
    top: 80px;
    min-height: 380px;
}
@media (min-width: 768px) {
    .esn-panel { display: flex; }
}

.esn-panel-label {
    margin: 0 0 8px;
    font-size: 0.7rem;
    color: #8d97ab;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.esn-panel-count { font-size: 0.78rem; font-weight: 700; }
.esn-count-ok  { color: var(--cz-primary); }
.esn-count-low { color: #8d97ab; }

.esn-balls-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}

.esn-ball {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--cz-primary);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.esn-ball:hover { opacity: 0.72; }

.esn-ball-empty {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px dashed #DCDCE8;
    flex-shrink: 0;
}

.esn-progress-bar { background: #EEEEF5; border-radius: 4px; height: 4px; margin-top: 6px; overflow: hidden; }
.esn-progress-fill { height: 100%; background: var(--cz-primary); border-radius: 4px; transition: width 0.3s ease; }

.esn-panel-hint { font-size: 0.65rem; color: #8d97ab; display: block; margin-top: 3px; }

.esn-jogos-added { border-top: 1px solid #EEEEF5; padding-top: 8px; max-height: 80px; overflow-y: auto; }
.esn-aumentar { padding: 8px !important; }

.esn-subtotal { border-top: 1px solid #EEEEF5; padding-top: 10px; margin-top: auto; }
.esn-sub-label { font-size: 0.78rem; color: #8d97ab; }
.esn-sub-valor { font-size: 1.3rem; font-weight: 700; }

.esn-ctas { display: flex; flex-direction: column; gap: 6px; }
.esn-ctas .button--tertiary,
.esn-ctas .button--tertiary_full { font-size: 0.78rem; padding: 8px; border-radius: 10px; width: 100%; font-weight: 700; }

.esn-mobile-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #EEEEF5;
    padding: 10px 16px;
    flex-direction: column;
    gap: 6px;
    z-index: 1040;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.esn-mb-tei { display: flex; align-items: center; gap: 6px; }
.esn-mb-tei-label { font-size: 0.72rem; color: #8d97ab; flex-shrink: 0; }
.esn-mb-actions { display: flex; align-items: center; gap: 10px; }
.esn-mb-info { flex: 1; font-size: 0.8rem; color: #373f50; }

.esn-mb-pagar {
    width: 38px; height: 38px;
    border-radius: 9px;
    border: 1px solid #EEEEF5;
    background: #F7F7FB;
    color: #373f50;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.esn-mb-pagar:hover { border-color: var(--cz-primary); }

.esn-mb-add {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: var(--cz-primary);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.esn-mb-add:hover { opacity: 0.88; }
.esn-mb-add:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 767px) {
    .esn-tools-row { padding: 8px 12px; gap: 6px; }
    .esn-body { flex-direction: column; }
    .esn-grid-area { padding: 12px; overflow-x: auto; }

    /* 10 colunas no mobile — todos os 60 números na mesma tela */
    .esn-grid-wrap {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 3px;
        width: 100%;
    }
    .esn-grid-row { display: contents; }
    .esn-grid-wrap .form-option.form-check-inline {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0;
    }
    .esn-grid-wrap .form-option-label {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
        height: 32px !important;
        line-height: 30px !important;
        font-size: 0.65rem;
        border-radius: 7px;
        margin: 0;
    }
    .esn-grid-area { padding: 10px; }
    /* Espaço para a barra fixa do mobile */
    .esn-cockpit { padding-bottom: 100px; }
    /* Toast acima da barra fixa no mobile */
    .v-toast.v-toast--bottom-right,
    .v-toast.v-toast--bottom { bottom: 90px !important; }

    /* ─── Remove espaço no topo (mt-4 da section wrapper do master) ─── */
    section#tag,
    main.page-wrapper > section {
        margin-top: 0 !important;
    }
    /* card-other-days tem margin:1rem 0 que cria espaço extra */
    .card-other-days,
    .card-today {
        margin-top: 0 !important;
    }

    /* ─── Espaço extra acima das tabs (mt-5 pt-4 no HTML) ─── */
    .tab-content.card-jogos {
        margin-top: 1rem !important;
        padding-top: 0 !important;
    }

    /* ─── Banner de prêmio: compacto no mobile ─── */
    .jogos--header--acumulado {
        height: auto !important;
        padding: 10px 20px !important;
        margin-top: 0.5rem !important;
    }
    .jogos--header--acumulado > svg:first-child {
        width: 32px !important;
        height: 32px !important;
    }
    .jogos--header--acumulado--value h2,
    .jogos--header--acumulado--value .h2 {
        font-size: 1.4rem !important;
        margin-bottom: 0 !important;
    }
    .jogos--header--acumulado--value span {
        font-size: 11px !important;
    }

    /* ─── Filtros Bolões: oculto no mobile ─── */
    #filter-group { display: none !important; }

    /* ─── Bolões: somente cards no mobile ─── */
    .boloes-lista { display: none !important; }

    /* ─── Sub-tabs menores no mobile ─── */
    .boloes-subtab-pill { padding: 4px; gap: 2px; display: flex; box-sizing: border-box; }
    .boloes-subtab { padding: 7px 14px; font-size: 0.8rem; text-align: center; white-space: nowrap; gap: 3px !important; }

    /* ─── Repetir jogo: fixo no mobile (só na aba Faça seu jogo) ─── */
    .esn-repetir-fixo-mobile {
        display: flex !important;
        position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%);
        z-index: 1040;
        background: #fff; border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.18);
        padding: 10px 24px; gap: 8px;
        align-items: center; font-weight: 600; font-size: 0.88rem;
        color: #170F49; border: 1.5px solid #EEEEF5;
        text-decoration: none; white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════
   Header v2 (novo design)
═══════════════════════════════════════════ */
.jogos-hv2 {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    padding: 14px 24px 14px 28px;
    margin-bottom: 20px;
    overflow: hidden;
}
.jogos-hv2-left { flex: 0 0 auto; min-width: 0; }
.jogos-hv2-titulo {
    font-size: 1.75rem; font-weight: 800;
    color: #170F49; margin: 0 0 8px;
    white-space: nowrap;
}
.jogos-hv2-conc-wrap { display: flex; align-items: center; }
.jogos-hv2-conc-btn {
    background: transparent; border: none; padding: 0;
    font-size: 0.75rem; font-weight: 500; color: #6E7191;
    cursor: pointer; display: flex; align-items: center; gap: 4px;
    white-space: nowrap;
}
.jogos-hv2-conc-btn:hover { color: #170F49; }
.jogos-hv2-center {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.jogos-hv2-encerra-label {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.82rem; color: #6F6C90; margin-bottom: 10px;
}
.jogos-hv2-chips { display: flex; gap: 8px; }
.jogos-hv2-chip {
    display: inline-flex; align-items: baseline; gap: 2px;
    color: #fff; border-radius: 10px;
    padding: 7px 14px;
    font-size: 1.15rem; font-weight: 700; line-height: 1;
}
.jogos-hv2-chip small { font-size: 0.72rem; font-weight: 600; opacity: 0.9; }
.jogos-hv2-prize {
    flex: 0 0 auto;
    border-radius: 14px;
    padding: 14px 36px;
    min-width: 220px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; margin-left: auto;
}
.jogos-hv2-prize-label {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 0.78rem; font-weight: 700; color: #fff;
    letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px;
    opacity: 0.92;
}
.jogos-hv2-prize-valor {
    font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1;
    white-space: nowrap;
}
@media (max-width: 575px) {
    .jogos-hv2 { flex-wrap: wrap; gap: 8px; padding: 10px 14px; margin-bottom: 12px; }
    .jogos-hv2-center { display: none; }
    .jogos-hv2-titulo { font-size: 1.1rem; margin-bottom: 2px; }
    .jogos-hv2-conc-btn { font-size: 0.75rem; }
    .jogos-hv2-prize { min-width: unset; padding: 8px 14px; width: 100%; border-radius: 10px; flex-direction: row; gap: 10px; align-items: center; }
    .jogos-hv2-prize-label { font-size: 0.7rem; }
    .jogos-hv2-prize-valor { font-size: 1.15rem; }
}