body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;

    background: linear-gradient(
    to bottom,
    #001b44 0px,
    #001b44 80px
),
url("Campo.png");

    background-size: 100% 80px, cover;
    background-position: top, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll;
}

#logoTitulo {
    width: 350px;
    margin-top:-40px;
    margin-bottom: 20px;
}

button {
    background: #001b44;
    color: #D4AF37;
    border: 2px solid #D4AF37;

    padding: 22px 70px;
    font-size: 30px;
    font-weight: bold;

    border-radius: 14px;
    cursor: pointer;

    margin-top: 25px;
    margin-bottom: 40px;

    transition: 0.3s;
}

button:hover {
    background: #002b6b;
    transform: scale(1.05);
}

.animation-area {
    position: relative;
    width: 100%;
    min-height: 400px;
}

#pack {
    width: 1000px;
    position: relative;
    margin: auto;
    display: block;
    transition: all 1s ease;
}

.shake {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% { transform: translateX(0px); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0px); }
}

#flash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.flash-active {
    animation: flashEffect 0.5s;
}

@keyframes flashEffect {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ================= MENU TOPO - FIXO CANTO DIREITO ================= */
#menuTopo {
    position: fixed !important;
    top: 0px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
    height: 80px !important;
    display: flex;               /* ← sem !important */
    align-items: center !important;
    gap: 10px;
    padding: 0;
    z-index: 9999;
    width: auto;
}

#menuTopo button {
    padding: clamp(10px, 1.2vw, 20px) clamp(18px, 2.5vw, 48px);
    font-size: clamp(11px, 1vw, 16px);
    margin: 0;
    white-space: nowrap;
}

/* ================= RANKING ================= */

#cardContainer {
    display: none;
    width: 100%;
    margin-top: 10px;
}

/* TOP 3 */
.top3-container {
    position: relative;
    width: 100%;
    height: clamp(260px, 26vw, 480px);
    margin-bottom: 30px;
}

.top-card {
    position: absolute;
    text-align: center;
    color: white;
}

.primeiro-lugar {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}
.primeiro-lugar img {
    width: clamp(150px, 15vw, 265px);
}

.segundo-lugar {
    top: 5%;
    left: 35%;
    transform: translateX(-50%);
}
.segundo-lugar img {
    width: clamp(130px, 13vw, 230px);
}

.terceiro-lugar {
    top: 8%;
    left: 65%;
    transform: translateX(-50%);
}
.terceiro-lugar img {
    width: clamp(118px, 12vw, 210px);
}

.restantes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 3vw, 70px) clamp(20px, 3vw, 70px);
    width: 90%;
    margin: auto;
    padding-bottom: 50px;
}

.rest-card {
    width: clamp(90px, 9vw, 165px);
}

.rest-card .card-wrapper {
    width: 100%;
}

.rest-card .card-wrapper img {
    width: 100%;
    display: block;
    transform: scale(1.14);
}

/* ================= CARD WRAPPER ================= */
.card-wrapper {
    position: relative;
    display: inline-block;
}

.card-wrapper img {
    display: block;
}

.ranking-position {
    position: absolute;
    top: 57px;
    left: 6px;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2vw, 35px);
    font-weight: bold;
    color: #D4AF37;
}

.ranking-sales {
    position: absolute;
    bottom: 14px;
    right: 37px;
    font-size: clamp(16px, 1.8vw, 34px);
    font-weight: bold;
    color: #001b44;
}

.primeiro-position {
    top: 15%;
    left: 2%;
    font-size: clamp(16px, 1.6vw, 30px);
}
.primeiro-sales {
    bottom: 2%;
    left: 85%;
    transform: translateX(-50%);
    font-size: clamp(13px, 1.3vw, 25px);
}

.segundo-position {
    top: 14%;
    left: 1%;
    font-size: clamp(13px, 1.3vw, 25px);
}
.segundo-sales {
    bottom: 2%;
    left: 84%;
    transform: translateX(-50%);
    font-size: clamp(12px, 1.2vw, 23px);
}

