Испытание: первая раскладка 9/20. Как то так.

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
}

body {
    min-width: 550px;
    min-height: 250px;
    padding: 10px;
}

.cards {
    width: 500px;
}

.cards li::before {
    font-family: "Courier", monospace;
}

li:not(:first-of-type):not(:nth-of-type(4)){
    margin-left: -15px;
}

li:not(:nth-of-type(4)) {
    width: 36px;
    height: 54px;
}

li:nth-of-type(4) {
    margin-right: 30px;
    margin-left: 15px;
}

ul:not(:last-of-type) li.diamond:not(.nine) {
    background-color: #0099ff;
}

li.seven:not(.club) {
    background-color: #ff3300;
}

ul:last-of-type li:nth-of-type(3n) {
    background-color: #339933;
}