/* Rusff Native Mentions v2.1.0
 * Presentation layer for nearby user and group suggestions.
 * The palette deliberately inherits the forum wherever possible.
 */
#post-mentions-kj {
  display: none;
  box-sizing: border-box;
  width: 270px;
  max-width: calc(100vw - 16px);
  max-height: 190px;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: #222;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .22);
  border-radius: 7px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  position: fixed;
  z-index: 2147483000;
}

#post-mentions-kj .kj-mention-empty {
  padding: 10px 12px;
  color: #777;
}

#post-mentions-kj .kj-mention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 5px 8px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  cursor: pointer;
}

#post-mentions-kj .kj-mention-item:last-child {
  border-bottom: 0;
}

#post-mentions-kj .kj-mention-item:hover,
#post-mentions-kj .kj-mention-item.is-active {
  background: rgba(0, 0, 0, .08);
}

#post-mentions-kj .kj-mention-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background-color: #eee;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
}

#post-mentions-kj .kj-mention-group-icon {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: #777;
  border-radius: 50%;
}

#post-mentions-kj .kj-mention-copy {
  min-width: 0;
}

#post-mentions-kj .kj-mention-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#post-mentions-kj .kj-mention-meta {
  display: block;
  margin-top: 1px;
  color: #777;
  font-size: 11px;
}

@media (max-width: 600px) {
  #post-mentions-kj {
    width: 250px;
    max-height: 176px;
  }
}

.post-content a[href*="kjmention=1"] strong {
  font-weight: inherit;
}

.post-content a[href*="kjgroupmember=1"] {
  display: none !important;
}

