.mention-panel-h5 {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
}

.mention-panel-h5__header {
  padding: 6px 8px 8px;
  color: var(--text-color-secondary);
  font-size: 12px;
  line-height: 18px;
}

.mention-panel-h5__item,
.mention-panel-h5__load-more {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 8px;
  border: none;
  border-radius: 12px;
  background-color: transparent;
  color: var(--text-color-primary);
  text-align: left;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.mention-panel-h5__item:active,
.mention-panel-h5__load-more:active {
  background-color: var(--bg-color-hover);
}

.mention-panel-h5__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.mention-panel-h5__avatar--all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--text-color-link);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.mention-panel-h5__content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.mention-panel-h5__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 20px;
}

.mention-panel-h5__id {
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: var(--text-color-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 16px;
}

.mention-panel-h5__load-more {
  justify-content: center;
  color: var(--text-color-secondary);
}

.mention-panel-h5__empty {
  padding: 24px 12px;
  color: var(--text-color-secondary);
  text-align: center;
  font-size: 14px;
}
