#cookie-banner {
    max-height: min(80vh, 520px);
    overflow: auto;
    overscroll-behavior: contain;
}

.db-auto-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    padding: 18px 24px;
    border-top: 1px solid rgba(0, 201, 219, .35);
    color: #d7e2ee;
    background: #00112a;
    box-shadow: 0 -8px 30px rgba(0, 17, 42, .28);
    font: 400 14px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.db-auto-banner[hidden] { display: none !important; }
.db-auto-banner__inner { display: flex; max-width: 1140px; margin: 0 auto; align-items: center; gap: 20px; }
.db-auto-banner p { flex: 1; margin: 0; color: inherit; }
.db-auto-banner a { color: #66dce6; }
.db-auto-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.db-auto-banner button { min-height: 44px; padding: 9px 18px; border: 2px solid #66dce6; border-radius: 999px; color: #eef7ff; background: transparent; font: 700 14px/1 Inter, sans-serif; cursor: pointer; }
.db-auto-banner button:last-child { color: #00112a; background: linear-gradient(135deg, #00c9db, #2dffc2); }
.db-auto-banner button:focus-visible, .db-cookie-settings-floating:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.db-cookie-settings-floating { display: block; margin: 20px auto; color: #006777; text-align: center; }
.legacy-form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #ff9b9b; border-radius: 8px; color: #fff; background: rgba(160, 20, 20, .32); }
.legacy-form-error[hidden] { display: none !important; }

@media (max-width: 680px) {
    .db-auto-banner { padding: 16px; }
    .db-auto-banner__inner { align-items: stretch; flex-direction: column; }
    .db-auto-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .db-auto-banner button { width: 100%; }
}
