#cc-overlay,
.cc-banner {
    display: none; /* по умолчанию всё спрятано */
}
#cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
}

.cc-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    max-width: 640px;
    width: calc(100% - 32px);
    background: #161616;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

.cc-banner-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.cc-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cc-desc {
    opacity: 0.9;
    margin-bottom: 4px;
}

.cc-link {
    color: #4da3ff;
    text-decoration: underline;
    font-size: 13px;
}

.cc-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.cc-btn {
    border: none;
    cursor: pointer;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
}

.cc-btn-primary {
    background: #4da3ff;
    color: #000;
    font-weight: 600;
}

.cc-btn-secondary {
    background: #2a2a2a;
    color: #fff;
}

.cc-settings-toggle {
    margin-top: 10px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.cc-settings {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
    display: none;
}

.cc-setting-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.cc-setting-title {
    font-weight: 500;
}

.cc-setting-desc {
    font-size: 12px;
    opacity: 0.85;
}

.cc-settings-actions {
    text-align: right;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .cc-banner {
        bottom: 8px;
        padding: 12px;
    }
    .cc-banner-main {
        flex-direction: column;
    }
    .cc-actions {
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}