.consent-banner[hidden] { display:none; }
.consent-banner { position:fixed; z-index:100; inset:auto 20px 20px; max-width:950px; margin:auto; padding:22px 26px; border:1px solid var(--line); border-radius:20px; background:var(--soft); color:var(--text); box-shadow:0 15px 60px #0003; display:flex; align-items:center; gap:28px; }
.consent-banner p { font-size:.9rem; line-height:1.6; margin:0; max-width:640px; }
.consent-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.consent-banner .consent-actions { flex-shrink:0; width:max-content; max-width:450px; margin-inline-start:auto; justify-content:flex-end; }
.consent-actions .button { min-height:44px; font-size:.85rem; padding:12px 18px; white-space:normal; }
.consent-banner a:not(.button),.cookie-settings-link { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.cookie-settings-link { display:block; margin:14px 0; text-align:start; }
.consent-preferences { margin:32px 0; padding:28px; border:1px solid var(--line); border-radius:24px; background:var(--soft); color:var(--text); scroll-margin-top:120px; }
.consent-preferences h2 { font-size:1.6rem; margin:0 0 20px; }
.consent-option { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 0; border-bottom:1px solid var(--line); }
.consent-option p,.consent-option label>span { display:block; font-size:.9rem; color:var(--text); line-height:1.65; margin:8px 0 0; }
.consent-option input { width:24px; height:24px; min-width:24px; accent-color:var(--blue); }
.consent-option .fine { white-space:nowrap; }
.consent-status { font-size:.9rem; margin:20px 0; }
.consent-preferences .fine { margin-top:18px; }
.consent-preferences .consent-actions { margin-top:24px; }
:where(.consent-banner,.consent-preferences,.site-footer) :is(button,a):focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
html[data-theme=dark] :where(.consent-banner,.consent-preferences,.site-footer) :is(button,a):focus-visible { outline-color:#74c8f4; }
@media(prefers-color-scheme:dark) { html:not([data-theme=light]) :where(.consent-banner,.consent-preferences,.site-footer) :is(button,a):focus-visible { outline-color:#74c8f4; } }
@media(max-width:950px) { .consent-banner { align-items:flex-start; flex-direction:column; gap:16px; } .consent-banner .consent-actions { max-width:none; width:100%; } }
@media(max-width:520px) { .consent-banner { inset:auto 10px 10px; padding:20px; border-radius:18px; } .consent-actions { width:100%; } .consent-actions .button { flex:1; } .consent-preferences { padding:22px; } }
