.cookie-banner[hidden] { display: none; }
.cookie-settings[hidden] { display: inline-flex; visibility: hidden; }
.cookie-banner, .cookie-preferences { box-sizing: border-box; color: #f5f8f7; background: #071724; border: 1px solid #557184; padding: 16px; font: 14px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; overflow-wrap: anywhere; }
.cookie-banner { position: fixed; z-index: 90; inset: auto 12px 12px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 8px; box-shadow: 0 8px 30px #0008; }
.cookie-banner > div { min-width: 0; }
.cookie-banner h2, .cookie-preferences h2 { margin: 0 0 8px; font-size: 20px; }
.cookie-banner p { margin: 0 0 6px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner > div:first-child { flex: 1; }
.cookie-banner .cookie-actions { flex: 0 1 520px; }
.cookie-banner h2 { margin-bottom: 4px; }
.cookie-banner p { margin-bottom: 4px; }
.cookie-actions button { flex: 1 1 auto; min-height: 44px; padding: 10px 14px; border: 1px solid #a3ef00; border-radius: 5px; background: #071724; color: #f5f8f7; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-actions button:hover { background: #193326; }
.cookie-banner [data-consent="accept"] { color: #071000; border-color: var(--green); background: linear-gradient(135deg, #b7ff00, #8dd900); box-shadow: 0 9px 28px rgba(139, 218, 0, .19); }
.cookie-banner [data-consent="accept"]:hover { box-shadow: 0 12px 34px rgba(139, 218, 0, .28); }
.cookie-banner button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 1000px) { .cookie-banner { display: block; } .cookie-banner .cookie-actions { margin-top: 12px; } }
.cookie-preferences { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 8px; }
.cookie-preferences::backdrop { background: #0009; }
.cookie-preferences label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; cursor: pointer; }
.cookie-preferences input { width: 22px; height: 22px; accent-color: #a3ef00; }
.cookie-settings { padding: 8px 0; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; font-size: .8rem; text-align: left; text-decoration: underline; cursor: pointer; }
.cookie-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 700px) { .cookie-banner { display: block; } .cookie-banner .cookie-actions { margin-top: 12px; } .cookie-actions button { flex-basis: 100%; } }
