/* Pulse threat feed — /feed
 *
 * Vertical scrolling stream of threat items. Each item is a card with
 * an icon, title, body, tag chips, and a timestamp. Channel chips at
 * the top filter which sources the stream pulls from.
 */

.feed-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-2);
}
.feed-channels .feed-chip {
    font: 500 12px/1 var(--mono);
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--bg-1);
    color: var(--ink-2);
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.12s;
}
.feed-channels .feed-chip:hover { color: var(--ink); border-color: var(--line-2); }
.feed-channels .feed-chip.on {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-1);
}
.feed-channels .feed-chip .feed-chip-count {
    margin-left: 6px;
    color: inherit;
    opacity: 0.6;
    font-weight: 400;
}

.feed-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feed-loading {
    padding: 48px 32px;
    text-align: center;
    color: var(--ink-3);
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-1);
}

.feed-empty {
    padding: 48px 32px;
    text-align: center;
    color: var(--ink-3);
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-1);
}

.feed-item {
    display: grid;
    grid-template-columns: 44px 1fr 110px;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-1);
    color: var(--ink);
    text-decoration: none;
    transition: all 0.12s;
    align-items: start;
}
.feed-item:hover {
    border-color: var(--line-2);
    background: var(--bg-2);
}
.feed-item .feed-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--bg-2);
    font-size: 18px;
}
.feed-item .feed-body {
    min-width: 0;
}
.feed-item .feed-title {
    font: 600 14px/1.4 var(--sans);
    color: var(--ink);
    margin: 0 0 4px;
    word-wrap: break-word;
}
.feed-item .feed-detail {
    font: 400 12.5px/1.5 var(--sans);
    color: var(--ink-2);
    margin: 0 0 6px;
    word-wrap: break-word;
}
.feed-item .feed-tags {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-top: 4px;
}
.feed-item .feed-tag {
    font: 500 10.5px/1 var(--mono);
    padding: 3px 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg-2);
    color: var(--ink-3);
    letter-spacing: 0.04em;
    text-transform: lowercase;
}
.feed-item .feed-when {
    font: 500 11px/1 var(--mono);
    color: var(--ink-3);
    text-align: right;
    letter-spacing: 0.04em;
    align-self: start;
    padding-top: 2px;
    white-space: nowrap;
}
.feed-item .feed-channel {
    font: 500 9.5px/1 var(--mono);
    color: var(--ink-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.7;
}

@media (max-width: 720px) {
    .feed-item { grid-template-columns: 36px 1fr; }
    .feed-item .feed-when { grid-column: 2; text-align: left; padding-top: 0; }
}
