/* ==================================================================
   FLICKSHOT — COMPONENTES COMPARTILHADOS
   Carregado depois de /tokens.css em todas as paginas.
   Cor SO sai de token. Se aparecer hex aqui, e bug.
   ================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  min-height: var(--vh-safe);
  line-height: 1.45;
  /* listras sutis de gramado no fundo da pagina inteira */
  background-image:
    repeating-linear-gradient(90deg,
      var(--turf-a) 0 46px, var(--turf-b) 46px 92px);
  background-attachment: fixed;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-4); }

/* ==================================================================
   BREAKPOINT DESKTOP — nao e "esticar o mobile".
   Paginas utilitarias (carteira, deposito, afiliado, agente) ganham
   ambiente (fundo com gramado + halo, igual ao jogo) e um pouco mais
   de respiro, mas continuam em coluna unica com max-width contido —
   e o padrao certo pra formulario/lista, nao pede 2 colunas. A HOME
   e que ganha a composicao de 2 colunas de verdade (ver index.php).
   ================================================================== */
@media (min-width: 960px) {
  body {
    background-image:
      radial-gradient(120% 55% at 50% -8%, var(--primary-soft), transparent 55%),
      repeating-linear-gradient(90deg, var(--turf-a) 0 46px, var(--turf-b) 46px 92px);
  }
  .wrap { max-width: 600px; padding: 0 var(--sp-6); }
  .card { padding: var(--sp-6); }
}

