/* MEETUS 0.6.25.2 COMMUNITY2-TG5 */

.community2-center-host {
  position: relative !important;
  min-width: 0;
  min-height: 0;
}

.community2-workspace {
  position: absolute;
  inset: 0;
  z-index: 24;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  background: var(--panel, #fff);
  color: var(--text, #172033);
}

.community2-workspace.hidden,
.community2-thread-form.hidden,
.community2-compose-reply.hidden,
.community2-status.hidden,
.community2-header-action.hidden {
  display: none !important;
}

.community2-workspace-header {
  min-height: 64px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.16);
  background: var(--panel, #fff);
}

.community2-back-button,
.community2-header-action,
.community2-thread-source-footer button,
.community2-reply-button,
.community2-status-action,
.community2-view-thread,
.channel-origin-card button {
  border: 0;
  background: transparent;
  color: var(--accent, #4f78ff);
  font: inherit;
  cursor: pointer;
}

.community2-back-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.community2-back-button:hover,
.community2-header-action:hover,
.community2-thread-source-footer button:hover,
.community2-view-thread:hover {
  background: rgba(79, 120, 255, 0.09);
}

.community2-workspace-title {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.community2-workspace-title strong,
.community2-workspace-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-workspace-title strong {
  font-size: 15px;
}

.community2-workspace-title span {
  color: var(--muted, #718096);
  font-size: 12px;
}

.community2-header-action {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.community2-workspace-body {
  min-height: 0;
  overflow: auto;
  padding: 16px clamp(12px, 3vw, 32px) 24px;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 120, 255, 0.05), transparent 28%),
    var(--chat-bg, var(--panel, #fff));
}

.community2-loading,
.community2-empty {
  min-height: 280px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--muted, #718096);
  text-align: center;
}

.community2-empty strong {
  color: inherit;
  font-size: 16px;
}

.community2-empty span {
  max-width: 430px;
  font-size: 13px;
}

.community2-thread-source-wrap {
  max-width: 760px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.16);
  border-radius: 17px;
  background: var(--panel, #fff);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.community2-source-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.community2-source-head,
.community2-comment-head,
.community2-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community2-source-author,
.community2-comment-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community2-source-author strong,
.community2-comment-author strong,
.community2-reply-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-source-head > span,
.community2-comment-head time,
.community2-reply-head time {
  flex: 0 0 auto;
  color: var(--muted, #718096);
  font-size: 11px;
}

.community2-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--panel, #fff);
}

.community2-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5d7fff, #7b5cff);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.community2-mini-avatar {
  width: 22px;
  height: 22px;
  margin-left: -6px;
  font-size: 9px;
}

.community2-mini-avatar:first-child {
  margin-left: 0;
}

.community2-source-text,
.community2-comment-text,
.community2-reply-text {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.community2-thread-source-footer {
  min-height: 45px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.13);
  background: rgba(148, 163, 184, 0.045);
}

.community2-thread-source-footer > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent, #4f78ff);
  font-size: 12px;
  font-weight: 700;
}

.community2-recent-repliers {
  display: inline-flex;
  align-items: center;
  padding-left: 6px;
}

.community2-comments-title {
  max-width: 760px;
  margin: 0 auto 10px;
  color: var(--muted, #718096);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.community2-comments-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.community2-comment {
  width: min(88%, 610px);
  padding: 10px 12px 8px;
  display: grid;
  gap: 7px;
  justify-self: start;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 15px 15px 15px 5px;
  background: var(--panel, #fff);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.community2-comment.mine {
  justify-self: end;
  border-radius: 15px 15px 5px 15px;
  background: rgba(79, 120, 255, 0.11);
}

.community2-comment.community2-focus {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(79, 120, 255, 0.28), 0 9px 24px rgba(15, 23, 42, 0.08);
}

.community2-comment-author > span:not(.community2-avatar) {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(79, 120, 255, 0.11);
  color: var(--accent, #4f78ff);
  font-size: 10px;
  font-weight: 700;
}

.community2-comment-quote,
.community2-reply-quote,
.community2-reply-source {
  min-width: 0;
  padding: 7px 9px;
  display: grid;
  gap: 2px;
  border: 0;
  border-left: 3px solid var(--accent, #4f78ff);
  border-radius: 7px;
  background: rgba(79, 120, 255, 0.065);
  color: inherit;
  text-align: left;
}

.community2-comment-quote {
  cursor: pointer;
}

.community2-comment-quote strong,
.community2-reply-quote strong,
.community2-reply-source strong {
  overflow: hidden;
  color: var(--accent, #4f78ff);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-comment-quote span,
.community2-reply-quote span,
.community2-reply-source span {
  overflow: hidden;
  color: var(--muted, #718096);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-reply-button {
  justify-self: end;
  padding: 3px 2px 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.community2-media {
  max-width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.community2-media img,
.community2-media video {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
}

.community2-video {
  position: relative;
}

.community2-video > span {
  position: absolute;
  inset: 50% auto auto 50%;
  padding: 6px 9px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 12px;
}

.community2-audio {
  width: min(100%, 380px);
}

.community2-file {
  color: var(--accent, #4f78ff);
  font-weight: 700;
  text-decoration: none;
}

.community2-compose-reply {
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.14);
  background: rgba(79, 120, 255, 0.07);
}

.community2-compose-reply > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.community2-compose-reply strong {
  color: var(--accent, #4f78ff);
  font-size: 12px;
}

.community2-compose-reply span {
  overflow: hidden;
  color: var(--muted, #718096);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-compose-reply button {
  border: 0;
  background: transparent;
  color: var(--muted, #718096);
  font-size: 20px;
  cursor: pointer;
}

.community2-thread-form {
  padding: 10px 12px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  border-top: 1px solid rgba(100, 116, 139, 0.16);
  background: var(--panel, #fff);
}

.community2-thread-form textarea {
  min-height: 42px;
  max-height: 140px;
  flex: 1 1 auto;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  border-radius: 12px;
  background: var(--input, #fff);
  color: inherit;
  font: inherit;
  outline: none;
}

.community2-thread-form textarea:focus {
  border-color: var(--accent, #4f78ff);
}

.community2-thread-form .primary-button {
  width: auto;
  min-height: 42px;
  padding-inline: 16px;
}

.community2-status {
  min-height: 0;
  padding: 8px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.1);
  background: var(--panel, #fff);
  color: var(--muted, #718096);
  font-size: 12px;
}

.community2-status-action {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(79, 120, 255, 0.1);
  font-weight: 800;
}

.community2-replies-row {
  border-bottom: 1px solid rgba(100, 116, 139, 0.12);
}

.community2-replies-shortcut {
  width: 100%;
  text-align: left;
}

.community2-replies-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #5d7fff, #7b5cff);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.community2-replies-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  align-content: start;
  gap: 11px;
}

.community2-reply-item {
  padding: 13px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 15px;
  background: var(--panel, #fff);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.035);
}

.community2-reply-item.unread {
  border-color: rgba(79, 120, 255, 0.42);
  background: rgba(79, 120, 255, 0.065);
}

.community2-reply-head {
  justify-content: flex-start;
}

.community2-reply-head time {
  margin-left: auto;
}

.community2-view-thread {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.channel-comment-bar {
  margin: 8px -10px -8px;
  padding-top: 7px;
  border-top: 1px solid rgba(100, 116, 139, 0.14);
}

.channel-comment-button {
  width: 100%;
  min-height: 32px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--accent, #4f78ff);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.community2-channel-repliers:empty {
  display: none;
}

.community2-channel-repliers .community2-recent-repliers {
  padding-left: 0;
}

.channel-origin-card {
  margin: -4px -4px 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid var(--accent, #4f78ff);
  border-radius: 8px;
  background: rgba(79, 120, 255, 0.065);
}

.channel-origin-card > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.channel-origin-card strong,
.channel-origin-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-origin-card strong {
  color: var(--accent, #4f78ff);
  font-size: 11px;
}

.channel-origin-card span,
.channel-origin-card button {
  font-size: 10px;
}

@media (max-width: 700px) {
  .community2-workspace {
    position: fixed;
    inset: 0;
    z-index: 85;
    height: 100dvh;
  }

  .community2-workspace-header {
    min-height: 58px;
    padding: 7px 10px;
  }

  .community2-header-action {
    max-width: 98px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community2-workspace-body {
    padding: 10px 9px 18px;
  }

  .community2-comment {
    width: 94%;
  }

  .community2-thread-form {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .community2-thread-form .primary-button {
    padding-inline: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  .community2-workspace,
  .community2-workspace-header,
  .community2-thread-source-wrap,
  .community2-comment,
  .community2-reply-item,
  .community2-thread-form,
  .community2-status {
    background-color: var(--panel, #111827);
  }
}


/* COMMUNITY2-TG3: Telegram-style comment row and full chat composer */
.community2-workspace {
  --community2-text: var(--text-primary, var(--text, #e8edf7));
  --community2-muted: var(--text-secondary, var(--muted, #8d9aad));
  --community2-surface: var(--panel, #121a29);
  --community2-composer: color-mix(in srgb, var(--panel, #111827) 88%, var(--text, #ffffff) 12%);
  color: var(--community2-text) !important;
}

.community2-source-card,
.community2-comment,
.community2-reply-item,
.community2-source-text,
.community2-comment-text,
.community2-reply-text,
.community2-workspace-title strong,
.community2-source-author strong,
.community2-comment-author strong,
.community2-reply-head strong {
  color: var(--community2-text) !important;
}

.community2-workspace-title span,
.community2-source-head > span,
.community2-comment-head time,
.community2-reply-head time,
.community2-compose-reply span,
.community2-comments-title {
  color: var(--community2-muted) !important;
}

.community2-thread-form {
  position: relative;
  min-height: 62px;
  padding: 9px 14px max(9px, env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-end;
  gap: 5px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: var(--community2-surface, var(--panel, #111827));
}

.community2-thread-form.hidden,
.community2-emoji-panel.hidden,
.community2-voice-timer.hidden {
  display: none !important;
}

.community2-composer-button,
.community2-composer-action {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--community2-muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.community2-composer-button:hover,
.community2-composer-button.active {
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent, #7c5cff);
}

.community2-composer-button:disabled,
.community2-composer-action:disabled {
  opacity: 0.45;
  cursor: default;
}

.community2-composer-button svg,
.community2-composer-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community2-input-shell {
  position: relative;
  min-width: 0;
  min-height: 42px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: var(--community2-composer);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.community2-thread-form textarea,
.community2-thread-form textarea:focus {
  width: 100%;
  min-height: 40px;
  max-height: 132px;
  padding: 10px 15px;
  resize: none;
  overflow-y: auto;
  border: 0 !important;
  border-radius: 22px;
  background: transparent !important;
  color: var(--community2-text) !important;
  -webkit-text-fill-color: var(--community2-text) !important;
  caret-color: var(--accent, #7c5cff);
  font: inherit;
  line-height: 20px;
  outline: none !important;
  box-shadow: none !important;
}

.community2-thread-form textarea::placeholder {
  color: var(--community2-muted) !important;
  -webkit-text-fill-color: var(--community2-muted) !important;
  opacity: 0.9;
}

.community2-composer-action {
  position: relative;
  background: var(--accent, #7c5cff);
  color: #fff;
  box-shadow: 0 5px 16px rgba(93, 76, 255, 0.28);
}

.community2-composer-action:hover {
  transform: translateY(-1px);
}

.community2-action-send,
.community2-action-stop,
.community2-action-mic {
  display: none;
}

.community2-composer-action[data-mode="voice"] .community2-action-mic,
.community2-composer-action[data-mode="send"] .community2-action-send,
.community2-composer-action[data-mode="stop"] .community2-action-stop {
  display: block;
}

.community2-action-send {
  margin-left: -2px;
  transform: rotate(-12deg);
  font-size: 21px;
  line-height: 1;
}

.community2-action-stop {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #fff;
}

.community2-thread-form.is-recording .community2-composer-action {
  background: #ef445c;
  animation: community2-record-pulse 1.2s ease-in-out infinite;
}

.community2-thread-form.is-recording .community2-input-shell {
  border-color: rgba(239, 68, 92, 0.45);
}

.community2-voice-timer {
  position: absolute;
  inset: 50% auto auto 15px;
  transform: translateY(-50%);
  color: #ef445c;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  pointer-events: none;
}

.community2-thread-form.is-busy {
  opacity: 0.78;
}

.community2-emoji-panel {
  position: absolute;
  left: 52px;
  bottom: calc(100% + 8px);
  z-index: 8;
  width: min(330px, calc(100vw - 28px));
  max-height: 230px;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(8, minmax(30px, 1fr));
  gap: 4px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: var(--community2-surface, #111827);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.community2-emoji-panel button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 21px;
  cursor: pointer;
}

.community2-emoji-panel button:hover {
  background: rgba(124, 92, 255, 0.13);
}

.channel-comment-bar {
  margin: 9px -10px -8px;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.channel-comment-button {
  width: 100%;
  min-height: 48px;
  padding: 7px 10px 7px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: rgba(74, 111, 148, 0.08);
  color: #61b8f4;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.channel-comment-button:hover {
  background: rgba(74, 111, 148, 0.15);
}

.channel-comment-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-comment-main [data-channel-comment-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-comment-empty-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e59ff, #43a8ef);
  color: #fff;
}

.community2-comment-empty-avatar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.channel-comment-bar.has-repliers .community2-comment-empty-avatar {
  display: none;
}

.channel-comment-bar .community2-channel-repliers {
  display: none;
}

.channel-comment-bar.has-repliers .community2-channel-repliers {
  display: inline-flex;
}

.channel-comment-bar .community2-mini-avatar {
  width: 27px;
  height: 27px;
  border: 2px solid var(--community2-surface, var(--panel, #111827));
  box-shadow: none;
}

.channel-comment-dot {
  display: none;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
}

.channel-comment-bar.has-comments .channel-comment-dot {
  display: block;
}

.channel-comment-arrow {
  flex: 0 0 auto;
  margin-top: -2px;
  font-size: 37px;
  line-height: 1;
  font-weight: 300;
}

@keyframes community2-record-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 92, 0.28); }
  50% { box-shadow: 0 0 0 7px rgba(239, 68, 92, 0); }
}

@media (max-width: 700px) {
  .community2-thread-form {
    padding-inline: 8px;
    gap: 2px;
  }

  .community2-composer-button,
  .community2-composer-action {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .community2-emoji-panel {
    left: 8px;
    grid-template-columns: repeat(7, minmax(30px, 1fr));
  }
}


/* ============================================================
   MEETUS 0.6.25.2 COMMUNITY2-TG5
   Thread messages use the same compact bubbles, media, voice,
   receipts, reactions and action-menu language as normal chats.
   ============================================================ */

.community2-comments-list {
  max-width: 760px;
  display: block;
}

.community2-thread-message {
  width: 100%;
  margin: 2px 0 !important;
}

.community2-thread-message .message-bubble {
  max-width: min(680px, 82%) !important;
}

.community2-thread-message .message-bubble.has-media {
  padding-bottom: 18px !important;
}

.community2-thread-sender {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -1px 19px 5px 0;
  color: var(--accent-light, #a99cff);
  font-size: 11px;
  line-height: 1.2;
}

.community2-thread-sender strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-thread-sender > span:last-child:not(.community2-avatar) {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 999px;
  color: #b7aaff;
  background: rgba(135, 116, 225, .16);
  font-size: 9px;
  font-weight: 700;
}

.community2-thread-avatar {
  width: 22px;
  height: 22px;
  box-shadow: none;
  font-size: 9px;
}

.community2-comment-quote {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: 0 0 5px;
  padding: 5px 8px;
  overflow: hidden;
  border: 0;
  border-left: 3px solid var(--accent, #8774e1);
  border-radius: 5px;
  color: inherit;
  background: rgba(0, 0, 0, .15);
  text-align: left;
  cursor: pointer;
}

.community2-comment-quote strong,
.community2-comment-quote span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community2-comment-quote strong {
  color: var(--accent-light, #b8acff);
  font-size: 11px;
}

.community2-comment-quote span {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
}

.community2-thread-message .voice-message {
  width: min(370px, 66vw);
  max-width: 100%;
}

.community2-thread-message .message-reactions {
  margin-top: 4px;
}

.community2-thread-message.community2-focus .message-bubble {
  animation: community2MessageFocus 1.7s ease;
}

@keyframes community2MessageFocus {
  0%, 100% { box-shadow: 0 1px 1px rgba(0,0,0,.24), 0 2px 5px rgba(0,0,0,.13); }
  35% { box-shadow: 0 0 0 3px rgba(135,116,225,.55), 0 8px 28px rgba(0,0,0,.28); }
}

.community2-compose-edit {
  border-left-color: var(--accent, #8774e1);
}

.community2-thread-context-menu {
  z-index: 7000;
  max-height: min(620px, calc(100dvh - 16px));
  overflow: auto;
}

.community2-thread-context-menu .hidden,
.community2-thread-reaction-grid.hidden {
  display: none !important;
}

.community2-thread-context-menu > button > span:first-child {
  width: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-size: 17px;
}

.community2-thread-reaction-grid {
  width: 278px;
  max-height: 210px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 8px;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.community2-thread-reaction-grid button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 7px;
  font-size: 18px;
}

.community2-source-card .voice-message {
  max-width: 100%;
}

.community2-source-card .message-file {
  max-width: 100%;
}

.message-edited-label {
  color: currentColor;
  opacity: .58;
  font-size: 10px;
}

@media (max-width: 700px) {
  .community2-workspace-body {
    padding: 10px 12px 18px;
  }

  .community2-thread-source-wrap,
  .community2-comments-title,
  .community2-comments-list {
    max-width: 100%;
  }

  .community2-thread-message .message-bubble {
    max-width: 88% !important;
  }

  .community2-thread-message .voice-message {
    width: min(330px, 72vw);
  }

  .community2-thread-sender {
    margin-right: 15px;
  }
}
