.ai-pait {
    padding: 1rem;
    background-color: #fff;
}
.ai-pait .part1 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-pait .part1 .left {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}
.ai-pait .part1 .left .line {
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.ai-pait .part1 .left .line .back {
    width: 1rem;
    height: 1rem;
    margin: 0 0.3rem 1rem 0;
}
.ai-pait .part1 .left .line .describe {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
    color: #3276ff;
    text-decoration: underline;
}
.ai-pait .part1 .left .title {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: #080808;
}
.ai-pait .part1 .record {
    position: absolute;
    right: 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: #3276ff;
    text-decoration: underline;
    cursor: pointer;
}
.ai-pait .part2 {
}
.ai-pait .part2 .select {
    margin-top: 1rem;
}
.ai-pait .part2 .select .name {
    font-size: 0.7rem;
    font-weight: 500;
    color: #080808;
}
.ai-pait .part2 .select .list {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.ai-pait .part2 .select .list .item {
    width: auto;
    min-width: 5rem;
    padding: 0 0.25rem;
    line-height: 1.6rem;
    text-align: center;
    border-radius: 0.2rem;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4d88ff;
    border-radius: 0.2rem;
    border: solid 0.1rem #4d88ff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}    
.ai-pait .part2 .select .list .item.act {
    color: #fff;
    background-color: #4d88ff;
}
.ai-pait .part2 .select .list .item-style {
    position: relative;
}
.ai-pait .part2 .select .list .item-style .pick {
    display: none;
}
.ai-pait .part2 .select .list .item-style.act .pick {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
}

.ai-pait .part2 .select .list .item-style .img {
    width: 5rem;
    height: 5rem;
    border-radius: 0.25rem;
}
.ai-pait .part2 .select .list .item-style .msg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}
.ai-pait .part2 .select .list .size {
}
.ai-pait .part2 .select .list .size.act .size-wrap {
    border: solid 0.05rem #3276ff;
}
.ai-pait .part2 .select .list .size.act .detail {
    color: #3276ff;
}
.ai-pait .part2 .select .list .size .size-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0.25rem;
    background-color: rgba(50, 118, 255, 0.1);
    cursor: pointer;
}
.ai-pait .part2 .select .list .size .size-wrap .size-s {
    width: 1.6rem;
    height: 2.2rem;
    background-color: rgba(50, 118, 255, 0.5);
}
.ai-pait .part2 .select .list .size .size-wrap .size-s2 {
    width: 1.9rem;
    height: 1.9rem;
}
.ai-pait .part2 .select .list .size .size-wrap .size-s3 {
    width: 1.65rem;
    height: 2.5rem;
}
.ai-pait .part2 .select .list .size .detail {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: #222;
    text-align: center;
}

.ai-pait .btun {
    width: 20rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    margin: 2rem auto 0;
    border-radius: 0.4rem;
    background-color: #3276ff;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
}

.ai-pait .input-group {
    width: 100%;
}

.ai-pait .input-group .title {
    margin-bottom: 0;
    padding-top: 0.7rem;
    width: 4rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #080808;
}
.ai-pait .input-group .title .need {
    color: #ff0000;
}

.ai-pait .input-group textarea {
    width: 100%;
    border-radius: 0.4rem;
    border: solid 0.09rem rgba(0, 0, 0, 0.1);
    background-color: #f5f6fa;
    padding: 1rem;
    font-size: 0.7rem;
    margin-top: 0.6rem;
    height: 5rem;
    color: var(--detail-color);
}

.ai-pait .input-group textarea::placeholder {
    color: #08080866;
}

.ai-pait .van-tabs {
    margin-top: 1rem;
}

.ai-pait .van-tabs div#ai-paints-tabs-wrap .van-tab {
    flex: 0 0 auto;
    width: 5rem;
}

#ai-paints-tabs-wrap .van-tab .van-tab__text {
    line-height: 2.5rem;
}

#ai-paints-tabs-wrap .van-tab.van-tab--active .van-tab__text {
    color: #3276ff;
    font-size: 0.9rem;
}

