:root {
    --fin-bg: #131722;
    --fin-panel: #1e222d;
    --fin-border: #2a2e39;
    --fin-text-muted: #787b86;
    --fin-text: #d1d4dc;
    --fin-text-light: #ffffff;
    --fin-green: #089981;
    --fin-red: #f23645;
    --fin-blue: #2962ff;
}

.etea-news-feed-wrapper { width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--fin-text); }

.etea-section-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.8em; color: var(--fin-green);
    border-bottom: 2px solid var(--fin-green);
    padding-bottom: 10px; margin-bottom: 35px; text-transform: uppercase;
}

/* Groupes par Date */
.etea-feed-date-group { margin-bottom: 45px; }
.etea-feed-date-header { border-bottom: 1px solid var(--fin-border); margin-bottom: 18px; position: relative; }
.etea-feed-date-header span {
    background: var(--fin-bg); padding-right: 15px; font-family: 'Share Tech Mono', monospace;
    font-size: 12px; color: var(--fin-blue); position: relative; top: 8px; font-weight: bold;
}

/* Feed Items */
.etea-feed-item {
    background: var(--fin-panel); border: 1px solid var(--fin-border); border-radius: 8px;
    padding: 15px 22px; display: flex; align-items: center; gap: 18px;
    margin-bottom: 12px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Classes sur l'item entier */
.etea-feed-item:hover {
    border-color: var(--fin-blue);
    background: #232733;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Classes pour les liens clickables */
.etea-clickable-link {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.2s ease;
}

.etea-feed-title a.etea-clickable-link:hover {
    color: var(--fin-blue);
    text-shadow: 0 0 10px rgba(41, 98, 255, 0.4);
}

.etea-feed-arrow.etea-clickable-link:hover {
    color: var(--fin-text-light);
    transform: translateX(5px);
}

/* Indicateurs de bordure */
.news-future { border-left: 4px solid var(--fin-blue); }
.news-success { border-left: 4px solid var(--fin-green); }
.news-missed { border-left: 4px solid var(--fin-red); }

/* Logo Box & Pastille */
.etea-feed-logo-box { flex-shrink: 0; }
.etea-portfolio-logo.mini {
    width: 34px; height: 34px; border-radius: 50%;
    background: #ffffff !important; padding: 4px; object-fit: contain;
    border: 1px solid var(--fin-border);
    transition: transform 0.3s ease;
}
.etea-feed-item:hover .etea-portfolio-logo.mini {
    transform: scale(1.1);
}

.etea-logo-placeholder {
    width: 34px; height: 34px; border-radius: 50%; background: var(--fin-bg);
    color: var(--fin-text-muted); display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: bold; border: 1px solid var(--fin-border); text-transform: uppercase;
}

.etea-feed-content { flex-grow: 1; min-width: 0; }
.etea-feed-meta { font-size: 11px; color: var(--fin-text-muted); margin-bottom: 4px; display: flex; align-items: center; }
.etea-feed-time { font-family: 'Share Tech Mono', monospace; color: var(--fin-blue); font-weight: bold; }

.etea-feed-title { margin: 0 0 4px 0; font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etea-feed-title a { color: var(--fin-text-light); font-weight: 700; }

.etea-feed-desc { margin: 0; font-size: 12px; color: var(--fin-text-muted); line-height: 1.5; }

/* Actions */
.etea-feed-actions { display: flex; align-items: center; gap: 15px; }
.etea-btn-ics {
    background: var(--fin-bg); border: 1px solid var(--fin-border); color: var(--fin-text-muted);
    padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.etea-btn-ics:hover {
    border-color: var(--fin-green); color: var(--fin-green);
    background: rgba(8, 153, 129, 0.1);
    transform: translateY(-2px);
}

.etea-feed-arrow {
    font-size: 20px; color: var(--fin-text-muted); font-weight: bold;
}

/* Badges */
.etea-feed-badges { margin-left: 10px; display: inline-flex; gap: 4px; }
.etea-hm-badge { font-size: 9px; padding: 2px 5px; border-radius: 3px; font-weight: bold; font-family: 'Share Tech Mono', monospace; }
.rank-top { color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); background: rgba(255, 215, 0, 0.05); }
.rank-star { color: var(--fin-blue); border: 1px solid rgba(41, 98, 255, 0.3); background: rgba(41, 98, 255, 0.05); }

@media (max-width: 768px) {
    .etea-feed-item { padding: 15px; gap: 12px; }
    .etea-feed-icon { display: none; }
    .etea-feed-actions { flex-direction: column; gap: 8px; }
    .etea-feed-arrow { display: none; }
}