.hidden {
    display: none;
}
/* 金币充值 start */
.ai-coin-content {
    padding: 2rem 1rem 0;
    --text-color1: #f79004;
    --border-color: rgb(255 240 240 / 30%);
}

.ai-coin-content .head {
    text-align: center;
    width: 100%;
    display: block;
    border-top: 0.5px solid var(--border-color);
    padding-top: 1rem;
    font-size: 1.5rem;
}
.ai-coin-content .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}
.ai-coin-content .title-box > a {
    color: var(--text-color1);
    font-size: 1rem;
}
.ai-coin-content .info {
    width: auto;
    height: 6rem;
    background-color: #212121;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    color: var(--text-color1);
    font-size: 1.5rem;
    align-items: center;
} 
.ai-coin-content .info .txt {
    color: #888888;
    font-size: 1rem;
}
.ai-coin-content .info img {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
}

.ai-coin-content .title {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1rem 0 0.75rem;
}

.ai-coin-content .deposit-count-container li .item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color1);
    margin-bottom: 0.5rem;
}

.ai-coin-content .deposit-count-container li .item .count {
    padding-left: 0.5rem;
}

.ai-coin-content .deposit-count-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .625rem;
    list-style: none;
    text-align: center;
}

.ai-coin-content .deposit-count-container li {
    padding: 1.75rem;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    border: solid 0.5px var(--border-color);
    font-size: 1rem;
    color: #959595;
}

.ai-coin-content .deposit-count-container li:hover, 
.ai-coin-content .deposit-count-container li.active{
    border-color: var(--text-color1);
    color: #fff;
}

.ai-coin-content .deposit-methods-container {
    row-gap: .5rem;
    display: flex;
    flex-direction: column;
    list-style: none;
}

.ai-coin-content .deposit-methods-container li {
    padding: 1rem;
    background-color: transparent;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 0.5px var(--border-color);
}

.ai-coin-content .deposit-methods-container li .method-item {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    justify-content: flex-start;
}

.ai-coin-content .deposit-methods-container li.active {
    border-color: var(--text-color1);
}

.ai-coin-content .deposit-methods-container li .method-item .text-highlight {
    color: var(--text-color1);
    font-size: 1rem;
}

.ai-coin-content .deposit-methods-container li img {
    width: 1.875rem;
    height: 1.875rem;
    margin-right: 1rem;
}

.ai-coin-content .deposit-methods-container .radio-btn {
    cursor: pointer;
}

.ai-coin-content .deposit-methods-container .radio-btn img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.ai-coin-content .deposit-methods-container li:not(.active) .radio-btn img {
    content: url(/static/ai/img/uncheck.png);
}

.ai-coin-content .deposit-methods-container li.active .radio-btn img {
    content: url(/static/ai/img/checked.png);
}

.ai-coin-content .deposit-btn {
    width: 100%;
    background-color: var(--text-color1);
    padding: 0.8rem 0;
    color: #000000;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border-radius: .375rem;
    cursor: pointer;
}

.ai-labels {
    margin-top: 1rem;
}

.ai-labels .slider-item {
    padding: 0.2rem 0.45rem;
}

.ai-labels .slider-item.active {
    border-color: #ff9000;
}
.ai-van-tabs {
    margin: 1rem 0 1.25rem 0;
}
.ai-van-tabs .van-tab {
    background-color: #1b1b1b;
    color: #f79004;
    text-align: center;
    max-width: 3.875rem;
    font-size: .875rem;
    padding: 0;
}
.ai-van-tabs .van-tab.van-tab--active {
    background-color: #f79004;
    color: #000000;
}
.ai-van-tabs .van-tabs__nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: transparent;
}
.ai-van-tabs .van-tabs__wrap {
    margin-bottom: 1rem;
}

.ai-van-tabs .van-tab .van-tab__text {
    width: 100%;
    line-height: 2.5rem;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    overflow: hidden auto;
}

.card-list .card {
    width: 100%;     
    aspect-ratio: 3 / 4;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #4b4a4a;    
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    border: 1px solid #383737;
    height: 12.5rem;
}
.card-list .card img {
    width: 100%;
    height: 100%;
}
.card-list .card .save-btn {
    position: absolute;
    bottom: .625rem;
    background: #000;
    padding: .125rem 1.5rem;
    border-radius: .75rem;
    color: #f79004;
    cursor: pointer;
}

.card-list .card.progress {
    background: #463a35;   
}

