/* Мои аккаунты GhostID: выпадающий список у имени, без рамок */
#profAccountsBtn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b8b93;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 11px;
  transition: color .16s ease, background .16s ease;
}
#profAccountsBtn:hover,
#profAccountsBtn.is-open { color: #e6e6ea; background: rgba(255, 255, 255, .07); }
#profAccountsBtn i { transition: transform .18s ease; }
#profAccountsBtn.is-open i { transform: rotate(180deg); }

.gs-profile-name-row { position: relative; width: fit-content; max-width: 100%; }

.gs-accounts-menu {
  position: fixed;
  z-index: 120;
  width: max-content;
  min-width: 210px;
  max-width: min(260px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 16px;
  background: rgba(20, 20, 26, .30);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0;
  transform: translateY(-6px) scale(.95);
  transform-origin: left top;
  transition: opacity .17s ease, transform .2s cubic-bezier(.2, .9, .25, 1);
  will-change: opacity, transform;
}
.gs-accounts-menu[hidden] { display: none; }
.gs-accounts-menu.is-open { opacity: 1; transform: none; }
.gs-accounts-menu.is-closing {
  opacity: 0;
  transform: translateY(-4px) scale(.97);
  pointer-events: none;
  transition: opacity .13s ease, transform .15s ease;
}

.gs-accounts-menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px 4px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7d7d86;
}
.gs-accounts-menu-head span:last-child { text-transform: none; letter-spacing: 0; }

.gs-accounts-list { display: flex; flex-direction: column; }

.gs-accounts-list.is-entering > * {
  animation: gsAccRowIn .26s cubic-bezier(.2, .9, .25, 1) both;
  animation-delay: calc(var(--gs-i, 0) * 24ms);
}

@keyframes gsAccRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.gs-accounts-menu.is-open .gs-accounts-menu-add {
  animation: gsAccRowIn .26s cubic-bezier(.2, .9, .25, 1) both;
  animation-delay: 90ms;
}

@media (prefers-reduced-motion: reduce) {
  .gs-accounts-menu { transition: opacity .1s ease; transform: none; }
  .gs-accounts-menu.is-closing { transform: none; }
  .gs-accounts-list.is-entering > *,
  .gs-accounts-menu.is-open .gs-accounts-menu-add { animation: none; }
}

.gs-acc-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #f0f0f3;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.gs-acc-row:hover { background: rgba(255, 255, 255, .06); }
.gs-acc-row.is-current { cursor: default; }
.gs-acc-row.is-current:hover { background: transparent; }

.gs-acc-avatar {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, .28);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.gs-acc-avatar img,
.gs-acc-avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }

.gs-acc-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.gs-acc-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-acc-handle { font-size: 11px; color: #7d7d86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gs-acc-check { color: #a855f7; font-size: 11px; }
.gs-acc-drop {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #6f6f78;
  cursor: pointer;
  opacity: 0;
}
.gs-acc-row:hover .gs-acc-drop { opacity: 1; }
.gs-acc-drop:hover { color: #ff8f8f; background: rgba(255, 90, 90, .14); }

.gs-acc-empty { padding: 8px 10px; font-size: 12px; color: #7d7d86; }

.gs-accounts-menu-add {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #a855f7;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.gs-accounts-menu-add:hover { background: rgba(168, 85, 247, .12); }
.gs-accounts-menu-add i { font-size: 11px; }

.gs-acc-avatar.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
