.comment-section{background:var(--color-surface-elevated);border:1px solid var(--color-border);border-radius:12px;margin-top:1.5rem;padding:1.5rem}.comment-section-title{color:var(--color-text);margin:0 0 1rem;font-size:1rem;font-weight:700}.comment-login-cta{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;justify-content:space-between;align-items:center;gap:.75rem;margin:0 0 1rem;padding:.75rem .85rem;display:flex}.comment-login-cta-text{color:var(--color-text-muted);margin:0;font-size:.9rem}.comment-onboarding-hint{color:var(--color-text-muted);background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;margin:0 0 1rem;padding:.75rem 1rem;font-size:.9rem;line-height:1.45}.comment-onboarding-hint a{color:var(--color-primary);text-underline-offset:2px;font-weight:600;text-decoration:underline}.comment-form{flex-direction:column;gap:.5rem;margin-bottom:1.5rem;display:flex}.comment-form textarea{border:1px solid var(--color-border-strong);box-sizing:border-box;background:var(--color-input-bg);width:100%;color:var(--color-text);border-radius:8px;padding:.65rem;font-family:inherit;font-size:.9rem}.comment-form textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}.comment-form-actions,.comment-reply-actions,.comment-edit-actions{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.comment-form .comment-form-actions{margin-top:0}.comment-reply-actions,.comment-edit-actions{margin-top:.35rem}.comment-empty{text-align:center;color:var(--color-text-muted);padding:2rem 0;font-size:.9rem}.comment-item{border-bottom:none;padding:.75rem 0}.comment-item:last-child{border-bottom:none}.comment-yt-row{align-items:flex-start;gap:.65rem;display:flex}.comment-yt-avatar{flex-shrink:0}.comment-yt-avatar-btn{cursor:pointer;background:0 0;border:none;border-radius:50%;padding:0;display:block}.comment-yt-main{flex:1;min-width:0}.comment-yt-meta{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.2rem;display:flex}.comment-yt-meta-left{flex-wrap:wrap;align-items:center;gap:.15rem;min-width:0;display:inline-flex}.comment-yt-meta .comment-author-name{font-size:.8rem;font-weight:600}.comment-yt-meta .comment-date{white-space:nowrap;font-size:.75rem}.comment-yt-menu{flex-shrink:0;position:relative}.comment-yt-icon-btn{width:2rem;height:2rem;color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.comment-yt-icon-btn:hover{background:var(--color-surface-hover);color:var(--color-text)}.comment-yt-menu-dropdown{z-index:20;background:var(--color-surface-elevated);border:1px solid var(--color-border);border-radius:8px;min-width:7rem;margin-top:.15rem;padding:.25rem 0;position:absolute;top:100%;right:0;box-shadow:0 4px 16px #0000001f}.comment-yt-menu-item{text-align:left;width:100%;color:var(--color-text);cursor:pointer;background:0 0;border:none;padding:.5rem .85rem;font-size:.85rem;display:block}.comment-yt-menu-item:hover{background:var(--color-surface-hover)}.comment-yt-menu-item--danger{color:var(--color-danger)}.comment-yt-actions{flex-wrap:wrap;align-items:center;gap:.15rem;margin-top:.35rem;display:flex}.comment-yt-action-btn{min-width:2.25rem;height:2.25rem;color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:.35rem;padding:0 .45rem;transition:background .15s,color .15s;display:inline-flex}.comment-yt-action-btn:hover:not(:disabled){background:var(--color-surface-hover);color:var(--color-text)}.comment-yt-action-btn:disabled{opacity:.65;cursor:not-allowed}.comment-yt-action-btn.is-active{color:var(--color-primary)}.comment-yt-action-btn.is-active.is-dislike{color:var(--color-danger)}.comment-yt-action-count{font-size:.75rem;font-weight:500}.comment-yt-author-heart{align-items:center;margin-left:.15rem;display:inline-flex}.comment-yt-author-heart-avatar{line-height:0;display:inline-flex;position:relative}.comment-yt-author-heart-avatar--empty{opacity:.55}.comment-yt-action-btn--heart:hover .comment-yt-author-heart-avatar--empty{opacity:1}.comment-yt-author-heart-badge{color:#e62117;filter:drop-shadow(0 0 1px var(--color-surface-elevated));justify-content:center;align-items:center;display:flex;position:absolute;bottom:-2px;right:-3px}.comment-thread-branch{align-items:stretch;margin-top:.15rem;margin-left:1.25rem;padding-left:0;display:flex}.comment-thread-rail{flex-direction:column;flex-shrink:0;align-self:stretch;align-items:center;width:1.5rem;display:flex}.comment-thread-rail-line{background:var(--color-border-strong);border-radius:1px;flex:auto;width:2px;min-height:0;margin-top:.15rem}.comment-thread-body{flex:1;min-width:0;padding-bottom:.15rem}.comment-replies-toggle{color:var(--color-primary);cursor:pointer;background:0 0;border:none;align-items:center;gap:.35rem;margin-top:.15rem;margin-bottom:.15rem;padding:.35rem .5rem .35rem 0;font-size:.85rem;font-weight:600;display:inline-flex}.comment-replies-toggle:hover{text-decoration:underline}.comment-replies-toggle-chevron{opacity:.85;flex-shrink:0;transition:transform .15s}.comment-replies-toggle-chevron--up{transform:rotate(-90deg)}.comment-reply{border-left:none;margin-left:0;padding-left:0}.comment-replies .comment-item{padding-top:.65rem}.comment-replies .comment-item:first-child{padding-top:.35rem}.comment-load-more-replies{margin-left:0}.comment-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.comment-header-left{flex:auto;align-items:center;gap:.5rem;min-width:0;display:inline-flex}.comment-meta-author-with-avatar{align-items:center;gap:.35rem;min-width:0;max-width:100%;display:inline-flex}.comment-author-name-row{align-items:center;gap:.25rem;min-width:0;display:inline-flex}.comment-author-name-row .comment-author-name{line-height:1.35}.comment-meta-author-with-avatar .comment-author-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.comment-author{color:var(--color-text);font-size:.85rem;font-weight:600}button.comment-author--profile{font:inherit;color:var(--color-text);cursor:pointer;text-align:inherit;text-underline-offset:2px;background:0 0;border:none;padding:0;font-size:.85rem;font-weight:600;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;transition:color .15s,text-decoration-color .15s}button.comment-author--profile:hover{color:var(--color-primary);-webkit-text-decoration-color:var(--color-text-muted);text-decoration-color:var(--color-text-muted)}button.comment-author--profile .comment-author-name{text-underline-offset:2px;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}button.comment-author--profile:hover .comment-author-name{-webkit-text-decoration-color:var(--color-text-muted);text-decoration-color:var(--color-text-muted)}.comment-author.deleted-user{color:var(--color-text-muted);font-style:italic;font-weight:400}.comment-author.comment-author--admin-public{cursor:default}.comment-date{color:var(--color-text-muted);font-size:.75rem}.comment-body-row{flex-wrap:wrap;align-items:flex-start;gap:.5rem .75rem;margin-top:.25rem;display:flex}.comment-content-wrap{flex:1;min-width:0}.comment-content{color:var(--color-text);white-space:pre-wrap;word-break:break-word;margin:0;font-size:.9rem;line-height:1.6}.comment-content.comment-deleted{color:var(--color-text-muted);background:var(--color-surface-hover);border-radius:4px;padding:.5rem;font-style:italic}.comment-content--ai-coach.comment-content--collapsed{max-height:6.4em;position:relative;overflow:hidden}.comment-content--ai-coach.comment-content--collapsed:after{content:"";background:linear-gradient(to bottom, #0000, var(--color-surface-elevated,var(--color-surface)) 95%);pointer-events:none;height:2.4em;position:absolute;bottom:0;left:0;right:0}.comment-content-toggle{color:var(--color-primary,var(--color-text));border:1px solid var(--color-border);cursor:pointer;background:0 0;border-radius:999px;align-items:center;margin-top:.35rem;padding:.2rem .5rem;font-size:.82rem;display:inline-flex}.comment-content-toggle:hover{background:var(--color-surface-hover)}.comment-vote-btns{flex-shrink:0;align-items:center;gap:.25rem;display:inline-flex}.comment-vote-btns--header{flex-shrink:0;margin-left:auto}.comment-vote-btn{min-height:2rem;color:var(--color-text-muted);background:var(--color-surface-hover);border:1px solid var(--color-border);cursor:pointer;border-radius:6px;align-items:center;gap:.2rem;padding:.35rem .5rem;font-size:.75rem;transition:color .15s,background .15s,border-color .15s;display:inline-flex}.comment-vote-btn:hover:not(:disabled){background:var(--color-surface);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:var(--color-text);background:var(--color-surface-hover);border-color:#93c5fd}.comment-vote-btn:last-of-type.active{color:var(--color-danger);background:#fef2f2;border-color:#fca5a5}.comment-vote-icon{font-size:1rem;line-height:1}.comment-vote-count{text-align:center;min-width:1.25rem}.comment-vote-spinner{border:2px solid var(--color-border);border-top-color:var(--color-text-muted);vertical-align:middle;border-radius:50%;width:1rem;height:1rem;animation:.6s linear infinite comment-spin;display:inline-block}.comment-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.35rem;display:flex}.comment-action-btn{box-sizing:border-box;min-height:2.5rem;color:var(--color-text-muted);background:var(--color-surface-hover);border:1px solid var(--color-border);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:.2rem;padding:.5rem 1.15rem;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.3;transition:color .15s,background .15s,border-color .15s;display:inline-flex}.comment-action-btn:hover{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-strong)}.comment-delete:hover{color:var(--color-danger);background:#fef2f2;border-color:#f8717173}.comment-delete:disabled{cursor:not-allowed;opacity:.8}.comment-action-btn--inline{vertical-align:baseline;min-height:0;padding:.15rem .5rem;font-size:.8rem}.comment-delete-spinner{border:2px solid var(--color-border);border-top-color:var(--color-danger);vertical-align:middle;border-radius:50%;width:14px;height:14px;animation:.6s linear infinite comment-spin;display:inline-block}@keyframes comment-spin{to{transform:rotate(360deg)}}.comment-submit-spinner{border:2px solid var(--color-border);border-top-color:var(--color-on-primary,var(--color-primary));vertical-align:middle;border-radius:50%;width:14px;height:14px;animation:.6s linear infinite comment-spin;display:inline-block}.comment-replies{margin-top:.15rem}.comment-load-more-replies{color:var(--color-primary);cursor:pointer;background:0 0;border:none;margin-top:.5rem;margin-left:3rem;padding:.35rem .6rem;font-size:.8rem;font-weight:500}.comment-load-more-replies:hover{text-decoration:underline}.comment-reply-inline{display:inline}.comment-reply-mention-line{color:var(--color-primary);font-weight:600;display:inline}.comment-reply-text-after-mention{color:var(--color-text);white-space:pre-wrap;word-break:break-word;font-weight:400;display:inline}.comment-reply-form,.comment-edit{margin-top:.5rem}.comment-reply-textarea{font-size:.9rem}.comment-reply-form textarea,.comment-edit textarea{border:1px solid var(--color-border-strong);box-sizing:border-box;background:var(--color-input-bg);width:100%;color:var(--color-text);border-radius:6px;padding:.5rem;font-family:inherit;font-size:.85rem}html[data-theme=dark] .comment-vote-btn:last-of-type.active{color:#fca5a5;background:#dc262633;border-color:#f8717173}html[data-theme=dark] .comment-action-btn.comment-delete:hover{color:#fca5a5;background:#dc262626;border-color:#f8717159}@media (max-width:480px){.comment-yt-action-btn{min-width:2.5rem;height:2.5rem}}