/* 彩色柔光背景（模糊的色块） */
.card-list .card.progress::before {
    content: "";
    position: absolute; inset: -25%;   /* 放大，避免模糊边缘露底 */
    z-index: 0;
    background:
        radial-gradient(40% 45% at 70% 30%, #5e504a 0%, rgb(250 245 243 / 0%) 60%), 
        radial-gradient(45% 50% at 20% 70%, #89675a 0%, rgb(193 145 126 / 0%) 60%), 
        radial-gradient(60% 60% at 50% 50%, #8d786e 0%, rgb(242 167 130 / 0%) 55%);
    transform: scale(1.05);
}

/* 暗角：让四周更暗，中间略亮 */
.card-list .card.progress::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    background:radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0) 40%, rgb(63 52 52 / 25%) 85%, rgb(195 115 115 / 35%) 100%)
}

.card-list .text {
    color: var(--text-color1); 
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.card-list .time {
    color: #959595;
    margin-top: 0.5rem;
    text-align: center;
}

/* 省略符 start */
.text-line-ellipsis-1 {
    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;
}

.text-line-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

.text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
 /* 省略符 end */

.card-list .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3.375rem;
    background-image: url(/static/ai/img/play-icon.webp);
    background-size: cover;
    aspect-ratio: 1;
    z-index: 2;
}

.modal-container-dplayer {
    width: 63rem !important;
    height: 37.5rem !important;
    border: 1px solid #1b1b1b;
}

.card-list .novel-desc {
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    font-size: 1.125rem;
}
.card-list .novel-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #212121;
    color: #fff;
    height: 10rem;
    box-sizing: border-box;
}

.card-list .novel-time {
    margin-top: 1rem;
    color: #959595;
    font-size: 1rem;
}

.font-middle {
    font-size: 1.25rem;
}

.novel-content-container {
    background-color: #212121;
    margin-top: 1rem;
    border-radius: .375rem;
    border: solid 0.5px #373737;
}
.novel-content-container .novel-header {
    margin: 1.875rem 1.875rem 0;
    padding-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #959595;
    border-bottom: solid 0.7px rgb(255 240 240 / 30%);
}
.novel-content-container .novel-header .name {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: .3125rem;
}
.novel-content {
    color: #959595;
    font-size: 1rem;
    padding: 1.875rem;
}

.novel-content-container .sub {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.coins-item > img {
    width: 2.5rem;
}

.copy-btn {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #f3951a;
    padding: .25rem 1rem;
    border-radius: 1rem;
    border: solid 1px #ff9000;
    cursor: pointer;
}

.card-list .card.failure{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-list .card.failure .text {
    position: absolute;
    bottom: 0;
}

.recharge_records_nodata {
    content: url(/static/ai/img/empty.svg);
	margin: 0 auto;
	-o-object-fit: contain;
	object-fit: contain;
	background-size: contain;
	background-position: center;
    padding: 1.5rem 0;
}

.nodata-text {
    width: 100%;
    text-align: center;
    color: #959595;
    display: inline-block;
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .recharge_records_nodata {
        width: 50%;
    }
    .novel-content {
        padding: 1.25rem;
        font-size: .75rem;
    }
    .novel-content-container .novel-header {
        padding-bottom: 1.25rem;
        font-size: .75rem;
        margin: 1.125rem 1.25rem 0;
    }
    .novel-content-container .novel-header .name {
        font-size: .875rem;
    }
    .ai-coin-content {
        padding: 1rem .5rem 0;
    }
    .modal-container-dplayer {
        height: 30rem !important;
    }
    .card-list {
        gap: .4375rem;
    }
    .card-list .play-icon {
        width: 2rem;
    }
    .card-list .novel-desc {
        max-height: 45%;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        font-size: .75rem;
    }
    .card-list .novel-time {
        font-size: .625rem;
        margin-top: .5rem;
    }

    .card-list .time {
        font-size: 0.75rem;
    }
    .card-list .text {
        margin-bottom: .4375rem;
        font-size: 0.75rem;
    }
    .card-list .card {
        height: 6.9375rem;
    }
    .card-list .card .save-btn {
        padding: .4rem 2rem;        
        bottom: .3125rem;
        font-size: .75rem;
    }
    .ai-labels .slider-item {
        padding: 0.2rem 0.8rem;
    }
    .ai-coin-content .deposit-count-container li .item .count {
        padding-left: 0;
    }
    .ai-coin-content .deposit-methods-container li img {
        width: 1.25rem;
        height: 1.25rem;
    }
    .ai-coin-content .deposit-methods-container li .method-item {
        font-size: 0.875rem;
    }
    .ai-coin-content .deposit-methods-container .radio-btn img {
        width: 1.125rem;
        height: 1.125rem;
    }
    .ai-coin-content .title {
        font-size: .875rem;
    }
    .ai-coin-content .deposit-btn {
        font-size: .875rem;
        padding: .5rem 0;
    }
    .ai-coin-content .deposit-methods-container li .method-item .text-highlight {
        font-size: .625rem;
    }
    .ai-coin-content .head {
        font-size: 1rem;
    }
    .ai-coin-content .title-box {
        font-size: .875rem;
        margin-top: 0.5rem;
    }
    .ai-coin-content .title-box > a {
        font-size: .75rem;
    }
    .font-middle {
        font-size: .875rem;
    }
}
/* 金币充值 end */


/* 换脸/图生视频 start */
.ai-normal-component {
    padding-top: 1rem;
}
.ai-normal-component .page-title{
    margin: 0 .5rem .4375rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #fff0f030;
}
.ai-normal-component .top {
    display: flex;
    align-items: center;
    padding: 0 .5rem 0.5rem;
}
.ai-normal-component .title{
    flex: 1;
    font-size: .875rem;
}
.ai-normal-component .record{
    color: #f79004;
    font-size: .75rem;
}

.ai-normal-component .list-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    padding: 0 .5rem 0.5rem;
    column-gap: .4rem;
    row-gap: .625rem;
}
.ai-normal-component .observe-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3rem;
    width: 1rem;
    pointer-events: none;
    width: 100%;
    text-align: center;
    opacity: 0;
}
.ai-normal-component .list-box .card {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    gap: .3125rem;
}

