:root {
    --juuvix-orange: #ff8c00;
    --juuvix-aqua: #00dbde;
    --juuvix-magenta: #fc00ff;
    --sidebar-bg: rgba(10, 11, 16, 0.95);
    --sidebar-glass: rgba(255, 255, 255, 0.03);
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-width: 200px;
    /* Increased from 250px */
}

/* Global Beast Mode Background Injection */
body,
.wrapper.juuvix_live_context {
    background: #000 !important;
}

/* Sidebar Body Integration */
.leftSticky.mobile_left {
    background: transparent !important;
    /* Let body background show through */
}

.i_left_container {
    background: transparent !important;
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--sidebar-border);
}

.leftSidebarWrapper {
    background: transparent !important;
}

/* Menu Item Transformation - BEAST MODE V4.5 (Final Compact 30%) */
.i_left_menu_box {
    margin: 5px 10px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #adadb8 !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.i_left_menu_box .m_tit {
    font-size: 11px !important;
    font-weight: 700 !important;
}

.i_left_menu_box svg,
.i_left_menu_box i {
    width: 16px !important;
    height: 16px !important;
}

.i_left_menu_box:hover,
.i_left_menu_box.active_live {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transform: translateX(8px);
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: -4px 0 15px rgba(255, 140, 0, 0.2);
}

