/*
 * Cookie banner. Deliberately a bar at the foot rather than a centred modal: nothing here
 * is worth blocking the page a visitor came to read, and an ad measurement question is not
 * important enough to interrupt a scan in progress.
 */
.ig-consent-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(680px, calc(100vw - 32px));
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 14px;
    background: #10131a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    color: #e8ecf4;
    font-size: 0.86rem;
    line-height: 1.5;
}

.ig-consent-copy strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 3px;
    color: #fff;
}

.ig-consent-copy p {
    margin: 0;
    color: #a9b4c7;
}

.ig-consent-copy a {
    color: #8fb8ff;
}

.ig-consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ig-consent-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 9px;
    background: #2f6df6;
    color: #fff;
}

.ig-consent-btn:hover {
    background: #4d82f8;
}

.ig-consent-btn--ghost {
    background: transparent;
    color: #cbd4e3;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.ig-consent-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
}

.ig-consent-btn:focus-visible {
    outline: 2px solid #8fb8ff;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .ig-consent-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ig-consent-actions .ig-consent-btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ig-consent-bar {
        animation: ig-consent-in 0.22s ease-out;
    }

    @keyframes ig-consent-in {
        from { opacity: 0; transform: translate(-50%, 10px); }
        to { opacity: 1; transform: translate(-50%, 0); }
    }
}
