/**************隐藏顶部标签栏 2023.04.09**************/
#main-window:not([drawtitle="true"]):not([inFullscreen="true"]) 

#nav-bar { 
    margin-left : 30px;  /* leftTop drag area */
    border-right: 140px solid var(--toolbar-bgcolor); 
}
:root[sizemode="maximized"] #nav-bar { 
    margin-top: 10px !important;   /* Top drag area */
    margin-left : 0px !important;  /* hidden leftTop drag area in Fullscreen mode*/
    border-right: 140px solid var(--toolbar-bgcolor); 
}
:root[privatebrowsingmode="temporary"] #nav-bar { 
    border-right: 180px solid var(--toolbar-bgcolor) !important; 
}

/* move down to hidden titlebar */
#titlebar {
    margin-bottom: -31px !important;
}

/* move down 3 button on rightTop */
.titlebar-buttonbox-container {
  margin-bottom: -5px !important;
}
:root[sizemode="maximized"] .titlebar-buttonbox-container {
  margin-bottom: -15px !important;
}

/* move down private icon */
.private-browsing-indicator {
  margin-bottom: -8px !important;
}
:root[sizemode="maximized"] .private-browsing-indicator {
  margin-bottom: -18px !important;
}

/* hidden horizontal tabbar on top */
#tabbrowser-tabs[orient="horizontal"] {
    visibility: collapse !important;
}

#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] 
sidebarheader { 
    visibility: collapse !important; 
}
*/
/**************隐藏顶部标签栏 2023.04.09**************/