Making the necessary modifications turned out to be easier than describing them properly, so here is a cloze card template with Memrise styling for you:
It is only a draft, as I still have quite a backlog of changes and fixes to implement in the original template before I can invest much time into this, but the basic functionality seems to work, and if you require any further adjustments for this cloze template, I might be able to provide some help with those.