.up-consent,.up-consent *,.up-consent-reopen{box-sizing:border-box}
.up-consent{position:fixed;left:24px;bottom:24px;z-index:10000;width:min(620px,calc(100vw - 48px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;padding:22px 24px;background:#fff;color:#251a38;border-radius:16px;box-shadow:0 8px 40px #24104426;font-family:inherit;font-size:14px;line-height:1.6}
.up-consent[hidden],.up-consent [hidden],.up-consent-reopen[hidden]{display:none!important}
.up-consent-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.up-consent h2{font-family:inherit;margin:0;font-size:21px;font-weight:600;line-height:1.3}
.up-consent p{margin:10px 0 16px;max-width:66ch;color:#554466;font-size:14px;line-height:1.6}
.up-consent button{font:inherit;cursor:pointer;min-height:44px;transition:background-color .18s ease-out,color .18s ease-out;border-radius:8px}
.up-consent-actions{display:flex;gap:8px;flex-wrap:wrap}
.up-consent-actions button{flex:1 1 auto;padding:9px 13px;border:1px solid #c5b9d5;background:#f5f1fc;color:#392064;font-weight:600;white-space:nowrap}
.up-consent-actions button:hover{background:#e9e0f6}
.up-consent-actions [data-consent-customize]{background:#fff}
.up-consent-actions [data-consent-save]{background:#6037cf;border-color:#6037cf;color:#fff}
.up-consent-actions [data-consent-save]:hover{background:#49269f}
.up-consent-option{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-top:1px solid #e6deee;cursor:pointer}
.up-consent-option input{appearance:auto;accent-color:#6037cf;width:20px;height:20px;margin:3px 0 0;flex:none}
.up-consent-option strong,.up-consent-option small{display:block}
.up-consent-option small{color:#554466;font-size:13px;line-height:1.5;margin-top:3px}
.up-consent .up-consent-note{font-size:12px;margin:0 0 16px}
.up-consent-policy{display:inline-block;margin-top:12px;color:#513093;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.up-consent .up-consent-close{display:grid;place-items:center;width:44px;min-width:44px;margin:-8px -8px -8px 0;border:0;background:#f5f1fc;color:#513093;padding:10px}
.up-consent-close svg{width:20px;height:20px}
.up-consent button:focus-visible,.up-consent input:focus-visible,.up-consent a:focus-visible,.up-consent-reopen:focus-visible{outline:3px solid #7953d4;outline-offset:3px}
.up-consent ::selection{background:#e5d8fa;color:#251a38}
.up-consent-reopen{font:inherit;color:inherit;border:0;background:transparent;padding:8px 0;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.up-consent-reopen-fixed{position:fixed;left:16px;bottom:16px;z-index:9000;background:#fff;color:#513093;padding:8px 14px;border-radius:8px;box-shadow:0 3px 16px #2410441a;font-size:12px}
@media(max-width:600px){.up-consent{left:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:calc(100dvh - 36px);padding:18px;border-radius:14px}.up-consent h2{font-size:19px}.up-consent-actions{display:grid;grid-template-columns:1fr 1fr}.up-consent-actions [data-consent-customize],.up-consent-actions [data-consent-save]{grid-column:1/-1}.up-consent-actions button{white-space:normal;font-size:13px;padding:9px 8px}.footer-bottom .up-consent-reopen{font-size:12px}}
@media(prefers-reduced-motion:reduce){.up-consent button{transition:none}}
