.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 1000; inset: auto 16px 16px; width: min(620px, calc(100% - 32px)); margin-inline: auto; padding: 20px 22px; border: 1px solid #e4e7f3; border-radius: 18px; background: #fff; box-shadow: 0 18px 60px rgba(21,28,57,.2); color: #252a3b; font-family: Inter, Arial, sans-serif; }
.analytics-consent h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
.analytics-consent p { margin: 0; color: #606a80; font-size: 13px; line-height: 1.5; }
.analytics-consent > a { display: inline-block; margin-top: 8px; color: #6248df; font-size: 12px; text-underline-offset: 2px; }
.analytics-consent__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.analytics-consent__actions button { min-height: 42px; padding: 0 16px; border: 1px solid #e0e3ef; border-radius: 11px; background: #fff; color: #30354a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.analytics-consent__actions .analytics-consent__accept { border-color: #6648ee; background: linear-gradient(100deg,#7041f3,#4399f4); color: #fff; }
.analytics-consent__actions button:focus-visible, .site-footer__cookie-settings:focus-visible { outline: 3px solid rgba(112,87,255,.3); outline-offset: 2px; }
.site-footer__cookie-settings { min-height: 40px; margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: #394157; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.site-footer__cookie-settings:hover { color: #704aff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .analytics-consent { inset: auto 10px 10px; width: calc(100% - 20px); padding: 17px; border-radius: 16px; } .analytics-consent__actions { flex-direction: column-reverse; } .analytics-consent__actions button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .analytics-consent * { scroll-behavior: auto; } }
