.account-popover {
  height: auto;
  width: 280px;
  max-width: calc(100vw - 76px);
  max-height: calc(100dvh - 96px);
  padding: 8px;
  background: #262627;
  border: 1px solid #3a3a3d;
  border-radius: 8px;
  box-shadow: 0 8px 24px #0006;
  color: #b4b6b8;
  font-size: 14px;
  line-height: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  
}
.account-menu-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 10px;
  text-align: left;
  border-radius: 5px;
  flex-shrink: 0;
}
.account-popover .account-menu-button.action:hover {
  background: #343437 !important;
  color: #eeeef0;
  border-radius: 5px;
  box-shadow: none;
}
.account-popover .account-menu-button.action.selected {
  background: var(--selected) !important;
  color: #eeeef0;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(129,166,234,.25);
}
.account-menu-profile { min-height: 58px; padding: 8px; }
.account-menu-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: url('assets/f3920.png') -54.6px -55px / 521px 569px;
}
.account-menu-identity { display: grid; gap: 2px; min-width: 0; flex: 1; }
.account-menu-username { color: #eeeef0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-detail { color: #737578; font-size: 12px; white-space: nowrap; }
.account-menu-level { padding: 1px 5px; border-radius: 4px; background: #343437; color: #b4b6b8; font-size: 12px; }
.account-menu-quota {
  --quota-background: radial-gradient(ellipse at 8% 18%,#477cda55,transparent 66%),radial-gradient(ellipse at 96% 90%,#9063ef66,transparent 68%),linear-gradient(120deg,#202b46,#342b50);
  height: 64px;
  margin-top: 4px;
  padding: 0 12px;
  gap: 9px;
  background: var(--quota-background);
  border: 1px solid #819af23d;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 #c5d1ff14,0 3px 14px #192b6826;
  color: #e4e8ff;
}
.account-popover .account-menu-quota.action:hover,
.account-popover .account-menu-quota.action.selected {
  background: var(--quota-background) !important;
  border-radius: 9px;
  border-color: #9aaef075;
  box-shadow: inset 0 0 0 1px #a6b7ff12,0 4px 18px #38559126 !important;
  color: #f2f3ff;
}
.account-menu-quota-icon { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; color: #dfe8ff; background: linear-gradient(135deg,#b5d8ff24,#b89bff18); box-shadow: inset 0 0 0 1px #d2dcff20; }
.account-menu-quota .account-menu-label { font-size: 13px; font-weight: 500; }
.account-menu-count { color: #f3f4ff; font-size: 24px; font-weight: 600; letter-spacing: -.5px; white-space: nowrap; }
.account-menu-count small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: #c0c9ef; }
.account-menu-group { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #3a3a3d; }
.account-menu-row { height: 34px; }
.account-menu-icon { width: 18px; height: 18px; flex-shrink: 0; }
.account-menu-label { flex: 1; min-width: 0; white-space: nowrap; }
.account-menu-row .account-menu-icon:last-child { width: 14px; height: 14px; color: #737578; }
@media (max-width: 360px) {
  .account-menu-button { padding-left: 6px; padding-right: 6px; gap: 8px; }
}