.i_left_menu_box.active_live {
    background: linear-gradient(90deg, rgba(255, 157, 0, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    border-color: #ff9d00;
}


/* Elegant Feed Icon Styling */
.feed-btn svg {
    color: transparent !important;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    fill: url(#feedIconGradient) !important;
    /* Fallback for some SVG implementations */
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.4)) !important;
}

/* Since applying CSS gradients to SVG paths can be tricky depending on the browser/HTML, 
   we'll use a more robust mask approach if needed, but first trying the direct gradient. */
.feed-btn svg path {
    fill: #00d2ff !important;
    /* Elegant base color for better compatibility */
}

/* Back Button Special Style */
.beast-back-btn .i_left_menu_box {
    margin-top: 25px;
    border: 1px dashed rgba(255, 157, 0, 0.4);
    background: rgba(255, 157, 0, 0.03);
}

.beast-back-btn:hover .i_left_menu_box {
    background: rgba(255, 157, 0, 0.1) !important;
    border-style: solid;
    border-color: #ff9d00;
}

/* Recommended Section Redesign - HALF PILL CENTER STYLE */
.i_left_container .sidebar_section_title.recommended_header {
    padding: 10px 5px 10px 26px !important;
    /* Moved 4px back (left) */
    /* Less side padding to give text more room */
    margin: 25px 12px 15px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0d0e12 !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

.i_left_container .sidebar_section_title.recommended_header:hover {
    background: #14151a !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6) !important;
}

.i_left_container .sidebar_section_title.recommended_header::before {
    content: '' !important;
    position: absolute !important;
    left: 10px !important;
    top: 25% !important;
    bottom: 25% !important;
    width: 6px !important;
    background: #ff8c00 !important;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.8) !important;
    border-radius: 10px !important;
    display: block !important;
}

.i_left_container .sidebar_section_title:not(.recommended_header)::before {
    display: none !important;
}

.i_left_container .beast-title-text {
    display: block !important;
    width: calc(100% - 10px) !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.i_left_container .beast-title-text .line1 {
    display: block !important;
    font-size: 10px !important;
    /* Increased 1px as requested */
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    width: 100% !important;
}

.i_left_container .beast-title-text .line2 {
    display: block !important;
    font-size: 9px !important;
    /* Increased 1px as requested */
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    width: 100% !important;
}

.i_left_container .beast-title-text span.accent {
    color: #ff8c00 !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5) !important;
}

.recommended_user_item {
    display: flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    position: relative !important;
    gap: 10px !important;
}

.recommended_user_item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rec_avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    /* Circular like Kick/Twitch */
    background-size: cover !important;
    background-position: center !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Live Connection Aura - Kick Style */
.recommended_user_item .live_avatar_wrapper {
    position: relative !important;
    display: block !important;
}

.recommended_user_item:has(.live_dot) .rec_avatar {
    border-color: #ff00ff !important;
    /* Beast Mode Magenta */
    box-shadow: none !important;
}

/* Pulsing Outer Ring */
.recommended_user_item:has(.live_dot) .live_avatar_wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    border: 2px solid #ff00ff !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    animation: liveAuraPulse 2s infinite !important;
}

@keyframes liveAuraPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.recommended_user_item:hover .rec_avatar {
    transform: scale(1.05) !important;
    border-color: #ff9d00 !important;
}

.rec_info {
    flex: 1 !important;
    min-width: 0 !important;
    /* Prevent text overflow */
}

.rec_name {
    font-weight: 800 !important;
    font-size: 13px !important;
    color: #efeff1 !important;
    margin-bottom: 0px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.rec_cat {
    font-size: 11px !important;
    color: #8a8a8e !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.live_dot {
    width: 10px !important;
    height: 10px !important;
    background: linear-gradient(90deg, #ff9d00 0%, #ff00ff 100%) !important;
    /* Beast Mode Gradient */
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: none !important;
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    z-index: 3 !important;
}

@keyframes twitchPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.rec_meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    padding-left: 10px !important;
    padding-right: 38px !important;
    /* Moved 38px back from edge */
    margin-top: 46px !important;
    /* Moved 46px down */
    z-index: 5 !important;
    position: relative !important;
}

.viewer_count {
    display: inline-block !important;
    background: #000 !important;
    /* Pill Background */
    border: 1px solid #ffff00 !important;
    /* Yellow Border */
    border-radius: 4px !important;
    padding: 2px 8px !important;
    line-height: normal !important;
}

.viewer_count span {
    background: linear-gradient(90deg, #ffb300 0%, #ff33ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Live Streaming Section Styles */
.live_item_cont .new_s_one {
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.live_item_cont .new_s_one:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.unified_explore_live_btn {
    cursor: pointer;
    display: block;
    text-decoration: none !important;
}

.unified_explore_live_btn svg {
    width: 20px;
    height: 20px;
    color: #fff !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

/* Juuvix Live Full Width Optimization */
.juuvix_live_context .th_middle {
    width: calc(100% - 270px) !important;
    /* Adjusted for sidebar width */
    max-width: 100% !important;
    flex: 1 !important;
}

@media (max-width: 990px) {
    .juuvix_live_context .th_middle {
        width: 100% !important;
    }
}

.juuvix_live_context .pageMiddle {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 20px !important;
    margin-right: 0 !important;
}

/* Hide right sidebar space if any remains */
.juuvix_live_context .page_right {
    display: none !important;
}

/*
   PHASE 4: TABS SYSTEM (Live / El Bal)
    */

.juuvix_tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--sidebar-border);
    padding-bottom: 10px;
}

.juuvix_tab {
    font-size: 16px;
    font-weight: 800;
    color: #555c68;
    text-decoration: none !important;
    padding: 8px 12px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.juuvix_tab:hover {
    color: #efeff1;
}

.juuvix_tab.active {
    color: var(--juuvix-aqua);
}

.juuvix_tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--juuvix-aqua);
    box-shadow: 0 0 10px var(--juuvix-aqua);
    border-radius: 3px 3px 0 0;
}

/*
   PHASE 3: SEARCH & FILTERS BAR
    */

.juuvix_filters_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 10px;
}

.juuvix_filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.juuvix_filter_btn {
    padding: 8px 16px;
    border-radius: 6px;
    background: #1f1f23;
    color: #efeff1;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none !important;
}

.juuvix_filter_btn:hover {
    background: #2a2a30;
    border-color: rgba(255, 255, 255, 0.1);
}

.juuvix_filter_btn.active {
    background: rgba(0, 219, 222, 0.1);
    color: var(--juuvix-aqua);
    border-color: var(--juuvix-aqua);
}

.juuvix_search_wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.juuvix_search_input {
    width: 100%;
    background: #0e0e10;
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    padding: 10px 15px 10px 40px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.juuvix_search_input:focus {
    outline: none;
    border-color: var(--juuvix-aqua);
    box-shadow: 0 0 10px rgba(0, 219, 222, 0.2);
    background: #000;
}

.juuvix_search_icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555c68;
    pointer-events: none;
}

@media (max-width: 768px) {
    .juuvix_filters_bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .juuvix_search_wrapper {
        max-width: 100%;
    }
}

/*
   PHASE 3: UNIFIED LIVE GRID (Kick-Style)
    */

.juuvix_live_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}

.juuvix_live_card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.juuvix_live_card:hover {
    transform: translateY(-4px);
}

.card_thumb_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--sidebar-border);
}

.card_thumb_img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.juuvix_live_card:hover .card_thumb_img {
    transform: scale(1.05);
}

