.cmps-preferred-source {
    --cmps-ink: #0b1630;
    --cmps-muted: #596579;
    --cmps-line: #dbe3ef;
    --cmps-bg: #fbfcff;
    --cmps-accent-a: #4158ff;
    --cmps-accent-b: #d84fd3;
    --cmps-accent-c: #ff8a3d;

    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 30px 0;
    padding: 21px 22px 21px 26px;
    border: 1px solid var(--cmps-line);
    border-radius: 15px;
    background:
        linear-gradient(115deg, rgba(65, 88, 255, .045), rgba(216, 79, 211, .025) 48%, rgba(255, 138, 61, .035)),
        var(--cmps-bg);
    box-shadow: 0 7px 22px rgba(11, 22, 48, .055);
    color: var(--cmps-ink);
    clear: both;
}

/* Editorial accent: enough separation from article copy without looking like an ad. */
.cmps-preferred-source::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--cmps-accent-a), var(--cmps-accent-b) 55%, var(--cmps-accent-c));
}

.cmps-preferred-source::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -64px;
    right: -46px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 79, 211, .07), rgba(216, 79, 211, 0) 70%);
    pointer-events: none;
}

.cmps-preferred-source *,
.cmps-preferred-source *::before,
.cmps-preferred-source *::after {
    box-sizing: border-box;
}

.cmps-copy,
.cmps-action {
    position: relative;
    z-index: 1;
}

.cmps-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.cmps-headline {
    margin: 0;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.012em;
    color: var(--cmps-ink);
}

.cmps-text {
    margin: 7px 0 0 !important;
    max-width: 690px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--cmps-muted);
}

.cmps-action {
    flex: 0 0 auto;
}

.cmps-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 17px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--cmps-accent-a), var(--cmps-accent-b) 56%, var(--cmps-accent-c));
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(65, 88, 255, .18);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cmps-button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(65, 88, 255, .24);
    filter: saturate(1.06);
}

.cmps-button:focus-visible {
    outline: 3px solid rgba(65, 88, 255, .3);
    outline-offset: 3px;
}

.cmps-button-star {
    font-size: 15px;
    line-height: 1;
}

.cmps-noscript {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
}

@media (max-width: 680px) {
    .cmps-preferred-source {
        display: block;
        padding: 19px 18px 18px 22px;
        margin: 26px 0;
        border-radius: 14px;
    }

    .cmps-action {
        margin-top: 15px;
    }

    .cmps-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmps-button {
        transition: none;
    }
}
