.ads-consent-banner[hidden],
.ads-consent-settings[hidden] {
    display: none !important;
}

.ads-consent-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px max(24px, calc((100vw - 1160px) / 2));
    max-height: 85vh;
    overflow-y: auto;
    background: #f9f7f5;
    color: #3a3a3a;
    border-top: 1px solid #d3b9a4;
    box-shadow: 0 -4px 24px rgba(58, 58, 58, 0.12);
    font-family: var(--font-secondary, sans-serif);
    font-size: 13px;
    line-height: 1.65;
}

.ads-consent-copy {
    flex: 1;
    min-width: 0;
}

.ads-consent-banner h2 {
    margin: 0 0 4px;
    color: #3a3a3a;
    font-family: var(--font-primary, serif);
    font-size: 25px;
    line-height: 1.2;
}

.ads-consent-banner p {
    margin: 0;
}

.ads-consent-banner a {
    color: #765038;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ads-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.ads-consent-actions button {
    padding: 11px 16px;
    border: 1px solid #765038;
    border-radius: 3px;
    background: #f9f7f5;
    color: #765038;
    cursor: pointer;
    font: 500 13px/1.4 var(--font-secondary, sans-serif);
}

.ads-consent-actions button:hover {
    background: #eee4dc;
}

.ads-consent-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ads-consent-actions button:focus-visible,
.ads-consent-settings:focus-visible {
    outline: 2px solid #765038;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .ads-consent-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 20px max(18px, env(safe-area-inset-bottom));
    }

    .ads-consent-actions button {
        flex: 1;
        min-height: 44px;
    }
}
