    /* --- VARIÁVEIS DE DESIGN (PALETA WALL STREET) --- */
    :root {
        --efx-navy: #0f172a;
        --efx-gold: #C5A059; /* Ouro Metálico Sóbrio */
        --efx-gold-light: #eecda3;
        --efx-gray: #f3f4f6;
        --efx-dark-text: #1e293b;
        --efx-muted: #64748b;
        --efx-border: #e2e8f0;
    }

    /* --- CONTAINER GERAL --- */
    .expertfx-terminal {
        background: #fff;
        border: 1px solid var(--efx-border);
        border-top: 3px solid var(--efx-gold); /* Linha premium no topo */
        border-radius: 4px; /* Cantos mais retos = mais sério */
        font-family: 'Inter', 'Segoe UI', sans-serif; /* Fonte moderna */
        margin-bottom: 25px;
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    }

    /* --- HEADER --- */
    .efx-header-bar {
        padding: 12px 20px;
        border-bottom: 1px solid var(--efx-border);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
    }
    .efx-brand { font-weight: 800; letter-spacing: 0.5px; color: var(--efx-navy); font-size: 13px; }
    .efx-status { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--efx-muted); display: flex; align-items: center; }
    .status-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; margin-right: 6px; animation: pulse 2s infinite; }
    @keyframes pulse { 0% {opacity: 1;} 50% {opacity: 0.4;} 100% {opacity: 1;} }

    /* --- GRID --- */
    .efx-wrapper {
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        min-height: 400px;
    }

    /* --- HERO SECTION (ESQUERDA) --- */
    .efx-hero {
        position: relative;
        overflow: hidden;
        background: var(--efx-navy);
    }
    .efx-full-link { display: block; height: 100%; width: 100%; color: white !important; text-decoration: none; }
    
.efx-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.efx-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.6;
}

.efx-hero:hover .efx-hero-img {
    transform: scale(1.03);
    opacity: 0.5;
}
    
    .efx-hero-gradient {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(0deg, rgba(15,23,42,1) 0%, rgba(15,23,42,0.7) 40%, rgba(15,23,42,0.1) 100%);
    }

    .efx-hero-content {
        position: absolute; bottom: 0; left: 0; width: 100%;
        padding: 30px; box-sizing: border-box; z-index: 2;
    }
  
/* Blur para thumbs bloqueadas */
.efx-blur-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    opacity: 0.7;
}

