/* Preferências opcionais de estatísticas. Sem animação, sem alterar a hero ou o onboarding. Compacto: não cobre o botão principal. */
.analytics-consent{position:fixed;right:20px;bottom:20px;z-index:80;display:flex;align-items:center;gap:16px;width:560px;max-width:calc(100% - 40px);padding:12px 12px 12px 18px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:#101724;color:#ecebe8;box-shadow:0 8px 32px rgba(0,0,0,.35);font:13px/1.45 var(--font-sans,system-ui)}
.analytics-consent p{flex:1;min-width:0;margin:0;font:inherit}
.analytics-consent a{color:#9cc7ff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.analytics-consent__actions{display:flex;flex:none;gap:8px}
.analytics-consent__actions button{min-height:40px;padding:8px 16px;border:1px solid rgba(255,255,255,.28);border-radius:24px;background:transparent;color:#fff;font:600 12px/1.2 var(--font-sans,system-ui);cursor:pointer}
.analytics-consent__actions button:last-child{border-color:#2f72e6;background:#1f5fd6}
.analytics-consent__actions button:focus-visible,.analytics-settings:focus-visible{outline:2px solid #9cc7ff;outline-offset:4px}
.analytics-consent__actions button:hover{background:rgba(156,199,255,.12)}
.analytics-consent__actions button:last-child:hover{background:#2f72e6}
.analytics-settings{display:inline;padding:0;margin:0 0 0 12px;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:809.98px){
  .analytics-consent{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;max-width:none;gap:10px;padding:10px 10px 10px 14px;border-radius:14px;font-size:12px;line-height:1.4}
  .analytics-consent__actions{flex-direction:column;gap:6px}
  .analytics-consent__actions button{min-height:36px;padding:6px 14px;font-size:12px}
  body:has(.mobile-cta:not([data-hidden=true])) .analytics-consent{bottom:calc(84px + env(safe-area-inset-bottom))}
  .analytics-consent__actions button{white-space:nowrap}
  .analytics-settings{display:block;margin:8px 0 0}
}
