/* ================================================================= */
/*      MAKUMOTO NEXUS DESKTOP (FIX FINAL V5 - CLICK CATCHER)
/* ================================================================= */

@media (min-width: 1024px) {

    /* --- FIX CRÍTICO: OCULTAR BARRAS MÓVILES --- */
    #ghost-nav-top,
    .bottom-nav,
    #fab-publish {
        display: none !important;
    }

    /* --- 1. ESTRUCTURA GLOBAL --- */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.3); border-radius: 3px; }
    
    * { box-sizing: border-box; }
    body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; }

    #app-shell.app-visible {
        display: block !important; /* El shell es el contenedor padre */
        height: 100vh !important;
        width: 100vw !important;
        overflow: hidden;
    }

    .nexus-grid {
        display: grid !important;
        grid-template-columns: 260px 1fr 380px !important; /* Anchos fijos para laterales */
        width: 100% !important;
        height: 100vh !important;
    }

    .nexus-sidebar-left, .nexus-aside {
        display: flex !important;
        flex-direction: column;
        background: rgba(10,10,10,0.9);
        border-right: 1px solid #222;
    }

    /* TEMA PASTEL */
    body.theme-pastel #app-shell.app-visible {
    background-image: none !important;
    background-color: #DCEDC8 !important;
}

    /* ============================================================
       2. COLUMNA IZQUIERDA (Menú + TV Trap)
       ============================================================ */
    #desktop-sidebar-left {
    background: rgba(0,0,0,0.4); 
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    display: flex; flex-direction: column;
    height: 100vh; 
    z-index: 20;
}