/* Blur para hero quando locked (opcional visual) */
.efx-hero-bg.locked {
    filter: blur(6px);
    transform: scale(1.02); /* efeito sutil */
}  

    /* TAGS */
    .efx-tags { display: flex; gap: 8px; margin-bottom: 12px; }
    .efx-tag-main { background: rgba(255,255,255,0.15); backdrop-filter: blur(5px); font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 2px; letter-spacing: 1px; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
    .efx-tag-gold { background: linear-gradient(135deg, #C5A059 0%, #eecda3 100%); color: #000; font-size: 9px; font-weight: 800; padding: 4px 10px; border-radius: 2px; letter-spacing: 1px; box-shadow: 0 2px 10px rgba(197, 160, 89, 0.3); }

    /* TÍTULOS */
    .efx-hero-title {
        font-size: 26px; line-height: 1.2; font-weight: 700; margin: 0 0 12px 0;
        color: #fff; text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    .efx-hero-desc {
        font-size: 14px; line-height: 1.6; color: #cbd5e1; margin-bottom: 20px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; opacity: 0.9;
    }

    /* META */
    .efx-meta-hero { font-size: 11px; color: var(--efx-gold); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
    .efx-meta-hero strong { color: #fff; }
    .efx-sep { margin: 0 10px; opacity: 0.4; color: #fff; }

    /* --- GLASS LOCK EFFECT (VIDRO JATEADO) --- */
    .efx-glass-lock {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 4px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .efx-lock-icon {
        width: 32px; height: 32px; background: var(--efx-gold); color: #000;
        display: flex; align-items: center; justify-content: center; border-radius: 50%;
        font-size: 12px; flex-shrink: 0;
    }
    .efx-blur-line {
        font-size: 13px; color: rgba(255,255,255,0.5);
        filter: blur(3px); user-select: none;
        white-space: nowrap; overflow: hidden;
    }

    /* --- LIST SIDEBAR (DIREITA) --- */
    .efx-list-col {
        display: flex; flex-direction: column;
        border-left: 1px solid var(--efx-border);
        background: #fff;
    }
    .efx-item { flex: 1; border-bottom: 1px solid var(--efx-border); position: relative; }
    .efx-item:last-child { border-bottom: none; }
    
    .efx-item-link {
        display: flex; align-items: flex-start; padding: 16px; height: 100%;
        text-decoration: none !important; color: inherit; box-sizing: border-box;
        transition: background 0.2s;
    }
    .efx-item-link:hover { background: #fafafa; }
    
    .efx-thumb {
        width: 90px; height: 60px; border-radius: 2px; overflow: hidden;
        margin-right: 15px; position: relative; flex-shrink: 0;
        background: #f0f0f0;
    }
    .efx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .efx-item:hover .efx-thumb img { transform: scale(1.05); }
    
    .efx-mini-badge {
        position: absolute; top: 0; right: 0; background: var(--efx-gold); color: #000;
        font-size: 8px; padding: 2px 4px; border-bottom-left-radius: 2px;
    }

    .efx-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .efx-item-meta-top { font-size: 10px; color: var(--efx-gold); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
    .efx-item-title {
        font-size: 14px; font-weight: 600; color: var(--efx-dark-text); margin: 0 0 6px 0;
        line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .efx-item-link:hover .efx-item-title { color: var(--efx-navy); text-decoration: underline; text-decoration-color: var(--efx-gold); }
    
    .efx-item-author { font-size: 11px; color: var(--efx-muted); }
    .efx-locked-label { font-size: 10px; color: var(--efx-navy); background: var(--efx-border); display: inline-block; padding: 2px 6px; border-radius: 2px; font-weight: 600; }

/* --- RESPONSIVO CORRIGIDO (SEM BURACOS + IMERSIVO) --- */
    @media (max-width: 768px) {
        .efx-wrapper {
            display: flex;
            flex-direction: column;
        }
      
/* ===== OTIMIZAÇÃO DE PERFORMANCE MOBILE (TERMINAL) ===== */
    
    /* 1. Remove o desfoque pesado do cadeado */
    .efx-glass-lock {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 23, 42, 0.95) !important; /* Fundo quase sólido para cobrir o texto */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 2. Remove o desfoque da linha de texto (pesado para renderizar texto borrado) */
    .efx-blur-line {
        filter: none !important;
        color: transparent !important; /* Esconde o texto deixando transparente */
        text-shadow: 0 0 8px rgba(255,255,255,0.5); /* Simula o borrão de forma mais leve */
    }

    /* 3. Desativa animações de zoom e pulso no mobile */
    .efx-hero:hover .efx-hero-bg {
        transform: none !important;
    }
    
    .status-dot {
        animation: none !important;
        opacity: 1 !important;
    }      
        
        /* Container Pai: Define o tamanho e remove qualquer padding que cause buracos */
        .efx-hero {
            position: relative;
            width: 100%;
            min-height: 450px; /* Garante altura boa no mobile */
            height: auto;
            padding: 0 !important;
            margin: 0 !important;
            background: var(--efx-navy);
            overflow: hidden;
        }

        /* O Link agora age como o container Flex para alinhar o texto embaixo */
        .efx-full-link {
            display: flex !important;
            flex-direction: column;
            justify-content: flex-end; /* Empurra texto para baixo */
            width: 100%;
            height: 100%;
            min-height: 450px; /* Força o link a ter a mesma altura do pai */
            position: relative;
            text-decoration: none !important;
        }

.efx-hero-bg {
    position: absolute !important;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    border-radius: 0 !important;
}

.efx-hero-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
}
        
        /* 2. Gradiente (Para leitura do texto) */
        .efx-hero-gradient { 
            display: block !important;
            position: absolute;
            top: 0; left: 0; 
            width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.8) 60%, rgba(15,23,42,1) 100%);
            z-index: 1;
        }

        /* 3. Conteúdo (Texto) */
        .efx-hero-content {
            position: relative !important; 
            z-index: 2;
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
            margin-top: auto; /* Garante empilhamento no final */
        }

        .efx-hero-title {
            font-size: 22px;
            line-height: 1.25;
            text-shadow: 0 2px 10px rgba(0,0,0,0.9);
            margin-bottom: 10px;
            color: #fff;
        }

        .efx-hero-desc {
            font-size: 13px;
            color: #e2e8f0;
            display: -webkit-box;
            -webkit-line-clamp: 4; 
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 15px;
            text-shadow: 0 1px 4px rgba(0,0,0,0.9);
            opacity: 0.95;
        }

        /* Ajuste das listas abaixo para não colar */
        .efx-list-col {
            border-left: none;
            border-top: 4px solid var(--efx-gold);
        }
        
        .efx-item-link {
            padding: 15px;
        }
    }

    /* --- DARK MODE SUPPORT --- */
    body.ipsApp_theme_dark .expertfx-terminal,
    body.ipsApp_theme_dark .efx-header-bar,
    body.ipsApp_theme_dark .efx-list-col { background: #1a1a1a; border-color: #333; }
    body.ipsApp_theme_dark .efx-brand { color: #fff; }
    body.ipsApp_theme_dark .efx-item-title { color: #e5e5e5; }
    body.ipsApp_theme_dark .efx-item-link:hover { background: #222; }
    body.ipsApp_theme_dark .efx-item { border-bottom-color: #333; }
    
    /* --- SKELETON LOADER --- */
    .efx-skeleton { display: grid; grid-template-columns: 1.6fr 1fr; height: 400px; }
    .sk-hero { background: #eee; width: 100%; height: 100%; animation: sk-pulse 1.5s infinite; }
    .sk-sidebar { padding: 15px; display: flex; flex-direction: column; gap: 15px; }
    .sk-row { height: 80px; background: #eee; border-radius: 4px; animation: sk-pulse 1.5s infinite; }
    @keyframes sk-pulse { 0% {opacity:0.5} 50% {opacity:1} 100% {opacity:0.5} }
	
                /* ===== EXPERTFX SCHOOL - TRADINGVIEW WIDGET PREMIUM ===== */
/* Widget institucional premium para traders */

.tradingview-widget-container {
    background: linear-gradient(135deg, var(--expertfx-blue-dark) 0%, var(--expertfx-blue-medium) 100%) !important;
}

/* Efeito de brilho no topo */
.tradingview-widget-container:before {
    background: linear-gradient(90deg, transparent, var(--expertfx-gold), transparent);
}

/* Container do widget */
.tradingview-widget-container__widget {
    background: transparent !important;
    border: none !important;
}

/* Sobrescrever estilos do TradingView para fontes brancas */
.tradingview-widget-container * {
    color: #ffffff !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Símbolos e textos */
.tradingview-widget-container .tv-widget-ticker-tape__item,
.tradingview-widget-container .tv-widget-ticker-tape__symbol,
.tradingview-widget-container .tv-widget-ticker-tape__description {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Preços - verde para alta */
.tradingview-widget-container .tv-widget-ticker-tape__price--up {
    color: #00b09b !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 176, 155, 0.3) !important;
}

/* Preços - vermelho para baixa */
.tradingview-widget-container .tv-widget-ticker-tape__price--down {
    color: #ff6b6b !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(255, 107, 107, 0.3) !important;
}

/* Porcentagens */
.tradingview-widget-container .tv-widget-ticker-tape__change {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
}

/* Logos dos símbolos */
.tradingview-widget-container .tv-widget-ticker-tape__logo {
    filter: brightness(0) invert(1) !important;
    opacity: 0.9 !important;
}

/* Separadores entre símbolos */
.tradingview-widget-container .tv-widget-ticker-tape__separator {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 0.5 !important;
}

/* Hover effects */
.tradingview-widget-container .tv-widget-ticker-tape__item:hover {
    background: rgba(248, 181, 0, 0.2) !important;
    border-radius: 6px !important;
}

/* Scrollbar personalizada */
.tradingview-widget-container ::-webkit-scrollbar {
    height: 6px !important;
}

.tradingview-widget-container ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 3px !important;
}

.tradingview-widget-container ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--expertfx-gold) 0%, var(--expertfx-gold-light) 100%) !important;
    border-radius: 3px !important;
}

.tradingview-widget-container ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--expertfx-gold-light) 0%, var(--expertfx-gold) 100%) !important;
}

/* Ajustes para modo responsivo */

/* Garantir que o widget seja transparente */
.tradingview-widget-container iframe {
    background: transparent !important;
}

/* Remover qualquer borda padrão */
.tradingview-widget-container,
.tradingview-widget-container * {
    border: none !important;
    outline: none !important;
}


/* Container principal deve ficar acima do overlay */
.tradingview-widget-container__widget {
    position: relative;
    z-index: 2;
}

/* ===== OTIMIZAÇÃO DE PERFORMANCE MOBILE DO WIDGET ===== */
@media (max-width: 767px) {
    .tradingview-widget-container {
        /* 1. Remove sombras e bordas pesadas no celular */
        box-shadow: none !important;
        border: none !important;
        
        /* 2. Remove o gradiente de fundo complexo e usa cor sólida */
        background: var(--expertfx-blue-dark) !important;
    }

    /* 3. Desliga o efeito de "brilho dourado" no topo para economizar uma camada de renderização */
    .tradingview-widget-container::before {
        display: none !important;
    }
}	