/*
 * oscar.css — Geïsoleerde stylesheet voor het Oscar V1 chat-prototype (/oscar)
 *
 * Designreferentie: 'Films op TV' (resources/assets/css/pages/films-op-tv.css)
 * - Pagina-achtergrond: #f0f0f0
 * - Kaarten & chatinvoer: #ffffff met subtiele schaduw (0 1px 3px rgba(0,0,0,.08))
 * - Geen geneste kaders rondom de filmkaarten
 * - FilmTotaal-rood (#aa0001) voor gebruikersberichten en primaire acties
 *
 * BELANGRIJK:
 * - Volledig afgeschermd binnen .oscar-page (geen globale selectors).
 * - De globale FilmTotaal CSS zet html { font-size: 10px }. Daarom gebruiken we
 *   hier uitsluitend px-waarden en zetten we op .oscar-page font-size: 16px.
 * - Kan samen met resources/views/oscar.blade.php, public/img/oscar-avatar.jpg
 *   en de /test/oscar route volledig worden verwijderd zonder impact op de site.
 */

.oscar-page,
.oscar-page *,
.oscar-page *::before,
.oscar-page *::after {
    box-sizing: border-box;
}

.oscar-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #1a1a1a;
    background-color: #f0f0f0;
    padding: 14px 0 28px;
    min-height: calc(100vh - 56px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.oscar-page [hidden] {
    display: none !important;
}

.oscar-page__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Hoofdlayout: zelfde containerbreedte/padding als .ft-header__container (1170px, 16px) ── */
.oscar-page__shell {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: stretch;
    gap: 28px;
}

/* ── 1. Linkerzijbalk (Inklapbaar op desktop, Drawer op mobiel) ────── */
.oscar-page__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.oscar-page.is-drawer-open .oscar-page__backdrop {
    display: block;
    opacity: 1;
}

.oscar-page__sidebar {
    position: fixed;
    top: 56px;
    right: -300px;
    width: 268px;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    background-color: #fafafa;
    border-left: 1px solid #e6e6e6;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    padding: 14px 12px 16px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
    transition: right 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.2s ease, padding 0.2s ease;
}

.oscar-page.is-drawer-open .oscar-page__sidebar {
    right: 0;
}

.oscar-page__sidebar-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.oscar-page__sidebar-toggle,
.oscar-page__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid transparent;
    color: #777777;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.oscar-page__sidebar-toggle {
    display: none;
}

.oscar-page__sidebar-toggle:hover,
.oscar-page__drawer-close:hover {
    background-color: #eeeeee;
    color: #222222;
}

.oscar-page__sidebar-toggle svg,
.oscar-page__drawer-close svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

/* "+ Nieuwe chat" verfijnde primaire knop in sidebar */
.oscar-page__new-chat-btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background-color: #aa0001;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(170, 0, 1, 0.18);
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
}

.oscar-page__new-chat-btn:hover {
    background-color: #930001;
    box-shadow: 0 2px 5px rgba(170, 0, 1, 0.22);
}

.oscar-page__new-chat-btn:active {
    transform: translateY(1px);
}

.oscar-page__new-chat-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Navigatie-items in sidebar (voor toekomstige opties) */
.oscar-page__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oscar-page__nav-item {
    margin: 0;
    padding: 0;
}

.oscar-page__nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 7px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #3a3a3a;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
}

.oscar-page__nav-btn:hover {
    background-color: #efefef;
    color: #1a1a1a;
}

/* Opgeslagen gesprekken onder 'Gesprekken' in de linkerzijbalk */
.oscar-page__history-section {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
    overflow: hidden;
}

.oscar-page__history-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 2px 8px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
}

.oscar-page__history-heading svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #999999;
}

.oscar-page__history-list {
    flex: 1 1 auto;
    min-height: 0;
    list-style: none;
    margin: 0;
    padding: 0 2px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d6d6d6 transparent;
}

.oscar-page__history-list::-webkit-scrollbar {
    width: 5px;
}

.oscar-page__history-list::-webkit-scrollbar-track {
    background: transparent;
}

.oscar-page__history-list::-webkit-scrollbar-thumb {
    background-color: #d6d6d6;
    border-radius: 999px;
}

.oscar-page__history-list::-webkit-scrollbar-thumb:hover {
    background-color: #bdbdbd;
}

.oscar-page__history-empty {
    font-size: 12.5px;
    color: #999999;
    padding: 6px 8px 4px;
    margin: 0;
}

.oscar-page__history-item {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    margin: 0;
    padding: 0 4px 0 0;
    border-radius: 7px;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.oscar-page__history-item:hover {
    background-color: #f0f0f0;
}

.oscar-page__history-item.is-active {
    background-color: #ffffff;
    border-color: #eaeaea;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.oscar-page__history-open {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 7px 6px 7px 10px;
    background: transparent;
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #444444;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.15s ease;
}

.oscar-page__history-item:hover .oscar-page__history-open {
    color: #1a1a1a;
}

.oscar-page__history-item.is-active .oscar-page__history-open {
    color: #1a1a1a;
    font-weight: 600;
}

.oscar-page__history-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oscar-page__history-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #aaaaaa;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.oscar-page__history-item:hover .oscar-page__history-delete,
.oscar-page__history-delete:focus-visible {
    opacity: 1;
}

@media (hover: none) {
    .oscar-page__history-delete {
        opacity: 0.65;
    }
}

.oscar-page__history-delete:hover {
    background-color: rgba(170, 0, 1, 0.08);
    color: #aa0001;
    opacity: 1;
}

.oscar-page__history-delete svg {
    width: 12px;
    height: 12px;
}

/* ── 2. Centrale Chatkolom ─────────────────────────────────────────── */
.oscar-page__main {
    flex: 1;
    min-width: 0;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Topbar (Oscar portret + welkomst-chatwolkje bij nieuw gesprek, of compact tijdens chat) */
.oscar-page__topbar {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0 4px;
    margin-bottom: 14px;
    border-bottom: none;
}

.oscar-page:not(.is-chat-active) .oscar-page__topbar-actions {
    align-self: flex-end;
}

.oscar-page.is-chat-active .oscar-page__topbar {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 2px 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e3e0e0;
}

.oscar-page__brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.oscar-page.is-chat-active .oscar-page__brand {
    align-items: center;
    gap: 12px;
}

.oscar-page__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.oscar-page__avatar-info {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    background-color: #ffffff;
    color: #555555;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.oscar-page__avatar-info svg {
    width: 13px;
    height: 13px;
}

.oscar-page__avatar-info:hover,
.oscar-page__avatar-info:focus-visible {
    color: #aa0001;
}

.oscar-page.is-chat-active .oscar-page__avatar-info {
    display: none;
}

.oscar-page__hero-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #b52b22;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    display: block;
}

.oscar-page__brand-text {
    min-width: 0;
    flex: 1;
}

/* Echt chatwolkje (met pijltje naar links richting Oscar) bij een nieuw gesprek */
.oscar-page__welcome-bubble {
    position: relative;
    display: block;
    background-color: #ffffff;
    border: none;
    border-radius: 4px 14px 14px 14px;
    padding: 14px 16px 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.oscar-page__welcome-bubble::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -6px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: none;
    transform: rotate(45deg);
}

.oscar-page__compact-copy {
    display: none;
}

.oscar-page.is-chat-active .oscar-page__welcome-bubble {
    display: none;
}

.oscar-page.is-chat-active .oscar-page__compact-copy {
    display: block;
}

.oscar-page__title-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.oscar-page__welcome-heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18.7px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

.oscar-page__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

.oscar-page__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ea043;
    flex-shrink: 0;
}

