
/* Layout referência — homepage visitante / dashboard com ref-header */
body.home-ref,
body.pagina-extrato.home-ref-logado,
body.has-ref-header {
    background: #121212 !important;
}

body.home-ref {
    --phone-header-h: calc(52px + env(safe-area-inset-top, 0px));
    --phone-footer-h: calc(76px + env(safe-area-inset-bottom, 0px));
    --app-inset-top: var(--phone-header-h);
    --app-inset-bottom: var(--phone-footer-h);
    padding-top: var(--phone-header-h) !important;
    padding-bottom: var(--phone-footer-h) !important;
}

/* Ofertas / Perfil / Extrato também usam o shell (mesmo padding) */
body.home-ref.pagina-ofertas,
body.home-ref.pagina-extrato,
body.home-ref.pagina-perfil {
    padding-top: var(--phone-header-h) !important;
    padding-bottom: var(--phone-footer-h) !important;
}

body.home-ref,
body.pagina-extrato.home-ref-logado,
body.has-ref-header {
    background: #121212 !important;
}

body.home-ref .bonus-cadastro,
body.home-ref .top-bar,
body.home-ref .ganhos-container,
body.home-ref .botao-esporte,
body.has-ref-header .top-bar {
    display: none !important;
}

/* Slider com moldura (igual referência) */
.ref-slider-card {
    margin: 10px;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    background: #000;
}

body.home-ref .slider-wrapper {
    margin: 0;
    padding: 0;
}

body.home-ref .slider-container {
    border-radius: 0;
    aspect-ratio: 504 / 101;
    background: #000;
}

body.home-ref .slide img {
    object-fit: cover !important;
    object-position: center;
    border-radius: 0 !important;
    background: #000;
}

body.home-ref .ref-slider-dots {
    display: none !important;
}

/* Header */
.ref-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 8px 12px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10003;
    box-sizing: border-box;
}

.ref-menu-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #920000;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-logo {
    text-align: center;
}

.ref-logo img {
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.ref-header-spacer {
    width: 40px;
}

body.home-ref-logado .ref-header {
    grid-template-columns: 44px 1fr auto;
}

.ref-header-saldo {
    justify-self: end;
    position: relative;
}

body.home-ref-logado .ref-topbar-saldo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #920000;
    color: #000;
    border: 1px solid #151515;
    min-height: 38px;
    box-sizing: border-box;
}

body.home-ref-logado .ref-topbar-saldo .topbar-saldo-icon {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.home-ref-logado .ref-topbar-saldo .topbar-saldo-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

body.home-ref-logado .ref-topbar-saldo .topbar-saldo-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 1;
}

body.home-ref-logado .ref-topbar-saldo .topbar-saldo-valor {
    font-size: 12px;
    font-weight: 800;
    color: #000;
}

body.home-ref-logado .ref-header-saldo .topbar-saldo-menu {
    right: 0;
    left: auto;
}

/* Ticker de avisos */
.ref-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 10px;
    padding: 6px 12px;
    background: #000;
    border: 1px solid #1a301a;
    border-radius: 8px;
    overflow: hidden;
    min-height: 34px;
}

.ref-ticker > i.fa-volume-up {
    color: #920000;
    font-size: 13px;
    flex-shrink: 0;
}

.ref-ticker-track {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.ref-ticker-inner {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ref-ticker-scroll 24s linear infinite;
}

.ref-ticker-inner span {
    display: inline-block;
    padding-right: 48px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@keyframes ref-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ref-ticker-mail {
    position: relative;
    background: transparent;
    border: none;
    color: #920000;
    font-size: 17px;
    cursor: pointer;
    padding: 0 4px 0 2px;
    flex-shrink: 0;
    line-height: 1;
}

.ref-ticker-mail i {
    display: block;
}

.ref-ticker-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    min-width: 13px;
    height: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 2px;
}

/* Botões LOGIN / REGISTER — largura total */
.ref-auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    height: 48px;
}

.ref-auth-login,
.ref-auth-register {
    border: none;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
}

