.comment-section{background:var(--color-bg-secondary);border-radius:12px;border:1px solid var(--color-border);padding:1.5rem;margin-top:1.5rem;transition:background .2s,border-color .2s}.comment-section-title{font-size:1rem;font-weight:700;margin:0 0 1rem;color:var(--color-text)}.comment-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.comment-form textarea{width:100%;padding:.65rem;border:1px solid var(--color-border);border-radius:8px;font-size:.9rem;font-family:inherit;background:var(--color-bg-tertiary);color:var(--color-text);resize:vertical;box-sizing:border-box}.comment-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.comment-form .btn{align-self:flex-end}.comment-empty{text-align:center;color:var(--color-text-secondary);font-size:.9rem;padding:2rem 0}.comment-item{padding:.85rem 0;border-bottom:1px solid var(--color-border-light)}.comment-item:last-child{border-bottom:none}.comment-reply{margin-left:1.5rem;padding-left:1rem;border-left:2px solid var(--color-border)}.comment-header{justify-content:space-between;margin-bottom:.35rem}.comment-header,.comment-header-left{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.comment-header-left{min-width:0}.comment-author{font-size:.85rem;font-weight:600;color:var(--color-text)}.comment-author.deleted-user{color:var(--color-text-secondary);font-style:italic;font-weight:400}.comment-date{font-size:.75rem;color:var(--color-text-secondary)}.comment-body-row{display:block;margin-top:.25rem}.comment-content-wrap{flex:1 1;min-width:0}.comment-content{font-size:.9rem;color:var(--color-text);line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-word}.comment-content.comment-deleted{color:var(--color-text-secondary);font-style:italic;background:var(--color-bg-tertiary);padding:.5rem;border-radius:4px}.comment-vote-btns{flex-shrink:0;gap:.25rem}.comment-vote-btn,.comment-vote-btns{display:inline-flex;align-items:center}.comment-vote-btn{gap:.2rem;padding:.35rem .5rem;min-height:2rem;font-size:.75rem;color:var(--color-text-secondary);background:var(--color-bg-tertiary);border:1px solid var(--color-border);border-radius:6px;cursor:pointer;transition:color .15s,background .15s,border-color .15s}.comment-vote-btn:hover:not(:disabled){background:var(--color-bg-secondary);color:var(--color-text)}.comment-vote-btn:disabled{opacity:.7;cursor:not-allowed}.comment-vote-btn.active{font-weight:600}.comment-vote-btn:first-of-type.active{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.comment-vote-btn:last-of-type.active{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.comment-vote-icon{font-size:1rem;line-height:1}.comment-vote-count{min-width:1.25rem;text-align:center}.comment-vote-spinner{display:inline-block;width:1rem;height:1rem;border:2px solid var(--color-border);border-top-color:var(--color-text-secondary);border-radius:50%;animation:comment-spin .6s linear infinite;vertical-align:middle}.comment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.35rem}.comment-action-btn{background:none;border:none;font-size:.75rem;color:var(--color-text-secondary);cursor:pointer;padding:.15rem 0}.comment-action-btn:hover{color:#2563eb}.comment-delete:hover{color:#dc2626}.comment-delete:disabled{cursor:not-allowed;opacity:.8}.comment-delete-spinner{display:inline-block;width:14px;height:14px;border:2px solid var(--color-border);border-top:2px solid #dc2626;border-radius:50%;animation:comment-spin .6s linear infinite;vertical-align:middle}@keyframes comment-spin{to{transform:rotate(1turn)}}.comment-submit-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:comment-spin .6s linear infinite;vertical-align:middle}.comment-replies{margin-top:.25rem}.comment-load-more-replies{margin-top:.5rem;margin-left:1.5rem;padding:.35rem .6rem;font-size:.8rem;color:#2563eb;background:none;border:none;cursor:pointer;font-weight:500}.comment-load-more-replies:hover{text-decoration:underline}.comment-edit,.comment-reply-form{margin-top:.5rem}.comment-edit textarea,.comment-reply-form textarea{width:100%;padding:.5rem;border:1px solid var(--color-border);border-radius:6px;font-size:.85rem;font-family:inherit;background:var(--color-bg-tertiary);color:var(--color-text);resize:vertical;box-sizing:border-box}.comment-edit-actions,.comment-reply-actions{display:flex;gap:.4rem;margin-top:.35rem}@media (max-width:480px){.comment-vote-btn{min-height:2.5rem;padding:.4rem .6rem}}