/* afy-consent.css — banner e preferências de cookies (frente C). Isolado com prefixo .afyc-; tema escuro próprio (vale em qualquer página). */
.afyc-banner,.afyc-box,.afyc-fab{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#f4f4f6;box-sizing:border-box}
.afyc-banner *,.afyc-box *{box-sizing:border-box}
.afyc-banner[hidden],.afyc-ov[hidden],.afyc-fab[hidden]{display:none!important}
.afyc-banner{position:fixed;z-index:2147483000;left:16px;right:16px;bottom:16px;margin:0 auto;max-width:360px;padding:12px 14px;
  background:#15151cF2;border:1px solid #2e2e3a;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.45);backdrop-filter:blur(8px)}
.afyc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.afyc-h{margin:0 0 8px;font-size:17px;font-weight:600;line-height:1.3;color:#fff}
.afyc-p{margin:0 0 12px;font-size:14px;line-height:1.55;color:#d0d0d8}
.afyc-banner .afyc-p{margin:0 0 10px;font-size:13px;line-height:1.45}
.afyc-p a,.afyc-det summary{color:#c9a6ff;text-decoration:underline;cursor:pointer}
.afyc-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.afyc-banner .afyc-btns{align-items:center;gap:8px;margin:0}
/* Aceitar e Recusar têm o MESMO peso visual: nenhum é destacado sobre o outro */
.afyc-btn{flex:1 1 180px;min-height:44px;padding:10px 16px;border-radius:10px;border:1px solid #5a5a6e;background:#23232e;color:#fff;
  font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.afyc-banner .afyc-btn{flex:0 0 auto;min-height:32px;padding:5px 14px;border-radius:8px;font-size:13px}
.afyc-btn:hover{background:#2e2e3c;border-color:#8a8aa0}
.afyc-lnk{margin-left:auto;padding:4px 2px;border:0;background:none;color:#a9a9b8;font:inherit;font-size:12.5px;text-decoration:underline;cursor:pointer}
.afyc-lnk:hover{color:#fff}
.afyc-lnk:focus-visible{outline:3px solid #c9a6ff;outline-offset:2px}
.afyc-btn:focus-visible,.afyc-x:focus-visible,.afyc-fab:focus-visible,.afyc-row input:focus-visible,.afyc-det summary:focus-visible,.afyc-p a:focus-visible,
.afyc-box:focus-visible{outline:3px solid #c9a6ff;outline-offset:2px}
/* o banner recebe foco por script (acessibilidade): sem contorno no cartão; os botões mantêm o deles */
.afyc-banner:focus,.afyc-banner:focus-visible{outline:none}
.afyc-ov{position:fixed;inset:0;z-index:2147483001;background:rgba(5,5,10,.72);display:flex;align-items:center;justify-content:center;padding:16px}
.afyc-box{position:relative;width:100%;max-width:640px;max-height:calc(100vh - 32px);overflow:auto;padding:22px;background:#15151c;border:1px solid #2e2e3a;border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.afyc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.afyc-x{flex:0 0 auto;width:40px;height:40px;border-radius:10px;border:1px solid #3a3a48;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.afyc-cat{border:1px solid #2e2e3a;border-radius:12px;padding:14px 14px 4px;margin:0 0 12px;background:#1b1b24}
.afyc-row{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.afyc-row input{width:20px;height:20px;accent-color:#9034e8;margin:0;flex:0 0 auto}
.afyc-row label{font-weight:600;font-size:15px;color:#fff}
.afyc-tag{margin-left:auto;font-size:12px;padding:3px 8px;border-radius:999px;background:#2b2140;color:#e2d4ff}
.afyc-det{margin:0 0 10px;font-size:13px}
.afyc-tw{overflow-x:auto;margin:10px 0}
.afyc-tbl{width:100%;border-collapse:collapse;font-size:12.5px;color:#d0d0d8}
.afyc-tbl th,.afyc-tbl td{text-align:left;vertical-align:top;padding:6px 8px;border-bottom:1px solid #2e2e3a}
.afyc-tbl th{color:#fff;font-weight:600}
.afyc-tbl td:first-child{font-family:ui-monospace,Menlo,Consolas,monospace;word-break:break-word}
.afyc-note{font-size:12.5px}
.afyc-st{min-height:1em;margin:10px 0 0;font-size:13px;color:#9be3b0}
.afyc-fab{position:fixed;z-index:2147482999;left:12px;bottom:12px;padding:4px 10px;opacity:.7;border-radius:999px;border:1px solid #3a3a48;background:#15151cE6;color:#e8e8ee;font-size:12px;cursor:pointer}
@media (max-width:560px){.afyc-banner{left:8px;right:8px;bottom:8px;max-width:none}.afyc-box .afyc-btn{flex-basis:100%}}
@media (prefers-reduced-motion:reduce){.afyc-btn{transition:none}}
/* 19/11/2026: celular — 100vh do iPhone inclui a área atrás da barra do navegador e cortava o fim da janela (botões);
   dvh é a altura visível. No painel, aviso e botão de preferências ficam acima do menu inferior em vez de por cima. */
.afyc-box{max-height:calc(100dvh - 32px)}
.afyc-ov{padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}
.afyc-banner{max-height:calc(100dvh - 16px);overflow:auto}
@media (max-width:560px){.afyc-banner{bottom:max(8px,env(safe-area-inset-bottom))}}
@media (max-width:768px){body:has(.mobile-bottom-nav) .afyc-banner,body:has(.mobile-bottom-nav) .afyc-fab{bottom:calc(var(--bottomnav-space,70px) + 8px)}}
