.sb-consent-banner,
.sb-consent-modal {
    font-family: 'Oswald', Arial, sans-serif;
}

.sb-consent-banner[hidden],
.sb-consent-modal[hidden],
.facebook-feed-placeholder[hidden] {
    display: none;
}

.sb-consent-banner {
    position: fixed;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 999999;
    padding: 22px 24px;
    color: #ffffff;
    background: rgba(10,10,10,0.97);
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 4px solid #b30018;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.48);
    backdrop-filter: blur(10px);
}

.sb-consent-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.sb-consent-kicker {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-consent-copy {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.98rem;
    line-height: 1.55;
}

.sb-consent-copy a {
    color: #ffffff;
    text-decoration: underline;
}

.sb-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.sb-consent-button,
.facebook-feed-consent-button {
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sb-consent-button:hover,
.sb-consent-button:focus-visible,
.facebook-feed-consent-button:hover,
.facebook-feed-consent-button:focus-visible {
    transform: translateY(-1px);
}

.sb-consent-button-primary,
.facebook-feed-consent-button {
    border-color: #b30018;
    background: #b30018;
}

.sb-consent-button-primary:hover,
.sb-consent-button-primary:focus-visible,
.facebook-feed-consent-button:hover,
.facebook-feed-consent-button:focus-visible {
    background: #d1001c;
    border-color: #d1001c;
}

.sb-consent-button-secondary {
    background: transparent;
}

.sb-consent-button-secondary:hover,
.sb-consent-button-secondary:focus-visible {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.sb-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 20px;
    color: #ffffff;
    background: rgba(0,0,0,0.72);
}

.sb-consent-dialog {
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    background: #090909;
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 4px solid #b30018;
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.62);
}

.sb-consent-dialog-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 14px;
}

.sb-consent-dialog-title {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1;
    text-transform: uppercase;
}

.sb-consent-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.sb-consent-dialog-body {
    padding: 0 24px 24px;
}

.sb-consent-category {
    margin-top: 16px;
    padding: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
}

.sb-consent-category-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sb-consent-category h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.sb-consent-category p {
    margin: 0;
    color: rgba(255,255,255,0.74);
    line-height: 1.55;
}

.sb-consent-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sb-consent-switch input {
    width: 44px;
    height: 24px;
    margin: 0;
    accent-color: #b30018;
}

.sb-consent-switch input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.sb-consent-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 22px;
}

.facebook-feed-placeholder {
    min-height: 700px;
    display: grid;
    place-items: center;
    padding: 28px;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(24,119,242,0.14), transparent 42%),
        #101010;
    border-radius: 12px;
    text-align: center;
}

.facebook-feed-placeholder-content {
    max-width: 390px;
}

.facebook-feed-placeholder h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.facebook-feed-placeholder p {
    margin: 0 0 22px;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
}

@media (max-width: 760px) {
    .sb-consent-banner {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 18px;
    }

    .sb-consent-banner-inner,
    .sb-consent-dialog-actions {
        grid-template-columns: 1fr;
    }

    .sb-consent-actions,
    .sb-consent-dialog-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-consent-button,
    .facebook-feed-consent-button {
        width: 100%;
    }

    .sb-consent-dialog {
        max-height: calc(100vh - 28px);
    }

    .sb-consent-dialog-header,
    .sb-consent-dialog-body {
        padding-right: 18px;
        padding-left: 18px;
    }

    .sb-consent-category-head {
        flex-direction: column;
    }

    .facebook-feed-placeholder {
        min-height: 560px;
        padding: 22px;
    }
}
