.list-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    font-family: "Noto Sans JP", sans-serif;
}

.list-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.list-filter-search {
    width: min(360px, 100%);
}

.list-filter-input {
    min-width: 220px;
}

.list-sort-button.is-active {
    background: var(--_koda---bg_label);
    color: #fff;
    padding: 2px 10px;
}

.list-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* flex-wrap: wrap; */
    row-gap: 8px;
    font-family: "Noto Sans JP", sans-serif;
}

.list-sort-button {
    min-height: auto;
    padding: 2px 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.list-sort-button::after {
    font: var(--fa-font-solid);
    font-weight: 900;
    margin-left: 0.4em;
    display: inline-block;
}

.list-sort-button[data-order="asc"]::after {
    content: "\f884";
}

.list-sort-button[data-order="desc"]::after {
    content: "\f160";
}

.list-sort-separator {
    margin: 0 4px;
}

@media screen and (max-width: 767px) {
    .list-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-filter,
    .list-sort {
        width: 100%;
    }

    .list-sort {
        justify-content: flex-start;
    }

    .list-filter-input {
        min-width: 0;
        width: 100%;
    }

    .list-filter-search {
        width: 100%;
    }
}

@media screen and (max-width: 479px) {
    .list-sort {
        flex-wrap: wrap;
    }

    .list-sort-button {
        white-space: normal;
    }
}
