#cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: 14px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 9999;
    opacity: 0;
    transform: translateY(8px);
    transition: all .15s ease;
}

#cc-banner.cc-show {
    opacity: 1;
    transform: translateY(0);
}

#cc-banner .cc-card {
    position: relative;
    width: min(980px, 96vw);
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 16px 16px 14px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr auto;
}

#cc-banner .cc-x {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

#cc-banner .cc-x:hover {
    color: #6b7280;
}

#cc-banner .cc-title {
    font: 600 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    color: #111827;
}

#cc-banner .cc-desc {
    font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    color: #4b5563;
    margin-top: 2px;
}

#cc-banner .cc-groups {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#cc-banner .cc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

#cc-banner input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

#cc-banner .cc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

#cc-banner .cc-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    padding: 8px 12px;
    font-weight: 500;
    cursor: pointer;
}

#cc-banner .cc-btn:hover {
    border-color: #9ca3af;
}

#cc-banner .cc-primary {
    border-color: #2e9e5e;
    background: #2e9e5e;
    color: #fff;
}

#cc-banner .cc-primary:hover {
    filter: saturate(1.05) brightness(1.02);
}

@media (max-width: 640px) {
    #cc-banner .cc-card {
        grid-template-columns: 1fr;
    }

    #cc-banner .cc-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.cc-external-wrap {
    position: relative;
}

.cc-external-wrap iframe {
    display: block;
}

.cc-external-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, .88);
    color: #111827;
    text-align: center;
    font: 500 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    border: 1px dashed #d1d5db;
}

.cc-external-on .cc-external-overlay {
    display: none;
}

.cc-external-overlay svg {
    width: 40px;
    height: 40px;
    color: #9ca3af;
}

.cc-external-overlay p {
    max-width: 280px;
    margin: 0;
}

.cc-external-overlay button {
    margin-top: 4px;
    padding: 6px 14px;
    border: 1px solid #9ca3af;
    background: #fff;
    color: #374151;
    font: 500 13px/1.4 inherit;
    cursor: pointer;
}

.cc-external-overlay button:hover {
    border-color: #2e9e5e;
    color: #2e9e5e;
}

.cc-info {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}
