/* Native HBS HoellStreamChat row styles, preserved for the website. */
.hs-chat__row {
  display: flex;
  align-items: center;
  min-height: 40px;
  flex-shrink: 0;
  overflow: hidden;
  border-top: 1px solid rgba(74, 158, 255, 0.1);
  background: linear-gradient(to bottom, rgba(37, 37, 56, 0.8), rgba(31, 31, 46, 0.6));
}

.hs-chat__strip {
  width: 48px;
  min-width: 48px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--nx-blue), var(--nx-purple));
}

.hs-chat__avatar-cell {
  display: flex;
  align-items: center;
  padding: 0 8px 0 10px;
}

.hs-chat__avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid var(--nx-blue);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--nx-void);
  flex-shrink: 0;
}

/* No avatar: HoellStream's platform colours behind the initial. */
.hs-chat__avatar--initial.hs-chat__avatar--tiktok { background-color: rgb(0, 245, 212); }
.hs-chat__avatar--initial.hs-chat__avatar--twitch { background-color: rgb(169, 112, 255); }
.hs-chat__avatar--initial.hs-chat__avatar--youtube { background-color: rgb(255, 0, 0); }

.hs-chat__content {
  flex: 1;
  min-width: 0;
  padding: 7px 14px 7px 0;
  line-height: 1.5;
  font-size: 15px;
  overflow-wrap: anywhere;
}

/* Brand gradient text: an accepted Impeccable exception in this repo. */
.hs-chat__name {
  font-weight: 700;
  background: linear-gradient(to right, var(--nx-blue), var(--nx-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 6px;
}

.hs-chat__badge-wrap {
  position: relative;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}

.hs-chat__badge {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.hs-chat__badge-level {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 2px #000, 0 0 2px #000;
}

.hs-chat__message {
  color: var(--nx-text-primary);
}

.hs-chat__message--translated {
  color: var(--nx-cyan);
}

.hs-chat__emote {
  width: 24px;
  height: 24px;
  margin: 0 2px;
  vertical-align: middle;
}

