/* prottu-base: menu lateral do celular entra e sai deslizando (0,3s), com o fundo escurecendo junto.
   O 21-pwa-marca.js põe body.p-drawer-out e .p-backdrop.out durante a saída e só fecha depois dela. */
@media (max-width: 900px) {
  body.p-drawer .side { animation: vxDrawerIn .3s cubic-bezier(.4, 0, .2, 1) !important; }
  body.p-drawer-out .side { animation: vxDrawerOut .3s cubic-bezier(.4, 0, .2, 1) forwards !important; }
  .p-backdrop { animation: vxFadeIn .3s ease-in-out; }
  .p-backdrop.out { animation: vxFadeOut .3s ease-in-out forwards; }
}
@media (prefers-reduced-motion: reduce) {
  body.p-drawer .side, body.p-drawer-out .side { animation: none !important; }
}
@keyframes vxDrawerIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes vxDrawerOut { to { transform: translateX(-100%); } }
@keyframes vxFadeIn { from { opacity: 0; } }
@keyframes vxFadeOut { to { opacity: 0; } }

/* passo a passo "Baixe o app" (modal do appStripKit do núcleo): o styles.css da família não trazia estas regras,
   e o modal saía sem layout (ícone enorme, números soltos) */
.ig-modal { max-width: 420px; }
.ig { display: grid; gap: 14px; padding: 4px 20px 22px; }
.ig-top { display: flex; align-items: center; gap: 12px; }
.ig-top img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: 0 0 56px; }
.ig-top b { display: block; font-size: 16px; }
.ig-top small { display: block; color: var(--muted); font-size: 12px; }
.ig-now { height: 44px; border-radius: 22px; font-size: 13px; }
.ig-or { margin: -4px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.ig-steps { margin: 0; padding: 0; list-style: none; counter-reset: ig; display: grid; gap: 10px; }
.ig-steps li { counter-increment: ig; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; font-size: 14px; line-height: 1.4; }
.ig-steps li::before { content: counter(ig); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--p-on-gold, #000); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ig-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-3); color: var(--accent); vertical-align: -5px; }
.ig-dots { font-weight: 800; color: var(--text); }

/* Saque: tipo da chave Pix inteiro (antes cortava em "C...") e a chave como um campo só, sem a caixa arredondada por dentro */
.pay-modal .wd-kt { width: auto; min-width: 84px; flex: 0 0 auto; }
.pay-modal .wd-kt select { width: auto; height: 100% !important; padding: 0 28px 0 14px !important; border-radius: 0 !important; background-color: transparent !important; text-overflow: clip; }
.pay-modal .wd-key input#wd-pk, .pay-modal .wd-key input#wd-pk:-webkit-autofill { height: 100% !important; padding: 0 14px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; -webkit-box-shadow: none !important; box-shadow: none !important; }

/* Recompensas (Disponível): o bloco de resgate ocupa a linha inteira embaixo do cartão */
.bn-card:has(.bn-claim-wrap) { flex-wrap: wrap; }
.bn-card .bn-claim-wrap { flex: 1 0 100%; margin-top: 0; }
.bn-card .bn-info { min-width: 0; flex: 1; }
/* cartão do bônus clicável: rollover, resgate e "Ver regras e jogos" em linha inteira */
.bn-click { cursor: pointer; }
.bn-card:has(.bn-x), .bonus-card:has(.bn-x) { flex-wrap: wrap; }
.bn-x { flex: 1 0 100%; grid-column: 1 / -1; display: grid; gap: 10px; min-width: 0; cursor: default; }
.bn-x .bn-claim-wrap { margin-top: 0; }

/* Recompensas: regras e jogos do bônus (mesmas regras do núcleo) */
.bn-ro { display: grid; gap: 6px; }
.bn-ro .bar { height: 6px; border-radius: 99px; background: var(--surface-3, #e2e7f1); overflow: hidden; }
.bn-ro .bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.bn-ro small { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.bn-more { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--text); font-weight: 600; font-size: 13px; cursor: pointer; }
.bn-more svg { transition: transform .2s; }
.bn-card.open .bn-more svg { transform: rotate(180deg); }
.bn-det { display: grid; gap: 10px; }
.bn-det[hidden] { display: none; }
.bn-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; white-space: pre-line; }
.bn-rules { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.bn-rules li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; font-size: 13px; }
.bn-rules li + li { border-top: 1px solid var(--line); }
.bn-rules li span { color: var(--muted); }
.bn-rules li b { color: var(--text); text-align: right; word-break: break-all; }
.bn-gh { font-weight: 700; font-size: 13px; color: var(--text); margin-top: 4px; }
.bn-all { margin: 0; font-size: 13px; color: var(--muted); }
.bn-games { display: grid; gap: 6px; }
.bn-games.cas { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bn-game { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, #f5f7fb); font-size: 13px; color: var(--text); text-decoration: none; }
.bn-game small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bn-games.cas .bn-game { padding: 0; background: none; gap: 5px; font-size: 12px; text-align: center; }
.bn-games.cas .bn-game img, .bn-gph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--surface-2, #f5f7fb); }
.bn-gph { display: grid; place-items: center; color: var(--muted); }
.bn-games.cas .bn-game span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-cgrid { gap: 10px; }
.bn-cgrid .casino-tile .cas-name { color: var(--text); font-size: 13px; }
.bn-x .bn-more { width: 100%; }
.bn-x .bn-ro .bar { background: rgba(255, 255, 255, .12); }
.bn-x .bn-rules li b { font-weight: 700; }

/* imagem do Entrar/Cadastro vinda do backoffice (Propagandas): coluna à esquerda no desktop, faixa abaixo do título no celular */
.modal.p-auth.pa-art-left { width: 880px !important; max-width: calc(100vw - 24px) !important; padding: 0 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) 440px; overflow: hidden; }
.p-auth.pa-art-left .pa-art { display: block; min-height: 100%; background: #000; }
.p-auth.pa-art-left .pa-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-auth.pa-art-left .pa-body { padding: 20px; max-height: calc(100vh - 32px); overflow: auto; }
.modal.p-auth.pa-top-wide { width: 520px !important; }
.p-auth .pa-top { display: block; margin: -4px 0 16px; border-radius: 6px; overflow: hidden; }
.p-auth .pa-top img { display: block; width: 100%; height: auto; }
