Don't worry, they're not lost, as FF makes several backups. You'll find a recovery procedure in the FF documentation.
Even if you load FF and tell it to forget everything, you can still get to the settings as long as too many boot processes have overlaid the backups with the new (blank) ones.