/**
 * Cookie-Banner
 */
.rl-cookie {
    position: fixed;
    bottom: calc(var(--rl-player-h, 76px) + 0.75rem);
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 0 0.75rem;
    pointer-events: none;
}

.rl-cookie[hidden] {
    display: none !important;
}

.rl-cookie__inner {
    pointer-events: auto;
    max-width: 36rem;
    margin: 0 auto;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--rl-border, #e5e7eb);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.rl-cookie__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1d21;
}

.rl-cookie__text {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #5c6570;
}

.rl-cookie__text a {
    color: #e85d04;
    font-weight: 600;
}

.rl-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rl-cookie__btn {
    flex: 1 1 auto;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.rl-cookie__btn--primary {
    background: #e85d04;
    color: #fff;
}

.rl-cookie__btn--primary:hover {
    background: #d45303;
}

.rl-cookie__btn--ghost {
    background: #f4f5f7;
    color: #1a1d21;
    border: 1px solid #e5e7eb;
}

body.rl-cookie-pending .rl-ad-wrap {
    display: none;
}

@media (max-width: 1024px) {
    .rl-cookie {
        bottom: calc(var(--rl-player-h, 76px) + env(safe-area-inset-bottom, 0px) + 0.5rem);
    }

    .rl-cookie__actions {
        flex-direction: column;
    }
}
