.bl-user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 80;
}

.bl-user-menu-trigger {
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at top right, rgba(167,255,0,.10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  color: #fff;
  min-height: 46px;
  padding: 6px 10px 6px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
}

.bl-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  background: linear-gradient(135deg, #3b00b9, #fe03b0);
  color: #fff;
  flex: 0 0 auto;
}

.bl-user-meta {
  display: grid;
  text-align: left;
  line-height: 1.05;
  min-width: 0;
}

.bl-user-meta strong {
  font-size: 13px;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-user-meta small {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(255,255,255,.58);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-user-caret {
  color: rgba(255,255,255,.58);
  font-size: 13px;
  transform: translateY(-1px);
}

.bl-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(18,18,24,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.34);
  padding: 8px;
  display: none;
  backdrop-filter: blur(16px);
}

.bl-user-menu.is-open .bl-user-dropdown {
  display: grid;
  gap: 4px;
}

.bl-user-dropdown a {
  color: #fff;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
}

.bl-user-dropdown a:hover {
  background: rgba(255,255,255,.07);
}

.bl-user-dropdown a.bl-logout {
  color: #ffd4e8;
}

.bl-user-dropdown a.bl-logout:hover {
  background: rgba(254,3,176,.12);
}

@media (max-width: 760px) {
  .bl-user-meta {
    display: none;
  }

  .bl-user-dropdown {
    right: -8px;
  }
}
