.fb-comment-wrapper {
  width: 500px;
  background-color: #18191a;
  color: #e4e6eb;
  font-family: Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 20px;
  padding: 16px;
  display: flex;
  gap: 8px;
  border-radius: 8px;
  box-sizing: border-box;
}

.fb-comment-wrapper.light-theme {
  background-color: #ffffff;
  color: #050505;
}

.fb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #333;
}

.fb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-comment-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fb-bubble-outer {
  display: inline-block;
  max-width: 100%;
  position: relative;
}

.fb-bubble {
  background-color: #3a3b3c;
  border-radius: 18px;
  padding: 8px 12px;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}

.fb-comment-wrapper.light-theme .fb-bubble {
  background-color: #f0f2f5;
}

.fb-displayname {
  font-size: 13px;
  font-weight: 600;
  color: #e4e6eb;
  margin-bottom: 2px;
  display: block;
}

.fb-comment-wrapper.light-theme .fb-displayname {
  color: #050505;
}

.fb-text {
  font-size: 15px;
  white-space: pre-wrap;
}

/* Reactions Pill inside bubble overlap */
.fb-reactions-pill {
  position: absolute;
  right: 8px;
  bottom: -10px;
  background-color: #3e4042;
  border-radius: 10px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  font-size: 11px;
  color: #b0b3b8;
}

.fb-comment-wrapper.light-theme .fb-reactions-pill {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  color: #65676b;
}

.fb-reaction-icons {
  display: flex;
  align-items: center;
}

.fb-reaction-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #3a3b3c;
  margin-left: -4px;
}

.fb-reaction-icon:first-child {
  margin-left: 0;
}

.fb-comment-wrapper.light-theme .fb-reaction-icon {
  border-color: #f0f2f5;
}

.fb-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-left: 12px;
  font-size: 12px;
  color: #b0b3b8;
  font-weight: 600;
}

.fb-comment-wrapper.light-theme .fb-footer-actions {
  color: #65676b;
}

.fb-action-link {
  cursor: pointer;
}

.fb-action-link:hover {
  text-decoration: underline;
}

.fb-timestamp {
  font-weight: 400;
}

.fb-replies-link-row {
  color: #b0b3b8;
}

.fb-comment-wrapper.light-theme .fb-replies-link-row {
  color: #65676b;
}
