/* =====================================================================
   GeraBet — Template "Pavilhão da Tinta" (v7.6)
   Papel de arroz, tinta, celadon e selo vermelho. Estrutura própria:
   cabeçalho com logo ao centro, banner com carteira, medalhões de ação,
   trilho vertical de categorias e coluna lateral. Tudo sob body.tpl-pavilhao.
   Ornamentos em SVG/CSS (não dependem de fonte chinesa no aparelho).
   Fontes: Noto Sans (SIL Open Font License 1.1) — ver fontes/LICENCA.txt
   ===================================================================== */

@font-face { font-family: "Pavilhao Sans"; src: url("fontes/noto-sans-regular.woff") format("woff"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Pavilhao Sans"; src: url("fontes/noto-sans-bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Pavilhao Sans"; src: url("fontes/noto-sans-black.woff") format("woff"); font-weight: 800 900; font-display: swap; }

body.tpl-pavilhao {
    --pv-papel: #f4efe3;
    --pv-papel-2: #ebe3d0;
    --pv-papel-3: #dfd4ba;
    --pv-branco: #fffdf8;
    --pv-tinta: #1c2421;
    --pv-tinta-2: #2a3531;
    --pv-tinta-3: #3a4843;
    --pv-cela: #2f7d6d;
    --pv-cela-2: #6fb3a0;
    --pv-cela-esc: #1f4a42;
    --pv-sinete: #c6392b;
    --pv-sinete-esc: #8f2a20;
    --pv-ouro: #b8893a;
    --pv-ouro-2: #e8b64f;
    --pv-mudo: #6f776f;
    --pv-borda: rgba(28, 36, 33, .13);
    --pv-sombra: 0 8px 22px rgba(28, 36, 33, .14);
    --pv-raio: 18px;
    --pv-ouro-grad: linear-gradient(135deg, #f7e3a1 0%, #e8b64f 45%, #b8893a 100%);
    --pv-sans: "Pavilhao Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --pv-serif: "Noto Serif SC", "Songti SC", "STSong", "Noto Serif", Georgia, "Times New Roman", serif;
    --pv-nuvem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='70' viewBox='0 0 240 70'%3E%3Cg fill='none' stroke='%232f7d6d' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 52c0-12 14-12 14 0m-14 0c0 9 20 9 20-3 0-12 17-12 17-1 0 10 17 10 17-1'/%3E%3Cpath d='M120 40c0-12 14-12 14 0m-14 0c0 9 20 9 20-3 0-12 17-12 17-1 0 10 17 10 17-1'/%3E%3C/g%3E%3C/svg%3E");
    background-color: var(--pv-papel) !important;
    background-image:
        radial-gradient(900px 380px at 88% -60px, rgba(111, 179, 160, .32), transparent 70%),
        radial-gradient(700px 360px at -8% 12%, rgba(198, 57, 43, .07), transparent 70%),
        linear-gradient(180deg, transparent 70%, rgba(28, 36, 33, .05)) !important;
    background-attachment: fixed !important;
    color: var(--pv-tinta);
    font-family: var(--pv-sans) !important;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
    padding-bottom: 82px !important;
}
body.tpl-pavilhao *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(svg):not(svg *) { font-family: var(--pv-sans); }
body.tpl-pavilhao [id] { scroll-margin-top: 130px; }
body.tpl-pavilhao ::selection { background: var(--pv-ouro-2); color: var(--pv-tinta); }
body.tpl-pavilhao .top-bar, body.tpl-pavilhao .bonus-cadastro, body.tpl-pavilhao .menu-inferior, body.tpl-pavilhao .botao-esporte { display: none !important; }

/* Os filhos dos botões não recebem o clique: o script padrão do visitante confere a classe do elemento clicado */
body.tpl-pavilhao .pv-topo button *, body.tpl-pavilhao .pv-lateral button *, body.tpl-pavilhao .pv-barra-inf button *,
body.tpl-pavilhao .pv-card *, body.tpl-pavilhao .pv-med *, body.tpl-pavilhao .pv-venc *, body.tpl-pavilhao .pv-rtp-linha *,
body.tpl-pavilhao .pv-destaque button *, body.tpl-pavilhao .pv-btn *, body.tpl-pavilhao .pv-carteira-cta * { pointer-events: none; }

/* ---------- Botões ---------- */
body.tpl-pavilhao .pv-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
    height: 40px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
    font-size: 13px; font-weight: 800; letter-spacing: .3px; transition: transform .15s, box-shadow .2s, filter .15s;
}
body.tpl-pavilhao .pv-btn:active { transform: translateY(1px); }
body.tpl-pavilhao .pv-btn-tinta { background: var(--pv-tinta); color: var(--pv-papel); }
body.tpl-pavilhao .pv-btn-tinta:hover { background: var(--pv-tinta-3); }
body.tpl-pavilhao .pv-btn-contorno { background: transparent; color: var(--pv-tinta); box-shadow: inset 0 0 0 1.5px var(--pv-tinta); }
body.tpl-pavilhao .pv-btn-contorno:hover { background: var(--pv-tinta); color: var(--pv-papel); }
body.tpl-pavilhao .pv-btn-sinete, body.tpl-pavilhao .pv-btn-tema { background: var(--pv-sinete); color: #fff; box-shadow: 0 3px 0 var(--pv-sinete-esc); }
body.tpl-pavilhao .pv-btn-sinete:hover, body.tpl-pavilhao .pv-btn-tema:hover { filter: brightness(1.08); }
body.tpl-pavilhao .pv-btn-sinete:active { box-shadow: 0 1px 0 var(--pv-sinete-esc); transform: translateY(2px); }
body.tpl-pavilhao .pv-btn-sinete::after, body.tpl-pavilhao .pv-btn-tema::after {
    content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s;
}
body.tpl-pavilhao .pv-btn-sinete:hover::after, body.tpl-pavilhao .pv-btn-tema:hover::after { left: 130%; }
body.tpl-pavilhao .pv-btn-ajuda { background: var(--pv-tinta); color: var(--pv-ouro-2); min-width: 210px; height: 44px; }
body.tpl-pavilhao .pv-btn-ajuda:disabled { opacity: .9; cursor: progress; }
body.tpl-pavilhao .pv-btn-mais { display: flex; margin: 24px auto 0; background: var(--pv-tinta); color: var(--pv-papel); min-width: 230px; }
body.tpl-pavilhao .pv-btn-mais:disabled { opacity: .55; }
body.tpl-pavilhao .pv-btn-mais[hidden] { display: none; }

/* ---------- Cabeçalho ---------- */
body.tpl-pavilhao .pv-topo { position: sticky; top: 0; z-index: 930; background: rgba(244, 239, 227, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--pv-borda); transition: box-shadow .25s; }
body.tpl-pavilhao .pv-topo.rolou { box-shadow: 0 8px 26px rgba(28, 36, 33, .14); }
body.tpl-pavilhao .pv-aviso { display: none; justify-content: space-between; align-items: center; height: 30px; padding: 0 28px; font-size: 11.5px; color: var(--pv-mudo); border-bottom: 1px solid var(--pv-borda); }
body.tpl-pavilhao .pv-aviso i { color: var(--pv-cela); margin-right: 4px; }
body.tpl-pavilhao .pv-aviso-dir { display: flex; gap: 6px; align-items: center; }
body.tpl-pavilhao .pv-cab { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; height: 62px; padding: 0 12px; max-width: 1340px; margin: 0 auto; box-sizing: border-box; }
body.tpl-pavilhao .pv-cab-esq { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.tpl-pavilhao .pv-hamburguer { width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px; background: transparent; color: var(--pv-tinta); font-size: 20px; cursor: pointer; transition: background .2s; }
body.tpl-pavilhao .pv-hamburguer:hover { background: var(--pv-papel-2); }
body.tpl-pavilhao .pv-nav { display: none; gap: 22px; align-items: center; }
body.tpl-pavilhao .pv-nav a, body.tpl-pavilhao .pv-nav button { position: relative; border: 0; background: none; padding: 8px 0; color: var(--pv-tinta-2); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
body.tpl-pavilhao .pv-nav a::after, body.tpl-pavilhao .pv-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--pv-sinete); transform: scaleX(0); transform-origin: left; transition: transform .28s; }
body.tpl-pavilhao .pv-nav a:hover::after, body.tpl-pavilhao .pv-nav button:hover::after, body.tpl-pavilhao .pv-nav a.on::after { transform: scaleX(1); }
body.tpl-pavilhao .pv-nav a.on, body.tpl-pavilhao .pv-nav a:hover, body.tpl-pavilhao .pv-nav button:hover { color: var(--pv-sinete); }
body.tpl-pavilhao .pv-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; padding: 7px 20px; border-radius: 999px; background: var(--pv-tinta); box-shadow: 0 0 0 2px var(--pv-papel), 0 0 0 3.5px var(--pv-ouro), 0 6px 16px rgba(28, 36, 33, .25); transition: transform .3s; }
body.tpl-pavilhao .pv-marca:hover { transform: translateY(2px); }
body.tpl-pavilhao .pv-marca img { max-height: 32px; max-width: 150px; object-fit: contain; display: block; }
body.tpl-pavilhao .pv-marca b { font-family: var(--pv-serif) !important; font-size: 20px; letter-spacing: 3px; color: var(--pv-ouro-2); text-transform: uppercase; }
body.tpl-pavilhao .pv-losango { display: none; width: 8px; height: 8px; transform: rotate(45deg); background: var(--pv-ouro-grad); box-shadow: 0 0 0 3px rgba(198, 57, 43, .28); animation: pv-brilha 3.2s ease-in-out infinite; }
body.tpl-pavilhao .pv-topo-dir { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
body.tpl-pavilhao .pv-icone { position: relative; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--pv-tinta); font-size: 17px; cursor: pointer; transition: background .2s; }
body.tpl-pavilhao .pv-icone:hover { background: var(--pv-papel-2); }
body.tpl-pavilhao .pv-ponto { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--pv-sinete); box-shadow: 0 0 0 2px var(--pv-papel); animation: pv-pulsa 2s infinite; }
body.tpl-pavilhao .pv-saldo { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; margin-right: 2px; }
body.tpl-pavilhao .pv-saldo small { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: var(--pv-mudo); }
body.tpl-pavilhao .pv-saldo b { font-size: 14px; font-weight: 800; white-space: nowrap; font-family: var(--pv-serif) !important; }
body.tpl-pavilhao .pv-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px solid var(--pv-ouro); background: var(--pv-tinta); color: var(--pv-ouro-2); font-weight: 800; font-size: 15px; cursor: pointer; }
body.tpl-pavilhao .pv-topo .pv-btn { height: 36px; padding: 0 14px; font-size: 12.5px; }
@media (max-width: 459px) {
    body.tpl-pavilhao .pv-topo .pv-icone { display: none; }
    body.tpl-pavilhao .pv-marca img { max-width: 96px; max-height: 26px; } body.tpl-pavilhao .pv-marca { padding: 6px 14px; }
    body.tpl-pavilhao .pv-saldo small { display: none; }
    body.tpl-pavilhao .pv-topo .pv-btn-contorno { display: none; }
    body.tpl-pavilhao .pv-topo .modalDeposito { display: none; }
}

