/*
 * ZZV3.7 floating chat
 * A focused visual and interaction layer on top of WoWonder's existing chat.
 */

@media (min-width: 768px) {
  body.zzv3 .chat-container {
    width: 82px;
    padding: 10px 14px 94px;
    background: var(--zzv3-shell);
    background: color-mix(in srgb, var(--zzv3-shell) 94%, transparent);
    border-left: 1px solid var(--zzv3-border);
    box-shadow: -10px 0 34px rgba(15, 16, 19, 0.06);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
  }

  body.zzv3 .chat-container .tag_chat_side_btn {
    display: grid;
    place-items: center;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    margin-top: 10px;
    padding: 0;
    color: var(--zzv3-text-soft);
    background: var(--zzv3-surface-raised);
    border: 1px solid var(--zzv3-border);
    border-radius: 16px;
    box-shadow: none;
    transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
  }

  body.zzv3 .chat-container .tag_chat_side_btn:hover,
  body.zzv3 .chat-container .dropdown.show > .tag_chat_side_btn {
    color: #fff;
    background: var(--zzv3-purple);
    border-color: transparent;
    transform: translateY(-1px);
  }

  body.zzv3 .chat-container .online-content-toggler {
    margin: 8px -5px 0;
    padding: 0 5px;
  }

  body.zzv3 .chat-container #users-chat > .clear,
  body.zzv3 .chat-container .recipient-chat-user + .clear {
    display: none;
  }

  body.zzv3 .chat-container hr {
    width: 34px;
    margin: 12px auto;
    border-color: var(--zzv3-border);
  }

  body.zzv3 .recipient-chat-user {
    position: relative;
    margin: 10px 0;
  }

  body.zzv3 .recipient-chat-user .user-info {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 15px;
    transition: transform 160ms ease, filter 160ms ease;
  }

  body.zzv3 .recipient-chat-user:hover .user-info {
    opacity: 1;
    filter: brightness(1.04);
    transform: translateX(-2px);
  }

  body.zzv3 .recipient-chat-user .user-info img {
    width: 46px;
    height: 46px;
    border: 2px solid var(--zzv3-surface);
    border-radius: 15px;
    box-shadow: 0 0 0 1px var(--zzv3-border-strong), 0 7px 18px rgba(15, 16, 19, 0.11);
  }

  body.zzv3 .recipient-chat-user .user-info > svg {
    right: -1px;
    bottom: -1px;
    width: 14px;
    height: 14px;
    padding: 2px;
    background: var(--zzv3-shell);
    border: 1px solid var(--zzv3-shell);
    box-shadow: 0 0 0 1px var(--zzv3-border);
  }

  body.zzv3 .recipient-chat-user.zzv37-active-chat .user-info::before {
    position: absolute;
    z-index: -1;
    inset: -4px;
    content: "";
    background: linear-gradient(145deg, var(--zzv3-purple), #ef4b97 52%, #f4ad38);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(131, 88, 232, 0.24);
  }

  body.zzv3 .recipient-chat-user .new-message-alert {
    top: -6px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    background: #ef3f64;
    border: 2px solid var(--zzv3-shell);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(239, 63, 100, 0.32);
  }

  body.zzv3 .recipient-chat-user .dropdown-menu {
    display: block !important;
    right: 78px;
    min-width: 196px;
    margin-top: -52px;
    padding: 10px 12px;
    color: var(--zzv3-text);
    background: var(--zzv3-surface);
    border: 1px solid var(--zzv3-border);
    border-radius: 15px;
    box-shadow: 0 16px 44px rgba(15, 16, 19, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px) scale(0.98);
    transform-origin: right center;
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  }

  body.zzv3 .recipient-chat-user:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  body.zzv3 .recipient-chat-user .dropdown-menu::after {
    position: absolute;
    top: 22px;
    right: -6px;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--zzv3-surface);
    border-top: 1px solid var(--zzv3-border);
    border-right: 1px solid var(--zzv3-border);
    transform: rotate(45deg);
  }

  body.zzv3 .recipient-chat-user .dropdown-menu img {
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 12px;
  }

  body.zzv3 .recipient-chat-user .chat-user-text {
    max-width: 122px;
    color: var(--zzv3-text);
    font-size: 13px;
    font-weight: 750;
  }

  body.zzv3 .recipient-chat-user .dropdown-menu small {
    color: var(--zzv3-green);
    font-size: 11px;
    font-weight: 650;
  }

  body.zzv3 .chat-container .wow_chat_search {
    right: 15px;
    bottom: 14px;
  }

  body.zzv3 .chat-container .wow_chat_search.show {
    width: 270px;
    background: var(--zzv3-surface);
    border: 1px solid var(--zzv3-border);
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(15, 16, 19, 0.18);
  }

  body.zzv3 .chat-container .wow_chat_search .dropdown-menu {
    height: 50px;
    min-width: 220px;
    color: var(--zzv3-text);
    background: var(--zzv3-surface);
    border: 1px solid var(--zzv3-border);
    border-right: 0;
    border-radius: 16px 0 0 16px;
  }

  body.zzv3 .chat-container .wow_chat_search input {
    color: var(--zzv3-text);
  }

  body.zzv3 .chat-container .wow_chat_search input::placeholder {
    color: var(--zzv3-muted);
  }

  body.zzv3 .chat-tab {
    --zzv37-chat-width: min(344px, calc((100vw - 118px) / 3 - 12px));
    --zzv37-chat-rail: 94px;
    --zzv37-chat-gap: 12px;
  }

  body.zzv3 .chat-tab .chat_main {
    right: var(--zzv37-chat-rail);
    bottom: 14px;
    width: var(--zzv37-chat-width);
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
  }

  body.zzv3 .chat-tab .chat_main:nth-child(2) {
    right: calc(var(--zzv37-chat-rail) + var(--zzv37-chat-width) + var(--zzv37-chat-gap));
  }

  body.zzv3 .chat-tab .chat_main:nth-child(3) {
    right: calc(var(--zzv37-chat-rail) + var(--zzv37-chat-width) + var(--zzv37-chat-width) + var(--zzv37-chat-gap) + var(--zzv37-chat-gap));
  }
}