.terceiro-position {
    top: 14%;
    left: 0%;
    font-size: clamp(12px, 1.2vw, 23px);
}
.terceiro-sales {
    bottom: 2%;
    left: 84%;
    transform: translateX(-50%);
    font-size: clamp(11px, 1.1vw, 21px);
}

.rest-position {
    top: 8%;
    left: -8%;
    font-size: clamp(12px, 1.2vw, 20px);
}
.rest-sales {
    bottom: -5%;
    left: 87%;
    transform: translateX(-50%);
    font-size: clamp(12px, 1.2vw, 20px);
}

/* ================= CAMPO ================= */

#campoScreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#campoArea {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

#campoArea::after {
    content: "";
    position: absolute;
    top: 7vh;
    right: 0;
    bottom: -5vh;
    left: 40%;
    background: url("campo2.png") right top / contain no-repeat;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.player {
    position: absolute;
    width: clamp(60px, 6vw, 110px);
    height: clamp(60px, 6vw, 110px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #D4AF37;
    opacity: 1;
    filter: drop-shadow(0px 12px 10px rgba(0, 0, 0, 0.6))
            drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.4));
    z-index: 10;
    touch-action: none;
    pointer-events: auto;
    cursor: pointer;
}

.player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player.animar {
    animation: aparecerPlayer 0.5s ease;
}

@keyframes aparecerPlayer {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

/* ================= POPUP ================= */

#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

#popupOverlay img {
    width: clamp(180px, 20vw, 340px);
    max-width: 90%;
}

/* ================= ADMIN BTN ================= */
#adminBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 999999;
    pointer-events: auto;
}

/* ================= TOPO CAMPO ================= */
#topoCampo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    z-index: 20;
    pointer-events: none;
    padding: 0 0 0 260px;
    box-sizing: border-box;
}

#comissaoArea,
#arbitragemArea {
    position: static;
    pointer-events: auto;
    display: flex;
}

.bloco-topo {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    min-width: 180px;
}

.bloco-topo h3 {
    display: none;
}

#comissaoArea button,
#arbitragemArea button {
    padding: clamp(10px, 1.2vw, 20px) clamp(18px, 2.5vw, 48px);
    font-size: clamp(11px, 1vw, 16px);
    margin: 0;
    white-space: nowrap;
}

/* ================= RESERVAS ================= */
#reservasBox {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#areaReservas {
    display: flex;
    justify-content: center;
}

#areaReservas button {
    background: linear-gradient(180deg, #0b2c5c, #081f40);
    color: #D4AF37;
    border: 2px solid #D4AF37;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.reserva-player {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #D4AF37;
}

.reserva-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= MODAIS ================= */
#modalReservas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#modalContent {
    background: #081f40;
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

#modalContent h2 {
    color: #D4AF37;
    margin-bottom: 15px;
}

#modalLista {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-player {
    position: relative;
    width: clamp(55px, 5vw, 80px);
    height: clamp(55px, 5vw, 80px);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #D4AF37;
}

.modal-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cargo {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #D4AF37;
    font-weight: bold;
}

#modalTopo {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#modalTopoContent {
    background: linear-gradient(180deg, #0b2c5c, #081f40);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

#modalTopoTitulo {
    color: #D4AF37;
    font-size: 22px;
    margin-bottom: 15px;
}

#modalTopoLista {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================= PAINEL JOGADOR ================= */
#painelJogador {
    position: fixed;
    width: clamp(200px, 22vw, 380px);
    box-sizing: border-box;
    display: none;
    z-index: 999;
    touch-action: none;
    cursor: grab;
}

#painelJogador img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #D4AF37;
    display: block;
    box-sizing: border-box;
}

