.emoface {
  width: 100%;
}

.message-editor.is-empty::before {
  content: attr(data-placeholder);
  color: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.message-editor:not(.is-empty)::before {
  content: none;
}

.message-editor img.pages-emoji-inline,
.message-editor img[data-code] {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 2px;
  border: 0;
}

.message-editor-readonly {
  opacity: 0.7;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qqFace {
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.qqFace:not([style*="display: none"]) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
}

.qqFace img {
  cursor: pointer;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  margin: 0 !important;
}

.qqFace img:hover {
  background: rgba(0, 0, 0, 0.04);
}
