/* Community Feed — /community/ (Stage C). Light + dark via theme CSS variables. */

.snr-feed {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
    font-family: var(--body);
    color: var(--text);
}

/* ── Header ── */
.snr-feed-header { margin-bottom: 1.75rem; }
.snr-feed-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.snr-feed-title {
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1.1;
    margin: 0;
    color: var(--text);
}
.snr-feed-chat-btn {
    font-family: var(--ui);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--accent, #9b1b30);
    color: #fff;
    transition: opacity .15s ease;
}
.snr-feed-chat-btn:hover { opacity: .88; }
.snr-feed-sub {
    margin: .55rem 0 0;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Ticker filter chips ── */
.snr-feed-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.1rem;
}
.snr-feed-chip {
    font-family: var(--ui);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: var(--bg-card);
    transition: all .15s ease;
}
.snr-feed-chip:hover { color: var(--text); border-color: var(--text-secondary); }
.snr-feed-chip.active {
    background: var(--accent, #9b1b30);
    border-color: var(--accent, #9b1b30);
    color: #fff;
}
.snr-feed-chip-count { opacity: .6; margin-left: .25rem; font-weight: 500; }

/* ── Feed list ── */
.snr-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.snr-feed-item {
    display: flex;
    gap: .85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}
.snr-feed-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.snr-feed-body { flex: 1 1 auto; min-width: 0; }
.snr-feed-meta {
    font-family: var(--ui);
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: .35rem;
}
.snr-feed-name {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}
.snr-feed-name:hover { text-decoration: underline; }
.snr-feed-sep { color: var(--text-secondary); margin: 0 .35rem; }
.snr-feed-article {
    color: var(--accent, #9b1b30);
    text-decoration: none;
    font-weight: 600;
}
.snr-feed-article:hover { text-decoration: underline; }
.snr-feed-text {
    margin: 0 0 .55rem;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--text);
}
.snr-feed-foot {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--ui);
    font-size: .78rem;
    color: var(--text-secondary);
}
.snr-feed-ticker {
    font-weight: 700;
    color: var(--accent, #9b1b30);
    text-decoration: none;
}
.snr-feed-ticker:hover { text-decoration: underline; }

/* ── Empty + pagination ── */
.snr-feed-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}
.snr-feed-back, .snr-feed-page-link {
    font-family: var(--ui);
    font-weight: 600;
    text-decoration: none;
    color: var(--accent, #9b1b30);
}
.snr-feed-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}
.snr-feed-page-info {
    font-family: var(--ui);
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ── Follow button (Stage D, on /u/<seed>) ── */
.snr-up-follow-row {
    margin-top: .65rem;
}
.snr-follow-btn {
    font-family: var(--ui);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--accent, #9b1b30);
    background: var(--accent, #9b1b30);
    color: #fff;
    transition: all .15s ease;
}
.snr-follow-btn[data-following="1"] {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.snr-follow-btn:hover { opacity: .88; }
.snr-follow-btn[disabled] { opacity: .55; cursor: default; }
.snr-follow-login {
    font-family: var(--ui);
    font-size: .85rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.snr-follow-login a { color: var(--accent, #9b1b30); text-decoration: none; }
.snr-follow-login a:hover { text-decoration: underline; }