#painelPosicao {
    position: absolute;
    top: 18%;
    left: 10%;
    font-size: clamp(15px, 1.6vw, 26px);
    font-weight: bold;
    color: #D4AF37;
}

#painelPontos {
    position: absolute;
    bottom: 2.5%;
    left: 85%;
    transform: translateX(-50%);
    font-size: clamp(20px, 2.2vw, 36px);
    font-weight: bold;
    color: #001b44;
}

/* ================= PAINEL INFO ================= */
#painelInfo {
    position: fixed;
    width: clamp(200px, 22vw, 380px);
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #D4AF37;
    border-radius: 10px;
    padding: 10px 14px;
    display: none;
    z-index: 999;
    cursor: grab;
    touch-action: none;
}

#infoContent {
    text-align: center;
}

#infoNome {
    font-weight: bold;
    color: #D4AF37;
    font-size: clamp(15px, 1.5vw, 26px);
    margin-bottom: 6px;
}

#infoVendas {
    font-size: clamp(14px, 1.3vw, 22px);
}

#infoAtividades {
    font-size: clamp(14px, 1.3vw, 22px);
}

/* ================= PONTUAÇÕES ================= */
#btnPontuacoes {
    position: fixed;
    bottom: 70px;
    left: 20px;
    background: #081f40;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 999;
}

#menuPontuacoes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#pontuacoesContent {
    position: relative;
    background: linear-gradient(180deg, #0b2c5c, #081f40);
    border: 2px solid #D4AF37;
    border-radius: 16px;
    width: clamp(320px, 40vw, 620px);
    max-height: 85vh;
    padding: 30px;
    text-align: center;
    overflow-y: auto;
}

#pontuacoesContent h2 {
    color: #D4AF37;
    font-size: 22px;
    margin-bottom: 20px;
}

#fecharPontuacoes {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 16px;
    border-radius: 50%;
    margin: 0;
}

#selectJogador,
#inputAdicionar {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
}

#infoJogador {
    margin-top: 15px;
}

#pontuacoesGrid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    text-align: left;
}

#ladoEsquerdo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ladoDireito {
    width: 100%;
}

#ladoDireito h3 {
    color: #D4AF37;
    margin-bottom: 10px;
    font-size: 16px;
}

#selectJogador {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    background: #001b44;
    color: white;
    border: 1px solid #D4AF37;
}

#infoJogador {
    background: rgba(0,0,0,0.4);
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(212,175,55,0.3);
}

#totalAdicionar {
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #D4AF37;
    text-align: center;
}

#btnAdicionarPontos {
    padding: 10px;
    font-size: 15px;
    margin: 0;
    border-radius: 10px;
    width: 100%;
}

#acoesContainer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.acao-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #D4AF37;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    height: auto;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
    transition: 0.2s;
    margin: 0;
}

.acao-btn span:first-child {
    flex: 1;
    text-align: left;
}

.acao-btn:hover {
    background: rgba(212,175,55,0.2);
}

.editar-btn {
    font-size: 12px;
    padding: 4px 6px;
    margin: 0;
    border: none;
    background: transparent;
}

#btnVerLogs {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 8px;
    margin: 0;
}

/* ================= CONFIG ================= */
#modalConfig {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

#modalConfigContent {
    background: linear-gradient(180deg, #0b2c5c, #081f40);
    border: 2px solid #D4AF37;
    border-radius: 16px;
    width: clamp(400px, 55vw, 800px);
    max-height: 80vh;
    padding: 25px;
    overflow-y: auto;
}

#modalConfigContent h2 {
    color: #D4AF37;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.linha-dado {
    display: grid;
    grid-template-columns: 1fr 70px 70px 1.5fr 110px 110px 40px;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.linha-dado input,
.linha-dado select {
    background: #001b44;
    color: white;
    border: 1px solid #D4AF37;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

#modalConfigContent button {
    padding: 10px 20px;
    font-size: 14px;
    margin: 10px 5px 0;
    border-radius: 10px;
}