.oscar-page__welcome-lead {
    font-size: 15.4px;
    font-weight: 400;
    line-height: 1.48;
    color: #222222;
    margin: 6px 0 7px;
    padding: 0;
}

.oscar-page__welcome-beta {
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    color: #777777;
    margin: 0;
    padding: 0;
}

.oscar-page__subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    color: #777777;
    margin: 2px 0 0;
    padding: 0;
}

.oscar-page__subtitle-end {
    white-space: nowrap;
}

.oscar-page__info-btn {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -6px 0 -6px 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #8a8a8a;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.oscar-page__info-btn:hover,
.oscar-page__info-btn:focus-visible {
    color: #aa0001;
    background-color: rgba(170, 0, 1, 0.08);
    outline: none;
}

.oscar-page__info-btn svg {
    width: 16px;
    height: 16px;
}

/* ── Begeleid zoeken kaart (alleen zichtbaar bij een nieuw, leeg gesprek) ── */
.oscar-page__guided-card {
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 18px 16px 15px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    scroll-margin-bottom: 24px;
}

.oscar-page.is-chat-active .oscar-page__guided-card {
    display: none !important;
}

.oscar-page__guided-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 12px;
    padding: 0;
}

.oscar-page__guided-icon {
    width: 18px;
    height: 18px;
    color: #444444;
    flex-shrink: 0;
}

.oscar-page__guided-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.oscar-page__mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 99px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__mode-btn:hover {
    border-color: #999999;
    color: #111111;
}

.oscar-page__mode-btn.is-selected {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.oscar-page__guided-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.oscar-page__guided-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px; /* Voorkomt automatische iOS Safari zoom bij focus */
    font-weight: 400;
    color: #1a1a1a;
    background-color: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 99px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.oscar-page__guided-input::placeholder {
    color: #888888;
    opacity: 1;
}

.oscar-page__guided-input:focus {
    border-color: #aa0001;
    box-shadow: 0 0 0 3px rgba(170, 0, 1, 0.08);
}

.oscar-page__guided-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    color: #777777;
    background-color: #efefef;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__guided-submit:disabled {
    cursor: not-allowed;
}

.oscar-page__guided-submit.is-ready {
    background-color: #aa0001;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(170, 0, 1, 0.25);
    cursor: pointer;
}

.oscar-page__guided-submit.is-ready:hover,
.oscar-page__guided-submit.is-ready:focus-visible {
    background-color: #880001;
    outline: none;
}

.oscar-page__guided-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.oscar-page__guided-footer {
    margin: 14px 0 0;
    padding: 12px 2px 0;
    border-top: 1px solid #eeeeee;
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
}

.oscar-page__topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.oscar-page__action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 99px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__action-pill:hover,
.oscar-page__action-pill:focus-visible {
    background-color: #ffffff;
    border-color: #b5b5b5;
    color: #aa0001;
    outline: none;
}

.oscar-page__action-pill svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Op mobiel tonen we "Opties", op desktop "Opnieuw" */
.oscar-page__action-pill--desktop {
    display: none;
}

/* ── 3. Chat-thread (Berichtenstroom met Avatar tegen Avatar) ──────── */
.oscar-page__thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

.oscar-page__msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    scroll-margin-top: 84px;
    animation: oscarMsgFade 0.2s ease-out;
}

@keyframes oscarMsgFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.oscar-page__msg--user {
    justify-content: flex-end;
}

.oscar-page__msg--oscar {
    justify-content: flex-start;
}

.oscar-page__msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #b52b22;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    display: block;
    margin-top: 2px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.oscar-page__msg--streaming > .oscar-page__msg-avatar {
    animation: oscarAvatarStreamPulse 1.8s ease-in-out infinite;
}

@keyframes oscarAvatarStreamPulse {
    0%, 100% {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(170, 0, 1, 0.28);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 2px 8px rgba(170, 0, 1, 0.24), 0 0 0 5px rgba(170, 0, 1, 0);
        transform: scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .oscar-page__msg--streaming > .oscar-page__msg-avatar {
        animation: none;
        box-shadow: 0 0 0 2px rgba(170, 0, 1, 0.35);
    }
}

.oscar-page__msg-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.oscar-page__msg--user .oscar-page__msg-col {
    align-items: flex-end;
    max-width: calc(100% - 48px);
}

.oscar-page__msg--oscar .oscar-page__msg-col {
    align-items: flex-start;
    flex: 1;
    max-width: calc(100% - 48px);
}

.oscar-page__meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 400;
    color: #888888;
    margin-bottom: 4px;
    padding: 0 2px;
}

.oscar-page__meta-name {
    font-weight: 600;
    color: #555555;
}

/* Rechter chatbubbel van de gebruiker (zacht rood, géén randlijn) */
.oscar-page__bubble--user {
    background-color: #f8e8e9;
    color: #b03a3f;
    border: none;
    border-radius: 14px 4px 14px 14px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none;
    word-wrap: break-word;
}

/*
 * Linker antwoordblok van Oscar:
 * De reactietekst van Oscar krijgt altijd een eigen witte chatballon (zonder randlijn),
 * met daaronder optioneel de witte filmkaarten.
 */
