/* Cookie consent — essential-only until analytics exists */
.rtp-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 14050;
    display: none;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--rtp-bg-panel) 94%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--rtp-border) 80%, transparent);
    box-shadow: 0 -12px 40px color-mix(in srgb, #000 35%, transparent);
    backdrop-filter: blur(10px);
}

.rtp-cookie-banner.is-visible {
    display: block;
}

.rtp-cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.rtp-cookie-banner__text {
    margin: 0;
    flex: 1 1 16rem;
    font-family: var(--rtp-font-ui);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--rtp-brand-muted);
}

.rtp-cookie-banner__text a {
    color: var(--rtp-brand-primary);
    font-weight: 600;
    text-decoration: none;
}

.rtp-cookie-banner__text a:hover,
.rtp-cookie-banner__text a:focus-visible {
    text-decoration: underline;
}

.rtp-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rtp-cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0 14px;
    border-radius: 8px;
    font-family: var(--rtp-font-ui);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.rtp-cookie-banner__btn--ok {
    border: 1px solid var(--rtp-brand-primary);
    background: var(--rtp-brand-primary);
    color: var(--rtp-on-primary);
}

.rtp-cookie-banner__btn--link {
    border: 1px solid var(--rtp-border);
    background: transparent;
    color: var(--rtp-brand-text);
}