/* ==================================================================
   MOTION — vocabulario unico de entrada/impacto do site inteiro.
   Mesmas curvas e nomes usados em jogar/index.php (que nao carrega
   este arquivo por ser fullscreen/canvas, mas fala a mesma lingua).
   ================================================================== */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes popIn    { 0% { opacity: 0; transform: scale(.92); } 100% { opacity: 1; transform: scale(1); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes floatY   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.reveal { animation: fadeUp .45s var(--e-pop) backwards; }

/* numero que reage a uma escolha do usuario (trocou o valor da aposta,
   trocou de carteira) — o mesmo "sentir o dinheiro mudar" do HUD do
   jogo, só que instantaneo (o valor novo ja e conhecido, nao precisa
   contar). Reaplicar: remover, forcar reflow, adicionar de novo. */
@keyframes flashPop { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.flash { animation: flashPop .38s var(--e-bounce); }

/* cartoes/secoes entram em sequencia leve — o olho segue a hierarquia
   em vez de tudo "estalar" junto na tela. */
main .card, main .bigStat, main .heroCard { animation: fadeUp .45s var(--e-pop) backwards; }
main .card:nth-of-type(2) { animation-delay: .05s; }
main .card:nth-of-type(3) { animation-delay: .1s; }
main .card:nth-of-type(4) { animation-delay: .15s; }
main .card:nth-of-type(5) { animation-delay: .2s; }
.rows .row { animation: fadeUp .35s var(--e-pop) backwards; }
.rows .row:nth-child(2) { animation-delay: .04s; }
.rows .row:nth-child(3) { animation-delay: .08s; }
.rows .row:nth-child(4) { animation-delay: .12s; }
.rows .row:nth-child(5) { animation-delay: .16s; }
.rows .row:nth-child(n+6) { animation-delay: .2s; }

/* spinner — estado de carregamento em botao (troca o icone, mantem o texto) */
.spinner { width: 17px; height: 17px; border-radius: 50%; flex: 0 0 auto;
  border: 2.5px solid rgba(255,255,255,.3); border-top-color: currentColor;
  animation: spin .65s linear infinite; }
.btn-ghost .spinner, .btn-quiet .spinner { border-color: var(--border-strong); border-top-color: currentColor; }

/* estatistica grande centralizada (saldo de carteira/afiliado/agente) —
   um so componente pras 3 telas que mostram "um numero gigante no topo",
   com o mesmo halo ambiente que o loading do jogo usa. */
.bigStat { position: relative; z-index: 0; text-align: center; padding: var(--sp-5) 0 var(--sp-4); }
.bigStat::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 260px; height: 260px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--success-soft) 0%, transparent 70%); pointer-events: none; }
.bigStat .lb { font-size: 12px; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); }
.bigStat .am { font-size: var(--num-hero); font-weight: 900; color: var(--success);
  letter-spacing: -2px; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- tipografia utilitaria ---------- */
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* nowrap aqui e regra, nao estilo: "R$ 20,00" quebrado em duas linhas
   ja apareceu na escada, no seletor de carteira e no botao de saque.
   Quem marca .num esta dizendo "isto e um numero" — numero nao quebra. */
.h1 { font-size: clamp(30px, 8.5vw, 40px); font-weight: 900; line-height: 1.03;
      letter-spacing: -1.4px; }
.h2 { font-size: 19px; font-weight: 900; letter-spacing: -.4px; }
.eyebrow { font-size: 11.5px; font-weight: 900; letter-spacing: .15em;
           text-transform: uppercase; color: var(--primary); }
.muted { color: var(--text-secondary); font-size: 14px; }
.tiny  { color: var(--text-muted); font-size: 12px; }

/* ==================================================================
   HEADER
   ================================================================== */
.hd {
  position: sticky; top: 0; z-index: var(--z-header);
  display: flex; align-items: center; gap: var(--sp-3);
  height: 62px; padding: 0 var(--sp-4);
  padding-top: var(--safe-t);
  background: rgba(5, 21, 12, .90);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
}
.hd-in { display: flex; align-items: center; gap: var(--sp-3);
         width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hd-sp { flex: 1; }

/* logo oficial (img/marca/): lockup completo em imagem, sem texto do lado —
   dois nomes ("Flick Shot" escrito + a marca da arte) na mesma tela seria
   ruido. O width/height do <img> ficam no tamanho fonte (180x120) so pra
   reservar o aspect-ratio certo; quem manda no tamanho exibido e o CSS. */
.logo { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }

/* pilula de saldo + botao "+" de deposito rapido */
.bal { display: flex; align-items: center; gap: var(--sp-2);
       background: var(--success-soft); border: 1px solid var(--success-border);
       border-radius: var(--r-pill); padding: 5px 5px 5px 13px; }
.bal .v { font-weight: 900; font-size: 15px; color: var(--success);
          white-space: nowrap; font-variant-numeric: tabular-nums; }
.bal .add { width: 32px; height: 32px; border-radius: 50%; border: none;
            cursor: pointer; background: var(--primary); color: var(--text-on-primary);
            display: flex; align-items: center; justify-content: center;
            box-shadow: var(--shadow-primary); transition: background var(--t-fast);
            text-decoration: none; flex: 0 0 auto; }
.bal .add:hover { background: var(--primary-hover); }
.bal .add:focus-visible { outline: none; box-shadow: var(--ring); }

.avatar { width: 38px; height: 38px; border-radius: 50%; border: none;
          cursor: pointer; background: var(--bg-surface-elevated);
          border: 1px solid var(--border-default); color: var(--text-primary);
          font-weight: 900; font-size: 15px; display: flex; align-items: center;
          justify-content: center; flex: 0 0 auto; font-family: inherit;
          transition: background var(--t-fast); text-decoration: none; }
.avatar:hover { background: var(--bg-surface-hover); }
.avatar:focus-visible { outline: none; box-shadow: var(--ring); }

/* ==================================================================
   BOTOES
   ================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--tap); padding: 14px 22px;
  border: none; border-radius: var(--r-md);
  font-family: inherit; font-size: 15.5px; font-weight: 900; letter-spacing: -.2px;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.975); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > :not(.spinner) { opacity: .55; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.block { width: 100%; }
.btn svg { flex: 0 0 auto; }

.btn-primary { background: var(--primary); color: var(--text-on-primary);
               box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-hover); }

.btn-success { background: var(--success); color: var(--text-on-success);
               box-shadow: var(--shadow-success); }
.btn-success:hover { background: var(--success-hover); }

.btn-ghost { background: var(--bg-surface-elevated); color: var(--text-primary);
             border: 1px solid var(--border-default); }
.btn-ghost:hover { background: var(--bg-surface-hover); border-color: var(--border-strong); }

.btn-quiet { background: none; color: var(--text-secondary); border: none;
             font-weight: 800; font-size: 14px; padding: 12px 16px; }
.btn-quiet:hover { color: var(--text-primary); }

.btn-sm { min-height: 38px; padding: 9px 15px; font-size: 13.5px;
          border-radius: var(--r-sm); }

/* Travado por REGRA de negocio: continua clicavel e explica o que falta.
   Nunca usar [disabled] pra isso — ver tokens.css. */
.btn.is-locked { background: var(--bg-surface-elevated); color: var(--text-muted);
                 box-shadow: none; border: 1px dashed var(--border-strong); }
.btn.is-locked:hover { background: var(--bg-surface-hover); }

.btn.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow-primary); }
  50%      { box-shadow: 0 14px 40px var(--primary-glow); }
}

/* ==================================================================
   CARDS / SECOES
   ================================================================== */
