/* Ported games use the same compact category buttons as the tools section. */
body.ported-game-list-page .soft-list-page .list-nav li {
    flex: 0 0 auto;
    background: transparent !important;
}
body.ported-game-list-page .soft-list-page .list-nav li > a {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
}
/* Keep the four platforms balanced and labels complete on phones. */
@media (max-width: 480px) {
    body.ported-game-list-page .soft-list-page .list-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.ported-game-list-page .soft-list-page .list-nav li {
        width: 100%;
    }
    body.ported-game-list-page .soft-list-page .list-nav li:first-child {
        grid-column: 1 / -1;
    }
    body.ported-game-list-page .soft-list-page .list-nav li > a {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}
