﻿.main {
    margin-top: 8px;
    background-color: #fff
}

    .main > .content {
        margin-top: 0;
        padding: 24px 0
    }

        .main > .content h1 {
            position: absolute;
            width: 0;
            height: 0;
            overflow: hidden
        }

        .main > .content > .filter {
            padding: 0 8px;
            font-size: 14px;
            margin-bottom: 22px;
            user-select: none
        }

.filter > .filter-wrapper {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 16px
}
    /* 左侧标题（语言/来源/年份/题型）不换行 */
    .filter > .filter-wrapper > .bold {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-top: 2px;
    }

    .filter > .filter-wrapper.form {
        margin-top: 24px;
        height: 32px
    }

    .filter > .filter-wrapper .label {
        margin-right: 4;
        font-weight: 700
    }

    .filter > .filter-wrapper.form .filter-content {
        width: 100%;
        display: flex;
        flex-flow: row nowrap;
        align-items: center
    }
    /* 右侧容器可收缩，配合 ul 换行 */
    .filter > .filter-wrapper .filter-content {
        flex: 1 1 auto;
        min-width: 0;
    }

        .filter > .filter-wrapper .filter-content > ul {
            display: flex;
            flex-flow: row wrap;
            align-items: flex-start;
            list-style: none;
            padding: 0;
            margin: 0;
            row-gap: 8px;
        }
            .filter > .filter-wrapper .filter-content > ul li {
                flex: 0 0 auto;
            }

                .filter > .filter-wrapper .filter-content > ul li a {
                    position: relative;
                    font-weight: 400;
                    color: rgba(0,0,0,.65);
                    line-height: 22px;
                    text-align: left;
                    font-style: normal;
                    margin-left: 20px;
                    margin-right: 20px;
                    display: inline-block;
                    white-space: nowrap;
                    word-break: keep-all;
                }

            .filter > .filter-wrapper .filter-content > ul li a:hover {
                color: var(--primary-color);
                text-decoration: underline
            }

            .filter > .filter-wrapper .filter-content > ul li a.active {
                color: #fff;
                padding: 4px 8px;
                background: var(--primary-color);
                border-radius: 4px;
                margin-left: 12px;
                margin-right: 12px
            }

.list table {
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 16px;
    color: rgba(0,0,0,.88)
}

    .list table thead {
        height: 54px;
        background: rgba(0,0,0,.02)
    }

        .list table thead tr th {
            position: relative;
            padding: 0 23px;
            height: 54px
        }

            .list table thead tr th.status {
                text-align: center
            }

            .list table thead tr th.point {
                padding-right: 16px
            }

            .list table thead tr th::after {
                content: ' ';
                display: block;
                position: absolute;
                margin: auto;
                top: 0;
                bottom: 0;
                right: 0;
                width: 1px;
                height: 24px;
                background: rgba(0,0,0,.06)
            }

            .list table thead tr th:last-child::after {
                display: none
            }

    .list table tbody tr {
        border-bottom: 1px solid rgba(0,0,0,.06)
    }

        .list table tbody tr td {
            padding: 16px 0;
            padding-left: 24px;
            box-sizing: border-box;
            text-align: left
        }

            .list table tbody tr td.status {
                padding: 0;
                width: 80px;
                text-align: center
            }

                .list table tbody tr td.status img {
                    display: block;
                    margin: auto;
                    width: 20px;
                    height: 20px
                }

            .list table tbody tr td.title {
                width: 398px;
                color: rgba(0,0,0,.88);
                font-size: 16px
            }

                .list table tbody tr td.title > div {
                    display: block;
                    width: 350px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap
                }

                    .list table tbody tr td.title > div > a {
                        color: var(--primary-color)
                    }

                        .list table tbody tr td.title > div > a:hover {
                            text-decoration: underline;
                            filter: brightness(1.1)
                        }

            .list table tbody tr td.difficulty {
                width: 88px
            }

                .list table tbody tr td.difficulty > .tag {
                    margin: auto;
                    width: auto;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    color: #fff;
                    border: 0
                }

                    .list table tbody tr td.difficulty > .tag.SIMPLE {
                        background: #87d068
                    }

                    .list table tbody tr td.difficulty > .tag.MEDIUM {
                        background: #108ee9
                    }

                    .list table tbody tr td.difficulty > .tag.DIFFICULT {
                        background: #ff9729
                    }

                    .list table tbody tr td.difficulty > .tag.HARD {
                        background: #f50
                    }

                    .list table tbody tr td.difficulty > .tag.NON {
                        background: 0 0;
                        color: rgba(0,0,0,.88);
                        border: 1px solid rgba(0,0,0,.15)
                    }

            .list table tbody tr td.source {
                width: 160px
            }

                .list table tbody tr td.source div {
                    width: 136px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis
                }

            .list table tbody tr td.point {
                width: 156px
            }

            .list table tbody tr td.level {
                width: 136px
            }

            .list table tbody tr td.year {
                width: 82px
            }

            .list table tbody tr td.type {
                width: 100px
            }

                .list table tbody tr td.level > .tag, .list table tbody tr td.point > .tag, .list table tbody tr td.type > .tag {
                    margin: auto;
                    width: auto;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap
                }
