.rls-group {
  margin: 0 0 18px 0;
}

.rls-preview-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px 0;
}

.rls-preview {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 14px;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

.rls-preview-text {
  min-width: 0;
}

.rls-preview-value {
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.3;
  font-weight: 500;
  word-break: break-word;
}

.rls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.rls-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #d9d9d9;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.rls-btn:hover {
  transform: scale(1.05);
}

.rls-btn.active {
  border-color: #8f8f8f;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px #bcbcbc;
}

@media (max-width: 640px) {
  .rls-preview {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .rls-preview-value {
    font-size: 14px;
  }

  .rls-row {
    gap: 8px;
  }

  .rls-btn {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