/* UNIVERSAL BEAST MODE OVERRIDES (GOD MODE V2) */
.card_status_badge,
.hero_live_badge,
.live_pulse,
.live_s {
    background: linear-gradient(90deg, #ff9d00 0%, #ff00ff 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    z-index: 100 !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(255, 100, 150, 0.5) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
}

/* Specific Context Adjustments */
.hero_live_badge {
    top: 25px !important;
    left: 25px !important;
    font-size: 14px !important;
    padding: 8px 20px !important;
}

.live_pulse {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 13px !important;
}

/* Sin pseudo-elementos */
.card_status_badge::before,
.hero_live_badge::before,
.live_pulse::before,
.live_s::before {
    display: none !important;
}

/* UNIVERSAL BEAST MODE BUTTONS */
html body .purchaseLiveButton,
html body .beast_donate_btn,
html body .hero_watch_btn,
html body .hero_join_btn {
    background: linear-gradient(90deg, #ff9d00 0%, #ff00ff 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    position: relative !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.5) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 30px !important;
    cursor: pointer !important;
    letter-spacing: 1px !important;
}

html body .purchaseLiveButton::before,
html body .beast_donate_btn::before,
html body .hero_watch_btn::before,
html body .hero_join_btn::before {
    content: '' !important;
    position: absolute !important;
    top: -2.5px !important;
    bottom: -2.5px !important;
    left: -2.5px !important;
    right: -2.5px !important;
    background: linear-gradient(45deg, #00fff2, #ff00ea, #00fff2) !important;
    background-size: 200% 200% !important;
    animation: neonFlowShowcase 3s linear infinite !important;
    z-index: -1 !important;
    border-radius: 50px !important;
}

html body .purchaseLiveButton:hover,
html body .beast_donate_btn:hover,
html body .hero_watch_btn:hover,
html body .hero_join_btn:hover {
    transform: scale(1.08) !important;
    filter: brightness(1.2) !important;
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.8), 0 0 60px rgba(255, 140, 0, 0.3) !important;
}

.card_price_badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(4px);
    color: var(--juuvix-aqua);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
    border: 1px solid rgba(0, 219, 222, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card_viewer_badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Card Content Area */
.card_content {
    display: flex;
    padding: 12px 2px;
    gap: 12px;
}

.card_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--sidebar-border);
    background-size: cover;
    background-position: center;
}

.card_text {
    flex: 1;
    overflow: hidden;
}

.card_title {
    font-weight: 700;
    font-size: 15px;
    color: #efeff1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card_creator {
    font-size: 13px;
    color: #adadb8;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card_creator:hover {
    color: var(--juuvix-aqua);
}

.card_tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.card_tag {
    background: #1f1f23;
    color: #adadb8;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Response for small screens */
@media (max-width: 600px) {
    .juuvix_live_grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy Lock Refinements */
.juuvix_live_card:hover .card_thumb_img {
    transform: scale(1.05);
}

.card_lock_overlay {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.juuvix_live_card:hover .card_lock_overlay {
    background: rgba(10, 11, 16, 0.5);
}

.card_lock_overlay svg {
    filter: drop-shadow(0 0 8px var(--juuvix-magenta));
}

/*
   PHASE 7: COLLAPSIBLE SIDEBAR (Twitch/Kick Style) - FINAL CLEAN
    */

/* Toggle Button */
.sidebar-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: #adadb8;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Sidebar Width Transition */
.leftSticky.mobile_left {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.juuvix_live_context .th_middle {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*
   COLLAPSED STATE OVERRIDES (Force Visibility)
    */

/* 1. Main Containers Width & Overflow */
.juuvix_live_context.sidebar-collapsed .leftSticky.mobile_left,
.juuvix_live_context.sidebar-collapsed .i_left_container,
.juuvix_live_context.sidebar-collapsed .leftSidebarWrapper {
    width: 70px !important;
    overflow: visible !important;
    border-right: none !important;
    /* Hide the vertical line when collapsed */
    padding: 10px 0 !important;
    /* Reset padding to center icons */
}

/* 2. Reset padding/margins on inner containers */
.juuvix_live_context.sidebar-collapsed .btest {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* 3. Force box items to separate from edges and center content */
.juuvix_live_context.sidebar-collapsed .i_left_menu_box {
    width: 50px !important;
    height: 50px !important;
    margin: 5px auto !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    /* Critical for vertical centering */
    display: flex !important;
    position: relative !important;
    background: transparent !important;
    /* Remove pill background */
    border: none !important;
    /* Remove pill borders */
    box-shadow: none !important;
}

/* Fix for Start Live buttons in collapsed mode */
.juuvix_live_context.sidebar-collapsed .cNLive,
.juuvix_live_context.sidebar-collapsed .unified_explore_live_btn,
.juuvix_live_context.sidebar-collapsed .live_item_cont {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 50px !important;
    margin: 5px auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

/* 4. Force Icon Visibility/Size (SVG) */
.juuvix_live_context.sidebar-collapsed .i_left_menu_box svg {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    display: block !important;
    fill: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 5. Force Avatar Wrapper & Image */
.juuvix_live_context.sidebar-collapsed .i_left_menu_profile_avatar {
    margin: 0 !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

.juuvix_live_context.sidebar-collapsed .i_left_menu_profile_avatar img {
    min-width: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    display: block !important;
}

/* 6. Recommended Items */
.juuvix_live_context.sidebar-collapsed .recommended_user_item {
    padding: 10px 0 !important;
    justify-content: center !important;
}

.juuvix_live_context.sidebar-collapsed .rec_avatar {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 7. Hide Texts */
.juuvix_live_context.sidebar-collapsed .m_tit,
.juuvix_live_context.sidebar-collapsed .rec_info,
.juuvix_live_context.sidebar-collapsed .rec_meta,
.juuvix_live_context.sidebar-collapsed .sidebar_section_title .nav_title_text,
.juuvix_live_context.sidebar-collapsed .sidebar_section_title:not(:first-child),
.juuvix_live_context.sidebar-collapsed .unified_explore_live_btn>div>div:nth-child(2),
.juuvix_live_context.sidebar-collapsed .cNLive .flex_ div:last-child {
    display: none !important;
}

/* 8. Adjust Header for Toggle Button */
.juuvix_live_context.sidebar-collapsed .sidebar_section_title {
    justify-content: center !important;
    padding: 15px 0 !important;
}

/* 9. Rotate Arrow */
.juuvix_live_context.sidebar-collapsed .sidebar-toggle-btn {
    transform: rotate(180deg);
    right: 50%;
    transform-origin: center;
    transform: translateX(50%) rotate(180deg);
}


/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 8: FLUID HERO SHOWCASE & WRAPPER UNLOCK (FINAL VIA CLASS RENAME)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Restore Main Wrapper Position */
.wrapper.juuvix_live_context {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    top: 72px !important;
    /* Standard header height */
    overflow-x: hidden !important;
}

/* 2. Floating Sidebar Architecture (ICONS + PERSISTENT BG) */
.wrapper.juuvix_live_context .leftSticky.mobile_left {
    position: fixed !important;
    top: 72px !important;
    /* REPLICA HOME: Starts exactly below header */
    left: 0 !important;
    height: calc(100vh - 72px) !important;
    /* REPLICA HOME: Full height minus header */
    width: var(--sidebar-width) !important;
    z-index: 10 !important;
    display: block !important;
    margin: 0 !important;
    padding-top: 0 !important;
    background: #000 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: none !important;
}

/* 2.0.1 Custom Scrollbar for Sidebar */
.wrapper.juuvix_live_context .leftSticky.mobile_left::-webkit-scrollbar {
    width: 4px !important;
}

.wrapper.juuvix_live_context .leftSticky.mobile_left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
}

/* 2.0 Inner Container (THE CONTENT THAT SCROLLS) */
.wrapper.juuvix_live_context .i_left_container {
    pointer-events: auto !important;
    height: auto !important;
    min-height: 100% !important;
    padding-bottom: 20px !important;
    /* REPLICA HOME: Minimal padding to kill the "hueco" */
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 2.1 The Ghost Shim (Space Reservation - INVISIBLE) */
.wrapper.juuvix_live_context .sidebar_ghost_shim {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
    flex: 0 0 var(--sidebar-width) !important;
    height: 1px !important;
    /* Minimal height to avoid ANY vertical shift of carrusel */
    background: transparent !important;
    visibility: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 3. Unlock Main Content (INFINITE SCROLL SUPPORT) */
html body .juuvix_stream_content {
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 !important;
    position: relative !important;
    left: auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    /* Prevent height clipping */
}

/* 4. Unlock Inner PageMiddle */
.juuvix_live_context .pageMiddle {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 5. Force Hero Wrapper Expansion */
.juuvix_hero_wrapper {
    width: calc(100% - 6px) !important;
    max-width: none !important;
    padding: 10px 15px !important;
    margin-top: 6px !important;
    /* Detach vertically */
    margin-left: 6px !important;
    /* Shift 6px to the right */
    box-sizing: border-box !important;
}

.juuvix_hero_container {
    width: 100% !important;
    display: flex !important;
}

/* 6. Hide Right Sidebar Gap if any */
html body .juuvix_live_context .rightSticky {
    display: none !important;
}

/* 7. Medium Screen Responsive */
@media (max-width: 1400px) {
    .juuvix_hero_thumbs {
        display: none !important;
    }
}