
    .cc-ad-banner {
        /* hidden until the inline script clears it — prevents a flash for
           visitors who already dismissed it */
        display: none;
        position: relative;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.9rem;
        background: linear-gradient(90deg, var(--navy-900,#0d1b2a) 0%, #13273a 50%, var(--navy-900,#0d1b2a) 100%);
        box-shadow: inset 0 -1px 0 rgba(0, 208, 132, 0.35);
        font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
        overflow: hidden;
    }
    .cc-ad-banner.is-ready { display: flex; }

    /* subtle accent sheen drifting across the strip */
    .cc-ad-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(100deg, transparent 30%, rgba(0, 208, 132, 0.10) 50%, transparent 70%);
        transform: translateX(-100%);
        animation: ccAdSheen 9s ease-in-out infinite;
        pointer-events: none;
    }
    @keyframes ccAdSheen {
        0%, 60% { transform: translateX(-100%); }
        100%    { transform: translateX(100%); }
    }

    .cc-ad-banner__link {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex: 1 1 auto;
        min-width: 0;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.82rem;
        line-height: 1.3;
    }
    .cc-ad-banner__link:hover { color: rgba(255, 255, 255, 0.9); }
    .cc-ad-banner__link:hover .cc-ad-banner__cta {
        background: var(--brand-400,#00d084);
        color: var(--navy-900,#0d1b2a);
        border-color: var(--brand-400,#00d084);
    }
    .cc-ad-banner__link:hover .cc-ad-banner__cta .bi-arrow-right { transform: translateX(2px); }

    .cc-ad-banner__icon {
        color: var(--brand-400,#00d084);
        font-size: 0.9rem;
        flex-shrink: 0;
        display: inline-flex;
    }

    .cc-ad-banner__text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .cc-ad-banner__text strong { color: #fff; font-weight: 700; }

    .cc-ad-banner__cta {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        border: 1.5px solid rgba(0, 208, 132, 0.55);
        color: var(--brand-400,#00d084);
        font-weight: 700;
        font-size: 0.78rem;
        padding: 0.2rem 0.7rem;
        border-radius: var(--radius,10px);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .cc-ad-banner__cta .bi-arrow-right { transition: transform 0.2s ease; font-size: 0.72rem; }
    .cc-ad-banner__cta-short { display: none; }

    .cc-ad-banner__close {
        flex-shrink: 0;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.8rem;
        line-height: 1;
        padding: 0.35rem;
        cursor: pointer;
        border-radius: 50%;
        transition: color 0.2s ease, background 0.2s ease;
    }
    .cc-ad-banner__close:hover { color: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.08); }

    /* collapse-out animation on dismiss */
    .cc-ad-banner.is-closing {
        display: flex;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    /* responsive copy: long → mid → just the headline */
    .cc-ad-banner__mid { display: none; }
    @media (max-width: 900px) {
        .cc-ad-banner__long { display: none; }
        .cc-ad-banner__mid { display: inline; }
    }
    @media (max-width: 620px) {
        .cc-ad-banner__sep, .cc-ad-banner__mid, .cc-ad-banner__long { display: none; }
        .cc-ad-banner__cta-long { display: none; }
        .cc-ad-banner__cta-short { display: inline; }
        .cc-ad-banner { padding: 0.45rem 0.6rem; gap: 0.35rem; }
        .cc-ad-banner__link { font-size: 0.78rem; }
    }

    @media (prefers-reduced-motion: reduce) {
        .cc-ad-banner::before { animation: none; display: none; }
        .cc-ad-banner.is-closing { transition: none; }
        .cc-ad-banner__cta, .cc-ad-banner__cta .bi-arrow-right { transition: none; }
    }

    /* Refinement: still, flat strip (no drifting sheen, no gradient, no outlined pill) */
    .cc-ad-banner { background: #0b1620; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); padding: .4rem .9rem; }
    .cc-ad-banner::before { display: none; animation: none; }
    .cc-ad-banner__cta { border: 0; padding: 0; border-radius: 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
    .cc-ad-banner__link:hover .cc-ad-banner__cta { background: none; color: #fff; border-color: transparent; text-decoration-color: #fff; }
