/* First-party cookie bar. Colours follow the site accent. */

.ys-consent {
    position: fixed;
    z-index: 120;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(880px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 16px;
    background: #14152b;
    color: #fff;
    box-shadow: 0 18px 40px -24px rgba(20, 21, 43, 0.8);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.ys-consent.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.ys-consent p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.ys-consent a {
    color: #fff;
    font-weight: 700;
}

.ys-consent-actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.ys-consent button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ys-consent-reject {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.ys-consent-accept {
    background: var(--color-accent, #7c4dea);
    color: #fff;
}

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

    .ys-consent-actions {
        justify-content: flex-end;
    }
}
