.vm-switcher-wrap{
  position: relative;
  z-index: 10001;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
  padding-top: 6px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

/* Nur direkte Inhalte begrenzen, nicht stumpf alles */
.vm-switcher-wrap > *{
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Plugin-Bereich im Dropdown zurück auf vernünftige Maße */
.vm-switcher-wrap .as_header{
  min-width: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  clear: none !important;
}

/* Listen normalisieren */
.vm-switcher-wrap ul,
.vm-switcher-wrap li{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Links im Switcher passend zum Menü */
.vm-switcher-wrap a{
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  color: var(--vmbs-gold2);
  box-sizing: border-box;
  transition: all .2s ease;
}

.vm-switcher-wrap a:hover{
  background: #0a0c0c78;
  box-shadow: inset 0 0 0 1px rgba(210,179,107,0.18);
}

/* Bilder */
.vm-switcher-wrap img{
  width: auto;
  max-width: 24px;
  max-height: 24px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

/* AccountSwitcher Header im Dropdown nicht floaten lassen */
.vm-switcher-wrap #accountswitcher_header{
  float: none !important;
  position: relative !important;
  width: 100%;
  display: block;
}

/* Popup im Dropdown korrekt unter dem Trigger */
.vm-switcher-wrap #accountswitcher_header_popup{
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  display: none;
  opacity: 1;
  padding: 6px 0 0 0 !important;
  z-index: 10020 !important;
  width: 100%;
}

/* wenn Plugin per hover arbeitet */
.vm-switcher-wrap #accountswitcher_header:hover #accountswitcher_header_popup,
.vm-switcher-wrap #accountswitcher_header:focus-within #accountswitcher_header_popup{
  display: block;
}

/* innere Liste des Popups */
.vm-switcher-wrap #accountswitcher_header_popup ul{
  position: relative !important;
  left: auto !important;
  margin-top: 0 !important;
  min-width: 220px !important;
  width: 100% !important;
  padding: 6px !important;
  border-radius: 8px;
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
  white-space: normal !important;
  box-sizing: border-box;
  border: 1px solid var(--line2);
  background: radial-gradient(at 55% 45%, rgba(210, 179, 107, 0.10), rgba(0, 0, 0, 0.35)), var(--bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);   
}

/* Userbits im Popup */
.vm-switcher-wrap .as_head_userbit,
.vm-switcher-wrap .as_head_drop,
.vm-switcher-wrap .as_side_user{
  white-space: normal !important;
  height: auto !important;
  display: block;
}