/*
 * Live Feed Page Styles
 */

.wishly-live-feed {
    padding: var(--w-space-10) 0 var(--w-space-16);
    min-height: 80vh;
}

.wishly-live-feed__title {
    font-size: var(--w-text-3xl);
    font-weight: 900;
}

.wishly-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    animation: wishly-live-pulse 2s infinite;
}

.wishly-feed-card {
    display: flex;
    gap: var(--w-space-4);
    padding: var(--w-space-4);
    margin-bottom: var(--w-space-3);
    background: var(--w-bg-card);
    border: 1px solid var(--w-border-primary);
    border-radius: var(--w-radius-xl);
    transition: all var(--w-transition-fast);
    animation: wishly-fade-in 0.4s ease;
}

.wishly-feed-card:hover {
    background: var(--w-bg-card-hover);
    border-color: var(--w-border-secondary);
}

.wishly-feed-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--w-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.wishly-feed-card__icon--transit  { background: rgba(59, 130, 246, 0.15); }
.wishly-feed-card__icon--arrived  { background: rgba(16, 185, 129, 0.15); }
.wishly-feed-card__icon--fun      { background: rgba(236, 72, 153, 0.15); }
.wishly-feed-card__icon--milestone { background: rgba(245, 158, 11, 0.15); }
.wishly-feed-card__icon--delivered { background: rgba(124, 58, 237, 0.15); }

.wishly-feed-card__body { flex: 1; min-width: 0; }

.wishly-feed-card__text {
    font-size: var(--w-text-sm);
    color: var(--w-text-primary);
    line-height: 1.5;
}

.wishly-feed-card__text strong {
    color: var(--w-accent);
    font-weight: 700;
}

.wishly-feed-card__meta {
    display: flex;
    align-items: center;
    gap: var(--w-space-3);
    margin-top: var(--w-space-2);
    font-size: var(--w-text-xs);
    color: var(--w-text-tertiary);
}

.wishly-feed-card__xp {
    color: var(--w-accent);
    font-weight: 700;
}

/* ── Header Layout ──────────────────────────────── */
.wishly-live-feed__header-row {
    display: flex;
    align-items: center;
    gap: var(--w-space-3);
    margin-bottom: var(--w-space-2);
}

.wishly-live-feed__subtitle {
    color: var(--w-text-secondary);
    font-size: var(--w-text-sm);
}

/* ── Empty State ────────────────────────────────── */
.wishly-live-feed__empty {
    text-align: center;
    padding: var(--w-space-12) 0;
}

/* ── Live dot pulse (self-contained — not relying on landing.css) ── */
@keyframes wishly-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ── New item flash on auto-refresh ────────────── */
@keyframes wishly-feed-new {
    0%   { background: rgba(124, 58, 237, 0.18); border-color: var(--w-accent); }
    100% { background: var(--w-bg-card); border-color: var(--w-border-primary); }
}

.wishly-feed-card--new {
    animation: wishly-feed-new 1.8s ease forwards;
}
