.user-menu-trigger {
  display: inline-grid !important;
  grid-template-columns: 34px auto auto;
  align-items: center;
  gap: 9px;
  min-height: 48px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 0 8px 24px #101c360b;
  text-decoration: none;
}
.user-menu-trigger .user-avatar {
  width: 34px;
  height: 34px;
}
.user-trigger-copy {
  display: grid;
  text-align: left;
  line-height: 1.2;
}
.user-trigger-copy b {
  font-size: 12px;
}
.user-trigger-copy small {
  color: var(--muted);
  font-size: 9px;
}
.user-drawer-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: #061a3d4d;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.user-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.user-drawer {
  position: fixed;
  z-index: 81;
  inset: 0 0 0 auto;
  width: min(390px, 92vw);
  padding: 24px;
  background: #f8faff;
  color: var(--ink);
  box-shadow: -24px 0 70px #061a3d35;
  transform: translateX(105%);
  transition: 0.28s;
  overflow-y: auto;
}
.user-drawer.open {
  transform: none;
}
.user-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.user-drawer-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.user-drawer-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 22px;
}
.user-drawer-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 4px;
}
.user-avatar-xl {
  flex: 0 0 58px;
  width: 58px !important;
  height: 58px !important;
  font-size: 21px;
}
.user-drawer-profile b,
.user-drawer-profile small,
.user-drawer-profile em {
  display: block;
}
.user-drawer-profile b {
  font-size: 18px;
}
.user-drawer-profile small {
  color: var(--muted);
}
.user-drawer-profile em {
  width: max-content;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #e7f9f4;
  color: #08745f;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.user-drawer-nav {
  display: grid;
  gap: 8px;
}
.user-drawer-nav a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.user-drawer-nav a > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 19px;
}
.user-drawer-nav b,
.user-drawer-nav small {
  display: block;
}
.user-drawer-nav small {
  color: var(--muted);
  font-size: 11px;
}
.user-drawer-nav i {
  color: var(--muted);
  font-size: 22px;
  font-style: normal;
}
.user-drawer-privacy {
  display: flex;
  gap: 11px;
  margin: 20px 0;
  padding: 15px;
  border-radius: 13px;
  background: #e7f9f4;
  color: #08745f;
}
.user-drawer-privacy p {
  margin: 0;
}
.user-drawer-privacy b,
.user-drawer-privacy small {
  display: block;
}
.user-drawer-privacy small {
  font-size: 10px;
}
.user-signout {
  width: 100%;
  padding: 12px;
  border: 1px solid #efcaca;
  border-radius: 11px;
  background: #fff;
  color: #b42318;
  font: inherit;
  font-weight: 800;
}
@media (max-width: 900px) {
  .user-menu-trigger,
  .user-drawer,
  .user-drawer-overlay {
    display: none !important;
  }
}
