/* ══════════════════════════════════════════════════════════════════════════════════════════════
   Plataforma subwaysurferss.com — a cara do próprio jogo: céu azul com listras, amarelo, o verde do
   botão TOQUE PARA JOGAR, Lilita One nos títulos. Cartões brancos sobre fundo claro. Tema claro só.
   Regras que já custaram caro (AGENTS.md): inputs 16px no celular, touch-action em tudo, nada de vh na
   casca, safe-area repetida em TODO atalho `padding` de barra fixa.
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Lilita One'; src: url(/assets/ui/fontes/LilitaOne.woff2) format('woff2'); font-display: swap; }

:root {
  color-scheme: light;
  --azul: #1565d8; --azul2: #38b6ff; --azul-esc: #0d47a1; --azul-claro: #e4f1ff;
  --amarelo: #ffd21f; --amarelo2: #ffc400; --marrom: #5a3a00;
  --verde: #5be04f; --verde2: #2fb52f; --verde-txt: #1f8f22; --verde-claro: #e6f8e4;
  --laranja: #ff8a1f; --vermelho: #e5484d; --vermelho-claro: #fdecec;
  --fundo: #eef3fb; --cartao: #fff; --borda: #dfe7f3; --borda2: #cbd8ea;
  --texto: #1c2a3a; --texto2: #5b6b80; --texto3: #8a97a8;
  --raio: 18px; --raio-sm: 12px; --max: 480px;
  --sombra: 0 6px 20px rgba(21, 101, 216, .10);
  --safe-top: env(safe-area-inset-top, 0px); --safe-bot: env(safe-area-inset-bottom, 0px);
  --topo-h: 56px; --nav-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; touch-action: manipulation; }
html { background: var(--fundo); color: var(--texto); font: 400 15px/1.45 Inter, system-ui, -apple-system, sans-serif; -webkit-text-size-adjust: 100%; height: 100%; }
body { min-height: 100%; background: var(--fundo); }
@media (min-width: 600px) {
  body { background: linear-gradient(180deg, #38b6ff, #1565d8) fixed; }
  #app { min-height: 100%; }
}
img { display: block; max-width: 100%; }
a { color: var(--azul); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
[hidden] { display: none !important; }
.display { font-family: 'Lilita One', Impact, 'Arial Black', sans-serif; font-weight: 400; letter-spacing: .01em; }
.pagina { max-width: var(--max); margin: 0 auto; min-height: 100%; background: var(--fundo); position: relative; }
@media (min-width: 600px) { .pagina { box-shadow: 0 0 60px rgba(0, 0, 0, .25); } }
.miolo { padding: 0 16px; }

/* iPhone: campo com fonte < 16px dá zoom ao focar e a página fica torta. 16px literal, com !important. */
@media (max-width: 768px), (pointer: coarse) { input, select, textarea { font-size: 16px !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── botões 3D do jogo (base mais escura, afunda 2px) ── */
.b3d { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 12px 20px; border: 0; border-radius: 16px; font-family: 'Lilita One', Impact, sans-serif; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .22); text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 4px 10px rgba(0, 0, 0, .12); transition: transform .08s, box-shadow .08s; position: relative; }
.b3d:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .12); }
.b3d.verde { background: linear-gradient(#5be04f, #2fb52f); }
.b3d.amarelo { background: linear-gradient(#ffd21f, #ffc400); color: var(--marrom); text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.b3d.azul { background: linear-gradient(#3aa0ff, #1565d8); }
.b3d.branco { background: #fff; color: var(--azul); border: 2px solid var(--borda2); text-shadow: none; box-shadow: inset 0 -4px 0 rgba(21, 101, 216, .10), 0 2px 6px rgba(0, 0, 0, .06); }
.b3d.branco:active { box-shadow: inset 0 -2px 0 rgba(21, 101, 216, .10); }
.b3d.sm { min-height: 42px; font-size: 16px; padding: 8px 16px; border-radius: 12px; width: auto; }
.b3d.zap { font-size: 17px; }
.b3d.xs { min-height: 40px; font-size: 14px; padding: 6px 12px; border-radius: 10px; width: auto; }
.b3d.grande { min-height: 62px; font-size: 24px; }
/* travado por REGRA: continua clicável e opaco (o toque avisa o que falta); disabled só durante o envio */
.b3d[disabled] { cursor: progress; opacity: 1; }
.b3d[disabled]::after { content: ''; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: gira .7s linear infinite; }
.b3d.amarelo[disabled]::after, .b3d.branco[disabled]::after { border-color: rgba(0, 0, 0, .15); border-top-color: currentColor; }
.b3d.treme { animation: treme .4s; }
@keyframes treme { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes gira { to { transform: rotate(360deg); } }
.btn-texto { font-weight: 600; color: var(--azul); background: none; border: 0; min-height: 44px; padding: 8px 10px; border-radius: 10px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-texto:active { background: var(--azul-claro); }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── cartões e texto ── */
.cartao { background: var(--cartao); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); }
.cartao + .cartao, .bloco + .bloco { margin-top: 12px; }
.grade2 > .cartao, .dupla > .cartao { margin-top: 0; }
.cartao h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cartao h3 svg { color: var(--azul); }
.sub { color: var(--texto2); font-size: 13px; }
.mini { color: var(--texto3); font-size: 12px; }
.sec-titulo { font-size: 22px; color: var(--azul-esc); margin: 26px 0 12px; }
.centro { text-align: center; }
.mt { margin-top: 14px; } .mb { margin-bottom: 14px; }
.linha-sep { height: 1px; background: var(--borda); margin: 14px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--azul-claro); color: var(--azul-esc); }
.chip svg { width: 14px; height: 14px; }
.chip.verde { background: var(--verde-claro); color: var(--verde-txt); }
.chip.amarelo { background: #fff4c2; color: var(--marrom); }
.chip.cinza { background: #eef1f6; color: var(--texto2); }
.chip.vermelho { background: var(--vermelho-claro); color: var(--vermelho); }

/* ── formulários ── */
.campo { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.campo label { font-size: 13px; font-weight: 600; color: var(--texto2); }
.campo input, .campo select, .campo textarea { width: 100%; background: #f6f9fd; border: 1.5px solid var(--borda2); border-radius: 12px; padding: 12px 14px; font-size: 16px; color: var(--texto); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(21, 101, 216, .15); background: #fff; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo .com-olho { position: relative; }
.campo .com-olho input { padding-right: 48px; }
.olho { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: var(--texto3); border-radius: 10px; }
.aviso-erro { color: var(--vermelho); font-size: 13px; font-weight: 500; min-height: 1.2em; margin: 2px 0 10px; display: flex; gap: 6px; align-items: flex-start; }
.aviso-erro:empty { display: none; }
.aviso-ok { color: var(--verde-txt); background: var(--verde-claro); font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.aviso-info { color: var(--azul-esc); background: var(--azul-claro); font-size: 13px; padding: 10px 12px; border-radius: 12px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.aviso-info svg { width: 18px; height: 18px; margin-top: 1px; color: var(--azul); }
.aviso-bonus { color: var(--marrom); background: linear-gradient(90deg, #fff3bf, #ffe88a); font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: 12px; display: flex; gap: 8px; align-items: center; }
.aviso-bonus img { width: 26px; height: 26px; }
.links-modal { text-align: center; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.links-modal a, .links-modal button { color: var(--azul); font-weight: 600; font-size: 14px; text-decoration: none; padding: 6px 12px; min-height: 44px; display: inline-flex; align-items: center; }

/* ── folha de baixo (modal) ── */
.folha { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.folha-fundo { position: absolute; inset: 0; background: rgba(8, 30, 64, .55); opacity: 0; transition: opacity .2s; touch-action: none; }
.folha-caixa { position: relative; width: 100%; max-width: var(--max); max-height: 92%; background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .22s cubic-bezier(.2, .8, .3, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.folha.aberta .folha-fundo { opacity: 1; }
.folha.aberta .folha-caixa { transform: none; }
.folha-alca { width: 44px; height: 5px; border-radius: 3px; background: var(--borda2); margin: 8px auto 0; flex: 0 0 auto; }
.folha-cab { display: flex; align-items: center; gap: 10px; padding: 8px 10px 6px 20px; flex: 0 0 auto; }
.folha-cab h2 { font-size: 24px; color: var(--azul-esc); flex: 1; min-width: 0; }
.x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--texto2); background: #f1f5fa; margin-left: auto; }
.x:active { background: var(--borda); }
.folha-corpo { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 18px calc(22px + var(--safe-bot)); }
@media (min-width: 600px) {
  .folha { align-items: center; padding: 20px; }
  .folha-caixa { border-radius: 24px; max-height: 90%; transform: translateY(24px); opacity: 0; transition: transform .2s, opacity .2s; }
  .folha.aberta .folha-caixa { transform: none; opacity: 1; }
  .folha-alca { display: none; }
  .folha-cab { padding-top: 14px; }
}
html.travado, html.travado body { overflow: hidden; }

/* ── toast ── */
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-bot)); transform: translateX(-50%); background: var(--texto); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 400; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 8px; max-width: 90%; }
.toast svg { width: 18px; height: 18px; color: var(--verde); }

/* ══════════ LANDING (deslogado) ══════════ */
.topo { display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--safe-top)) 14px 10px; }
.topo .logo { height: 42px; width: auto; }
.topo .espaco { flex: 1; }
.hero { position: relative; overflow: hidden; margin: 6px 12px 0; border-radius: 26px; background: linear-gradient(180deg, #4cc0ff 0%, #1f7fe6 60%, #1565d8 100%); color: #fff; padding: 22px 18px 26px; min-height: 330px; box-shadow: 0 12px 30px rgba(21, 101, 216, .35); }
.hero::before { content: ''; position: absolute; inset: 0; background: url(/assets/ui/hud/Bgr_Stripes.webp) repeat; background-size: 160px; opacity: .10; pointer-events: none; }
.hero-txt { position: relative; z-index: 2; max-width: 62%; }   /* acima do Jake: em tela estreita o botão passa por cima da mão dele */
.hero .chip-hero { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .2); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.hero h1 { font-size: 34px; line-height: 1.02; text-shadow: 0 3px 0 rgba(13, 71, 161, .5); }
.hero h1 .amar { color: var(--amarelo); }
.hero p { margin: 12px 0 18px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.hero .b3d { width: auto; min-width: 0; white-space: nowrap; font-size: clamp(16px, 4.8vw, 20px); padding-left: 18px; padding-right: 18px; }
.hero .ja-tenho { display: inline-block; margin-top: 4px; padding: 10px 0; color: #fff; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.hero-jake { position: absolute; right: -14px; bottom: -6px; width: 46%; max-width: 230px; height: auto; z-index: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); pointer-events: none; }
@media (min-width: 420px) { .hero h1 { font-size: 38px; } }
.selos { display: flex; gap: 8px; margin: 16px 12px 0; }
.selo { flex: 1; background: #fff; border-radius: 14px; padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--texto2); box-shadow: var(--sombra); display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1.2; }
.selo svg { width: 22px; height: 22px; color: var(--azul); }
.landing .miolo { padding: 0 12px; }
.passos { display: flex; flex-direction: column; gap: 10px; }
.passo { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--raio); padding: 14px; box-shadow: var(--sombra); }
.passo .arte { width: 64px; height: 64px; display: grid; place-items: center; background: var(--azul-claro); border-radius: 16px; flex: 0 0 auto; }
.passo .arte img { width: 50px; height: 50px; object-fit: contain; }
.passo .num { font-size: 12px; font-weight: 700; color: var(--azul); text-transform: uppercase; letter-spacing: .06em; }
.passo h3 { font-size: 16px; margin: 2px 0 2px; }
.poderes { display: flex; gap: 10px; overflow-x: auto; padding: 4px 12px 10px; margin: 0 -12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.poderes::-webkit-scrollbar { display: none; }
.poder { flex: 0 0 128px; scroll-snap-align: start; background: #fff; border-radius: var(--raio); padding: 12px 10px; text-align: center; box-shadow: var(--sombra); }
.poder img { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 6px; }
.poder b { display: block; font-size: 14px; }
.poder span { font-size: 12px; color: var(--texto2); }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--sombra); margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { margin-left: auto; color: var(--texto3); transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 16px 14px; font-size: 14px; color: var(--texto2); line-height: 1.5; }
.cta-fim { margin: 24px 12px 0; background: linear-gradient(180deg, #1f7fe6, #1565d8); border-radius: 22px; padding: 22px 18px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-fim::before { content: ''; position: absolute; inset: 0; background: url(/assets/ui/hud/Bgr_Stripes.webp) repeat; background-size: 160px; opacity: .10; }
.cta-fim * { position: relative; }
.cta-fim h2 { font-size: 26px; margin-bottom: 12px; text-shadow: 0 2px 0 rgba(13, 71, 161, .5); }
.rodape { padding: 26px 16px calc(24px + var(--safe-bot)); text-align: center; color: var(--texto3); font-size: 12px; line-height: 1.7; }
.rodape a { color: var(--texto2); font-weight: 600; }

/* ══════════ LOGADO ══════════ */
/* barra fixa do topo: a safe-area entra no próprio atalho padding (nunca num padding-top separado) */
.barra { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max); z-index: 200; display: flex; align-items: center; gap: 8px; padding: calc(6px + var(--safe-top)) 12px 6px; background: linear-gradient(180deg, #4cc0ff, #2a8ff0); box-shadow: 0 2px 12px rgba(21, 101, 216, .3); }
.barra .logo { height: 38px; width: auto; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }
.barra .espaco { flex: 1; }
.pilula { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 4px 4px 8px; text-decoration: none; color: var(--texto); font-weight: 700; font-size: 15px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); min-height: 40px; max-width: 60%; }
.pilula img { width: 22px; height: 22px; }
.pilula .valor { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pilula .mais { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#ffd21f, #ffc400); color: var(--marrom); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); flex: 0 0 auto; }
.pilula .mais svg { width: 18px; height: 18px; stroke-width: 3; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }   /* rosto do Jake no lugar da inicial (02/11) */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 2px solid #fff; background: linear-gradient(#bfe6ff, #7cc8ff); color: var(--azul); font-family: 'Lilita One', Impact, sans-serif; font-size: 20px; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); flex: 0 0 auto; }
.lobby { padding: calc(var(--topo-h) + var(--safe-top) + 12px) 12px calc(var(--nav-h) + var(--safe-bot) + 20px); }
.cartao-hero { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(180deg, #4cc0ff 0%, #1f7fe6 65%, #1565d8 100%); color: #fff; padding: 18px 18px 18px; min-height: 176px; box-shadow: 0 12px 30px rgba(21, 101, 216, .35); }
.cartao-hero::before { content: ''; position: absolute; inset: 0; background: url(/assets/ui/hud/Bgr_Stripes.webp) repeat; background-size: 160px; opacity: .10; pointer-events: none; }
.cartao-hero > * { position: relative; z-index: 1; }
.cartao-hero .ola { font-size: 14px; font-weight: 600; opacity: .95; }
.cartao-hero .saldo { font-size: 40px; line-height: 1.05; margin-top: 2px; text-shadow: 0 3px 0 rgba(13, 71, 161, .5); }
.cartao-hero .rotulo { font-size: 12px; opacity: .9; margin-bottom: 14px; }
.cartao-hero .b3d { width: auto; min-width: 190px; }
/* painel do valor da corrida (lobby): o jogo só recebe o valor em /jogar#valor=N */
.corrida .cab .mini { color: var(--texto3); }
.corrida-valor { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.corrida-valor .valor-grande { margin: 0; padding-top: 4px; min-width: 0; }
.corrida-valor .valor-grande input { min-width: 0; width: 5.2ch; font-size: 40px !important; }
.corrida-valor .passo { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--azul-claro); color: var(--azul); box-shadow: inset 0 -3px 0 rgba(21, 101, 216, .15); }
.corrida-valor .passo:active { transform: translateY(2px); box-shadow: none; }
.corrida-valor .passo svg { width: 22px; height: 22px; stroke-width: 3; }
.meta-corrida { font-size: 13px; color: var(--texto2); margin: 4px 0 10px; text-align: center; }
.meta-corrida b { color: var(--verde-txt); }
#erro-corrida a { color: var(--azul); font-weight: 700; margin-left: 4px; }
.cartao-hero .jake { position: absolute; right: -12px; bottom: -8px; width: 44%; max-width: 200px; height: auto; z-index: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); pointer-events: none; }
/* banner + painel do valor num cartão só (02/11): saldo e Jake em cima, a corrida num miolo branco que sobe por cima do Jake */
.painel-corrida { padding: 16px 12px 12px; min-height: 0; }
.painel-corrida .hero-topo { position: relative; min-height: 118px; padding: 0 6px; }
.painel-corrida .txt { max-width: 64%; }
.painel-corrida .jake { right: 4px; bottom: -30px; height: 156px; width: auto; max-width: none; }
.painel-corrida .rotulo { margin-bottom: 0; max-width: 92%; }
/* saldo mora só na pílula do topo (02/11): o banner cumprimenta e chama pra corrida */
.painel-corrida .chamada { font-size: 32px; line-height: 1.05; margin-top: 2px; text-shadow: 0 3px 0 rgba(13, 71, 161, .5); }
.painel-corrida .corrida { position: relative; z-index: 2; background: #fff; color: var(--texto); border-radius: 20px; padding: 14px 14px 14px; margin-top: 10px; box-shadow: 0 -4px 14px rgba(13, 71, 161, .18); }
.painel-corrida .corrida .cab h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.painel-corrida .corrida .cab h3 svg { color: var(--azul); }
.painel-corrida .corrida .b3d { width: 100%; min-width: 0; }
.cartao-hero .txt { max-width: 58%; }
.dica { margin: 10px 4px 0; font-size: 13px; color: var(--texto2); display: flex; gap: 6px; align-items: center; }
.dica svg { width: 16px; height: 16px; color: var(--laranja); }
.grade2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cartao-link { display: block; text-decoration: none; color: inherit; }
.cartao-link:active { transform: scale(.985); }
.cartao .cab, .corrida .cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-bottom: 10px; }
.cartao .cab h3, .corrida .cab h3 { white-space: nowrap; }
.cartao .cab a { font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.cartao .cab a svg { width: 16px; height: 16px; }
.vip-selo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.vip-selo.bronze { background: #f6e3d3; color: #8a4b1d; } .vip-selo.prata { background: #e9edf3; color: #5a6675; }
.vip-selo.ouro { background: #fff1b8; color: #8a6400; } .vip-selo.diamante { background: #dff3ff; color: #0b6aa8; }
.barra-prog { height: 8px; background: #e6edf7; border-radius: 4px; overflow: hidden; margin: 8px 0 6px; }
.barra-prog i { display: block; height: 100%; background: linear-gradient(90deg, #38b6ff, #1565d8); border-radius: 4px; transition: width .4s; }
.barra-prog.amarela i { background: linear-gradient(90deg, #ffd21f, #ff8a1f); }
.barra-prog.verde i { background: linear-gradient(90deg, #5be04f, #2fb52f); }
.num-grande { font-size: 24px; color: var(--azul-esc); line-height: 1; }
.cartao .arte-bau { width: 56px; height: 56px; object-fit: contain; }
.cartao-mini { padding: 14px; min-height: 128px; display: flex; flex-direction: column; }
.cartao-mini .topo-mini { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cartao-mini .topo-mini b { font-size: 14px; }
.cartao-mini .topo-mini img { width: 34px; height: 34px; object-fit: contain; }
.cartao-mini .rodape-mini { margin-top: auto; font-size: 12px; color: var(--texto2); }
.link-caixa { display: flex; gap: 8px; align-items: center; background: #f6f9fd; border: 1.5px solid var(--borda2); border-radius: 12px; padding: 6px 6px 6px 12px; }
.link-caixa span { flex: 1; min-width: 0; font-size: 13px; color: var(--texto2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, Menlo, monospace; }
.lista { list-style: none; }
.lista li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--borda); }
.lista li:last-child { border-bottom: 0; }
.lista .l1 { font-weight: 600; font-size: 14px; }
.lista .l2 { font-size: 12px; color: var(--texto3); }
.lista .dir { text-align: right; }
.status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef1f6; color: var(--texto2); white-space: nowrap; }
.status.pago, .status.ganhou, .status.aprovado { background: var(--verde-claro); color: var(--verde-txt); }
.status.pendente, .status.processando { background: #fff4c2; color: var(--marrom); }
.status.erro, .status.rejeitado, .status.falhou, .status.perdeu { background: var(--vermelho-claro); color: var(--vermelho); }
.vazio { text-align: center; color: var(--texto3); font-size: 14px; padding: 18px 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: #f6f9fd; border-radius: 12px; padding: 12px; text-align: center; }
.stat .n { font-size: 20px; color: var(--azul-esc); line-height: 1.1; }
.stat .l { font-size: 11px; color: var(--texto2); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; font-weight: 600; }

/* barra de baixo: a safe-area no próprio atalho padding */
.nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max); z-index: 200; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--borda); padding: 6px 4px calc(6px + var(--safe-bot)); box-shadow: 0 -4px 16px rgba(21, 101, 216, .08); }
.nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: var(--texto3); text-decoration: none; font-size: 11px; font-weight: 600; border-radius: 12px; min-height: 48px; justify-content: center; }
.nav a svg { width: 24px; height: 24px; }
.nav a.ativo { color: var(--azul); }
.nav a.destaque svg { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: linear-gradient(#ffd21f, #ffc400); color: var(--marrom); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); margin-top: -12px; }

/* ── depósito ── */
.valor-grande { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 10px 0 4px; }
.valor-grande .rs { font-size: 20px; color: var(--texto2); font-weight: 700; }
.valor-grande input { font-family: 'Lilita One', Impact, sans-serif; font-size: 44px !important; width: 7ch; min-width: 160px; border: 0; border-bottom: 3px solid var(--borda2); background: none; color: var(--azul-esc); text-align: center; outline: none; padding: 0 4px; border-radius: 0; }
.valor-grande input:focus { border-bottom-color: var(--azul); }
.fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.fichas button { padding: 12px 6px; border: 1.5px solid var(--borda2); border-radius: 12px; background: #fff; font-weight: 700; font-size: 16px; color: var(--texto); }
.fichas button.sel { border-color: var(--azul); background: var(--azul-claro); color: var(--azul-esc); box-shadow: inset 0 0 0 1px var(--azul); }
.qr-caixa { background: #fff; border: 1.5px solid var(--borda2); border-radius: 16px; padding: 12px; width: 232px; margin: 8px auto; }
.qr-caixa img { width: 100%; height: auto; image-rendering: pixelated; }
.copia-cola { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--texto2); background: #f6f9fd; border: 1.5px dashed var(--borda2); border-radius: 12px; padding: 10px; word-break: break-all; max-height: 72px; overflow: hidden; position: relative; }
.copia-cola::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: linear-gradient(transparent, #f6f9fd); }
.passos-pix { list-style: none; counter-reset: p; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.passos-pix li { counter-increment: p; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--texto2); }
.passos-pix li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: 0 0 auto; }
.aguardando { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--texto2); padding: 12px; background: #f6f9fd; border-radius: 12px; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--borda2); border-top-color: var(--azul); border-radius: 50%; animation: gira .7s linear infinite; flex: 0 0 auto; }
.confirmado { text-align: center; padding: 10px 0; }
.confirmado .ok-redondo { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(#5be04f, #2fb52f); display: grid; place-items: center; margin: 0 auto 12px; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); }
.confirmado .ok-redondo svg { width: 38px; height: 38px; stroke-width: 3; }

/* ── saque: abas e checklist ── */
.abas { display: flex; gap: 6px; background: #eef1f6; padding: 4px; border-radius: 14px; margin-bottom: 14px; }
.abas button { flex: 1; min-height: 44px; padding: 9px 6px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--texto2); white-space: nowrap; }
.abas button.ativa { background: #fff; color: var(--azul-esc); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.abas.quatro button { font-size: 13px; padding: 9px 4px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #f6f9fd; border: 1.5px solid transparent; }
.checklist li.ok { background: var(--verde-claro); }
.checklist li.pend { background: #fff8e1; border-color: #ffe08a; }
.checklist li.alvo { border-color: var(--laranja); box-shadow: 0 0 0 3px rgba(255, 138, 31, .2); }
.checklist .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px; }
.checklist li.ok .ic { background: var(--verde2); color: #fff; } .checklist li.ok .ic svg { width: 14px; height: 14px; stroke-width: 3; }
.checklist li.pend .ic { background: #fff; border: 2px solid var(--laranja); color: var(--laranja); } .checklist li.pend .ic svg { width: 13px; height: 13px; stroke-width: 3; }
.checklist .t { flex: 1; min-width: 0; font-size: 14px; }
.checklist .t b { display: block; font-weight: 600; }
.checklist .t span { display: block; font-size: 12.5px; color: var(--texto2); margin-top: 1px; }
.checklist .t .barra-prog { margin: 6px 0 0; height: 6px; }
.checklist .t .btn-texto { padding: 6px 0 0; font-size: 13px; }
.inline-form { background: #fff; border: 1.5px solid var(--borda2); border-radius: 14px; padding: 12px 12px 4px; margin: 8px 0 12px; }
.inline-form h4 { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; color: var(--azul-esc); }
.inline-form h4 svg { width: 18px; height: 18px; }
.saldo-saque { text-align: center; padding: 8px 0 2px; }
.saldo-saque .n { font-size: 36px; color: var(--azul-esc); line-height: 1.1; }
.saldo-saque .l { font-size: 12px; color: var(--texto2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ── agente ── */
.agente-pag { padding: 0 12px calc(24px + var(--safe-bot)); }
.agente-pag .topo { padding-left: 2px; padding-right: 2px; }

/* ══════════ lobby organizado (02/11): sino, atalhos, carrossel, prêmio diário, tutorial, dicas, avisos, oferta ══════════ */
.sino { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); color: #fff; flex: 0 0 auto; }
.sino svg { width: 22px; height: 22px; }
.sino .badge { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--vermelho); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #2a8ff0; line-height: 1; }

.atalhos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.atalho { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 12px 4px 10px; background: var(--cartao); border-radius: 16px; box-shadow: var(--sombra); text-decoration: none; color: var(--texto); min-width: 0; }
.atalho:active { transform: translateY(1px); }
.atalho b { font-size: 12px; font-weight: 700; line-height: 1.15; }
.atalho small { font-size: 10.5px; color: var(--texto3); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.at-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 3px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.at-ic svg { width: 22px; height: 22px; stroke-width: 2.4; }
.at-ic.amarelo { background: linear-gradient(#ffd21f, #ffc400); color: var(--marrom); }
.at-ic.verde { background: linear-gradient(#5be04f, #2fb52f); color: #fff; }
.at-ic.azul { background: linear-gradient(#3aa0ff, #1565d8); color: #fff; }
.at-ic.laranja { background: linear-gradient(#ffad5c, #ff8a1f); color: #fff; }
.atalho .pingo { position: absolute; top: 8px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--vermelho); border: 2px solid #fff; }

.carrossel { position: relative; }
.lobby > .carrossel:first-child { margin-top: 0; }   /* banners no topo do lobby, acima do painel (02/11) */
.car-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.car-trilho::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; min-height: 148px; padding: 16px 16px 16px 18px; color: #fff; text-decoration: none; }
.car-slide::before { content: ''; position: absolute; inset: 0; background: url(/assets/ui/hud/Bgr_Stripes.webp) repeat; background-size: 140px; opacity: .10; pointer-events: none; }
.car-slide.amarelo { background: linear-gradient(135deg, #ffcf1f, #ff8a1f); color: var(--marrom); }
.car-slide.roxo { background: linear-gradient(135deg, #8b5cf6, #5b2fd6); }
.car-slide.verde { background: linear-gradient(135deg, #44d16b, #1f9a3f); }
.car-slide.azul { background: linear-gradient(135deg, #38b6ff, #1565d8); }
.car-txt { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.car-chip { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(255, 255, 255, .25); padding: 3px 9px; border-radius: 999px; }
.car-txt b { font-size: 26px; line-height: 1.02; text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.car-sub { font-size: 12.5px; line-height: 1.35; opacity: .95; }
.car-btn { margin-top: 4px; display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 13px; background: #fff; color: var(--azul-esc); padding: 6px 10px 6px 12px; border-radius: 999px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .1); }
.car-btn svg { width: 16px; height: 16px; stroke-width: 3; }
.car-slide img { position: relative; z-index: 1; width: 84px; height: 84px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.car-pontos { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.car-pontos i { width: 7px; height: 7px; border-radius: 4px; background: var(--borda2); transition: width .2s, background .2s; }
.car-pontos i.on { width: 20px; background: var(--azul); }

.ck-status { font-size: 14px; color: var(--texto2); margin: 2px 0 12px; }
.ck-status b { color: var(--texto); }
.ck-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.ck-dia { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 14px; background: #f3f7fd; border: 2px solid var(--borda); }
.ck-dia small { font-size: 11px; font-weight: 700; color: var(--texto3); }
.ck-dia img { width: 30px; height: 30px; object-fit: contain; }
.ck-dia b { font-size: 13px; }
.ck-dia.grande { grid-column: span 2; background: linear-gradient(#fff6d0, #ffe58a); border-color: #ffd21f; }
.ck-dia.grande img { width: 40px; height: 40px; }
.ck-dia.feito { background: var(--verde-claro); border-color: #b9ebb4; opacity: .85; }
.ck-dia.hoje { border-color: var(--amarelo2); background: #fffbe6; box-shadow: 0 0 0 3px rgba(255, 196, 0, .3); }
.ck-ok { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--verde2); color: #fff; display: grid; place-items: center; }
.ck-ok svg { width: 14px; height: 14px; stroke-width: 3.5; }

.tut { text-align: center; padding-top: 4px; }
.tut-arte { width: 120px; height: 120px; margin: 0 auto 8px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(180deg, #4cc0ff, #1565d8); box-shadow: 0 10px 24px rgba(21, 101, 216, .3); }
.tut-arte img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.tut-num { font-size: 12px; font-weight: 700; color: var(--texto3); text-transform: uppercase; letter-spacing: .06em; }
.tut h3 { font-size: 26px; color: var(--azul-esc); margin: 2px 0 6px; }
.tut p { font-size: 15px; color: var(--texto2); line-height: 1.45; min-height: 66px; }
.tut-pontos { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.tut-pontos i { width: 8px; height: 8px; border-radius: 4px; background: var(--borda2); }
.tut-pontos i.on { width: 22px; background: var(--azul); }

.dicas { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dicas li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #f6f9fd; border: 1px solid var(--borda); }
.dicas img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.dicas b { font-size: 15px; }
.dicas p { font-size: 13px; color: var(--texto2); margin-top: 2px; line-height: 1.4; }

.avisos { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.avisos li { display: block; }
.avisos a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; min-height: 64px; text-decoration: none; color: var(--texto); border-radius: 14px; background: #f6f9fd; border: 1px solid var(--borda); }
.avisos a:active { transform: scale(.99); }
.avisos a.novo { background: var(--azul-claro); border-color: #cfe3ff; }
.avisos .av-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.avisos b { font-size: 14px; line-height: 1.3; }
.avisos p { font-size: 13px; line-height: 1.4; color: var(--texto2); overflow-wrap: anywhere; }
.avisos small { display: block; font-size: 11.5px; line-height: 1.3; color: var(--texto3); margin-top: 2px; }
.avisos-titulo { font-size: 13px; font-weight: 700; color: var(--texto3); text-transform: uppercase; letter-spacing: .05em; margin: 4px 2px 8px; }
.push-box { background: var(--azul-claro); border-radius: 14px; padding: 14px; margin-bottom: 18px; display: grid; gap: 10px; }
.push-box.ligado { background: #e8f8e8; }
.push-cab { display: flex; gap: 10px; align-items: flex-start; }
.push-cab > svg { width: 26px; height: 26px; flex: none; color: var(--azul); }
.push-box.ligado .push-cab > svg { color: #2fb52f; }
.push-cab b { font-size: 15px; }
.push-cab p { font-size: 13px; color: var(--texto2); margin-top: 2px; }
.push-box .b3d.sm { justify-self: start; }
.push-box .btn-texto { justify-self: start; }
.push-passos { margin: 0 0 0 20px; font-size: 14px; display: grid; gap: 6px; }
.push-passos svg.inline { width: 16px; height: 16px; vertical-align: -3px; }
.av-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; background: var(--azul-claro); color: var(--azul); }
.av-ic svg { width: 19px; height: 19px; }
.av-ic.deposito, .av-ic.cashback { background: var(--verde-claro); color: var(--verde-txt); }
.av-ic.checkin, .av-ic.bonus { background: #fff4c2; color: var(--marrom); }

.fichas.com-bonus button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px; }
.fichas.com-bonus button small { font-size: 10.5px; font-weight: 700; color: var(--verde-txt); }
.dep-oferta { margin: 0 0 12px; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #fff8d6, #ffeaa0); border: 2px solid #ffd21f; text-align: center; }
.dep-oferta .of-cab { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--marrom); }
.dep-oferta .of-cab svg { color: var(--laranja); }
.dep-oferta .of-cab b { font-size: 22px; }
.dep-oferta p { font-size: 13.5px; color: #6b4b00; margin: 4px 0 8px; }
.dep-oferta .of-joga { font-size: 14px; color: var(--marrom); margin-bottom: 10px; }
.dep-oferta .of-joga b { font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; font-size: 24px; color: var(--verde-txt); }
.dep-oferta .of-seguir { margin-top: 6px; font-size: 13px; color: var(--texto2); }

/* -- provas de saque, ranking diario, top semana -- */
.prova-lista { list-style: none; }
.prova-lista li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borda); }
.prova-lista li:last-child { border-bottom: 0; }
.prova-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: "Lilita One", Impact, sans-serif; font-size: 16px; color: #fff; flex: 0 0 auto; }
.prova-av.c0 { background: #1565d8; }
.prova-av.c1 { background: #e53935; }
.prova-av.c2 { background: #43a047; }
.prova-av.c3 { background: #f4511e; }
.prova-av.c4 { background: #8e24aa; }
.prova-av.c5 { background: #00897b; }
.prova-av.c6 { background: #d81b60; }
.prova-av.c7 { background: #3949ab; }
.prova-info { flex: 1; min-width: 0; }
.prova-email { font-size: 13px; font-weight: 600; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prova-tempo { font-size: 11px; color: var(--texto3); }
.prova-valor { text-align: right; flex: 0 0 auto; }
.prova-valor b { font-size: 14px; font-weight: 700; color: var(--verde-txt); display: block; }
.badge-af { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #fff4c2; color: var(--marrom); margin-left: 4px; vertical-align: middle; }
.rank-lista { list-style: none; }
.rank-lista li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--borda); }
.rank-lista li:last-child { border-bottom: 0; }
.rank-pos { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex: 0 0 auto; background: #8a97a8; }
.rank-pos.ouro { background: linear-gradient(135deg, #ffd21f, #f4a000); }
.rank-pos.prata { background: linear-gradient(135deg, #c0c0c0, #8a8a8a); }
.rank-pos.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); }
.rank-info { flex: 1; min-width: 0; }
.rank-nome { font-size: 13px; font-weight: 600; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-sub { font-size: 11px; color: var(--texto3); }
.rank-valor { text-align: right; flex: 0 0 auto; }
.rank-valor b { font-size: 14px; font-weight: 700; color: var(--verde-txt); }
.top-semana li .rank-pos { width: 24px; height: 24px; font-size: 11px; }
.cab-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--texto3); font-weight: 500; margin-top: 2px; }
.cab-sub svg { width: 14px; height: 14px; }

/* ── instalar o app (#instalar) ── */
a.selo { text-decoration: none; }
.ins-topo { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ins-topo img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 16px rgba(21, 101, 216, .25); flex: 0 0 auto; }
.ins-topo b { font-size: 17px; color: var(--azul-esc); }
.ins-topo p { font-size: 14px; color: var(--texto2); line-height: 1.4; margin-top: 2px; }
.ins-alerta { background: var(--azul-claro); border-radius: 14px; padding: 14px; margin-bottom: 14px; display: grid; gap: 10px; }
.ins-alerta b { font-size: 15px; color: var(--azul-esc); }
.ins-alerta p { font-size: 14px; color: var(--texto2); line-height: 1.4; }
.ins-nota { font-size: 13px; color: var(--texto3); line-height: 1.45; margin-top: 8px; }
.ins-nota svg.inline, .ins-alerta svg.inline { width: 16px; height: 16px; vertical-align: -3px; }
.ins-passos { list-style: none; display: grid; gap: 16px; }
.ins-passo { background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 12px; display: grid; gap: 10px; }
.ins-txt { display: flex; gap: 10px; align-items: center; }
.ins-txt p { font-size: 15px; color: var(--texto); line-height: 1.35; }
.ins-num { flex: 0 0 28px; height: 28px; border-radius: 14px; background: var(--azul); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.ins-foto { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--borda); display: block; }
.ins-cartao { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 12px; row-gap: 10px; align-items: start; padding: 12px; }
.ins-cartao > .b3d { grid-column: 2 / 4; justify-self: start; }
.ins-cartao > img { grid-row: 1 / 3; }
.ins-cartao > .ins-fora { grid-column: 3; grid-row: 1; }
.ins-cartao > img { width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto; }
.ins-c-txt { min-width: 0; display: grid; gap: 1px; align-self: center; }
.ins-c-txt b { font-size: 15px; color: var(--azul-esc); }
.ins-c-txt small { font-size: 12px; color: var(--texto3); }
.ins-fora { width: 44px; height: 44px; margin: -6px -6px 0 0; border-radius: 50%; display: grid; place-items: center; color: var(--texto3); flex: 0 0 auto; touch-action: manipulation; }
.ins-fora svg { width: 18px; height: 18px; }
/* desenho do Chrome no Android: mesmo destaque amarelo dos prints do iPhone */
.mk { border-radius: 12px; border: 1px solid var(--borda); background: #fff; overflow: hidden; font-family: Roboto, system-ui, sans-serif; color: #202124; }
.mk-cinza { background: #e9edf2; padding: 18px 14px; display: grid; justify-items: end; }
.mk-alvo { outline: 4px solid #ffcd00; outline-offset: 3px; border-radius: 10px; }
.mk-barra { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f1f3f4; }
.mk-casa svg { width: 20px; height: 20px; color: #5f6368; display: block; }
.mk-url { flex: 1; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 14px; color: #3c4043; }
.mk-abas { width: 20px; height: 20px; border: 2px solid #5f6368; border-radius: 5px; font-size: 11px; font-weight: 700; display: grid; place-items: center; color: #5f6368; }
.mk-pontos { width: 28px; height: 32px; display: grid; align-content: center; justify-items: center; gap: 3px; }
.mk-pontos i { width: 4px; height: 4px; border-radius: 2px; background: #5f6368; }
.mk-pagina { height: 70px; background: linear-gradient(180deg, #4cc0ff, #1565d8); display: grid; align-content: center; gap: 6px; padding: 0 16px; }
.mk-pagina i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .55); width: 60%; }
.mk-pagina i + i { width: 40%; } .mk-pagina i + i + i { width: 50%; }
.mk-menu { list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); width: 72%; padding: 6px 0; }
.mk-menu li { padding: 11px 16px; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.mk-menu li svg { width: 20px; height: 20px; color: #1a73e8; }
.mk-menu li.mk-alvo { font-weight: 600; margin: 2px 6px; }
.mk-dialogo { background: #fff; border-radius: 20px; padding: 18px; width: 100%; display: grid; gap: 14px; justify-self: center; }
.mk-dialogo > b { font-size: 18px; font-weight: 500; }
.mk-app { display: flex; gap: 12px; align-items: center; }
.mk-app img { width: 44px; height: 44px; border-radius: 10px; }
.mk-app b { font-size: 15px; display: block; } .mk-app small { font-size: 13px; color: #5f6368; }
.mk-botoes { display: flex; justify-content: flex-end; gap: 18px; font-weight: 600; font-size: 15px; color: #1a73e8; }
.mk-botoes span { padding: 6px 10px; }
.mk-tela { background: linear-gradient(160deg, #23395d, #4a6fa5); padding: 18px; }
.mk-icones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; justify-items: center; }
.mk-icones i { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .25); }
.mk-icones span { display: grid; justify-items: center; gap: 4px; padding: 4px; }
.mk-icones span img { width: 48px; height: 48px; border-radius: 14px; }
.mk-icones span small { font-size: 12px; color: #fff; }

/* ── 06/11: Pix esperando (faixa no lobby), oferta do 1º depósito em dobro e destaque do painel da corrida ── */
.faixa-pix { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--marrom);
  background: linear-gradient(90deg, #fff3bf, #ffe88a); box-shadow: var(--sombra); font-size: 14px; line-height: 1.3; }
.faixa-pix svg { width: 22px; height: 22px; flex: 0 0 auto; }
.faixa-pix span { flex: 1; }
.faixa-pix-btn { flex: 0 0 auto; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 12px; background: linear-gradient(#5be04f, #2fb52f);
  color: #fff; font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; font-size: 16px; text-transform: uppercase; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.oferta-dobro { text-align: center; padding: 4px 0 2px; }
.oferta-moeda { width: 84px; height: 84px; margin: 0 auto 6px; }
.oferta-kick { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-txt); background: var(--verde-claro);
  padding: 4px 10px; border-radius: 999px; }
.oferta-titulo { font-size: 28px; line-height: 1.08; color: var(--azul-esc); margin: 10px 0 14px; }
.oferta-conta { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.oferta-conta > div { flex: 1; max-width: 150px; padding: 10px 8px; border-radius: 16px; background: var(--fundo); border: 2px solid var(--borda); display: grid; gap: 2px; }
.oferta-conta > div.ganha { background: #fff8d6; border-color: #ffe27a; }
.oferta-conta small { font-size: 12px; font-weight: 700; color: var(--texto2); }
.oferta-conta b { font-size: 26px; color: var(--azul-esc); }
.oferta-conta .ganha b { color: var(--verde-txt); }
.oferta-conta > svg { align-self: center; color: var(--texto3); }
.destaque-corrida { box-shadow: 0 0 0 4px #ffd21f, var(--sombra) !important; transition: box-shadow .2s; }

/* ── 06/11: suporte em conversa, extrato clicável no perfil ── */
.suporte-cartao { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 14px; border-radius: var(--raio); text-decoration: none; color: var(--texto);
  background: var(--azul-claro); border: 2px solid #cfe3ff; }
.suporte-cartao.novidade { background: #fff8d6; border-color: #ffe27a; }
.sup-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--azul); color: #fff; flex: 0 0 auto; }
.sup-txt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.sup-txt b { font-size: 16px; }
.sup-txt small { font-size: 13px; color: var(--texto2); }
.filtro-extrato { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.filtro-extrato button { flex: 1 0 auto; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--borda); background: #fff; font-size: 13px; font-weight: 700; color: var(--texto2); }
.filtro-extrato button.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }
.lista.extrato li, .lista.conversas li { padding: 0; display: block; }
.extrato-item, .conversa-item { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 2px; text-align: left; color: var(--texto); text-decoration: none; }
.extrato-item:active, .conversa-item:active { background: var(--fundo); }
.ext-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: var(--fundo); color: var(--azul); }
.ext-ic svg { width: 18px; height: 18px; }
.ext-ic.deposito { background: var(--verde-claro); color: var(--verde-txt); }
.ext-ic.saque { background: #fff0e0; color: #c25a00; }
.ext-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ext-txt .l1 { font-weight: 700; font-size: 14px; line-height: 1.3; }
.nw { white-space: nowrap; }
.ext-txt .l2 { font-size: 12px; color: var(--texto2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ext-dir { display: grid; justify-items: end; gap: 3px; flex: 0 0 auto; }
.ext-dir small { font-size: 11px; color: var(--azul); font-weight: 700; white-space: nowrap; }
.status.ganhou { background: var(--verde-claro); color: var(--verde-txt); }
.status.perdeu, .status.cancelado { background: #eef1f6; color: var(--texto2); }
.titulo-lista { font-size: 16px; font-weight: 700; margin: 18px 0 4px; }
.ref-transacao { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--fundo); border: 2px solid var(--borda); margin-bottom: 12px; }
.ref-transacao > div { display: grid; gap: 1px; }
.ref-transacao small { color: var(--texto2); font-size: 12px; }
.chat-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--borda); }
.chat-falas { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; }
.fala { max-width: 86%; padding: 9px 12px; border-radius: 16px; }
.fala small { display: block; font-size: 11px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.fala p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.35; }
.fala.minha { align-self: flex-end; background: var(--azul); color: #fff; border-bottom-right-radius: 6px; }
.fala.deles { align-self: flex-start; background: var(--fundo); color: var(--texto); border: 1px solid var(--borda); border-bottom-left-radius: 6px; }
.chat-espera { color: var(--texto3); }
.chat-envio { display: flex; gap: 8px; align-items: flex-end; position: sticky; bottom: 0; padding: 10px 0 2px; background: var(--cartao); }
.chat-envio textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 140px; resize: none; padding: 11px 12px; border-radius: 14px; border: 2px solid var(--borda2); font: inherit; font-size: 16px; }
.chat-envio .b3d { width: 48px; min-height: 46px; padding: 0; flex: 0 0 48px; }
/* sem baú (só afiliado 50% sem agente tem): o VIP ocupa a linha inteira em vez de ficar com um buraco ao lado */
.grade2:has(> #card-bau[hidden]) > #card-vip { grid-column: 1 / -1; }

/* ══════════ 06/11: acabamento pra todo celular (320 a 430 px) ══════════
   Prints em 320·360·375·390·414·430 no Safari (ferramentas/prints-site.mjs): nada grudado, nada cortado,
   botão em uma linha só, alvo de toque ≥ 44 px. */
h1, h2, h3, .oferta-titulo, .car-txt b { text-wrap: balance; }
p, .sub, .mini { text-wrap: pretty; }
svg.mini-ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.b3d { line-height: 1.1; text-align: center; }
/* botão 3D encolhe a letra com a tela em vez de quebrar em duas linhas */
.b3d.grande { font-size: clamp(19px, 6.1vw, 24px); }
.b3d.zap { font-size: clamp(15px, 4.6vw, 17px); }
.oferta-conta b { font-size: clamp(20px, 6.6vw, 26px); white-space: nowrap; }
.folha-cab h2 { font-size: clamp(20px, 6.4vw, 24px); line-height: 1.1; }
.saldo-saque .n, .num-grande, .stat .n { white-space: nowrap; }
#btn-dep-cancelar { min-height: 44px; }
.topo .b3d.sm { white-space: nowrap; }

@media (max-width: 374px) {
  .folha-corpo { padding-left: 14px; padding-right: 14px; }
  .folha-cab { padding-left: 16px; }
  .b3d { font-size: 18px; padding-left: 14px; padding-right: 14px; }
  .b3d.grande { font-size: 17px; }
  .b3d.sm { font-size: 15px; padding: 8px 12px; }
  .b3d.xs { font-size: 13px; padding: 6px 10px; }
  /* barra do topo: o saldo é o que importa — o logo encolhe pra pílula mostrar o valor inteiro */
  .barra { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .barra .logo { height: 30px; }
  .pilula { max-width: none; flex: 0 1 auto; min-width: 0; font-size: 14px; gap: 4px; padding-left: 6px; }
  .pilula img { width: 20px; height: 20px; }
  .pilula .mais { width: 30px; height: 30px; }
  /* landing */
  .topo .logo { height: 36px; }
  .topo .btn-texto { padding: 8px 6px; }
  .hero { padding: 18px 14px 22px; }
  .hero-txt { max-width: 66%; }
  .hero h1 { font-size: 28px; }
  .hero .chip-hero { font-size: 11px; }
  .hero .b3d { padding: 12px 14px; }
  .selo { font-size: 11px; padding: 10px 4px; }
  /* lobby */
  .painel-corrida .chamada { font-size: 28px; }
  .atalho small { display: none; }
  .atalho { padding: 12px 2px 10px; }
  .car-txt b { font-size: 22px; }
  .car-slide img { width: 68px; height: 68px; }
  .corrida-valor { gap: 6px; }
  .corrida-valor .passo { width: 44px; height: 44px; }
  /* extrato e filtros */
  .filtro-extrato button { padding: 6px 8px; font-size: 12.5px; }
  .abas.quatro button { font-size: 12.5px; padding: 9px 2px; }
  .fichas button { font-size: 15px; padding: 12px 4px; }
  .oferta-conta { gap: 6px; }
  .ck-grade { gap: 6px; }
  .ck-dia b { font-size: 12px; }
}
/* Material para Marketing: passo a passo do app de notificações (07/11) */
.mkt-passos { margin: 10px 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--texto2); line-height: 1.4; }
.mkt-passos b { color: var(--texto); }

/* "Seja um agente" (07/11): lista de benefícios do cadastro de agente */
.ag-benefs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ag-benef { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 14px; }
.ag-benef-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(56, 182, 255, .12); color: var(--azul); }
.ag-benef-ic svg { width: 18px; height: 18px; }
.ag-benef b { display: block; font-size: 14px; }
.ag-benef small { display: block; font-size: 12.5px; opacity: .7; margin-top: 1px; }