.oscar-page__bubble--oscar {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.oscar-page__reply-text {
    display: inline-block;
    max-width: 100%;
    background-color: #eef5fd;
    border: none;
    border-radius: 4px 14px 14px 14px;
    padding: 11px 16px;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.52;
    color: #1a1a1a;
    margin: 0 0 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.oscar-page__reply-text p {
    margin: 0 0 8px;
}

.oscar-page__reply-text p:last-child {
    margin-bottom: 0;
}

/* Wanneer Oscar alleen tekst stuurt (zonder filmkaarten eronder) */
.oscar-page__reply-text--text-only {
    margin-bottom: 0;
}

.oscar-page__reply-text strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* Compacte streaminglijst bij vervolgvragen over waar films te kijken zijn */
.oscar-page__streaming-list {
    list-style: none;
    margin: 10px 0 2px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oscar-page__streaming-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #1a1a1a;
}

.oscar-page__streaming-movie {
    display: inline;
}

.oscar-page__streaming-title {
    font-weight: 700;
    color: #1a1a1a;
}

.oscar-page__streaming-year {
    font-weight: 400;
    color: #666666;
}

.oscar-page__streaming-sep {
    color: #999999;
    font-weight: 400;
}

.oscar-page__streaming-watch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.oscar-page__streaming-link,
.oscar-page__streaming-link:link,
.oscar-page__streaming-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #aa0001;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.oscar-page__streaming-link:hover {
    color: #c20002;
    text-decoration: underline;
}

.oscar-page__streaming-link .oscar-page__ext-icon-wrap {
    width: 14px;
    height: 14px;
}

.oscar-page__streaming-link .oscar-page__ext-favicon {
    width: 14px;
    height: 14px;
}

/* Externe zoeklinks ('Zoek op JustWatch Nederland' / 'Zoek bij Google') binnen Oscars antwoordballon */
.oscar-page__external-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.oscar-page__external-search-link,
.oscar-page__external-search-link:link,
.oscar-page__external-search-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px 0 9px;
    border-radius: 6px;
    background-color: #f6f6f6;
    border: 1px solid #e0e0e0;
    color: #2b2b2b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.oscar-page__external-search-link--secondary,
.oscar-page__external-search-link--secondary:link,
.oscar-page__external-search-link--secondary:visited {
    background-color: #fafafa;
    border-color: #e6e6e6;
    color: #555555;
    font-weight: 500;
}

.oscar-page__external-search-link:hover {
    background-color: #eeeeee;
    border-color: #cfcfcf;
    color: #aa0001;
    text-decoration: none;
}

.oscar-page__ext-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.oscar-page__ext-favicon {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}

.oscar-page__ext-fallback-icon {
    display: none;
    color: #666666;
    flex-shrink: 0;
}

.oscar-page__ext-icon-wrap.is-fallback .oscar-page__ext-favicon {
    display: none;
}

.oscar-page__ext-icon-wrap.is-fallback .oscar-page__ext-fallback-icon {
    display: block;
}

.oscar-page__external-search-icon {
    color: #666666;
    flex-shrink: 0;
}

.oscar-page__external-search-arrow,
.oscar-page__ext-arrow {
    color: #888888;
    flex-shrink: 0;
    margin-left: 1px;
}

.oscar-page__external-search-link:hover .oscar-page__external-search-icon,
.oscar-page__external-search-link:hover .oscar-page__ext-fallback-icon,
.oscar-page__external-search-link:hover .oscar-page__external-search-arrow,
.oscar-page__streaming-link:hover .oscar-page__ext-fallback-icon,
.oscar-page__streaming-link:hover .oscar-page__ext-arrow {
    color: #aa0001;
}

.oscar-page__welcome {
    display: inline-block;
    background-color: #ffffff;
    border-radius: 4px 14px 14px 14px;
    padding: 11px 16px;
    font-size: 14.5px;
    line-height: 1.45;
    color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin: 0;
}

/* ── 4. Witte Filmkaarten (stijl cf. .fotv-card op 'Films op TV') + Apart Oscar-tekstwolkje ── */
.oscar-page__rec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.oscar-page__rec-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #e2ddd7;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.oscar-page__rec-item--with-reason {
    background-color: #f6efe9;
}

.oscar-page__rec-item--reveal {
    animation: oscarRecItemReveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oscarRecItemReveal {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oscar-page__rec-item--reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.oscar-page__rec-item:hover {
    border-color: #d5cec6;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
}

/* Witte FilmTotaal-filmkaart (stijl cf. .fotv-card op 'Films op TV': poster links, info rechts) */
.oscar-page__film-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
    background-color: #ffffff;
    border-radius: 11px;
    padding: 13px 15px;
    box-shadow: none;
}

.oscar-page__rec-item--with-reason .oscar-page__film-card {
    border-bottom: 1px solid #ebe4dc;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
}

.oscar-page__film-card.is-popover-open {
    z-index: 25;
}

/* Stretched link op de titel zodat de hele witte filmkaart klikbaar is naar de filmpagina */
.oscar-page__film-card--linked .oscar-page__card-title::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 11px;
}

.oscar-page__card-poster-col {
    position: relative;
    align-self: start;
    width: 76px;
}

.oscar-page__card-poster-wrap {
    position: relative;
    display: block;
    width: 76px;
    flex-shrink: 0;
    text-decoration: none;
}

.oscar-page__card-poster {
    display: block;
    width: 76px;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #e0e0e0;
}

/* Neutrale poster-placeholder wanneer er geen FilmTotaal-poster is (stijl cf. .fotv-poster--empty) */
.oscar-page__rec-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 76px;
    height: 110px;
    border-radius: 4px;
    background-color: #eaeaea;
    color: #bbbbbb;
}

.oscar-page__rec-poster-placeholder svg {
    width: 26px;
    height: 26px;
}

/* Trailer play-knop midden op de poster (boven de stretched link via z-index: 2) */
.oscar-page__card-poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #aa0001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.oscar-page__card-poster-play svg {
    margin-left: 2px;
}

.oscar-page__card-poster-play:hover {
    background-color: #ffffff;
    transform: scale(1.08);
}

/* Rechterkolom met titel, jaartal, omschrijving, feiten en regisseur/cast */
.oscar-page__card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.oscar-page__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}

.oscar-page__card-title-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