body.theme-pastel #desktop-sidebar-left,
body.theme-pastel .live-status-bar,
body.theme-pastel #desktop-sidebar-right,
body.theme-pastel .games-list-widget,
body.theme-pastel .lyra-full-widget,
body.theme-pastel .nexus-composer,
body.theme-pastel .game-item-row,
body.theme-pastel .lyra-input-area,
body.theme-pastel .widget-header { 
    background: #E0F2F1 !important; /* Un azulado muy claro y elegante */
    border-color: #B2DFDB !important;
}

    /* LOGO */
    .nexus-logo { 
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        margin-bottom: 30px; margin-top: 10px;
        font-family: 'Orbitron', sans-serif; font-weight: 900; 
        color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.5);
    }
    body.theme-pastel .nexus-logo { color: #006064; text-shadow: none; }

    .nexus-logo-img {
        width: 60px; height: auto; margin-bottom: 10px;
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
        animation: owlRock 2.5s ease-in-out infinite alternate;
        transform-origin: bottom center;
    }
    @keyframes owlRock { 0% { transform: rotate(-8deg); } 100% { transform: rotate(8deg); } }

    .nexus-logo-text { font-size: 1.2rem; letter-spacing: 1px; position: relative; }
    .nexus-logo-text sup { font-size: 0.6rem; color: #FFD700; top: -0.5em; }

    /* MENÚ ITEMS */
    .menu-scroll-area { flex: 1; overflow-y: auto; margin-bottom: 10px; }

    .nexus-menu-item {
        display: flex; align-items: center; gap: 15px;
        padding: 12px 15px; border-radius: 12px;
        color: #aaa; text-decoration: none; font-weight: 600; font-size: 0.9rem;
        transition: 0.2s; cursor: pointer; margin-bottom: 5px;
    }
    .nexus-menu-item:hover, .nexus-menu-item.active {
        background: rgba(255,255,255,0.05); color: #fff;
        border-left: 3px solid #00f3ff;
    }
    body.theme-pastel .nexus-menu-item { color: #555; }
    body.theme-pastel .nexus-menu-item:hover, body.theme-pastel .nexus-menu-item.active { 
        background: #fff; color: #006064; border-color: #00acc1; 
    }

    /* TV TRAP (Video Vertical Pequeño) */
    .tv-trap-container {
        width: 100%; aspect-ratio: 9/16; max-height: 320px;
        flex-shrink: 0; position: relative; cursor: pointer; transition: transform 0.2s;
        border-radius: 15px; overflow: hidden;
        border: 2px solid #ff0050; box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        background: #000;
    }
    .tv-trap-container:hover { transform: scale(1.02); }

    /* Estilo del video PEQUEÑO */
    .tv-mini-video-tag { width: 100%; height: 100%; object-fit: cover; display: block; }

    .tv-trap-overlay {
        position: absolute; inset: 0; background: linear-gradient(to top, #000 10%, transparent);
        display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; pointer-events: none;
    }
    .live-badge {
        position: absolute; top: 10px; left: 10px; background: #ff0050; color: #fff; 
        font-size: 0.6rem; font-weight: 900; padding: 2px 6px; border-radius: 4px; animation: pulseLive 1.5s infinite;
    }
    .tv-text { font-family: 'Orbitron', sans-serif; font-size: 0.8rem; color: #fff; font-weight: 900; }

    /* ============================================================
       3. COLUMNA CENTRAL (Main Feed)
       ============================================================ */
    #main-feed-column { position: relative; border-right: none !important; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }

    /* HEADER INTERACCIONES (NEWS TICKER) */
    .live-status-bar {
        height: 45px;
        padding: 0;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        background: #050505;
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
    }
    body.theme-pastel .live-status-bar { 
        background: #E8F5E9; 
        border-bottom: 1px solid #C5E1A5; 
    }

    .status-blocks-container { 
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .nexus-ticker-wrapper {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        align-items: center;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .nexus-ticker-track {
        display: inline-block;
        white-space: nowrap;
        animation: tickerScroll 180s linear infinite;
        font-family: 'Orbitron', sans-serif;
        font-size: 0.85rem;
    }

    .ticker-item {
        color: #00f3ff;
        letter-spacing: 1px;
    }
    body.theme-pastel .ticker-item {
        color: #1B5E20;
    }

    .ticker-badge {
        background: #ff0050;
        color: #fff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 900;
        margin-right: 10px;
        box-shadow: 0 0 10px rgba(255, 0, 80, 0.4);
    }
    body.theme-pastel .ticker-badge {
        background: #E91E63;
        box-shadow: 0 2px 5px rgba(233, 30, 99, 0.3);
    }

    .ticker-separator {
        color: #444;
        margin: 0 30px;
        font-weight: 900;
    }
    body.theme-pastel .ticker-separator {
        color: #AED581;
    }

    @keyframes tickerScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* SCROLL CONTAINER */
    .nexus-scroll-container { flex: 1; overflow-y: auto; padding: 20px; display: block; }
    .feed-width-limiter { width: 100%; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

    /* COMPOSER */
    .nexus-composer {
        background: #111; padding: 15px; border-radius: 15px;
        border: 1px solid rgba(255,255,255,0.1); display: flex; gap: 15px; width: 100%;
    }
    body.theme-pastel .nexus-composer { background: #fff; border-color: #b2ebf2; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    
    .nexus-input { width: 100%; background: transparent; border: none; color: #fff; font-size: 1rem; outline: none; padding: 10px 0; }
    body.theme-pastel .nexus-input { color: #000; }
body.theme-pastel .nexus-input::placeholder { color: #777; }

.btn-pub-nexus { background: #E91E63; border: none; padding: 6px 20px; border-radius: 20px; font-weight: 800; cursor: pointer; color: #fff; font-size: 0.8rem; }

/* FIXES DE TARJETAS FEED */
body.theme-pastel .feed-card { background: #DCEDC8 !important; border: 1px solid #b2ebf2 !important; color: #333 !important; }
    body.theme-pastel .t-name { color: #E91E63 !important; text-shadow: none !important; }
    body.theme-pastel .tweet-text-body { color: #000 !important; }

    /* ============================================================
       4. COLUMNA DERECHA (Controles + Juegos + Lyra)
       ============================================================ */
    #desktop-sidebar-right {
        background: rgba(0,0,0,0.3); backdrop-filter: blur(15px);
        padding: 20px;
        border-left: 1px solid rgba(255,255,255,0.1);
        display: flex; flex-direction: column; gap: 25px;
        height: 100vh;
    }
    body.theme-pastel #desktop-sidebar-right { background: rgba(255,255,255,0.85); border-color: #b2ebf2; }

    /* CONTROLES */
    .right-controls-row { display: flex; gap: 10px; width: 100%; }
    .control-btn-right {
        flex: 1; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.05); color: #ccc; cursor: pointer; font-size: 0.8rem; font-weight: 700;
        display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .control-btn-right:hover { background: #fff; color: #000; }
    body.theme-pastel .control-btn-right { background: #fff; border-color: #ccc; color: #555; }
    body.theme-pastel .control-btn-right:hover { background: #e0f7fa; color: #006064; }

    /* JUEGOS */
    .games-list-widget {
        height: 380px; flex-shrink: 0; display: flex; flex-direction: column;
        background: #111; border: 1px solid #333; border-radius: 20px; overflow: hidden;
    }
    body.theme-pastel .games-list-widget { background: #fff; border-color: #b2dfdb; }

    .widget-header { padding: 12px 15px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); }
    body.theme-pastel .widget-header { border-bottom-color: #e0f7fa; background: #e0f7fa; }
    .wh-title { font-family: 'Orbitron'; font-size: 0.8rem; color: #fff; letter-spacing: 1px; }
    body.theme-pastel .wh-title { color: #006064; }

    .games-scroller { flex: 1; overflow-y: auto; padding: 10px; }
    
    .game-item-row { display: flex; align-items: center; gap: 15px; padding: 12px; border-radius: 12px; cursor: pointer; margin-bottom: 8px; transition: 0.2s; background: rgba(255,255,255,0.03); }
    .game-item-row:hover { background: rgba(255,255,255,0.1); }
    body.theme-pastel .game-item-row { background: #f0fbfc; }
    body.theme-pastel .game-item-row:hover { background: #b2ebf2; }

    .g-icon { width: 40px; height: 40px; background: #222; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #9d00ff; font-size: 1rem; }
    body.theme-pastel .g-icon { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    
    .g-info { flex: 1; }
    .g-name { font-size: 0.8rem; font-weight: 700; color: #ddd; }
    body.theme-pastel .g-name { color: #333; }
    .g-play-btn { font-size: 0.65rem; color: #00f3ff; font-weight: bold; text-transform: uppercase; }
    body.theme-pastel .g-play-btn { color: #00acc1; }

    /* LYRA FULL */
    .lyra-full-widget {
        flex: 1; display: flex; flex-direction: column;
        background: linear-gradient(180deg, #004d40 0%, #000 100%);
        border: 1px solid #00f3ff; border-radius: 20px; overflow: hidden;
        min-height: 200px; 
    }
    body.theme-pastel .lyra-full-widget { background: #e0f7fa; border-color: #4dd0e1; }

    .lyra-header { padding: 12px 15px; background: rgba(0,0,0,0.3); font-weight: bold; color: #00f3ff; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(0,243,255,0.2); font-size: 0.9rem; }
    body.theme-pastel .lyra-header { background: #b2ebf2; color: #006064; border-color: #80deea; }

    .lyra-body { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
    .lyra-input-area { padding: 15px; background: rgba(0,0,0,0.5); }
    body.theme-pastel .lyra-input-area { background: #b2ebf2; }

    .l-input { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid #333; border-radius: 20px; padding: 10px 15px; color: #fff; outline: none; font-size: 0.9rem; }
    body.theme-pastel .l-input { background: #fff; border-color: #80deea; color: #333; }
    body.theme-pastel .l-input::placeholder { color: #00838f; opacity: 0.7; }
    
    .bub { padding: 8px 12px; border-radius: 12px; font-size: 0.85rem; max-width: 90%; line-height: 1.4; }
    .bub-ai { background: rgba(0, 243, 255, 0.15); color: #d1ffff; align-self: flex-start; border-bottom-left-radius: 2px; }
    body.theme-pastel .bub-ai { background: #fff; color: #006064; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
    .bub-user { background: rgba(255,255,255,0.1); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
    body.theme-pastel .bub-user { background: #00838f; color: #fff; }

    /* FIXES MODAL DE CUENTA */
    body.theme-pastel .acc-card { color: #333 !important; }
    body.theme-pastel .acc-plan-label { color: #006064 !important; }
    body.theme-pastel .acc-val { color: #000 !important; font-weight: 800 !important; }

    /* --- FIX: MODALES FLOTANTES EN DESKTOP (No Full Screen) --- */
    body.theme-pastel .acc-card,
    body.theme-pastel .earn-card,
    body.theme-pastel .shop-card,
    body.theme-pastel .store-card,
    body.theme-pastel .bank-card {
        height: auto !important;
        max-height: 85vh !important;
        width: 90% !important;
        max-width: 500px !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
        margin: auto !important;
    }
    
    /* Solo aplicamos padding, fondo y centrado de Flexbox (SIN forzar display block/flex inicial) */
    body.theme-pastel .acc-overlay,
    body.theme-pastel .earn-overlay,
    body.theme-pastel .shop-overlay,
    body.theme-pastel .store-overlay {
        align-items: center !important;
        justify-content: center !important;
        background: rgba(220, 237, 200, 0.8) !important;
        backdrop-filter: blur(5px) !important;
        padding: 20px !important;
    }

/* --- FIX: RESTAURACIÓN DE BOTONES CERRAR EN MODALES SOCIALES --- */
    body.theme-pastel .share-overlay .fa-times,
    body.theme-pastel .share-overlay .close-btn,
    body.theme-pastel .share-sheet button,
    body.theme-pastel .tm-modal-overlay .fa-times {
        display: flex !important;
        color: #333 !important;
    }

    /* Override para erradicar el texto verde en el TV Mode Desktop */
    .tv-info-overlay-clean * {
        color: #ffffff !important;
    }

    /* =================================================================
   5. INTERFAZ SOCIAL TV (FULL SCREEN) - ARQUITECTURA FINAL Y CORRECTA
================================================================= */

/* --- NUEVOS ESTILOS PARA INTERACCIONES INTEGRADAS --- */
    .tv-volume-toggle {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.4);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 50%;
        color: #fff;
        z-index: 15;
        cursor: pointer;
        backdrop-filter: blur(5px);
    }

    .tv-side-avatar-container {
        position: relative;
        cursor: pointer;
        margin-bottom: 20px; /* Espacio antes del botón "Crear" */
    }
    .tv-side-avatar-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #fff;
        object-fit: cover;
    }
    .tv-plus-badge {
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 22px;
        background: #ff0050;
        border: 2px solid #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.7rem;
        transition: transform 0.2s ease;
    }
    .tv-side-avatar-container.following .tv-plus-badge {
        transform: translateX(-50%) scale(0);
    }

    .tv-timestamp {
        font-size: 0.8rem;
        color: #ccc;
        font-weight: 400;
    }

#nexus-tv-overlay {
    position: fixed !important; inset: 0 !important;
    background: #000 !important; z-index: 2147483647 !important; 
    display: none;
}

.tv-fs-container {
    width: 100%; height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1. Wrapper del video: Se ajusta al tamaño del video y es el 'mundo' relativo */
.tv-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out; /* Para suavizar cambios de aspect ratio */
}

/* 2. El video: Define el tamaño del wrapper */
.tv-fs-video {
    display: block;
    max-width: 100vw;
    max-height: 100vh;
}
.is-vertical .tv-video-wrapper { height: 98vh; aspect-ratio: 9 / 16; }
.is-horizontal .tv-video-wrapper { width: 98vw; aspect-ratio: 16 / 9; }
.is-square .tv-video-wrapper { height: 98vh; aspect-ratio: 1 / 1; }
.is-vertical .tv-fs-video, .is-horizontal .tv-fs-video, .is-square .tv-fs-video {
    width: 100%; height: 100%; object-fit: cover;
}


/* 3. Overlays DENTRO del wrapper: Se posicionan de forma fiable */
.tv-info-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    pointer-events: none;
    padding: 60px 20px 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}
.tv-sidebar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

/* --- AJUSTES DE DISEÑO POR FORMATO --- */

/* Para HORIZONTAL, el texto no debe ser tan ancho y los iconos se separan más */
.is-horizontal .tv-info-overlay {
    max-width: 60%;
}
.is-horizontal .tv-sidebar {
    right: 40px;
}
/* --- BARRA DE ICONOS EXTERNA (ESTILO TIKTOK) --- */
.tv-sidebar-external {
    position: absolute;
    right: 15px;
    bottom: 90px; /* Espacio para la navegación inferior si estuviera visible */
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

/* El botón de sonido ahora es parte de la barra social */
#tv-external-sound {
    margin-top: 15px; /* Espacio extra para separarlo */
}
/* 4. Controles FUERA del wrapper (en las barras negras) */
.btn-exit-fs { position: absolute; top: 20px; left: 20px; z-index: 30; }
.tv-nav-btn { position: absolute; left: 20px; z-index: 30; }
.tv-nav-btn.prev { top: 40%; }
.tv-nav-btn.next { bottom: 40%; }


/* --- Estilos de Componentes --- */
.tv-author-name-large { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.tv-card-desc { font-size: 0.9rem; color: #eee; line-height: 1.4; word-wrap: break-word; }

.btn-exit-fs, .tv-nav-btn {
    width: 50px; height: 50px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(5px); transition: 0.2s;
}
.btn-exit-fs:hover, .tv-nav-btn:hover { transform: scale(1.1); background: rgba(255,255,255,0.8); color: #000; }
.tv-nav-btn:disabled { opacity: 0.2; cursor: not-allowed; transform: none; background: rgba(0,0,0,0.3); color: #fff; }

.social-btn-wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.social-btn {
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px); color: #fff; font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.social-btn:hover { transform: scale(1.1); background: rgba(255,255,255,0.25); }
.social-count { font-size: 0.8rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000; }

    /* Overlay de Juegos */
    #nexus-fs-game {
        position: fixed !important; inset: 0; z-index: 99999;
        background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center;
    }

    /* Animaciones */
    @keyframes slideInBlock { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes pulseLive { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
}

/* --- NUEVOS ESTILOS PARA INTERACCIONES INTEGRADAS --- */
    .tv-volume-toggle {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.4);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 50%;
        color: #fff;
        z-index: 15;
        cursor: pointer;
        backdrop-filter: blur(5px);
    }

    .tv-side-avatar-container {
        position: relative;
        cursor: pointer;
        margin-bottom: 20px; /* Espacio antes del botón "Crear" */
    }
    .tv-side-avatar-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #fff;
        object-fit: cover;
    }
    .tv-plus-badge {
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 22px;
        background: #ff0050;
        border: 2px solid #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.7rem;
        transition: transform 0.2s ease;
    }
    .tv-side-avatar-container.following .tv-plus-badge {
        transform: translateX(-50%) scale(0);
    }

    .tv-timestamp {
        font-size: 0.8rem;
        color: #ccc;
        font-weight: 400;
    }

    /* ============================================================
       FIX: TEMA PASTEL DESKTOP (SOLO COLORES - NO ROMPE LAYOUT)
       Colores: Verdes Orgánicos, Blancos y Crema.
       ============================================================ */

    /* 1. FONDO GENERAL Y APP SHELL */
    body.theme-pastel #app-shell.app-visible {
        background-image: none !important;
        background-color: #E8F5E9 !important; /* Verde muy suave de fondo */
    }

    /* 2. COLUMNAS LATERALES (Manteniendo transparencia y blur pero en tonos claros) */
    body.theme-pastel #desktop-sidebar-left,
    body.theme-pastel #desktop-sidebar-right {
        background: rgba(255, 255, 255, 0.6) !important;
        border-right: 1px solid #C5E1A5 !important;
        border-left: 1px solid #C5E1A5 !important;
        backdrop-filter: blur(15px);
    }

    /* 3. LOGOTIPO Y MENÚ IZQUIERDO */
    body.theme-pastel .nexus-logo { 
        color: #2E7D32 !important; /* Verde Bosque */
        text-shadow: none !important; 
    }
    body.theme-pastel .nexus-logo-text sup { 
        color: #F9A825 !important; /* Dorado oscuro para contraste */
    }
    
    body.theme-pastel .nexus-menu-item {
        color: #558B2F !important; /* Verde Oliva */
        font-weight: 600 !important;
    }
    
    body.theme-pastel .nexus-menu-item:hover,
    body.theme-pastel .nexus-menu-item.active {
        background: #DCEDC8 !important; /* Verde Pastel */
        color: #1B5E20 !important; /* Verde Oscuro */
        border-left: 3px solid #43A047 !important; /* Verde Hoja */
    }

    /* 4. COLUMNA CENTRAL (FEED) */
    body.theme-pastel .live-status-bar {
        background: #F1F8E9 !important;
        border-bottom: 1px solid #C5E1A5 !important;
    }
    
    body.theme-pastel .live-block {
        background: #ffffff !important;
        border: 1px solid #AED581 !important;
    }
    body.theme-pastel .lb-info { color: #33691E !important; }
    body.theme-pastel .lb-info b { color: #1B5E20 !important; }

    /* Composer (Caja de publicar) */
    body.theme-pastel .nexus-composer {
        background: #ffffff !important;
        border: 1px solid #AED581 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    }
    body.theme-pastel .nexus-input {
        color: #1B5E20 !important;
    }
    body.theme-pastel .nexus-input::placeholder {
        color: #7CB342 !important;
    }
    body.theme-pastel .btn-pub-nexus {
        background: #43A047 !important; /* Verde Vibrante */
        color: #fff !important;
    }

    /* Tarjetas del Feed */
    body.theme-pastel .feed-card {
        background: #ffffff !important;
        border: 1px solid #C5E1A5 !important;
        color: #333 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    }
    body.theme-pastel .t-name { color: #2E7D32 !important; text-shadow: none !important; }
    body.theme-pastel .t-handle { color: #81C784 !important; }
    body.theme-pastel .tweet-text-body { color: #33691E !important; }
    body.theme-pastel .action-btn { color: #9CCC65 !important; }
    body.theme-pastel .action-btn:hover { color: #43A047 !important; }

    /* 5. WIDGETS DERECHOS (ARCADE & LYRA) */
    
    /* Botones de control superiores */
    body.theme-pastel .control-btn-right {
        background: #ffffff !important;
        border: 1px solid #C5E1A5 !important;
        color: #689F38 !important;
    }
    body.theme-pastel .control-btn-right:hover {
        background: #DCEDC8 !important;
        color: #1B5E20 !important;
    }

    /* ARCADE LIST (El que se rompió en la foto) */
    body.theme-pastel .games-list-widget {
        background: #ffffff !important;
        border: 1px solid #AED581 !important;
    }
    body.theme-pastel .widget-header {
        background: #DCEDC8 !important;
        border-bottom: 1px solid #AED581 !important;
    }
    body.theme-pastel .wh-title {
        color: #1B5E20 !important;
        text-shadow: none !important;
    }

    /* Items de juego (Mantiene flexbox original, solo cambia color) */
    body.theme-pastel .game-item-row {
        background: #F9FBE7 !important; /* Crema limón muy suave */
        border: 1px solid transparent !important; /* Mantiene el box model */
    }
    body.theme-pastel .game-item-row:hover {
        background: #E8F5E9 !important;
        border-color: #AED581 !important;
    }
    
    body.theme-pastel .g-icon {
        background: #fff !important;
        color: #43A047 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    body.theme-pastel .g-name { color: #33691E !important; }
    body.theme-pastel .g-play-btn { color: #2E7D32 !important; font-weight: 800 !important; }

    /* LYRA WIDGET */
    body.theme-pastel .lyra-full-widget {
        background: #F1F8E9 !important;
        border: 1px solid #AED581 !important;
    }
    body.theme-pastel .lyra-header {
        background: #DCEDC8 !important;
        border-bottom: 1px solid #AED581 !important;
        color: #1B5E20 !important;
        text-shadow: none !important;
    }
    body.theme-pastel .lyra-body { background: transparent !important; }
    
    body.theme-pastel .lyra-input-area {
        background: #C5E1A5 !important;
    }
    body.theme-pastel .l-input {
        background: #ffffff !important;
        color: #2E7D32 !important;
        border: 1px solid #AED581 !important;
    }
    body.theme-pastel .l-input::placeholder { color: #81C784 !important; }

    /* Burbujas Lyra */
    body.theme-pastel .bub-ai {
        background: #ffffff !important;
        color: #33691E !important;
        border-left: 3px solid #43A047 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }
    body.theme-pastel .bub-user {
        background: #43A047 !important;
        color: #ffffff !important;
    }
    /* ============================================================
       FIX: SCROLL INVISIBLE PARA PANELES LATERALES
       Permite bajar si el contenido es largo, pero sin barra fea.
       ============================================================ */

    #desktop-sidebar-left, 
    #desktop-sidebar-right {
        overflow-y: auto !important; /* Activa el scroll vertical */
        overflow-x: hidden !important; /* Bloquea el horizontal */
        
        /* Ocultar barra en Firefox */
        scrollbar-width: none !important;
        /* Ocultar barra en IE/Edge viejos */
        -ms-overflow-style: none !important;
    }

    /* Ocultar barra en Chrome, Safari y Opera */
    #desktop-sidebar-left::-webkit-scrollbar,
    #desktop-sidebar-right::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }