/* 推荐流 + 订阅 */
.fd-page { max-width: 900px; margin: 0 auto; padding: 16px 12px 32px; }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.fd-title { font-size: 22px; margin: 0; }
.fd-tabs { display: flex; gap: 4px; }
.fd-tab { padding: 8px 16px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; opacity: .7; }
.fd-tab:hover { opacity: 1; text-decoration: none; }
.fd-tab.active { background: var(--bs-primary, #4c6ef5); color: #fff; opacity: 1; }
.fd-tab small { opacity: .8; font-weight: 400; }
.fd-hint, .fd-empty { padding: 14px 16px; border-radius: 10px; background: rgba(76,110,245,.08); font-size: 14px; margin-bottom: 10px; }
.fd-empty { text-align: center; opacity: .8; padding: 40px 16px; }
.fd-list { display: flex; flex-direction: column; }
.fd-row { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid rgba(127,127,127,.15); color: inherit; text-decoration: none; }
.fd-row:hover { text-decoration: none; background: rgba(127,127,127,.06); }
.fd-row-sub { background: rgba(76,110,245,.05); }
.fd-rank { flex: 0 0 28px; text-align: center; font-weight: 700; opacity: .45; font-size: 15px; }
.fd-rank-top { color: #e5484d; opacity: 1; }
.fd-avatar { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px; object-fit: cover; }
.fd-main { flex: 1; min-width: 0; }
.fd-subject { font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-badge { display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; font-weight: 500; }
.fd-badge-digest { background: #f08c00; color: #fff; }
.fd-badge-sub { background: rgba(76,110,245,.2); color: var(--bs-primary, #4c6ef5); }
.fd-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; opacity: .65; margin-top: 4px; }
.fd-forum { color: var(--bs-primary, #4c6ef5); opacity: 1; }
.fd-heat { flex: 0 0 auto; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(229,72,77,.12); color: #e5484d; font-weight: 600; }
.fd-pagination { margin-top: 16px; display: flex; justify-content: center; }
.fd-h2 { font-size: 16px; margin: 18px 0 8px; }
.fd-forums, .fd-kws { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chip { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(127,127,127,.3); font-size: 13px; color: inherit; text-decoration: none; cursor: pointer; }
.fd-chip:hover { text-decoration: none; }
.fd-chip.on { background: var(--bs-primary, #4c6ef5); border-color: transparent; color: #fff; }
.fd-kw-x { margin-left: 4px; cursor: pointer; opacity: .8; }
.fd-kw-form { display: flex; gap: 8px; margin-top: 10px; max-width: 420px; }
/* 版块页上的订阅按钮 */
.feed-sub-wrap { display: inline-flex; gap: 8px; align-items: center; margin-left: 10px; vertical-align: middle; }
.feed-sub-btn { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--bs-primary, #4c6ef5); color: var(--bs-primary, #4c6ef5); text-decoration: none; white-space: nowrap; }
.feed-sub-btn.on { background: var(--bs-primary, #4c6ef5); color: #fff; }
.feed-sub-btn:hover { text-decoration: none; }
.feed-sub-link { font-size: 12px; opacity: .7; }
@media (max-width: 767px) { .fd-avatar { display: none; } .fd-heat { display: none; } }