.card { background: var(--bg-surface); border: 1px solid var(--border-default);
        border-radius: var(--r-xl); padding: var(--sp-5);
        box-shadow: var(--shadow-md);
        transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.card + .card { margin-top: var(--sp-4); }
@media (hover: hover) {
  .card.hoverable:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg);
    border-color: var(--border-strong); }
}
.card-h { display: flex; align-items: center; gap: var(--sp-2);
          font-weight: 900; font-size: 15.5px; margin-bottom: var(--sp-4);
          color: var(--text-primary); }
.card-h svg { color: var(--primary); flex: 0 0 auto; }

.sec { margin-top: var(--sp-6); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between;
         margin-bottom: var(--sp-3); }

/* ---------- badge / pill ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px;
         padding: 5px 11px; border-radius: var(--r-pill);
         font-size: 11.5px; font-weight: 900; letter-spacing: .02em; }
.badge-primary { background: var(--primary-soft); color: var(--primary);
                 border: 1px solid var(--primary-soft-strong); }
.badge-success { background: var(--success-soft); color: var(--success);
                 border: 1px solid var(--success-border); }
.badge-warning { background: var(--warning-soft); color: var(--warning);
                 border: 1px solid var(--warning-border); }
.badge-danger  { background: var(--danger-soft);  color: var(--danger);
                 border: 1px solid var(--danger-border); }
.badge-neutral { background: var(--neutral-soft); color: var(--text-secondary);
                 border: 1px solid var(--neutral-border); }

/* ==================================================================
   CAMPOS
   ================================================================== */
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: 13px; font-weight: 800;
               color: var(--text-secondary); margin-bottom: 7px; }

/* 16px e o piso: abaixo disso o Safari iOS da zoom ao focar o campo. */
.input, select.input {
  width: 100%; min-height: var(--tap); padding: 14px 15px;
  background: var(--bg-input); color: var(--text-primary);
  border: 1.5px solid var(--border-default); border-radius: var(--r-md);
  font-family: inherit; font-size: 16px; font-weight: 700; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder { color: var(--text-muted); font-weight: 600; opacity: 1; }
.input:focus { border-color: var(--border-focus); box-shadow: var(--ring); }

select.input { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FA997' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 18px; padding-right: 42px; }

/* campo de valor com prefixo R$ */
.money { display: flex; align-items: center; gap: var(--sp-2); padding: 0 15px;
         background: var(--bg-input); border: 1.5px solid var(--border-default);
         border-radius: var(--r-md);
         transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.money .cur { font-weight: 900; font-size: 15px; color: var(--text-muted); flex: 0 0 auto; }
.money input { flex: 1; min-width: 0; padding: 15px 0; border: none; background: none;
               color: var(--text-primary); font-family: inherit; font-size: 17px;
               font-weight: 800; outline: none; }
.money input::placeholder { color: var(--text-muted); font-weight: 600; opacity: 1; }
.money:focus-within { border-color: var(--border-focus); box-shadow: var(--ring); }

/* ---------- chips de valor (grid 3) ---------- */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.chips button {
  padding: 15px 6px; border-radius: var(--r-md); min-height: var(--tap);
  border: 1.5px solid var(--border-default); background: var(--bg-surface-elevated);
  color: var(--text-primary); font-family: inherit; font-size: 16px; font-weight: 900;
  cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.chips button:hover { background: var(--bg-surface-hover); border-color: var(--border-strong); }
.chips button:active { transform: scale(.97); }
.chips button:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--border-focus); }
.chips button.sel { border-color: var(--primary); background: var(--primary-soft-strong);
  box-shadow: inset 0 -3px 0 var(--primary), 0 6px 16px var(--primary-glow); }

/* ==================================================================
   A ESCADA — coracao do produto.
   4 degraus subindo da esquerda pra direita. Estado: done / now / next.
   Usada na home (horizontal) e no jogo (vertical, ver jogar/).
   ================================================================== */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px;
          align-items: end; }
.lstep { position: relative; border-radius: var(--r-md); padding: 10px 6px 9px;
         text-align: center; border: 1.5px solid var(--border-default);
         background: var(--bg-surface-elevated); overflow: hidden;
         transition: background var(--t-base), border-color var(--t-base); }
/* cada degrau e mais alto que o anterior — a escada e literal */
.lstep:nth-child(1) { padding-top: 11px; }
.lstep:nth-child(2) { padding-top: 19px; }
.lstep:nth-child(3) { padding-top: 27px; }
.lstep:nth-child(4) { padding-top: 35px; }

.lstep .mx { font-size: 17px; font-weight: 900; letter-spacing: -.5px;
             color: var(--text-primary); font-variant-numeric: tabular-nums; }
.lstep .pz { font-size: 11px; font-weight: 800; color: var(--text-muted);
             margin-top: 2px; font-variant-numeric: tabular-nums;
             white-space: nowrap; }   /* quebrar aqui destroi a escada */
.lstep .kn { position: absolute; top: 5px; left: 6px; font-size: 9.5px;
             font-weight: 900; color: var(--text-muted); letter-spacing: .06em; }

.lstep.done { border-color: var(--success-border); background: var(--success-soft); }
.lstep.done .mx { color: var(--success); }
.lstep.done .kn { color: var(--success); }

.lstep.now { border-color: var(--primary); background: var(--primary-soft-strong);
             box-shadow: 0 0 0 1px var(--primary), 0 8px 22px var(--primary-glow); }
.lstep.now .mx { color: var(--primary); }
.lstep.now .kn { color: var(--primary); }
.lstep.now .pz { color: var(--text-secondary); }

/* o degrau final vale um tratamento — e o premio maximo */
.lstep.top .mx { color: var(--warning); }
.lstep.top.done .mx { color: var(--success); }

/* ==================================================================
   BOTTOM NAV — flutuante.
   Antes era uma barra colada na borda inferior, encostada nos 3 lados
   (parecia barra de template). Agora e uma ilha: afastada da borda nos
   3 lados, cantos bem arredondados, sombra propria — flutua SOBRE o
   conteudo em vez de fazer parte da moldura da tela.
   ================================================================== */
.bnav { position: fixed; left: var(--bnav-inset); right: var(--bnav-inset);
        bottom: calc(var(--bnav-inset) + var(--safe-b)); z-index: var(--z-bnav);
        max-width: calc(var(--wrap) - var(--bnav-inset) * 2); margin: 0 auto; display: flex;
        background: rgba(8, 20, 14, .90);
        -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
        border: 1px solid var(--border-default);
        border-radius: var(--r-pill);
        box-shadow: var(--shadow-float);
        padding: 6px; }
.bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
          min-height: var(--tap); padding: 7px 0 6px; font-size: 10px; font-weight: 800;
          color: var(--text-muted); text-decoration: none; border-radius: var(--r-pill);
          transition: color var(--t-fast), background var(--t-fast); }
