.cf-community,.cf-dialog,.cf-lightbox{--cf-bg:var(--card-bg,#fff);--cf-text:var(--fg,#202334);--cf-muted:var(--gray,#707586);--cf-border:var(--border,#e3e4ec);--cf-accent:var(--color-primary,#7864ee);color:var(--cf-text);font-family:inherit;font-size:14px;line-height:1.65;box-sizing:border-box}
.cf-community *,.cf-dialog *,.cf-lightbox *{box-sizing:border-box}
.cf-community button,.cf-dialog button,.cf-lightbox button,.cf-file-label{font:inherit;cursor:pointer;min-height:44px;padding:8px 14px;border:1px solid var(--cf-border);background:var(--cf-bg);color:var(--cf-text);border-radius:10px;line-height:1.4}
.cf-community button:hover,.cf-dialog button:hover{border-color:var(--cf-accent)}
.cf-community button:disabled,.cf-dialog button:disabled{opacity:.55;cursor:default}
.cf-community .cf-primary,.cf-dialog .cf-primary{background:var(--cf-accent);border-color:var(--cf-accent);color:#fff;font-weight:700}
.cf-heading,.cf-attach-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.cf-heading h3{font-size:20px;margin:0}.cf-heading p{margin:3px 0 0;color:var(--cf-muted);font-size:14px}.cf-heading button{flex-shrink:0}
.cf-hint{color:var(--cf-muted);font-size:13px;line-height:1.6;margin:6px 0 12px}.cf-status{font-size:14px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}.cf-status:empty{display:none}.cf-status.is-error{color:#ce424e}
.cf-list{display:grid;gap:18px}.cf-post{background:var(--cf-bg);border:1px solid var(--cf-border);border-radius:16px;padding:22px;min-width:0}
.cf-post-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:14px}.cf-post-date{color:var(--cf-muted);font-size:13px}.cf-post-actions{display:flex;gap:6px;flex-wrap:wrap}.cf-post-actions button{padding:6px 10px;font-size:13px}.cf-badges{display:flex;gap:6px;margin-bottom:8px}.cf-badge{font-size:12px;background:rgba(120,100,238,.12);color:var(--cf-accent);padding:2px 9px;border-radius:20px}
.cf-content{font-size:15px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.cf-list .cf-content{display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical;overflow:hidden}
.cf-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:16px;border-radius:12px;overflow:hidden}.cf-gallery.is-single{grid-template-columns:1fr}
.cf-gallery button{border:0;border-radius:0;padding:0;position:relative;overflow:hidden;background:rgba(120,100,238,.07);width:100%;aspect-ratio:1.4}
.cf-gallery.is-single button{aspect-ratio:auto;max-height:420px}.cf-gallery img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block}.cf-gallery.is-single img{object-fit:contain;height:auto}.cf-gallery .cf-overlay{position:absolute;inset:0;display:grid;place-items:center;color:#fff;background:#0008;font-size:28px;font-weight:700}
.cf-linked{display:flex;align-items:center;gap:12px;border:1px solid var(--cf-border);padding:12px;margin-top:16px;border-radius:12px;text-decoration:none;color:var(--cf-text)}.cf-linked img{width:48px;height:48px;object-fit:cover;border-radius:8px}.cf-linked small{display:block;color:var(--cf-accent)}
.cf-post-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px;border-top:1px solid var(--cf-border);padding-top:12px}.cf-post-foot .liked{color:#d94a69}.cf-views{margin-left:auto;font-size:12px;color:var(--cf-muted)}.cf-more{display:block;margin:20px auto}.cf-empty{text-align:center;padding:30px 12px;color:var(--cf-muted)}
.cf-dialog{border:1px solid var(--cf-border);border-radius:20px;padding:0;background:var(--cf-bg);width:min(800px,calc(100% - 32px));max-width:800px;max-height:calc(100dvh - 48px);margin:auto;overflow:hidden;box-shadow:0 24px 80px #0004}
.cf-dialog::backdrop,.cf-lightbox::backdrop{background:#10152399}.cf-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);margin:0;min-height:0}
.cf-dialog-head,.cf-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;flex-shrink:0}.cf-dialog-head{border-bottom:1px solid var(--cf-border)}.cf-dialog-head h3{font-size:18px;margin:0}.cf-dialog-foot{border-top:1px solid var(--cf-border)}.cf-dialog-foot .cf-hint{margin:0;max-width:65%}.cf-dialog-body{padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.cf-dialog-body>.cf-post{padding:0;border:0;border-radius:0}
.cf-label{display:block;font-size:14px;font-weight:700;margin:16px 0 8px}.cf-label:first-child{margin-top:0}
.cf-dialog textarea,.cf-dialog select{width:100%;min-width:0;display:block;border:1px solid var(--cf-border);border-radius:10px;padding:12px;background:var(--cf-bg);color:var(--cf-text);font-size:16px;font-family:inherit;line-height:1.65}
.cf-dialog select{appearance:auto}
.cf-dialog textarea{resize:vertical;min-height:100px;max-height:50dvh}.cf-dialog select{min-height:46px}.cf-dialog textarea:focus,.cf-dialog select:focus{outline:2px solid var(--cf-accent);outline-offset:1px}
.cf-file-label{display:inline-flex;align-items:center;font-size:14px}.cf-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.cf-file-label:focus-visible{outline:2px solid var(--cf-accent);outline-offset:2px}
.cf-uploads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.cf-upload{border:1px solid var(--cf-border);border-radius:12px;overflow:hidden;min-width:0}.cf-upload img{width:100%;height:110px;object-fit:cover;display:block}.cf-upload-info{padding:8px;font-size:12px;overflow-wrap:anywhere}.cf-upload-info strong{display:block;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cf-upload-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.cf-upload-actions button{font-size:12px;min-height:36px;padding:5px 8px}.cf-upload.is-error{border-color:#ce424e}.cf-notify{margin-top:20px}.cf-notify label{display:flex;align-items:center;gap:8px}.cf-notify input{width:18px;height:18px}
.cf-comments{margin-top:24px;padding-top:20px;border-top:1px solid var(--cf-border)}.cf-comments h4{font-size:17px;margin:0 0 16px}.cf-comment-thread{margin:16px 0}.cf-comment{background:rgba(120,100,238,.05);padding:14px;border-radius:12px;min-width:0}.cf-comment.is-reply{margin:8px 0 0 20px;border-left:2px solid var(--cf-border);background:transparent;border-radius:0;padding:10px 14px}.cf-comment-author{font-weight:700;font-size:14px;color:var(--cf-text);text-decoration:none}.cf-comment-body{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.cf-comment-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--cf-muted);font-size:12px}.cf-comment-meta button{font-size:13px;padding:5px 10px;min-height:36px}.cf-comment.focused{outline:2px solid var(--cf-accent);outline-offset:2px}
.cf-comment-form{margin-top:16px}.cf-comment-form textarea{min-height:100px;resize:none;max-height:260px}.cf-comment-form-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.cf-comment-form-foot .cf-hint{margin:0}.cf-reply-form{margin-left:20px}.cf-comment-pages{width:100%;margin:12px 0}.cf-login-link{display:inline-block;margin-top:12px;color:var(--cf-accent)}
.cf-lightbox{background:#10131b;color:#fff;padding:16px;border:0;border-radius:16px;width:min(1200px,96vw);height:92dvh;max-width:96vw;max-height:96dvh;margin:auto}.cf-lightbox[open]{display:flex;flex-direction:column;gap:12px}.cf-lightbox header,.cf-lightbox footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0}.cf-lightbox button{background:#232938;color:#fff;border-color:#424757}.cf-lightbox-image{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center}.cf-lightbox-image img{max-width:100%;max-height:100%;object-fit:contain}
.cf-community [hidden],.cf-dialog [hidden],.cf-lightbox [hidden]{display:none!important}body.cf-dialog-open{overflow:hidden}
@media(max-width:600px){.cf-post{padding:16px;border-radius:12px}.cf-heading{align-items:flex-start}.cf-heading h3{font-size:18px}.cf-heading p{font-size:13px}.cf-dialog{width:100%;height:100dvh;max-width:100%;max-height:100dvh;border:0;border-radius:0}.cf-shell{height:100%;max-height:100dvh}.cf-dialog-head,.cf-dialog-foot{padding:12px 16px}.cf-dialog-head{padding-top:max(12px,env(safe-area-inset-top))}.cf-dialog-foot{padding-bottom:max(12px,env(safe-area-inset-bottom))}.cf-dialog-body{padding:16px;flex:1}.cf-dialog-foot .cf-hint{font-size:12px;max-width:60%}.cf-uploads{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-comment.is-reply,.cf-reply-form{margin-left:10px}.cf-comment-body{font-size:15px}.cf-lightbox{border-radius:0;width:100%;height:100dvh;max-height:100dvh;max-width:100%;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}.cf-post-actions button{min-height:40px}.cf-dialog textarea{font-size:16px}}