body.zzv3 .chat_main .chat-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  color: var(--zzv3-text);
  background: var(--zzv3-surface);
  border: 1px solid var(--zzv3-border-strong);
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(15, 16, 19, 0.22), 0 3px 12px rgba(15, 16, 19, 0.08);
  isolation: isolate;
}

body.zzv3 .chat_main .chat-wrapper::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--zzv3-purple), #ef4b97, transparent);
  border-radius: 0 0 999px 999px;
  opacity: 0.8;
  pointer-events: none;
}

body.zzv3 .chat_main .online-toggle-hdr {
  position: relative;
  z-index: 7;
  flex: 0 0 auto;
  width: 100%;
  min-height: 62px;
  padding: 10px 10px 10px 12px;
  background: var(--zzv3-surface);
  background: linear-gradient(145deg, color-mix(in srgb, var(--zzv3-surface) 88%, var(--zzv3-accent) 12%), var(--zzv3-surface) 62%);
  border: 0;
  border-bottom: 1px solid var(--zzv3-border);
  border-radius: 0;
  box-shadow: 0 5px 18px rgba(15, 16, 19, 0.05);
}

body.zzv3 .chat_main .wow_chat_hdr_usr {
  flex: 1 1 auto;
  min-width: 0;
}

body.zzv3 .chat_main .wow_chat_hdr_usr > div:last-child {
  min-width: 0;
}

body.zzv3 .chat_main .wow_chat_hdr_usr .avatar {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  margin-right: 9px;
}

body.zzv3 .chat_main .wow_chat_hdr_usr .avatar img,
body.zzv3 .chat_main .wow_chat_hdr_usr .cht_hd_avtr {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 2px solid var(--zzv3-surface);
  border-radius: 13px;
  box-shadow: 0 0 0 1px var(--zzv3-border-strong), 0 5px 14px rgba(15, 16, 19, 0.14);
}

body.zzv3 .chat_main.zzv37-is-online .wow_chat_hdr_usr .avatar::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--zzv3-green);
  border: 2px solid var(--zzv3-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--zzv3-green) 45%, transparent);
}

