.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right {
    right: 14px;
    bottom: 14px;
    width: min(460px, calc(100vw - 28px));
    max-width: 460px;
    padding: clamp(12px, 1.8vw, 18px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(155deg, rgba(42, 42, 42, 0.68), rgba(19, 19, 19, 0.78)) !important;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5);
    color: #f2f2f2 !important;
    display: grid;
    gap: 10px;
    backdrop-filter: blur(10px) saturate(106%);
    -webkit-backdrop-filter: blur(10px) saturate(106%);
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-message {
    margin: 0;
    border-radius: 14px;
    border: none !important;
    background: transparent !important;
    padding: clamp(12px, 1.8vw, 16px);
    max-height: min(42vh, 340px);
    overflow: auto;
    color: rgba(223, 223, 223, 0.9);
    filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.98));
    font-size: 14px;
    line-height: 1.5;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-message a,
.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-link {
    color: #efb56a !important;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn,
.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-btn + .cc-btn {
    margin-left: 0 !important;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn {
    width: 100%;
    min-width: 0 !important;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn:hover,
.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn:focus {
    transform: translateY(-1px);
    outline: none;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-allow {
    color: #191004 !important;
    border: 0 !important;
    background: linear-gradient(120deg, #f3ca8e 0%, #d49442 54%, #e8ab5f 100%) !important;
    box-shadow: 0 18px 38px rgba(212, 148, 66, 0.34);
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-dismiss {
    color: #f1f1f1 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-dismiss:hover,
.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-dismiss:focus {
    border-color: rgba(255, 255, 255, 0.48) !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-deny {
    color: #ffdede !important;
    border: 1px solid rgba(245, 135, 135, 0.45) !important;
    background: rgba(228, 82, 82, 0.22) !important;
}

.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-deny:hover,
.cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn.cc-deny:focus {
    border-color: rgba(255, 161, 161, 0.55) !important;
    background: rgba(228, 82, 82, 0.32) !important;
}

html[data-hh-legal-cookie-status="allow"] .cc-revoke,
html[data-hh-legal-cookie-status="dismiss"] .cc-revoke {
    display: none !important;
}

@media (max-width: 760px) {
    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right {
        left: 7px;
        right: 7px;
        bottom: max(7px, env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        padding: 12px;
        border-radius: 16px;
        gap: 8px;
    }

    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-message {
        border-radius: 12px;
        max-height: min(38vh, 270px);
        padding: 11px;
        font-size: 13px;
        line-height: 1.45;
    }

    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance {
        gap: 7px;
    }

    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 580px), (max-height: 520px) {
    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right {
        left: 5px;
        right: 5px;
        bottom: max(5px, env(safe-area-inset-bottom));
        border-radius: 14px;
        padding: 10px;
    }

    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-message {
        border-radius: 10px;
        max-height: min(32vh, 210px);
        padding: 10px;
        font-size: 12px;
    }

    .cc-window.cc-floating.cc-type-humhub.cc-theme-classic.cc-bottom.cc-right .cc-compliance .cc-btn {
        padding: 9px 14px;
        font-size: 11px;
    }
}