/* Subtiel chat-icoon + compact popovermenu rechtsboven in de filmkaart */
.oscar-page__card-chat-wrap {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    margin: -3px -4px -2px 0;
}

.oscar-page__card-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: transparent;
    color: #888888;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.oscar-page__card-chat-btn:hover,
.oscar-page__card-chat-btn:focus-visible,
.oscar-page__card-chat-btn[aria-expanded="true"] {
    background-color: #fdf0f0;
    border-color: rgba(170, 0, 1, 0.25);
    color: #aa0001;
    outline: none;
}

.oscar-page__card-popover {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 30;
    width: min(285px, calc(100vw - 44px));
    background-color: #ffffff;
    border: 1px solid #e2dede;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 6px;
}

.oscar-page__card-popover[hidden] {
    display: none !important;
}

.oscar-page__card-popover-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #777777;
    padding: 4px 8px 5px;
    border-bottom: 1px solid #f0eded;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oscar-page__card-popover-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oscar-page__card-popover-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #222222;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.oscar-page__card-popover-item:hover,
.oscar-page__card-popover-item:focus-visible {
    background-color: #fdf0f0;
    color: #aa0001;
    outline: none;
}

.oscar-page__card-popover-item-text {
    flex: 1;
    min-width: 0;
}

.oscar-page__card-popover-item-arrow {
    flex-shrink: 0;
    color: #999999;
    transition: transform 0.12s ease, color 0.12s ease;
}

.oscar-page__card-popover-item:hover .oscar-page__card-popover-item-arrow,
.oscar-page__card-popover-item:focus-visible .oscar-page__card-popover-item-arrow {
    color: #aa0001;
    transform: translateX(2px);
}

.oscar-page__card-title,
.oscar-page__card-title:link,
.oscar-page__card-title:visited {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #aa0001;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.oscar-page__card-title:hover {
    color: #c20002;
    text-decoration: underline;
}

.oscar-page__card-title--plain {
    color: #1a1a1a;
}

.oscar-page__card-title--plain:hover {
    color: #1a1a1a;
    text-decoration: none;
}

.oscar-page__card-year {
    font-size: 14px;
    color: #777777;
    font-weight: 400;
}

.oscar-page__card-synopsis {
    font-size: 13.5px;
    color: #444444;
    line-height: 1.48;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oscar-page__card-facts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 2px;
}

.oscar-page__card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.oscar-page__card-rating::before {
    content: '★';
    color: #f5b800;
    font-size: 15px;
}

.oscar-page__card-review,
.oscar-page__card-review:link,
.oscar-page__card-review:visited {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 9px 0 8px;
    border-radius: 5px;
    background-color: #fdf0f0;
    border: 1px solid rgba(170, 0, 1, 0.3);
    color: #aa0001;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.oscar-page__card-review-arrow {
    margin-left: -1px;
    opacity: 0.85;
    transition: transform 0.15s ease;
}

.oscar-page__card-review:hover,
.oscar-page__card-review:focus-visible {
    background-color: #aa0001;
    border-color: #aa0001;
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.oscar-page__card-review:hover .oscar-page__card-review-arrow,
.oscar-page__card-review:focus-visible .oscar-page__card-review-arrow {
    transform: translateX(2px);
    opacity: 1;
}

.oscar-page__card-search-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 9px 0 7px;
    border-radius: 4px;
    background: rgba(206, 79, 84, 0.1);
    color: #b03a3f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.oscar-page__card-search-link:hover {
    background: rgba(206, 79, 84, 0.2);
    color: #b03a3f;
    text-decoration: none;
}

.oscar-page__card-genres,
.oscar-page__card-duration {
    font-size: 13px;
    color: #777777;
}

.oscar-page__card-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.oscar-page__card-duration svg {
    color: #999999;
    flex-shrink: 0;
}

/* Regisseur en acteurs: op mobiel verborgen (net als op Films op TV), op >= 640px zichtbaar */
.oscar-page__card-credits {
    display: none;
    margin: 2px 0 0;
    padding: 0;
    grid-template-columns: 15px minmax(0, 1fr);
    align-items: center;
    gap: 3px 9px;
    font-size: 13px;
    line-height: 1.4;
}

.oscar-page__card-credits dt {
    display: flex;
    color: #999999;
    margin: 0;
}

.oscar-page__card-credits dd {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #444444;
}

.oscar-page__card-credits a {
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
}

.oscar-page__card-credits a:hover {
    color: #aa0001;
    text-decoration: underline;
}

/* Subtiele debugregel op filmkaart (uitsluitend gerenderd wanneer OSCAR_DEBUG_MATCHING=true) */
.oscar-page__card-debug {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-top: 3px;
    padding-top: 4px;
    border-top: 1px dashed #e6e6e6;
    font-size: 11px;
    line-height: 1.35;
    color: #888888;
}

.oscar-page__card-debug code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 3px;
    background-color: #f4f4f4;
    color: #555555;
}

.oscar-page__card-debug-sep {
    color: #cccccc;
}

/* Verbonden Oscar-toelichtingspaneel direct ONDER de witte filmkaart (Concept 2) */
.oscar-page__reason-bubble {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #f6efe9;
    border: none;
    border-radius: 0 0 11px 11px;
    padding: 12px 15px 12px;
    margin: 0;
}

/* Klein verbindingsdriehoekje midden boven Oscars avatar dat de toelichting met de filmkaart erboven verbindt */
.oscar-page__reason-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 29px;
    width: 11px;
    height: 11px;
    background-color: #f6efe9;
    border-top: 1px solid #ebe4dc;
    border-left: 1px solid #ebe4dc;
    transform: rotate(45deg);
}

.oscar-page__reason-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #b52b22;
    margin-top: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    display: block;
}

.oscar-page__reason-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.oscar-page__reason-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px 3px;
    border-radius: 5px;
    background-color: #b52b22;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.oscar-page__reason-text {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.48;
    color: #222222;
    margin: 0;
    padding: 0;
}

/* Subtiele 'Waar kijken:'-regel met aanklikbare favicons onder Oscars motivatie */
.oscar-page__reason-watch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
}

.oscar-page__reason-watch-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: #6b655e;
    white-space: nowrap;
}

