<div class="tab-position">
<div class="tab pinned button-off unread">
<div class="tab-header">
</div>
</div>
</div>
<div class="tab-position">
<div class="tab button-off unread">
<div class="tab-header">
</div>
</div>
</div>
<div class="tab-position">
<div class="tab button-off unread">
<div class="tab-header">
</div>
</div>
</div>
.tab-position:has(> .pinned) {
/* . . . */
}