@charset "UTF-8";
/* HSR: Beyond the Stars / mdj подсказки упоминаний v2.1.2-hsr.mdj1
 * Оформление подсказок и ссылок упоминаний в теме форума.
 * HTML-низ: mdj-mentions.hsr.js, CSS перед JS.
 */
#mdj-mentions {
  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;
}

#mdj-mentions .mdj-mention-empty {
  padding: 10px 12px;
  color: #777;
}

#mdj-mentions .mdj-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;
}

#mdj-mentions .mdj-mention-item:last-child {
  border-bottom: 0;
}

#mdj-mentions .mdj-mention-item:hover,
#mdj-mentions .mdj-mention-item.mdj-is-active {
  background: rgba(0, 0, 0, .08);
}

#mdj-mentions .mdj-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%;
}

#mdj-mentions .mdj-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%;
}

#mdj-mentions .mdj-mention-copy {
  min-width: 0;
}

#mdj-mentions .mdj-mention-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mdj-mentions .mdj-mention-meta {
  display: block;
  margin-top: 1px;
  color: #777;
  font-size: 11px;
}

@media (max-width: 600px) {
  #mdj-mentions {
    width: 250px;
    max-height: 176px;
  }
}

.post-content a[href*="kjmention=1"] strong {
  font-weight: inherit;
}

.post-content a[href*="kjgroupmember=1"] {
  display: none !important;
}

#mdj-mentions {
  width: 286px;
  max-height: 212px;
  padding: 4px;
  color: #d3cabb;
  font: 12px/1.35 "DIN Pro", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 88% 14%, rgba(200, 200, 255, .12) 0 1px, transparent 2px),
    linear-gradient(145deg, rgba(50, 59, 101, .99), rgba(2, 17, 33, .99));
  background-size: 90px 90px, auto;
  border: 1px solid #ffcf70;
  border-radius: 12px 0;
  box-shadow: 0 14px 34px rgba(2, 17, 33, .52);
  scrollbar-color: #bf9d64 #1c2035;
  scrollbar-width: thin;
}

#mdj-mentions::before {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 23px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffcf70);
  content: "";
  pointer-events: none;
}

#mdj-mentions::-webkit-scrollbar {
  width: 7px;
}

#mdj-mentions::-webkit-scrollbar-track {
  background: #1c2035;
}

#mdj-mentions::-webkit-scrollbar-thumb {
  background: #bf9d64;
  border: 2px solid #1c2035;
  border-radius: 7px;
}

#mdj-mentions .mdj-mention-empty {
  padding: 13px;
  color: #c0ba9d;
  letter-spacing: .025em;
}

#mdj-mentions .mdj-mention-item {
  min-height: 48px;
  padding: 6px 9px;
  color: #d3cabb;
  font: inherit;
  background: transparent;
  border-bottom: 1px solid rgba(255, 207, 112, .16);
  border-radius: 6px 0;
}

#mdj-mentions .mdj-mention-item:hover,
#mdj-mentions .mdj-mention-item.mdj-is-active {
  color: #fff;
  background: rgba(50, 59, 101, .92);
  box-shadow: inset 3px 0 #ffcf70;
}

#mdj-mentions .mdj-mention-avatar {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  background-color: #1c2035;
  border: 1px solid rgba(255, 207, 112, .72);
  border-radius: 50% 0 50% 50%;
  box-shadow: 0 0 8px rgba(255, 207, 112, .16);
}

#mdj-mentions .mdj-mention-group-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  color: #ffcf70;
  font-size: 15px;
  font-weight: 600;
  background: #1c2035;
  border: 1px solid #ffcf70;
  border-radius: 50% 0 50% 50%;
}

#mdj-mentions .mdj-mention-name {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

#mdj-mentions .mdj-mention-meta {
  margin-top: 2px;
  color: #c0ba9d;
  font-size: 10px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

#mdj-mentions .mdj-mention-item.mdj-is-active .mdj-mention-meta,
#mdj-mentions .mdj-mention-item:hover .mdj-mention-meta {
  color: #ffcf70;
}

.post-content a[href*="kjmention=1"] {
  color: #171717 !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0;
}

.post-content a[href*="kjmention=1"]:hover {
  color: #171717 !important;
  text-decoration: underline;
}

body.dark .post-content a[href*="kjmention=1"],
body.darker .post-content a[href*="kjmention=1"] {
  color: var(--darmaintext, #afafaf) !important;
}

body.dark .post-content a[href*="kjmention=1"]:hover,
body.darker .post-content a[href*="kjmention=1"]:hover {
  color: #ffcf70 !important;
}

.post-content a[href*="kjmention=1"] strong {
  color: inherit;
}

@media (max-width: 600px) {
  #mdj-mentions {
    width: 264px;
    max-height: 190px;
  }
}