.oscar-page__reason-watch-links {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.oscar-page__reason-watch-link,
.oscar-page__reason-watch-link:link,
.oscar-page__reason-watch-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -4px 0;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__reason-watch-link:hover,
.oscar-page__reason-watch-link:focus-visible {
    background-color: rgba(0, 0, 0, 0.06);
    transform: scale(1.08);
    outline: none;
}

.oscar-page__reason-watch-icon-wrap {
    width: 19px;
    height: 19px;
}

.oscar-page__reason-watch-favicon {
    width: 19px;
    height: 19px;
    border-radius: 3px;
}

.oscar-page__reason-watch-favicon--round {
    border-radius: 50%;
}

/* Compact redactioneel blok 'Verder ontdekken op FilmTotaal' onder de groep filmaanbevelingen */
.oscar-page__related-news {
    margin-top: 14px;
    padding: 13px 14px 12px;
    background-color: #ffffff;
    border: 1px solid #ece8e6;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.oscar-page__related-news-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0 0 9px;
    border-bottom: 1px solid #f2efed;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555555;
    line-height: 1.3;
}

.oscar-page__related-news-icon {
    color: #aa0001;
    flex-shrink: 0;
}

.oscar-page__related-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oscar-page__related-news-item {
    margin: 0;
    padding: 0;
    border-top: 1px solid #f4f1ef;
}

.oscar-page__related-news-item:first-child {
    border-top: none;
}

.oscar-page__related-news-link,
.oscar-page__related-news-link:link,
.oscar-page__related-news-link:visited {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 2px -6px;
    padding: 6px;
    border-radius: 7px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background-color 0.15s ease;
}

.oscar-page__related-news-link:hover,
.oscar-page__related-news-link:focus-visible {
    background-color: #faf7f5;
    outline: none;
}

.oscar-page__related-news-thumb {
    position: relative;
    width: 84px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f3efec;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oscar-page__related-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.oscar-page__related-news-link:hover .oscar-page__related-news-img {
    transform: scale(1.04);
}

.oscar-page__related-news-thumb.is-fallback .oscar-page__related-news-img {
    display: none;
}

.oscar-page__related-news-thumb-fallback {
    display: none;
    color: #b49c96;
}

.oscar-page__related-news-thumb.is-fallback .oscar-page__related-news-thumb-fallback {
    display: block;
}

.oscar-page__related-news-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.oscar-page__related-news-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.oscar-page__related-news-link:hover .oscar-page__related-news-title,
.oscar-page__related-news-link:focus-visible .oscar-page__related-news-title {
    color: #aa0001;
}

.oscar-page__related-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.25;
}

.oscar-page__related-news-movie {
    font-size: 11px;
    font-weight: 600;
    color: #aa0001;
    background-color: #fbf1f1;
    padding: 1px 6px;
    border-radius: 4px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oscar-page__related-news-dot {
    font-size: 11px;
    color: #b5b0ad;
}

.oscar-page__related-news-date {
    font-size: 11.5px;
    font-weight: 400;
    color: #777777;
}

.oscar-page__related-news-chevron {
    flex-shrink: 0;
    color: #c2bcba;
    transition: color 0.15s ease, transform 0.15s ease;
}

.oscar-page__related-news-link:hover .oscar-page__related-news-chevron,
.oscar-page__related-news-link:focus-visible .oscar-page__related-news-chevron {
    color: #aa0001;
    transform: translateX(2px);
}

.oscar-page__related-news-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    margin: 4px auto -2px;
    padding: 5px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: transparent;
    color: #6b6562;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.oscar-page__related-news-more:hover:not(:disabled),
.oscar-page__related-news-more:focus-visible:not(:disabled) {
    background-color: #faf5f5;
    border-color: rgba(170, 0, 1, 0.14);
    color: #aa0001;
    outline: none;
}

.oscar-page__related-news-more:disabled {
    opacity: 0.6;
    cursor: default;
}

.oscar-page__related-news-more-icon {
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.oscar-page__related-news-more:hover:not(:disabled) .oscar-page__related-news-more-icon,
.oscar-page__related-news-more:focus-visible:not(:disabled) .oscar-page__related-news-more-icon {
    opacity: 1;
    transform: translateY(1px);
}

/* Laad- en foutstatus binnen Oscars antwoordblok */
.oscar-page__loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eef5fd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #555555;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.oscar-page__loading--sub {
    display: inline-flex;
    margin-top: 8px;
}

.oscar-page__loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.oscar-page__loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #aa0001;
    opacity: 0.35;
    animation: oscarPulseDot 1.2s infinite ease-in-out;
}

.oscar-page__loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.oscar-page__loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes oscarPulseDot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.oscar-page__error {
    background-color: #f8e8e9;
    border: 1px solid rgba(206, 79, 84, 0.28);
    color: #b03a3f;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
}

/* ── 5. Zwevende Vervolgopties + Witte Invoerbalk onderaan ─────────── */
.oscar-page__dock {
    position: sticky;
    bottom: 0;
    z-index: 30;
    padding: 12px 0 max(4px, env(safe-area-inset-bottom));
    margin-top: 8px;
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 0.94) 24%, #f0f0f0 100%);
}

/* Zolang het gesprek nog niet begonnen is, zijn de onderste zwevende chatbalk en thread volledig verborgen */
.oscar-page:not(.is-chat-active) .oscar-page__dock {
    position: static;
    padding: 2px 0 0;
    margin-top: 2px;
    background: none;
}

.oscar-page:not(.is-chat-active) .oscar-page__composer,
.oscar-page:not(.is-chat-active) .oscar-page__quick-bar,
.oscar-page:not(.is-chat-active) .oscar-page__thread {
    display: none !important;
}

.oscar-page__quick-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 2px 10px;
}

