- Visit about:config
- Search and enable toolkit.legacyUserProfileCustomizations.stylesheets
- Visit about:support
- Click on Open Directorywhich is to the right ofProfile Directory
- Create a new folder called chrome
- Open chrome and create a new file named userChome.css
- Paste the following
#tabbrowser-tabs {
  visibility: collapse;
}
#titlebar #TabsToolbar {
  background-color: var(--toolbar-bgcolor);
  background-image: var(--toolbar-bgimage);
  padding-top: 5px;
}
Tested on Firefox v100.0.2.