/* ============================================================
   .feed-list — Listes denses partagées (Stitch v3)
   Utilisé par feed-queue, feed-history.
   ============================================================ */

.feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.feed-item {
    display: grid;
    grid-template-columns: 24px 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    min-height: 64px;
}
.feed-item:last-child { border-bottom: none; }

.feed-rank {
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.feed-cover {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--bg-3);
    object-fit: cover;
}

.feed-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.feed-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.feed-artist {
    font-size: 12px;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-time {
    font-size: 11px;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
    padding-left: 8px;
}

.feed-empty {
    padding: 20px 0;
    text-align: center;
    color: var(--text-3);
    font-size: 13px;
}

@media (min-width: 1025px) {
    .feed-item { padding: 12px 0; }
    .feed-cover { width: 48px; height: 48px; }
}

/* ── Demande spéciale dans la file à venir ── */
.feed-item--request {
    background: linear-gradient(90deg, rgba(167,139,250,.07) 0%, transparent 100%);
    border-radius: var(--r-sm);
    border-bottom-color: rgba(167,139,250,.2);
}
.feed-item--request .feed-cover {
    box-shadow: 0 0 0 2px rgba(167,139,250,.4);
}
.feed-req-icon {
    color: #a78bfa;
    font-size: 11px;
    animation: fq-plane 2s ease-in-out infinite;
}
@keyframes fq-plane {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50%      { transform: translateY(-3px) rotate(5deg); }
}
.feed-req-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; color: #a78bfa; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-req-badge i { font-size: 9px; color: #f5c518; }
.feed-req-badge strong { color: #fff; font-weight: 700; }
