.collect-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.collect-layout .site-header,
.collect-layout .footer-box {
    flex-shrink: 0;
}

.collect-page {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    padding: 36px 0;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.collect-pc {
    width: 1554px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.collect-nav {
    display: none;
}

.collect-main {
    width: 1554px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.collect-breadcrumb {
    align-self: stretch;
    overflow: hidden;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.collect-breadcrumb-link {
    color: #FADC44;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.collect-breadcrumb-sep {
    color: #666666;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

.collect-breadcrumb-current {
    color: #8A8A8A;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

.collect-head {
    align-self: stretch;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.collect-title {
    margin: 0;
    color: white;
    font-size: 30px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 36px;
    flex-shrink: 0;
}

.collect-desc {
    margin: 0;
    color: #A3A3A3;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
}

.collect-tabs {
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    display: inline-flex;
}

.collect-tab {
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #A3A3A3;
    font-size: 12px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
    box-sizing: border-box;
}

.collect-tab--active {
    background: #FADC44;
    border: none;
    color: #181818;
    font-weight: 700;
}

.collect-grid {
    align-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;
    gap: 14px 16px;
}

.collect-card {
    width: 100%;
    min-width: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.collect-card-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.collect-card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collect-card-eps {
    position: absolute;
    right: 8px;
    bottom: 8px;
    height: 28px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.60);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 12px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    box-sizing: border-box;
    z-index: 2;
}

.collect-card-body {
    width: 100%;
    flex: 1 1 auto;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-sizing: border-box;
}

.collect-card-title {
    width: 100%;
    min-height: 20px;
    color: #F5F5F5;
    font-size: 14px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.collect-card-desc {
    width: 100%;
    min-height: 18px;
    color: #A3A3A3;
    font-size: 12px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collect-card-meta {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.collect-card-tag {
    min-width: 0;
    color: #8A8A8A;
    font-size: 12px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collect-card-spacer {
    flex: 1 1 0;
    min-width: 4px;
    height: 9px;
}

.collect-card-progress {
    flex-shrink: 0;
    color: #808080;
    font-size: 12px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

.collect-empty {
    width: 100%;
    grid-column: 1 / -1;
    padding: 48px 16px;
    text-align: center;
    color: #A3A3A3;
}

.collect-pagination {
    align-self: stretch;
    width: 100%;
    margin-top: 0;
}

.collect-pagination .pagination {
    width: 100%;
}

@media (max-width: 767px) {
    body.is-collect-page {
        background: #0A0A0A;
    }

    body.is-collect-page .site-header,
    body.is-collect-page .footer-box,
    body.is-collect-page .floating-action,
    body.is-collect-page .download-fab {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    body.is-collect-page .collect-layout {
        min-height: 100vh;
        background: #0A0A0A;
    }

    body.is-collect-page .collect-page {
        padding: 0;
        background: #0A0A0A;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        min-height: 100vh;
    }

    body.is-collect-page .collect-pc {
        display: none;
    }

    body.is-collect-page .collect-nav {
        position: sticky;
        top: 0;
        z-index: 40;
        width: 100%;
        height: 48px;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
        background: #181818;
    }

    body.is-collect-page .collect-nav-back {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    body.is-collect-page .collect-nav-back img {
        width: 24px;
        height: 24px;
        display: block;
        opacity: 0.65;
        filter: brightness(0) invert(1);
    }

    body.is-collect-page .collect-nav-title {
        margin: 0;
        flex: 1 1 0;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: 16px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
    }

    body.is-collect-page .collect-nav-spacer {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    body.is-collect-page .collect-main {
        width: calc(100% - 32px);
        max-width: 343px;
        margin: 0 auto;
        padding: 12px 0;
        align-items: stretch;
        gap: 12px;
        box-sizing: border-box;
    }

    body.is-collect-page .collect-tabs {
        width: auto;
        height: 42px;
        padding: 4px;
        background: rgba(255, 255, 255, 0.05);
        overflow: hidden;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: inline-flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4px;
        box-sizing: border-box;
        align-self: flex-start;
        margin: 0 auto;
    }

    body.is-collect-page .collect-tab {
        width: 109px;
        flex: 0 0 109px;
        min-width: 109px;
        height: 34px;
        padding: 0;
        background: transparent;
        border: none;
        overflow: hidden;
        border-radius: 9px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: rgba(255, 255, 255, 0.60);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        box-sizing: border-box;
    }

    body.is-collect-page .collect-tab--active {
        background: #FADC44;
        color: #171717;
        font-weight: 700;
    }

    body.is-collect-page .collect-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
        gap: 12px 7px;
    }

    body.is-collect-page .collect-card {
        width: 100%;
        border-radius: 10px;
    }

    body.is-collect-page .collect-card-body {
        background: rgba(255, 255, 255, 0.05);
    }

    body.is-collect-page .collect-card-title {
        color: rgba(255, 255, 255, 0.95);
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
    }

    body.is-collect-page .collect-card-desc {
        color: rgba(255, 255, 255, 0.60);
    }

    body.is-collect-page .collect-card-tag {
        color: rgba(255, 255, 255, 0.45);
    }

    body.is-collect-page .collect-card-progress {
        color: rgba(255, 255, 255, 0.45);
    }

    body.is-collect-page .collect-card-cover {
        height: 0;
        padding-bottom: calc(224 / 168 * 100%);
    }

    body.is-collect-page .collect-card-cover-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    body.is-collect-page .collect-pagination {
        margin-top: 0;
    }
}
