.x-chip {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  border: thin solid transparent;
  overflow: hidden;
}
.x-chip + .x-chip {
  margin-left: 4px;
}
.x-chip--underlay {
  position: absolute;
}
.x-chip--prepend {
  margin: 0 4px 0 -4px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.x-chip--append {
  margin: 0 -4px 0 4px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.x-chip--close {
  margin: 0 -4px 0 4px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
  cursor: pointer;
}
.x-chip.x-chip--tonal .x-chip--underlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  background-color: currentColor;
  opacity: 0.12;
  pointer-events: none;
}
.x-chip.x-chip--elevated {
  background-color: #000;
  color: white;
}
.x-chip.x-chip--outlined {
  border: thin solid currentColor;
}