.ai-normal-component .list-box .card > span {
    font-size: .875rem;
    color: #959595;
}

.ai-normal-component .list-box .card .image-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background-color: #2f2f2f;
}

.ai-normal-component .list-box img{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}
.ai-normal-component .badge{
    position: absolute;
    top: 0.5rem;
    left: 0;
    padding: 0.1rem 0.4rem;
    border-radius: 3rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 0.7rem;
    background-image: linear-gradient(to left, #f79004, #ff3131);
}
.ai-normal-component .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url(/static/ai/img/play-icon.webp);
    background-size: cover;
    aspect-ratio: 1;
    z-index: 2;
    cursor: pointer;
}
.ai-normal-component .card .play-icon{
    width: 3.5rem;
}
.ai-normal-component .choose-item-card .play-icon {
    display: none;
    width: 3.75rem;
}
.ai-normal-component .choose-item-card{
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    margin-bottom: .8125rem;
}
.ai-normal-component .choose-item-card img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.3rem;
    object-fit: contain;
} 

.ai-normal-component .choose-item-card img:not(.loading) {
    object-fit: contain;
}

.ai-normal-component .create-box {
    display: none;
    padding: 0 .5rem 0.5rem;
}
.ai-normal-component .form-item{
    display: block;
    padding: .4375rem 0 .3125rem;
    color: #959595;
    font-size: .875rem;
    line-height: 1.25rem;
}
.ai-normal-component .upload-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px dashed rgba(255, 240, 240, 0.3);
    border-radius: .375rem;
    background-color: #151515;
    height: 8rem;
    /* box-sizing: border-box; */
}
.ai-normal-component .upload-box > .van-uploader {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.ai-normal-component .upload-box .van-uploader__input-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    /* padding: 2rem 0; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ai-normal-component .upload-box .van-uploader__preview {
    margin-right: 0;
    margin-bottom: 0;
}
.ai-normal-component .upload-box .van-uploader__preview-image {
    width: 100%;
    height: 100%;
    display: block;
}
.ai-normal-component .upload-box  .van-uploader__wrapper {
    justify-content: center;
}
.ai-normal-component .upload-box .van-uploader__preview-image img {
    border-radius: 8px;
}
.ai-normal-component .upload-box .van-uploader input{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.ai-normal-component .upload-icon-tip{
    width: 3rem;
    height: 3rem;
}
.ai-normal-component .upload-text-tip{
    font-size: .75rem;
    color: #959595;
}
.ai-normal-component .notice-part{
    margin-top: 1.25rem;
    line-height: 1.0625rem;
    font-size: .75rem;
    color: #959595;
}
.ai-normal-component .notice-part .title {
    font-size: 0.7rem;
    line-height: 1.25rem;
    padding-bottom: .3125rem;
    color: #959595;
}
.ai-normal-component .notices {
    display: flex;
    color: #959595;
    padding: 1.25rem 2.1875rem 0;
    justify-content: space-between;
    white-space: nowrap;
}
.ai-normal-component .notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ai-normal-component .notice img {
    width: 3.5rem;
    height: 3.5rem;
    display: block;
}
.ai-normal-component .notice span{
    margin-top: 0.3rem;
    font-size: .75rem;
}
.ai-normal-component .start-button{
    width: 100%;
    line-height: 2.25rem;
    font-size: .875rem;
    color: #000;
    font-weight: 600;
    background-color: #f79004;
    text-align: center;
    border-radius: .375rem;
    margin-top: 2.1875rem;
    cursor: pointer;
}
@media (min-width: 576px) {
    .ai-normal-component {
        padding-top: 1.5rem;
    }
    .ai-normal-component .page-title{
        font-size: 1.5rem;
        margin: 0 1.3rem .875rem;
        padding-top: 1.3rem;
    }
    .ai-normal-component .title {
        font-size: 1.25rem;
    }
    .ai-normal-component .record{
        font-size: 1rem;
    }
    .ai-normal-component .list {
        padding: 0;
    }
    .ai-normal-component .card .play-icon{
        width: 3.75rem;
    }
    .ai-normal-component .choose-item-card {
        aspect-ratio: 1;
    }
    .ai-normal-component .choose-item-card .play-icon {
        width: 4rem;
    }
    .ai-normal-component .form-item{
        font-size: 1rem;
        padding: .875rem 0 .625rem;
    }
    .ai-normal-component .notices {
        padding-left: 0;
        gap: 3.375rem;
        font-size: .875rem;
        justify-content: flex-start;
    }
    .ai-normal-component .list-box .card > span{
        font-size: .875rem
    }
    .ai-normal-component .notice-part{
        margin-top: 1.25rem;
        line-height: 1.25rem;
        font-size: .875rem;
        color: #959595;
    }
    .ai-normal-component .notice-part .title{
        font-size: 1rem;
        padding-bottom: .625rem;
    }
    .ai-normal-component .upload-icon-tip{
        width: 2.5rem;
        height: 2.5rem;
    }
    .ai-normal-component .upload-box{
        /* padding: 2.5rem 0; */
        height: 12.625rem;
    }
    .ai-normal-component .top{
        padding-bottom: 1rem;
    }
    .ai-normal-component .list-box .card{
        gap: .625rem;
    }
    .ai-normal-component .list-box{
        column-gap: .625rem;
        row-gap: 1rem;
    }
    .ai-normal-component .badge {
        font-size: .75rem;
        padding: 0.2rem 0.5rem;
        top: .625rem;
    }
}
/* 换脸/图生视频 end */

