.vr-auth-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.vr-auth-trigger {
  border: 1px solid rgba(29, 29, 31, .10);
  background: rgba(255, 255, 255, .82);
  color: #1D1D1F;
  border-radius: 999px;
  min-height: 42px;
  padding: 5px 12px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .36);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  font: inherit;
}

.vr-auth-trigger:hover,
.vr-auth-trigger[aria-expanded="true"] {
  background: #FFFFFF;
  border-color: rgba(255, 153, 0, .30);
  box-shadow: 0 14px 34px -24px rgba(15, 23, 42, .44);
}

.vr-auth-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #D99A45, #5B7CFA);
  flex-shrink: 0;
}

.vr-auth-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  min-width: 0;
}

.vr-auth-name {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 800;
  color: #1D1D1F;
}

.vr-auth-plan {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.18;
  font-weight: 600;
  color: #86868B;
}

.vr-auth-chevron {
  width: 14px;
  height: 14px;
  color: #6E6E73;
  transition: transform .18s ease;
  flex-shrink: 0;
}

.vr-auth-trigger[aria-expanded="true"] .vr-auth-chevron {
  transform: rotate(180deg);
}

.vr-auth-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(29, 29, 31, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  z-index: 1000;
}

.vr-auth-menu.open {
  display: block;
}

.vr-auth-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid rgba(29, 29, 31, .08);
  margin-bottom: 6px;
}

.vr-auth-menu-title {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  color: #1D1D1F;
}

.vr-auth-menu-sub {
  font-size: 12px;
  color: #86868B;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 166px;
}

.vr-auth-menu a,
.vr-auth-menu button,
.vr-auth-mobile-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #475569;
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.vr-auth-menu a:hover,
.vr-auth-menu button:hover {
  background: rgba(255, 153, 0, .10);
  color: #A85F00;
}

.vr-auth-logout {
  color: #DC2626 !important;
}

.vr-auth-mobile-item {
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  text-align: left;
}

.vr-auth-mobile-item:hover {
  color: #FF9900;
}

.site-header .vr-auth-trigger,
.site-header .vr-auth-menu {
  background: rgba(15, 23, 42, .78);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.site-header .vr-auth-trigger:hover,
.site-header .vr-auth-trigger[aria-expanded="true"] {
  background: rgba(15, 23, 42, .92);
  border-color: rgba(103, 232, 249, .26);
}

.site-header .vr-auth-name,
.site-header .vr-auth-menu-title {
  color: #F8FAFC;
}

.site-header .vr-auth-plan,
.site-header .vr-auth-menu-sub,
.site-header .vr-auth-chevron {
  color: #94A3B8;
}

.site-header .vr-auth-menu a,
.site-header .vr-auth-menu button {
  color: #CBD5E1;
}

.site-header .vr-auth-menu a:hover,
.site-header .vr-auth-menu button:hover {
  background: rgba(103, 232, 249, .10);
  color: #E0F2FE;
}

@media (max-width: 640px) {
  .vr-auth-copy {
    display: none;
  }

  .vr-auth-trigger {
    min-height: 38px;
    padding: 4px 9px 4px 4px;
  }

  .vr-auth-avatar {
    width: 30px;
    height: 30px;
  }

  .vr-auth-menu {
    right: -42px;
    width: 232px;
  }
}
