How assignments work
Every role is decided at once, with one aim: make the least happy player as happy as possible, then the next least happy, and so on.
The fairness rule
Each player ranks all six characters, from 1 (most wanted) to 6 (least wanted). When the last ranking is sealed, the court considers every way to give each player a different character: up to 720 of them.
For each way, it lists the ranks players would receive, worst first. It picks the way whose worst rank is lowest. If several tie, it compares the second-worst rank, then the third, and so on. So nobody gets a 6th choice if any arrangement avoids it, even when another arrangement has a lower total.
This is not voting in rounds or picking in turns. Every role is decided at once, and the order in which rankings are sealed makes no difference.
Breaking exact ties
If several arrangements are equally fair, a secret random seed chooses among them. The server creates the seed before anyone ranks, so it can't depend on how anyone ranked. Nobody can see the seed or the rankings through the app. The person who runs this site can technically read the database; they have committed not to look at rankings. See the privacy note.
Changing your mind
You can reopen and change your ranking as often as you like until every player has sealed. The moment the last ranking is sealed, every ranking locks and everyone sees the results together.
If the host removes a player who never sealed, the court waits for the host to reveal it instead.
Privacy
Individual rankings are never shown to anyone. After the reveal you see your own rank for your role, everyone's assigned role, and how many players got their 1st, 2nd, 3rd choice and so on.