.oscar-page__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 13px 6px 11px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 99px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__chip-icon {
    width: 13px;
    height: 13px;
    color: #999999;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.oscar-page__chip:hover,
.oscar-page__chip:focus-visible {
    border-color: #aa0001;
    background-color: #ffffff;
    color: #aa0001;
    outline: none;
}

.oscar-page__chip:hover .oscar-page__chip-icon,
.oscar-page__chip:focus-visible .oscar-page__chip-icon {
    color: #aa0001;
}

/* Zwevende witte chatinvoerbalk met zachte schaduw */
.oscar-page__composer {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 99px;
    padding: 5px 6px 5px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
}

.oscar-page__composer:focus-within {
    border-color: #aa0001;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

.oscar-page__composer-icon {
    width: 19px;
    height: 19px;
    color: #888888;
    flex-shrink: 0;
    display: block;
}

.oscar-page__composer-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px; /* Voorkomt automatische iOS Safari zoom bij focus */
    font-weight: 400;
    color: #1a1a1a;
    background: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.oscar-page__composer-input::placeholder {
    color: #888888;
    opacity: 1;
}

.oscar-page__composer-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background-color: #aa0001;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(170, 0, 1, 0.25);
    transition: background-color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__composer-send:hover:not(:disabled),
.oscar-page__composer-send:focus-visible:not(:disabled) {
    background-color: #880001;
    outline: none;
}

.oscar-page__composer-send:active:not(:disabled) {
    transform: scale(0.96);
}

.oscar-page__composer-send:disabled {
    background-color: #dcdcdc;
    color: #8c8c8c;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.oscar-page__composer-send svg {
    width: 17px;
    height: 17px;
    display: block;
}

/* Subtiele permanente AI-disclaimer direct onder de zwevende chatinvoer */
.oscar-page__disclaimer {
    margin: 7px 0 0;
    padding: 0 8px 2px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #8a8a8a;
}

.oscar-page__disclaimer-link {
    display: inline;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    font: inherit;
    color: #767676;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.oscar-page__disclaimer-link:hover,
.oscar-page__disclaimer-link:focus-visible {
    color: #333333;
    outline: none;
}

/* Toegankelijke popup ('Over Oscar') */
.oscar-page__modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 16px 16px; /* ruimte voor de vaste sitekop bovenaan */
    background: rgba(0, 0, 0, 0.45);
}

.oscar-page__modal-dialog {
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    padding: 20px 22px 22px;
    color: #222222;
}

.oscar-page__modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.oscar-page__modal-title {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.oscar-page__modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -4px -6px -4px 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #777777;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.oscar-page__modal-close:hover,
.oscar-page__modal-close:focus-visible {
    background-color: #f0f0f0;
    color: #1a1a1a;
    outline: none;
}

.oscar-page__modal-close svg {
    width: 18px;
    height: 18px;
}

.oscar-page__modal-body p {
    margin: 0 0 11px;
    font-size: 14px;
    line-height: 1.55;
    color: #444444;
}

.oscar-page__modal-body p:last-child {
    margin-bottom: 0;
}

.oscar-page__modal-link {
    color: #aa0001;
    font-weight: 600;
    text-decoration: underline;
}

.oscar-page__modal-link:hover,
.oscar-page__modal-link:focus-visible {
    color: #880001;
}

.oscar-page__modal-body h3 {
    margin: 16px 0 6px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.oscar-page__modal-body h3:first-child {
    margin-top: 0;
}

.oscar-page__modal-body ul {
    margin: 0 0 11px;
    padding-left: 20px;
    list-style: disc;
}

.oscar-page__modal-body li {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
}

/* ── Tabletopschaling (>= 640px) ───────────────────────────────────── */
@media (min-width: 640px) {
    .oscar-page {
        padding: 22px 0 36px;
    }

    .oscar-page__shell {
        padding: 0 16px;
    }

    /* Welkomstscherm: ook op desktop eerst de knoppen, daaronder "Hoi, ik ben Oscar" (zoals op mobiel);
       alleen tijdens een gesprek staan titel en knoppen naast elkaar */
    .oscar-page.is-chat-active .oscar-page__topbar {
        gap: 12px;
    }

    .oscar-page__hero-avatar {
        width: 84px;
        height: 84px;
    }

    .oscar-page__title {
        font-size: 24px;
    }

    .oscar-page__guided-card {
        padding: 22px 24px 18px;
    }

    .oscar-page__msg {
        gap: 12px;
    }

    .oscar-page__msg-avatar {
        width: 44px;
        height: 44px;
    }

    .oscar-page__bubble--user {
        font-size: 14.5px;
        padding: 11px 18px;
    }

    .oscar-page__reply-text {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .oscar-page__reply-text--text-only {
        margin-bottom: 0;
        padding: 13px 18px;
    }

    .oscar-page__rec-list {
        gap: 16px;
    }

    .oscar-page__film-card {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas: none;
        column-gap: 12px;
        row-gap: 0;
        padding: 12px 14px;
    }

    .oscar-page__card-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
    }

    .oscar-page__card-top {
        margin-bottom: 0;
    }

    .oscar-page__card-synopsis {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .oscar-page__card-facts {
        margin-top: 0;
    }

    /* Toon regisseur & acteurs op tablet en desktop */
    .oscar-page__card-credits {
        display: grid;
    }

    .oscar-page__reason-bubble {
        gap: 14px;
        padding: 13px 16px 13px;
        margin-left: 0;
    }

    .oscar-page__reason-bubble::before {
        left: 32px;
    }

    .oscar-page__reason-avatar {
        width: 44px;
        height: 44px;
    }

    .oscar-page__reason-text {
        font-size: 14px;
    }
}

/* ── Desktop met Inklapbare Linkerzijbalk (>= 960px) ───────────────── */
@media (min-width: 960px) {
    .oscar-page {
        padding: 26px 0 44px;
    }

    .oscar-page__main {
        max-width: none;
        margin: 0;
    }

    .oscar-page__backdrop {
        display: none !important;
    }

    .oscar-page__sidebar {
        position: sticky;
        top: 80px;
        right: auto;
        align-self: flex-start;
        width: 236px;
        height: auto;
        max-height: calc(100vh - 112px);
        flex-shrink: 0;
        background-color: #f9f9f9;
        border: 1px solid #e4e4e4;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        padding: 12px;
        z-index: 10;
    }

    .oscar-page__drawer-close {
        display: none;
    }

    .oscar-page__sidebar-toggle {
        display: inline-flex;
    }

    /* Inklapbare staat op desktop */
    .oscar-page.is-sidebar-collapsed .oscar-page__sidebar {
        width: 58px;
        padding: 10px;
    }

    .oscar-page.is-sidebar-collapsed .oscar-page__sidebar-top {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .oscar-page.is-sidebar-collapsed .oscar-page__sidebar-toggle svg {
        transform: rotate(180deg);
    }

    .oscar-page.is-sidebar-collapsed .oscar-page__new-chat-btn {
        flex: none;
        width: 36px;
        height: 36px;
        justify-content: center;
        padding: 0;
    }

    .oscar-page.is-sidebar-collapsed .oscar-page__new-chat-label,
    .oscar-page.is-sidebar-collapsed .oscar-page__nav-label,
    .oscar-page.is-sidebar-collapsed .oscar-page__history-section {
        display: none;
    }

    .oscar-page__action-pill--mobile {
        display: none;
    }

    .oscar-page.is-chat-active .oscar-page__action-pill--desktop {
        display: inline-flex;
    }

    .oscar-page__msg--oscar .oscar-page__msg-col {
        max-width: calc(100% - 56px);
    }
}

/* Subtiele informatieregel onder Oscars antwoord wanneer een besproken film niet in FilmTotaal staat */
.oscar-page__missing-film-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #eeeeee;
    font-size: 13px;
    line-height: 1.45;
    color: #666666;
}

.oscar-page__missing-film-text {
    color: #666666;
}

.oscar-page__missing-film-link,
.oscar-page__missing-film-link:link,
.oscar-page__missing-film-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2b2b2b;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.oscar-page__missing-film-link:hover,
.oscar-page__missing-film-link:focus-visible {
    color: #aa0001;
    outline: none;
}

.oscar-page__missing-film-link .oscar-page__ext-icon-wrap {
    width: 15px;
    height: 15px;
}

.oscar-page__missing-film-link .oscar-page__ext-favicon {
    width: 15px;
    height: 15px;
}

/* ── Afzonderlijk blok voor niet-gekoppelde films ('Mogelijk ook interessant') ── */
.oscar-page__unmatched {
    margin-top: 14px;
    padding: 12px 14px;
    background-color: #fafafa;
    border: 1px dashed #d6d6d6;
    border-radius: 10px;
}

.oscar-page__unmatched-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 10px;
    margin-bottom: 10px;
}

.oscar-page__unmatched-heading {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.3;
}

.oscar-page__unmatched-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: #6b6b6b;
}

.oscar-page__unmatched-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oscar-page__unmatched-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 9px 11px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}

.oscar-page__unmatched-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oscar-page__unmatched-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    line-height: 1.35;
}

.oscar-page__unmatched-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
}

