& {
	--titlebar-border-radius: 5px;
	@media (-moz-platform: macos) {
		--titlebar-border-radius: 10px; //Artificial minimum radii set by macOS's window manager (+the 1px border)
	}
	--tab-distance-from-top: 12px;
	&[sizemode="maximized"],
	&[sizemode="fullscreen"] {
		--tab-distance-from-top: 12px;
	}

	--titlebar-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
}
//NOTE: This border style ignores native titlebars
@import "../base";

// Visuals
&[is117Plus][windowtype="navigator:browser"] > body {
	border: 1px solid rgba(0, 0, 0, 0.2);
}

// Visuals: Maximised / Fullscreen
&[sizemode="fullscreen"] {
	--titlebar-box-shadow: none;

	--default-titlebar-active: #AAAAAA !important;
	--default-titlebar-inactive: #AAAAAA !important;
	@media (prefers-color-scheme: dark) {
		--default-titlebar-active: #2B2B2B !important;
		--default-titlebar-inactive: #2B2B2B !important;
	}
	#navigator-toolbox,
	#navigator-toolbox::before {
		border-radius: 0 !important;
	}
	&[is117Plus][windowtype="navigator:browser"] > body {
		border: 0;
	}
}