.comment-actions{display:flex;align-items:center;gap:14px;color:var(--text3,#777);font-size:12px;padding-top:8px}.comment-actions .r-icon{display:none}.comment-actions .comment-time{font-size:inherit}.comment-actions .comment-action-btn{font-weight:600;color:inherit}.comment-meta{display:flex;align-items:center}.comment-more{margin-left:auto;border:0;background:none;color:var(--text3,#777);min-width:32px;min-height:32px}.comment-reaction-summary{margin-left:auto;display:flex;align-items:center;gap:5px;border:0;background:none;color:inherit}.comment-reaction-stack{display:inline-flex}.comment-reaction-face{width:15px;height:15px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1.5px var(--bg-card,var(--bg2))}.comment-reaction-face+.comment-reaction-face{margin-left:-3.75px}.comment-reaction-face img{width:114.286%;height:114.286%;max-width:none;transform:translate(-6.25%,-6.25%);object-fit:contain}.comment-view-replies:before{content:'';display:inline-block;width:20px;border-top:1px solid var(--border,#bbb);vertical-align:middle;margin-right:8px}.comment-context-overlay{position:fixed;inset:0;z-index:16000;background:#0008;display:flex;align-items:center;justify-content:center;padding:16px}.comment-context-card{width:min(360px,100%);max-height:85vh;overflow:auto;border-radius:16px;background:var(--bg-card,var(--bg2));padding:12px}.comment-context-card>button{display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--border,#ddd);padding:13px;color:var(--text)}.comment-context-preview{white-space:pre-wrap;max-height:160px;overflow:auto;overflow-wrap:anywhere}.comment-context-reactions{display:flex;gap:4px;justify-content:center}.comment-context-reactions button{background:none;border:0;padding:3px;min-width:36px}.comment-context-reactions img{width:34px;height:34px;object-fit:contain}.comment-hidden-notice{padding:12px;color:var(--text3,#777)}.comment-notification-focus{outline:2px solid var(--accent-primary,#7358ef);outline-offset:3px;border-radius:8px}.comment-best-label{font-size:12px;color:var(--accent-primary,#7358ef);font-weight:600}@media(prefers-reduced-motion:reduce){.comment-notification-focus,.comment-tour{animation:none;transition:none}}

/* Keep first-use help subordinate to the conversation. */
.comment-tour{padding:12px 14px;margin:4px 0 16px;border:1px solid var(--border2);border-radius:10px;background:var(--bg3);color:var(--text2);font-size:13px;line-height:1.5}
.comment-tour-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.comment-tour-header strong{font-size:13px;font-weight:600;color:var(--text);line-height:1.4}
.comment-tour .comment-tour-copy{font-size:13px;line-height:1.5;margin:3px 0 0;overflow-wrap:anywhere}
.comment-tour button{font:inherit;box-sizing:border-box;cursor:pointer;border:0;margin:0;box-shadow:none}
.comment-tour .comment-tour-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;margin:-8px -8px -4px 0;padding:0;background:transparent;color:var(--text2);border-radius:0}
.comment-tour-close svg{display:block;width:16px;height:16px}
.comment-tour-close:hover{color:var(--text)}
.comment-tour-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.comment-tour-progress{font-size:11px;color:var(--text2);font-variant-numeric:tabular-nums}
.comment-tour-actions{display:flex;align-items:center;gap:8px}
.comment-tour-actions button{min-height:36px;padding:7px 12px;border-radius:7px;font-size:12px;font-weight:600;line-height:1.5}
.comment-tour-actions .comment-tour-skip{background:transparent;color:var(--text2);padding-inline:6px}
.comment-tour-actions .comment-tour-next{min-width:66px;background:var(--accent-primary);color:var(--accent-contrast,#fff)}
.comment-tour-skip:hover{text-decoration:underline}
.comment-tour-next:hover{filter:brightness(.94)}
.comment-tour button:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}
@media(pointer:coarse){.comment-tour-actions button{min-height:40px}.comment-tour .comment-tour-close{width:40px;height:40px;flex-basis:40px}}

/* Comment options: compact actions, a readable quote and labeled reactions. */
.comment-context-overlay .comment-context-card{width:min(380px,100%);max-height:min(620px,calc(100dvh - 32px));box-sizing:border-box;padding:12px;border:1px solid var(--border2);border-radius:14px;background:var(--bg2);color:var(--text);box-shadow:0 16px 48px #0003}
.comment-context-overlay:focus{outline:none}
.comment-context-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;padding-left:6px}
.comment-context-header .comment-context-close{color:var(--text2)}
.comment-context-header .comment-context-close:hover{color:var(--text)}
.comment-context-header h3{font-size:14px;line-height:1.4;font-weight:600;margin:0}
.comment-context-card .comment-context-reactions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;width:100%;max-width:none;padding:4px 0 10px}
.comment-context-card .comment-context-reactions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;height:58px;padding:4px 0;border:0;border-radius:8px;background:transparent;color:var(--text2);cursor:pointer}
.comment-context-reaction-label{font-size:10px;line-height:1.2;white-space:nowrap}
.comment-context-card .comment-context-preview{margin:0 0 8px;padding:10px 12px;max-height:80px;box-sizing:border-box;overflow:auto;font-size:13px;line-height:1.5;color:var(--text2);background:var(--bg3);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-context-card .comment-context-preview:empty{display:none}
.comment-context-card>.comment-context-action{display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 10px;border:0;border-radius:7px;background:transparent;font-family:inherit;font-size:14px;line-height:1.4;font-weight:500;text-align:left;color:var(--text);cursor:pointer}
.comment-context-action svg{flex:none;color:var(--text2)}
.comment-context-card>.comment-context-separated{margin-top:6px;border-top:1px solid var(--border2);border-radius:0 0 7px 7px}
.comment-context-card>.comment-context-destructive,.comment-context-destructive svg{color:var(--danger,#dc2626)}
.comment-context-card>.comment-context-action:hover,.comment-context-card .comment-context-reactions>button:hover{background:var(--bg3)}
.comment-context-card button:focus-visible{outline:2px solid var(--accent-primary);outline-offset:1px}
@media(max-width:380px){.comment-context-card .comment-context-reactions .reaction-face{--reaction-size:32px!important}}
@media(pointer:coarse){.comment-context-card>.comment-context-action{min-height:44px}}
