:root{--marketing-safe-area:env(safe-area-inset-bottom)}
.marketing-consent[hidden],.marketing-error[hidden]{display:none}
.marketing-consent{box-sizing:border-box;position:fixed;z-index:10000;bottom:16px;right:16px;width:390px;max-width:calc(100vw - 24px);padding:16px;background:#211e24;color:#fff;border:1px solid #756a78;border-radius:16px;box-shadow:0 4px 24px #0006;font-family:inherit}
.marketing-consent h2{font-family:inherit;font-weight:600;margin:0 0 4px;font-size:15px;line-height:1.5}
.marketing-consent p{font-size:13px;line-height:1.6;margin:0 0 4px;color:#e5dee7}
.marketing-info{display:flex;font-size:12px;margin:0 0 8px}.marketing-consent a{color:#e5dee7;font-size:12px;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.marketing-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.marketing-actions button{font-family:inherit;font-weight:600;font-size:14px;min-height:44px;color:#fff;background:#423b48;border:1px solid #c0b3c7;border-radius:8px;padding:8px;cursor:pointer}.marketing-actions button:hover{background:#574b60}.marketing-actions button:disabled{opacity:.6}
.marketing-actions button:focus-visible,.marketing-settings:focus-visible,.marketing-privacy:focus-visible{outline:2px solid #ffb9ca;outline-offset:3px}
.marketing-settings{display:inline-flex;align-items:center;font:inherit;font-size:13px;color:inherit;background:transparent;border:0;min-height:44px;padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.marketing-footer{text-align:center;padding:16px}.marketing-consent .marketing-error{color:#ffd4d4;margin-top:8px}
footer .marketing-legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}footer .marketing-legal-links a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}footer .language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 10px}footer .language-switcher a[aria-current]{font-weight:700;text-decoration:underline}
body.marketing-consent-visible{padding-bottom:210px}
@media(max-width:520px){.marketing-consent{bottom:8px;right:12px;padding:12px 14px calc(12px + var(--marketing-safe-area));border-radius:14px}.marketing-consent h2{font-size:14px}.marketing-consent p{font-size:12px}.marketing-info{margin-bottom:4px}}
/* Compact bottom card: the primary CTA and introductory checklist stay clear. */
.marketing-consent .consent-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.marketing-consent{padding:12px 16px;border-color:#8b7b91;box-shadow:0 -10px 28px #000b}.marketing-consent .consent-copy{font-size:13px;line-height:1.45;margin:0 0 5px}.marketing-consent .marketing-privacy{display:inline;position:relative;min-height:0;white-space:nowrap;line-height:1.45;font-size:12px;margin-left:0}.marketing-privacy::after{content:'';position:absolute;inset:-18px -3px}.marketing-consent .consent-memory{font-size:13px;line-height:1.5;margin:0 0 12px;color:#c5cedb}.marketing-actions button{padding:8px;min-height:44px}
@media(max-width:520px){.marketing-consent{bottom:0;right:0;width:100%;max-width:100%;padding:10px 16px calc(10px + var(--marketing-safe-area));border-radius:14px 14px 0 0;border-left:0;border-right:0;border-bottom:0}}

.marketing-settings{border:1px solid #9ba9be;border-radius:8px;padding:8px 16px;text-decoration:none}.marketing-footer{padding-bottom:76px}

.marketing-actions button{background:#51485b;border-color:#b8c3d4}.marketing-consent .consent-memory{color:#e2e6ee}.marketing-consent::before{content:'';position:absolute;left:0;right:0;top:-18px;height:18px;background:linear-gradient(transparent,#211e24cc);pointer-events:none;border-radius:12px 12px 0 0}.marketing-footer{border-top:1px solid #37323c}

.marketing-actions button{background:#62566e;border-color:#c5cede}.signup-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px 16px 84px!important}.signup-footer .language-switcher{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.signup-footer .marketing-settings{max-width:100%}.consent{line-height:1.5}.consent a{display:inline;min-height:0;padding:0;text-underline-offset:3px}#passwordForm .hint span{text-wrap:balance;line-height:1.6}

.marketing-actions button{background:#2a2a30;border-color:#92929e}.marketing-actions button:hover{background:#383840}.consent a{white-space:nowrap}.consent input{appearance:none;border:1.5px solid #9aa5b5;border-radius:3px;background:#101014;display:grid;place-content:center;accent-color:var(--red,#e4002b)}.consent input::before{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg);opacity:0}.consent input:checked{background:var(--red,#e4002b);border-color:var(--red,#e4002b)}.consent input:checked::before{opacity:1}.consent input:focus-visible{outline:2px solid #fff;outline-offset:3px}#passwordForm .hint>span{text-wrap:wrap;max-width:none}.password-hint-phrase{white-space:nowrap}

#passwordForm .hint .password-hint-phrase{white-space:nowrap;text-wrap-mode:nowrap}.consent input{border-width:2px;border-color:#bcc4d0}

#view-signup .signup-footer a[data-lang]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px}#view-signup .signup-footer a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