.ref-auth-login {
    background: linear-gradient(180deg, #007bff 0%, #0072ff 100%);
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.ref-auth-register {
    background: linear-gradient(180deg, #288a00 0%, #288a00 55%, #206600 100%);
    color: #fff;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -8px;
}

/* Jackpot */
body.home-ref .ref-jackpot {
    position: relative;
    margin: 10px 8px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #121212 !important;
}

body.home-ref .ref-jackpot img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #121212;
}

.ref-jackpot-value {
    position: absolute;
    left: 50%;
    bottom: 45%;
    transform: translateX(-50%);
    color: #fff;
    font-size: clamp(13px, 4.2vw, 20px);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,.9);
    white-space: nowrap;
}

/* Categorias */
.ref-categories-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 1px 12px 0;
    padding: 4px 10px;
    background: #121212;
}

.ref-cat-nav {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #920000;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ref-categories {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ref-categories::-webkit-scrollbar { display: none; }

.ref-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 4px 6px;
    background: #050505;
    border: 1px solid #920000;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

.ref-cat img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.ref-cat span {
    font-size: 10px;
    font-weight: 700;
    color: #920000;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.ref-cat.active {
    background: #160404;
    box-shadow: 0 0 10px rgba(146, 0, 0, 0.15);
}

/* Filtros */
.ref-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 10px 0;
    padding: 7px 12px;
    background: #000;
    border: 1px solid #920000;
    border-radius: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ref-filters::-webkit-scrollbar { display: none; }

.ref-filter {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #920000;
    background: #050505;
    color: #920000;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.ref-filter.active {
    background: rgba(146, 0, 0, 0.12);
    color: #920000;
}

.ref-filter-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
}

.ref-filter-ico-fire {
    font-size: 12px;
}

.ref-filter-ico-green {
    color: #920000;
    font-size: 11px;
}

.ref-filter-search {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #920000;
    background: transparent;
    color: #920000;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Busca expansível */
body.home-ref .busca-container {
    margin: 8px 10px 0;
    max-width: none;
    display: none;
}

body.home-ref .busca-container.ref-busca-open {
    display: block;
}

body.home-ref .busca-input {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 10px;
    height: 42px;
}

/* Jogos — 3 por seção, imagem + nome/jogadores */
body.home-ref .home-ref-games {
    margin-top: 6px;
    padding: 0 10px;
}

body.home-ref .home-ref-games .lista-jogos {
    background: transparent;
    max-width: none;
    padding: 0 0 0 5px;
    margin-top: 0;
}

body.home-ref .home-ref-games .lista-jogos[hidden] {
    display: none !important;
}

body.home-ref .home-ref-games .titulo-lista-jogos {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    margin: 16px 0 8px;
    color: #fff;
}

body.home-ref .home-ref-games .jogos-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: visible;
    flex-wrap: unset;
    padding: 0;
    width: 100%;
}

body.home-ref .home-ref-games .jogo-card {
    background-color: #1E1E1E;
    border-radius: 10px;
    min-width: 0 !important;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    flex-shrink: unset;
    overflow: hidden;
    position: relative;
    transform: none !important;
    border: none;
    cursor: pointer;
}

body.home-ref .home-ref-games .jogo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
    transform: scale(1);
    transform-origin: center;
    border-radius: 10px;
    background-color: #1E1E1E;
    z-index: 0;
}

body.home-ref .home-ref-games .jogo-info {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    color: #fff;
    z-index: 1;
}

body.home-ref .home-ref-games .jogo-info .nome {
    display: none;
}