.bnav a:hover { color: var(--text-secondary); }
.bnav a.on { color: var(--primary); background: var(--primary-soft); }
.bnav a.on svg { filter: drop-shadow(0 0 6px var(--primary-glow)); }
.bnav svg { width: 21px; height: 21px; }
.bnav a.mid { position: relative; top: -2px; color: var(--primary); }
.bnav .mi { width: 46px; height: 46px; margin-top: -13px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-on-primary); background: var(--primary);
            border: 3px solid var(--bnav-ring); box-shadow: var(--shadow-primary);
            transition: background var(--t-fast), transform var(--t-fast); }
.bnav a.mid:active .mi { transform: scale(.93); }
.bnav a.mid:hover .mi { background: var(--primary-hover); }
body.has-bnav { padding-bottom: calc(var(--bnav-h) + var(--bnav-inset) * 2 + var(--safe-b) + 18px); }

/* desktop: a ilha nao precisa mais ficar espremida na largura mobile —
   ganha respiro e some da tela do jogo (que tem a propria UI fullscreen) */
@media (min-width: 560px) { .bnav { max-width: 380px; } }

/* ==================================================================
   MODAL / SHEET
   ================================================================== */
.ovl { position: fixed; inset: 0; z-index: var(--z-overlay);
       background: var(--overlay);
       -webkit-backdrop-filter: var(--overlay-blur); backdrop-filter: var(--overlay-blur);
       display: none; align-items: flex-end; justify-content: center; }
.ovl.on { display: flex; }
@media (min-width: 560px) { .ovl { align-items: center; } }

.sheet { width: 100%; max-width: var(--wrap);
         background: var(--bg-surface); border: 1px solid var(--border-default);
         border-radius: var(--r-sheet) var(--r-sheet) 0 0;
         padding: var(--sp-5) var(--sp-5) calc(var(--sp-5) + var(--safe-b));
         box-shadow: var(--shadow-sheet);
         animation: sheetUp var(--t-sheet); max-height: 92vh; overflow-y: auto; }
