#tabs {
  grid-area: tabs;
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

#tabs::-webkit-scrollbar {
  display: none;
}

#tabList {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  padding: 0 16px;
}

/* the list item is what stretches to the bar's height; without this the tab
   inside it keeps its own content height and rides the top edge */
#tabList li {
  display: flex;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--dim);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}

a.tab:hover {
  color: var(--text);
}

.tab[aria-current] {
  border-bottom-color: var(--accent);
  color: var(--text);
}

.tab-soon {
  color: var(--ghost);
}

.badge {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
