.vrs-community{--vrs-ink:#172033;--vrs-muted:#778196;--vrs-line:#e8ebf1;--vrs-accent:#6558d3;--vrs-soft:#f7f8fc;max-width:1120px;margin:56px auto 28px;padding:clamp(20px,4vw,42px);border:1px solid var(--vrs-line);border-radius:24px;background:#fff;color:var(--vrs-ink);box-shadow:0 18px 55px rgba(23,32,51,.06);font-family:inherit}
.vrs-community *{box-sizing:border-box}.vrs-community-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:26px;border-bottom:1px solid var(--vrs-line)}
.vrs-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--vrs-accent)}.vrs-community-head h2{font-size:clamp(24px,3vw,34px);line-height:1.15;margin:9px 0;color:var(--vrs-ink);font-weight:750}
.vrs-community-head p{max-width:650px;margin:0;color:var(--vrs-muted);font-size:14px;line-height:1.65}
.vrs-community-count{min-width:90px;text-align:right;display:flex;flex-direction:column;gap:4px}.vrs-community-count strong{font-size:27px}.vrs-community-count span{font-size:9px;letter-spacing:.12em;color:var(--vrs-muted);font-weight:800}
.vrs-compose{display:flex;gap:14px;padding:24px 0;border-bottom:1px solid var(--vrs-line)}.vrs-compose-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;overflow:hidden;background:#efedff;color:var(--vrs-accent);display:grid;place-items:center;font-weight:800}.vrs-compose-avatar img{width:100%;height:100%;object-fit:cover}
.vrs-compose-main{flex:1;min-width:0}.vrs-name,.vrs-body,.vrs-reply-form textarea,.vrs-reply-form input{display:block;width:100%;border:1px solid var(--vrs-line);border-radius:12px;background:#fff;padding:12px 14px;color:var(--vrs-ink);font:inherit;outline:none;margin:0 0 10px}.vrs-body{min-height:86px;resize:vertical}.vrs-name:focus,.vrs-body:focus,.vrs-reply-form textarea:focus,.vrs-reply-form input:focus{border-color:#a9a1f0;box-shadow:0 0 0 3px rgba(101,88,211,.09)}
.vrs-signed-in{font-size:12px;color:var(--vrs-muted);margin:0 0 10px}.vrs-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.vrs-compose-foot span{font-size:11px;color:var(--vrs-muted)}.vrs-compose-foot button,.vrs-reply-form button{border:0;border-radius:999px;background:var(--vrs-accent);color:white;font-weight:700;padding:11px 18px;cursor:pointer}.vrs-compose-foot button:disabled,.vrs-reply-form button:disabled{opacity:.55;cursor:wait}
.vrs-thread-toolbar{display:flex;align-items:center;justify-content:space-between;padding:24px 0 10px}.vrs-thread-toolbar h3{font-size:16px;margin:0;font-weight:750}.vrs-sort-label{font-size:11px;color:var(--vrs-muted)}
.vrs-comment{padding:18px 0;border-bottom:1px solid var(--vrs-line)}.vrs-comment-row{display:flex;gap:12px}.vrs-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;background:#edf0f7;color:#526078;display:grid;place-items:center;font-size:12px;font-weight:800}.vrs-avatar img{width:100%;height:100%;object-fit:cover}
.vrs-comment-content{flex:1;min-width:0}.vrs-comment-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.vrs-author{font-size:13px;color:var(--vrs-ink)}.vrs-comment-time-row{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-top:5px}.vrs-comment-time{display:block;text-align:right;font-size:10px;line-height:1.3;color:var(--vrs-muted);white-space:nowrap}.vrs-comment-body{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 10px;color:#39445a}
.vrs-comment-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vrs-vote,.vrs-reply-toggle,.vrs-replies-toggle{border:1px solid var(--vrs-line);background:#fff;border-radius:999px;padding:6px 11px;color:#667187;font-size:11px;font-weight:650;cursor:pointer}.vrs-vote.is-active{border-color:#b8b0f5;background:#f3f1ff;color:var(--vrs-accent)}.vrs-reply-toggle,.vrs-replies-toggle{border-color:transparent;background:transparent}
.vrs-replies{margin:14px 0 0 19px;padding-left:18px;border-left:2px solid #eceaf9}.vrs-replies-toggle{margin:10px 0 0 49px;color:var(--vrs-accent)}.vrs-reply-form{margin:12px 0 0 50px;padding:12px;background:var(--vrs-soft);border-radius:14px}.vrs-reply-form textarea{min-height:60px;resize:vertical}.vrs-reply-form input{margin-top:8px}.vrs-reply-form button{font-size:11px;padding:9px 15px}
.vrs-loading,.vrs-empty{padding:28px 8px;text-align:center;color:var(--vrs-muted);font-size:13px}.vrs-community-foot{padding-top:20px;text-align:center;color:#a0a8b7;font-size:10px;letter-spacing:.04em}.vrs-notice{margin-top:9px;font-size:12px;color:#26815b}.vrs-notice.is-error{color:#b33b4a}.vrs-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:600px){.vrs-community{margin:34px 0 20px;padding:18px;border-radius:17px}.vrs-community-head{gap:12px}.vrs-community-count{min-width:65px}.vrs-community-count strong{font-size:22px}.vrs-compose{gap:10px}.vrs-compose-avatar{width:36px;height:36px;flex-basis:36px}.vrs-compose-foot{align-items:flex-start;flex-direction:column}.vrs-replies{margin-left:8px;padding-left:12px}.vrs-reply-form{margin-left:0}.vrs-replies-toggle{margin-left:38px}}

/* Keep AJAX notices within the composer content column. */
.vrs-compose-main{flex:1 1 0%;min-width:0;width:100%}.vrs-compose-main>.vrs-notice{display:block;width:100%;max-width:100%;overflow-wrap:anywhere}.vrs-compose{align-items:flex-start}.vrs-compose-main>*{max-width:100%}

/* Newly posted comments enter in place; the existing thread never blanks or collapses. */
.vrs-comment-enter{animation:vrsCommentEnter .22s ease-out both;}
@keyframes vrsCommentEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.vrs-comment-enter{animation:none}}

/* Optimistic posting: the author's pending comment is local-only until the server commits it. */
.vrs-comment-pending{opacity:1}.vrs-pending-state{display:inline-flex;align-items:center;font-size:10px;color:#8b82c9;background:#f2f0ff;border-radius:999px;padding:3px 8px}.vrs-comment-failed{background:#fffafa;padding-left:10px;padding-right:10px;border-radius:10px}.vrs-pending-state.is-error{color:#b33b4a;background:#fff0f1}.vrs-pending-error{font-size:11px;color:#b33b4a}.vrs-retry-send{border:1px solid #e8b9bf;background:#fff;color:#a52f40;border-radius:999px;padding:5px 10px;font-size:11px;cursor:pointer}

/* Optimistic reactions update immediately while the server confirms in the background. */
.vrs-comment.vrs-vote-pending .vrs-vote{transition:background-color .12s ease,border-color .12s ease,color .12s ease}.vrs-vote-error{font-size:10px;color:#b33b4a;margin-left:4px}

/* Minimal inline comment management controls. */
.vrs-icon-action{width:27px;height:27px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#8992a3;font-size:16px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.vrs-icon-action:hover{background:#f3f2ff;border-color:#e6e2ff;color:#6256c8}.vrs-delete-comment:hover{background:#fff1f2;border-color:#ffe0e3;color:#bd4351}
.vrs-edit-form{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.vrs-edit-form textarea{flex:1 1 100%;width:100%;min-height:72px;border:1px solid #e1e5ed;border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;resize:vertical}.vrs-edit-save,.vrs-edit-cancel{border:1px solid #e5e8ef;border-radius:999px;padding:6px 13px;background:#fff;color:#566176;font-size:11px;font-weight:650;cursor:pointer}.vrs-edit-save{background:#6558d3;border-color:#6558d3;color:#fff}.vrs-edit-save:disabled{opacity:.55;cursor:wait}

/* Comment management actions live in a compact top-right overflow menu. */
.vrs-comment-meta{position:relative;padding-right:34px;min-height:28px}
.vrs-comment-menu-wrap{position:absolute;right:0;top:-5px;z-index:5}
.vrs-comment-more{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#8992a3;font-size:23px;line-height:1;letter-spacing:1px;cursor:pointer;transition:background .15s ease,color .15s ease}
.vrs-comment-more:hover,.vrs-comment-more[aria-expanded="true"]{background:#f2f3f8;color:#424c60}
.vrs-comment-menu{position:absolute;right:0;top:33px;min-width:132px;padding:5px;background:#fff;border:1px solid #e7eaf0;border-radius:11px;box-shadow:0 8px 24px rgba(28,38,58,.14);display:flex;flex-direction:column;gap:2px}
.vrs-comment-menu[hidden]{display:none}
.vrs-menu-item{width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;text-align:left;color:#465166;font-size:12px;font-weight:600;cursor:pointer}
.vrs-menu-item:hover{background:#f4f5f9;color:#292f40}
.vrs-menu-item.vrs-delete-comment{color:#b64050}
.vrs-menu-item.vrs-delete-comment:hover{background:#fff1f2;color:#a52f40}

/* Ensure comment options remain visible above theme and thread layout layers. */
.vrs-comment-meta{position:relative!important;overflow:visible!important}
.vrs-comment-menu-wrap{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:20!important}
.vrs-comment-more{visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-width:30px!important;min-height:30px!important}
.vrs-comment{overflow:visible!important}

/* Professional SVG like/dislike controls. */
.vrs-vote{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:48px;padding:7px 10px;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.vrs-vote-icon{display:block;width:16px;height:16px;flex:0 0 16px;overflow:visible}
.vrs-vote-count{font-size:11px;font-variant-numeric:tabular-nums;line-height:1}
.vrs-vote-up.is-active{color:#2868c7;border-color:#c7dcfb;background:#eef5ff}
.vrs-vote-down.is-active{color:#c34c57;border-color:#f3cbd0;background:#fff1f2}
.vrs-vote:active{transform:scale(.96)}
