#cookie-banner[hidden] { display: none; }
#cookie-banner {
    position: fixed; inset: auto auto 1rem 1rem; z-index: 9999;
    width: min(29rem, calc(100vw - 2rem)); box-sizing: border-box;
    background: #21182c; color: white; border-radius: .75rem; padding: 1rem;
    box-shadow: 0 4px 24px #0004;
}
#preferences { max-width: min(30rem, 90vw); padding: 1.5rem; }
#preferences::backdrop { background: #0008; }
#cookie-banner .actions, #preferences .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#cookie-banner button, #preferences button { cursor: pointer; padding: .5rem .75rem; border-radius: .4rem; }
