Cosmopolitanism is the belief in universal human rights, regardless of time or place. That each of us is a citizen of the world first, country second. It also denotes a law and morality that transcends all, and must be applied to everyone equally. But cosmopolitanism is more than just a recognition of the universal rights of others.
Self-identified libertarians have a variety of core principles, and different stressors can push some towards more nefarious ideologies, like the far-right