.f23-feed-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;margin-left:auto;border-radius:12px;background:#b61d60;color:#fff;font-size:11px;line-height:1;flex-shrink:0}
.f23-feed-badge[hidden]{display:none!important}
.a4-bottom-nav [data-mobile-route=home]{position:relative}
.a4-bottom-nav .f23-feed-badge{position:absolute;top:3px;right:12px;margin:0}
#f23-feed-count{margin-left:6px;vertical-align:middle}
.feed-post.f23-unread{border-left:3px solid #b61d60;padding-left:14px}
.f23-read{display:block;margin-top:12px;min-height:44px}
.f23-post-detail{min-width:0;overflow-wrap:anywhere}
.f23-post-detail p{white-space:pre-wrap;line-height:1.55}
.f23-feed-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.f23-feed-tools button{min-height:44px}
@media(max-width:640px){.f23-feed-header{align-items:flex-start;gap:12px;flex-wrap:wrap}.f23-feed-tools{width:100%}.f23-feed-tools button{flex:1}}

/* Feed separation, 2026-09-18: theme-aware cards, including the last post. */
.home-layout .feed-post{
 margin:16px 0 0;
 padding:18px;
 min-width:0;
 border:1px solid var(--line);
 border-radius:var(--d11-control-radius,12px);
 background:var(--surface2);
 overflow-wrap:anywhere;
}
.home-layout .feed-post.important,
.home-layout .feed-post.f23-unread{
 border-left:3px solid var(--accent);
 padding-left:16px;
}
.home-layout .feed-post>.row{
 align-items:flex-start;
 gap:12px;
}
.home-layout .feed-post>.row>div{min-width:0}
.home-layout .feed-post>.row>.badge{flex-shrink:0}
.home-layout .feed-post>h4{margin:14px 0 8px;line-height:1.4}
.home-layout .feed-post>p{margin:0 0 14px;line-height:1.6;white-space:pre-wrap}
.home-layout .feed-post>small{
 display:block;
 padding-top:12px;
 border-top:1px solid var(--line);
 color:var(--muted);
}
@media(max-width:640px){
 .home-layout .feed-post{margin-top:14px;padding:14px}
 .home-layout .feed-post.important,
 .home-layout .feed-post.f23-unread{padding-left:12px}
}

/* Shared feed pins. Keep the pin state distinct from importance/read state. */
.home-layout .feed-post.f52-pinned{border-color:var(--accent)}
.f52-pin-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.f52-pin-label{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:13px;font-weight:650}
.f52-pin-label svg{flex-shrink:0}
.f52-pin-tools button{margin-left:auto;min-height:44px;max-width:100%}
