#consent-banner,
#consent-settings{
    position:fixed;
    inset:auto 20px 20px;
    z-index:3000;
    color:#fff;
    background:rgba(10,10,10,.96);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 18px 55px rgba(0,0,0,.45);
    font-family:var(--font-body,Arial,sans-serif);
}

#consent-banner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:center;
    padding:22px 24px;
}

body.teaser-active #consent-banner{
    bottom:140px;
}

.consent-copy{
    max-width:760px;
}

.consent-title{
    margin:0 0 7px;
    font-size:12px;
    font-weight:600;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.consent-description{
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.55;
}

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

.consent-button{
    min-height:38px;
    padding:9px 14px;
    border:1px solid rgba(255,255,255,.42);
    background:transparent;
    color:#fff;
    font:inherit;
    font-size:10px;
    letter-spacing:1.4px;
    text-transform:uppercase;
    cursor:pointer;
}

.consent-button:hover,
.consent-button:focus-visible{
    border-color:#fff;
    outline:none;
}

.consent-button--primary{
    background:#fff;
    color:#050505;
    border-color:#fff;
}

.consent-button--primary:hover,
.consent-button--primary:focus-visible{
    background:transparent;
    color:#fff;
}

#consent-settings{
    inset:50% 20px auto;
    max-width:620px;
    margin:auto;
    transform:translateY(-50%);
    padding:28px;
}

.consent-settings-backdrop{
    position:fixed;
    inset:0;
    z-index:2999;
    background:rgba(0,0,0,.62);
}

.consent-settings h2{
    margin:0 0 8px;
    font-size:20px;
    font-weight:500;
}

.consent-settings-intro{
    margin:0 0 22px;
    color:rgba(255,255,255,.7);
    font-size:13px;
    line-height:1.55;
}

.consent-category{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 0;
    border-top:1px solid rgba(255,255,255,.12);
}

.consent-category strong{
    display:block;
    margin-bottom:4px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.8px;
}

.consent-category span{
    color:rgba(255,255,255,.62);
    font-size:12px;
}

.consent-category input{
    width:18px;
    height:18px;
    accent-color:#fff;
}

.consent-category input:disabled{
    opacity:.55;
}

.consent-settings-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-top:22px;
}

.consent-hidden{
    display:none !important;
}

@media(max-width:700px){
    #consent-banner{
        inset:auto 12px 12px;
        grid-template-columns:1fr;
        gap:16px;
        padding:18px;
    }

    body.teaser-active #consent-banner{
        bottom:112px;
    }

    .consent-actions,
    .consent-settings-actions{
        justify-content:stretch;
    }

    .consent-button{
        flex:1 1 auto;
    }

    #consent-settings{
        inset:12px;
        max-width:none;
        margin:0;
        transform:none;
        padding:22px 18px;
    }
}
