.yal-acct-menu {
  position: fixed;
  z-index: 13000;
  width: min(300px, calc(100vw - 24px));
  border-radius: 16px;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.yal-acct-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12999;
  background: transparent;
}

.yal-acct-menu-title {
  padding: 0.65rem 0.9rem 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #71767b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yal-acct-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.yal-acct-row:hover {
  background: rgba(231, 233, 234, 0.08);
}

.yal-acct-row.active {
  cursor: default;
}

.yal-acct-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #2f3336;
  background: #1d1f24;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.yal-acct-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yal-acct-meta {
  flex: 1;
  min-width: 0;
}

.yal-acct-name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.yal-acct-handle {
  color: #71767b;
  font-size: 0.92rem;
}

.yal-acct-check {
  color: #00ba7c;
  font-size: 1.1rem;
  font-weight: 700;
}

.yal-acct-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1d9bf0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yal-acct-verify {
  display: inline-block;
  vertical-align: text-bottom;
}

.yal-acct-lock {
  font-size: 0.85rem;
}

.yal-acct-divider {
  height: 1px;
  background: #2f3336;
  margin: 0;
}

.yal-acct-action {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  color: #e7e9ea;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.yal-acct-action:hover {
  background: rgba(231, 233, 234, 0.08);
}

.yal-acct-action.danger {
  color: #f4212e;
}

.yal-acct-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 14000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.yal-acct-modal {
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  padding: 1.1rem;
}

.yal-acct-modal h3 {
  margin: 0 0 0.75rem;
}

.yal-acct-modal label {
  display: block;
  margin: 0.55rem 0 0.25rem;
  color: #71767b;
  font-size: 0.9rem;
}

.yal-acct-modal input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.yal-acct-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.yal-acct-modal-actions button {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid #2f3336;
  background: transparent;
  color: #e7e9ea;
  cursor: pointer;
  font-weight: 700;
}

.yal-acct-modal-actions button.primary {
  background: #e7e9ea;
  color: #000;
  border-color: #e7e9ea;
}

.yal-acct-manage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #2f3336;
}

.yal-acct-manage-item:last-child {
  border-bottom: none;
}

.yal-acct-manage-remove {
  color: #f4212e;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.yal-acct-error {
  color: #f4212e;
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