body.zzv3 .chat_main .wow_chat_hdr_usr h3 {
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: var(--zzv3-text);
  font-size: 13.5px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.zzv3 .chat_main .wow_chat_hdr_usr h3 a {
  color: inherit;
}

body.zzv3 .chat_main .chat-tab-status,
body.zzv3 .chat_main .chat-tab-status.active {
  display: block;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  color: var(--zzv3-green);
  background: transparent;
  border: 0;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.1;
}

body.zzv3 .chat_main .chat-tab-status.hidden {
  display: none;
}

body.zzv3 .chat_main .close-chat {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-left: 7px;
}

body.zzv3 .chat_main .close-chat > .dropdown {
  position: relative;
  display: block;
  line-height: 1;
}

body.zzv3 .chat_main .close-chat > .dropdown > a,
body.zzv3 .chat_main .close-chat > .zzv37-promoted-action,
body.zzv3 .chat_main .close-chat > svg {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 29px;
  min-width: 29px;
  height: 29px;
  margin: 0;
  padding: 5px;
  color: var(--zzv3-muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

body.zzv3 .chat_main .close-chat > .dropdown > a:hover,
body.zzv3 .chat_main .close-chat > .zzv37-promoted-action:hover,
body.zzv3 .chat_main .close-chat > svg:hover {
  color: var(--zzv3-accent-strong);
  background: var(--zzv3-accent-soft);
  transform: translateY(-1px);
}

body.zzv3 .chat_main .close-chat > .zzv37-close-action:hover {
  color: #ef476f;
  background: rgba(239, 71, 111, 0.12);
}

body.zzv3 .chat_main .close-chat svg {
  width: 18px;
  height: 18px;
}

body.zzv3 .chat_main .close-chat > .dropdown .dropdown-menu {
  top: 36px;
  right: 0;
  min-width: 210px;
  padding: 7px;
  color: var(--zzv3-text);
  background: var(--zzv3-surface);
  border: 1px solid var(--zzv3-border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 16, 19, 0.22);
}

body.zzv3 .chat_main .close-chat > .dropdown .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 9px;
  color: var(--zzv3-text-soft);
  border-radius: 10px;
}

body.zzv3 .chat_main .close-chat > .dropdown .dropdown-menu a:hover {
  color: var(--zzv3-accent-strong);
  background: var(--zzv3-accent-soft);
}

body.zzv3 .chat_main .close-chat > .dropdown .dropdown-menu svg {
  width: 19px;
  height: 19px;
}

body.zzv3 .chat_main .chat-tab-container {
  flex: 1 1 auto;
  width: 100%;
  height: min(460px, calc(100vh - 92px));
  max-height: calc(100vh - 92px);
  overflow: hidden;
  background: var(--zzv3-bg-elevated);
}

body.zzv3 .chat_main .chat-tab-container-inner {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  background: var(--zzv3-bg-elevated);
  background:
    radial-gradient(circle at 92% 0, color-mix(in srgb, var(--zzv3-accent) 8%, transparent), transparent 36%),
    var(--zzv3-bg-elevated);
}

body.zzv3 .chat_main .chat-messages-wrapper {
  width: 100%;
  min-height: 0;
  padding: 13px 5px 16px;
  background: transparent;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--zzv3-border-strong) transparent;
}

body.zzv3 .chat_main .chat-messages-wrapper::-webkit-scrollbar {
  width: 6px;
}

body.zzv3 .chat_main .chat-messages-wrapper::-webkit-scrollbar-thumb {
  background: var(--zzv3-border-strong);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

body.zzv3 .chat_main .chat-messages-wrapper .messages-wrapper {
  width: 100%;
  padding: 4px 8px;
}

body.zzv3 .chat_main .chat-messages-wrapper .messages-wrapper .user-avatar-left,
body.zzv3 .chat_main .chat-messages-wrapper .messages-wrapper .user-avatar-right {
  width: 27px;
  height: 27px;
  object-fit: cover;
  border: 1px solid var(--zzv3-border-strong);
  box-shadow: 0 3px 9px rgba(15, 16, 19, 0.1);
}

body.zzv3 .chat_main .chat-messages-wrapper .messages-wrapper .user-avatar-left {
  margin-right: 7px;
}

body.zzv3 .chat_main .chat-messages-wrapper .messages-wrapper .user-avatar-right {
  margin-left: 7px;
}

body.zzv3 .chat_main .chat-messages-wrapper .incoming,
body.zzv3 .chat_main .chat-messages-wrapper .outgoing {
  max-width: calc(100% - 58px);
}

body.zzv3 .chat_main .chat-messages-wrapper .outgoing {
  max-width: calc(100% - 50px);
  padding-right: 4px;
}

body.zzv3 .chat_main .chat-messages-wrapper .incoming .message-text,
body.zzv3 .chat_main .chat-messages-wrapper .incoming .message-media > a:not(.file-sharing-download-btn),
body.zzv3 .chat_main .chat-messages-wrapper .typing_loader_prnt {
  padding: 8px 11px;
  color: var(--zzv3-text);
  background: var(--zzv3-surface);
  border: 1px solid var(--zzv3-border);
  border-radius: 6px 17px 17px 17px;
  box-shadow: 0 4px 13px rgba(15, 16, 19, 0.06);
  font-size: 13px;
  line-height: 1.38;
}

body.zzv3 .chat_main .chat-messages-wrapper .outgoing .message-text,
body.zzv3 .chat_main .chat-messages-wrapper .outgoing .message-media > a:not(.file-sharing-download-btn) {
  padding: 8px 11px;
  color: #fff;
  background: var(--zzv3-purple);
  background: linear-gradient(145deg, var(--zzv3-purple), color-mix(in srgb, var(--zzv3-purple) 78%, #ef4b97));
  border: 0;
  border-radius: 17px 17px 6px 17px;
  box-shadow: 0 7px 18px rgba(104, 66, 202, 0.22);
  font-size: 13px;
  line-height: 1.38;
}

body.zzv3 .chat_main .chat-messages-wrapper .message-media {
  border-radius: 16px;
}

body.zzv3 .chat_main .chat-messages-wrapper .image-file,
body.zzv3 .chat_main .chat-messages-wrapper .tag_chat_gif_image,
body.zzv3 .chat_main .chat-messages-wrapper .message-media img,
body.zzv3 .chat_main .chat-messages-wrapper .message-media video {
  max-height: 210px;
  object-fit: cover;
  border-radius: 15px;
}

body.zzv3 .chat_main .chat-messages-wrapper .tag_chat_opts {
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--zzv3-surface);
  border: 1px solid var(--zzv3-border);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 16, 19, 0.11);
}

body.zzv3 .chat_main .chat-messages-wrapper .deleteMessage {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0;
  color: var(--zzv3-muted);
  border-radius: 7px;
}

body.zzv3 .chat_main .chat-messages-wrapper .deleteMessage:hover {
  color: var(--zzv3-accent-strong);
  background: var(--zzv3-accent-soft);
}

body.zzv3 .chat_main .chat-messages-wrapper .message-seen span {
  right: 2px;
  bottom: 1px;
}

body.zzv3 .chat_main .chat-user-desc {
  min-height: 100%;
  color: var(--zzv3-text-soft);
}

body.zzv3 .chat_main .chat-user-desc img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 3px solid var(--zzv3-surface);
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--zzv3-border), 0 13px 28px rgba(15, 16, 19, 0.15);
}

