@import "/assets/css/_lib";

.collection_card {
    &.scroll {
        position: relative;
        display: inline-block;
        padding: 0 10px;
        width: 292px;
        vertical-align: top;
        @include pc {
            width: 20%;
            box-sizing: border-box;
        }
    }
}
.collection_wrap {
    overflow: hidden;
    position: relative;
    display: block;
    border-radius: 16px;
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 1px solid #ddd;
        border-radius: 16px;
    }
}
.collection_area {
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
    z-index: 2;
    .cover {
        overflow: hidden;
        position: relative;
        height: 89px;
        background-color: #eee;
        z-index: 1;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .profile {
        margin-top: -40px;
    }
}
.title {
    @include ellipsis;
    padding-top: 5px;
}
.author {
    @include ellipsis;
    .text {
        color: #888;
        font-size: 12px;
        margin-right: 5px;
    }
}
.collection_info {
    padding-top: 12px;
    font-size: 13px;
    line-height: 17px;
}
.info_area {
    @include ellipsis;
    .text {
        margin-right: 9px;
        color: #888;
    }
}