<style>
.w-tab-menu, .tabs-menu {
  position: relative;
  overflow: visible;
}

/* Remove insets — pill will match the link exactly */
.w-tab-menu::before, .tabs-menu::before {
  content: "";
  position: absolute;

  /* Anchor to content box */
  top:  var(--pad-top, 0px);
  left: var(--pad-left, 0px);

  /* Translate to active link */
  transform: translate(var(--hl-x, 0px), var(--hl-y, 0px));

  /* Exact same size as active link */
  width:  var(--hl-w, 0px);
  height: var(--hl-h, 0px);

  background: #b2d6ff;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  transition:
    transform 280ms cubic-bezier(.22,.61,.36,1),
    width     280ms cubic-bezier(.22,.61,.36,1),
    height    280ms cubic-bezier(.22,.61,.36,1);
}

.w-tab-link, .tab-link {
  position: relative;
  z-index: 1;
}
</style>