body.zzv3 .chat_main .chat-user-desc .head-text {
  color: var(--zzv3-text);
}

body.zzv3 .chat_main .chat-user-desc .desc-text {
  color: var(--zzv3-muted);
}

body.zzv3 .chat_main .chat-textarea.btn-group {
  position: relative;
  z-index: 8;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-height: 102px;
  max-height: none;
  padding: 8px 10px 10px;
  overflow: visible;
  background: var(--zzv3-surface);
  border: 0;
  border-top: 1px solid var(--zzv3-border);
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(15, 16, 19, 0.035);
}

body.zzv3 .chat_main .chat-textarea > form {
  display: block;
  width: 100%;
  min-width: 0;
}

body.zzv3 .chat_main .chat-textarea .chat-btns-w {
  position: relative;
  z-index: 4;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 5px;
  min-height: 31px;
  padding: 0 2px 8px;
  overflow: visible;
}

body.zzv3 .chat_main .chat-textarea .chat-btns-w .chat_optns {
  display: inline-flex;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  width: 27px;
  min-width: 27px;
  height: 27px;
  min-height: 27px;
  padding: 0;
  color: var(--zzv3-accent-strong);
  background: transparent;
  border: 0;
  border-radius: 9px;
  line-height: 1;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

body.zzv3 .chat_main .chat-textarea .chat-btns-w .chat_optns:hover,
body.zzv3 .chat_main .chat-textarea .chat-btns-w .chat_optns.open,
body.zzv3 .chat_main .chat-textarea .chat-btns-w .chat_optns.show {
  color: var(--zzv3-purple);
  background: var(--zzv3-accent-soft);
  transform: translateY(-1px);
}

body.zzv3 .chat_main .chat-textarea .chat-btns-w .chat_optns svg {
  width: 20px;
  height: 20px;
}

body.zzv3 .chat_main .chat-textarea textarea#sendMessage {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 96px !important;
  margin: 0 !important;
  padding: 10px 82px 10px 14px !important;
  overflow-y: auto;
  color: var(--zzv3-text) !important;
  caret-color: var(--zzv3-purple);
  background: var(--zzv3-surface-raised) !important;
  border: 1px solid var(--zzv3-border-strong) !important;
  border-radius: 16px !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 13px;
  line-height: 20px;
  opacity: 1 !important;
  pointer-events: auto !important;
  resize: none;
}

body.zzv3 .chat_main .chat-textarea textarea#sendMessage:focus {
  background: var(--zzv3-surface) !important;
  border-color: var(--zzv3-purple) !important;
  box-shadow: 0 0 0 3px var(--zzv3-accent-soft) !important;
}