@media (min-width: 560px) { .sheet { border-radius: var(--r-sheet);
         padding-bottom: var(--sp-5); animation: sheetIn var(--t-base); } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetIn { from { transform: scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }

.sheet-h { display: flex; align-items: center; justify-content: space-between;
           margin-bottom: var(--sp-4); }
.sheet-h h3 { font-size: 19px; font-weight: 900; letter-spacing: -.4px; }
.sheet-x { width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
           background: var(--bg-surface-elevated); color: var(--text-secondary);
           display: flex; align-items: center; justify-content: center; }
.sheet-x:hover { background: var(--bg-surface-hover); color: var(--text-primary); }
.sheet-x:focus-visible { outline: none; box-shadow: var(--ring); }

/* abas do modal (entrar / criar conta) */
.tabs { display: flex; gap: 4px; background: var(--bg-sunken); padding: 4px;
        border-radius: var(--r-md); margin-bottom: var(--sp-5); }
.tabs button { flex: 1; min-height: 40px; border: none; border-radius: var(--r-sm);
               background: none; color: var(--text-muted); font-family: inherit;
               font-size: 14px; font-weight: 900; cursor: pointer;
               transition: background var(--t-fast), color var(--t-fast); }
.tabs button.on { background: var(--bg-surface-elevated); color: var(--text-primary); }
.tabs button:focus-visible { outline: none; box-shadow: var(--ring); }

/* ==================================================================
   AVISOS
   ================================================================== */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
        border-radius: var(--r-md); font-size: 13.5px; font-weight: 700;
        line-height: 1.4; margin-bottom: var(--sp-4); }
.note svg { flex: 0 0 auto; margin-top: 1px; }
.note-err  { background: var(--danger-soft);  border: 1px solid var(--danger-border);  color: var(--danger); }
.note-ok   { background: var(--success-soft); border: 1px solid var(--success-border); color: var(--success); }
.note-warn { background: var(--warning-soft); border: 1px solid var(--warning-border); color: var(--warning); }
.note-info { background: var(--info-soft);    border: 1px solid var(--info-border);    color: var(--info); }

/* ==================================================================
   LISTA / TABELA (paineis)
   ================================================================== */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: var(--sp-3); padding: 13px 0;
       border-bottom: 1px solid var(--border-subtle); }
.row:last-child { border-bottom: 0; }
.row-ico { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
           display: flex; align-items: center; justify-content: center; }
.row-tx { flex: 1; min-width: 0; }
.row-tx b { display: block; font-size: 14.5px; font-weight: 800; color: var(--text-primary); }
.row-tx span { font-size: 12px; color: var(--text-muted); }
.row-val { font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums;
           flex: 0 0 auto; }
.row-val.up { color: var(--success); }
.row-val.dn { color: var(--danger); }

.empty { text-align: center; padding: var(--sp-7) var(--sp-4); color: var(--text-muted); animation: fadeUp .4s var(--e-pop) backwards; }
.empty svg { color: var(--border-strong); margin-bottom: var(--sp-3); animation: floatY 3.2s ease-in-out infinite; }
.empty b { display: block; font-size: 15px; font-weight: 800;
           color: var(--text-secondary); margin-bottom: 4px; }
.empty span { font-size: 13px; }

/* ==================================================================
   RODAPE LEGAL — selos + aviso 18+.
   Discreto de proposito: fica DEPOIS de tudo, no fim do fluxo normal
   da pagina (nao e fixed) — por isso nao compete com o CTA e nao fica
   escondido atras da bottom nav flutuante, so acima dela.
   ================================================================== */
.foot-legal { margin: var(--sp-7) 0 var(--sp-3); text-align: center; }
.foot-selos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  align-items: center; }
.foot-selos .selo { background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm); height: 40px; min-width: 56px; padding: 5px 10px;
  display: inline-flex; align-items: center; justify-content: center; opacity: .82;
  transition: opacity var(--t-fast); }
.foot-selos .selo:hover { opacity: 1; }
.foot-selos .selo img { max-height: 24px; max-width: 96px; width: auto; height: auto;
  display: block; object-fit: contain; filter: grayscale(.15) brightness(1.05); }
.foot-note { font-size: 11px; font-weight: 700; color: var(--text-muted);
  margin-top: var(--sp-3); letter-spacing: .02em; }

/* ==================================================================
   TOAST
   ================================================================== */
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b));
         transform: translateX(-50%) translateY(20px); z-index: var(--z-toast);
         display: inline-flex; align-items: center; gap: 8px;
         background: var(--bg-surface-elevated); border: 1px solid var(--border-strong);
         color: var(--text-primary); padding: 13px 20px; border-radius: var(--r-pill);
         font-size: 14px; font-weight: 800; box-shadow: var(--shadow-lg);
         opacity: 0; pointer-events: none;
         transition: opacity .22s var(--e-pop), transform .32s var(--e-bounce);
         max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--danger-border); color: var(--danger); }
.toast.ok  { border-color: var(--success-border); color: var(--success); }
