#scc-lite-banner,
#scc-lite-modal,
#scc-lite-overlay {
    box-sizing: border-box;
}

.scc-lite-hidden {
    display: none !important;
}

#scc-lite-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 999998;
    background: var(--scc-bg);
    color: var(--scc-text);
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.scc-lite-banner-inner {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
}

#scc-lite-banner h3 {
    margin: 0 0 6px;
    color: var(--scc-text);
    font-size: 18px;
    line-height: 1.25;
}

#scc-lite-banner p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.45;
}

.scc-lite-links a,
#scc-lite-banner a {
    color: var(--scc-link);
    margin-right: 12px;
}

.scc-lite-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scc-lite-btn {
    border: 0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.scc-lite-btn-primary {
    background: var(--scc-primary);
    color: var(--scc-primary-text);
}

.scc-lite-btn-secondary {
    background: var(--scc-secondary);
    color: var(--scc-secondary-text);
}

#scc-lite-overlay {
    position: fixed;
    inset: 0;
    background: var(--scc-overlay);
    opacity: .68;
    z-index: 999998;
}

#scc-lite-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.scc-lite-modal {
    width: min(620px, 100%);
    max-height: 86vh;
    overflow: auto;
    background: var(--scc-modal-bg);
    color: var(--scc-modal-text);
    border-radius: 16px;
    padding: 22px;
    position: relative;
    box-shadow: 0 18px 60px rgba(0,0,0,.32);
}

.scc-lite-modal h3 {
    margin: 0 34px 6px 0;
    font-size: 20px;
    line-height: 1.25;
}

.scc-lite-modal-message {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
}

.scc-lite-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.scc-lite-cookie-list {
    margin: 14px 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

.scc-lite-category {
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.scc-lite-category h4 {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .72;
}

.scc-lite-cookie-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    cursor: pointer;
}

.scc-lite-cookie-row input {
    margin: 0;
}

.scc-lite-cookie-row span {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.scc-lite-cookie-row strong {
    font-size: 14px;
    line-height: 1.25;
}

.scc-lite-cookie-row em {
    font-size: 12px;
    opacity: .7;
    font-style: normal;
    white-space: nowrap;
}

.scc-lite-blocked-embed {
    padding: 20px;
    border: 1px dashed #999;
    border-radius: 10px;
    text-align: center;
    background: #f6f6f6;
}

.scc-lite-animated.scc-lite-visible#scc-lite-banner {
    animation: sccBannerIn .24s ease-out both;
}

.scc-lite-animated.scc-lite-hiding#scc-lite-banner {
    animation: sccBannerOut .22s ease-in both;
}

.scc-lite-animated.scc-lite-visible#scc-lite-modal .scc-lite-modal {
    animation: sccModalIn .26s cubic-bezier(.2,.9,.2,1) both;
}

.scc-lite-animated.scc-lite-hiding#scc-lite-modal .scc-lite-modal {
    animation: sccModalOut .2s ease-in both;
}

.scc-lite-animated.scc-lite-visible#scc-lite-overlay {
    animation: sccFadeIn .22s ease-out both;
}

.scc-lite-animated.scc-lite-hiding#scc-lite-overlay {
    animation: sccFadeOut .2s ease-in both;
}

@keyframes sccBannerIn {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sccBannerOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(12px) scale(.985); }
}

@keyframes sccModalIn {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sccModalOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(10px) scale(.98); }
}

@keyframes sccFadeIn {
    from { opacity: 0; }
    to { opacity: .68; }
}

@keyframes sccFadeOut {
    from { opacity: .68; }
    to { opacity: 0; }
}

@media (max-width: 700px) {
    #scc-lite-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .scc-lite-banner-inner {
        display: block;
    }

    .scc-lite-actions {
        margin-top: 12px;
    }

    .scc-lite-modal {
        padding: 18px;
    }
}