/* Essential-only cookie notice (same look as the homepage notice) */
.ckb{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:60;max-width:720px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:14px 16px 14px 20px;border-radius:16px;background:#16161f;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 50px -20px rgba(0,0,0,.9);font:14px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#d4d4d8}
.ckb[hidden]{display:none}
.ckb p{flex:1;margin:0}
.ckb a{color:#c084fc}
.ckb__ok{min-height:44px;min-width:64px;padding:0 20px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:transparent;color:#fff;font:600 14px system-ui,sans-serif;cursor:pointer}
.ckb__ok:hover{background:rgba(255,255,255,.06)}
.ckb__ok:focus-visible{outline:2px solid #c084fc;outline-offset:2px}
@media (max-width:640px){.ckb{flex-direction:column;align-items:stretch;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:12px;right:12px}}
/* while the notice is showing, lf-cookie.js sets --ckb-h (banner height + its gap): leave that much room under the page, plus the iPhone home-bar inset,
   so the last button/link can always be scrolled above the banner */
html.ckb-on body{padding-bottom:calc(var(--ckb-h,200px) + env(safe-area-inset-bottom,0px))}
html.ckb-on{scroll-padding-bottom:calc(var(--ckb-h,200px) + env(safe-area-inset-bottom,0px))}
/* pages whose content is a centred, full-height card (login, register, forgot ...): centre it in the space ABOVE the notice, so the form is visible on first load */
html.ckb-on main.min-h-screen{min-height:calc(100vh - var(--ckb-h,200px))}
@supports (height:100dvh){html.ckb-on main.min-h-screen{min-height:calc(100dvh - var(--ckb-h,200px))}}
