@media (prefers-color-scheme: dark) {
:root #TabsToolbar .titlebar-buttonbox .titlebar-close,
:root #TabsToolbar #TabsToolbar-close {
	background: url("../titlebuttons/titlebutton-close-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox .titlebar-max,
:root #TabsToolbar #TabsToolbar-max {
	background: url("../titlebuttons/titlebutton-maximize-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox .titlebar-min,
:root #TabsToolbar #TabsToolbar-min {
	background: url("../titlebuttons/titlebutton-minimize-dark.svg") no-repeat;
	background-size: contain;
}
:root[sizemode="maximized"] #TabsToolbar .titlebar-buttonbox .titlebar-max,
:root[sizemode="maximized"] #TabsToolbar #TabsToolbar-max {
	background: url("../titlebuttons/titlebutton-maximize-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-close,
:root #TabsToolbar #TabsToolbar-close:hover {
	background: url("../titlebuttons/titlebutton-close-hover-inactive-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-max,
:root #TabsToolbar #TabsToolbar-max:hover {
	background: url("../titlebuttons/titlebutton-maximize-hover-inactive-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-min,
:root #TabsToolbar #TabsToolbar-min:hover {
	background: url("../titlebuttons/titlebutton-minimize-hover-inactive-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-close:hover,
:root #TabsToolbar #TabsToolbar-close:hover {
	background: url("../titlebuttons/titlebutton-close-hover-dark.svg") no-repeat;
	background-size: contain;
	transition: background-size 300ms cubic-bezier(0.0, 0.0, 0.2, 1);
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-max:hover,
:root #TabsToolbar #TabsToolbar-max:hover {
	background: url("../titlebuttons/titlebutton-maximize-hover-dark.svg") no-repeat;
	background-size: contain;
	transition: background-size 300ms cubic-bezier(0.0, 0.0, 0.2, 1);
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-min:hover,
:root #TabsToolbar #TabsToolbar-min:hover {
	background: url("../titlebuttons/titlebutton-minimize-hover-dark.svg") no-repeat;
	background-size: contain;
	transition: background-size 300ms cubic-bezier(0.0, 0.0, 0.2, 1);
}
:root[sizemode="maximized"] #TabsToolbar .titlebar-buttonbox:hover .titlebar-max,
:root[sizemode="maximized"] #TabsToolbar #TabsToolbar-max:hover {
	background: url("../titlebuttons/titlebutton-unmaximize-hover-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-close:active,
:root #TabsToolbar #TabsToolbar-close:active {
	background: url("../titlebuttons/titlebutton-close-active-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-max:active,
:root #TabsToolbar #TabsToolbar-max:active {
	background: url("../titlebuttons/titlebutton-maximize-active-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar .titlebar-buttonbox:hover .titlebar-min:active,
:root #TabsToolbar #TabsToolbar-min:active {
	background: url("../titlebuttons/titlebutton-minimize-active-dark.svg") no-repeat;
	background-size: contain;
}
:root[sizemode="maximized"] #TabsToolbar .titlebar-buttonbox:active .titlebar-max:active,
:root[sizemode="maximized"] #TabsToolbar #TabsToolbar-max:active {
	background: url("../titlebuttons/titlebutton-unmaximize-active-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox .titlebar-close,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-close {
	background: url("../titlebuttons/titlebutton-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox .titlebar-max,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-max {
	background: url("../titlebuttons/titlebutton-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox .titlebar-min,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-min {
	background: url("../titlebuttons/titlebutton-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root[sizemode="maximized"] #TabsToolbar:-moz-window-inactive .titlebar-buttonbox .titlebar-max,
:root[sizemode="maximized"] #TabsToolbar:-moz-window-inactive #TabsToolbar-max {
	background: url("../titlebuttons/titlebutton-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox:hover .titlebar-close,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-close:hover {
	background: url("../titlebuttons/titlebutton-close-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox:hover .titlebar-max,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-max:hover {
	background: url("../titlebuttons/titlebutton-maximize-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root #TabsToolbar:-moz-window-inactive .titlebar-buttonbox:hover .titlebar-min,
:root #TabsToolbar:-moz-window-inactive #TabsToolbar-min:hover {
	background: url("../titlebuttons/titlebutton-minimize-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root[sizemode="maximized"] #TabsToolbar:-moz-window-inactive .titlebar-buttonbox:hover .titlebar-max,
:root[sizemode="maximized"] #TabsToolbar:-moz-window-inactive #TabsToolbar-max:hover {
	background: url("../titlebuttons/titlebutton-unmaximize-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
:root[inFullscreen] #window-controls #restore-button {
	background: url("../titlebuttons/titlebutton-maximize-dark.svg") no-repeat;
	background-size: contain;
}
:root[inFullscreen] #window-controls #restore-button:hover {
	background: url("../titlebuttons/titlebutton-unmaximize-hover-dark.svg") no-repeat;
	background-size: contain;
}
:root[inFullscreen] #window-controls #restore-button:active {
	background: url("../titlebuttons/titlebutton-unmaximize-active-dark.svg") no-repeat;
	background-size: contain;
}
:root[inFullscreen] #window-controls:-moz-window-inactive #restore-button {
	background: url("../titlebuttons/titlebutton-backdrop-dark.svg") no-repeat;
	background-size: contain;
}
}
