body.reels-body {
    margin: 0;
    background: #0d0d0d;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* HEADER */
.reels-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(13,13,13,0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.back-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.2);
}

.title-group {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.title-group p {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.title-group span {
    font-size: 13px;
    opacity: 0.7;
}

/* SCROLL AREA */
#reels-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

/* REEL */
.reel {
    position: relative;
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    background: #0d0d0d;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.reel[data-locked="true"] .reel-video {
    filter: blur(3px);
    opacity: 0.45;
}

/* OVERLAY */
.overlay {
    position: absolute;
    bottom: 70px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.overlay .meta {
    max-width: 72%;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    pointer-events: none;
}

.episode-pill {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.55);
    font-size: 12px;
    margin-bottom: 6px;
    backdrop-filter: blur(6px);
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.episode-pill:focus-visible {
    outline: 2px solid rgba(255,255,255,0.8);
}

.overlay h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

/* MUTE */
.mute-toggle {
    pointer-events: auto;
    border: none;
    background: rgba(0,0,0,0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.mute-toggle:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.mute-toggle:active {
    transform: scale(0.9);
}

.reel[data-locked="true"] .mute-toggle {
    display: none;
}

/* LOCKED OVERLAY */
.locked-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.locked-card p {
    margin: 0 0 0.5rem;
    font-size: 16px;
}

.locked-card .btn {
    display: inline-flex;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.locked-card .btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
}

/* EPISODE DROPDOWN */
.episode-floating {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 32px));
    z-index: 15;
}

.episode-toggle {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.35);
    background: linear-gradient(135deg, rgba(245,71,132,0.35), rgba(13,13,18,0.85));
    color: #fff;
    padding: 0.85rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.episode-toggle.open {
    background: rgba(13,13,18,0.9);
}

.episode-toggle .chevron {
    font-size: 1rem;
    opacity: 0.7;
}

.current-episode-label {
    pointer-events: auto;
}

.episode-dropdown {
    display: none;
    margin-top: 0.8rem;
    border-radius: 26px;
    background: rgba(5,5,10,0.92);
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.6rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.episode-dropdown.open {
    display: block;
}

.episode-option {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.episode-option.free {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    border-left: 4px solid #22c55e;
}

.episode-option.premium {
    background: rgba(248, 113, 113, 0.2);
    color: #fecaca;
    border-left: 4px solid #f87171;
}

.episode-option.current {
    border: 2px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}

.episode-option small {
    color: rgba(255,255,255,0.7);
}

.episode-option.locked small {
    color: #f87171;
}

.episode-option.disabled,
.episode-option:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* DESKTOP */
@media (min-width: 768px) {
    #reels-container {
        width: 480px;
        margin: 0 auto;
    }
    .reel {
        width: 480px;
        margin: 0 auto;
    }
    .episode-floating {
        width: 420px;
    }
}