#ai-paints-tabs-wrap {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1)
}

.van-tabs .van-tabs__wrap .van-tab--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 0.2rem;
    width: 1.5rem;
    background-color: var(--primary-text-color);
}

@media (max-width: 960px) {
    .ai-pait {
        padding: 0;
        background-color: #f5f6fa;
    }
    .ai-pait .van-tabs {
        margin-top: 5rem;
    }
    #ai-paints-tabs-wrap .van-tab .van-tab__text {
        line-height: 4rem;
    }
    #ai-paints-tabs-wrap .van-tab.van-tab--active .van-tab__text {
        font-size: 1.5rem;
    }
    div#ai-paints-tabs-wrap .van-tabs__nav {
        justify-content: center;
    }
    .ai-pait .van-tabs div#ai-paints-tabs-wrap .van-tab {
        width: 10rem;
        padding: 0;
        flex: 0 0 auto;
    }
    #ai-paints-tabs-wrap {
        background-color: #fff;
    }
    .van-tabs .van-tabs__wrap .van-tab--active::after {
        width: 2rem;
    }
    .ai-pait .part1 {
        height: 4.7rem;
        line-height: 4.7rem;
        background-color: #fff;
        border-top: solid 0.05rem rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 5.4rem;
        z-index: 2;
    }
    .ai-pait .part1 .left .line {
        left: 1rem;
    }
    .ai-pait .part1 .left .line .back {
        width: 2rem;
        height: 2rem;
        margin: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .ai-pait .part1 .left .line .describe {
        display: none;
    }
    .ai-pait .part1 .left .title {
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.44;
        color: #222;
    }

    .ai-pait .part1 .record {
        right: 1rem;
        font-size: 1.4rem;
        font-weight: 500;
        color: #3276ff;
    }
    .ai-pait .part2 {
        padding: 0 1rem;
    }
    .ai-pait .part2 .select {
        margin-top: 1.2rem;
    }
    .ai-pait .part2 .select .name {
        font-size: 1.4rem;
        color: #222;
    }
    .ai-pait .part2 .select .list {
        gap: 1.2rem;
        margin-top: 1rem;
    }
    .ai-pait .part2 .select .list .item {
        width: auto;
        max-width: 100%;
        line-height: 3rem;
        font-size: 1.2rem;
        border-radius: 0.35rem;
    }
    .ai-pait .part2 .select .list .item-style .img {
        width: 9rem;
        height: 9rem;
    }
    .ai-pait .part2 .select .list .item-style.act .pick {
        width: 2rem;
        height: 2rem;
    }
    .ai-pait .part2 .select .list .item-style .msg {
        font-size: 1.6rem;
    }
    .ai-pait .part2 .select .list .size .size-wrap {
        width: 7.5rem;
        height: 7.5rem;
        border-radius: 0.5rem;
    }
    .ai-pait .part2 .select .list .size .size-wrap .size-s {
        width: 3rem;
        height: 4rem;
    }
    .ai-pait .part2 .select .list .size .size-wrap .size-s2 {
        width: 3.6rem;
        height: 3.6rem;
    }
    .ai-pait .part2 .select .list .size .size-wrap .size-s3 {
        width: 3.15rem;
        height: 4.8rem;
    }
    .ai-pait .part2 .select .list .size .detail {
        margin-top: 0.5rem;
        font-size: 1.4rem;
    }

    .ai-pait .input-group {
        display: block;
        margin-top: 1.2rem;
    }
    .ai-pait .input-group .title {
        padding-top: 0;
        display: block;
        width: auto;
        font-size: 1.4rem;
        font-weight: 500;
        color: #222;
    }

    .ai-pait .btun {
        margin: 2rem 1rem 0;
        width: auto;
        height: 4.5rem;
        line-height: 4.5rem;
        font-size: 1.5rem;
        font-weight: 500;
        text-align: center;
        color: #fff;
    }
    .ai-pait .input-group textarea {
        font-size: 1.4rem;
        height: 12rem;
        background-color: #fff;
    }
}