body.zzv3 .chat_main .chat-textarea textarea#sendMessage::placeholder {
  color: var(--zzv3-muted) !important;
  opacity: 1;
}

body.zzv3 .chat_main .chat-textarea .tag_chat_emoji {
  z-index: 6;
  right: 51px;
  bottom: 18px;
  color: var(--zzv3-muted);
}

body.zzv3 .chat_main .chat-textarea .tag_chat_emoji > div:first-child {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
}

body.zzv3 .chat_main .chat-textarea .tag_chat_emoji > div:first-child:hover,
body.zzv3 .chat_main .chat-textarea .tag_chat_emoji.open > div:first-child {
  color: var(--zzv3-accent-strong);
  background: var(--zzv3-accent-soft);
}

body.zzv3 .chat_main .zzv37-chat-send {
  position: absolute;
  z-index: 7;
  right: 12px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--zzv3-muted);
  background: var(--zzv3-surface-hover);
  border: 0;
  border-radius: 11px;
  outline: 0;
  box-shadow: none;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.zzv3 .chat_main .zzv37-chat-send svg {
  width: 18px;
  height: 18px;
}

body.zzv3 .chat_main .zzv37-chat-send.is-ready {
  color: #fff;
  background: linear-gradient(145deg, var(--zzv3-purple), #7047da);
  box-shadow: 0 7px 17px rgba(112, 71, 218, 0.28);
}

body.zzv3 .chat_main .zzv37-chat-send:hover,
body.zzv3 .chat_main .zzv37-chat-send:focus-visible {
  color: #fff;
  background: var(--zzv3-purple);
  box-shadow: 0 7px 17px rgba(112, 71, 218, 0.28);
  transform: translateY(-1px);
}

body.zzv3 .chat_main .zzv2-chat-file-preview,
body.zzv3 .chat_main .zz-file-preview {
  gap: 10px;
  margin: 0 0 8px;
  padding: 9px 10px;
  color: var(--zzv3-text);
  background: var(--zzv3-accent-soft);
  border: 1px solid var(--zzv3-border-strong);
  border: 1px solid color-mix(in srgb, var(--zzv3-purple) 28%, var(--zzv3-border));
  border-radius: 13px;
}

body.zzv3 .chat_main .zzv2-chat-file-preview .name,
body.zzv3 .chat_main .zz-file-preview .name {
  color: var(--zzv3-text);
  font-size: 12.5px;
}

body.zzv3 .chat_main .zzv2-chat-file-preview .size,
body.zzv3 .chat_main .zz-file-preview .size {
  color: var(--zzv3-muted);
}

body.zzv3 .chat_main .zzv2-chat-file-preview .remove,
body.zzv3 .chat_main .zz-file-preview .remove {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--zzv3-muted);
  border-radius: 8px;
}

body.zzv3 .chat_main .zzv2-chat-file-preview .remove:hover,
body.zzv3 .chat_main .zz-file-preview .remove:hover {
  color: #ef476f;
  background: rgba(239, 71, 111, 0.11);
}

body.zzv3 .chat_main .zzv37-chat-latest {
  position: absolute;
  z-index: 6;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--zzv3-accent-strong);
  background: var(--zzv3-surface);
  border: 1px solid var(--zzv3-border-strong);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 16, 19, 0.17);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.94);
  transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}

body.zzv3 .chat_main .zzv37-chat-latest.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body.zzv3 .chat_main .zzv37-chat-latest:hover {
  color: #fff;
  background: var(--zzv3-purple);
  border-color: transparent;
}

body.zzv3 .chat_main .zzv37-chat-latest svg {
  width: 18px;
  height: 18px;
}

body.zzv3 .chat_main.zzv37-minimized .chat-wrapper {
  box-shadow: 0 14px 34px rgba(15, 16, 19, 0.2);
}

body.zzv3 .chat_main.zzv37-minimized .online-toggle-hdr {
  border-bottom: 0;
}

@media (max-width: 1100px) and (min-width: 768px) {
  body.zzv3 .chat_main .zzv37-promoted-action {
    display: none;
  }

  body.zzv3 .chat_main .close-chat {
    gap: 1px;
    margin-left: 3px;
  }

  body.zzv3 .chat_main .wow_chat_hdr_usr .avatar {
    flex-basis: 34px;
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  body.zzv3 .chat_main .wow_chat_hdr_usr .avatar img,
  body.zzv3 .chat_main .wow_chat_hdr_usr .cht_hd_avtr {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 767px) {
  body.zzv3 .chat_main .zzv37-promoted-action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.zzv3 .chat_main *,
  body.zzv3 .chat-container * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