.ai-tech-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem .625rem;
    padding: 0 0.5rem;
}

.ai-tech-list .card {
    width: 100%;
}
.ai-tech-list .card .img {
    width: 100%;
    background: #3c3c3c;
    border-radius: 8px;
    aspect-ratio: 1;
}
.ai-tech-list .card .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    vertical-align: middle;
}

.ai-tech-list .card {
    color: #fff;
    text-align: center;
}

.ai-tech-list .card .caption {
    padding-top: 0.5rem;
    color: #959595;
}

.ai-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-logo img {
    width: 6.25rem;
    height: 2.5rem;
    padding-top: 0.5rem;
}

.arrow {
    padding: 1rem 1rem .5rem;
    width: 2.5rem;
}    

@media (max-width: 600px) {
    .arrow {
        padding: 0.5rem;
    }
    .ai-logo img {
        width: 4.875rem;
        height: 2rem;
        padding-top: 0.5rem;
    }
    .ai-logo {
        margin-left: 5%;
    }
    .ai-tech-list {
        gap: 0.5rem;
    }
    .ai-tech-list .card .caption {
        padding-top: .3125rem;
        font-size: .875rem;
    }
}


/* AI绘画 start */
/* ai paint */
.ai-paint {
    margin: -1.2rem auto 0;
    width: 95%;
}
.ai-paint img {
    width: 100%;
    height: 100%;
}
.ai-paint .part0 {
    padding-top: 0.75rem;
    border-top: 0.5px solid #262626;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
}
.ai-paint .part1 {
    margin: 0.4375rem 0 1.06rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-paint .part1 .record1 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}
