/* A quiet white feed. The boxed source label carries the category. */
#community-list>.post{padding:20px 0;margin:0;border-bottom:1px solid #e2e5e3;background:#fff}
#community-list>.post~.post{margin-top:0}
#community-list>.post:first-of-type{padding-top:14px}
#community-list>.post .post-head{padding:0;background:none;border-radius:0;margin-bottom:12px}
@media (max-width: 760px) {
 #community-list>.post:first-child>.post-head { padding-inline-end: 0; }
}
#community-list>.post .post-date{border:0;padding-bottom:0;color:#7d8581}
#community-list>.post .source-badge{display:inline-flex;align-items:center;gap:4px;background:#fff!important;border:1px solid #d8dedb!important;border-radius:4px;padding:3px 6px!important;color:#59645f!important;font-size:10px;font-weight:600;line-height:1.3}
#community-list>.post .room-number{background:none;color:inherit;padding:0;margin:0;font:inherit}
#community-list>.post .room-number:after{content:'·';padding-left:4px;color:#a4ada7}
#community-list>.post .meta-prompt{color:#5b6861;font-weight:600}
#community-list>.post .memo-excerpt{padding:10px 12px;margin:0;background:#fffdf5;border:1px solid #e9e2d1;border-radius:1px 1px 4px 1px;box-shadow:0 2px 2px #705c3010}
#community-list>.post .memo-excerpt:after{content:none}
#community-list>.post .work-preview{padding:0;background:none;border:0;border-radius:0;box-shadow:none}
#community-list>.post .poem-card{background:#fff}
#community-list>.post .manuscript-line{border-color:#dde1dd}
#community-list>.post .manuscript-cell{box-shadow:inset -1px -1px #dde1dd}
#community-list>.post .manuscript-initial{background:#eef0ec;color:#3c5246}
#community-list>.post .manuscript-ghost-cell{border-color:#edf0ed}
#community-list>.post .participants button{background:#f1f3ef}
@media(min-width:761px){
 #community-scroll{scrollbar-gutter:stable both-edges}
 #community-list>.post{padding-top:28px;padding-bottom:28px}
 #community-list>.post:first-of-type{padding-top:18px}
}

.feed-pull-refresh{height:0;overflow:hidden;display:grid;place-items:center;color:#778780;font:12px/1.5 system-ui;pointer-events:none;flex:none}
.feed-pull-refresh.is-visible{border-bottom:1px solid #edf0ec}

/* Only the source label receives category color; the feed stays white. */
#community-list>.post[data-room] .source-badge{background:#fff3e9!important;border-color:#dcc3ac!important;color:#805439!important}
#community-list>.post:not([data-room]) .source-badge{background:#edf5fc!important;border-color:#bed2e4!important;color:#3b607f!important}

.library-feed-excerpt small{font:11px/1.6 system-ui;color:#859087}.library-feed-excerpt h2{font:700 18px/1.5 system-ui;margin:5px 0 10px;color:#344c40}.library-feed-excerpt p{font-family:SnackPlayHand,serif;font-size:15px;line-height:1.8}.library-feed-actions{margin-top:14px}.library-feed-actions a{display:inline-block;padding:6px 0;border-bottom:1px solid #c7d3c8;font:600 12px/1.5 system-ui;color:#536d5a}

/* Keep the pull indicator out of the feed layout and its scroll anchoring. */
#community-scroll{overflow-anchor:none}
.feed-pull-refresh{position:sticky;top:0;z-index:12;box-sizing:border-box;background:#fff;overflow-anchor:none}

/* A focused original post always has its own route back to the full feed. */
#community-post-navigation[hidden]{display:none}
#community-post-navigation{position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 84px 8px 0;background:#fff;border-bottom:1px solid #e2e5e3;font:600 13px/1.5 system-ui;box-sizing:border-box}
#community-post-navigation a{display:inline-flex;align-items:center;gap:7px;min-height:36px;color:#344e49;text-decoration:none;white-space:nowrap}
#community-post-navigation a:hover{text-decoration:underline;text-underline-offset:4px}
#community-post-navigation a:focus-visible{outline:2px solid #597b8c;outline-offset:3px;border-radius:3px}
#community-post-navigation>span{color:#7d8581;font-size:11px;font-weight:400;white-space:nowrap}
@media(max-width:350px){#community-post-navigation{gap:8px;padding-right:68px}#community-post-navigation>span{font-size:10px}}