body.home-ref .home-ref-games .jogo-info .jogadores {
    margin-top: 4px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

body.home-ref .home-ref-games .online-dot {
    background-color: var(--register-verde, #288a00) !important;
}

body.home-ref .home-ref-games .jogo-overlay {
    display: none !important;
}

body.home-ref .home-ref-games .btn-ver-mais {
    margin: 12px auto 16px;
    display: block;
}

body.home-ref .aovivo-resultados {
    background: #121212;
    margin: 16px 10px 0;
    padding: 16px 12px;
    max-width: none;
}

body.home-ref .footer {
    display: block;
    background: #121212;
}

body.home-ref .footer-line {
    display: block;
}

body.home-ref .layout-footer {
    display: flex !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 10002 !important;
    background: #010401 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: flex-end;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
}

body.home-ref .layout-footer-item {
    flex: 1;
    max-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    font-family: Arial, sans-serif;
}

body.home-ref .layout-footer-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

body.home-ref .layout-footer-label {
    line-height: 1;
    white-space: nowrap;
    font-size: 10px;
}

body.home-ref .layout-footer-item.active {
    color: #920000;
}

body.home-ref .layout-footer-item.active .layout-footer-icon {
    background: #920000;
    color: #000;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 0 12px rgba(146, 0, 0, 0.5);
    transform: translateY(-2px);
}

body.home-ref .layout-footer-item[data-footer="registro"] .layout-footer-icon i {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

/* Menu lateral acima do escurecimento (nunca por baixo) */
body.home-ref .sidebar-overlay,
body.has-ref-header .sidebar-overlay {
    z-index: 10004 !important;
}
body.home-ref #mySidebar.app-sidebar,
body.has-ref-header #mySidebar.app-sidebar {
    z-index: 10006 !important;
}
body.home-ref .ref-header,
body.has-ref-header .ref-header {
    z-index: 10003;
}

/* Menu lateral rápido */
.ref-side-menu {
    padding: 8px 0;
}

.ref-side-menu a,
.ref-side-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #2a2a2a;
}

.ref-side-menu i {
    color: #920000;
    width: 20px;
    text-align: center;
}

@media (min-width: 769px) {
    /*
     * Coluna celular no PC, sem transform (senão fixed “anda” com o scroll).
     * Scroll = página; header/footer/modais fixos na coluna; sem barra visível.
     */
    html {
        --phone-shell-w: 430px;
        --phone-shell-left: calc(50vw - (var(--phone-shell-w) / 2));
        background: #050505 !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    html::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    html body.home-ref,
    html body.home-ref.home-ref-logado,
    html body.home-ref.has-ref-header {
        --phone-shell-w: 430px;
        --phone-shell-left: calc(50vw - (var(--phone-shell-w) / 2));
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        min-height: 100dvh !important;
        height: auto !important;
        max-height: none !important;
        background: #121212 !important;
        position: relative !important;
        transform: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    html body.home-ref::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    html body.home-ref > * {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Chrome fixo na coluna (viewport) — não sobe/desce com o scroll */
    body.home-ref .ref-header {
        position: fixed !important;
        top: 0 !important;
        left: var(--phone-shell-left) !important;
        right: auto !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        border-radius: 0 !important;
        z-index: 10003 !important;
    }

    body.home-ref .layout-footer {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        left: var(--phone-shell-left) !important;
        right: auto !important;
        bottom: 0 !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        transform: none !important;
        z-index: 10002 !important;
        background: #010401 !important;
        border-radius: 0 !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        justify-content: space-around !important;
        align-items: flex-end !important;
        box-sizing: border-box !important;
    }
    body.home-ref .layout-footer-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        background: transparent !important;
        border: none !important;
        color: #9ca3af !important;
        text-decoration: none !important;
        font-size: 10px !important;
        min-width: 0 !important;
        flex: 1 !important;
        cursor: pointer !important;
        padding: 0 !important;
    }
    body.home-ref .layout-footer-icon {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        border-radius: 50% !important;
    }
    body.home-ref .layout-footer-label {
        font-size: 10px !important;
        line-height: 1 !important;
    }
    body.home-ref .layout-footer-item.active {
        color: #920000 !important;
    }
    body.home-ref .layout-footer-item.active .layout-footer-icon {
        background: #920000 !important;
        color: #000 !important;
    }

    /* Conteúdo responsivo dentro da coluna */
    body.home-ref .ref-slider-card {
        margin: 8px 10px 0 !important;
        width: auto !important;
        border: 1px solid #920000 !important;
        border-radius: 10px !important;
    }

    body.home-ref .ref-ticker,
    body.home-ref .ref-auth-split,
    body.home-ref .ref-jackpot,
    body.home-ref .ref-categories-bar,
    body.home-ref .ref-filters,
    body.home-ref .home-ref-games,
    body.home-ref .aovivo-resultados,
    body.home-ref .footer,
    body.home-ref .footer-line,
    body.home-ref .footer-text,
    body.home-ref .footer-bottom,
    body.home-ref .footer-centered-img,
    body.home-ref .container,
    body.home-ref .content-box,
    body.home-ref img {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.home-ref .ref-ticker,
    body.home-ref .ref-auth-split,
    body.home-ref .ref-jackpot,
    body.home-ref .ref-categories-bar,
    body.home-ref .ref-filters,
    body.home-ref .home-ref-games,
    body.home-ref .aovivo-resultados {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.home-ref .home-ref-games .jogos-container,
    body.home-ref .lista-jogos .jogos-container {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.home-ref .footer,
    body.home-ref .footer-line,
    body.home-ref .footer-text,
    body.home-ref .footer-bottom,
    body.home-ref .footer-centered-img {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.home-ref .footer {
        padding-top: 24px !important;
        padding-bottom: 20px !important;
    }
    body.home-ref .footer .container-footer {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.home-ref .footer-column {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }
    body.home-ref .footer-column:first-child {
        display: block !important;
        text-align: center !important;
        min-height: 0 !important;
    }
    body.home-ref .footer-column:first-child img {
        max-width: 140px !important;
        height: auto !important;
    }
    body.home-ref .footer-column h4 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    body.home-ref .footer-column ul li a {
        font-size: 13px !important;
    }
    body.home-ref .footer img.pix-logo {
        max-width: 90px !important;
    }
    body.home-ref .footer-line {
        margin: 16px 0 !important;
    }
    body.home-ref .footer-text {
        font-size: 11px !important;
        padding: 0 !important;
    }
    body.home-ref .selo-img {
        max-width: 220px !important;
    }
    body.home-ref .aovivo-resultados {
        max-width: 100% !important;
        margin: 16px 0 0 !important;
    }

    body.home-ref #mySidebar.app-sidebar {
        left: var(--phone-shell-left) !important;
        width: min(78%, 268px) !important;
        max-width: 268px !important;
        height: 100dvh !important;
        z-index: 10006 !important;
    }

    body.home-ref .overlay:not(.show),
    body.home-ref .sidebar-overlay:not(.show),
    body.home-ref .site-splash.is-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    /* Escurecimento atrás do menu / de modais — nunca em cima do menu */
    body.home-ref .sidebar-overlay.show {
        left: var(--phone-shell-left) !important;
        right: auto !important;
        top: 0 !important;
        bottom: 0 !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        height: auto !important;
        z-index: 10004 !important;
    }
    body.home-ref .overlay.show {
        left: var(--phone-shell-left) !important;
        right: auto !important;
        top: 0 !important;
        bottom: 0 !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        height: auto !important;
        z-index: 10008 !important;
    }

    body.home-ref .modal.show,
    body.home-ref .modal.show.modal-auth,
    body.home-ref .modal.show.modal-auth-recover,
    body.home-ref .modal-deposito.show,
    body.home-ref .modal-retirada.show,
    body.home-ref .modal-suporte.show,
    body.home-ref .painel-extrato.show,
    body.home-ref .painel-perfil.show,
    body.home-ref .slots-catalogo.show,
    body.home-ref .bonus-deposito-modal.show,
    body.home-ref .modal-manutencao-jogo.show,
    body.home-ref .modal-saldo-jogo.show,
    body.home-ref .pwa-install.show {
        position: fixed !important;
        top: var(--app-inset-top, var(--phone-header-h)) !important;
        bottom: var(--app-inset-bottom, var(--phone-footer-h)) !important;
        left: var(--phone-shell-left) !important;
        right: auto !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
        height: auto !important;
        max-height: none !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 10010 !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        pointer-events: auto !important;
        scrollbar-width: none !important;
    }
    body.home-ref .modal.show::-webkit-scrollbar,
    body.home-ref .modal-deposito.show::-webkit-scrollbar,
    body.home-ref .modal-retirada.show::-webkit-scrollbar,
    body.home-ref .modal-suporte.show::-webkit-scrollbar,
    body.home-ref .painel-extrato.show::-webkit-scrollbar,
    body.home-ref .painel-perfil.show::-webkit-scrollbar,
    body.home-ref .slots-catalogo.show::-webkit-scrollbar {
        display: none !important;
    }

    body.home-ref .modal.show.modal-auth,
    body.home-ref .modal.show.modal-auth-recover {
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 0, 0, 0.55) !important;
        padding: 12px !important;
    }

    body.home-ref .modal-deposito.show,
    body.home-ref .modal-retirada.show,
    body.home-ref .modal-suporte.show,
    body.home-ref .painel-extrato.show,
    body.home-ref .painel-perfil.show,
    body.home-ref .slots-catalogo.show {
        background: #121212 !important;
        padding: 0 !important;
    }

    body.home-ref .slots-catalogo,
    body.home-ref .pwa-install-banner {
        left: var(--phone-shell-left) !important;
        right: auto !important;
        width: var(--phone-shell-w) !important;
        max-width: var(--phone-shell-w) !important;
    }

    body.home-ref .button,
    body.home-ref .btnRetirar,
    body.home-ref .btnResgatar,
    body.home-ref .btn-ver-mais {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
}

