+.tab-close-button {
+ margin-top: 1px;
+ padding: 0;
+}
+
+.tab-background,
+.tabs-newtab-button {
+ /* overlap the tab curves */
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
+}
+
+/* Tab Overflow */
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
+}
+
+.tab-background-start[visuallyselected=true]::after,
+.tab-background-start[visuallyselected=true]::before,
+.tab-background-start,
+.tab-background-end,
+.tab-background-end[visuallyselected=true]::after,
+.tab-background-end[visuallyselected=true]::before {
+}
+
+.tabbrowser-tab:not([visuallyselected=true]),
+.tabbrowser-tab:-moz-lwtheme {
+}
+
+/* tabbrowser-tab focus ring */
+.tabbrowser-tab:focus {
+ outline: 1px dotted;
+}
+
+/* Selected tab */
+
+.tabbrowser-tab[visuallyselected="true"] {
+}
+
+/* End selected tab */
+
+/* Tab pointer-events */
+/*
+.tabbrowser-tab {
+ pointer-events: none;
+}
+
+.tab-background-middle,
+.tabs-newtab-button,
+.tab-icon-overlay[soundplaying],
+.tab-icon-overlay[muted]:not([crashed]),
+.tab-icon-sound,
+.tab-close-button {
+ pointer-events: auto;
+}
+*/
+/* Pinned tabs */
+
+/*
+.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]),
+.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) {
+*/
+.tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) {
+ background-color: #E7ADE7;
+}
+
+.tab-label[attention]:not([visuallyselected="true"]) {
+ font-weight: bold;
+}
+
+.tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover {
+ background-color: #3333FF;
+ color: #000000;
+}
+
+/* Tab separators */
+/*
+.tabbrowser-tab::after,
+.tabbrowser-tab::before {
+ width: 1px;
+ margin-inline-start: -1px;
+ background-image: linear-gradient(transparent 5px,
+ currentColor 5px,
+ currentColor calc(100% - 4px),
+ transparent calc(100% - 4px));
+ opacity: 0.2;
+}
+
+#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before,
+#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after {
+ opacity: 0.4;
+}
+*/
+/* Also show separators beside the selected tab when dragging it. */
+/*
+#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
+.tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
+#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after {
+ content: "";
+ display: -moz-box;
+}
+*/
+/* New tab button */
+
+.tabs-newtab-button {
+ width: 28px;
+ /* width: calc(36px + var(--tab-curve-width)); */
+}
+@media (min-resolution: 1.1dppx) {
+ /* image preloading hack from like lowdpi styles */
+ #tabbrowser-tabs::before {
+ }
+
+ .tabbrowser-tab:hover > .tab-stack > .tab-background:not([visuallyselected=true]),
+ .tabs-newtab-button:hover {
+ }
+
+ .tab-background-middle[visuallyselected=true] {
+ }
+
+ .tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-icon-image {
+ list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
+ }
+}
+
+/* === END tabs.inc.css === */
+
+/* Tab DnD indicator */
+.tab-drop-indicator {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
+ margin-bottom: -11px;
+}
+
+/* Tab close button */