#lcc-cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    box-sizing: border-box;
}

#lcc-cookie-banner.lcc-banner-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lcc-content-wrap {
    padding: 24px;
}

.lcc-heading {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.lcc-body {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.lcc-privacy-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.lcc-privacy-link:hover {
    text-decoration: underline;
}

.lcc-buttons {
    display: flex;
    gap: 12px;
}

.lcc-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
}

.lcc-btn-primary {
    background-color: #111827;
    color: #ffffff;
}

.lcc-btn-primary:hover {
    background-color: #374151;
}

.lcc-btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
}

.lcc-btn-secondary:hover {
    background-color: #e5e7eb;
}

@media (max-width: 500px) {
    #lcc-cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: calc(100% - 32px);
    }
    
    .lcc-buttons {
        flex-direction: column;
    }
    
    .lcc-btn {
        width: 100%;
    }
}

/* YouTube Blocked Overlay Styles */
.lcc-youtube-blocked-wrapper {
    position: relative;
    background: #000000;
    background-size: cover;          /* NEW: Zooms to fit */
    background-position: center;     /* NEW: Centers the image */
    background-repeat: no-repeat;    /* NEW: Prevents tiling */
    z-index: 99;
    overflow: hidden;
    display: block;
}

.lcc-youtube-blocked-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.10); /* CHANGED from 0.85 so images are visible. OPACITY is 0.10 */
    z-index: 2;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);      /* OPTIONAL: Adds a nice modern blur to the background image BLUR is 1PX */
}

.lcc-youtube-blocked-content {
    text-align: center;
    padding: 20px;
    color: #ffffff;
}

.lcc-youtube-blocked-content p {
    margin: 0 0 15px 0;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    color: #ffffff;
}

.lcc-agree-pill-btn {
    background-color: #ffffff;
    color: #111827;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.lcc-agree-pill-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Loading Spinner for Videos */
.lcc-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: lcc-spin 1s linear infinite;
    z-index: 1; /* Sits below the message overlay, above the black wrapper background */
}

@keyframes lcc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}