.cw-consent[hidden] { display: none !important; }
.cw-consent {
    position: fixed; z-index: 1040; inset-inline: 1rem; bottom: max(1rem, env(safe-area-inset-bottom));
    margin-inline: auto; width: calc(100% - 2rem); max-width: 960px; max-height: min(70vh, 580px);
    overflow-y: auto; display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem;
    color: #f1f5fc; background: #131b2b; border: 1px solid #526580; border-radius: 1rem;
    box-shadow: 0 8px 32px #0008; font: 400 .875rem/1.5 system-ui, sans-serif; text-align: left;
}
.cw-consent-copy { flex: 1; min-width: 0; }
.cw-consent h2 { margin: 0 0 .5rem; color: #fff; font-size: 1.1rem; line-height: 1.4; }
.cw-consent p { margin: 0 0 .5rem; }
.cw-consent .cw-consent-note { color: #c7d3e6; font-size: .8rem; margin-bottom: 0; }
.cw-consent a { color: #8ce5ff; text-decoration: underline; text-underline-offset: .15em; }
.cw-consent-actions { display: flex; flex: 0 0 176px; flex-direction: column; gap: .6rem; }
.cw-consent-choice, .cw-consent-close {
    min-height: 44px; padding: .65rem .85rem; border: 1px solid #8ab9d0; border-radius: .5rem;
    color: #f1f5fc; background: #203348; font: inherit; font-weight: 600; cursor: pointer;
}
.cw-consent-choice:hover, .cw-consent-close:hover { background: #304b65; }
.cw-consent-choice:disabled { opacity: .6; cursor: default; }
.cw-consent-close { background: transparent; border-color: #71829b; }
.cw-cookie-preferences { min-height: 44px; padding: .3rem 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .8rem; line-height: 1.4; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.cw-consent :focus-visible, .cw-cookie-preferences:focus-visible { outline: 3px solid #92ecff; outline-offset: 4px; }
.cw-consent-noscript { margin: .5rem 1rem; font-size: .85rem; }
@media (max-width: 575.98px) {
    .cw-consent { inset-inline: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom)); width: calc(100% - 1rem); padding: 1rem; flex-direction: column; align-items: stretch; gap: .85rem; }
    .cw-consent-actions { flex: auto; display: grid; grid-template-columns: 1fr 1fr; }
    .cw-consent-close { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .cw-consent *, .cw-cookie-preferences { scroll-behavior: auto; transition: none; animation: none; } }
