/* =====================================================================================================
   TEMA PIX365 (www.2pix4665.com, gerado do tema Pixgol): mesma estrutura do tema Prottu (front oficial da plataforma), com as cores do tema
   pixgol: fundo #171f1e, superfícies #232a29 / #2a302f / #323636, verde-limão #c8d30d (texto #212612), fonte Figtree.
   Abaixo, o cabeçalho original do tema Prottu, do qual esta camada partiu:
   TEMA PROTTU (prottu.com) — camada sobre a base da betano, com as cores do tema oficial da plataforma
   (themes.visionsysapi.com/prottu/theme.css): fundo #171f1e, superfícies #232a29 / #2a302f, dourado
   #c8d30d com o degradê #d3dc3d → #c8d30d → #a3ad0e → #7e860f, texto escuro #212612 sobre o dourado, fonte Inter.
   ===================================================================================================== */
:root, body, body[data-mode="live"], body[data-mode="casino"], body[data-mode="event"] {
  --p-bg: #171f1e;
  --p-top: #232a29;
  --p-card: #232a29;
  --p-field: #2a302f;
  --p-line: #2a302f;
  --p-gold: #c8d30d;
  --p-gold-2: #d3dc3d;
  --p-gold-3: #a3ad0e;
  --p-gold-4: #7e860f;
  --p-on-gold: #212612;
  --p-grad: linear-gradient(#c8d30d, #c8d30d);
  --p-grad-h: linear-gradient(90deg, #c8d30d, #c8d30d);
  --p-muted: rgba(255, 255, 255, .6);

  --brand: #c8d30d; --accent: #c8d30d; --accent-dark: #a3ad0e; --accent-soft: rgba(200, 211, 13, .12);
  --bg: #171f1e; --surface: #232a29; --surface-2: #2a302f; --surface-3: #323636;
  --line: #2a302f; --line-2: #323636; --text: #ffffff; --muted: rgba(255, 255, 255, .6); --muted-2: rgba(255, 255, 255, .45);
  --up: #3ddc84; --up-bg: rgba(61, 220, 132, .14); --down: #ff6b6b; --down-bg: rgba(255, 107, 107, .14);
  --amber: #c8d30d; --amber-bg: rgba(200, 211, 13, .14);
  --dk-bg: #171f1e; --dk-surface: #232a29; --dk-surface-2: #2a302f; --dk-line: #2a302f; --dk-text: #ffffff; --dk-muted: rgba(255, 255, 255, .6);
  --radius: 8px; --radius-card: 8px; --radius-odd: 6px;
  --shadow-1: none; --shadow-2: 0 8px 24px rgba(0, 0, 0, .4); --shadow-3: 0 20px 50px rgba(0, 0, 0, .55);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Figtree", system-ui, sans-serif;
  --font-banner: "Figtree", system-ui, sans-serif;
}
html, body { background: var(--p-bg); color: #fff; font-family: var(--font); }
::selection { background: rgba(200, 211, 13, .35); }

/* a base forçava o claro em modais, conta, busca e "últimos ganhos": no Prottu é tudo escuro */
.upm, .modal:not(.dark), .conta-modal, .modal.gs-modal,
body:not([data-mode="casino"]):not([data-mode="live"]) :is(.wg-dark, .dark-panel, .winners-slot) {
  --text: #ffffff; --muted: rgba(255, 255, 255, .6); --muted-2: rgba(255, 255, 255, .45);
  --surface: #232a29; --surface-2: #2a302f; --surface-3: #323636; --line: #2a302f; --line-2: #323636; --bg: #171f1e;
  --accent-soft: rgba(200, 211, 13, .12); --up: #3ddc84; --down: #ff6b6b;
  --dk-bg: #171f1e; --dk-surface: #232a29; --dk-surface-2: #2a302f; --dk-line: #2a302f; --dk-text: #ffffff; --dk-muted: rgba(255, 255, 255, .6);
  color: #fff;
}
.modal, .modal:not(.dark), .modal.gs-modal, .upm, .conta-modal { background: #232a29; color: #fff; box-shadow: var(--shadow-3); }
body:not([data-mode="casino"]):not([data-mode="live"]) .win-card { background: #2a302f; border-color: #2a302f; box-shadow: none; }
body:not([data-mode="casino"]):not([data-mode="live"]) .win-txt strong { color: var(--up); }
body:not([data-mode="casino"]):not([data-mode="live"]) :is(.wg-dark, .dark-panel) .casino-tile .cas-name { color: #fff; }

/* ---------- dourado como fundo: degradê oficial e texto escuro ---------- */
.main .btn.solid, .odd.on, .odd-wide.on, .odd-xs.on, .odd-lg.on, body[data-mode="live"] .odd.on, .ev.light .odd-wide.on,
.badge, .upm-dep, .gs-btn.on, .gs-cat.on, .game-dep, .pwa-go, .m-edit-btn:hover, .ev-404-actions .btn.solid,
.pip-foot .pf-dep, .pip-foot .pf-dep:hover, .cah-steps li::before, .m-submit, .bs-place.ready, .casino-tile .play i {
  background: var(--p-grad) !important; color: var(--p-on-gold) !important; border-color: transparent !important;
}
.odd.on b, .odd.on small, .odd-wide.on b, .odd-wide.on span, .odd-xs.on b, .odd-lg.on b { color: var(--p-on-gold) !important; }
.m-submit:disabled, .bs-place:not(.ready) { background: #323636 !important; color: rgba(255, 255, 255, .55) !important; }
.bar i, .gs-more i::after, .pix-timer em, .toggle input:checked, .ca-switch.on .ca-track { background: var(--p-gold) !important; }
a { color: inherit; }
.link, .m-foot a, .m-form .check a { color: var(--p-gold) !important; }

/* ---------- topo: #232a29 com o filete dourado embaixo ---------- */
.topbar, body[data-mode="live"] .topbar, body[data-mode="casino"] .topbar {
  background: var(--p-top); color: #fff; box-shadow: none; border-bottom: 1px solid rgba(126, 134, 15, .7);
}
.topbar .logo img { height: 32px; }
.topnav a { color: #fff; font-weight: 600; opacity: .9; }
.topnav a.on, .topnav a:hover { color: var(--p-gold); opacity: 1; }
.topnav a.on::after { background: var(--p-gold) !important; }
.search, .topbar .search { background: var(--p-field); color: rgba(255, 255, 255, .7); box-shadow: none; }
/* Entrar: contorno dourado; Registrar: pílula em degradê dourado com o selo PIX */
.btn { font-family: var(--font); font-weight: 600; text-transform: none; letter-spacing: 0; }
.btn.outline { background: transparent; color: #fff; box-shadow: none; border: 1px solid var(--p-gold); border-radius: 4px; }
.btn.outline:hover { background: rgba(200, 211, 13, .08); }
.btn.solid, .topbar .btn.solid { position: relative; background: var(--p-grad); color: var(--p-on-gold); border: 1px solid transparent; border-radius: 6px; }
.topbar .btn.solid[href="#/cadastro"]::after {
  content: "PIX"; position: absolute; top: -9px; right: 6px; height: 15px; padding: 0 5px 0 15px; border-radius: 8px;
  background: #232a29 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2332bcad' d='M8 1.2l2.6 2.6a1.6 1.6 0 0 1 0 2.3L8 8.7 5.4 6.1a1.6 1.6 0 0 1 0-2.3zM8 7.3l2.6 2.6a1.6 1.6 0 0 1 0 2.3L8 14.8l-2.6-2.6a1.6 1.6 0 0 1 0-2.3z'/%3E%3C/svg%3E") no-repeat 4px center / 9px;
  color: #fff; font: 700 9px/15px var(--font); letter-spacing: .02em;
}

/* ---------- lateral, chips e títulos ---------- */
.side, body[data-mode="live"] .side, body[data-mode="casino"] .side { background: transparent; box-shadow: none; }
.side-link, .sport-link, .league-link { color: rgba(255, 255, 255, .85); }
.side-link:hover, .sport-link:hover, .league-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-link.on, .sport-link.on, .league-link.on { background: rgba(55, 61, 17, .57) !important; color: var(--p-gold) !important; box-shadow: inset 0 0 0 1px var(--p-gold); }
.side-title { color: rgba(255, 255, 255, .6); }
.chip, .tx-chip, .seg a, .cas-pill, .gs-cat, .ev-tab, .dpill { background: #2a302f; color: rgba(255, 255, 255, .9); box-shadow: none; border-color: transparent; }
.chip.on, .tx-chip.on, .seg a.on, .cas-pill.on, .ev-tab.on, .dpill.on { background: rgba(55, 61, 17, .57) !important; color: var(--p-gold) !important; box-shadow: inset 0 0 0 1px var(--p-gold) !important; }
.wg-head h2, .panel-head h2, .cas-sec-head h2, .so-head h2, .mult-head h2 {
  font: 700 16px/20px var(--font); font-style: normal; text-transform: none; letter-spacing: 0; color: #fff;
}

/* ---------- caixas, cartões e jogos ---------- */
.panel, .wg-box, .ov-box, .acc-nav, .kpi, .mkt, .ev.light .mkt, .lst, .tf, .bet-row, .card-form {
  background: var(--p-card); border-color: var(--p-line); box-shadow: none; color: #fff;
}
.casino-tile img, .casino-img, .banner, .banner img { border-radius: 8px; }
.casino-tile .cas-name { color: #fff; }
.casino-tile .cas-prov { color: rgba(255, 255, 255, .55); }
.prov, .gs-prov-card { background: #2a302f !important; border-color: transparent !important; border-radius: 8px; }
.prov:hover, .gs-prov-card:hover { box-shadow: inset 0 0 0 1px var(--p-gold) !important; }
/* atalhos redondos (stories) com o aro dourado */
.story img { box-shadow: 0 0 0 2px var(--p-gold), 0 0 0 4px #171f1e; }
/* busca do cassino: campo escuro com borda em degradê dourado e o botão Provedor dourado */
.cas-search, .search-field, .gs-search {
  background: linear-gradient(#2a302f, #2a302f) padding-box, var(--p-grad) border-box !important;
  border: 1px solid transparent !important; border-radius: 8px !important; color: #fff;
}
.cas-search input, .search-field input, .gs-search input { color: #fff; }
.cas-search input::placeholder, .search-field input::placeholder { color: rgba(255, 255, 255, .6); }
.cas-filter, .cas-prov-btn, [data-open-providers] { background: var(--p-grad) !important; color: var(--p-on-gold) !important; border: 0 !important; border-radius: 8px !important; }

/* ---------- esportes: jogos e odds ---------- */
.match { background: var(--p-card); border-color: var(--p-line); color: #fff; }
.match:hover { background: #262d2c; }
.odd, body[data-mode="live"] .odd, .odd-wide, .odd-xs, .odd-lg { background: #2a302f; color: #fff; border-color: transparent; }
.odd small, body[data-mode="live"] .odd small { color: rgba(255, 255, 255, .6); }
.odd b, body[data-mode="live"] .odd b { color: var(--p-gold); }
.odd:hover:not(:disabled) { background: #323636; }
.lg-head { background: #2a302f; color: #fff; border-color: transparent; }

/* ---------- cupom: cabeçalho e botão dourados ---------- */
.bslip { background: #232a29; color: #fff; box-shadow: 0 -10px 34px rgba(0, 0, 0, .55); border-color: #2a302f; }
.bs-bar { background: var(--p-grad-h) !important; color: var(--p-on-gold) !important; }
.bs-bar *, .bs-bar .bs-ic b { color: var(--p-on-gold); }
.bs-bar .bs-ic b { background: #171f1e; color: var(--p-gold) !important; }
.bs-pick { background: #2a302f; border-color: transparent; }
.bs-field { background: #171f1e; border-color: #323636; }
.bs-field input { color: #fff; }
.bs-quick { background: linear-gradient(#2a302f, #2a302f) padding-box, var(--p-grad) border-box; border: 1px solid transparent; color: #fff; }
.bs-foot { background: #1c2423; border-top-color: #2a302f; }
.bs-tab.on { background: var(--p-grad) !important; color: var(--p-on-gold) !important; }
.slip-fab { background: var(--p-grad) !important; color: var(--p-on-gold) !important; box-shadow: 0 8px 22px rgba(126, 134, 15, .35) !important; }

/* ---------- formulários e modais ---------- */
.m-form input:not([type="checkbox"]), .m-form select, .form input, .form select, .form textarea {
  background: #171f1e; color: #fff; border-color: #323636;
}
.m-form input:focus, .m-form select:focus { border-color: var(--p-gold); box-shadow: 0 0 0 3px rgba(200, 211, 13, .18); }
.m-form label { color: rgba(255, 255, 255, .85); }
.m-head, .m-head h2 { color: #fff; }
.m-submit { border-radius: 8px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.modal-bg { background: rgba(5, 7, 10, .72); }

/* ---------- barra inferior (celular): #232a29, item ativo com a marca dourada em cima ---------- */
.tabbar, .tabbar.bn-cassino, body[data-mode="live"] .tabbar { background: #232a29 !important; border-top: 1px solid #2a302f; box-shadow: none; }
.tabbar .bn-item { color: rgba(255, 255, 255, .7); position: relative; }
.tabbar .bn-item.active { color: #fff; }
.tabbar .bn-item.active::before { content: ""; position: absolute; top: 0; left: 50%; width: 36px; height: 3px; margin-left: -18px; border-radius: 0 0 3px 3px; background: var(--p-grad-h); }
.tabbar .bn-item .bn-img { filter: brightness(0) invert(1) opacity(.75) !important; }
.tabbar .bn-item.active .bn-img { filter: brightness(0) invert(1) !important; }
.tabbar .bn-item.active svg, .tabbar .bn-item.active .bn-mask { color: var(--p-gold); background-color: var(--p-gold); }

/* ---------- rodapé ---------- */
.footer, body[data-mode="live"] .footer, body[data-mode="casino"] .footer { background: #171f1e; border-top-color: #2a302f; color: rgba(255, 255, 255, .6); }
.ft-col h4 { color: #fff; }
.ft-col a, .ft-col span, .ft-license, .ft-bottom { color: rgba(255, 255, 255, .6); }
.ft-col a:hover { color: var(--p-gold); }

/* ---------- busca do cassino (csb): campo escuro com borda dourada e o botão Provedor dourado com texto ---------- */
body .csb-bar, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar {
  height: 44px; border-radius: 8px; border: 1px solid transparent; box-shadow: none; color: rgba(255, 255, 255, .6);
  background: linear-gradient(#2a302f, #2a302f) padding-box, var(--p-grad) border-box;
}
body .csb-bar:hover, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar:hover { background: linear-gradient(#323636, #323636) padding-box, var(--p-grad) border-box; border-color: transparent; }
body .csb-bar b, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar b { color: #fff; }
body .csb-ic, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-ic { color: var(--p-gold); }
.csb-cur { color: var(--p-gold); }
body .csb-prov, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-prov {
  height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--p-grad); color: var(--p-on-gold); font-weight: 600; font-size: 14px;
}
body .csb-prov:hover, body:not([data-mode="casino"]):not([data-mode="live"]) .csb-prov:hover { background: var(--p-grad); filter: brightness(1.06); }
@media (max-width: 767px) {
  body .csb-bar, body .csb-prov { height: 40px; }
  body .csb-prov { padding: 0 12px; }
  body .csb-prov span { display: inline; }
  .topbar .search { display: none; }
}
/* atalhos redondos: aro dourado */
.story img { box-shadow: 0 0 0 2px var(--p-gold); }

/* ---------- barra inferior: sem a pílula atrás do ícone ativo; botão de troca escuro com o ícone dourado ---------- */
@media (max-width: 900px) {
  .tabbar .bn-ic, .tabbar .bn-item.active .bn-ic { background: transparent !important; border-color: transparent !important; }
  .tabbar .bn-switch, .tabbar.bn-cassino .bn-switch, body[data-mode="live"] .tabbar .bn-switch { background: #2a302f !important; color: var(--p-gold); }
  .tabbar .bn-lb { font-weight: 600; }
}
/* ícones do operador na barra inferior (máscaras): brancos, o ativo dourado */
.tabbar .bn-mask, .tabbar.bn-cassino .bn-mask, body[data-mode="live"] .tabbar .bn-mask { background-color: rgba(255, 255, 255, .85) !important; }
.tabbar .bn-item.active .bn-mask { background-color: var(--p-gold) !important; }
.tabbar .bn-item .ico, .tabbar .bn-item svg { color: rgba(255, 255, 255, .85); }
/* botões do topo no tamanho do oficial: Registrar 40px, Entrar 35px, texto 14px */
.topbar .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.topbar .btn.outline { height: 35px; padding: 0 14px; }
@media (max-width: 767px) { .topbar .auth { gap: 8px; } }
.topbar .auth .btn.solid, .topbar .auth .btn.outline { font-size: 14px; }
.topbar .auth .btn.solid { padding: 0 16px; }
@media (max-width: 380px) { .topbar .auth .btn.solid { padding: 0 12px; font-size: 13px; } .topbar .auth .btn.outline { padding: 0 10px; font-size: 13px; } }
/* menu do topo em caixa normal (Prottu), 14px/600 */
.topnav a { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }

/* =====================================================================================================
   TOPO, LATERAL E HAMBÚRGUER (medidas do prottu.fun)
   ===================================================================================================== */
/* hambúrguer: três traços brancos de 24px */
.p-burger { display: inline-grid; align-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 8px; margin-right: 4px; border: 0; background: none; cursor: pointer; flex: 0 0 auto; }
.p-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.p-burger:hover span { background: var(--p-gold); }
/* ícones do menu do topo (vêm do menu configurado) */
.topnav a .tn-ic { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; }
.topnav a { display: inline-flex; align-items: center; gap: 4px; }
/* o Prottu não tem a busca no topo: a busca fica na página */
.topbar .search { display: none; }
/* lateral: categorias em cartões #2a302f de 44px, banners no topo */
.side .side-promos { display: grid; gap: 8px; margin-bottom: 16px; }
.side .side-promo, .side .side-promo img { border-radius: 8px; overflow: hidden; }
.side .side-promo img { display: block; width: 100%; height: auto; }
#side-casino, #side-items { display: grid; gap: 8px; align-content: start; }
#side-casino > .side-link, .side .side-link {
  min-height: 44px; padding: 8px 12px; gap: 8px; border-radius: 8px; background: #2a302f; color: #fff; font-size: 14px; font-weight: 600;
}
.side .side-link:hover { background: #323636; color: #fff; }
.side .side-link.on { background: rgba(55, 61, 17, .57) !important; color: var(--p-gold) !important; box-shadow: inset 0 0 0 1px var(--p-gold); }

@media (min-width: 901px) {
  :root, body, body[data-mode] { --topbar-h: 100px; --side-w: 280px; }
  .topbar, body[data-mode="live"] .topbar, body[data-mode="casino"] .topbar { height: 100px; padding: 0 16px; gap: 16px; border-bottom: 0; }
  .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
    background: linear-gradient(to right, #232a29, #7e860f, #a3ad0e, #7e860f, #232a29); }
  .topbar .logo img { height: 56px; max-width: 200px; }
  /* menu central: ícone + nome; o ativo com brilho dourado de baixo e a barra dourada */
  .topnav { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 100%; display: flex; align-items: center; gap: 16px; margin: 0; }
  .topnav a { position: relative; height: 80px; padding: 0; border: 0 !important; font-size: 14px; font-weight: 500; color: #fff; opacity: 1; }
  .topnav a.on { color: #c8d30d; background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(55, 88, 197, .05) 50%, rgba(200, 211, 13, .07) 60%, rgba(200, 211, 13, .15) 80%); }
  .topnav a.on span { color: #fff; }
  .topnav a::after { display: none; }
  .topnav a.on::after { content: ""; display: block; position: absolute; left: 0; right: 0; top: 71px; bottom: auto; height: 8px; border-radius: 31px 31px 0 0; background: #c8d30d !important; }
  /* caixa dos botões: degradê dourado translúcido; Registrar dourado | separador | Entrar com borda dourada e texto dourado */
  .topbar .auth { position: relative; display: flex; align-items: center; gap: 17px; padding: 12px; border-radius: 6px;
    background: linear-gradient(333deg, #232a29 16.67%, rgba(251, 200, 45, .4) 100%); }
  .topbar .auth .btn.solid { height: 36px; padding: 0 17px; border-radius: 6px; }
  .topbar .auth .btn.outline { position: relative; height: 36px; padding: 0 11px; border-radius: 6px; border: 1px solid transparent; color: var(--p-gold);
    background: linear-gradient(#2a302f, #2a302f) padding-box, var(--p-grad) border-box; }
  .topbar .auth .btn.solid + .btn.outline::before { content: ""; position: absolute; left: -9px; top: 5px; width: 1px; height: 26px; background: #2a302f; }
  .topbar .btn.solid[href="#/cadastro"]::after { top: -7px; right: 4px; }
  /* lateral recolhida pelo hambúrguer */
  body.p-side-off .shell { grid-template-columns: minmax(0, 1fr) !important; }
  body.p-side-off .side { display: none !important; }
}

/* celular: a lateral vira gaveta de 280px (fundo #171f1e), com a página desfocada atrás */
.p-backdrop { position: fixed; inset: 0; z-index: 128; background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: pFade .2s ease; }
@keyframes pFade { from { opacity: 0; } }
@media (max-width: 900px) {
  .topbar .p-burger { margin-left: -6px; }
  body.p-drawer .side {
    display: block !important; position: fixed; left: 0; top: 0; bottom: 0; z-index: 130; width: 280px; max-width: 86vw; padding: 8px; overflow-y: auto;
    background: #171f1e; box-shadow: 8px 0 30px rgba(0, 0, 0, .5); animation: pDrawer .22s cubic-bezier(.2, .8, .2, 1);
  }
  body.p-drawer .side > * { display: block; }
  @keyframes pDrawer { from { transform: translateX(-100%); } }
}
.topbar .auth { margin-left: auto; }
@media (min-width: 901px) { .p-burger { margin-right: 0; } .topbar { gap: 0; } .topbar .logo { margin-left: 0; } }
@media (max-width: 900px) {
  body.p-drawer .side, body[data-mode].p-drawer .side { background: #171f1e !important; transform: none; }
  /* a entrada desliza só como efeito: sem animação (ou com ela pausada) a gaveta já fica no lugar */
  @keyframes pDrawer { from { transform: translateX(-24px); opacity: .4; } }
}
/* gaveta aberta: barra inferior e topo ficam por baixo do fundo escurecido */
body.p-drawer .tabbar, body.p-drawer .topbar { z-index: 20; }

/* ---------- Depósito (medidas do prottu.fun) ---------- */
.modal.pay-modal { max-width: 400px; background: #171f1e; border: 1px solid #525252; border-radius: 8px; padding: 0 12px 12px; color: #fff; }
.pay-modal .m-form { gap: 12px; }
.pay-modal .m-form label { color: rgba(255,255,255,.6); font-size: 14px; font-weight: 400; }
.pay-modal .amt-in input, .pay-modal .m-form .amt-in input { height: 48px; background: #232a29; border: 0; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 400; padding-left: 40px; }
.pay-modal .amt-in > span { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 400; left: 12px; }
.pay-modal .muted, .pay-modal #dep-lim { color: rgba(255,255,255,.8); font-size: 9px; font-weight: 500; text-transform: uppercase; }
.pay-modal .amt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 3px; }
.pay-modal .amt { height: 46px; border-radius: 8px; border: 1px solid #525252; background: #2a302f; color: #fff; font-size: 20px; font-weight: 600; padding: 0; }
.pay-modal .amt:hover { border-color: #525252; }
.pay-modal .amt.on { background: #2a302f; color: #fff; border-color: #525252; box-shadow: inset 0 0 0 2px #c8d30d; }
.pay-modal .amt em { top: -6px; right: auto; left: 8px; width: auto; height: auto; border-radius: 3px; padding: 0 5px; background: linear-gradient(90deg,#d3dc3d,#7e860f); color: #212612; font-size: 8px; font-weight: 700; box-shadow: none; }
.pay-modal .amt em svg { display: none; }
.pay-modal .amt em::after { content: 'HOT'; }
.pay-modal .pay-note { background: #232a29; color: rgba(255,255,255,.7); border-radius: 6px; }
.pay-modal .m-submit { height: 48px; border-radius: 6px; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.pay-modal .pay-m { background: #2a302f; border: 1px solid #525252; color: #fff; border-radius: 8px; }
.pay-modal .pay-m.on { box-shadow: inset 0 0 0 2px #c8d30d; }

/* ---------- Conta (cores do menu da conta do prottu.fun) ---------- */
.modal.conta-modal { background: #171f1e; border: 1px solid #525252; border-radius: 8px; color: #fff; }
.conta-modal .acc-side { background: #232a29; border-radius: 8px; }
.conta-modal .acc-av .avatar.xl { background: #c8d30d; color: #212612; border-color: #c8d30d; }
.conta-modal .acc-tab, .conta-modal .acc-out { color: #fff; border-radius: 8px; }
.conta-modal .acc-tab:hover { background: #2a302f; }
.conta-modal .acc-tab.on { background: #2a302f; color: #c8d30d; box-shadow: inset 0 0 0 1px #c8d30d; }
.conta-modal .acc-tab i { color: #fff !important; }
.conta-modal .acc-tab.on i { color: #c8d30d !important; }
.conta-modal .acc-out { border-top-color: #2a302f; }
.conta-modal .acc-help { color: rgba(255,255,255,.5); }
.conta-modal .acc-top .m-close { background: #2a302f; color: #fff; }
.conta-modal .ov-hero { background-color: #232a29; background-image: linear-gradient(135deg, rgba(200,211,13,.28), rgba(35,42,41,0) 70%); border-radius: 8px; border: 1px solid #2a302f; background-size: auto; background-position: 0 0; }
.conta-modal .ov-hello { color: #fff; }
.conta-modal .ov-warn, .conta-modal .ov-h a { color: #c8d30d; }
.conta-modal .ov-card, .conta-modal .ov-box { background: #232a29; border: 1px solid #2a302f; border-radius: 8px; box-shadow: none; }
.conta-modal .ov-ic { background: #2a302f; color: #c8d30d; }
.conta-modal .ov-bal b { color: #c8d30d; font-size: 24px; }
.conta-modal .ov-bal small, .conta-modal .ov-row, .conta-modal .ov-item span { color: rgba(255,255,255,.7); }
.conta-modal .ov-row b, .conta-modal .ov-item b { color: #fff; }
.conta-modal .ov-item { border-bottom-color: #2a302f; }
.conta-modal .ov-item em { color: rgba(255,255,255,.6); }
.conta-modal .btn-out, .conta-modal .btn-dark { background: #2a302f; border: 1px solid #525252; color: #fff; border-radius: 6px; }
.conta-modal .btn-dark { background: var(--p-grad); border-color: transparent; color: #212612; }
.conta-modal .acc-empty span { background: #2a302f; }
.conta-modal .acc-empty small { color: rgba(255,255,255,.6); }
.conta-modal .eye { color: #fff; }

/* ---------- Menu da conta (dropdown do prottu.fun) ---------- */
.upm { position: fixed; right: 16px; top: 84px; width: 360px; max-height: calc(100vh - 100px); overflow: auto; background: #171f1e; border: 1px solid #2a302f; border-radius: 16px; padding: 8px; gap: 8px; box-shadow: 0 18px 48px rgba(0,0,0,.5); z-index: 140; align-content: start; }
.upm::before { display: none; }
.upm-head { grid-template-columns: 56px minmax(0, 1fr) 32px; gap: 12px; padding: 12px; border-radius: 8px; border: 1px solid #2a302f; background: linear-gradient(333deg, #232a29 16.67%, rgba(200,211,13,.4) 100%); }
.upm-av { width: 56px; height: 56px; background: var(--p-grad); color: #212612; font-size: 18px; border: 2px solid rgba(200,211,13,.6); }
.upm-id b { color: #fff; font-size: 14px; text-transform: none; }
.upm-id small { color: rgba(255,255,255,.6); font-size: 12px; }
.upm-x { background: #2a302f; color: #fff; border-radius: 8px; }
.upm-bal { background: #232a29; border: 1px solid #2a302f; border-radius: 8px; padding: 8px 12px; gap: 4px 8px; }
.upm-bal-l b { color: #d3dc3d; font: 700 24px/1.2 Figtree, sans-serif; }
.upm-bal-l small { order: 2; text-transform: none; letter-spacing: 0; font-size: 10px; color: rgba(255,255,255,.8); font-style: italic; }
.upm-eye { background: #2a302f; color: #fff; box-shadow: none; border-radius: 8px; width: 36px; height: 36px; }
.upm-sub { color: rgba(255,255,255,.7); font-size: 12px; }
.upm-sub b { color: #fff; }
.upm-actions { grid-template-columns: 1fr; }
.upm-dep { height: 40px; border-radius: 6px; font-size: 20px; font-weight: 600; text-transform: none; letter-spacing: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: #c8d30d; color: #212612; }
.upm-dep svg { width: 26px; height: 26px; }
.upm-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; }
.upm-nav .um-link { height: 44px; min-height: 44px; border-radius: 6px; background: #232a29; color: #fff; font-size: 14px; font-weight: 500; padding: 8px 12px; gap: 8px; line-height: 1.15; }
.upm-nav .um-link:hover { background: #2a302f; }
.upm-nav .um-link svg { color: #fff; }
.upm .upm-out { display: flex; align-items: center; gap: 10px; height: 40px; background: none; border: 0; color: #fff; font-size: 14px; font-weight: 500; padding: 0 12px; text-align: left; }
.upm .upm-out svg { color: #fff; }
@media (max-width: 900px) {
  .upm { top: 0; right: 0; bottom: 0; max-height: none; width: min(300px, calc(100vw - 90px)); border-radius: 16px 0 0 16px; }
}

/* Smartico no menu da conta */
.upm-gf { display: grid; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid #2a302f; background: linear-gradient(333deg, #232a29 16.67%, rgba(200,211,13,.4) 100%); }
.upm-gf-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: rgba(255,255,255,.8); }
.upm-gf-h b { color: #fff; font-size: 12px; }
.upm-gf-h em { font-style: normal; color: #fff; font-weight: 700; }
.upm-gf .um-link { display: flex; align-items: center; gap: 12px; height: 36px; width: 100%; padding: 8px; border: 0; border-radius: 6px; background: #232a29; color: #fff; font: 500 14px Figtree, sans-serif; text-align: left; cursor: pointer; }
.upm-gf .um-link:hover { background: #2a302f; }
.upm-gf .um-link svg { color: #fff; }

/* =========== Pente fino 2 (prottu.fun) =========== */
/* Card de jogo: nome sobre a imagem com degradê, estrela de favorito, sem provedor */
.casino-tile { gap: 0; }
.casino-tile .casino-img { border-radius: 6px; }
.casino-tile .play { display: none; }
.casino-tile .cas-ov { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding: 12px 4px; border-radius: 6px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 40%, #000 90%); pointer-events: none; }
.casino-tile .cas-ov .cas-name { padding: 0 0 2px; color: #fff; font: 900 18px/1 Figtree, sans-serif; text-align: center; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.casino-row .casino-tile .cas-ov .cas-name { font-size: 15px; }
.casino-tile:hover .casino-img { outline: 2px solid #c8d30d; outline-offset: -2px; }
.fav-btn { top: 6px; right: 6px; width: 24px; height: 24px; background: none !important; border: 0; box-shadow: none; color: #fff; opacity: 1; z-index: 3; display: grid; place-items: center; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.fav-btn.on { color: #c8d30d; }
.fav-btn.on svg { fill: currentColor; }
/* Todos os jogos: 5 colunas no desktop, rodapé com contador e Ver mais */
@media (min-width: 901px) { [data-all] .casino-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 16px !important; } }
[data-all] .casino-grid .casino-img { aspect-ratio: 176 / 235 !important; }
.all-foot { display: grid; justify-items: center; gap: 8px; margin: 18px auto 6px; width: 200px; }
.all-foot[hidden] { display: none; }
.all-bar { width: 100%; height: 4px; border-radius: 4px; background: #2a302f; overflow: hidden; }
.all-bar i { display: block; height: 100%; background: var(--p-grad-h, #c8d30d); }
.all-count { color: rgba(255,255,255,.8); font-size: 12px; }
.all-count b { color: #fff; }
.all-foot .load-more { width: auto; min-width: 100px; height: 32px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--p-grad); color: #212612; font-size: 12px; font-weight: 600; }
.all-foot .load-more[hidden] { display: none; }
/* Cabeçalho das seções: título 18/700 e "Ver mais" com ícone */
.cas-sec-head h2 { font-size: 18px; font-weight: 700; }
.ver-mais { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 6px; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 500; }
.ver-mais:hover { color: #c8d30d; }
.prov-sec { background: #232a29; border-radius: 8px; padding: 0 0 12px; overflow: hidden; }
.prov-sec .cas-sec-head { background: #171f1e; padding: 10px 12px; margin: 0 0 12px; }
.prov-sec .prov-row { padding: 0 12px; }
/* Sem setas nos carrosséis e sem a faixa de categorias do topo do cassino */
.car-btn { display: none !important; }
#cas-pills { display: none !important; }
/* Topo logado: Depositar com selo PIX + caixa do usuário (avatar, nome e saldo) */
.topbar .auth .p-dep { position: relative; height: 33px; padding: 0 12px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.topbar .auth .p-dep::after { content: 'PIX'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 0 5px; border-radius: 4px; background: #2a302f; color: #fff; font-size: 8px; font-weight: 700; line-height: 12px; }
.p-user { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left; }
.p-user-t { display: grid; order: 1; height: 36px; align-content: center; padding: 0 8px; border-radius: 6px; background: #2a302f; max-width: 176px; min-width: 0; }
.p-user-t b { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-user-t em { font-style: normal; font-size: 12px; font-weight: 500; color: #d3dc3d; }
.p-user-av { order: 2; position: relative; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #171f1e; border: 1px solid #2a302f; font-size: 11px; font-weight: 700; color: #c8d30d; }
.p-user-av img, .upm-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.upm-av { position: relative; overflow: hidden; }
@media (min-width: 901px) {
  .topbar .auth:has(.p-user) { padding: 6px; gap: 8px; border-radius: 12px; }
  .topbar .auth:has(.p-user)::before { display: none; }
}
@media (max-width: 900px) {
  .p-user-av { display: none; }
  .p-user-t { max-width: 96px; }
  .topbar .auth .p-dep { height: 40px; font-size: 15px; padding: 0 10px; }
}
/* Rodapé: caixa na coluna do conteúdo com logo, configurações e versão */
.footer { padding: 0 16px 24px; background: transparent !important; border: 0 !important; }
.ft-box { position: relative; background: #232a29; border-radius: 8px; padding: 24px 24px 44px; }
.ft-box .ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; max-width: none; }
.ft-box .ft-brand img { height: 38px; }
.ft-settings { display: grid; gap: 12px; width: 300px; max-width: 100%; }
.ft-settings label { display: grid; gap: 6px; color: #fff; font-size: 12px; font-weight: 600; }
.ft-sel { position: relative; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 6px; background: #171f1e; }
.ft-sel svg { position: absolute; right: 28px; }
.ft-sel select { flex: 1; appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center no-repeat; border: 0; color: #fff; font: 500 12px Figtree, sans-serif; outline: 0; }
.ft-box .ft-bottom { justify-content: center; margin-top: 40px; color: #fff; font-size: 12px; }
.ft-top-btn { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: #2a302f; color: #fff; display: grid; place-items: center; }
@media (min-width: 901px) {
  .footer { margin-left: calc(var(--side-w, 280px) + 35px); padding: 0 16px 32px 0; }
  body.p-side-off .footer { margin-left: 16px; }
}
@media (max-width: 900px) {
  .ft-box .ft-top { flex-direction: column; align-items: stretch; }
  .ft-box .ft-brand { justify-items: center; }
  .ft-settings { width: 100%; }
  .ft-settings label { font-size: 15px; }
  .ft-sel { height: 36px; }
}
.hs-btn { display: none !important; }

/* Página do jogo (desktop): ocupa a área abaixo do topo, barra com voltar + cabeçalho do jogo com linha dourada */
.game-top { display: none; }
@media (min-width: 901px) {
  .modal-bg:has(.game-wrap):not(.pip):not(.game-full) { top: var(--topbar-h); padding: 16px 32px 24px; background: #171f1e; backdrop-filter: none; -webkit-backdrop-filter: none; place-items: stretch; animation: none; }
  .modal-bg:has(.game-wrap):not(.pip):not(.game-full) .modal.game-wrap { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; background: transparent; box-shadow: none; animation: none; }
  .modal-bg:not(.pip):not(.game-full) .game-wrap .game-modal { display: flex; flex-direction: column; height: 100%; }
  .modal-bg:not(.pip):not(.game-full) .game-top { display: flex; align-items: center; height: 40px; padding: 0 8px; margin-bottom: 12px; border-radius: 6px; background: #232a29; }
  .game-back { width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
  .game-back:hover { background: #2a302f; }
  .modal-bg:not(.pip):not(.game-full) .game-bar { background: #232a29; border-bottom: 1px solid #c8d30d; border-radius: 0; height: 44px; }
  .modal-bg:not(.pip):not(.game-full) .game-bar .game-brand { visibility: hidden; }
  .modal-bg:not(.pip):not(.game-full) .game-bar .game-title { font-size: 14px; font-weight: 600; color: #fff; }
  .modal-bg:not(.pip):not(.game-full) .game-frame { flex: 1; min-height: 0; height: auto !important; aspect-ratio: auto !important; border-radius: 0; background: #000; }
}

/* Modal de provedores: título, busca e grade simples (sem contexto, ordenação e contadores) */
.modal.gs-modal:has(.gs-provs) { max-width: min(1026px, 96vw); background: #232a29; }
.gs-modal:has(.gs-provs) :is(.gs-ctx, #gs-sort, #gs-prov) { display: none !important; }
.gs-provs { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 8px !important; }
.gs-prov-card { aspect-ratio: 157 / 118; height: auto !important; background: #2a302f !important; border-radius: 6px !important; }
.gs-prov-card em { display: none !important; }
.gs-head .m-close { background: #2a302f; color: #fff; border-radius: 6px; }
@media (max-width: 900px) { .gs-provs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* Depósito e saque: faixa PIX MIN/MAX, campo com rótulo interno, aviso de saldo */
.pay-strip { display: flex; align-items: center; gap: 8px; height: 19px; padding: 0 12px; margin-top: -4px; font-size: 9px; font-weight: 500; color: rgba(255,255,255,.8); }
.pay-strip b { font-weight: 500; }
.pay-strip span em { font-style: normal; color: #fff; font-weight: 700; }
.pay-modal .pay-methods, .pay-modal .pay-note { display: none !important; }
.pay-modal .amt-float { display: block; }
.pay-modal .amt-float .amt-in small { position: absolute; left: 34px; top: 7px; font-size: 10px; color: rgba(255,255,255,.6); pointer-events: none; }
.pay-modal .amt-float .amt-in input { padding-top: 14px; padding-left: 34px; }
.pay-modal .amt-float .amt-in > span { top: 60%; }
.pay-modal .amt.on::after { content: ''; position: absolute; top: -6px; right: -6px; width: 14px; height: 14px; border-radius: 50%; background: #2bb673 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pay-warn { display: flex; gap: 8px; padding: 10px 12px; border-radius: 6px; background: rgba(200,211,13,.35); color: #fff; font-size: 12px; line-height: 1.35; }
.pay-warn > span { color: #d3dc3d; display: grid; place-items: center; flex: 0 0 auto; }
.pay-warn b { font-weight: 700; }
.pay-warn p { margin: 0; }
.pay-warn p:first-of-type { font-weight: 700; }
.pay-tip { margin: 0; font-size: 10px; color: rgba(255,255,255,.8); line-height: 1.4; }
.pay-modal a.m-submit { display: grid; place-items: center; height: 40px; font-size: 14px; font-weight: 600; text-transform: none; }
.pay-modal .m-head { padding: 12px 0 0; }
.pay-modal .m-head h2 { text-transform: none; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.pay-modal .m-head .m-close { background: none; color: rgba(255,255,255,.8); font-size: 24px; width: 28px; height: 28px; }
.pay-modal .pay-one { display: none !important; }
.pay-modal .btn-out { background: #232a29; border: 1px solid #525252; color: #fff; border-radius: 6px; }

/* Conta como página (igual ao /user-dashboard do prottu.fun): menu à esquerda + painel de conteúdo */
.modal-bg:has(.conta-modal) { top: var(--topbar-h); padding: 16px; background: #171f1e; backdrop-filter: none; -webkit-backdrop-filter: none; place-items: stretch; animation: none; }
.modal.conta-modal { max-width: none; width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; animation: none; }
.conta-modal .acc-wrap { grid-template-columns: 295px minmax(0, 1fr); gap: 9px; padding: 0; }
.conta-modal .acc-side { background: transparent; padding: 0; gap: 8px; border-radius: 0; }
.acc-bal { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; margin-bottom: 4px; border-radius: 8px; background: #2a302f; box-shadow: inset 0 0 0 4px #232a29; }
.acc-bal > div { display: grid; min-width: 0; padding: 4px; }
.acc-bal b { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.acc-bal strong { font-size: 16px; font-weight: 700; color: #fff; }
.acc-bal-ic { display: flex; gap: 2px; }
.acc-bal-ic button { width: 24px; height: 24px; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.conta-modal .acc-tab { height: 32px; padding: 8px; gap: 8px; border-radius: 6px; background: #2a302f; color: #fff; font-size: 12px; font-weight: 500; box-shadow: none; }
.conta-modal .acc-tab span { flex: 1; }
.conta-modal .acc-tab:hover { background: #393d3d; }
.conta-modal .acc-tab.on { background: #c8d30d; color: #212612; box-shadow: none; }
.conta-modal .acc-tab i, .conta-modal .acc-tab.on i { color: inherit !important; opacity: 1; }
.acc-ok { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 12px; background: #16a34a; color: #f0fdf4; font-style: normal; font-size: 10px; font-weight: 500; }
.conta-modal .acc-out { display: flex; align-items: center; gap: 8px; height: 32px; margin-top: 4px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 12px; font-weight: 500; }
.conta-modal .acc-main { background: #232a29; border-radius: 8px; padding: 8px; }
.conta-modal .acc-top { padding: 4px 8px 10px; }
.conta-modal .acc-top h2 { font-size: 16px; font-weight: 600; }
.conta-modal .acc-top .m-close { display: none; }
.conta-modal .acc-content { padding: 0; gap: 8px; }
.conta-modal :is(.kv-grid > *, .card-form, .panel, .ov-box) { background: #171f1e; border-radius: 6px; }
@media (max-width: 900px) {
  .modal-bg:has(.conta-modal) { padding: 8px 8px calc(var(--tabbar-h, 64px) + 8px); }
  .conta-modal .acc-wrap { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .conta-modal .acc-side { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .conta-modal .acc-side .acc-bal, .conta-modal .acc-side .acc-out { display: none; }
  .conta-modal .acc-tab { flex: 0 0 auto; }
  .conta-modal .acc-top .m-close { display: grid; }
}
.conta-modal .acc-main { background: #2a302f; }
.conta-modal .fd-grid { gap: 8px; }
.conta-modal .fd { background: #232a29 !important; border: 0 !important; border-radius: 8px; padding: 16px; box-shadow: none; }
.conta-modal .fd small { color: #fff; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.conta-modal .fd b { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 400; }
.conta-modal .badge-ok { background: #16a34a; color: #f0fdf4; border-radius: 12px; padding: 2px 6px; font-size: 10px; font-weight: 500; font-style: normal; }
.conta-modal :is(.kv-grid > *, .card-form, .panel, .ov-box, .tx-row, .bet-row, .lst) { background: #232a29 !important; border-color: transparent !important; border-radius: 8px; }
.conta-modal :is(input, select, textarea) { background: #171f1e !important; border: 1px solid #2a302f !important; color: #fff !important; border-radius: 6px; }

/* Históricos em tabela (depósitos, saques e extrato) */
.th-head { display: flex; margin-left: auto; }
.conta-modal .acc-top { gap: 8px; }
.th-head .m-submit { height: 36px; padding: 0 20px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: none; display: inline-grid; place-items: center; }
.th-filter { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px; border-radius: 8px; background: #232a29; }
.th-fbtn { width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.th-fbtn.on, .th-fbtn:hover { background: #2a302f; color: #c8d30d; }
.th-chip { padding: 6px 10px; border-radius: 8px; background: #2a302f; color: #fff; font-size: 12px; font-weight: 600; }
.th-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border-radius: 8px; background: #232a29; }
.th-panel[hidden] { display: none; }
.th-wrap { overflow-x: auto; }
.th-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 12px; color: #fff; }
.th-table th { height: 48px; padding: 0 16px; text-align: left; font-weight: 500; color: rgba(255,255,255,.6); }
.th-table td { height: 40px; padding: 0 16px; background: #232a29; vertical-align: middle; }
.th-table td:first-child { border-radius: 8px 0 0 8px; }
.th-table td:last-child { border-radius: 0 8px 8px 0; }
.th-table td small { display: block; color: rgba(255,255,255,.6); font-size: 11px; }
.th-table .th-det td, .th-table .th-sk td, .th-table .th-empty td { border-radius: 8px; padding: 12px 16px; }
.th-table .th-det td { background: #171f1e; }
.th-table .pos { color: #22c55e; } .th-table .neg { color: #fff; }
.th-act { width: 40px; text-align: right; }
.th-info { width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: #fff; display: inline-grid; place-items: center; cursor: pointer; }
.th-info.on, .th-info:hover { color: #c8d30d; }
.th-table .status { display: inline-block; padding: 2px 4px; border-radius: 6px; font-style: normal; font-size: 14px; font-weight: 500; background: #2a302f; color: #fff; }
.th-table .status.st-paid { background: #22c55e; color: #fff; }
.th-table .status.st-pending, .th-table .status.st-processing { background: #facc15; color: #171f1e; }
.th-table .status.st-refused, .th-table .status.st-canceled, .th-table .status.st-expired { background: #ef4444; color: #fff; }
.th-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 48px; padding: 0 8px; font-size: 12px; color: #fff; }
.th-pager[hidden] { display: none; }
.th-pager span:nth-child(2) { margin: 0 12px 0 20px; }
.th-pager button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.th-pager button:disabled { opacity: .35; cursor: default; }
.th-pager .flip { display: inline-flex; transform: rotate(180deg); }
@media (max-width: 900px) {

  .th-table thead { display: none; }
  .th-table, .th-table tbody { display: block; }
  .th-table tr.th-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 8px; background: #232a29; }
  .th-table tr.th-row td { display: block; height: auto; padding: 0; background: none; border-radius: 0; }
  .th-table tr.th-det, .th-table tr.th-empty, .th-table tr.th-sk { display: block; margin-bottom: 8px; }
  .th-table tr.th-det td, .th-table tr.th-empty td, .th-table tr.th-sk td { display: block; }
  .th-table tr.th-row td[data-l="Banco"], .th-table tr.th-row td[data-l="Chave"] { display: none; }
  .th-pager { justify-content: center; flex-wrap: wrap; gap: 6px; }
}

/* Tela dividida do jogo */
.gt-split { display: none; }
@media (min-width: 901px) {
  .modal-bg:not(.pip):not(.game-full) .gt-split { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .gt-lb { margin-right: 6px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); }
  .gt-btn { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
  .gt-btn:hover { background: #2a302f; }
  .gt-btn.on { color: #c8d30d; }
  .gt-ratio { height: 22px; padding: 0 5px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 4px; background: none; color: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }
  .gt-ratio.on { border-color: #c8d30d; color: #c8d30d; }
  .modal-bg:not(.pip):not(.game-full) .ggrid { flex: 1; min-height: 0; display: grid; gap: 12px; grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); }
  .modal-bg:not(.pip):not(.game-full) .ggrid[data-n="2"] { grid-template-columns: 1fr 1fr; }
  .modal-bg:not(.pip):not(.game-full) .ggrid[data-n="4"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .modal-bg:not(.pip):not(.game-full) .ggrid:not([data-n="1"])[data-ratio="1"] { grid-auto-rows: auto; grid-template-rows: none; align-content: start; overflow: auto; }
  .ggrid:not([data-n="1"])[data-ratio="1"] :is(.game-frame, .gx-frame) { flex: none !important; aspect-ratio: 16 / 9 !important; height: auto !important; }
  .gslot { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
  .gslot-x:has(.gpick) { justify-content: center; }
  .gx-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px; background: #232a29; border-bottom: 1px solid #c8d30d; }
  .gx-bar b { flex: 1; text-align: center; font-size: 14px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gx-bar button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; }
  .gx-frame { flex: 1; min-height: 0; background: #000; }
  .gx-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
  .gpick { display: grid; gap: 14px; padding: 24px; border-radius: 8px; background: #2a302f; overflow: hidden; }
  .gpick h3 { margin: 0; font-size: 32px; font-weight: 300; color: rgba(255,255,255,.8); }
  .gpick h4 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: #fff; }
  .gpick h4 svg { color: #c8d30d; }
  .gpick-q { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 6px; background: #171f1e; color: rgba(255,255,255,.7); }
  .gpick-q input { flex: 1; border: 0; background: none; color: #fff; font: 400 14px Figtree, sans-serif; outline: 0; }
  .gpick-row, .gpick-res { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .gpick-res[hidden] { display: none; }
  .gpick-card { padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #171f1e; aspect-ratio: 3 / 4; cursor: pointer; }
  .gpick-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gpick-card:hover { outline: 2px solid #c8d30d; outline-offset: -2px; }
}
.pip .gslot-x, .game-full .gslot-x { display: none !important; }
@media (max-width: 900px) { .ggrid, .gslot-main { display: contents; } .gslot-x { display: none !important; } }
.pip .ggrid, .pip .gslot-main, .game-full .ggrid, .game-full .gslot-main { display: contents; }
@media (max-width: 900px) { .th-table tr.th-row td.th-act { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: auto; } .th-table tr.th-row td[data-l="Método"] { grid-column: 1; } .th-table tr.th-row td[data-l="Status"] { grid-column: 1; } }

/* =========== Varredura fina do desktop (medidas do prottu.fun) =========== */
@media (min-width: 901px) {
  /* hover do menu do topo não muda a cor (só o ativo tem fundo e barra) */
  .topnav a:hover:not(.on) { color: #fff; background: none; }
  .topnav a.on { color: #c8d30d; }
  /* hambúrguer 24px em x16 + logo 179x80 em x56 */
  .topbar { padding-left: 16px !important; }
  .topbar .p-burger { width: 24px; height: 24px; padding: 0; margin: 0; gap: 0; display: grid; place-items: center; }
  .topbar .p-burger span { display: none; }
  .topbar .p-burger::before { content: ""; width: 24px; height: 24px; background: currentColor; color: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z'/%3E%3C/svg%3E") center / contain no-repeat; }
  body.p-side-off .topbar .p-burger::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E"); }
  .topbar .p-burger:hover::before { background: var(--p-gold); }
  .topbar, body[data-mode] .topbar { gap: 16px; }
  .topbar .logo { margin: 0; }
  .topbar .logo img { width: 179px; height: 80px; max-height: none; object-fit: contain; object-position: left center; }
  /* grade: lateral 280 em x16, conteúdo em x312, margem direita 16 */
  .shell { padding: 17px 16px 16px !important; gap: 16px !important; max-width: none; }
  aside.side { padding: 0 0 24px !important; }
  .side .side-promo, .side .side-promo img { border-radius: 8px; }
  .side .side-promo img { height: 60px; object-fit: cover; }
  .side .side-promos { gap: 8px; }
  .side .side-link { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.898); }
  .side .side-link .s-nm { font-weight: 600; }
  /* blocos com moldura (banners com título, carrosséis) têm 12px de respiro como no oficial */
  #app .wg.wg-box { padding: 12px; background: transparent; border: 0; box-shadow: none; }
  .wg-head h2, .cas-sec-head h2 { font-size: 18px !important; font-weight: 700; }
  .wg-head { gap: 8px; }
  /* busca e Provedor com 32px de altura */
  .csb { gap: 8px; }
  .csb-bar, .csb-prov { height: 32px !important; }
  .csb-prov { min-width: 114px; padding: 0 12px !important; }
}
@media (min-width: 901px) {
  #cas-sections { gap: 8px; }
  #cas-sections > .csb { margin: 6px 0 0; }
  #cas-sections > .csb + * { margin-top: 20px; }
  #app .wg-banners .wg-head { padding-left: 12px; }
}

/* Páginas de categoria/provedor (igual ao /search do prottu.fun) */
.casino:has(.pg-head) #cas-sbar { display: none !important; }
.pg-head { display: flex; align-items: center; gap: 8px; padding: 0 6px; margin-bottom: 14px; }
.pg-back { width: 32px; height: 44px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.pg-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 6px; background: #2a302f; color: rgba(255,255,255,.6); font-size: 14px; }
.pg-prov { display: flex; align-items: center; gap: 8px; height: 44px; padding: 6px 12px; border-radius: 8px; background: #2a302f; color: rgba(255,255,255,.8); font-size: 14px; }
.pg-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 6px 12px; }
.pg-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: #2a302f; color: #fff; font-size: 12px; font-weight: 500; }
.pg-chip img { width: 20px; height: 20px; object-fit: contain; }
.pg-chip.on { background: #373d11; border-color: #c8d30d; }
.pg-chip:hover:not(.on) { background: #393d3d; }
/* Nome sobre a imagem só no "Todos os jogos" (nas outras grades o oficial mostra só a arte) */
.casino-tile .cas-ov { display: none; }
[data-all] .casino-tile .cas-ov { display: flex; }
@media (min-width: 901px) {
  #casino-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 16px !important; padding: 0 4px; }
  #casino-grid .casino-img { aspect-ratio: 176 / 235 !important; }
}
/* Lateral: rótulos 14/600 brancos; item ativo com o degradê do oficial */
@media (min-width: 901px) {
  .side .side-link { font-size: 14px !important; font-weight: 600 !important; color: #fff !important; }
  body[data-mode] .side .side-link.on, body .side .side-link.on { background: linear-gradient(90deg, #2a302f 0%, #c8d30d 339%) !important; color: #fff !important; box-shadow: none !important; outline: 0 !important; border-color: transparent !important; }
}
@media (min-width: 901px) { .side .side-promos { padding-bottom: 2px; } }
.pg-ci { display: inline-grid; place-items: center; color: #c8d30d; } .pg-chip span { font-weight: 600; }
.pg-ctx { display: inline-flex; align-items: center; gap: 4px; padding-right: 10px; margin-right: 2px; border-right: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 500; }
@media (min-width: 901px) {
  #app .cas-sec:not(.prov-sec) > .cas-sec-head { padding: 0 12px; }
}
/* Provedores: caixa #171f1e, cabeçalho translúcido, cartões 157x120 */
.prov-sec { background: #171f1e !important; border-radius: 8px; padding: 0 0 16px !important; }
.prov-sec .cas-sec-head { background: rgba(0,0,0,.2) !important; border-radius: 8px 8px 0 0; padding: 12px !important; margin: 0 0 16px !important; }
.prov-sec .prov-row { padding: 0 12px; gap: 8px; grid-auto-columns: 157px; }
.prov-sec .prov-row > * { height: 120px; border-radius: 8px; background: #2a302f !important; }
@media (max-width: 900px) { .pg-ctx { display: none; } .pg-head { padding: 0; } .pg-chips { margin: 0 0 12px; } }
.casino-tile .ph img { object-fit: cover; width: 100%; height: 100%; }
@media (min-width: 901px) { [data-all] .casino-tile .cas-ov .cas-name { font-size: 22px; line-height: 1.1; } }
/* Barra do jogo (desktop): botões de 32px centralizados, sem cortar na linha dourada */
@media (min-width: 901px) {
  .modal-bg:not(.pip):not(.game-full) .game-bar { height: auto !important; min-height: 48px; padding: 6px 8px !important; box-sizing: border-box; overflow: visible; }
  .modal-bg:not(.pip):not(.game-full) .game-actions { gap: 6px; }
  .modal-bg:not(.pip):not(.game-full) .game-actions > button, .modal-bg:not(.pip):not(.game-full) .game-actions > a { width: 34px !important; height: 34px !important; min-width: 34px; padding: 0 !important; border-radius: 50%; display: grid; place-items: center; }
  .modal-bg:not(.pip):not(.game-full) .game-actions svg { width: 16px; height: 16px; }
}

/* Pesquisa: select de contexto e campo escuros (igual ao prottu.fun) */
.gs-ctx-btn { height: 44px; border-radius: 6px; border: 1px solid transparent; background: #2a302f; color: #fff; font-size: 14px; font-weight: 500; }
.gs-ctx-btn:hover { border-color: #525252; }
.gs-ctx.open .gs-ctx-btn { border-color: #c8d30d; }
.gs-ctx-btn > .ico, .gs-ctx-ic .ico { color: #c8d30d; }
.gs-ctx-menu { background: #2a302f !important; border: 1px solid #525252; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.5); padding: 4px; }
.gs-ctx-opt { color: #fff !important; background: transparent; border-radius: 6px; font-size: 14px; }
.gs-ctx-opt:hover { background: #393d3d; }
.gs-ctx-opt > .ico:first-child { color: rgba(255,255,255,.7); }
.gs-ctx-opt.on { color: #c8d30d !important; }
.gs-ctx-opt.on > .ico { color: #c8d30d; }
.gs-field { height: 44px; border-radius: 6px !important; border: 1px solid transparent !important; background: #2a302f !important; }
.gs-field:focus-within { border-color: #c8d30d !important; }
.gs-field input { color: #fff; }
.gs-field input::placeholder { color: rgba(255,255,255,.6); }
.gs-btn { height: 44px; border-radius: 8px; background: #2a302f; border: 1px solid transparent; color: rgba(255,255,255,.85); }
.gs-ctx-menu { z-index: 30 !important; }
.gs-prov-card img { max-width: 88%; max-height: 48px; }

/* Telas de gamificação do sistema (missões, torneios, loja, mini-games) */
body:has(.gm-page) .side { display: none !important; }
body:has(.gm-page) .shell { grid-template-columns: minmax(0, 1fr) !important; }
.gm-page { background: #1c2423; border-radius: 8px; padding: 16px; min-height: 480px; }
.gm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.gm-head h2 { font-size: 16px; font-weight: 700; color: #fff; }
.gm-back { color: #fff; display: grid; place-items: center; }
.gm-pts { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; background: var(--p-grad); color: #212612; font-size: 12px; font-weight: 600; }
.gm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: 12px; align-items: start; }
@media (min-width: 901px) { .gm-grid { grid-template-columns: repeat(auto-fill, 154px); } }
.gm-card { display: flex; flex-direction: column; gap: 8px; padding: 0 0 10px; border-radius: 6px; background: #232a29; overflow: hidden; text-align: center; color: #fff; border: 0; }
.gm-card.sk-wrap { height: 320px; padding: 0; }
.gm-top { padding: 8px; background: linear-gradient(180deg, rgba(200,211,13,.35), rgba(35,42,41,1)); color: #d3dc3d; font-size: 12px; font-weight: 700; line-height: 1.25; min-height: 44px; display: grid; place-items: center; }
.gm-body { display: grid; gap: 4px; padding: 0 10px; flex: 1; }
.gm-body small { font-size: 10px; font-weight: 600; color: #c8d30d; }
.gm-body b { font-size: 12px; font-weight: 700; }
.gm-mission .gm-body { min-height: 190px; align-content: start; }
.gm-bar { position: relative; height: 6px; margin-top: 10px; border-radius: 6px; background: #171f1e; }
.gm-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--p-grad-h, #c8d30d); }
.gm-bar em { position: absolute; left: 0; top: -14px; font-style: normal; font-size: 9px; color: rgba(255,255,255,.8); }
.gm-card .m-submit.sm { margin: 0 10px; height: 28px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: none; display: grid; place-items: center; }
.gm-terms { border: 0; background: none; color: #fff; font-size: 10px; font-weight: 600; cursor: pointer; }
.gm-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gm-mini { cursor: pointer; }
.gm-mini b { padding: 0 8px; font-size: 13px; }
.gm-mini small { color: rgba(255,255,255,.7); font-size: 11px; }
.gm-empty { grid-column: 1 / -1; }
.gm-det { display: grid; gap: 12px; }
.gm-det > img { width: 100%; border-radius: 8px; }
.gm-rew { margin: 0; display: grid; gap: 2px; } .gm-rew small { color: #c8d30d; font-size: 11px; font-weight: 600; } .gm-rew b { font-size: 15px; }
.gm-desc { margin: 0; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.45; }
.gm-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gm-tasks li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 6px; background: #232a29; font-size: 12px; }
.gm-tasks em { font-style: normal; color: #c8d30d; font-weight: 600; }
@media (min-width: 901px) { body:has(.gm-page) .footer { margin-left: 16px; } }
.gm-note { margin: 0; font-size: 12px; color: rgba(255,255,255,.7); }

/* Card de gamificação do menu (igual ao app-gamification-menu do prottu.fun) */
.upm-gf { gap: 8px; padding: 12px; }
.gf-prof { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 4px; }
.gf-av { position: relative; width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(200,211,13,.6); background: var(--p-grad); color: #212612; font-size: 20px; font-weight: 700; display: grid; place-items: center; overflow: visible; cursor: pointer; padding: 0; }
.gf-av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gf-coin { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 3px; border-radius: 12px; background: #2a302f; color: #fff; font-size: 11px; font-weight: 700; z-index: 1; }
.gf-coin i { width: 14px; height: 14px; border-radius: 50%; background: var(--p-grad); color: #212612; font-style: normal; font-size: 9px; display: grid; place-items: center; }
.gf-info { display: grid; gap: 6px; min-width: 0; }
.gf-row { display: flex; align-items: center; gap: 8px; }
.gf-name { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 700 15px Figtree, sans-serif; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0; cursor: pointer; }
.gf-edit { width: 32px; height: 32px; border: 0; border-radius: 6px; background: #2a302f; color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.gf-lv { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #fff; }
.gf-lv em { font-style: normal; }
.gf-bar { position: relative; height: 6px; padding: 0; border: 0; border-radius: 6px; background: #171f1e; overflow: hidden; cursor: pointer; }
.gf-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--p-grad-h, #c8d30d); border-radius: 6px; }
.upm-gf .um-link span { flex: 1; text-align: left; }
.gf-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #facc15; color: #212612; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.gf-badge[hidden] { display: none; }
.gf-upd { font-size: 10px; font-style: italic; color: rgba(255,255,255,.6); padding-left: 4px; }
.gm-mission .gm-img { aspect-ratio: 16 / 10; object-fit: cover; }
.upm-gf { grid-template-columns: minmax(0, 1fr); } .gf-prof, .gf-info, .gf-row { min-width: 0; }
.gm-mission .gm-body { min-height: 0; padding-bottom: 6px; }
.gm-mission .gm-img { display: block; width: 100%; aspect-ratio: 1 / 1; margin-top: 10px; }
.gm-mission .gm-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.gm-mission .gm-body { padding: 0 8px; }
.gm-mission .gm-top { min-height: 42px; background: #171f1e linear-gradient(to top, rgba(200,211,13,.2) 0%, rgba(200,211,13,0) 100%); color: #dfe573; border-radius: 6px 6px 0 0; }
.gm-mission .gm-body small { color: #d3dc3d; font-weight: 700; }

/* Filtro de datas (Dia Inicial / Dia Final / Status ou Tipo / Aplicar) */
.th-filter { flex-wrap: wrap; }
.th-in { display: grid; gap: 0; min-width: 0; height: 40px; padding: 4px 10px; border-radius: 6px; background: #171f1e; color: #fff; flex: 1 1 180px; max-width: 220px; }
.th-in small { font-size: 9px; color: rgba(255,255,255,.6); line-height: 1.2; }
.th-in input, .th-in select { border: 0 !important; background: transparent !important; color: #fff !important; font: 500 12px Figtree, sans-serif; padding: 0 !important; height: 20px; outline: 0; color-scheme: dark; min-width: 0; width: 100%; }
.th-in select option { background: #232a29; }
.th-sel { max-width: 170px; }
.th-apply { height: 32px; padding: 0 20px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: none; }
.th-none { margin: 0; padding: 18px 12px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; }
.th-table .th-empty td { background: #232a29; }
.tx-pager { justify-content: flex-end; gap: 8px; }
.tx-pg { width: auto !important; height: 32px !important; padding: 0 10px !important; border-radius: 6px !important; display: inline-flex !important; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.th-table .neg { color: #ef4444 !important; }
.th-table .pos { color: #22c55e !important; }
/* Minhas apostas */
.mb-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.mb-tab { height: 26px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; display: inline-grid; place-items: center; color: #fff; font-size: 12px; font-weight: 500; }
.mb-tab.on { background: #373d11; border-color: #c8d30d; }
.mb-empty { display: grid; justify-items: center; gap: 8px; padding: 24px 0; color: #fff; font-size: 12px; font-style: italic; }
.mb-empty span { color: rgba(255,255,255,.8); }
/* Páginas sem a coluna da esquerda não têm rodapé (como no oficial) */
body:has(.gm-page) .footer { display: none !important; }
.conta-modal button.acc-tab { width: 100%; border: 0 !important; justify-content: flex-start; text-align: left; font: 500 12px Figtree, sans-serif; cursor: pointer; }

/* Saque com saldo (igual ao prottu.fun) */
.pay-modal #wd-strip .pay-strip { height: 27px; margin: 0; padding: 0 12px; border-radius: 8px; background: #232a29; gap: 10px; }
.pay-modal #wd-strip .pay-strip span { color: rgba(255,255,255,.6); font-weight: 400; }
.pay-modal #wd-strip .pay-strip span em { color: rgba(255,255,255,.8); font-weight: 500; }
.wd-box { display: grid; gap: 10px; padding: 8px 12px 12px; border-radius: 8px; background: #232a29; }
.wd-box:empty { display: none; }
.wd-key { display: flex; align-items: stretch; height: 50px; border-radius: 6px; border: 1px solid #171f1e; background: #2a302f; overflow: hidden; margin-top: 4px; }
.wd-kt { position: relative; display: flex; align-items: center; width: 72px; border-right: 1px solid #171f1e; }
.wd-kt select { width: 100%; height: 100%; padding: 0 22px 0 12px; border: 0 !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center no-repeat !important; color: #fff !important; font: 500 14px Figtree, sans-serif; appearance: none; -webkit-appearance: none; outline: 0; }
.wd-kt select option { background: #232a29; }
.wd-key input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0 !important; background: transparent !important; color: #fff !important; font: 500 12px Figtree, sans-serif; outline: 0; }
.wd-key input.locked { opacity: .85; }
.pay-modal .wd-avail { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 0 6px; }
.pay-modal .wd-avail small { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 500; text-transform: none; }
.pay-modal .wd-avail b { color: #22c55e; font-size: 12px; font-weight: 600; }
.pay-modal .wd-amt input { height: 48px !important; background: rgba(0,0,0,.2) !important; border: 0 !important; border-radius: 6px !important; font-size: 14px !important; font-weight: 400 !important; padding-left: 36px !important; color: #fff !important; }
.pay-modal .wd-amt input::placeholder { color: rgba(255,255,255,.6); }
.pay-modal .wd-amt > span { left: 8px; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 400; }
.wd-note { margin: 0; font-size: 12px; color: #fff; line-height: 1.25; }
.pay-modal .pay-tip { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.6); }
.pay-modal #wd-go { height: 40px; font-size: 12px; font-weight: 600; text-transform: none; }
.pay-modal #wd-go:disabled { opacity: 1; color: #737373; }
.wd-prov-l { font-size: 12px; color: rgba(255,255,255,.7); }
.pay-modal #wd-go:disabled { background: var(--p-grad) !important; color: #737373 !important; filter: none; }

/* Topo (e menu do usuário) por cima das páginas em tela cheia (conta e jogo) */
body:has(.modal-bg .conta-modal) .topbar, body:has(.modal-bg:not(.pip):not(.game-full) .game-wrap) .topbar { z-index: 115 !important; }
/* jogo em "usar a tela toda": o topo fica por baixo do jogo */
body:has(.modal-bg.game-full .game-wrap) .topbar { z-index: 20 !important; }
.upm { z-index: 160 !important; }

/* Jogo responsável e formulários da conta no tema escuro */
.conta-modal .rg-card { background: #232a29 !important; border: 0 !important; border-radius: 8px; padding: 16px; color: #fff; }
.conta-modal .rg-card h3 { color: #fff; font-size: 16px; font-weight: 600; }
.conta-modal .rg-card p, .conta-modal .rg-card .muted { color: rgba(255,255,255,.75) !important; font-size: 12px; line-height: 1.45; }
.conta-modal .rg-card label { color: rgba(255,255,255,.85); font-size: 12px; }
.conta-modal .rg-danger { box-shadow: inset 0 0 0 1px rgba(239,68,68,.45); }
.conta-modal .m-submit.danger { background: #ef4444 !important; color: #fff !important; }
.conta-modal .lim-grid { gap: 8px; }

/* Caixa de seleção igual à do oficial (quadrado com check), no lugar do switch quebrado */
.conta-modal :is(.toggle, .check), .mb-bonus { display: flex !important; align-items: center; gap: 12px; color: #fff !important; font-size: 13px !important; font-weight: 400 !important; cursor: pointer; margin: 4px 0; }
.conta-modal :is(.toggle, .check) input[type="checkbox"], .mb-bonus input[type="checkbox"] { -webkit-appearance: none !important; appearance: none !important; width: 24px !important; height: 24px !important; min-width: 24px; flex: 0 0 24px; margin: 0 !important; padding: 0 !important; border-radius: 4px; border: 2px solid #525252 !important; background: transparent !important; position: relative; cursor: pointer; accent-color: initial; }
.conta-modal :is(.toggle, .check) input[type="checkbox"]::after, .mb-bonus input[type="checkbox"]::after { content: none !important; }
.conta-modal :is(.toggle, .check) input[type="checkbox"]:checked, .mb-bonus input[type="checkbox"]:checked { background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat !important; border-color: #22c55e !important; }

/* Minhas apostas: abas em pílula + período (24h/48h/72h/Personalizado) */
.mb-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.mb-bar .mb-tabs { margin: 0; }
.mb-tab { height: 25px; border-radius: 9999px; background: #2a302f; padding: 0 10px; }
.mb-tab.on { background: rgba(203,171,29,.2); border-color: #c8d30d; }
.mb-dates { display: flex; gap: 6px; }
.mb-d { height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid transparent; background: #2a302f; color: #fff; font: 500 12px Figtree, sans-serif; cursor: pointer; }
.mb-d.on { background: #212612; border-color: #c8d30d; }
.mb-pop { position: fixed; z-index: 220; width: 298px; padding: 12px; border-radius: 8px; background: #232a29; border: 1px solid #2a302f; box-shadow: 0 16px 40px rgba(0,0,0,.55); color: #fff; display: grid; gap: 10px; }
.mb-pop-h small { font-size: 11px; color: rgba(255,255,255,.6); }
.mb-pop-r { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.mb-pop-r .flip { transform: rotate(180deg); }
.mb-pop-h em { font-style: normal; font-size: 11px; color: #c8d30d; }
.mb-cal-h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.mb-cal-h button { width: 28px; height: 28px; border: 0; background: none; color: #fff; cursor: pointer; display: inline-grid; place-items: center; }
.mb-cal-h .flip { display: inline-flex; transform: rotate(180deg); }
.mb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.mb-cal i { font-style: normal; font-size: 11px; color: rgba(255,255,255,.55); padding: 4px 0; }
.mb-cal button { height: 32px; border: 0; border-radius: 6px; background: none; color: #fff; font-size: 12px; cursor: pointer; }
.mb-cal button.out { color: rgba(255,255,255,.35); }
.mb-cal button.in { background: rgba(200,211,13,.18); }
.mb-cal button.edge { background: #c8d30d; color: #212612; font-weight: 700; }
.mb-cal button:disabled { opacity: .3; cursor: default; }
.mb-times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mb-times label { display: grid; gap: 4px; font-size: 11px; color: rgba(255,255,255,.6); }
.mb-times input { height: 34px; border-radius: 6px; border: 0; background: #171f1e; color: #fff; padding: 0 8px; font: 500 13px Figtree, sans-serif; color-scheme: dark; }
.mb-pop-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mb-pop-a button { height: 34px; border-radius: 6px; }
.mb-pop .btn-out { background: #2a302f; border: 0; color: #fff; }

/* Largura máxima igual à da Betano: conteúdo em até 1680px, centralizado (o topo continua de ponta a ponta) */
@media (min-width: 901px) {
  .shell { max-width: 1680px !important; margin: 0 auto !important; }
  .footer { width: 100%; max-width: 1680px; margin: 0 auto !important; padding: 0 16px 32px calc(var(--side-w, 280px) + 32px) !important; box-sizing: border-box; }
  body.p-side-off .footer, body:has(.gm-page) .footer { padding-left: 16px !important; }
  .modal.conta-modal, .modal-bg:has(.game-wrap):not(.pip):not(.game-full) .modal.game-wrap { max-width: 1648px !important; margin: 0 auto; }
}
/* Topo alinhado ao mesmo bloco de 1680px (logo e conta acompanham o conteúdo; a faixa do fundo segue de ponta a ponta) */
@media (min-width: 901px) {
  .topbar { padding-left: max(16px, calc((100% - 1680px) / 2 + 16px)) !important; padding-right: max(16px, calc((100% - 1680px) / 2 + 16px)) !important; }
}
/* Celular logado: topo nunca passa da largura da tela (logo encolhe, nome do usuário corta com reticências) */
@media (max-width: 900px) {
  .topbar { overflow: hidden; gap: 8px !important; }
  .topbar .logo { flex: 1 1 auto; min-width: 56px; overflow: hidden; }
  .topbar .logo img { max-width: 100%; height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
  .topbar .auth { flex: 0 1 auto; min-width: 0; gap: 6px !important; margin-left: 0 !important; }
  .topbar .auth .p-dep { flex: 0 0 auto; padding: 0 10px; font-size: 14px; }
  .p-user { min-width: 0; flex: 0 1 auto; }
  .p-user-t { max-width: 96px; min-width: 52px; }
  .p-user-t b, .p-user-t em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}
@media (max-width: 380px) {
  .topbar .auth .p-dep { padding: 0 8px; font-size: 13px; height: 36px; }
  .p-user-t { max-width: 82px; padding: 0 6px; }
  .p-user-t b { font-size: 11px; } .p-user-t em { font-size: 11px; }
}
@media (max-width: 340px) {
  .p-user-t b { display: none; }
}
@media (max-width: 900px) {
  .topbar .logo { min-width: 44px; }
  .p-user, .p-user-t { flex: 0 0 auto; max-width: none !important; min-width: 0; }
  .p-user-t b { max-width: 88px; }
  .p-user-t em { overflow: visible; text-overflow: clip; }
}
@media (max-width: 380px) { .p-user-t b { max-width: 70px; } }
@media (max-width: 900px) {
  .topbar .logo { flex: 1 1 0% !important; width: auto; }
  .topbar .logo img { width: 100%; max-width: 140px; }
  .topbar .auth { flex: 0 0 auto !important; }
}

/* Senha e segurança (dois cartões como no oficial) */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; align-items: start; }
.sec-card { display: grid; gap: 10px; padding: 12px 12px 16px; border-radius: 8px; background: #232a29; }
.sec-card h3 { margin: 0; font-size: 14px; font-weight: 700; color: #fff; }
.sec-card > p { margin: -4px 0 4px; font-size: 12px; color: rgba(255,255,255,.85); line-height: 1.4; }
.sec-in { position: relative; display: flex; align-items: center; height: 48px; border-radius: 6px; background: #171f1e; }
.sec-in input { flex: 1; min-width: 0; height: 100%; padding: 0 44px 0 16px; border: 0 !important; background: transparent !important; color: #fff !important; font: 400 14px Figtree, sans-serif; outline: 0; }
.sec-in input::placeholder { color: rgba(255,255,255,.6); }
.sec-in .pw-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255,255,255,.75); }
.sec-act { display: flex; justify-content: flex-end; }
.sec-act .m-submit { height: 36px; padding: 0 22px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: none; }
.sec-act .m-submit:disabled { opacity: .5; }
.sec-note { margin: 0; font-size: 12px; color: rgba(255,255,255,.85); }
.sec-key { display: flex; gap: 8px; align-items: center; } .sec-key code { flex: 1; padding: 10px; border-radius: 6px; background: #171f1e; color: #c8d30d; font-size: 12px; word-break: break-all; }
.sec-qr { width: 160px; height: 160px; border-radius: 8px; background: #fff; padding: 6px; justify-self: center; }
/* Bônus (abas sublinhadas, cartões com imagem) */
.bn-tabs { display: flex; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid #2a302f; }
.bn-tab { height: 40px; padding: 0 22px; border: 0; border-bottom: 2px solid transparent; background: none; color: #fff; font: 500 12px Figtree, sans-serif; cursor: pointer; }
.bn-tab.on { color: #c8d30d; border-bottom-color: #c8d30d; background: linear-gradient(to top, rgba(200,211,13,.12), transparent); }
.bn-none { color: rgba(255,255,255,.4); font-size: 12px; }
.bn-list { display: grid; gap: 8px; margin-top: 8px; }
.bn-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: #232a29; }
.bn-card > img, .bn-ph { width: 100px; height: 100px; flex: 0 0 100px; border-radius: 6px; object-fit: cover; background: #171f1e; display: grid; place-items: center; color: #c8d30d; }
.bn-info { display: grid; gap: 8px; flex: 1; min-width: 0; align-content: start; }
.bn-info b { font-size: 16px; font-weight: 700; color: #fff; }
.bn-date { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 6px; background: #2a302f; color: #fff; font-size: 14px; font-weight: 600; }
.bn-date small { display: block; font-size: 9px; font-weight: 400; color: rgba(255,255,255,.7); }
.bn-id { font-size: 10px; color: rgba(255,255,255,.75); }
.bn-val { font-size: 15px; }
@media (max-width: 900px) { .bn-card > img, .bn-ph { width: 72px; height: 72px; flex-basis: 72px; } .bn-tab { padding: 0 12px; } }
@media (min-width: 901px) { .conta-modal .acc-top.no-title { display: none; } }

/* Pesquisa: grade como no oficial (cartões ~163x217, colunas automáticas) e ícone de ficha nos filtros */
.gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 16px !important; }
.gs-body .casino-grid .casino-img { aspect-ratio: 163 / 217 !important; }
@media (max-width: 900px) { .gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; } }
.gs-cat .s-ic, .pg-ci { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.gs-cat .chip-ic, .pg-ci .chip-ic { width: 18px; height: 18px; }
.gs-cat { height: 36px; border-radius: 8px !important; background: #2a302f !important; border: 1px solid transparent !important; color: #fff !important; font-size: 12px; font-weight: 500; }
.gs-cat.on { background: #373d11 !important; border-color: #c8d30d !important; color: #fff !important; }

/* Jogo no celular (igual ao oficial): tela cheia, barra preta com X, logo, nome, Depositar e compartilhar */
.game-x, .game-share, .game-dep-t { display: none; }
@media (max-width: 900px) {
  body:has(.modal-bg:not(.pip) .game-wrap) .topbar { z-index: 30 !important; }
  .modal-bg:has(.game-wrap):not(.pip) { padding: 0 !important; z-index: 300 !important; background: #000 !important; backdrop-filter: none !important; place-items: stretch; animation: none; }
  .modal-bg:has(.game-wrap):not(.pip) .modal.game-wrap { position: fixed; inset: 0; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; background: #000 !important; animation: none; display: flex; flex-direction: column; }
  .modal-bg:not(.pip) .game-wrap .game-modal { display: flex; flex-direction: column; height: 100%; }
  .modal-bg:not(.pip) .game-wrap .game-bar { display: flex !important; align-items: center; gap: 8px; height: 42px; min-height: 42px; padding: 0 8px !important; background: #000 !important; border-bottom: 2px solid #c8d30d !important; border-radius: 0 !important; box-sizing: border-box; }
  .modal-bg:not(.pip) .game-x { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #fff; flex: 0 0 auto; }
  .modal-bg:not(.pip) .game-wrap .game-brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; visibility: visible !important; }
  .modal-bg:not(.pip) .game-wrap .game-brand img { height: 26px; width: auto; max-width: 96px; object-fit: contain; }
  .modal-bg:not(.pip) .game-wrap .game-title { flex: 1; min-width: 0; text-align: center; font-size: 14px; font-weight: 400; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modal-bg:not(.pip) .game-wrap .game-title .pip-gic { display: none; }
  .modal-bg:not(.pip) .game-wrap .game-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
  .modal-bg:not(.pip) .game-wrap .game-actions > :not(.game-dep):not(.game-share) { display: none !important; }
  .modal-bg:not(.pip) .game-wrap .game-dep { width: auto !important; height: 30px !important; padding: 0 8px !important; border-radius: 6px !important; background: var(--p-grad) !important; color: #212612 !important; font: 600 12px Figtree, sans-serif; display: inline-flex !important; align-items: center; }
  .modal-bg:not(.pip) .game-wrap .game-dep svg { display: none; }
  .modal-bg:not(.pip) .game-wrap .game-dep-t { display: inline; }
  .modal-bg:not(.pip) .game-wrap .game-share { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: #fff; }
  .modal-bg:not(.pip) .game-wrap .game-frame { flex: 1; min-height: 0; height: auto !important; border-radius: 0 !important; background: #000; }
  .modal-bg:not(.pip) .game-wrap .game-frame iframe { width: 100%; height: 100%; border: 0; }
}
/* Modal de pesquisa com a largura do oficial (1028px) e cartões de ~150x200 */
.modal.gs-modal { max-width: min(1028px, 96vw) !important; }
.gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 12px !important; }
.gs-body .casino-grid .casino-img { aspect-ratio: 150 / 200 !important; }
@media (max-width: 900px) { .gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; } }

/* Painel "Filtre por provedores de jogos" (dentro da pesquisa) e chips do provedor escolhido */
.gs-provpanel { background: #171f1e !important; border: 0 !important; border-radius: 8px !important; padding: 12px !important; }
.gs-prov-head b { color: #fff; font-size: 13px; font-weight: 600; }
.gs-prov-find { border-radius: 6px !important; background: #2a302f !important; border: 1px solid transparent !important; color: rgba(255,255,255,.7) !important; }
.gs-prov-find:focus-within { border-color: #c8d30d !important; }
.gs-prov-find input { color: #fff !important; }
.gs-prov-grid { gap: 8px !important; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important; }
.gs-prov-item { height: 64px; padding: 8px !important; border-radius: 6px !important; border: 1px solid transparent !important; background: #2a302f !important; color: rgba(255,255,255,.8) !important; place-content: center; box-shadow: none !important; }
.gs-prov-item:hover { background: #393d3d !important; }
.gs-prov-item.on { background: #373d11 !important; border-color: #c8d30d !important; color: #fff !important; }
.gs-prov-item img { height: 26px !important; max-width: 92% !important; }
.gs-prov-item span { font-size: 10px; }
.gs-chips { padding: 0 0 8px !important; }
.gs-chip { height: 28px; border-radius: 6px !important; background: #2a302f !important; color: #fff !important; font-size: 12px; font-weight: 500; }
.gs-chip i { color: #c8d30d !important; }
.gs-chip.clear { background: transparent !important; color: rgba(255,255,255,.75) !important; text-decoration: underline; }
#gs-prov em { background: #212612; color: #c8d30d; border-radius: 50%; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-style: normal; font-size: 11px; }

/* ===================== Pente fino 3 (prottu.com, 2026-10-18) ===================== */
/* "Ver mais" pedindo mais jogos: spinner no lugar do texto até a página chegar */
.load-more.loading { position: relative; color: transparent !important; pointer-events: none; opacity: 1 !important; }
.load-more.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(19,15,6,.3); border-top-color: #212612; animation: spin .7s linear infinite; }
.load-more.light.loading::after { border-color: rgba(255,255,255,.3); border-top-color: #fff; }

/* Ritmo entre widgets do oficial: 8px abaixo de cada um, 16px depois da busca e dos provedores */
#cas-sections { gap: 0 !important; }
#cas-sections > * { margin: 0 0 8px !important; }
#cas-sections > .csb, #cas-sections > .prov-sec { margin-bottom: 16px !important; }
body.is-home .shell { background: none !important; }

/* Cabeçalho dos widgets: 36px no celular, 45px no desktop, ícone 20px */
.cas-sec-head { min-height: 36px; height: 36px; box-sizing: border-box; padding: 8px !important; margin: 0 !important; align-items: center; }
.cas-sec-head h2 { font: 700 16px/20px Figtree, sans-serif !important; gap: 8px; display: flex; align-items: center; margin: 0; }
.cas-sec-head .wg-ic { width: 20px; height: 20px; }
@media (min-width: 901px) {
  .cas-sec-head { min-height: 45px; height: 45px; padding: 12px !important; }
  .cas-sec-head h2 { font-size: 18px !important; line-height: 21px !important; }
}
@media (max-width: 900px) {
  .cas-sec-head .ver-mais { font-size: 0 !important; gap: 0 !important; padding: 0 !important; }
  .cas-sec-head .ver-mais svg { width: 20px; height: 20px; }
}

#app .wg:has(> .wg-head) { gap: 0 !important; }
#app .wg > .wg-head { height: 36px; box-sizing: border-box; padding: 8px !important; margin: 0 !important; }
#app .wg > .wg-head h2 { font: 700 16px/20px Figtree, sans-serif !important; }
#app .wg > .wg-head .wg-ic { width: 20px; height: 20px; }
@media (min-width: 901px) { #app .wg > .wg-head { height: 45px; padding: 12px !important; } #app .wg > .wg-head h2 { font-size: 18px !important; line-height: 21px !important; } }

/* Provedores: cabeçalho escurecido, cartões 95x80 (celular) e 157x120 (desktop) */
.prov-sec { padding: 0 !important; gap: 0 !important; }
.prov-sec .cas-sec-head { background: rgba(0,0,0,.2) !important; margin: 0 !important; padding: 8px !important; }
@media (min-width: 901px) { .prov-sec .cas-sec-head { padding: 12px !important; } }
.prov-sec .prov-row { gap: 10px !important; padding: 12px 8px !important; margin: 0 !important; grid-auto-columns: 95px !important; height: auto !important; }
.prov-sec .prov-row > * { flex: 0 0 95px !important; width: 95px !important; height: 80px !important; padding: 8px !important; margin: 0 !important; }
@media (min-width: 901px) {
  .prov-sec .prov-row { padding: 16px 12px !important; grid-auto-columns: 157px !important; }
  .prov-sec .prov-row > * { flex-basis: 157px !important; width: 157px !important; height: 120px !important; }
}

/* Fileiras de jogos: 156x208 com 10px no desktop; Top 10 com o número vazado */
.casino-row { gap: 10px !important; }
#cas-sections .cas-sec { gap: 0 !important; }
#cas-sections .cas-sec .casino-row { padding: 0 !important; }
@media (min-width: 901px) { #cas-sections .cas-sec .casino-row { grid-auto-columns: 156px !important; } }
.cas-top .casino-row > .casino-tile { position: relative; overflow: visible; }
@media (max-width: 900px) { #cas-sections .cas-top .casino-row { grid-auto-columns: 130px !important; } }
#cas-sections .cas-top .casino-row { padding: 0 0 20px !important; }
.cas-top-n { position: absolute !important; left: 8px !important; bottom: -18px !important; font: 900 96px/96px Figtree, sans-serif !important; color: rgba(46,46,46,.9) !important; -webkit-text-stroke: 2px #c8d30d; pointer-events: none; z-index: 2; letter-spacing: -4px; }

/* Todos os jogos: 3 colunas com 12px no celular, 16px no desktop; sem estrela para visitante */
.cas-sec .casino-grid.portrait-grid { padding: 0 4px !important; gap: 12px !important; }
@media (max-width: 900px) { .cas-sec .casino-grid.portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 901px) { .cas-sec .casino-grid.portrait-grid { gap: 16px !important; } }
@media (max-width: 900px) { .cas-sec .casino-grid.portrait-grid .cas-name { font-size: 13px !important; font-weight: 900 !important; line-height: 14px !important; } }
body.p-guest .fav-btn { display: none !important; }

/* Busca do celular: barra 32px como no oficial */
@media (max-width: 900px) {
  .csb { gap: 8px !important; }
  .csb-bar { height: 32px !important; border-radius: 8px !important; padding: 0 12px !important; }
  .csb-ic { color: #c8d30d; display: inline-grid; }
  .csb-txt { font: 600 14px Figtree, sans-serif !important; }
  .csb-txt b { color: rgba(255,255,255,.6); font-weight: 600; }
  .csb-prov { height: 32px !important; min-width: 114px; border-radius: 8px !important; }
}
.csb-prov svg { color: currentColor; }

/* Topo do celular: 64px, logo 125x56 ao lado do menu, botões do tamanho do oficial */
@media (max-width: 900px) {
  .topbar { height: 64px !important; min-height: 64px !important; padding: 6px 12px !important; border-bottom: 0 !important; gap: 8px; }
  .p-burger { width: 24px !important; height: 24px !important; padding: 3px 3px !important; }
  #brand { margin-left: 0 !important; }
  #brand img { width: 125px !important; height: 56px !important; max-height: 56px !important; object-fit: contain; object-position: left center; }
  .topbar .auth .btn.solid { height: 40px !important; padding: 0 8px !important; min-width: 90px; font: 600 14px Figtree, sans-serif !important; border-radius: 4px !important; }
  .topbar .auth .btn.outline { height: 35px !important; padding: 0 10px !important; min-width: 65px; border: 1px solid #c8d30d !important; border-radius: 4px !important; font: 600 14px Figtree, sans-serif !important; }
  /* gaveta lateral ocupa a altura toda acima da barra de baixo */
  aside.side { padding: 8px !important; }
}

/* Barra de baixo do celular: vidro escuro, indicador dourado no topo do item ativo */
@media (max-width: 900px) {
  .tabbar { height: 60px !important; background: rgba(35,42,41,.8) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 0 !important; box-shadow: none !important; }
  .tabbar .bn-item { position: relative; justify-content: flex-start !important; padding-top: 9px !important; gap: 4px !important; }
  .tabbar .bn-ic, .tabbar .bn-ic img, .tabbar .bn-ic svg { width: 20px !important; height: 20px !important; filter: none !important; }
  .tabbar .bn-lb { font: 500 10px Figtree, sans-serif !important; color: rgba(255,255,255,.8) !important; }
  .tabbar .bn-item.active .bn-lb { color: rgba(255,255,255,.8) !important; }
  .tabbar .bn-item.active::before { content: ""; position: absolute; top: 4px; left: 50%; width: 46px; height: 4px; margin-left: -23px; background: #c8d30d; border-radius: 0 0 9999px 9999px; }
  .tabbar .bn-item::after { display: none !important; }
}

/* Rodapé: caixa #2a302f encostada no fim, selects escuros */
.footer .ft-box { background: #2a302f !important; border-radius: 8px 8px 0 0 !important; padding: 24px !important; margin-bottom: 0 !important; }
.footer .ft-sel { background: #232a29 !important; }
.footer .ft-settings label { font: 600 14px Figtree, sans-serif !important; }
.footer .ft-brand img { width: 133px; height: 33px; object-fit: contain; object-position: left center; }
@media (max-width: 900px) { .footer .ft-top-btn { display: none !important; } }
@media (min-width: 901px) { .footer .ft-top-btn { background: #171f1e !important; border: 2px solid #c8d30d !important; border-radius: 50% !important; color: #c8d30d !important; } }

/* Desktop: conteúdo termina 16px antes da borda; promos laterais com cantos 8px */
@media (min-width: 901px) {
  .shell > main.main { margin-right: 16px; }
  aside.side img, aside.side .side-promo { border-radius: 8px !important; }
}

/* Entrar / Cadastro / Recuperar no padrão do oficial */
.modal.p-auth { width: 440px !important; max-width: calc(100vw - 24px) !important; background: #171f1e !important; border: 1px solid #525252 !important; border-radius: 6px !important; padding: 20px !important; color: #fff; box-shadow: none !important; }
.p-auth > .m-head, .p-auth > .modal-head { display: none !important; }
.p-auth .pa-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 20px; }
.p-auth .pa-x { position: absolute; top: -4px; right: -4px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: #2a302f; color: #fff; cursor: pointer; padding: 0; }
.p-auth .pa-x svg { width: 20px; height: 20px; }
.p-auth .pa-logo { width: 199px; height: 50px; object-fit: contain; }
.p-auth .pa-title { margin: 0; font: 700 18px/1.3 Figtree, sans-serif; text-align: center; color: #fff; }
.p-auth-reg .pa-title { font-size: 16px; font-weight: 600; }
.p-auth .pa-form { display: flex; flex-direction: column; gap: 8px; }
.p-auth .pa-submit { margin-top: 8px; }
.p-auth .pa-foot { margin-top: 8px !important; }
.p-auth fieldset { border: 0 !important; padding: 0 !important; margin: 0 !important; min-width: 0; }
.p-auth legend { display: none !important; }
.p-auth .fl-field { position: relative; display: block; margin: 0 !important; font-size: 0; }
.p-auth .fl-field > .fl { position: absolute; left: 16px; top: 15px; z-index: 1; font: 400 14px/18px Figtree, sans-serif; color: rgba(255,255,255,.6); pointer-events: none; transition: top .15s, font-size .15s, color .15s; white-space: nowrap; }
.p-auth .fl-field input:not([type="checkbox"]):not([type="radio"]), .p-auth .fl-field select { width: 100%; height: 48px !important; background: #232a29 !important; border: 1px solid transparent !important; border-radius: 6px !important; padding: 18px 16px 8px !important; font: 400 14px Figtree, sans-serif !important; color: #fff !important; box-shadow: none !important; outline: 0; }
.p-auth .fl-field input:focus { border-color: #c8d30d !important; }
.p-auth .fl-field input::placeholder { color: transparent; }
.p-auth .fl-field:has(input:focus) > .fl, .p-auth .fl-field:has(input:not(:placeholder-shown)) > .fl, .p-auth .fl-field:has(input[type="date"]) > .fl { top: 6px; font-size: 11px; line-height: 12px; color: #c8d30d; }
.p-auth .fl-field .pw { position: relative; display: block; }
.p-auth .fl-field .pw input { padding-right: 48px !important; }
.p-auth .fl-field [data-eye] { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255,255,255,.6); padding: 0; display: grid; }
.p-auth .fl-contact input { padding-left: 88px !important; }
.p-auth .fl-contact > .fl { left: 88px; }
.p-auth .fl-contact::before { content: "🇧🇷 +55"; position: absolute; left: 12px; top: 0; height: 48px; display: flex; align-items: center; font: 500 13px Figtree, sans-serif; color: #fff; z-index: 1; padding-right: 8px; border-right: 1px solid rgba(255,255,255,.15); }
.p-auth .pa-forgot { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; color: #c8d30d !important; font: 500 14px Figtree, sans-serif; text-decoration: none; margin-top: -4px; }
.p-auth .pa-submit { height: 48px !important; border-radius: 8px !important; font: 700 20px Figtree, sans-serif !important; text-transform: uppercase; background: var(--p-grad) !important; color: #212612 !important; border: 0 !important; width: 100%; }
.p-auth .pa-foot { margin: 0; text-align: center; font: 500 14px Figtree, sans-serif; color: #fff; }
.p-auth .pa-foot a { color: #c8d30d !important; font-weight: 600; }
.p-auth .pa-form:has(input[name="password"]:placeholder-shown):not(:has(input[name="password"]:focus)) #pw-rules { display: none !important; }
.p-auth .check { font-size: 12px; color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .modal-bg:has(.modal.p-auth) { top: 64px !important; background: #171f1e !important; align-items: stretch !important; padding: 0 !important; z-index: 90; }
  .modal.p-auth { width: 100% !important; max-width: none !important; min-height: 100%; border: 0 !important; border-radius: 0 !important; margin: 0 !important; overflow-y: auto; }
  .p-auth .pa-logo, .p-auth .pa-x { display: none !important; }
  .p-auth .pa-foot { font-size: 16px; }
  .modal.p-auth { padding: 24px 16px !important; }
  body:has(.modal.p-auth) .tabbar { display: none !important; }
  body:has(.modal.p-auth-login) .topbar .auth .btn.outline, body:has(.modal.p-auth-reg) .topbar .auth .btn.solid { display: none !important; }
}
@media (max-width: 900px) {
  body:not(.no-tabbar) .footer { padding-bottom: 60px !important; }
  .all-foot { margin-top: 12px !important; }
}

/* Extrato: imagem do jogo nas linhas de cassino */
.tx-m { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-align: left; }
.tx-gimg { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 6px; background: #2a302f; overflow: hidden; display: block; }
.tx-gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-mt { display: flex; flex-direction: column; min-width: 0; }
.tx-gname { color: #c8d30d; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-gname:empty { display: none; }

/* Jogo (desktop): compartilhar no mesmo botão redondo escuro dos outros (antes saía com o estilo padrão do navegador) */
@media (min-width: 901px) {
  .modal-bg:not(.pip) .game-wrap .game-share { display: grid !important; place-items: center; border: 0 !important; background: #2a302f !important; color: #fff !important; cursor: pointer; }
  .modal-bg:not(.pip) .game-wrap .game-share:hover { background: #393d3d !important; }
}
.modal-bg.pip .game-share { display: none !important; }
.modal-bg.game-full .game-share { width: 34px !important; height: 34px !important; border-radius: 50% !important; padding: 0 !important; }
.tx-gimg .ph { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 0; }
.th-table .tx-gname { color: #c8d30d !important; }
.tx-gimg img { object-fit: cover; object-position: center 30%; }
/* imagem do jogo só no detalhe da movimentação */
.tx-gdet { display: flex; gap: 12px; margin: 0 0 12px; }
.tx-gdet .tx-gimg { flex-basis: 72px; width: 72px; height: 72px; border-radius: 8px; }
.tx-gdet .tx-mt small { color: rgba(255,255,255,.6); font-size: 12px; }
.tx-gdet .tx-gname { font-size: 14px; font-weight: 700; display: block; }

/* ===== Tabelas da conta (extrato, depósitos, saques): visual novo e paginação ===== */
.th-wrap { background: #171f1e; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 4px 8px 8px; margin-top: 12px; }
.th-table { border-spacing: 0 6px !important; font-size: 13px !important; }
.th-table th { height: 40px !important; font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.45) !important; }
.th-table th:nth-last-child(2), .th-table td[data-l="Valor"] { text-align: right; }
.th-table tr.th-row td { height: 56px !important; background: #232a29 !important; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); transition: background .15s ease; }
.th-table tr.th-row td:first-child { border-left: 1px solid rgba(255,255,255,.04); }
.th-table tr.th-row td:last-child { border-right: 1px solid rgba(255,255,255,.04); width: 48px; text-align: center; }
.th-table tr.th-row:hover td { background: #2a302f !important; }
.th-table tr.th-row:has(.th-info.on) td { background: #2a302f !important; border-color: rgba(200,211,13,.35); }
.th-table td[data-l="Valor"] b, .th-table td[data-l="Valor"] { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.th-dt { display: flex; flex-direction: column; line-height: 1.25; }
.th-dt b { font-weight: 600; color: #fff; }
.th-dt small { font-size: 11px !important; color: rgba(255,255,255,.5) !important; }
.th-mt { display: inline-flex; align-items: center; gap: 10px; }
.tx-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.tx-ic.pos { background: rgba(34,197,94,.14); color: #22c55e; }
.tx-ic.neg { background: rgba(239,68,68,.14); color: #ef4444; }
.th-info { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.7); display: grid; place-items: center; cursor: pointer; margin: auto; }
.th-info:hover { background: rgba(255,255,255,.08); color: #fff; }
.th-info.on { background: rgba(200,211,13,.15); color: #c8d30d; }
.th-table .th-det td { background: #1c2423 !important; border: 1px solid rgba(200,211,13,.2); padding: 16px !important; height: auto !important; }
.th-table .status { padding: 3px 10px !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 600 !important; }
.th-table .status.st-paid { background: rgba(34,197,94,.15) !important; color: #22c55e !important; }
.th-table .status.st-pending, .th-table .status.st-processing { background: rgba(250,204,21,.15) !important; color: #facc15 !important; }
.th-table .status.st-refused, .th-table .status.st-canceled, .th-table .status.st-expired { background: rgba(239,68,68,.15) !important; color: #ef4444 !important; }
/* paginação */
.th-pager { justify-content: center !important; gap: 6px !important; min-height: 56px; padding: 8px 0 0 !important; }
.th-pager .pg-info { margin: 0 auto 0 0 !important; color: rgba(255,255,255,.55); font-size: 12px; }
.th-pager .pg-nums { display: inline-flex; gap: 4px; align-items: center; margin: 0 !important; }
.th-pager button { width: 34px !important; height: 34px !important; border-radius: 8px !important; background: #232a29 !important; color: #fff; font: 600 13px Figtree, sans-serif; }
.th-pager button:hover:not(:disabled) { background: #2a302f !important; }
.th-pager .pg-n.on { background: var(--p-grad) !important; color: #212612 !important; }
.th-pager .pg-gap { color: rgba(255,255,255,.4); padding: 0 2px; margin: 0 !important; }
.tx-pager { justify-content: space-between !important; }
.tx-pager .tx-pg { width: auto !important; padding: 0 14px !important; gap: 6px; }
.tx-pager .pg-now { margin: 0 !important; color: rgba(255,255,255,.6); font-size: 13px; }
.tx-pager .pg-now b { color: #c8d30d; }
@media (max-width: 900px) {
  .th-wrap { padding: 4px; background: none; border: 0; }
  .th-table tr.th-row { border: 1px solid rgba(255,255,255,.05); padding: 12px !important; gap: 8px 12px !important; }
  .th-table tr.th-row td { height: auto !important; border: 0 !important; background: none !important; text-align: left; }
  .th-table tr.th-row:has(.th-info.on) { border-color: rgba(200,211,13,.35); }
  .th-table tr.th-row:hover td, .th-table tr.th-row:has(.th-info.on) td { background: none !important; }
  .th-table td[data-l="Valor"] { grid-column: 1; }
  .th-table tr.th-det td { display: block; height: auto !important; }
  .th-pager .pg-info { width: 100%; text-align: center; margin: 0 0 4px !important; }
  .tx-pager .tx-pg span:not(.flip) { display: none; }
}
/* detalhes: imagem do jogo inteira (proporção do cartão 3:4) */
.tx-gdet .tx-gimg { flex: 0 0 84px !important; width: 84px !important; height: 112px !important; border-radius: 8px; }
.tx-gdet .tx-gimg img { object-fit: cover !important; object-position: center !important; }
.tx-gdet { align-items: center; }
/* a lista rola dentro da tabela: a paginação fica sempre à vista, sem a página passar da tela */
.th-wrap { max-height: calc(100vh - 360px); max-height: calc(100dvh - 360px); min-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #393d3d transparent; }
.th-wrap thead th { position: sticky; top: 0; z-index: 1; background: #171f1e; }
/* a área da conta tem altura fixa: a tabela ocupa todo o espaço que sobra e a paginação fica colada no rodapé */
.acc-content:has(> .th-wrap) { display: flex; flex-direction: column; overflow: hidden !important; }
/* sem :has() aqui: um ":has(...) > *" faz o navegador recalcular o estilo da página toda a cada mudança (scroll travando); flex-shrink só vale quando o pai é flex */
.acc-content > :not(.th-wrap) { flex-shrink: 0; }
.acc-content > .th-wrap { flex: 1 1 auto !important; max-height: none !important; min-height: 0; }
.th-table:has(td[data-l="Status"]) th:nth-last-child(2) { text-align: left; }
.th-table:has(td[data-l="Status"]) th:nth-child(4) { text-align: right; }
.th-table td[data-l="Status"] { padding-left: 24px; }
/* PIP: só o nome do jogo abre a tela do jogo; o resto da barra (inclusive em volta do nome) arrasta */
.modal-bg.pip .game-bar, .modal-bg.pip .game-title { cursor: move !important; }
.modal-bg.pip .game-title:hover .game-name { text-decoration: none !important; }
.modal-bg.pip .game-title .game-name { display: inline; cursor: pointer; }
.modal-bg.pip .game-title .game-name:hover { text-decoration: underline !important; }
.modal-bg.pip .dragging-pip .game-bar, .dragging-pip .game-title { cursor: grabbing !important; }
/* PIP sempre por cima de tudo (janelas, menus, topo e barra de baixo) */
.modal-bg.pip { z-index: 2147483000 !important; }

/* Voltar ao topo flutuante (aparece ao rolar a página) */
.to-top-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #c8d30d; background: #171f1e; color: #c8d30d; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.45); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.to-top-fab.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top-fab:hover { background: #232a29; }
body:has(.modal-bg:not(.pip)) .to-top-fab { display: none; }
@media (max-width: 900px) { .to-top-fab { right: 14px; bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 14px); width: 40px; height: 40px; } }

/* Saque: campo de valor sempre escuro (o navegador pintava de claro ao autopreencher) */
.pay-modal .wd-amt input, .pay-modal .wd-amt input:-webkit-autofill, .pay-modal .wd-amt input:-webkit-autofill:hover, .pay-modal .wd-amt input:-webkit-autofill:focus { color-scheme: dark; background-color: #1c2423 !important; -webkit-box-shadow: 0 0 0 1000px #1c2423 inset !important; box-shadow: 0 0 0 1000px #1c2423 inset !important; -webkit-text-fill-color: #fff !important; caret-color: #fff; }
.pay-modal .wd-amt input::placeholder { -webkit-text-fill-color: rgba(255,255,255,.6); }
/* Saque: só chave CPF, sem setinha de escolha */
.pay-modal .wd-kt select { pointer-events: none; background-image: none !important; }
.pay-modal .wd-kt:has(select) svg, .pay-modal .wd-kt::after { display: none !important; }

/* área do afiliado (conta > Afiliados), igual ao /user-dashboard/affiliates do prottu.com */
.conta-modal .acc-grp { display: grid; gap: 0; border-radius: 6px; background: #2a302f; }
.conta-modal .acc-grp-h { background: transparent; }
.conta-modal .acc-grp .acc-chev { transition: transform .2s; }
.conta-modal .acc-grp.open .acc-chev { transform: rotate(180deg); }
.conta-modal .acc-grp-b { display: none; gap: 8px; padding: 4px 24px 12px; }
.conta-modal .acc-grp.open .acc-grp-b { display: grid; }
.conta-modal .acc-sub { background: transparent; }
.conta-modal .acc-sub:hover { background: #393d3d; }
.conta-modal .acc-sub.on { background: #c8d30d; color: #212612; }
.af-subnav { display: none; }
.af { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; color: #fff; font-size: 12px; min-width: 0; }
.af-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 16px 16px; border-bottom: 1px solid #2a302f; }
.af-who { display: grid; gap: 4px; min-width: 0; padding-right: 24px; }
.af-who > b { font-size: 20px; font-weight: 600; }
.af-who > span { font-size: 14px; color: rgba(255,255,255,.85); }
.af-who p { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 14px; }
.af-linkbox { display: flex; align-items: center; gap: 8px; flex: 0 1 380px; min-width: 0; margin-left: auto; }
.af-lnk { display: flex; align-items: center; flex: 1; min-width: 0; height: 48px; padding: 0 8px 0 16px; border-radius: 6px; background: #171f1e; }
.conta-modal .af-lnk input { flex: 1; min-width: 0; width: 0; border: 0 !important; background: transparent !important; padding: 0 !important; font-size: 14px; outline: 0; }
.af-lnk button, .af-ic, .af-kebab { width: 32px; height: 32px; flex: 0 0 32px; border: 0; border-radius: 6px; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.af-lnk button:hover, .af-ic:hover:not(:disabled), .af-kebab:hover { background: #2a302f; color: #c8d30d; }
.af-ic:disabled { opacity: .35; cursor: default; }
.af-next svg { transform: rotate(180deg); }
.af .m-submit.sm, .af .btn-out.sm, .af-modal .m-submit.sm, .af-modal .btn-out { height: 40px; padding: 0 20px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.af .btn-out.sm { background: transparent; border: 1px solid #c8d30d; color: #fff; }
.af-qrbtn { height: 40px !important; }
.af-filter { gap: 8px; padding: 8px 12px; }
.af-filter .th-in { height: 48px; padding: 6px 14px; max-width: 220px; }
.af-filter .th-in small { font-size: 10px; }
.af-filter .th-in input, .af-filter .th-in select { font-size: 14px; height: 22px; }
.af-sp { flex: 1; }
.af-menu { position: relative; display: inline-flex; }
.af-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 190px; padding: 6px; border-radius: 8px; background: #2a302f; box-shadow: 0 8px 24px rgba(0,0,0,.45); display: grid; gap: 2px; }
.af-pop button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: #fff; font: 500 13px Figtree, sans-serif; cursor: pointer; text-align: left; }
.af-pop button:hover { background: #393d3d; }
.af-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 4px 8px 8px; }
.af-c { display: flex; flex-direction: column; gap: 10px; min-height: 198px; padding: 10px 12px 14px; border-radius: 4px; background: #232a29; min-width: 0; }
.af-c.graph { grid-column: span 2; min-height: 300px; }
.af-c.drag { opacity: .4; }
.af-c.over { box-shadow: inset 0 0 0 2px #c8d30d; }
.af-ch { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.af-ch > b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.2; }
.af-drag { color: rgba(255,255,255,.4); cursor: grab; display: grid; }
.af-more { border: 0; background: none; color: #fff; font: 500 12px Figtree, sans-serif; cursor: pointer; padding: 6px; border-radius: 6px; white-space: nowrap; }
.af-more:hover { color: #c8d30d; }
.af-cb { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.af-f { display: grid; gap: 3px; }
.af-f small { color: rgba(255,255,255,.65); font-size: 12px; }
.af-f b { font-size: 14px; font-weight: 700; }
.af-f.fav b { font-size: 26px; }
.af-chart { flex: 1; display: grid; min-height: 0; }
.af-nochart { margin: auto; color: rgba(255,255,255,.6); font-size: 12px; }
.af-chartw { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.af-chartw.VBAR, .af-chartw.HBAR { flex-direction: column; align-items: stretch; }
.af-pie { width: 180px; max-width: 100%; height: auto; }
.af-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12px; min-width: 0; }
.af-leg li { display: flex; align-items: center; gap: 8px; }
.af-leg i { width: 10px; height: 10px; border-radius: 2px; flex: 0 0 10px; }
.af-leg span { color: rgba(255,255,255,.75); flex: 1; }
.af-leg b { font-weight: 600; }
.af-vbars { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding: 0 8px; border-bottom: 1px solid #393d3d; }
.af-vbars > div { flex: 1; height: 100%; display: flex; align-items: flex-end; max-width: 64px; margin: 0 auto; }
.af-vbars i { display: block; width: 100%; border-radius: 3px 3px 0 0; }
.af-hbars { display: grid; gap: 10px; }
.af-hbars > div { display: grid; grid-template-columns: minmax(80px, 38%) 1fr; align-items: center; gap: 10px; }
.af-hbars span { color: rgba(255,255,255,.75); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-hbars em { display: block; height: 18px; }
.af-hbars i { display: block; height: 100%; border-radius: 0 3px 3px 0; }
.af-box { background: #232a29; border-radius: 8px; overflow: hidden; }
.af-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #2a302f; font-size: 13px; }
.af-row:last-child { border-bottom: 0; }
.af-row > div { display: grid; gap: 2px; min-width: 0; }
.af-row small { color: rgba(255,255,255,.6); font-size: 11px; overflow-wrap: anywhere; }
.af-r { justify-items: end; text-align: right; }
.af-ptitle { padding: 14px; font-size: 14px; border-bottom: 1px solid #2a302f; }
.af-rep { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; border-radius: 8px; background: #232a29; }
.af-rep > div { display: grid; gap: 10px; align-content: start; padding: 0 16px; }
.af-rep > div + div { border-left: 1px solid #393d3d; }
.af-rep h4, .af-panel h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.af-rep > div > div, .af-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; }
.af-rep span { color: rgba(255,255,255,.85); }
.af-acc { border-radius: 8px; background: #232a29; margin-top: 4px; }
.af-acc summary { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none; font-size: 16px; }
.af-acc summary::-webkit-details-marker { display: none; }
.af-acc summary span { flex: 1; font-weight: 700; }
.af-acc[open] summary svg { transform: rotate(180deg); }
.af-acc .af-list { padding: 0 16px 16px; }
.af-list { display: grid; gap: 10px; }
.af-list span { color: rgba(255,255,255,.75); }
.af-tools { display: flex; gap: 8px; align-items: center; padding: 8px 0 0; }
.af-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid #393d3d; background: #232a29; color: rgba(255,255,255,.7); }
.conta-modal .af-search input { flex: 1; border: 0 !important; background: transparent !important; padding: 0 !important; font-style: italic; outline: 0; }
.af-tools .af-ic { border: 1px solid #393d3d; }
.af-table { overflow-x: auto; }
.af-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.af-table th, .af-table td { padding: 9px 10px; text-align: left; white-space: nowrap; }
.af-table thead th { color: #fff; font-weight: 600; text-align: center; border-bottom: 1px solid #393d3d; }
.af-table .af-tot th { background: #2a302f; font-size: 14px; }
.af-table tbody tr:nth-child(even) td { background: #171f1e; }
.af-table td { font-style: italic; }
.af-pg { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 16px; padding: 12px; color: rgba(255,255,255,.85); }
.af-pg label { display: flex; align-items: center; gap: 10px; }
.conta-modal .af-pg select { height: 40px; padding: 0 10px; min-width: 76px; }
.af-panel { display: grid; gap: 12px; padding: 12px; border-radius: 8px; background: #232a29; }
.af-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.af-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: center; }
.af-panel .th-in, .af-3 .th-in, .af-mk .th-in, .af-scrow .th-in { max-width: none; height: 48px; padding: 6px 14px; }
.af-param { display: flex; align-items: center; gap: 8px; }
.af-param .th-in { flex: 1; }
.af-chips2 { display: flex; flex-wrap: wrap; gap: 6px; }
.af-chips2 span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 14px; background: #2a302f; }
.af-chips2 button { border: 0; background: none; color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.af-url { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; background: #2a302f; font-size: 14px; }
.af-url > div { display: grid; gap: 2px; min-width: 0; }
.af-url a { color: #fff; text-decoration: underline; overflow-wrap: anywhere; }
.af-copybtn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 0; border-radius: 6px; background: #232a29; color: #fff; font: 600 14px Figtree, sans-serif; cursor: pointer; white-space: nowrap; }
.af-sub { padding: 12px; border-radius: 6px; background: #232a29; display: grid; gap: 12px; }
.af-sub h5, .af-sclist h5 { margin: 0; font-size: 14px; font-weight: 500; }
.af-pbtop { display: flex; justify-content: flex-end; }
.af-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; }
.af-switch input { position: absolute; opacity: 0; pointer-events: none; }
.af-switch i { width: 52px; height: 28px; border-radius: 14px; background: #d9d9d9; position: relative; transition: background .2s; }
.af-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #6b7280; transition: transform .2s, background .2s; }
.af-switch input:checked + i { background: #c8d30d; }
.af-switch input:checked + i::after { transform: translateX(24px); background: #fff; }
.af-save { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.af-save.start { justify-content: flex-start; }
.af-save .m-submit { width: auto; height: 40px; padding: 0 28px; border-radius: 6px; text-transform: none; }
.af-msg { font-size: 12px; }
.af-msg.ok { color: #22c55e; } .af-msg.err { color: #ef4444; }
.af-info { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 8px; background: #232a29; }
.af-info p { margin: 0; font-size: 12px; line-height: 1.5; }
.af-check { display: flex; align-items: center; gap: 10px; font-size: 11px; cursor: pointer; }
.af-check input { width: 22px; height: 22px; accent-color: #c8d30d; }
.af-sc { grid-template-columns: 1fr 1fr 1fr; }
.af-scrow { display: flex; align-items: center; gap: 12px; }
.af-scrow .af-ta { flex: 1; height: auto; }
.conta-modal .af-ta textarea { border: 0 !important; background: transparent !important; padding: 4px 0 !important; min-height: 90px; resize: vertical; font: 12px ui-monospace, monospace; outline: 0; }
.af-sclist { display: grid; gap: 6px; }
.af-sclist h5 { color: #c8d30d; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.4); font-weight: 400; }
.af-mk { display: flex; align-items: center; gap: 12px; }
.af-mk .th-in { flex: 1; }
/* diálogos (adicionar card, ver mais, QR Code) */
.modal.af-modal { max-width: 460px; background: #2a302f; border: 1px solid #393d3d; border-radius: 8px; color: #fff; }
.modal.af-modal.wide { max-width: 900px; }
.af-dlg { display: grid; gap: 14px; padding: 16px; }
.af-dlg h3 { margin: 0; font-size: 16px; font-weight: 700; }
.af-dlg > p { margin: 0; font-size: 14px; line-height: 1.6; }
.af-dlg-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.af-dlg-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.af-modal .btn-out { background: transparent; border: 0; color: #fff; }
.af-modal .m-submit:disabled { opacity: .45; cursor: default; }
.af-radios { display: flex; gap: 24px; font-size: 16px; }
.af-radios label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.af-radios input { width: 20px; height: 20px; accent-color: #c8d30d; }
.af-sels { display: flex; gap: 8px; }
.af-sels .th-in { flex: 1; max-width: none; height: 52px; padding: 6px 14px; }
.af-modal .th-in input, .af-modal .th-in select { font-size: 14px; }
.af-fields { display: grid; }
.af-fr { display: flex; align-items: center; gap: 6px; min-height: 44px; border-bottom: 1px solid rgba(255,255,255,.5); color: rgba(255,255,255,.6); font-size: 14px; }
.af-fr.on { color: #fff; }
.af-fr span { flex: 1; }
.af-fr button { width: 28px; height: 28px; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; }
.af-fr button:disabled { opacity: .3; cursor: default; }
.af-star.on { color: #c8d30d; }
.af-star.on svg { fill: currentColor; }
.af-qrimg { display: grid; place-items: center; }
.af-qrimg img { width: 240px; max-width: 100%; border-radius: 6px; }
.af-qrlink { margin: 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.7); overflow-wrap: anywhere; }
.af-checks { display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.af-checks label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.af-checks input { width: 18px; height: 18px; accent-color: #c8d30d; }
.af-big .af-pie { width: 280px; }
.af-big .af-vbars { height: 300px; }
@media (max-width: 1200px) { .af-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .conta-modal .acc-grp { flex: 0 0 auto; }
  .conta-modal .acc-grp-b, .conta-modal .acc-grp .acc-chev { display: none !important; }
  .af-subnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .af-subnav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 15px; background: #232a29; color: #fff; font-size: 12px; }
  .af-subnav a.on { background: #c8d30d; color: #212612; }
  .af-head { padding: 8px 4px 12px; }
  .af-who { padding-right: 0; }
  .af-linkbox { flex: 1 1 100%; }
  .af-filter .th-in { max-width: none; flex: 1 1 100%; }
  .af-filter > button { flex: 1 1 auto; }
  .af-filter .af-menu { flex: 0 0 auto; }
  .af-head { flex-direction: column; align-items: stretch; }
  .af-linkbox { margin-left: 0; flex: 0 0 auto; }
  .af-sp { display: none; }
  .af-grid { grid-template-columns: 1fr; padding: 4px 0; }
  .af-c.graph { grid-column: auto; }
  .af-rep { grid-template-columns: 1fr; gap: 16px; }
  .af-rep > div { padding: 0; }
  .af-rep > div + div { border-left: 0; border-top: 1px solid #393d3d; padding-top: 16px; }
  .af-2, .af-3, .af-sc { grid-template-columns: 1fr; }
  .af-url, .af-scrow, .af-mk { flex-direction: column; align-items: stretch; }
}

/* lista anterior esmaecida enquanto os dados novos carregam (sem piscar) */
.is-loading { opacity: .5; transition: opacity .15s; pointer-events: none; }
/* afiliados: variáveis e condicionais da operação */
.af-fr.off { opacity: .45; }
.af-fr.off button { cursor: not-allowed; }
.af-info.warn { background: rgba(163,173,14,.15); border: 1px solid rgba(163,173,14,.5); }
.af-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.af-term { display: grid; gap: 6px; padding: 12px; border-radius: 8px; background: #171f1e; font-size: 13px; }
.af-term h5 { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
.af-term div { display: flex; justify-content: space-between; gap: 10px; }
.af-term span { color: rgba(255,255,255,.7); }
.af-term b { text-align: right; overflow-wrap: anywhere; }
.af-mkframe { display: grid; gap: 8px; }
.af-mkframe iframe { width: 100%; height: min(75vh, 900px); border: 0; border-radius: 8px; background: #fff; }
.af-camp > div:first-child { gap: 6px; flex: 1; }
.af-camp .th-sel { max-width: 260px; height: 44px; }
.af-acts { display: flex; gap: 6px; flex-direction: row; }
.af-lnk.sm { max-width: 520px; }
.af-lnk.sm input { font-size: 12px; }
.af-table .af-grp th { font-size: 12px; color: rgba(255,255,255,.7); border-bottom: 0; }
.af-tree tr.lv0 td:first-child { font-weight: 600; font-style: normal; }
.af-tree tr.lv1 td:first-child { padding-left: 26px; }
.af-tree tr.lv2 td:first-child { padding-left: 42px; }
.af-row .af-r .btn-out.sm { white-space: nowrap; }
@media (max-width: 640px) {
  .af-camp { flex-direction: column; align-items: stretch; }
  .af-camp .th-sel { max-width: none; }
  .af-acts { justify-content: flex-end; }
}

/* Menu da conta no celular: gaveta pela direita, como na prottu.com (300px, fundo escurecido, desliza em .3s) */
.upm-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .upm { left: auto; right: 0; top: 0; bottom: 0; width: 300px; max-width: calc(100vw - 40px); max-height: none; border-radius: 16px 0 0 16px; animation: upm-in .3s cubic-bezier(.4, 0, .2, 1); }
  body:has(.user-menu.open) .topbar { z-index: 1000 !important; }
  .user-menu.open::after { content: ""; position: fixed; inset: 0; z-index: 159; background: rgba(0,0,0,.6); animation: upm-fade .3s ease-in-out; }
  .upm-gf { padding: 8px 12px; gap: 4px; }
  .gf-prof { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 0 4px; margin-bottom: 18px; }
  .gf-av { width: 64px; height: 64px; }
  .gf-coin { bottom: -6px; font-size: 10px; padding: 2px 6px 2px 3px; }
  .gf-info { gap: 8px; }
  .gf-name { font-size: 14px; font-weight: 600; }
  .gf-lv { font-size: 10px; }
  .gf-bar { height: 4px; background: #2a302f; }
  .gf-badge { min-width: 20px; height: 20px; font-size: 10px; border-radius: 10px; }
  .upm-gf + .upm-bal { margin-top: 4px; }
  .upm-bal { padding: 8px 12px; }
  .upm-nav .um-link { font-size: 12px; padding: 8px; gap: 6px; }
  .upm-nav .um-link svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .upm .upm-out { padding: 0 12px; }
}
@keyframes upm-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes upm-fade { from { opacity: 0; } to { opacity: 1; } }

/* Scroll leve nas listas de jogos: a imagem cobre o cartão todo (object-fit: cover), então a cópia borrada atrás dela
   nunca aparece e só custava um filtro de blur por cartão; o mesmo para o blur atrás da estrela de favorito */
.cas-blur { display: none !important; }
.fav-btn { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* mobile: depósito e saque centralizados como no oficial (janela com 10px de margem, não gaveta de baixo) */
@media (max-width: 767px) {
  .modal-bg:has(> .modal.pay-modal) { place-items: center; padding: 10px; }
  .modal.pay-modal { width: 100%; max-width: 400px; max-height: calc(100dvh - 20px); overflow-y: auto; border-radius: 8px; padding: 0 12px 12px; }
}