/* ================= FUNDOS ================= */
body.campo-ativo {
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        #001b44 0px,
        #001b44 120px
    ),
    url("Campo4.png");
    background-size: 100% 120px, cover;
    background-position: top, center;
    background-repeat: no-repeat, no-repeat;
}

.home-ativa {
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        #001b44 0px,
        #001b44 150px
    ),
    url("Campo.png");
    background-size: 100% 150px, cover;
    background-position: top, center;
    background-repeat: no-repeat, no-repeat;
    min-height: 100vh;
}

/* ================= HEADER ================= */
.top-header {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.campo-ativo #logoTitulo {
    position: fixed;
    top: -10px;
    left: 15px;
    width: clamp(140px, 14vw, 240px);
    margin: 0;
    z-index: 50;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* ================= SELETOR TIME ================= */
.btn-time {
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    margin: 0;
    opacity: 0.5;
}

.btn-time.ativo {
    opacity: 1;
    border: 3px solid #D4AF37;
}

/* ================= MISC ================= */
#listaCorretores {
    position: absolute;
    width: 220px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0,0,0,0.85);
    padding: 10px;
    border-radius: 10px;
    display: none;
    z-index: 10;
}

.item-corretor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.item-corretor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.item-corretor span {
    font-size: 14px;
}

#banco {
    position: absolute;
    width: 150px;
    cursor: grab;
    z-index: 5;
    transform-origin: center;
}
#btnVerLogs {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
}   

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    #pack.shake {
        animation: shake-mobile 0.5s infinite;
    }

    @keyframes shake-mobile {
    0%   { transform: translateX(-55.5%) translateX(0px); }
    25%  { transform: translateX(-55.5%) translateX(-10px); }
    50%  { transform: translateX(-55.5%) translateX(10px); }
    75%  { transform: translateX(-55.5%) translateX(-10px); }
    100% { transform: translateX(-55.5%) translateX(0px); }
}

@keyframes shake {
    0%   { transform: translateX(-55.5%) translateX(0px); }
    25%  { transform: translateX(-55.5%) translateX(-10px); }
    50%  { transform: translateX(-55.5%) translateX(10px); }
    75%  { transform: translateX(-55.5%) translateX(-10px); }
    100% { transform: translateX(-55.5%) translateX(0px); }
}

    /* LOGO TELA INICIAL */
    #logoTitulo {
        width: 55vw;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    /* LOGO NO CAMPO */
    body.campo-ativo #logoTitulo {
    display: none;
}
#selectMes {
    padding: 1.5vw 3vw !important;
    font-size: 2.8vw !important;
    border-radius: 2vw !important;
}

    /* BOTÃO ABRIR PACOTE */
    button {
        font-size: 4.5vw;
        padding: 3vw 8vw;
    }

    /* MENU TOPO */
#menuTopo {
    position: fixed !important;
    top: 0px !important;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
    height: 80px !important;
    display: flex;
    align-items: center !important;
    gap: 6px;
    padding: 0;
    z-index: 99999 !important;
}

    #menuTopo button {
    font-size: 2.8vw;
    padding: 1.5vw 3vw;
    border-radius: 2vw;
    margin: 0;
    white-space: nowrap;
}

    /* TOPO CAMPO MOBILE */
#topoCampo {
    position: fixed;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 85px 10px 0 10px;
    z-index: 99999;
}

#comissaoArea button,
#arbitragemArea button {
    font-size: 2.8vw;
    padding: 1.5vw 3vw;
    border-radius: 2vw;
    margin: 0;
}

#comissaoArea {
    position: absolute;
    left: 3vw;
    top: 85px;
}

