.comment-record-button{border-color:color-mix(in srgb,var(--green) 30%,var(--line));color:var(--green)}
.comment-record-button:hover,.comment-record-button.recording{background:var(--green-soft);border-color:var(--green)}
.comment-record-button.recording svg{animation:comment-mic-pulse .9s ease-in-out infinite}
.comment-voice-draft:empty{display:none}
.comment-recording,.comment-record-preview{margin-top:11px;padding:11px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2)}
.comment-recording{display:flex;align-items:center;gap:8px;min-height:48px;color:var(--text);font-size:12px}
.comment-recording b{font-weight:800}.comment-record-time{margin-inline-start:auto;font:800 15px Inter,sans-serif;color:var(--green);font-variant-numeric:tabular-nums}.comment-record-limit{color:var(--muted);font:600 11px Inter,sans-serif}
.comment-recording button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:5px 10px;border:0;border-radius:10px;background:var(--green);color:#fff;font:800 11px inherit;cursor:pointer}.comment-recording button svg{width:13px;height:13px}
.comment-record-dot{width:11px;height:11px;flex:none;border-radius:50%;background:#e35360;box-shadow:0 0 0 5px #e3536030;animation:comment-mic-pulse .9s ease-in-out infinite}
.comment-record-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 3px 9px;color:var(--green-2);font-size:11px}.comment-record-preview-head b{display:flex;align-items:center;gap:5px}.comment-record-preview-head svg{width:15px;height:15px}.comment-record-preview-head button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:9px;background:var(--surface);color:var(--muted);cursor:pointer}.comment-record-preview-head button:hover{color:var(--red)}
.comment-voice{display:flex;align-items:center;gap:10px;min-width:0;max-width:420px;margin:9px 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--green) 25%,var(--line));border-radius:16px;background:linear-gradient(120deg,var(--green-soft),var(--surface));color:var(--text)}
.comment-voice-play{display:grid;place-items:center;width:42px;height:42px;flex:none;border:0;border-radius:50%;background:var(--green);color:white;cursor:pointer;box-shadow:0 5px 14px color-mix(in srgb,var(--green) 20%,transparent)}.comment-voice-play svg{width:19px;height:19px}
.comment-voice-body{flex:1;min-width:0}.comment-voice-label{display:flex;align-items:center;gap:5px;margin-bottom:5px;color:var(--green-2);font-size:10px}.comment-voice-label svg{width:13px;height:13px}.comment-voice-label b{font-weight:800}
.comment-voice-track{position:relative;height:34px;--progress:0%}.comment-voice-bars{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:2px;overflow:hidden;pointer-events:none}.comment-voice-bars span{flex:1;max-width:4px;border-radius:99px;background:var(--green);opacity:.45}.comment-voice-track:before{content:'';position:absolute;z-index:1;inset:0 auto 0 0;width:var(--progress);background:color-mix(in srgb,var(--green) 16%,transparent);pointer-events:none}.comment-voice-track input{position:absolute;z-index:2;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.comment-voice-time{flex:none;color:var(--muted);font:700 10px Inter,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}.comment-voice audio{display:none}
.comment-trim-open{display:inline-flex;align-items:center;gap:5px;margin:1px 4px 0;padding:6px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--green-2);font:800 11px inherit;cursor:pointer}.comment-trim-open svg{width:14px;height:14px}
.voice-trim-editor{margin-top:11px;padding:13px;border:1px solid color-mix(in srgb,var(--green) 35%,var(--line));border-radius:14px;background:var(--surface)}.voice-trim-title{display:flex;align-items:center;gap:6px;color:var(--text);font-size:12px}.voice-trim-title svg{width:15px;height:15px;color:var(--green)}.voice-trim-title small{margin-inline-start:auto;color:var(--green-2);font:800 12px Inter,sans-serif}
.voice-trim-wave{position:relative;height:58px;margin:14px 7px 7px;touch-action:none}.voice-trim-bars{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:2px;overflow:hidden}.voice-trim-bars span{flex:1;max-width:5px;border-radius:99px;background:var(--muted);opacity:.45}.voice-trim-selection{position:absolute;z-index:1;top:0;bottom:0;left:var(--trim-start);right:calc(100% - var(--trim-end));border-top:2px solid var(--green);border-bottom:2px solid var(--green);background:color-mix(in srgb,var(--green) 13%,transparent);pointer-events:none}.voice-trim-handle{position:absolute;z-index:2;top:-3px;bottom:-3px;width:15px;border:0;border-radius:5px;background:var(--green);box-shadow:0 2px 7px #0003;cursor:ew-resize;touch-action:none}.voice-trim-handle:before{content:'';position:absolute;top:21px;left:6px;width:3px;height:17px;border-radius:9px;background:#fff9}.voice-trim-handle.start{left:var(--trim-start);transform:translateX(-50%)}.voice-trim-handle.end{left:var(--trim-end);transform:translateX(-50%)}.voice-trim-handle:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.voice-trim-times{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px}.voice-trim-times b{font:800 11px Inter,sans-serif;color:var(--text);font-variant-numeric:tabular-nums}.voice-trim-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.voice-trim-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);font:800 10px inherit;cursor:pointer}.voice-trim-actions svg{width:14px;height:14px}.voice-trim-actions .voice-trim-apply{margin-inline-start:auto;border-color:var(--green);background:var(--green);color:#fff}.voice-trim-editor audio{display:none}
@media(max-width:560px){.comments .comment-form{flex-wrap:wrap}.comments .comment-form .emoji-field{flex-basis:100%}.comments .comment-form .primary-button{margin-inline-start:auto;min-width:79px}.comment-recording{flex-wrap:wrap}.comment-recording button{margin-inline-start:auto}.voice-trim-actions .voice-trim-apply{flex:1}}
@keyframes comment-mic-pulse{50%{transform:scale(1.13);opacity:.7}}
@media(prefers-reduced-motion:reduce){.comment-record-dot,.comment-record-button.recording svg{animation:none}}
.comment-voice-time{direction:ltr;unicode-bidi:isolate}
.voice-trim-times{direction:ltr}
.voice-trim-times span{direction:rtl}
.voice-trim-times b{direction:ltr;unicode-bidi:isolate}

/* A compact, readable audio bubble in every theme. */
.comments .comment-voice{width:min(100%,390px);max-width:100%;min-height:69px;margin:9px 0 7px;padding:11px 13px;gap:12px;border:1px solid var(--line);border-radius:19px;background:var(--surface-2);box-shadow:0 5px 16px color-mix(in srgb,var(--text) 5%,transparent)}
.comments .comment-voice-play{width:44px;height:44px;background:var(--green);color:#fff;box-shadow:none;transition:transform .16s,box-shadow .16s}
.comments .comment-voice-play:hover{transform:scale(1.06);box-shadow:0 5px 13px color-mix(in srgb,var(--green) 30%,transparent)}
.comments .comment-voice-label{justify-content:space-between;gap:12px;margin:0 0 4px;color:var(--text);font-size:12px;line-height:1.3}
.comments .comment-voice-label b{font-size:12px;font-weight:800}
.comments .comment-voice-time{font-size:10px;font-weight:700;color:var(--muted)}
.comments .comment-voice-track{height:26px}
.comments .comment-voice-bars span{max-width:5px;opacity:.55}
.comments .comment-voice-track:before{inset:auto auto -1px 0;height:2px;border-radius:10px;background:var(--green)}
.comments .comment-voice-track input:focus-visible{opacity:.15;outline:2px solid var(--green)}
.comments .comment-record-preview{max-width:430px;padding:13px;background:var(--surface-2)}
.comments .comment-record-preview .comment-voice{width:100%;margin:0 0 7px;background:var(--surface)}
.comments .comment-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:19px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--surface-2)}
.comments .comment-form:focus-within{border-color:color-mix(in srgb,var(--green) 52%,var(--line))}
.comments .comment-form .emoji-field{flex:1 0 100%;width:100%}
.comments .comment-compose-heading{display:block;flex:1 0 100%;color:var(--text);font-size:12px;font-weight:800;line-height:1.5}
.comments .comment-form .emoji-field textarea,.comments .comment-form .emoji-field .emoji-mirror{min-height:68px;padding:12px 13px;line-height:25px;border-radius:12px;background:var(--surface)}
.comments .comment-form .icon-button{width:38px;min-width:38px;height:38px;border-radius:11px;background:var(--surface);color:var(--green)}
.comments .comment-form .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-inline-start:auto;min-width:91px;height:38px;padding:8px 13px;border-radius:11px}
.comments .comment-form .primary-button span{font-size:12px}
.comments .comment-meta{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.comments .comment-meta small{margin:0}
.comments .comment-actions{gap:12px;flex-wrap:wrap}
.comments .comment-own-actions{display:inline-flex;gap:4px;margin-inline-start:auto}
.comments .comment-own-actions button{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-family:inherit;font-size:11px;font-weight:700;cursor:pointer}
.comments .comment-own-actions button:hover{background:var(--surface-2);color:var(--green)}
.comments .comment-own-actions button[data-action="delete-comment"]:hover{color:var(--red)}
.comments .comment-own-actions svg{width:13px;height:13px}
.profile-card .follow-counts{flex-wrap:wrap;gap:7px 14px;line-height:1.7}
@media(max-width:420px){.comments .comment-own-actions button span{display:none}.comments .comment-form{padding:10px}.comments .comment-form .primary-button{min-width:77px}}