.ai-paint .part1 .record2 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #f79004;
    cursor: pointer;
}
.ai-paint .part2 {
}
.ai-paint .part2 .select {
    margin-top: 1.25rem;
}
.ai-paint .part2 .select.select-mode {
    margin-top: 0.625rem;
}
.ai-paint .part2 .select .name {
    font-size: 0.7rem;
    font-weight: 500;
    color: #080808;
}
.ai-paint .part2 .select .list {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.ai-paint .part2 .select .list .item {
    width: 5rem;
    line-height: 1.6rem;
    text-align: center;
    border-radius: 0.2rem;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f79004;
    border-radius: 0.2rem;
    border: solid 0.1rem #f79004;
    white-space: nowrap;       /* 强制文本不换行 */
    overflow: hidden;          /* 隐藏超出容器的内容 */
    text-overflow: ellipsis;
}
.ai-paint .part2 .select .list .item.act {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    background-color: #f79004;
}
.ai-paint .part2 .select .list .item-style {
    position: relative;
}
.ai-paint .part2 .select .list .item-style .pick {
    display: none;
}
.ai-paint .part2 .select .list .item-style.act .pick {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
}

.ai-paint .part2 .select .list .item-style .img {
    width: 5rem;
    height: 5rem;
    border-radius: 0.25rem;
    overflow: hidden;
}
.ai-paint .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-paint .part2 .select .list .size {
}
.ai-paint .part2 .select .list .size.act .size-wrap {
    border: solid 0.0625rem #f79004;
}
.ai-paint .part2 .select .list .size.act .detail {
    color: #f79004;
}
.ai-paint .part2 .select .list .size .size-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0.3125rem;

    cursor: pointer;
    background-color: rgba(247, 144, 4, 0.1);
    box-sizing: border-box;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s {
    width: 1.6rem;
    height: 2.2rem;
    background-color: #f79004;
    opacity: 0.3;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s2 {
    width: 1.9rem;
    height: 1.9rem;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s3 {
    width: 1.65rem;
    height: 2.5rem;
}
.ai-paint .part2 .select .list .size .detail {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: #222;
    text-align: center;
}

.ai-paint .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-paint .part2 {
    /* padding: 0 1rem; */
}
.ai-paint .part2 .select {
    margin-top: 1.25rem;
}
.ai-paint .part2 .select .name {
    font-size: 1rem;
    font-weight: 600;
    color: #959595;
}
.ai-paint .part2 .select .list {
    gap: 1.25rem;
    margin-top: 0.625rem;
}
.ai-paint .part2 .select .list .item {
    width: 6.25rem;
    height: 2.25rem;
    border-radius: 0.25rem;
    line-height: 2.25rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f79004;
    box-sizing: border-box;
}
.ai-paint .part2 .select .list .item-style .img {
    width: 6.25rem;
    height: 6.25rem;
}
.ai-paint .part2 .select .list .item-style.act .pick {
    width: 1.25rem;
    height: 1.25rem;
}
.ai-paint .part2 .select .list .item-style .msg {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}
.ai-paint .part2 .select .list .size .size-wrap {
    width: 5rem;
    height: 5rem;
    border-radius: 0.3125rem;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s {
    width: 2rem;
    height: 2.68rem;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s2 {
    width: 2.4rem;
    height: 2.4rem;
}
.ai-paint .part2 .select .list .size .size-wrap .size-s3 {
    width: 2.1rem;
    height: 3.2rem;
}
.ai-paint .part2 .select .list .size .detail {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    text-align: center;
    color: #959595;
}

.ai-paint .butn {
    margin-top: 1.875rem;
    height: 2.25rem;
    line-height: 2.25rem;
    border-radius: 0.375rem;
    background-color: #f79004;
    text-align: center;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

/* 专家模式 */
.ai-paint .mode1 {
    /* display: none; */
}

.ai-paint .mode2 {
    display: none;
}
.ai-paint .inp-wrap {
    margin-top: 1.25rem;
}
.ai-paint .inp-wrap .name {
    font-size: 1rem;
    font-weight: 600;
    color: #959595;
}

.ai-paint .inp-wrap .detail {
    outline: none;
    border: none;
    background: none;
    width: 100%;
    margin-top: 0.625rem;
    height: 7.5rem;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: solid 0.03125rem #373737;
    background-color: #212121;
    box-sizing: border-box;
    font-size: 1rem;
}

.ai-paint .inp-wrap .detail::placeholder {
    font-size: 1rem;
    color: #959595;
}
.pc-show {
    display: none;
}
.is-mobile {
    display: block;
}
.is-desktop {
    display: none;
}
.h5-title {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
}
.h5-title .record2 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: #f79004;
    cursor: pointer;
}

/* 桌面样式 */
@media (min-width: 600px) {
    .ai-paint .part0 {
        font-size: 1.5rem;
        font-weight: 500;
        text-align: center;
        color: #fff;
    }
    .ai-paint .part1 .record1 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #fff;
    }
    .ai-paint .part1 .record2 {
        font-size: 1rem;
        font-weight: 500;
        color: #f79004;
        cursor: pointer;
    }
    .ai-paint .part1 {
        margin: 1rem 0 1.875rem;
    }
    .ai-paint .butn {
        /* margin-top: 3.125rem; */
        margin-top: 1.875rem;
    }
    .pc-show {
        display: block;
    }
    .is-mobile {
        display: none;
    }
    .is-desktop {
        display: block;
    }
}
/* AI绘画 end */

/* 充值历史 start */
.ai-coin-history-content {
    padding: 4.5rem 0 0;
    --text-color1: #f79004;
    --border-color: rgb(255 240 240 / 30%);
    --bg: #0b0b0d;
    --card: #212121;
    --muted: #8b8d97;
    --text: #e9e9ef;
    --line: #2a2b31;
    --ok: #17c964;
    --err: #ff4d4f;
    --pending: #888888;
    --accent: #ffa500;
    --font-size-20: 1.25rem;
    --font-size-14: .875rem;
}

.ai-coin-history-content .head {
    text-align: center;
    width: 100%;
    display: block;
    border-top: 0.5px solid var(--border-color);
    padding-top: 1rem;
    font-size: 1.5rem;
}

.ai-coin-history-content .title {
    padding: 1rem 0 0.75rem;
    font-size: var(--font-size-20);
    font-weight: 600;
}

.wrap { 
    max-width: 41.25rem; 
    margin: 0 auto; 
    padding: 0 0.5rem; 
}

/* 列表 */
.ai-coin-history-content .list {
    display: grid;
    padding-bottom: 2rem;
    min-height: 10rem;
}

.ai-coin-history-content .card {
    background: var(--card);
    padding: 1rem 1.875rem var(--font-size-20);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset;
    border: 1px solid var(--line);
}

.ai-coin-history-content .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    font-size: var(--font-size-20);
}
.ai-coin-history-content .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}

.ai-coin-history-content .card .title {
    font-size: var(--font-size-20);
    font-weight: 600;
    padding: 0;
}

.ai-coin-history-content .amount {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.ai-coin-history-content .sub {
    color: var(--muted);
}

.ai-coin-history-content .ok {
    color: var(--ok);
}

.ai-coin-history-content .err {
    color: var(--err);
}

.ai-coin-history-content .pending {
    color: var(--pending);
}
.ai-coin-history-content .no-more{
    padding-top: 0.625rem;
    text-align: center;
    font-size: 1rem;
    color: #333;
}

/* 底部提示 */
.ai-coin-history-content .footer {
    color: var(--muted);
    padding: var(--font-size-14) 0 2rem;
}

.ai-coin-history-content .spinner {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--line);
    border-top-color: var(--muted);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: -4px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 触发器（可视但不占位） */
.ai-coin-history-content #sentinel {
    height: 1px;
}

/* 按钮/重试条 */
.ai-coin-history-content .retry {
    margin: 0 auto;
    display: none;
    gap: .5rem;
    align-items: center;
    justify-content: center;
    padding: .625rem .75rem;
    width: fit-content;
    border: 1px dashed var(--line);
    border-radius: 4rem;
    color: var(--text);
}

.ai-coin-history-content .retry.show {
    display: flex;
}

.ai-coin-history-content .retry button {
    background: #1e2026;
    color: var(--text);
    border: 1px solid var(--line);
    padding: .375rem .625rem;
    border-radius: 0.75rem;
    cursor: pointer;
}

.ai-coin-history-content .retry button:active {
    transform: translateY(1px);
}

.ai-coin-history-content .recharge_records_nodata {
    line-height: 10rem;
    text-align: center;
    font-size: 0.75rem;
    color: #bcbcbc;
}

@media (max-width: 600px) {
    .ai-coin-history-content .head {
        font-size: 1rem;
    }
    .ai-coin-history-content .title {
        font-size: var(--font-size-14);
    }
    .ai-coin-history-content .card .title {
        font-size: 1rem;
    }
    .ai-coin-history-content .bottom {
        font-size: .75rem;
    }
    .ai-coin-history-content .row {
        font-size: 1rem;
    }
    .ai-coin-history-content .card {
        padding: 1rem;
    }
}

/* 充值历史 end */

/* AI脱衣 start */
/* ai noCloth */
.ai-wrap {
    margin: -1.2rem auto 0;
    width: 95%;
}
.ai-wrap .part0 {
    padding-top: 0.75rem;
    border-top: 0.5px solid #262626;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
}
.ai-wrap .part1 {
    margin: 0.4375rem 0 1.06rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-wrap .part1 .record1 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}
.ai-wrap .part1 .record2 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #f79004;
    cursor: pointer;
}
.ai-wrap .part2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 15rem;
    border-radius: 0.375rem;
    border: dashed 0.0625rem rgba(255, 240, 240, 0.3);
    background-color: #151515;
}
.ai-wrap .part2 .no-img .img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ai-wrap .part2 .display-img img{
    display: block;
    height: 8.75rem;
}
.ai-wrap .part2 .img img {
    width: 2.5rem;
    height: 2.5rem;
}
.ai-wrap .part2 .msg {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    color: #959595;
}
.ai-wrap .part3 {
    margin: 1.25rem 0 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ai-wrap .part3 .step {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ai-wrap .part3 .step .num img {
    width: 1.125rem;
    height: 1.125rem;
}
.ai-wrap .part3 .step .detail {
    position: absolute;
    left: 50%;
    top: 1.625rem;
    transform: translate3d(-50%, 0, 0);
    white-space: nowrap;
    font-size: 0.875rem;
    color: #646464;
}
.ai-wrap .part3 .step .detail {
}
.ai-wrap .part3 .line {
    margin: 0 0.875rem;
    width: 3.425rem;
    height: 0.0375rem;
    border-top: dashed 0.0375rem #f7931d;
}
.ai-wrap .part4 {
}
.ai-wrap .part4 .msg {
    font-size: 0.75rem;
    color: #959595;
}
.ai-wrap .part4 .msg0 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #959595;
}
.ai-wrap .part5 {
}
.ai-wrap .part5 .msg {
    margin: 1.875rem 0 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #959595;
}
.ai-wrap .part5 .list .item img {
    height: 13rem;
}
.ai-wrap .butn {
    margin-top: 1.25rem;
    height: 2.25rem;
    line-height: 2.25rem;
    border-radius: 0.375rem;
    background-color: #f79004;
    text-align: center;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}
.upload-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.upload-box .van-uploader, .upload-box .van-uploader .van-uploader__preview-image {
    height: 100%;
    width: 100%;
}
.upload-box .van-uploader .van-uploader__wrapper {
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
}
.ai-wrap .upload-box .van-uploader .van-uploader__input-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 桌面样式 */
@media (min-width: 600px) {
    .ai-wrap .part0 {
        font-size: 1.5rem;
        font-weight: 500;
        text-align: center;
        color: #fff;
    }
    .ai-wrap .part1 .record1 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #fff;
    }
    .ai-wrap .part1 .record2 {
        font-size: 1rem;
        font-weight: 500;
        color: #f79004;
        cursor: pointer;
    }
    .ai-wrap .part1 {
        margin: 1rem 0 1rem;
    }
    .ai-wrap .butn {
        margin-top: 1.875rem;
    }
    .ai-wrap .part4 .msg0 {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    .ai-wrap .part4 .msg {
        font-size: 0.875rem;
    }
    .ai-wrap .part5 .msg {
        font-size: 1rem;
    }
    .ai-wrap .part5 .list .item img {
        width: 100%;
        height: 23.3125rem;
    }
}

/* AI脱衣 end */

/* 小说创作 start */
/* ai novel */
.ai-novel {
    margin: -1.2rem auto 0;
    width: 95%;
}
.ai-novel img {
    width: 100%;
    height: 100%;
}
.ai-novel .part0 {
    padding-top: 0.75rem;
    border-top: 0.5px solid #262626;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
}
.ai-novel .part1 {
    margin: 0.4375rem 0 1.06rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-novel .part1 .record1 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}
.ai-novel .part1 .record2 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #f79004;
    cursor: pointer;
}
.ai-novel .butn {
    margin-top: 1.875rem;
    height: 2.25rem;
    line-height: 2.25rem;
    border-radius: 0.375rem;
    background-color: #f79004;
    text-align: center;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

/* 输入框 */
.ai-novel .inp-wrap {
    margin-top: 1.25rem;
}
.ai-novel .inp-wrap:first-child {
    margin-top: 0.625rem;
}
.ai-novel .inp-wrap .name {
    font-size: 1rem;
    font-weight: 600;
    color: #959595;
}

.ai-novel .inp-wrap .tip {
    color: #f79004;
}
.ai-novel .inp-wrap .detail {
    outline: none;
    border: none;
    background: none;
    width: 100%;
    margin-top: 0.625rem;
    height: 7.5rem;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: solid 0.03125rem #373737;
    background-color: #212121;
    box-sizing: border-box;
    font-size: 1rem;
}
.ai-novel .inp-wrap .detail-inp {
    outline: none;
    border: none;
    background: none;
     margin-top: 0.625rem;
    height: 2.5rem;
    line-height: 2.5rem;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: solid 0.03125rem #373737;
    background-color: #212121;
    box-sizing: border-box;
    font-size: 1rem;
}
.ai-novel .inp-wrap .detail::placeholder {
    font-size: 1rem;
    color: #959595;
}

/* 桌面样式 */
@media (min-width: 600px) {
    .ai-novel .part0 {
        font-size: 1.5rem;
        font-weight: 500;
        text-align: center;
        color: #fff;
    }
    .ai-novel .part1 .record1 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #fff;
    }
    .ai-novel .part1 .record2 {
        font-size: 1rem;
        font-weight: 500;
        color: #f79004;
        cursor: pointer;
    }
    .ai-novel .part1 {
        margin: 1rem 0 1.875rem;
    }
    .ai-novel .butn {
        margin-top: 1.875rem;
    }
}
/* 小说创作 end */

