/* 列表样式 */
.opensource-list-wrapper {
    position: relative;
    width: 1000px;
}
.opensource-item {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 16px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}
.opensource-item .title-wrapper {
    width: 100%;
    height: 66px;
    padding: 0 20px;
    background: rgba(34,34,34,0.08);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.opensource-item .title-wrapper .title-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    margin-right: 10px;
    object-fit: scale-down;
}
.opensource-item .title-wrapper .title-text {
    /* flex: 1; */
    line-height: 25px;
    font-size: 18px;
    font-family: PingFangSC, PingFangSC-Semibold;
    font-weight: 600;
    color: #222222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.opensource-item .content-wrapper {
    width: 100%;
    padding: 20px 20px 0;
    line-height: 29px;
    font-size: 16px;
    font-family: PingFangSC, PingFangSC-Regular;
    color: #222222;
}
.opensource-item .content-wrapper.max-content-wrapper {
    max-height: calc(232px + 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}
.opensource-item .actions-wrapper {
    width: 100%;
    height: 44px;
    padding: 0 20px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.opensource-item .actions-wrapper .expand-btn {
    height: 29px;
    font-size: 16px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    color: #222222;
    display: flex;
    align-items: center;
}
.opensource-item .actions-wrapper .expand-btn img {
    width: 19px;
    height: 19px;
    margin-left: 1px;
}
.opensource-item .actions-wrapper .pay-btn {
    width: 148px;
    height: 44px;
    background: #308eff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
}
.opensource-item .actions-wrapper .pay-btn img {
    width: 14px;
    height: 14px;
    margin-right: 3px;
}
/* 详情页样式 */
.opensource-detail {
    position: relative;
    width: 1000px;
    margin-top: 10px;
    overflow: hidden;
}
.opensource-detail .opensource-item {
    margin-top: 0;
    padding-bottom: 40px;
}
.opensource-detail .opensource-item .pay-wrapper {
    margin: 35px auto 0;
    width: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
    cursor: pointer;
}
.opensource-detail .opensource-item .pay-wrapper img {
    width: 108px;
    height: 108px;
}
.opensource-detail .opensource-item .pay-wrapper span {
    margin-top: -4px;
}
.opensource-detail .opensource-card {
    width: 1000px;
    padding: 20px 0 40px;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 6px;
}
.opensource-detail .opensource-card .common-title {
    position: relative;
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    font-size: 16px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    color: #222222;
}
.opensource-detail .opensource-card .common-title:after {
    position: absolute;
    content: " ";
    left: 0;
    top: 13px;
    width: 2px;
    height: 14px;
    background: #308eff;
}
.opensource-order-wrapper .order-user-wrapper {
    width: 100%;
    max-height: 100px;
    overflow: hidden;
    padding: 0 35px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}
.opensource-order-wrapper .order-user-wrapper .avatar {
    margin: 10px 15px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.opensource-order-wrapper .order-user-wrapper .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.opensource-order-wrapper .order-user-wrapper .avatar:nth-of-type(17n) {
    margin-right: 0;
}
.opensource-comment-wrapper .comment-input {
    margin: 10px 20px 0;
    padding: 10px;
    width: 960px;
    height: 110px;
    background: #f7f7f7;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    color: #222;
    line-height: 20px;
    resize: none;
}
.opensource-comment-wrapper .comment-btn {
    width: 128px;
    height: 42px;
    line-height: 42px;
    margin-top: 8px;
    margin-left: 20px;
    padding: 0;
    border: none;
    background: #308eff;
    border-radius: 4px;
    font-size: 15px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}
.opensource-comment-wrapper .comment-btn:hover {
    background: #308eff !important;
    color: #fff !important;
}
.comment-list-wrapper {
    margin-top: 24px;
    padding: 0 20px;
}
.comment-list-wrapper .comment-item {
    width: 100%;
    margin-top: 8px;
}
.comment-list-wrapper .comment-item .top-info {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.comment-list-wrapper .comment-item .top-info .userinfo {
    display: flex;
    align-items: center;
}
.comment-list-wrapper .comment-item .top-info .userinfo .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.comment-list-wrapper .comment-item .top-info .userinfo .nickname {
    margin-left: 10px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #308eff;
}
.comment-list-wrapper .comment-item .top-info .time {
    font-size: 12px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #8f9aa8;
}
.comment-list-wrapper .content {
    max-width: 700px;
    margin-left: 50px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #1d2a3a;
    line-height: 20px;
    white-space: pre-wrap;
}
/* 空样式 */
.opensource-empty-wrapper {
    width: 1000px;
    height: 460px;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.opensource-empty-wrapper img {
    width: 154px;
    height: 116px;
    margin-top: 120px;
}
.opensource-empty-wrapper span {
    margin-top: -20px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
}
.opensource-empty-wrapper .create-btn {
    width: 154px;
    height: 38px;
    line-height: 38px;
    margin-top: 16px;
    background: #308eff;
    border-radius: 6px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
}
