/* Scoped consent controls preserve NuNeSu's cream/lilac palette. */
.analytics-consent[hidden], [data-analytics-preferences][hidden] { display:none!important; }
.analytics-consent { position:fixed; z-index:1000; bottom:20px; left:20px; width:min(520px,calc(100% - 40px)); max-height:calc(100dvh - 40px); overflow:auto; background:#fffaf1; color:#29244c; border:1px solid #b7a6da; border-radius:20px; box-shadow:0 12px 45px #29244c26; padding:24px; font-family:inherit; }
.analytics-consent h2 { font-family:inherit; font-size:1.2rem; line-height:1.3; margin:0 30px 12px 0; letter-spacing:0; }
.analytics-consent p { font-size:.9rem; line-height:1.55; margin:0 0 12px; color:#494361; }
.analytics-consent a { color:#60468c; text-decoration:underline; }
.analytics-consent-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0 12px; }
.analytics-consent-actions button { appearance:none; border:1px solid #7661a8; border-radius:11px; background:#eee7f8; color:#332450; padding:12px; min-height:48px; font:inherit; font-size:.9rem; font-weight:700; cursor:pointer; }
.analytics-consent-actions button:hover { background:#e1d5f3; }
.analytics-consent button:focus-visible,.analytics-consent a:focus-visible,.analytics-preferences:focus-visible { outline:3px solid #59448c; outline-offset:3px; }
.analytics-close { position:absolute; top:12px; right:12px; width:36px; height:36px; border:0; border-radius:50%; color:#332450; background:transparent; font-size:1.5rem; cursor:pointer; }
.analytics-consent .analytics-status { font-size:.8rem; margin:0; }
.analytics-preferences { appearance:none; border:0; padding:0; color:inherit; background:none; text-decoration:underline; font:inherit; cursor:pointer; }
@media(max-width:480px) { .analytics-consent { left:12px; bottom:12px; width:calc(100% - 24px); padding:20px; max-height:calc(100dvh - 24px); } .analytics-consent-actions { gap:8px; } }