/* 支付弹窗 start */
/* 支付提示、弹框 */
.ai-pay {
}
.ai-pay .pay-wrap {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    -webkit-backdrop-filter: blur(0.25rem);
    backdrop-filter: blur(0.25rem);
    background-color: #000;
    z-index: 99;
}
.ai-pay .content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 22.25rem;
    z-index: 99;
    height: 15.93rem;
    border-radius: 0.625rem;
    background-color: #151515;
    overflow: hidden;
}
.ai-pay .content .close {
    position: absolute;
    right: 0.625rem;
    top: 0.625rem;
    width: 1.875rem;
    height: 1.875rem;
    cursor: pointer;
}
.ai-pay .content .title {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.ai-pay .content .msg {
    margin-top: 0.625rem;
    margin-bottom: 3.125rem;
    font-size: 1rem;
    text-align: center;
    color: #959595;
}
.ai-pay .content .butns {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
}
.ai-pay .content .butns .butn {
    width: 9.56rem;
    height: 3.125rem;
    line-height: 3.125rem;
    text-align: center;
    border-radius: 0.375rem;
    border: solid 0.0625rem #ff9000;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: #f79004;
    box-sizing: border-box;
}
.ai-pay .content .butns .butn.act {
    background-color: #ff9000;
    color: #000;
}
.ai-pay-cash .content {
    height: 20.5rem;
}
.ai-pay-cash .content .detail {
    margin: 1.875rem 0;
}
.ai-pay-cash .content .detail .item {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0.5625rem 0.625rem;
    width: 17.8125rem;
    border-radius: 0.375rem;
    border: solid 0.03125rem #373737;
    background-color: #212121;
}
.ai-pay-cash .content .detail .item + .item{
    margin-top: 0.9375rem;
}
.ai-pay-cash .content .detail .name {
    font-size: 1rem;
    color: #959595;
}
.ai-pay-cash .content .detail .num {
    font-size: 1rem;
    color: #fff;
}
.ai-pay-cash .content .detail .butn {
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
    color: #f3951a;
    cursor: pointer;
}
.ai-pay-cash .content .go-pay {
    margin: 0 auto;
    width: 17.8125rem;
    height: 3.125rem;
    line-height: 3.125rem;
    text-align: center;
    border-radius: 0.375rem;
    background-color: #ff9000;
    font-size: 1.125rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
}

/* 桌面样式 */
@media (min-width: 600px) {
    .ai-pay .content {
        width: 30rem;
    }
    .ai-pay .content .butns .butn {
        width: 10.1875rem;
    }

    .ai-pay-cash .content .detail .item {
        width: 24.9375rem;
    }
    .ai-pay-cash .content .go-pay {
        width: 24.9375rem;
    }
}

/* 支付弹窗 end */