.oscar-page__unmatched-year {
    font-size: 13px;
    color: #666666;
}

.oscar-page__unmatched-pill {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 600;
    color: #5c5c5c;
    background-color: #f0f0f0;
    border-radius: 99px;
}

.oscar-page__unmatched-status {
    font-size: 12px;
    color: #707070;
}

.oscar-page__unmatched-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.oscar-page__unmatched-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    background-color: #f5f5f5;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.oscar-page__unmatched-link:hover,
.oscar-page__unmatched-link:focus-visible {
    border-color: #aa0001;
    color: #aa0001;
    background-color: #ffffff;
    outline: none;
}


/* ── Mobiel: topbar-knoppen alleen met icoon (voorkomt overlap met titel) ── */
@media (max-width: 639px) {
    .oscar-page__topbar-actions .oscar-page__action-pill {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        gap: 0;
    }
    .oscar-page__topbar-actions .oscar-page__action-pill span {
        display: none;
    }
    .oscar-page__topbar-actions .oscar-page__action-pill svg {
        width: 18px;
        height: 18px;
    }
}

/* Vervolgopties staan onderaan het gesprek (niet zwevend) */
.oscar-page__quick-bar {
    margin-top: 6px;
}

/* ── Teller: aantal vragen vandaag / deze maand (topbalkknop + uitklapvenster + hint onder het invoerveld) ── */
.oscar-page__usage {
    position: relative;
    --usage-pct: 0;
}

.oscar-page__usage:not(.is-ready) .oscar-page__usage-btn {
    visibility: hidden;
}

.oscar-page__usage-ring {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: conic-gradient(#a30000 calc(var(--usage-pct) * 1%), #e6e6e6 0);
    display: grid;
    place-items: center;
}

.oscar-page__usage-ring i {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
}

.oscar-page__usage-num {
    display: none;
}

.oscar-page__usage.is-full .oscar-page__usage-btn {
    background-color: #fdeaea;
    border-color: #e9a3a3;
    color: #a30000;
}

.oscar-page__usage.is-full .oscar-page__usage-ring {
    background: #c40000;
}

.oscar-page__usage-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    max-width: calc(100vw - 32px);
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    z-index: 120;
    text-align: left;
}

.oscar-page__usage-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.oscar-page__usage-meter {
    margin: 10px 0;
}

.oscar-page__usage-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: #666666;
}

.oscar-page__usage-line strong {
    color: #1a1a1a;
    font-weight: 600;
}

.oscar-page__usage-bar {
    height: 8px;
    margin-top: 5px;
    background: #ececec;
    border-radius: 9px;
    overflow: hidden;
}

.oscar-page__usage-bar b {
    display: block;
    height: 100%;
    width: 0;
    background: #a30000;
    border-radius: 9px;
    transition: width 0.3s ease;
}

.oscar-page__usage-meter.is-warn .oscar-page__usage-bar b {
    background: #e08a00;
}

.oscar-page__usage-meter.is-full .oscar-page__usage-bar b {
    background: #c40000;
}

