/* PaisaNow Phase 4 unified community feed */
.pn-community-feed{display:grid;gap:12px;min-width:0}.pn-community-post{padding:0!important;overflow:visible!important;background:#fff;border:1px solid #e4eaf2;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.055)}
.pn-community-post-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 14px 10px!important}.pn-community-author-avatar{text-decoration:none}.pn-community-author-copy{min-width:0}.pn-community-author-copy>a:first-child{text-decoration:none;color:#0f172a}.pn-community-author-copy small{display:block;color:#64748b;margin-top:2px}.pn-community-source{display:inline-flex;gap:6px;align-items:center;margin-top:4px;color:#475569;text-decoration:none;font-size:12px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pn-community-source b{color:#0f172a;overflow:hidden;text-overflow:ellipsis}.pn-community-menu{margin-left:auto;position:relative;z-index:30}.pn-community-menu summary{list-style:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1f5f9;cursor:pointer}.pn-community-menu>div{position:absolute;right:0;top:42px;width:210px;padding:6px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 18px 40px rgba(15,23,42,.18);z-index:100}.pn-community-menu button,.pn-community-menu form{width:100%;margin:0}.pn-community-menu button{border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:10px;font-weight:800;color:#0f172a;display:flex;gap:8px;align-items:center}.pn-community-menu button:hover{background:#f8fafc}.pn-community-chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 8px}.pn-community-chips span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#eef5ff;color:#0b63ce;font-size:11px;font-weight:850}.pn-community-body{padding:2px 14px 12px!important;line-height:1.55;color:#172033;overflow-wrap:anywhere}.pn-community-stats{display:flex;justify-content:space-between;gap:8px;padding:9px 14px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;color:#64748b;font-size:13px}.pn-community-stats i{color:#1877f2}.pn-community-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px!important}.pn-community-actions>button,.pn-community-actions>form{min-width:0;margin:0}.pn-community-actions button{width:100%;border:0;background:transparent;border-radius:10px;padding:10px 6px;color:#475569;font-weight:850;display:flex;justify-content:center;align-items:center;gap:7px}.pn-community-actions button:hover{background:#f8fafc}.pn-community-actions button.liked,.pn-community-actions button.active{color:#1877f2;background:#eef5ff}.pn-community-comments{padding:8px 14px 6px}.pn-community-comment{margin:0}.pn-community-post .pn-comment-form{padding:4px 14px 14px!important}.pn-community-post .pn-post-image-grid,.pn-community-post .pn-post-attachments{margin-top:2px}.pn-community-loader{width:100%;border:1px solid #dce6f2;background:linear-gradient(135deg,#fff,#f3f8ff);color:#334155;border-radius:16px;min-height:52px;padding:10px 14px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.pn-community-loader.done{cursor:default;color:#64748b}.pn-community-loader.error{border-color:#fecaca;background:#fff7f7;color:#b91c1c}
@media(max-width:620px){.pn-community-post{border-radius:13px}.pn-community-post-head{padding:12px 10px 8px!important}.pn-community-body{padding-left:10px!important;padding-right:10px!important}.pn-community-stats{padding-left:10px;padding-right:10px;font-size:12px}.pn-community-actions button span{display:inline}.pn-community-menu>div{position:fixed;right:10px;left:auto;top:auto;bottom:78px;width:min(250px,calc(100vw - 20px))}.pn-community-post .pn-comment-form{padding-left:10px!important;padding-right:10px!important}}
