.catalog-difficulty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  row-gap: 7px;
  margin-bottom: 18px;
}
.catalog-difficulty > span { font-weight: 700; }
.catalog-difficulty .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.difficulty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #eee7f7;
  color: #472a6e;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.difficulty-badge[data-level="warmup"] { background: #daf0e5; color: #205340; }
.difficulty-badge[data-level="expert"] { background: #462a69; color: #fff; }

.difficulty-mark {
  display: inline-flex;
  flex: none;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.difficulty-mark > span {
  width: 3px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 1px;
  opacity: .4;
}
.difficulty-mark > span:nth-child(2) { height: 8px; }
.difficulty-mark > span:nth-child(3) { height: 11px; }
.difficulty-mark > span:first-child,
.difficulty-mark[data-level="standard"] > span:nth-child(2),
.difficulty-mark[data-level="expert"] > span {
  background: currentColor;
  opacity: 1;
}
