
        /* =====================================================
           NON-INTRUSIVE COOKIE CONSENT - Best Practices
           - Bottom-right corner positioning (not centered modal)
           - No backdrop overlay (page remains interactive)
           - Compact size (~380px)
           - Subtle slide-in animation
           - Clear hierarchy: Accept prominent, others subtle
           ===================================================== */

        /* REMOVE the blocking backdrop entirely */
        .cf-cookies-consent-modal-backdrop,
        [class*="cookies-consent"][class*="backdrop"],
        [class*="CookieConsent"][class*="backdrop"],
        [class*="consent"][class*="overlay"] {
            background: transparent !important;
            pointer-events: none !important;
        }

        /* Position modal as compact bottom-right card */
        .cf-cookies-consent-modal,
        [class*="cookies-consent-modal"]:not([class*="backdrop"]),
        [class*="CookieConsentModal_modal"],
        [class*="CookieConsent_modal"],
        div[role="dialog"][aria-label*="Cookie"] {
            position: fixed !important;
            bottom: 16px !important;
            right: 16px !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            width: 380px !important;
            max-width: calc(100vw - 32px) !important;
            max-height: 400px !important;
            overflow-y: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15),
                        0 0 0 1px rgba(255, 255, 255, 0.05) !important;
            z-index: 99999 !important;
            pointer-events: auto !important;
            /* Subtle slide-in animation */
            animation: cookieSlideIn 0.3s ease-out !important;
        }

        @keyframes cookieSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Inner content - dark theme */
        .cf-cookies-consent-modal > div,
        [class*="cookies-consent-modal"] > div,
        [class*="CookieConsentModal_content"],
        div[role="dialog"][aria-label*="Cookie"] > div {
            background: #1e2127 !important;
            border: none !important;
            padding: 20px !important;
            color: rgba(255, 255, 255, 0.9) !important;
            border-radius: 12px !important;
        }

        /* Title - smaller, less prominent */
        .cf-cookies-consent-modal h2,
        [class*="cookies-consent-modal"] h2,
        div[role="dialog"][aria-label*="Cookie"] h2 {
            font-size: 15px !important;
            font-weight: 600 !important;
            margin: 0 0 8px 0 !important;
            color: #fff !important;
        }

        /* Description - compact */
        .cf-cookies-consent-modal p,
        [class*="cookies-consent-modal"] p,
        div[role="dialog"][aria-label*="Cookie"] p {
            font-size: 13px !important;
            line-height: 1.5 !important;
            color: rgba(255, 255, 255, 0.6) !important;
            margin: 0 0 12px 0 !important;
        }

        /* Category section - compact */
        .cf-cookies-consent-modal label,
        [class*="cookies-consent-modal"] label {
            font-size: 13px !important;
            font-weight: 500 !important;
            color: rgba(255, 255, 255, 0.85) !important;
        }

        /* Hide verbose category descriptions on compact view */
        .cf-cookies-consent-modal label ~ p,
        [class*="cookies-consent-modal"] label ~ p {
            font-size: 12px !important;
            color: rgba(255, 255, 255, 0.45) !important;
            margin: 2px 0 10px 0 !important;
        }

        /* Checkbox */
        .cf-cookies-consent-modal input[type="checkbox"],
        [class*="cookies-consent-modal"] input[type="checkbox"] {
            width: 16px !important;
            height: 16px !important;
            accent-color: var(--ghost-accent-color, #3eb0ef) !important;
            margin-right: 8px !important;
        }

        /* Button row - horizontal, compact */
        .cf-cookies-consent-modal footer,
        [class*="cookies-consent-modal"] footer,
        [class*="CookieConsent_buttons"] {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 8px !important;
            margin-top: 16px !important;
            padding-top: 12px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        }

        /* All buttons - compact */
        .cf-cookies-consent-modal button,
        [class*="cookies-consent-modal"] button,
        div[role="dialog"][aria-label*="Cookie"] button {
            flex: 1 1 auto !important;
            min-width: 100px !important;
            padding: 8px 14px !important;
            border-radius: 6px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            border: none !important;
            transition: all 0.15s ease !important;
        }

        /* Primary - "Accept All" */
        .cf-cookies-consent-modal button:first-of-type,
        [class*="cookies-consent-modal"] button:first-of-type {
            background: var(--ghost-accent-color, #3eb0ef) !important;
            color: #fff !important;
        }

        .cf-cookies-consent-modal button:first-of-type:hover,
        [class*="cookies-consent-modal"] button:first-of-type:hover {
            filter: brightness(1.1) !important;
        }

        /* Secondary buttons - subtle */
        .cf-cookies-consent-modal button:not(:first-of-type),
        [class*="cookies-consent-modal"] button:not(:first-of-type) {
            background: rgba(255, 255, 255, 0.06) !important;
            color: rgba(255, 255, 255, 0.75) !important;
        }

        .cf-cookies-consent-modal button:not(:first-of-type):hover,
        [class*="cookies-consent-modal"] button:not(:first-of-type):hover {
            background: rgba(255, 255, 255, 0.1) !important;
        }

        /* Mobile - bottom sheet style */
        @media (max-width: 440px) {
            .cf-cookies-consent-modal,
            [class*="cookies-consent-modal"]:not([class*="backdrop"]),
            div[role="dialog"][aria-label*="Cookie"] {
                bottom: 0 !important;
                right: 0 !important;
                left: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                border-radius: 16px 16px 0 0 !important;
                animation: cookieSlideUp 0.3s ease-out !important;
            }

            @keyframes cookieSlideUp {
                from {
                    opacity: 0;
                    transform: translateY(100%);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }

        /* Respect reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            .cf-cookies-consent-modal,
            [class*="cookies-consent-modal"]:not([class*="backdrop"]),
            div[role="dialog"][aria-label*="Cookie"] {
                animation: none !important;
            }
        }

.gh-post-upgrade-cta-content,
.gh-post-upgrade-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
}

.gh-post-upgrade-cta-content {
    border-radius: 8px;
    padding: 40px 4vw;
}

.gh-post-upgrade-cta h2 {
    color: #ffffff;
    font-size: 28px;
    letter-spacing: -0.2px;
    margin: 0;
    padding: 0;
}

.gh-post-upgrade-cta p {
    margin: 20px 0 0;
    padding: 0;
}

.gh-post-upgrade-cta small {
    font-size: 16px;
    letter-spacing: -0.2px;
}

.gh-post-upgrade-cta a {
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    box-shadow: none;
    text-decoration: underline;
}

.gh-post-upgrade-cta a:hover {
    color: #ffffff;
    opacity: 0.8;
    box-shadow: none;
    text-decoration: underline;
}

.gh-post-upgrade-cta a.gh-btn {
    display: block;
    background: #ffffff;
    text-decoration: none;
    margin: 28px 0 0;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

.gh-post-upgrade-cta a.gh-btn:hover {
    opacity: 0.92;
}
:root {--ghost-accent-color:#1c3d4d;}