/* ---------- Menu (gaveta em qualquer tela) ---------- */
body.tpl-pavilhao .pv-lateral {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 960; width: min(88vw, 320px); box-sizing: border-box;
    background: var(--pv-papel); overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 24px;
    transform: translateX(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); scrollbar-width: thin; scrollbar-color: var(--pv-papel-3) transparent;
    border-right: 1px solid var(--pv-borda);
    background-image: var(--pv-nuvem); background-repeat: no-repeat; background-position: bottom -10px right -30px; background-size: 240px 70px;
}
body.pv-menu-aberto .pv-lateral { transform: none; box-shadow: 24px 0 60px rgba(28, 36, 33, .3); }
body.tpl-pavilhao .pv-veu { position: fixed; inset: 0; z-index: 950; background: rgba(28, 36, 33, .55); backdrop-filter: blur(2px); animation: pv-surge .25s; }
body.tpl-pavilhao .pv-lateral-cab { display: flex; align-items: center; justify-content: space-between; height: 62px; margin: 0 -14px 8px; padding: 0 14px; background: var(--pv-tinta); position: sticky; top: 0; z-index: 2; }
body.tpl-pavilhao .pv-lateral-cab img { max-height: 30px; max-width: 150px; }
body.tpl-pavilhao .pv-lateral-fechar { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--pv-papel); font-size: 18px; cursor: pointer; transition: transform .25s; }
body.tpl-pavilhao .pv-lateral-fechar:hover { transform: rotate(90deg); }
body.tpl-pavilhao .pv-menu { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
body.tpl-pavilhao .pv-menu a, body.tpl-pavilhao .pv-menu button, body.tpl-pavilhao .pv-grupo-tit {
    display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 46px;
    padding: 6px 10px; border: 0; border-radius: 14px; background: transparent; color: var(--pv-tinta);
    font-size: 15px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, padding-left .2s;
}
body.tpl-pavilhao .pv-menu a:hover, body.tpl-pavilhao .pv-menu button:hover, body.tpl-pavilhao .pv-grupo-tit:hover { background: rgba(47, 125, 109, .12); padding-left: 14px; }
body.tpl-pavilhao .pv-menu .on { background: var(--pv-papel-2); }
body.tpl-pavilhao .pv-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 2px rgba(184, 137, 58, .45); }
body.tpl-pavilhao .pv-ic.ouro { background: var(--pv-ouro-grad); color: #5a3d0a; }
body.tpl-pavilhao .pv-ic.vermelho { background: linear-gradient(145deg, #e0513f, var(--pv-sinete-esc)); }
body.tpl-pavilhao .pv-ic.laranja { background: linear-gradient(145deg, #e89a3c, #a9620f); }
body.tpl-pavilhao .pv-ic.verde { background: linear-gradient(145deg, var(--pv-cela-2), var(--pv-cela-esc)); }
body.tpl-pavilhao .pv-ic.roxo { background: linear-gradient(145deg, #a06bd8, #5b2f93); }
body.tpl-pavilhao .pv-ic.azul { background: linear-gradient(145deg, #4b7fc0, #224a7a); }
body.tpl-pavilhao .pv-ic.cinza { background: linear-gradient(145deg, #7b847f, var(--pv-tinta-3)); }
body.tpl-pavilhao .pv-ic.tema { background: linear-gradient(145deg, var(--pv-sinete), var(--pv-sinete-esc)); }
body.tpl-pavilhao .pv-qtd { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--pv-mudo); background: var(--pv-papel-2); padding: 2px 8px; border-radius: 999px; }
body.tpl-pavilhao .pv-selo { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 3px 8px; border-radius: 999px; background: var(--pv-cela); color: #fff; }
body.tpl-pavilhao .pv-selo.vivo { background: var(--pv-sinete); }
body.tpl-pavilhao .pv-grupo { margin: 6px 0; border-top: 1px solid var(--pv-borda); border-bottom: 1px solid var(--pv-borda); padding: 6px 0; }
body.tpl-pavilhao .pv-grupo-tit { font-weight: 800; }
body.tpl-pavilhao .pv-grupo.aberto .pv-grupo-tit { background: var(--pv-papel-2); }
body.tpl-pavilhao .pv-grupo-seta { margin-left: auto; font-size: 13px; color: var(--pv-mudo); transition: transform .2s; }
body.tpl-pavilhao .pv-grupo:not(.aberto) .pv-grupo-seta { transform: rotate(180deg); }
body.tpl-pavilhao .pv-grupo-itens { display: none; flex-direction: column; gap: 2px; padding: 6px 0 2px 8px; }
body.tpl-pavilhao .pv-grupo.aberto .pv-grupo-itens { display: flex; }
body.tpl-pavilhao .pv-grupo-itens a { display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 4px 10px; border-radius: 12px; color: var(--pv-tinta-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .2s; }
body.tpl-pavilhao .pv-grupo-itens a:hover { background: rgba(47, 125, 109, .12); color: var(--pv-cela-esc); }
body.tpl-pavilhao .pv-grupo-itens a > i { width: 22px; text-align: center; color: var(--pv-sinete); }
body.tpl-pavilhao .pv-sep { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pv-mudo); padding: 18px 10px 6px; }
body.tpl-pavilhao .pv-promo { position: relative; overflow: hidden; margin: 16px 0 0; padding: 16px; border-radius: 18px; background: linear-gradient(145deg, var(--pv-cela), var(--pv-cela-esc)); display: flex; flex-direction: column; gap: 6px; color: #fff; box-shadow: var(--pv-sombra); }
body.tpl-pavilhao .pv-promo img { position: absolute; right: -40px; top: -30px; width: 150px; opacity: .95; pointer-events: none; animation: pv-flutua 6s ease-in-out infinite; }
body.tpl-pavilhao .pv-promo b { position: relative; font-family: var(--pv-serif) !important; font-size: 17px; font-weight: 900; max-width: 150px; line-height: 1.15; }
body.tpl-pavilhao .pv-promo span { position: relative; font-size: 12.5px; opacity: .92; max-width: 170px; }
body.tpl-pavilhao .pv-promo .pv-btn { position: relative; margin-top: 6px; align-self: flex-start; height: 36px; }
body.tpl-pavilhao .pv-lateral-rodape { margin: 18px 10px 0; font-size: 12px; color: var(--pv-mudo); }
body.tpl-pavilhao .pv-lateral-rodape b { display: inline-block; border: 2px solid var(--pv-mudo); border-radius: 6px; padding: 0 4px; margin-right: 6px; font-weight: 900; }

/* ---------- Estrutura da página ---------- */
body.tpl-pavilhao .pv-principal { max-width: 1340px; margin: 0 auto; padding: 12px 12px 8px; box-sizing: border-box; }

/* Banner (o slider do painel entra aqui) */
body.tpl-pavilhao .pv-hero { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 38px rgba(31, 74, 66, .3), 0 0 0 1px rgba(184, 137, 58, .45); background: var(--pv-cela-esc); isolation: isolate; }
body.tpl-pavilhao .pv-slider-vaga .slider-wrapper { margin: 0 !important; padding: 0 !important; max-width: none !important; }
body.tpl-pavilhao .slider-container { border-radius: 0; overflow: hidden; }
body.tpl-pavilhao .slider-container, body.tpl-pavilhao .slide { height: auto !important; aspect-ratio: 5 / 2; }
body.tpl-pavilhao .slide img { width: 100%; height: 100% !important; object-fit: cover; object-position: 0% 50%; border-radius: 0 !important; }
body.tpl-pavilhao .dots { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0 !important; z-index: 4; display: flex; justify-content: center; gap: 6px; }
body.tpl-pavilhao .dot { background: rgba(255, 255, 255, .45) !important; width: 8px !important; height: 8px !important; transition: width .25s, background .25s; border-radius: 8px !important; }
body.tpl-pavilhao .dot.active { background: var(--pv-ouro-2) !important; width: 24px !important; }
body.tpl-pavilhao.pv-home > .slider-wrapper { display: none; }
body.tpl-pavilhao .pv-hero-cobre { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
body.tpl-pavilhao .pv-hero-cobre::before { content: ""; position: absolute; left: 48%; right: 0; top: 4%; height: 30%; background: var(--pv-nuvem) repeat-x; background-size: 240px 70px; opacity: .22; filter: invert(1) brightness(2); animation: pv-deriva 70s linear infinite; }
body.tpl-pavilhao .pv-montes { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(0deg, rgba(17, 43, 37, .45), transparent); }
body.tpl-pavilhao .pv-sol { display: none; }
body.tpl-pavilhao .pv-selo-carimbo { position: absolute; z-index: 5; top: 12px; right: 14px; width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--pv-sinete); color: #fff; font-family: var(--pv-serif); font-size: 24px; transform: rotate(-6deg); box-shadow: 0 3px 0 var(--pv-sinete-esc), 0 6px 14px rgba(0, 0, 0, .3); animation: pv-carimba .7s .5s cubic-bezier(.3, 1.4, .5, 1) both; }
body.tpl-pavilhao .pv-selo-carimbo b { font-family: var(--pv-serif) !important; font-weight: 900; }
body.tpl-pavilhao .pv-selo-carimbo::after { content: ""; position: absolute; inset: 3px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 5px; }
body.tpl-pavilhao .pv-carteira { position: absolute; z-index: 5; right: 12px; bottom: 26px; display: flex; gap: 16px; padding: 8px 14px; border-radius: 14px; background: rgba(244, 239, 227, .96); color: var(--pv-tinta); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); border: 0; text-align: left; }
body.tpl-pavilhao .pv-carteira small { display: block; font-size: 10.5px; color: var(--pv-mudo); text-transform: uppercase; letter-spacing: .6px; }
body.tpl-pavilhao .pv-carteira b { display: block; font-family: var(--pv-serif) !important; font-size: 15px; font-weight: 900; white-space: nowrap; }
body.tpl-pavilhao .pv-carteira-cta { align-items: center; cursor: pointer; transition: transform .2s; }
body.tpl-pavilhao .pv-carteira-cta:hover { transform: translateY(-3px); }
body.tpl-pavilhao .pv-carteira-cta i { color: var(--pv-sinete); animation: pv-empurra 1.4s ease-in-out infinite; }

/* Medalhões de ação */
body.tpl-pavilhao .pv-meds { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 16px -12px 4px; padding: 6px 12px 10px; justify-content: flex-start; }
body.tpl-pavilhao .pv-meds::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-med { position: relative; flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--pv-tinta); font-size: 11.5px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
body.tpl-pavilhao .pv-med-ic {
    position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--pv-tinta);
    background: radial-gradient(circle at 35% 28%, #fffdf8, var(--pv-papel-2) 70%); box-shadow: inset 0 0 0 4px var(--pv-papel), 0 6px 14px rgba(28, 36, 33, .16);
    transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), color .2s;
}
body.tpl-pavilhao .pv-med-ic::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, var(--pv-ouro), #f7e3a1, var(--pv-ouro), #8a6320, var(--pv-ouro)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: transform .8s; }
body.tpl-pavilhao .pv-med:hover .pv-med-ic, body.tpl-pavilhao .pv-med:focus-visible .pv-med-ic { transform: translateY(-5px) scale(1.06); color: var(--pv-sinete); }
body.tpl-pavilhao .pv-med:hover .pv-med-ic::before { transform: rotate(360deg); }
body.tpl-pavilhao .pv-med-destaque .pv-med-ic { background: radial-gradient(circle at 35% 28%, #e0513f, var(--pv-sinete) 65%, var(--pv-sinete-esc)); color: #fff; animation: pv-halo 2.4s ease-in-out infinite; }
body.tpl-pavilhao .pv-med-destaque:hover .pv-med-ic { color: #fff3c9; }
body.tpl-pavilhao .pv-med.toque .pv-med-ic { animation: pv-toque .55s ease-out; }

/* Corpo: trilho | centro | lado */
body.tpl-pavilhao .pv-corpo { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 8px; }
body.tpl-pavilhao .pv-centro { min-width: 0; }
body.tpl-pavilhao .pv-lado { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 26px; }
body.tpl-pavilhao .pv-trilho { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-radius: 18px; background: var(--pv-tinta); box-shadow: var(--pv-sombra); max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: none; }
body.tpl-pavilhao .pv-trilho::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-trilho a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 0 5px; padding: 9px 0; border-radius: 12px; color: #cfd8d2; font-size: 9.5px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, transform .2s; }
body.tpl-pavilhao .pv-trilho a i { font-size: 17px; transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
body.tpl-pavilhao .pv-trilho a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
body.tpl-pavilhao .pv-trilho a:hover i { transform: scale(1.18); }
body.tpl-pavilhao .pv-trilho a.on { background: var(--pv-sinete); color: #fff; box-shadow: 0 3px 0 var(--pv-sinete-esc); }
body.tpl-pavilhao .pv-trilho a.on::before { content: ""; position: absolute; left: -5px; top: 30%; bottom: 30%; width: 3px; border-radius: 3px; background: var(--pv-ouro-2); }

/* Seções */
body.tpl-pavilhao .pv-sec { margin-top: 28px; }
body.tpl-pavilhao .pv-centro > .pv-sec:first-child, body.tpl-pavilhao .pv-centro > .pv-destaque:first-child { margin-top: 0; }
body.tpl-pavilhao .pv-sec-cab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 9px; margin-bottom: 14px; }
body.tpl-pavilhao .pv-sec-cab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--pv-ouro), rgba(184, 137, 58, .15) 70%, transparent); transform-origin: left; }
body.tpl-pavilhao .pv-sec-cab h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--pv-serif) !important; font-size: 20px; font-weight: 800; letter-spacing: .3px; color: var(--pv-tinta); }
body.tpl-pavilhao .pv-sec-cab h2::before { content: ""; width: 10px; height: 10px; flex: none; transform: rotate(45deg); background: var(--pv-sinete); box-shadow: 0 0 0 3px rgba(198, 57, 43, .2); }
body.tpl-pavilhao .pv-sec-cab h2 i { font-size: 15px; color: var(--pv-sinete); }
body.tpl-pavilhao .pv-contador { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(47, 125, 109, .12); color: var(--pv-cela-esc); font-size: 13px; font-weight: 800; text-decoration: none; flex: none; transition: background .2s, color .2s; }
body.tpl-pavilhao a.pv-contador:hover { background: var(--pv-cela); color: #fff; }

/* Capas de jogos */
body.tpl-pavilhao .pv-card { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--pv-tinta); transition: transform .25s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
body.tpl-pavilhao .pv-card-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--pv-papel-3); box-shadow: 0 6px 14px rgba(28, 36, 33, .18), 0 0 0 1px rgba(28, 36, 33, .06); transition: box-shadow .25s; }
body.tpl-pavilhao .pv-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
body.tpl-pavilhao .pv-card-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(170px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 244, 200, .4), transparent 62%); }
body.tpl-pavilhao .pv-card-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: var(--pv-ouro-2); background: rgba(28, 36, 33, .5); opacity: 0; transition: opacity .2s; z-index: 1; }
body.tpl-pavilhao .pv-card:hover .pv-card-img, body.tpl-pavilhao .pv-card:focus-visible .pv-card-img { box-shadow: 0 0 0 2px var(--pv-ouro-2), 0 14px 28px rgba(28, 36, 33, .28); }
body.tpl-pavilhao .pv-card:hover .pv-card-img img, body.tpl-pavilhao .pv-card:focus-visible .pv-card-img img { transform: scale(1.07); }
body.tpl-pavilhao .pv-card:hover .pv-card-img::after { opacity: 1; }
body.tpl-pavilhao .pv-card:hover .pv-card-play, body.tpl-pavilhao .pv-card:focus-visible .pv-card-play { opacity: 1; }
body.tpl-pavilhao .pv-card-nome { font-size: 12.5px; font-weight: 700; color: var(--pv-tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tpl-pavilhao .pv-selo-novo { align-self: flex-start; margin-top: -3px; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--pv-sinete); padding: 2px 8px; border-radius: 6px; }

body.tpl-pavilhao .pv-fileira { display: grid; grid-auto-flow: column; grid-auto-columns: 36%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; scroll-snap-type: x proximity; }
body.tpl-pavilhao .pv-fileira::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-fileira > * { scroll-snap-align: start; }
body.tpl-pavilhao .pv-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; transition: opacity .2s; }
body.tpl-pavilhao .pv-grade.carregando { opacity: .45; }

/* Destaque */
body.tpl-pavilhao .pv-destaque { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; border-radius: 22px; background: var(--pv-tinta); box-shadow: var(--pv-sombra); margin-bottom: 28px; color: var(--pv-papel); }
body.tpl-pavilhao .pv-destaque-arte { position: relative; height: 170px; background-size: cover; background-position: center; }
body.tpl-pavilhao .pv-destaque-arte::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(18px) brightness(.6); -webkit-backdrop-filter: blur(18px) brightness(.6); }
body.tpl-pavilhao .pv-destaque-arte img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 82%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 0 2px var(--pv-ouro-2); transition: transform .5s; }
body.tpl-pavilhao .pv-destaque:hover .pv-destaque-arte img { transform: translate(-50%, -50%) scale(1.05) rotate(-1.5deg); }
body.tpl-pavilhao .pv-destaque-info { padding: 18px 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: linear-gradient(135deg, var(--pv-cela-esc), var(--pv-tinta)); }
body.tpl-pavilhao .pv-destaque-tag { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--pv-ouro-2); }
body.tpl-pavilhao .pv-destaque h2 { margin: 0; font-family: var(--pv-serif) !important; font-size: 26px; font-weight: 900; line-height: 1.1; color: #fff; }
body.tpl-pavilhao .pv-destaque p { margin: 0 0 8px; color: var(--pv-cela-2); font-size: 14px; }

/* Top 10 */
body.tpl-pavilhao .pv-top10 { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 2px 6px; }
body.tpl-pavilhao .pv-top10::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-t10 { position: relative; flex: none; width: 170px; padding-left: 70px; }
body.tpl-pavilhao .pv-t10 .pv-card-img { z-index: 1; }
body.tpl-pavilhao .pv-t10 .pv-card-nome { display: none; }
body.tpl-pavilhao .pv-num { position: absolute; left: 0; bottom: -14px; font-family: var(--pv-serif) !important; font-size: 130px; font-weight: 900; line-height: 1; letter-spacing: -9px; color: transparent; -webkit-text-stroke: 2.5px var(--pv-ouro); z-index: 0; transition: -webkit-text-stroke-color .25s, transform .3s; }
body.tpl-pavilhao .pv-t10:hover .pv-num { -webkit-text-stroke-color: var(--pv-sinete); transform: translateX(-3px); }

/* Mais / menos premiados */
body.tpl-pavilhao .pv-premiados { display: grid; gap: 14px; }
body.tpl-pavilhao .pv-painel-rtp { border-radius: 20px; background: rgba(255, 253, 248, .75); border: 1px solid var(--pv-borda); padding: 16px; position: relative; overflow: hidden; box-shadow: 0 4px 14px rgba(28, 36, 33, .07); }
body.tpl-pavilhao .pv-rtp-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
body.tpl-pavilhao .pv-rtp-cab h2 { margin: 0; font-family: var(--pv-serif) !important; font-size: 19px; font-weight: 800; color: var(--pv-tinta); }
body.tpl-pavilhao .pv-rtp-cab h2 i { font-size: 13px; color: var(--pv-mudo); vertical-align: middle; cursor: help; }
body.tpl-pavilhao .pv-rtp-cab small { color: var(--pv-mudo); font-size: 12.5px; }
body.tpl-pavilhao .pv-rtp-arte { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; flex: none; animation: pv-flutua 4s ease-in-out infinite; }
body.tpl-pavilhao .mais .pv-rtp-arte { background: radial-gradient(circle at 50% 70%, #f7c266, #e0513f 55%, var(--pv-sinete-esc)); box-shadow: 0 8px 22px rgba(198, 57, 43, .4); }
body.tpl-pavilhao .menos .pv-rtp-arte { background: radial-gradient(circle at 50% 70%, #d8efe7, var(--pv-cela-2) 55%, var(--pv-cela-esc)); box-shadow: 0 8px 22px rgba(47, 125, 109, .4); }
body.tpl-pavilhao .pv-painel-rtp ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: pvrank; }
body.tpl-pavilhao .pv-painel-rtp li { counter-increment: pvrank; display: flex; align-items: center; gap: 8px; }
body.tpl-pavilhao .pv-painel-rtp li::before { content: counter(pvrank); width: 20px; flex: none; font-family: var(--pv-serif); font-size: 20px; font-weight: 900; color: var(--pv-ouro); text-align: center; }
body.tpl-pavilhao .pv-rtp-linha { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 7px 12px 7px 7px; border: 0; border-radius: 14px; background: transparent; color: var(--pv-tinta); cursor: pointer; text-align: left; transition: background .2s, transform .2s; }
body.tpl-pavilhao .pv-rtp-linha:hover { background: rgba(47, 125, 109, .1); transform: translateX(4px); }
body.tpl-pavilhao .pv-rtp-linha img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; background: var(--pv-papel-3); }
body.tpl-pavilhao .pv-rtp-nome { display: flex; flex-direction: column; min-width: 0; flex: 1; }
body.tpl-pavilhao .pv-rtp-nome b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tpl-pavilhao .pv-rtp-nome small { font-size: 11.5px; color: var(--pv-mudo); }
body.tpl-pavilhao .pv-rtp-pct { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; font-size: 14.5px; flex: none; }
body.tpl-pavilhao .mais .pv-rtp-pct { color: var(--pv-cela); }
body.tpl-pavilhao .menos .pv-rtp-pct { color: #3b6fa8; }
body.tpl-pavilhao .pv-rtp-pct i { font-size: 12px; }

/* Maiores vencedores */
body.tpl-pavilhao .pv-vencedores { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 2px 6px; }
body.tpl-pavilhao .pv-vencedores::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-venc { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 12px; border: 1px solid var(--pv-borda); border-radius: 16px; background: rgba(255, 253, 248, .75); cursor: pointer; text-align: left; color: var(--pv-tinta); min-width: 0; transition: transform .25s, box-shadow .25s; }
body.tpl-pavilhao .pv-venc:hover { transform: translateY(-4px); box-shadow: var(--pv-sombra); }
body.tpl-pavilhao .pv-venc-img { display: block; aspect-ratio: 16 / 11; border-radius: 11px; overflow: hidden; background: var(--pv-papel-3); }
body.tpl-pavilhao .pv-venc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
body.tpl-pavilhao .pv-venc:hover .pv-venc-img img { transform: scale(1.06); }
body.tpl-pavilhao .pv-venc-info { display: flex; flex-direction: column; gap: 1px; padding: 0 4px; }
body.tpl-pavilhao .pv-venc-info small { font-size: 11.5px; color: var(--pv-mudo); }
body.tpl-pavilhao .pv-venc-info b { font-family: var(--pv-serif) !important; font-size: 17px; font-weight: 900; color: var(--pv-cela); }
body.tpl-pavilhao .pv-venc-info em { font-style: normal; font-size: 11.5px; color: var(--pv-tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Jackpots */
body.tpl-pavilhao .pv-jackpots { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
body.tpl-pavilhao .pv-jackpots::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-jp { scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: #fff; box-shadow: 0 10px 24px rgba(28, 36, 33, .22); transition: transform .3s; }
body.tpl-pavilhao .pv-jp:hover { transform: translateY(-4px); }
body.tpl-pavilhao .pv-jp::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 16px solid rgba(255, 255, 255, .12); pointer-events: none; animation: pv-gira 30s linear infinite; }
body.tpl-pavilhao .pv-jp.azul { background: linear-gradient(150deg, #2f7d6d, #1f4a42); }
body.tpl-pavilhao .pv-jp.magenta { background: linear-gradient(150deg, #8a3b6b, #4a1d3a); }
body.tpl-pavilhao .pv-jp.vermelho { background: linear-gradient(150deg, #c6392b, #7d1f16); }
body.tpl-pavilhao .pv-jp.roxo { background: linear-gradient(150deg, #3b4a6b, #1c2438); }
body.tpl-pavilhao .pv-jp.verde { background: linear-gradient(150deg, #6fb3a0, #2f7d6d); }
body.tpl-pavilhao .pv-jp.laranja { background: linear-gradient(150deg, #b8893a, #6d4d14); }
body.tpl-pavilhao .pv-jp-cab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.tpl-pavilhao .pv-jp-cab b { font-family: var(--pv-serif) !important; font-size: 17px; font-weight: 900; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tpl-pavilhao .pv-jp-cab b i { color: #f7e3a1; }
body.tpl-pavilhao .pv-jp-cab .pv-contador { background: rgba(0, 0, 0, .25); color: #fff; height: 28px; }
body.tpl-pavilhao .pv-jp-grande, body.tpl-pavilhao .pv-jp-linha, body.tpl-pavilhao .pv-jp-duas > div { background: rgba(0, 0, 0, .22); border-radius: 14px; }
body.tpl-pavilhao .pv-jp-grande { padding: 14px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
body.tpl-pavilhao .pv-jp-grande small { font-size: 12px; font-weight: 700; opacity: .9; }
body.tpl-pavilhao .pv-jp-grande strong { font-family: var(--pv-serif) !important; font-size: 29px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff3c9; }
body.tpl-pavilhao .pv-jp-linha { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 13px; font-weight: 700; }
body.tpl-pavilhao .pv-jp-linha b, body.tpl-pavilhao .pv-jp-duas b { font-weight: 900; font-variant-numeric: tabular-nums; }
body.tpl-pavilhao .pv-jp-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.tpl-pavilhao .pv-jp-duas > div { padding: 9px 12px; display: flex; flex-direction: column; font-size: 11.5px; font-weight: 700; }
body.tpl-pavilhao .pv-jp-duas b { font-size: 14px; }
body.tpl-pavilhao .pv-jp-jogos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 2px; }
body.tpl-pavilhao .pv-jp-jogo .pv-card-img { border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
body.tpl-pavilhao .pv-jp-jogo .pv-card-nome { display: none; }

/* Provedores */
body.tpl-pavilhao .pv-provedores { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; flex-wrap: nowrap; }
body.tpl-pavilhao .pv-provedores::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-prov { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--pv-papel-2); box-shadow: inset 0 0 0 1px rgba(184, 137, 58, .55); text-decoration: none; color: var(--pv-tinta); transition: background .2s, color .2s, transform .2s; }
body.tpl-pavilhao .pv-prov:hover { background: var(--pv-tinta); color: var(--pv-papel); transform: translateY(-2px); }
body.tpl-pavilhao .pv-prov b { font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
body.tpl-pavilhao .pv-prov .pv-contador { height: 28px; font-size: 12px; padding: 0 10px; background: rgba(47, 125, 109, .18); }

/* Não sabe o que jogar */
body.tpl-pavilhao .pv-ajuda { margin: 30px auto 0; max-width: 440px; padding: 22px; border-radius: 22px; background: var(--pv-papel-2); box-shadow: inset 0 0 0 1px rgba(184, 137, 58, .5); text-align: center; position: relative; overflow: hidden; }
body.tpl-pavilhao .pv-ajuda::before { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 60px; background: var(--pv-nuvem) repeat-x; background-size: 240px 70px; opacity: .18; animation: pv-deriva 60s linear infinite; }
body.tpl-pavilhao .pv-ajuda h2 { position: relative; margin: 0 0 14px; font-family: var(--pv-serif) !important; font-size: 20px; font-weight: 900; color: var(--pv-tinta); }
body.tpl-pavilhao .pv-ajuda .pv-btn { position: relative; }

/* Catálogo e filtros */
body.tpl-pavilhao .pv-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--pv-tinta); border: 0; box-shadow: inset 0 0 0 1.5px var(--pv-tinta); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
body.tpl-pavilhao .pv-chip:hover { background: var(--pv-tinta); color: var(--pv-papel); }
body.tpl-pavilhao .pv-chip.ativo, body.tpl-pavilhao .pv-chip-borda.ativo { background: var(--pv-sinete); color: #fff; box-shadow: 0 3px 0 var(--pv-sinete-esc); }
body.tpl-pavilhao .pv-cat-filtros { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
body.tpl-pavilhao .pv-cat-abas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; }
body.tpl-pavilhao .pv-cat-abas::-webkit-scrollbar { display: none; }
body.tpl-pavilhao .pv-cat-campos { display: grid; grid-template-columns: 1fr; gap: 10px; }
body.tpl-pavilhao .pv-select, body.tpl-pavilhao .pv-campo { position: relative; display: block; }
body.tpl-pavilhao .pv-select i, body.tpl-pavilhao .pv-campo i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--pv-cela); pointer-events: none; }
body.tpl-pavilhao .pv-select select, body.tpl-pavilhao .pv-campo input {
    width: 100%; height: 44px; box-sizing: border-box; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--pv-borda);
    background: #fff; color: var(--pv-tinta); font-size: 14.5px; appearance: none; -webkit-appearance: none;
}
body.tpl-pavilhao .pv-select select:focus, body.tpl-pavilhao .pv-campo input:focus { outline: none; border-color: var(--pv-cela); box-shadow: 0 0 0 3px rgba(47, 125, 109, .2); }
body.tpl-pavilhao .pv-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--pv-mudo); border-bottom: 2px solid var(--pv-mudo); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
body.tpl-pavilhao .pv-cat-vazio { text-align: center; color: var(--pv-mudo); padding: 30px 0; }

/* Setas das fileiras (computador) */
body.tpl-pavilhao .pv-rolar-caixa { position: relative; }
body.tpl-pavilhao .pv-seta { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pv-tinta); color: var(--pv-ouro-2); font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(28, 36, 33, .4); transition: background .2s, opacity .2s; }
body.tpl-pavilhao .pv-seta:hover { background: var(--pv-sinete); color: #fff; }
body.tpl-pavilhao .pv-seta-ant { left: -10px; }
body.tpl-pavilhao .pv-seta-prox { right: -10px; }
body.tpl-pavilhao .pv-rolar-caixa.no-inicio .pv-seta-ant, body.tpl-pavilhao .pv-rolar-caixa.no-fim .pv-seta-prox { opacity: 0; pointer-events: none; }

/* ---------- Coluna lateral ---------- */
body.tpl-pavilhao .pv-caixa { position: relative; display: block; padding: 16px; border-radius: 20px; background: rgba(255, 253, 248, .8); border: 1px solid var(--pv-borda); color: var(--pv-tinta); text-decoration: none; box-shadow: 0 4px 14px rgba(28, 36, 33, .07); }
body.tpl-pavilhao .pv-caixa h3 { margin: 0 0 6px; font-family: var(--pv-serif) !important; font-size: 17px; font-weight: 900; }
body.tpl-pavilhao .pv-caixa p { margin: 0 0 10px; font-size: 12.5px; color: var(--pv-mudo); }
body.tpl-pavilhao .pv-caixa-selo { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pv-ouro-grad); color: #5a3d0a; font-size: 19px; box-shadow: 0 6px 14px rgba(184, 137, 58, .4); animation: pv-flutua 4.5s ease-in-out infinite; }
body.tpl-pavilhao .pv-boas-vindas { background: linear-gradient(150deg, var(--pv-tinta), var(--pv-cela-esc)); color: var(--pv-papel); border: 0; overflow: hidden; }
body.tpl-pavilhao .pv-boas-vindas h3 { max-width: 75%; color: #fff; }
body.tpl-pavilhao .pv-boas-vindas p { color: var(--pv-cela-2); }
body.tpl-pavilhao .pv-boas-vindas::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 50px; background: var(--pv-nuvem) repeat-x; background-size: 240px 70px; opacity: .25; filter: invert(1); animation: pv-deriva 60s linear infinite; pointer-events: none; }
body.tpl-pavilhao .pv-indique { transition: transform .25s, box-shadow .25s; }
body.tpl-pavilhao .pv-indique:hover { transform: translateY(-4px); box-shadow: var(--pv-sombra); }
body.tpl-pavilhao .pv-indique h3 { max-width: 70%; }
body.tpl-pavilhao .pv-ao-vivo h3 { display: flex; align-items: center; gap: 8px; }
body.tpl-pavilhao .pv-ponto-vivo { width: 9px; height: 9px; border-radius: 50%; background: var(--pv-sinete); animation: pv-pulsa 1.6s infinite; flex: none; }
body.tpl-pavilhao .pv-ao-vivo ul { list-style: none; margin: 0; padding: 0; }
body.tpl-pavilhao .pv-ao-vivo li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 8px; margin: 0 -8px; border-bottom: 1px dashed var(--pv-borda); border-radius: 10px; font-size: 12.5px; transition: background .4s, transform .4s; }
body.tpl-pavilhao .pv-ao-vivo li:last-child { border-bottom: 0; }
body.tpl-pavilhao .pv-ao-vivo li span { display: flex; flex-direction: column; min-width: 0; }
body.tpl-pavilhao .pv-ao-vivo li em { font-style: normal; font-weight: 700; }
body.tpl-pavilhao .pv-ao-vivo li small { color: var(--pv-mudo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tpl-pavilhao .pv-ao-vivo li b { color: var(--pv-cela); font-family: var(--pv-serif) !important; font-size: 13.5px; white-space: nowrap; }
body.tpl-pavilhao .pv-ao-vivo li.dest { background: rgba(47, 125, 109, .13); transform: translateX(4px); }

/* ---------- Resumo da conta (logado, na coluna lateral) ---------- */
body.tpl-pavilhao .painel-resumo { max-width: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column; gap: 12px; }
body.tpl-pavilhao .cartao { background: rgba(255, 253, 248, .85) !important; border: 1px solid var(--pv-borda) !important; border-radius: 20px !important; box-shadow: 0 4px 14px rgba(28, 36, 33, .07) !important; color: var(--pv-tinta); }
body.tpl-pavilhao .cartao-saldo { background: linear-gradient(150deg, var(--pv-tinta), var(--pv-tinta-2)) !important; border: 0 !important; color: var(--pv-papel); }
body.tpl-pavilhao .cartao-saldo .cartao-rotulo { color: var(--pv-cela-2) !important; }
body.tpl-pavilhao .cartao-saldo .cartao-valor { color: var(--pv-ouro-2) !important; }
body.tpl-pavilhao .cartao-rotulo, body.tpl-pavilhao .cartao-texto { color: var(--pv-mudo) !important; }
body.tpl-pavilhao .cartao-valor { color: var(--pv-tinta) !important; font-family: var(--pv-serif) !important; font-weight: 900; }
body.tpl-pavilhao .botao-grande { background: var(--pv-sinete) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 800 !important; letter-spacing: .3px; box-shadow: 0 3px 0 var(--pv-sinete-esc) !important; }
body.tpl-pavilhao .botao-grande.secundario { background: transparent !important; color: var(--pv-papel) !important; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 227, .7) !important; }
body.tpl-pavilhao .barra { background: rgba(28, 36, 33, .12) !important; border-radius: 8px; overflow: hidden; }
body.tpl-pavilhao .barra i { background: linear-gradient(90deg, var(--pv-cela-2), var(--pv-ouro-2)) !important; transform-origin: left; animation: pv-enche 1.4s cubic-bezier(.2, .8, .2, 1) both; }
body.tpl-pavilhao .etiqueta.liberado { background: rgba(47, 125, 109, .16) !important; color: var(--pv-cela-esc) !important; }
body.tpl-pavilhao .etiqueta.bloqueado { background: rgba(184, 137, 58, .18) !important; color: #7a5a1c !important; }
body.tpl-pavilhao .cartao-raspadinha { background: linear-gradient(150deg, #8a3b6b, #4a1d3a) !important; border: 0 !important; color: #fff; }
body.tpl-pavilhao .cartao-raspadinha .cartao-rotulo, body.tpl-pavilhao .cartao-raspadinha .cartao-texto { color: #f3d9e8 !important; }
body.tpl-pavilhao .cartao-raspadinha .cartao-valor { color: #fff !important; }

/* ---------- Blocos padrão: escondidos na página inicial (a vitrine já mostra tudo) ---------- */
body.tpl-pavilhao.pv-home .ganhos-container,
body.tpl-pavilhao.pv-home .busca-container,
body.tpl-pavilhao.pv-home > .lista-jogos,
body.tpl-pavilhao.pv-home .content-box .lista-jogos:not(.gb-video),
body.tpl-pavilhao.pv-home .content-box > .container-conteudo > .footer-line,
body.tpl-pavilhao.pv-home > .footer-line { display: none !important; }
body.tpl-pavilhao:not(.pv-home) .ganhos-container, body.tpl-pavilhao:not(.pv-home) > .slider-wrapper, body.tpl-pavilhao .busca-container { display: none !important; }

/* Páginas internas (Extrato, Indique e ganhe) */
body.tpl-pavilhao .content-box { background: transparent !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.tpl-pavilhao .container-conteudo { background: transparent !important; max-width: 1100px !important; padding: 0 14px !important; margin: 0 auto !important; box-sizing: border-box; }
body.tpl-pavilhao .extrato-titulo, body.tpl-pavilhao .afiliado-titulo { font-family: var(--pv-serif) !important; font-size: 24px !important; font-weight: 900 !important; color: var(--pv-tinta) !important; text-align: left !important; margin: 24px 0 14px !important; }
body.tpl-pavilhao .extrato-table-container, body.tpl-pavilhao .afiliado-table-container { background: transparent !important; padding: 0 !important; max-width: none !important; overflow-x: auto; }
body.tpl-pavilhao .afiliado-info, body.tpl-pavilhao .afiliado-content-link { background: rgba(255, 253, 248, .85) !important; border: 1px solid var(--pv-borda); border-radius: 18px !important; color: var(--pv-tinta) !important; }
body.tpl-pavilhao .content-box table { background: rgba(255, 253, 248, .85) !important; border-radius: 14px; overflow: hidden; }
body.tpl-pavilhao .content-box th { background: var(--pv-tinta) !important; color: var(--pv-papel) !important; }
body.tpl-pavilhao .content-box td { border-color: var(--pv-borda) !important; color: var(--pv-tinta); }
body.tpl-pavilhao .pagination-btn { background: #fff !important; border: 1px solid var(--pv-borda) !important; color: var(--pv-tinta) !important; border-radius: 999px !important; }
body.tpl-pavilhao .pagination-btn.active { background: var(--pv-sinete) !important; color: #fff !important; }
body.tpl-pavilhao .resgatar { background: var(--pv-sinete) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 800; }

/* Resultados ao vivo */
body.tpl-pavilhao .aovivo-resultados { background: transparent !important; max-width: 1100px !important; margin: 26px auto 0 !important; padding: 0 14px 6px !important; box-sizing: border-box; }
body.tpl-pavilhao .aovivo-titulo { font-family: var(--pv-serif) !important; font-size: 20px !important; font-weight: 900 !important; color: var(--pv-tinta) !important; }
body.tpl-pavilhao .aovivo-entry { background: rgba(255, 253, 248, .85) !important; border: 1px solid var(--pv-borda); border-radius: 14px !important; color: var(--pv-mudo) !important; }
body.tpl-pavilhao .aovivo-entry img { border-radius: 10px; }
body.tpl-pavilhao .aovivo-info strong { color: var(--pv-tinta); }
body.tpl-pavilhao .aovivo-amount { color: var(--pv-cela) !important; font-weight: 800; }

/* Barra inferior do celular */
body.tpl-pavilhao .pv-barra-inf {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 940; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: var(--pv-tinta); border-top: 2px solid var(--pv-ouro);
}
body.tpl-pavilhao .pv-barra-inf a, body.tpl-pavilhao .pv-barra-inf button { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 0; color: #aeb9b3; font-size: 10.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: color .2s; }
body.tpl-pavilhao .pv-barra-inf i { font-size: 18px; }
body.tpl-pavilhao .pv-barra-inf .on { color: var(--pv-ouro-2); }
body.tpl-pavilhao .pv-barra-inf .pv-central b { width: 56px; height: 56px; margin-top: -32px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #e0513f, var(--pv-sinete) 65%, var(--pv-sinete-esc)); color: #fff; font-size: 22px; border: 4px solid var(--pv-papel); box-shadow: 0 6px 16px rgba(198, 57, 43, .5); animation: pv-halo 2.4s ease-in-out infinite; }

/* Rodapé */
body.tpl-pavilhao .footer { background: var(--pv-tinta) !important; border-top: 3px solid var(--pv-ouro); color: #b9c4be; margin-top: 34px; }
body.tpl-pavilhao .container-footer { max-width: 100% !important; box-sizing: border-box; flex-wrap: wrap; }
body.tpl-pavilhao .footer h4 { color: var(--pv-papel) !important; font-weight: 800; }
body.tpl-pavilhao .footer a, body.tpl-pavilhao .footer-text, body.tpl-pavilhao .footer-bottom { color: #b9c4be !important; }
body.tpl-pavilhao .footer a:hover { color: var(--pv-ouro-2) !important; }
body.tpl-pavilhao .social-icons a { background: rgba(255, 255, 255, .08) !important; color: var(--pv-papel) !important; }
body.tpl-pavilhao .ver-mais-btn { color: var(--pv-ouro-2) !important; background: none !important; }
body.tpl-pavilhao .footer-line { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .12) !important; }

/* Modais e menus padrão (tema claro) */
body.tpl-pavilhao .overlay { background: rgba(28, 36, 33, .6) !important; backdrop-filter: blur(3px); }
body.tpl-pavilhao .modal:not(.modal-auth) { background: var(--pv-branco) !important; border: 1px solid rgba(184, 137, 58, .4); border-radius: 22px !important; box-shadow: 0 30px 80px rgba(28, 36, 33, .4) !important; color: var(--pv-tinta); }
body.tpl-pavilhao .modal:not(.modal-auth) p, body.tpl-pavilhao .modal:not(.modal-auth) label, body.tpl-pavilhao .modal:not(.modal-auth) span, body.tpl-pavilhao .modal:not(.modal-auth) li { color: inherit; }
body.tpl-pavilhao .modal-content h2 { color: var(--pv-tinta) !important; font-family: var(--pv-serif) !important; font-weight: 900; }
body.tpl-pavilhao .close-modal { color: var(--pv-mudo) !important; }
body.tpl-pavilhao .close-modal:hover { color: var(--pv-sinete) !important; }
body.tpl-pavilhao .input-icon input, body.tpl-pavilhao .input-icon textarea, body.tpl-pavilhao .input-icon select { background: var(--pv-papel) !important; border: 1px solid var(--pv-borda) !important; color: var(--pv-tinta) !important; border-radius: 12px !important; }
body.tpl-pavilhao .input-icon input:focus, body.tpl-pavilhao .input-icon textarea:focus { outline: none; border-color: var(--pv-cela) !important; box-shadow: 0 0 0 3px rgba(47, 125, 109, .2); background: #fff !important; }
body.tpl-pavilhao .input-icon i { color: var(--pv-cela) !important; }
body.tpl-pavilhao .submit-button, body.tpl-pavilhao input.submit-button, body.tpl-pavilhao button.submit-button { background: var(--pv-sinete) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 800 !important; box-shadow: 0 3px 0 var(--pv-sinete-esc); }
body.tpl-pavilhao .modal a, body.tpl-pavilhao .recover-password a { color: var(--pv-cela) !important; }
body.tpl-pavilhao .sidebar, body.tpl-pavilhao .sidebartermo { background: var(--pv-papel) !important; border-right: 1px solid var(--pv-borda); z-index: 970 !important; color: var(--pv-tinta); }
body.tpl-pavilhao .sidebar a { background: #fff !important; border: 1px solid var(--pv-borda) !important; color: var(--pv-tinta) !important; border-radius: 14px !important; box-shadow: none !important; }
body.tpl-pavilhao .sidebar a:hover { background: rgba(47, 125, 109, .12) !important; color: var(--pv-cela-esc) !important; }
body.tpl-pavilhao .sidebar a i, body.tpl-pavilhao .sidebar .close-btn, body.tpl-pavilhao .close-sidebartermo { color: var(--pv-sinete) !important; }
body.tpl-pavilhao .sidebartermo-content, body.tpl-pavilhao .sidebar-content { color: var(--pv-tinta); }
body.tpl-pavilhao .sidebartermo-content *, body.tpl-pavilhao .sidebar-content p, body.tpl-pavilhao .sidebar-content span { color: inherit; }

/* Telas de login e cadastro (estrutura em /assets/auth.css) */
body.tpl-pavilhao .modal-auth, body.tpl-pavilhao {
    --auth-fonte: var(--pv-sans);
    --auth-fundo: #fffdf8;
    --auth-texto: #1c2421;
    --auth-mudo: #6f776f;
    --auth-borda: #e4dcc8;
    --auth-campo: #f4efe3;
    --auth-campo-borda: #e4dcc8;
    --auth-raio: 22px;
    --auth-raio-campo: 12px;
    --auth-arte: radial-gradient(circle at 85% 8%, rgba(232, 182, 79, .5), transparent 55%), linear-gradient(160deg, #2f7d6d 0%, #1f4a42 55%, #1c2421 110%);
    --auth-botao: #c6392b;
    --auth-botao-texto: #fff;
    --auth-link: #2f7d6d;
}
body.tpl-pavilhao .modal-auth .auth-abas button.ativo { background: var(--pv-sinete); color: #fff; }
body.tpl-pavilhao .modal-auth .modal-content h2 { font-weight: 900; }
body.tpl-pavilhao .modal-auth .auth-arte h3 { font-family: var(--pv-serif) !important; font-weight: 900; }
body.tpl-pavilhao .modal-auth .auth-arte h3 em { font-style: normal; color: #f7e3a1; }
body.tpl-pavilhao .modal-auth .auth-arte li i { color: #f7e3a1; }
body.tpl-pavilhao .pv-auth-fichas { right: -60px; top: -40px; width: 230px; opacity: .95; animation: pv-flutua 6s ease-in-out infinite; }
@media (min-width: 900px) { body.tpl-pavilhao .pv-auth-fichas { right: auto; left: 30px; top: 150px; width: 330px; } }

/* Barras de rolagem */
html:has(body.tpl-pavilhao) { scrollbar-color: #c9bfa4 #f4efe3; }
body.tpl-pavilhao ::-webkit-scrollbar-thumb { background-color: #c9bfa4; }

/* Vídeo de destaque (estrutura em templates/_base/parciais/video-destaque.php) */
body.tpl-pavilhao .gb-video { margin: 28px 0 0 !important; padding: 0 !important; max-width: none !important; background: transparent !important; }
body.tpl-pavilhao .gb-video .titulo-lista-jogos { display: block; margin: 0 0 12px !important; font-family: var(--pv-serif) !important; font-size: 20px !important; font-weight: 800 !important; color: var(--pv-tinta) !important; }
body.tpl-pavilhao .gb-video { --gv-fundo: #1c2421; --gv-acento: #c6392b; --gv-raio: 20px; --gv-mudo: #b9c4be; }

/* ---------- Revelar ao rolar ---------- */
body.tpl-pavilhao.pv-anim .pv-sec { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
body.tpl-pavilhao.pv-anim .pv-sec.visto { opacity: 1; transform: none; }
body.tpl-pavilhao.pv-anim .pv-sec .pv-sec-cab::after { transform: scaleX(0); transition: transform 1s .15s cubic-bezier(.2, .8, .2, 1); }
body.tpl-pavilhao.pv-anim .pv-sec.visto .pv-sec-cab::after { transform: scaleX(1); }

/* ---------- Animações ---------- */
@keyframes pv-deriva { to { background-position-x: -240px; } }
@keyframes pv-carimba { 0% { opacity: 0; transform: scale(2.6) rotate(-18deg); } 60% { opacity: 1; transform: scale(.92) rotate(-6deg); } 100% { opacity: 1; transform: scale(1) rotate(-6deg); } }
@keyframes pv-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pv-gira { to { transform: rotate(360deg); } }
@keyframes pv-pulsa { 0%, 100% { box-shadow: 0 0 0 2px var(--pv-papel), 0 0 0 2px rgba(198, 57, 43, .5); } 50% { box-shadow: 0 0 0 2px var(--pv-papel), 0 0 0 7px rgba(198, 57, 43, 0); } }
@keyframes pv-brilha { 0%, 100% { opacity: .75; } 50% { opacity: 1; box-shadow: 0 0 0 3px rgba(198, 57, 43, .2), 0 0 10px var(--pv-ouro-2); } }
@keyframes pv-halo { 0%, 100% { box-shadow: 0 6px 14px rgba(198, 57, 43, .35), 0 0 0 0 rgba(198, 57, 43, .45); } 50% { box-shadow: 0 6px 14px rgba(198, 57, 43, .35), 0 0 0 10px rgba(198, 57, 43, 0); } }
@keyframes pv-toque { 0% { box-shadow: 0 0 0 0 rgba(232, 182, 79, .8); } 100% { box-shadow: 0 0 0 18px rgba(232, 182, 79, 0); } }
@keyframes pv-enche { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pv-empurra { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes pv-surge { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    body.tpl-pavilhao *, body.tpl-pavilhao *::before, body.tpl-pavilhao *::after { animation: none !important; transition: none !important; }
    body.tpl-pavilhao.pv-anim .pv-sec { opacity: 1; transform: none; }
}

/* =====================================================================
   Tablet (a partir de 640 px)
   ===================================================================== */
@media (min-width: 640px) {
    body.tpl-pavilhao .pv-cab { padding: 0 20px; }
    body.tpl-pavilhao .pv-principal { padding: 16px 20px 8px; }
    body.tpl-pavilhao .slider-container, body.tpl-pavilhao .slide { aspect-ratio: 4 / 1; }
    body.tpl-pavilhao .pv-meds { margin: 18px -20px 4px; padding: 6px 20px 10px; justify-content: center; gap: 20px; }
    body.tpl-pavilhao .pv-med { width: 84px; font-size: 12.5px; }
    body.tpl-pavilhao .pv-med-ic { width: 64px; height: 64px; font-size: 24px; }
    body.tpl-pavilhao .pv-corpo { grid-template-columns: 86px minmax(0, 1fr); gap: 18px; }
    body.tpl-pavilhao .pv-trilho a { font-size: 11px; padding: 11px 0; }
    body.tpl-pavilhao .pv-trilho a i { font-size: 20px; }
    body.tpl-pavilhao .pv-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
    body.tpl-pavilhao .pv-grade-alta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.tpl-pavilhao .pv-fileira { grid-auto-columns: 24%; }
    body.tpl-pavilhao .pv-vencedores { grid-auto-columns: 27%; }
    body.tpl-pavilhao .pv-jackpots { grid-auto-columns: 320px; }
    body.tpl-pavilhao .pv-cat-campos { grid-template-columns: 1fr 1fr; }
    body.tpl-pavilhao .pv-destaque { grid-template-columns: 1.2fr 1fr; }
    body.tpl-pavilhao .pv-destaque-arte { height: 230px; }
    body.tpl-pavilhao .pv-destaque-info { justify-content: center; padding: 24px 30px; }
    body.tpl-pavilhao .pv-selo-carimbo { width: 56px; height: 56px; font-size: 30px; top: 16px; right: 20px; }
    body.tpl-pavilhao .pv-carteira { right: 20px; bottom: 30px; padding: 10px 18px; gap: 22px; }
    body.tpl-pavilhao .pv-carteira b { font-size: 19px; }
    body.tpl-pavilhao .pv-lado { grid-template-columns: repeat(2, 1fr); }
    body.tpl-pavilhao .pv-lado .pv-resumo-vaga { grid-column: 1 / -1; }
    body.tpl-pavilhao .container-conteudo, body.tpl-pavilhao .aovivo-resultados { padding-left: 20px !important; padding-right: 20px !important; }
}

/* =====================================================================
   Computador (a partir de 1024 px)
   ===================================================================== */
@media (min-width: 1024px) {
    body.tpl-pavilhao { padding-bottom: 0 !important; }
    body.tpl-pavilhao .pv-aviso { display: flex; }
    body.tpl-pavilhao .pv-cab { height: 76px; }
    body.tpl-pavilhao .pv-nav { display: flex; }
    body.tpl-pavilhao .pv-marca img { max-height: 38px; max-width: 190px; }
    body.tpl-pavilhao .pv-marca b { font-size: 24px; }
    body.tpl-pavilhao .pv-losango { display: block; }
    body.tpl-pavilhao .pv-barra-inf { display: none; }
    body.tpl-pavilhao .pv-topo .pv-btn { height: 40px; padding: 0 20px; font-size: 13px; }
    body.tpl-pavilhao .pv-principal { padding: 20px 28px 8px; }
    body.tpl-pavilhao .slider-container, body.tpl-pavilhao .slide { aspect-ratio: 5 / 1.22; }
    body.tpl-pavilhao .pv-trilho { top: 108px; }
    body.tpl-pavilhao .pv-fileira { grid-auto-columns: 19%; }
    body.tpl-pavilhao .pv-vencedores { grid-auto-columns: 22%; }
    body.tpl-pavilhao .pv-premiados { grid-template-columns: 1fr 1fr; }
    body.tpl-pavilhao .pv-sec-cab h2 { font-size: 22px; }
    body.tpl-pavilhao .pv-destaque-arte { height: 260px; }
    body.tpl-pavilhao .pv-destaque h2 { font-size: 32px; }
    body.tpl-pavilhao .pv-ajuda { max-width: 480px; }
}
@media (min-width: 1180px) {
    body.tpl-pavilhao .pv-corpo { grid-template-columns: 92px minmax(0, 1fr) 290px; gap: 22px; }
    body.tpl-pavilhao .pv-lado { grid-column: auto; grid-template-columns: 1fr; margin-top: 0; position: sticky; top: 108px; align-self: start; }
    body.tpl-pavilhao .pv-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    body.tpl-pavilhao .pv-grade-alta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.tpl-pavilhao .pv-fileira { grid-auto-columns: 22%; }
    body.tpl-pavilhao .pv-jackpots { grid-auto-columns: 300px; }
    body.tpl-pavilhao .pv-cat-filtros { flex-direction: row; align-items: center; justify-content: space-between; }
    body.tpl-pavilhao .pv-cat-campos { grid-template-columns: 220px 220px; }
}
body.tpl-pavilhao .pv-cat-filtros > * { min-width: 0; }
body.tpl-pavilhao .pv-cat-abas { flex: 1; }
body.tpl-pavilhao .pv-cat-campos { flex: none; }

/* Celular: a carteira vira uma faixa abaixo do banner (não cobre o texto) */
@media (max-width: 639px) {
    body.tpl-pavilhao .pv-carteira { position: relative; right: auto; bottom: auto; z-index: 5; width: 100%; box-sizing: border-box; border-radius: 0; justify-content: space-between; padding: 9px 16px; box-shadow: none; border-top: 2px solid var(--pv-ouro); }
    body.tpl-pavilhao .pv-selo-carimbo { width: 34px; height: 34px; font-size: 18px; top: 8px; right: 10px; }
    body.tpl-pavilhao .dots { bottom: 8px; }
}

/* =====================================================================
   Ajustes de telas estreitas (janela reduzida e celular) — v7.7
   ===================================================================== */
@media (max-width: 1023px) {
    body.tpl-pavilhao .pv-cab { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
    body.tpl-pavilhao .pv-marca { min-width: 0; max-width: 100%; justify-self: center; }
    body.tpl-pavilhao .pv-marca img { max-width: 100%; }
    body.tpl-pavilhao .pv-topo-dir { flex-shrink: 0; }
}
@media (max-width: 899px) {
    body.tpl-pavilhao .pv-topo .pv-icone[aria-label="Bônus e ofertas"] { display: none; }
}
@media (max-width: 639px) {
    body.tpl-pavilhao .pv-topo .pv-icone, body.tpl-pavilhao .pv-topo .modalDeposito { display: none; }
    body.tpl-pavilhao .pv-topo .pv-btn { height: 34px; padding: 0 14px; }
    body.tpl-pavilhao .pv-cab { padding: 0 10px; height: 58px; }
    body.tpl-pavilhao .pv-saldo b { font-size: 13px; }
    body.tpl-pavilhao .pv-trilho { top: 70px; max-height: calc(100vh - 160px); }
    body.tpl-pavilhao .pv-meds { gap: 10px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
    body.tpl-pavilhao .pv-med { scroll-snap-align: start; }
}
@media (max-width: 359px) {
    body.tpl-pavilhao .pv-topo .pv-btn-contorno, body.tpl-pavilhao .pv-saldo small { display: none; }
    body.tpl-pavilhao .pv-marca { padding: 5px 10px; }
    body.tpl-pavilhao .pv-marca img { max-height: 22px; }
}
body.tpl-pavilhao .pv-hero, body.tpl-pavilhao .pv-centro, body.tpl-pavilhao .pv-lado { max-width: 100%; }
body.tpl-pavilhao .pv-card-nome, body.tpl-pavilhao .pv-rtp-nome, body.tpl-pavilhao .pv-venc-info em { min-width: 0; }
body.tpl-pavilhao .pv-sec-cab h2 { min-width: 0; }
body.tpl-pavilhao .pv-contador.sem-link { white-space: normal; height: auto; min-height: 30px; padding-top: 4px; padding-bottom: 4px; max-width: 58%; line-height: 1.2; text-align: right; font-size: 12px; }
body.tpl-pavilhao .pv-slider-vaga { position: relative; }
body.tpl-pavilhao .pv-meds { scroll-padding-left: 12px; }
@media (min-width: 640px) { body.tpl-pavilhao .pv-meds { scroll-padding-left: 20px; } }
body.tpl-pavilhao:not(.pv-home) .painel-resumo { margin: 16px 12px 0 !important; max-width: 1100px !important; }
@media (min-width: 640px) { body.tpl-pavilhao:not(.pv-home) .painel-resumo { margin: 20px 20px 0 !important; } }
@media (min-width: 1160px) { body.tpl-pavilhao:not(.pv-home) .painel-resumo { margin: 20px auto 0 !important; } }
