/**
 * @name Compact Userarea
 * @author LuckFire
 * @description A compact, better looking, top-left user area.
 * @version 2.0.1
 * @invite vYdXbEzqDs
 * @authorId 399416615742996480
 * @source https://github.com/discord-extensions/compact-userarea
 * @updateUrl https://github.com/discord-extensions/compact-userarea/blob/main/clients/compact-userarea.theme.css
*/

@import url("https://discord-extensions.github.io/compact-userarea/src/source.css");

@keyframes top-bottom {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes left-right {
  0% {
    opacity: 0;
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes right-left {
  0% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateX(-4px);
  }
}
.platform-win .container_b2ca13 {
  top: 30px !important;
}
.platform-win .guilds_a4d4d9 {
  margin-top: 72px;
}

.platform-osx .container_b2ca13 {
  top: 30px !important;
}
.platform-osx .guilds_a4d4d9 {
  margin-top: 66px;
}

.platform-linux .container_b2ca13 {
  top: 8px !important;
}
.platform-linux .guilds_a4d4d9 {
  margin-top: 64px;
}

.platform-web .container_b2ca13 {
  top: 8px !important;
}
.platform-web .guilds_a4d4d9 {
  margin-top: 64px;
}

#app-mount .container_b2ca13 .avatarWrapper_b2ca13 {
  --avatar-size: 48px;
  position: relative;
  min-width: unset;
  padding: unset;
  margin: unset;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13:hover {
  background-color: transparent;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 {
  width: var(--avatar-size) !important;
  height: var(--avatar-size) !important;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13::after {
  content: "";
  display: block;
  position: relative;
  pointer-events: none;
  top: calc(100% + 8px);
  width: calc(100% - 16px);
  height: 2px;
  margin: auto;
  border-radius: 1px;
  background-color: var(--background-modifier-accent);
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 .mask_c51b4e {
  width: var(--avatar-size) !important;
  height: var(--avatar-size) !important;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 .mask_c51b4e > foreignObject {
  mask-image: url("#svg-mask-avatar-status-round-48");
  width: 100%;
  height: 100%;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 .mask_c51b4e .avatarStack_c51b4e {
  content: var(--avatar-source-override, "");
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 .pointerEvents_c51b4e {
  x: 30px;
  y: 30px;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 svg:has(~ .pointerEvents_c51b4e:empty) {
  overflow: unset;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 svg:has(~ .pointerEvents_c51b4e:empty) > rect {
  height: 25px !important;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatar_b2ca13 svg:has(~ .pointerEvents_c51b4e:empty) > mask > rect {
  x: 15px;
  y: 13px;
}
#app-mount .container_b2ca13 .avatarWrapper_b2ca13 .avatarDecoration_c51b4e {
  display: none;
}

#app-mount .container_b2ca13 .flex_bba380 {
  opacity: 0;
  position: relative;
  align-items: center;
  pointer-events: none;
  height: 40px;
  padding: 4px;
  padding-right: 6px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: var(--background-floating);
}

#app-mount .container_b2ca13 .nameTag_b2ca13 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 75px;
  max-width: 75px;
  height: 40px;
  padding: 4px;
  padding-left: 10px;
  margin: 0;
  margin-left: 20px;
  opacity: 0;
  pointer-events: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background-color: var(--background-floating);
}
#app-mount .container_b2ca13 .nameTag_b2ca13::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  width: 0;
  height: 0;
  margin-left: -20px;
  border: 5px solid transparent;
  border-top-color: var(--background-floating);
  border-left-width: 5px;
  transform: rotate(90deg);
}
#app-mount .container_b2ca13 .nameTag_b2ca13 .forceHover_c0d6c6 .default_c0d6c6 {
  transform: none;
  opacity: 1;
}
#app-mount .container_b2ca13 .nameTag_b2ca13 .forceHover_c0d6c6 .hovered_c0d6c6 {
  transform: none !important;
  opacity: 0;
}

#app-mount .panels_a4d4d9 {
  z-index: 0;
}
#app-mount .panels_a4d4d9 .container_b2ca13 {
  position: fixed;
  display: flex;
  flex-direction: row;
  left: 12px;
  padding: 0;
  background: transparent !important;
}
#app-mount .panels_a4d4d9 .container_b2ca13::before {
  opacity: 0;
  content: "";
  position: absolute;
  left: 68px;
  width: calc(100% - 68px);
  height: calc(100% - 12px);
  border-radius: 5px;
  box-shadow: var(--elevation-high);
}
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatar_b2ca13:hover), #app-mount .panels_a4d4d9:has(.container_b2ca13 .avatarWrapper_b2ca13:hover), #app-mount .panels_a4d4d9:has(.container_b2ca13 .flex_bba380:hover) {
  z-index: 1004;
}
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatar_b2ca13:hover) .flex_bba380,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatar_b2ca13:hover) .nameTag_b2ca13,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatar_b2ca13:hover) .container_b2ca13::before, #app-mount .panels_a4d4d9:has(.container_b2ca13 .avatarWrapper_b2ca13:hover) .flex_bba380,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatarWrapper_b2ca13:hover) .nameTag_b2ca13,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .avatarWrapper_b2ca13:hover) .container_b2ca13::before, #app-mount .panels_a4d4d9:has(.container_b2ca13 .flex_bba380:hover) .flex_bba380,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .flex_bba380:hover) .nameTag_b2ca13,
#app-mount .panels_a4d4d9:has(.container_b2ca13 .flex_bba380:hover) .container_b2ca13::before {
  opacity: 1;
  pointer-events: all;
}