.analytics-consent[hidden],.analytics-preferences[hidden]{display:none!important}
.analytics-consent{box-sizing:border-box;position:fixed;z-index:1200;inset:auto 20px 20px auto;width:min(600px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow:auto;background:#fff;color:#39215c;padding:24px;box-shadow:0 8px 32px #39215c30;border-radius:12px;font-family:inherit}
.analytics-consent h2{font-size:24px;line-height:1.2;margin:0 0 12px;font-weight:600;letter-spacing:normal}
.analytics-consent p{font-size:16px;line-height:1.5;margin:0 0 20px;max-width:70ch}
.analytics-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-consent-actions{display:flex;gap:12px;flex-wrap:wrap}
.analytics-consent-actions button{flex:1;min-height:46px;background:#39215c;color:#fff;border:0;border-radius:6px;padding:12px 16px;font:inherit;font-size:16px;cursor:pointer}
.analytics-consent-actions button:hover{background:#6846a0}
.analytics-consent-actions button:active{transform:scale(.98)}
.analytics-consent-actions button:focus-visible,.analytics-preferences:focus-visible,.analytics-consent a:focus-visible{outline:3px solid #6846a0;outline-offset:4px}
.analytics-preferences{position:fixed;z-index:1100;bottom:12px;left:12px;padding:10px 14px;min-height:44px;background:#ede6f7;color:#39215c;border:0;border-radius:6px;font:inherit;font-size:14px;cursor:pointer}
@media(max-width:480px){.analytics-consent{inset:auto 12px 12px;width:calc(100% - 24px);padding:20px}.analytics-consent-actions{flex-direction:column}.analytics-consent h2{font-size:22px}}