#arbitragemArea {
    position: absolute;
    right: 3vw;
    top: 85px;
}

    /* RANKING TOP 3 */
    .top3-container {
        height: 55vw;
        margin-bottom: 15px;
        margin-top: 90px;
    }

    .primeiro-lugar { top: 0px; left: 50%; transform: translateX(-50%); }
    .segundo-lugar  { top: 10px; left: 18%; transform: translateX(-50%); }
    .terceiro-lugar { top: 15px; left: 82%; transform: translateX(-50%); }

    .primeiro-lugar img { width: 36vw; }
    .segundo-lugar img  { width: 28vw; }
    .terceiro-lugar img { width: 26vw; }

    /* RANKING RESTANTES */
    .restantes-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 10px;
        padding: 0 8px 40px;
        width: 100%;
        margin: 0 auto;
    }

    .rest-card {
        width: 28vw;
    }

    .rest-card .card-wrapper img {
        width: 100%;
        transform: scale(1);
    }

    /* CAMPO */
    .player {
        width: 12vw;
        height: 12vw;
    }

    #campoArea::after {
        top: 50vh;
        right: 0;
        bottom: -5vh;
        left: 0;
        background: url("campo2.png") center top / contain no-repeat;
    }

    #campoScreen {
        height: 100vh;
        overflow: hidden;
    }

    #campoArea {
        height: 100vh;
    }

    /* PAINÉIS MOBILE */
    #painelJogador {
        width: 30vw;
        touch-action: none;
        cursor: grab;
    }

    #painelInfo {
    width: 30vw;
    padding: 8px;
    touch-action: pan-y;
    cursor: grab;
}

    #infoNome {
        font-size: 3.5vw;
    }

    #infoVendas,
    #infoAtividades {
        font-size: 3vw;
    }

    /* MODAL */
    .modal-player {
        width: 18vw;
        height: 18vw;
    }

    /* POSIÇÃO E PONTOS NOS CARDS */
    .ranking-position {
        font-size: 4vw;
        top: 10%;
        left: 3%;
        width: 25px;
        height: 25px;
    }

    .ranking-sales {
        font-size: 4vw;
        bottom: 4%;
        right: 8%;
    }

    .primeiro-position { font-size: 4vw; top: 15%; left: 3%; }
    .primeiro-sales    { font-size: 3.5vw; bottom: 1.9%; left: 84%; }

    .segundo-position  { font-size: 3vw; top: 14%; left: 1%; }
    .segundo-sales     { font-size: 3vw; bottom: 1.8%; left: 83%; }

    .terceiro-position { font-size: 2.5vw; top: 13%; left: 1%; }
    .terceiro-sales    { font-size: 2.8vw; bottom: 1.3%; left: 83%; }

    .rest-position     { font-size: 2.5vw; top: 14%; left: 1%; }
    .rest-sales        { font-size: 3vw; bottom: 2%; left: 86%; }

    /* ADMIN BTN */
    #adminBtn {
        display: block;
        position: fixed;
        bottom: auto;
        top: 25px;
        left: 5px;
        padding: 4px 8px;
        font-size: 3vw;
        border-radius: 5px;
        z-index: 999999;
    }

    /* FUNDO */
    .home-ativa {
        background-size: 100% 150px, cover;
        background-position: top, center center;
        min-height: 100vh;
    }

    /* PACOTE */
    .animation-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 60vh;
        margin-top: -20px;
        overflow: hidden;
    }

    #pack {
    width: 90vw;
    position: relative;
    left: 50%;
    transform: translateX(-55.5%);
    margin: 0;
}

    body.campo-ativo {
        background-size: 100% 80px, cover;
    }
    body.ranking-ativo #menuTopo {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: 140px !important;
    height: 80px !important;
    transform: translateX(-50%) !important;
    justify-content: center;
    align-items: center !important;
}
.top-header {
    position: relative !important;
}
body.ranking-ativo {
    overflow: hidden;
    width: 100%;
}

body.ranking-ativo #cardContainer {
    overflow-y: auto;
    height: calc(100vh - 80px);
    margin-top: 80px;
    -webkit-overflow-scrolling: touch;
}
}