Three to five short tabs
The tabs sit in one row, flush with the panel's edges. Short labels keep the row inside the 40em panel, especially on phones.
Let the panel change height
Part of the effect is the panel growing or shrinking to fit. Give the items different amounts of text and the move reads as intentional.
Keep the neck in proportion
22px suits the default tab size. A bigger radius needs more space between the tabs and the panel; the script caps it at what fits, so it never overshoots.
Pick an ink the text can sit on
The pill, neck and panel are all --mtb-ink. The lit label and the panel text have to read on it.