/* ── Auth nav ──────────────────────────────────────────────────────── */
.rc-avatar-wrap {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

@keyframes rc-badge-pop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.rc-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.25);
    vertical-align: middle;
    display: inline-block;
}
/* Initials avatar — shown when provider (e.g. Apple) supplies no photoURL */
.rc-avatar-initial {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
    text-transform: uppercase;
}
.rc-user-btn {
    padding: 6px 4px !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}
.rc-user-btn:hover { text-decoration: none; color: inherit; }
.rc-caret {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.2s;
}
.nav-item.show .rc-caret { transform: rotate(180deg); }
/* Fixed-position dropdown — renders above the header, outside any overflow constraints */
.rc-dropdown {
    position: fixed;
    z-index: 9999;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    min-width: 185px;
    padding: 4px 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
    display: none;
    overflow: visible;
}
.rc-dropdown.show { display: block; }
/* Upward-pointing arrow connecting the dropdown to the icon */
.rc-dropdown::before,
.rc-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top: 0;
    border-bottom-color: rgba(255,255,255,0.15);
}
.rc-dropdown::after {
    border-width: 6px;
    margin-bottom: -1px;
    border-bottom-color: #1c1c1c;
}
.rc-dropdown .dropdown-item {
    color: rgba(255,255,255,0.72);
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.84rem;
    padding: 8px 16px;
    transition: background 0.15s, color 0.15s;
}
.rc-dropdown .dropdown-item:hover,
.rc-dropdown .dropdown-item:focus { background: rgba(245,197,24,0.12); color: #f5c518; }
.rc-dropdown .dropdown-item.active { color: #f5c518; }
.rc-dropdown .dropdown-item i { margin-right: 8px; width: 14px; text-align: center; }

.rc-dropdown .dropdown-divider { border-color: rgba(255,255,255,0.1); margin: 4px 0; }
.rc-user-name {
    display: block;
    color: rgba(255,255,255,0.38);
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.76rem;
    padding: 8px 16px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.rc-signin-btn {
    color: rgba(255,255,255,0.55) !important;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.15s !important;
    white-space: nowrap;
}
.rc-signin-btn:hover { color: #f5c518 !important; text-decoration: none; }
.rc-signin-btn i { margin-right: 4px; font-size: 1rem; vertical-align: middle; }

/* ── Provider picker ───────────────────────────────────────────────── */
.rc-provider-picker {
    position: fixed;
    z-index: 9999;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}
.rc-provider-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.85);
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    width: 100%;
    text-align: left;
}
.rc-provider-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.rc-provider-btn i { font-size: 1rem; width: 18px; text-align: center; }
.rc-provider-btn.google   i { color: #4285F4; }
.rc-provider-btn.facebook i { color: #1877F2; }
.rc-provider-btn.apple    i { color: #fff; }

/* ── Heart / bookmark buttons on video cards ───────────────────────── */
.rc-card-fav {
    position: absolute;
    top: 6px; right: 6px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    transition: color 0.15s, background 0.15s, transform 0.12s;
    z-index: 3;
    line-height: 1;
    padding: 0;
}
.rc-card-fav:hover { color: #e74c3c; background: rgba(0,0,0,0.8); }
.rc-card-fav.rc-active { color: #e74c3c; background: rgba(0,0,0,0.8); transform: scale(1.1); }

/* ── Player action buttons (favorite / watchlist) ──────────────────── */
.rc-player-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.rc-btn-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.15);
    margin: 0 4px;
    flex-shrink: 0;
}
.rc-player-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 4px 12px;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    transition: color 0.15s, border-color 0.15s;
    line-height: 1.6;
}
.rc-player-btn i { font-size: 0.82rem; }
.rc-player-btn:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.38); }
.rc-player-btn.rc-active { border-color: rgba(255,255,255,0.32); }
.rc-player-btn.rc-active .fa-thumbs-up { color: #f5c518; }
.rc-player-btn.rc-active .fa-bookmark { color: #f5c518; }
.rc-player-btn.rc-active .fa-heart    { color: #e74c3c; }

/* ── YouTube share button blocker ──────────────────────────────────── */
.yt-share-block {
    position: absolute;
    bottom: 0;
    right: 44px;
    width: 160px;
    height: 46px;
    z-index: 5;
    cursor: default;
}

/* ── Like counts on episode cards ──────────────────────────────────── */
.episode-meta-row { display:flex; justify-content:space-between; align-items:center; margin-top:4px; }
.episode-likes { font-size:0.68rem; color:rgba(255,255,255,0.35); white-space:nowrap; margin-left:6px; }
.episode-likes i { font-size:0.60rem; }

/* ── Social share buttons on player ────────────────────────────────── */
.rc-share-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.58);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rc-share-link:hover { color: #fff; background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); text-decoration: none; }
.rc-share-link.tw:hover { color: #fff; background: #000; border-color: #555; }
.rc-share-link.fb:hover { color: #fff; background: #1877F2; border-color: #1877F2; }
.rc-share-link.ig:hover { color: #fff; background: #E4405F; border-color: #E4405F; }
.rc-share-link.wa:hover { color: #fff; background: #25D366; border-color: #25D366; }

/* ── "Browse More Episodes" shown when video ends ──────────────────── */
.rc-browse-more-wrap { margin-top: 10px; }
.rc-browse-more-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 18px 5px;
    border: 1px solid #f5c518;
    border-radius: 999px;
    color: #f5c518;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.rc-browse-more-btn i { font-size: 0.7em; transform: translateY(-1px); }
.rc-browse-more-btn:hover { background: #f5c518; color: #111; text-decoration: none; }

/* ── Recently Watched shelf on homepage ────────────────────────────── */
.rc-recently-watched { margin-bottom: 26px; }
.rc-shelf-label {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin: 0 0 10px;
}
.rc-shelf-row {
    display: flex; gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rc-shelf-row::-webkit-scrollbar { display: none; }
.rc-shelf-item { flex: 0 0 140px; scroll-snap-align: start; }
.rc-shelf-item a { text-decoration: none; }
.rc-shelf-thumb {
    width: 140px; height: 79px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    display: block;
    transition: border-color 0.15s;
}
.rc-shelf-item a:hover .rc-shelf-thumb { border-color: #f5c518; }
.rc-shelf-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.71rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    margin: 5px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* ── Sign-in nudge toast ────────────────────────────────────────────── */
.rc-toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #222;
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.84rem;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    z-index: 9999;
    transition: transform 0.25s;
    pointer-events: none;
    white-space: nowrap;
}
.rc-toast.rc-toast-show { transform: translateX(-50%) translateY(0); }

/* ── Favorites / Watchlist list pages ──────────────────────────────── */
.rc-list-page-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin: 0 0 20px;
}
.rc-list-search {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 8px 18px;
    color: #fff;
    font-size: 0.9rem;
    width: 100%; max-width: 380px;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    margin-bottom: 18px;
    display: block;
}
.rc-list-search::placeholder { color: rgba(255,255,255,0.3); }
.rc-list-search:focus { border-color: #f5c518; }
.rc-list-empty {
    padding: 60px 0;
    text-align: center;
    color: rgba(255,255,255,0.3);
}
.rc-list-empty i { font-size: 2.5rem; display: block; margin-bottom: 14px; }
.rc-list-empty p { font-family: "Josefin Sans", sans-serif; font-size: 0.9rem; margin: 0; }
.rc-list-signin { padding: 80px 20px; text-align: center; }
.rc-list-signin i { font-size: 2.8rem; color: rgba(255,255,255,0.2); margin-bottom: 16px; display: block; }
.rc-list-signin h2 {
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.1rem; font-weight: 700;
    margin: 0 0 8px;
}
.rc-list-signin p { color: rgba(255,255,255,0.42); font-size: 0.9rem; margin: 0 0 24px; }
.rc-list-signin-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f5c518; color: #111;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase;
    padding: 12px 24px 8px; border-radius: 999px;
    border: none; cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
    line-height: 1;
}
.rc-list-signin-btn i { font-size: 0.7em; transform: translateY(-1px); }
.rc-list-signin-btn:hover { opacity: 0.88; color: #111; text-decoration: none; }

/* ── Notification bell ────────────────────────────────────────────── */
#rc-notif-nav {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-right: 4px;
}
@media (min-width: 992px) {
    #rc-notif-nav { order: 3; margin-left: 0; margin-right: 8px; }
}
.rc-notif-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px !important;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    transition: color 0.15s;
    text-decoration: none;
}
.rc-notif-bell:hover { color: #f5c518; text-decoration: none; }
.rc-notif-badge {
    position: absolute;
    top: 1px; right: 0;
    background: #f5c518; color: #000;
    font-size: 0.58rem; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
    border: 2px solid #0b1413;
    animation: rc-badge-pop 0.3s ease-out;
}

/* ── Inbox icon ──────────────────────────────────────────────── */
#rc-inbox-nav {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}
@media (min-width: 992px) {
    #rc-inbox-nav { order: 4; margin-right: 8px; }
}
.rc-inbox-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px !important;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    transition: color 0.2s, filter 0.2s;
    text-decoration: none;
}
.rc-inbox-icon:hover { color: #f5c518; text-decoration: none; }
.rc-inbox-icon.has-unread { color: #f5c518; filter: drop-shadow(0 0 4px rgba(245,197,24,0.45)); }
.rc-inbox-icon.has-unread:hover { color: #ffd84d; }
.rc-inbox-nav-badge {
    position: absolute;
    top: -2px; right: -4px;
    background: #f5c518; color: #000;
    font-size: 0.6rem; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 5px; line-height: 1;
    border: 2px solid #0b1413;
    animation: rc-badge-pop 0.3s ease-out;
}

/* ── Notification dropdown ────────────────────────────────────────── */
.rc-notif-dropdown {
    position: fixed;
    z-index: 9999;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    width: 360px;
    max-height: 480px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
    display: none;
    overflow: hidden;
}
.rc-notif-dropdown.show { display: flex; flex-direction: column; }
.rc-notif-dropdown::before,
.rc-notif-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 20px;
    border: 7px solid transparent;
    border-top: 0;
    border-bottom-color: rgba(255,255,255,0.15);
}
.rc-notif-dropdown::after {
    border-width: 6px;
    margin-bottom: -1px;
    border-bottom-color: #1c1c1c;
}
.rc-notif-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.rc-notif-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.88rem; font-weight: 700; color: #fff;
}
.rc-notif-mark-all {
    background: none; border: none; cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.72rem; color: rgba(255,255,255,0.35);
    transition: color 0.12s;
}
.rc-notif-mark-all:hover { color: #f5c518; }
.rc-notif-list {
    flex: 1; overflow-y: auto;
    scrollbar-width: thin;
}
.rc-notif-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.12s;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rc-notif-item:hover { background: rgba(255,255,255,0.05); text-decoration: none; }
.rc-notif-item.rc-notif-unread {
    background: rgba(245,197,24,0.04);
}
.rc-notif-item.rc-notif-unread::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #f5c518;
    margin-top: 6px;
}
.rc-notif-item:not(.rc-notif-unread)::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    margin-top: 6px;
}
.rc-notif-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; object-fit: cover;
    flex-shrink: 0;
}
.rc-notif-avatar-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #444;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.rc-notif-body {
    flex: 1; min-width: 0;
}
.rc-notif-text {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem; color: rgba(255,255,255,0.72);
    line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.rc-notif-text strong { color: #fff; font-weight: 600; }
.rc-notif-time {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.66rem; color: rgba(255,255,255,0.25);
    margin-top: 2px;
}
.rc-notif-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 16px;
    text-align: center; flex-shrink: 0;
}
.rc-notif-see-all {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.78rem; font-weight: 600;
    color: #f5c518; text-decoration: none;
    transition: opacity 0.12s;
}
.rc-notif-see-all:hover { opacity: 0.8; text-decoration: none; }
.rc-notif-empty {
    padding: 40px 20px; text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.84rem; color: rgba(255,255,255,0.3);
}
.rc-notif-empty i { font-size: 1.8rem; display: block; margin-bottom: 10px; }

/* ── Report modal ──────────────────────────────────── */
.rc-report-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.rc-report-overlay.show { display: flex; }
.rc-report-box {
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 24px;
    width: 90%;
    max-width: 380px;
}
.rc-report-box h3 {
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1rem;
    margin: 0 0 16px;
}
.rc-report-reasons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.rc-report-reasons label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    cursor: pointer;
}
.rc-report-detail {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: #fff;
    padding: 8px 10px;
    font-size: 0.82rem;
    resize: vertical;
    min-height: 50px;
    margin-bottom: 14px;
    display: none;
}
.rc-report-btns { display: flex; gap: 8px; justify-content: flex-end; }
.rc-report-btns button {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.rc-report-cancel { background: rgba(255,255,255,0.1); color: #fff; }
.rc-report-submit { background: #f5c518; color: #000; }
.rc-report-submit:disabled { opacity: 0.4; cursor: default; }
.rc-report-flag {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.25); font-size: 0.72rem;
    padding: 2px 6px; transition: color 0.15s;
}
.rc-report-flag:hover { color: #f5c518; }

/* ── Footer episode stat ───────────────────────────── */
.rc-footer-stat {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245,197,24,0.45);
    text-align: center;
    margin: 0 0 18px;
}

/* ── Follow button ─────────────────────────────────────────── */
.rc-follow-btn {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 14px; border-radius: 999px;
    border: 1px solid rgba(245,197,24,0.5);
    background: transparent; color: #f5c518;
    cursor: pointer; transition: all 0.15s;
    white-space: nowrap; display: inline-flex;
    align-items: center; gap: 5px;
}
.rc-follow-btn:hover {
    background: rgba(245,197,24,0.12);
    border-color: #f5c518;
}
.rc-follow-btn.following {
    background: rgba(245,197,24,0.15);
    border-color: rgba(245,197,24,0.3);
    color: #f5c518;
}
.rc-follow-btn.following:hover {
    background: rgba(231,76,60,0.12);
    border-color: rgba(231,76,60,0.5);
    color: #e74c3c;
}

@media (max-width: 576px) {
    .rc-notif-dropdown {
        width: calc(100vw - 20px);
        left: 10px !important;
        right: 10px !important;
    }
}
