.container {
  display: flex;
  align-items: flex-end;
  row-gap: 8px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.container.bordered {
  border-bottom: 1px solid #d5d5d5;
}

.desktop ::slotted([slot=before]) {
  flex: 1 1 0px;
}
.desktop ::slotted([slot=center]) {
  flex: 0 1 fit-content;
}
.desktop ::slotted([slot=after]) {
  flex: 1 1 0px;
}

::slotted([slot=before]) {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

::slotted([slot=center]) {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

::slotted([slot=after]) {
  display: flex;
  justify-content: end;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}