/* Thream comments — compact Facebook/LinkedIn-style social thread */
.thream-comments-sheet{position:absolute!important;left:50%!important;right:auto!important;bottom:18px!important;transform:translateX(-50%)!important;width:min(760px,calc(100vw - 32px))!important;max-height:min(76vh,720px)!important;border-radius:24px!important;box-shadow:0 28px 90px rgba(15,23,42,.28)!important;border:1px solid #e2e8f0!important;overflow:hidden!important;padding:0!important;background:#fff!important}
.thream-comments-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:16px 18px!important;border-bottom:1px solid #eef2f7!important;background:#fff!important}
.thream-comments-scroll{padding:14px 16px 8px!important;display:flex!important;flex-direction:column!important;gap:12px!important;overflow-y:auto!important}
.thream-comment-row{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
.thream-comment-row.thream-comment-reply{margin-left:46px!important;grid-template-columns:32px minmax(0,1fr)!important}
.thream-comment-avatar{width:38px!important;height:38px!important;border-radius:50%!important;object-fit:cover!important;background:#eef2f7!important;cursor:pointer!important}
.thream-comment-reply .thream-comment-avatar{width:32px!important;height:32px!important}
.thream-comment-main{min-width:0!important}
.thream-comment-bubble{display:inline-block!important;max-width:min(560px,100%)!important;border-radius:18px!important;background:#f3f6f9!important;padding:9px 12px 10px!important;box-shadow:none!important}
.thream-comment-name{display:block!important;font-size:12px!important;line-height:16px!important;font-weight:800!important;color:#0f172a!important;cursor:pointer!important}
.thream-comment-name:hover{text-decoration:underline!important}
.thream-comment-text{margin-top:2px!important;font-size:13px!important;line-height:19px!important;color:#1e293b!important;word-break:break-word!important}
.thream-comment-meta{display:flex!important;align-items:center!important;gap:12px!important;margin:5px 0 0 8px!important;font-size:10px!important;font-weight:700!important;color:#64748b!important}
.thream-comment-meta button{font:inherit!important;color:#64748b!important;background:transparent!important;border:0!important;padding:0!important;cursor:pointer!important}
.thream-comment-meta button:hover{color:#155eef!important}
.thream-comment-time{margin-left:auto!important;font-size:9px!important;font-weight:600!important;color:#94a3b8!important}
.thream-comments-composer{position:sticky!important;bottom:0!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 42px!important;gap:8px!important;align-items:center!important;padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important;border-top:1px solid #eef2f7!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px)!important}
.thream-comments-composer-avatar{width:34px!important;height:34px!important;border-radius:50%!important;object-fit:cover!important;background:#eef2f7!important}
.thream-comments-composer input{height:42px!important;border-radius:999px!important;border:1px solid #d8e0ea!important;background:#f7f9fc!important;padding:0 15px!important;font-size:13px!important;outline:none!important}
.thream-comments-composer input:focus{border-color:#93b4ff!important;box-shadow:0 0 0 3px rgba(21,94,239,.08)!important;background:#fff!important}
.thream-comments-composer button{width:42px!important;height:42px!important;border-radius:50%!important}
@media(max-width:767px){.thream-comments-sheet{left:0!important;right:0!important;bottom:0!important;transform:none!important;width:100%!important;max-height:88dvh!important;border-radius:24px 24px 0 0!important;border-left:0!important;border-right:0!important;border-bottom:0!important}.thream-comments-head{padding:14px 16px!important}.thream-comments-scroll{padding:12px 12px 6px!important}.thream-comment-row{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}.thream-comment-avatar{width:36px!important;height:36px!important}.thream-comment-row.thream-comment-reply{margin-left:36px!important}.thream-comment-bubble{max-width:100%!important}.thream-comments-composer{padding-left:10px!important;padding-right:10px!important}}
.dark .thream-comments-sheet,.dark .thream-comments-head,.dark .thream-comments-composer{background:#0f172a!important;border-color:#253247!important}.dark .thream-comment-bubble{background:#1e293b!important}.dark .thream-comment-name,.dark .thream-comment-text{color:#f8fafc!important}.dark .thream-comment-meta{color:#94a3b8!important}.dark .thream-comments-composer input{background:#111827!important;border-color:#334155!important;color:#f8fafc!important}