.oscar-page__usage-note {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.oscar-page__usage-hint {
    margin: 7px 0 0;
    padding: 0 8px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.oscar-page__usage-hint:empty {
    display: none;
}

.oscar-page__usage-hint.is-full {
    color: #a30000;
    font-weight: 600;
}

@media (max-width: 639px) {
    /* Mobiel: alleen ring + getal in de topbalk (de algemene regel hierboven verbergt alle spans) */
    .oscar-page__topbar-actions .oscar-page__usage-btn {
        width: auto;
        min-width: 40px;
        padding: 0 10px;
        gap: 6px;
    }
    .oscar-page__topbar-actions .oscar-page__usage-btn span.oscar-page__usage-ring {
        display: grid;
    }
    .oscar-page__topbar-actions .oscar-page__usage-btn span.oscar-page__usage-num {
        display: inline;
        font-size: 13px;
        font-weight: 700;
    }
}

/* ── Feedback: duimpje omhoog/omlaag onder een antwoord ── */
.oscar-page__feedback {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: #8a8a8a;
}

.oscar-page__feedback-label {
    margin-right: 2px;
}

.oscar-page__feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #8a8a8a;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.oscar-page__feedback-btn svg {
    width: 16px;
    height: 16px;
}

.oscar-page__feedback-btn--down svg {
    transform: rotate(180deg);
}

.oscar-page__feedback-btn:hover,
.oscar-page__feedback-btn:focus-visible {
    background-color: #f0f0f0;
    color: #333333;
    outline: none;
}

.oscar-page__feedback-btn.is-active {
    color: #a30000;
    background-color: #fdeaea;
    border-color: #f2c4c4;
}

.oscar-page__feedback-btn.is-active svg {
    fill: currentColor;
    fill-opacity: 0.18;
}

/* ── Maximaal aantal vragen per chat: teller en "chat zit vol"-melding ── */
.oscar-page__chat-count {
    margin: 7px 0 0;
    padding: 0 8px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.oscar-page__chat-count:empty {
    display: none;
}

.oscar-page__chat-count.is-warn {
    color: #8a5500;
    font-weight: 600;
}

.oscar-page__chat-full {
    display: none;
}

.oscar-page__chat-full-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #777777;
    text-align: center;
}

.oscar-page__chat-full-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 20px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 99px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.oscar-page__chat-full-btn svg {
    width: 16px;
    height: 16px;
    color: #aa0001;
}

.oscar-page__chat-full-btn:hover,
.oscar-page__chat-full-btn:focus-visible {
    border-color: #aa0001;
    color: #aa0001;
    outline: none;
}

/* Volle chat: invoer, vervolgchips en kaartmenu's weg; de grote knop komt ervoor in de plaats */
.oscar-page.is-chat-full .oscar-page__chat-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.oscar-page.is-chat-full .oscar-page__composer,
.oscar-page.is-chat-full .oscar-page__quick-bar,
.oscar-page.is-chat-full .oscar-page__card-chat-wrap {
    display: none !important;
}

/* Tellers onder het invoerveld op één regel (wrapt netjes op smalle schermen) */
.oscar-page__counters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
    margin-top: 7px;
}

.oscar-page__counters .oscar-page__chat-count,
.oscar-page__counters .oscar-page__usage-hint {
    margin: 0;
    padding: 0;
}

.oscar-page__counters .oscar-page__chat-count:not(:empty)::after {
    content: "\00b7";
    margin-left: 6px;
    font-weight: 400;
    color: #8a8a8a;
}

/* ── Gastweergave (niet ingelogd): uitnodiging om gratis een account te maken ── */
.oscar-page--guest {
    background-color: #f2f2f4;
}

.oscar-guest__sidebar {
    display: none;
}

.oscar-guest__sidebar .oscar-page__history-empty {
    font-size: 12.5px;
    color: #444444;
}

.oscar-guest__link-reset,
.oscar-guest__link-reset:hover,
.oscar-guest__link-reset:focus {
    text-decoration: none;
}

.oscar-guest__new-chat svg {
    color: #aa0001;
}

/* Eén witte kaart: mobiel onder elkaar (uitnodiging eerst), desktop naast elkaar */
.oscar-guest__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.oscar-guest__preview {
    padding: 4px 4px 2px;
}

.oscar-guest__lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
}

.oscar-guest__preview .oscar-page__guided-modes {
    margin-bottom: 14px;
}

.oscar-page__mode-btn:disabled {
    background-color: #ebebed;
    border-color: transparent;
    color: #777777;
    cursor: not-allowed;
}

.oscar-page__guided-input:disabled {
    background-color: #ffffff;
    color: #888888;
    cursor: not-allowed;
}

a.oscar-page__guided-submit {
    color: #777777;
}

a.oscar-page__guided-submit:hover,
a.oscar-page__guided-submit:focus-visible {
    background-color: #aa0001;
    color: #ffffff;
    outline: none;
}

.oscar-guest__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px 16px 16px;
    background: linear-gradient(180deg, #fbe2e3 0%, #fcecec 55%, #fbf3f3 100%);
    border-radius: 12px;
}

.oscar-guest__avatar {
    position: relative;
    align-self: center;
    width: 72px;
    height: 72px;
}

.oscar-guest__avatar img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #b52b22;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.oscar-guest__lock {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #a80100;
    color: #ffffff;
    border: 2px solid #fbe9e9;
}

.oscar-guest__lock svg {
    width: 12px;
    height: 12px;
}

.oscar-guest__cta-title {
    margin: 12px 0 6px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.oscar-guest__cta-text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
}

.oscar-guest__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid #a80100;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.oscar-guest__btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.oscar-guest__btn--primary {
    background-color: #a80100;
    color: #ffffff;
}

.oscar-guest__btn--primary:hover,
.oscar-guest__btn--primary:focus-visible {
    background-color: #880001;
    color: #ffffff;
    outline: none;
}

.oscar-guest__btn--secondary {
    margin-top: 10px;
    background-color: #ffffff;
    color: #a80100;
}

.oscar-guest__btn--secondary:hover,
.oscar-guest__btn--secondary:focus-visible {
    background-color: #fbe9e9;
    color: #880001;
    outline: none;
}

.oscar-guest__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.oscar-guest__note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.oscar-guest__footnote {
    margin: 18px 0 0;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.4;
    color: #777777;
}

@media (min-width: 640px) {
    .oscar-guest__preview .oscar-page__guided-title {
        font-size: 18px;
    }

    .oscar-guest__lead {
        font-size: 15px;
    }
}

@media (min-width: 960px) {
    .oscar-guest__sidebar {
        display: flex;
    }

    .oscar-guest__panel {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: stretch;
        gap: 0;
        padding: 14px;
    }

    .oscar-guest__preview {
        grid-column: 1;
        grid-row: 1;
        margin-right: 16px;
        padding: 12px 24px 8px 12px;
        border-right: 1px solid #efefef;
    }

    .oscar-guest__cta {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        padding: 24px 14px 18px;
    }
}

/* Gastweergave: wat Oscar biedt (onderaan de kaart) */
.oscar-guest__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 14px 0 4px;
    list-style: none;
    border-top: 1px solid #efefef;
}

/* Mobiel: icoon boven de tekst, drie gelijke kolommen */
.oscar-guest__features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.oscar-guest__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f9dfdf;
    color: #a80100;
}

.oscar-guest__feature-icon svg {
    width: 17px;
    height: 17px;
}

@media (min-width: 640px) {
    .oscar-guest__features li {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
        text-align: left;
    }

    .oscar-guest__feature-icon {
        width: 32px;
        height: 32px;
    }

    .oscar-guest__feature-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 960px) {
    .oscar-guest__features {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 14px;
        padding: 16px 0 4px;
    }
}
