.cookie-preferences[hidden], .cookie-preferences [hidden] { display: none; }
.cookie-preferences, .cookie-preferences * { box-sizing: border-box; }
.cookie-preferences { --cookie-bottom: max(16px, env(safe-area-inset-bottom)); position: fixed; z-index: 2147483000; right: 16px; bottom: var(--cookie-bottom); width: min(352px, calc(100vw - 32px)); padding: 15px; border: 1px solid #abc6ff; border-radius: 12px; color: #10243d; background: #fff; box-shadow: 0 8px 28px #163b7426; font: 400 .78rem/1.45 Roboto, Arial, sans-serif; max-height: calc(100dvh - var(--cookie-bottom) - 16px); overflow-y: auto; }
body.bottom-rate-ticker-always .cookie-preferences { --cookie-bottom: calc(76px + max(9px, env(safe-area-inset-bottom))); }
.cookie-preferences__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cookie-preferences .cookie-preferences__heading h2 { margin: 0; color: #10243d; font: 700 .9rem/1.3 Montserrat, Arial, sans-serif; letter-spacing: 0; }
.cookie-preferences p { margin: 0 0 8px; color: #294362; font-size: inherit; line-height: inherit; }
.cookie-preferences a { color: #0b3eaa; text-decoration: underline; text-underline-offset: 3px; }
.cookie-preferences__current { font-weight: 600; }
.cookie-preferences__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cookie-preferences__actions button { min-height: 44px; padding: 10px 8px; border: 1px solid #165dff; border-radius: 7px; background: #165dff; color: #fff; font: 700 .75rem/1.2 Roboto, Arial, sans-serif; cursor: pointer; }
.cookie-preferences__actions button:hover { background: #0b3eaa; }
.cookie-preferences__close { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; border: 1px solid #c4d5ec; border-radius: 7px; background: #f4f8ff; color: #10243d; font-size: 22px; cursor: pointer; }
.cookie-preferences button:focus-visible, .cookie-preferences a:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #0b3eaa; outline-offset: 3px; }
[data-cookie-settings] { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer-policy-links [data-cookie-settings] { color: #fff; }
@media (max-width: 767px) {
  body.bottom-rate-ticker-always .cookie-preferences { --cookie-bottom: calc(70px + max(6px, env(safe-area-inset-bottom))); }
}
@media (max-width: 600px) {
  .cookie-preferences { --cookie-bottom: max(12px, env(safe-area-inset-bottom)); right: 12px; width: min(352px, calc(100vw - 24px)); max-height: calc(100dvh - var(--cookie-bottom) - 12px); padding: 14px; }
}
