Tab outlines: darker overlaps and blurred hover line with "Translucent window" (cause + CSS fix)

With Translucent window enabled (macOS), the default tab styling has two small rendering glitches. All rules involved come from Obsidian’s own app.css, so I’m sharing the cause and a CSS workaround here, in case it’s useful for theme authors and maybe for the team.

Before (inactive tab hovered, active tab on the right):
tabs-before

After the workaround below:
tabs-after

1. Darker segments where the tab outlines meet

.is-translucent:not(.is-fullscreen) sets --divider-color: rgba(0, 0, 0, 0.15), which --tab-outline-color inherits. The active tab’s ring (box-shadow: 0 0 0 1px), its two curved “ears” (::before / ::after with an inset box-shadow) and the border-bottom of .workspace-tab-header-container are all drawn in this semi-transparent colour. Wherever they overlap, the alpha compounds, so the joins show as darker segments instead of one continuous line.

2. Blurred line under a hovered tab

.workspace-tab-header:not(.is-active):hover adds inset 0 calc(var(--tab-outline-width) * -1) var(--tab-outline-width) 0 var(--divider-color). The 1px blur renders as a fuzzy second line on top of the tab bar’s rule. The divider next to the hovered tab also stays visible.

Workaround

/* Same 15% black, mixed into the bar colour: identical tone, but opaque */
.is-translucent:not(.is-fullscreen) {
  --tab-outline-color: color-mix(in srgb, black 15%, var(--tab-container-background));
}
/* No blurred inset line on hover */
.workspace-tab-header-container .workspace-tab-header:not(.is-active):hover {
  box-shadow: none;
}
/* Hide the dividers around a hovered tab */
.workspace .mod-root .workspace-tab-header:is(:hover, :has(+ :hover)) .workspace-tab-header-inner::after {
  opacity: 0;
}

Environment: Obsidian 1.14.5 (installer 1.14.5), Electron 43.8.3 / Chrome 150, macOS 27.2.