/* The live feed: the board rail's preview and the /live page. Built on the starter .feed, .chip and .lb; no inline styles (CSP). */

/* A line that takes points back says so in words ("taken back") and in colour; the minus sign is part of the number. */
.feed__item--negative .feed__pts{color:var(--danger)}
.feed__icon--negative{color:var(--danger)}
.feed__pts{white-space:nowrap}
.feed__who{color:inherit;text-decoration:none}
.feed__who:hover b,.feed__who:focus-visible b{color:var(--accent-text)}
.feed__item{flex-shrink:0}
.feed__item+.feed__item{border-top:var(--border-width) solid var(--border)}

/* Rail preview: five lines, or one line when the channel is not live. */
.feed-preview .section-title{margin-bottom:var(--space-3);align-items:center}
.feed-preview.is-offline .section-title{margin-bottom:var(--space-2)}
.feed-preview__offline,.feed-preview__empty{margin:0}
.feed-preview__more{display:inline-block;margin-top:var(--space-3);font-size:var(--fs-sm)}
.feed--preview .feed__item{padding:var(--space-3) 0}

/* /live */
.live-offline{margin:0}
.live-grid{display:grid;gap:var(--space-6);align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr))}
.feed-filters{gap:var(--space-2)}
.feed-empty{padding:var(--space-5) 0;margin:0}
.live-grid .feed--scroll{padding:0 var(--space-5)}

/* Live top five */
.top-list{list-style:none;margin:0;padding:0}
.top-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:var(--space-3);align-items:center;padding:var(--space-3) 0;border-top:var(--border-width) solid var(--border)}
.top-row:first-child{border-top:0}
.top-row__rank{color:var(--text-subtle)}
.top-row:nth-child(-n+3) .top-row__rank{color:var(--accent-text);font-weight:var(--fw-bold)}
.top-row__who{display:flex;align-items:center;gap:var(--space-3);min-width:0;color:var(--text);text-decoration:none}
.top-row__who .viewer__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-row__who:hover .viewer__name,.top-row__who:focus-visible .viewer__name{color:var(--accent-text)}
.top-row__points{font-weight:var(--fw-bold)}

/* A redeem purchase: spending, not a correction, so the points keep the text colour; epic and legendary stand out by their icon and the tier word. */
.feed__item--big .feed__icon{color:var(--accent-text)}
.feed__tier{font-family:var(--font-mono);font-size:var(--fs-2xs);font-weight:var(--fw-bold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--accent-text)}
