

.mk--ads .mk-screen {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-rows: auto 1fr;
    gap: 1em;
    padding: 1.2em;
    font-size: clamp(6px, 2.1cqw, 15px);
    color: var(--text-primary);
    background: var(--bg-card);
}

.ads-ad {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 0.9em;
    border-radius: 0.5em;
    border: 1px solid var(--border-subtle);
    background: var(--bg-deep);
}

.ads-landing {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-top: 0.8em;
    border-top: 1px dashed var(--border-subtle);
}

.ads-landing-shot {
    height: 3.4em;
    border-radius: 0.35em;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.28), rgba(78, 205, 196, 0.14));
    border: 1px solid var(--border-subtle);
}

.ads-form {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
}

.ads-field {
    height: 0.9em;
    border-radius: 0.25em;
    background: rgba(255, 255, 255, 0.06);
}

.ads-submit {
    height: 1.2em;
    width: 55%;
    border-radius: 2em;
    background: var(--accent);
    opacity: 0.85;
}

.ads-badge {
    align-self: flex-start;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.1em 0.5em;
    border-radius: 0.25em;
    background: var(--accent-soft);
    color: var(--accent);
}

.ads-url {
    font-size: 0.72em;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ads-title {
    width: 88%;
    height: 0.8em;
    border-radius: 0.25em;
    background: var(--accent);
    opacity: 0.75;
    margin-bottom: 0.2em;
}

.ads-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7em;
}

.ads-metric-cap {
    display: block;
    font-size: 0.68em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3em;
}

.ads-track {
    display: block;
    height: 0.5em;
    border-radius: 0.3em;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.ads-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 0.3em;
    background: var(--accent);
    transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rea.is-live .ads-fill--1 { width: 82%; transition-delay: 0.4s; }
.rea.is-live .ads-fill--2 { width: 64%; transition-delay: 0.6s; }

.ads-track--down { background: rgba(244, 114, 182, 0.18); }

.ads-fill--3 {
    width: 88%;
    background: rgba(255, 255, 255, 0.25);
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rea.is-live .ads-fill--3 { width: 34%; transition-delay: 0.9s; }

.ads-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.45em;
    height: 4.4em;
}

.ads-col {
    flex: 1;
    border-radius: 0.25em 0.25em 0 0;
    background: linear-gradient(180deg, var(--accent), rgba(244, 114, 182, 0.25));
    height: 8%;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rea.is-live .ads-col--1 { height: 22%; transition-delay: 0.5s; }
.rea.is-live .ads-col--2 { height: 34%; transition-delay: 0.6s; }
.rea.is-live .ads-col--3 { height: 30%; transition-delay: 0.7s; }
.rea.is-live .ads-col--4 { height: 52%; transition-delay: 0.8s; }
.rea.is-live .ads-col--5 { height: 68%; transition-delay: 0.9s; }
.rea.is-live .ads-col--6 { height: 62%; transition-delay: 1s; }
.rea.is-live .ads-col--7 { height: 92%; transition-delay: 1.1s; }

[data-theme="light"] .mk-url,
[data-theme="light"] .mk-card,
[data-theme="light"] .app-side-item,
[data-theme="light"] .app-chip,
[data-theme="light"] .app-day,
[data-theme="light"] .app-kpi,
[data-theme="light"] .ads-track,
[data-theme="light"] .rea-tags li,
[data-theme="light"] .rea-case-stack li {
    background: rgba(0, 0, 0, 0.04);
}

@media (prefers-reduced-motion: reduce) {
    .ads-fill,
        .ads-col {
            transition: none !important;
        }
}

@media (prefers-reduced-motion: reduce) {
    .rea.is-live .ads-fill--1 { width: 82%; }
}

@media (prefers-reduced-motion: reduce) {
    .rea.is-live .ads-fill--2 { width: 64%; }
}
