﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
.ai-no {
    height: 54px;
}

.editing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #00060d;
    border-bottom: 1px solid #1d1d20;
}

.editing-head-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.head-bxlogo {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .head-bxlogo > img {
        width: 40px;
        height: auto;
    }

    .head-bxlogo > h3 {
        font-size: 22px;
        color: #ffffff;
    }

.head-bxname {
    display: flex;
    align-items: center;
    gap: 10px;
}

.head-bxnam-vip {
    background-color: #332c0f;
    border-radius: 10px;
    padding: 8px 10px 0px;
    display: flex;
    font-size: 14px;
    color: #ffd000;
}

    .head-bxnam-vip img {
        width: 30px;
        height: 30px;
    }

.head-bxnam-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

    .head-bxnam-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



.editing-main {
    width: 100%;
    height: calc(100vh - 54px);
    display: flex;
}






.editing-manright {
    height: calc(100vh - 54px);
    flex: 1;
    background-color: #00060d;
    padding: 0 50px;
    overflow-y: auto;
}

.editing-manri-tit {
    padding: 80px 0 40px;
    text-align: center;
    color: #f5fbff;
}

    .editing-manri-tit h2 {
        font-size: clamp(30px, 5vw, 36px);
        font-weight:bold;
    }

    .editing-manri-tit p {
        font-size: 14px;
        color: #78818c;
        margin-top: 8px;
    }

.editing-manri-area {
    width: 920px;
    margin: 0 auto;
}



/* 主输入容器 */
.input-container {
    background-color: #0f1114;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #2a2a2a;
}

/* 输入区布局 */
.input-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    min-height: 120px;
}

/* 小型图片列表样式 */
.image-preview-list {
    width: 100%;
    background-color: #121316;
    border-radius: 8px;
   /* padding: 8px;*/
    /*border: 1px solid #2a2a2a;*/
}

.image-list-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.image-list-scroll {
    display: flex;
    gap: 8px;
    min-width: min-content;
}

.image-item {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #1a1a1d;
    border: 1px solid #3a3a3f;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-item:hover {
    transform: translateY(-2px);
    border-color: #ffd000;
    box-shadow: 0 4px 8px rgba(255, 208, 0, 0.2);
}

    .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-bottom: 4px;
    }

.image-label {
    font-size: 10px;
    color: #cbcbcc;
    text-align: center;
    line-height: 1.2;
    padding: 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 图片列表滚动条样式 */
.image-list-container::-webkit-scrollbar {
    height: 4px;
}

.image-list-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

.image-list-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.text-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    resize: none;
    line-height: 1.6;
    padding: 8px 0;
    font-size: 14px;
}

    .text-input::placeholder {
        color: #666;
    }

/* 底部参数栏 */
.param-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.param-item {
    position: relative;
}

.param-select {
    padding: 8px 16px;
    background-color: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    border: 1px solid #3a3a3f;
    transition: all 0.2s;
    color: #5c636b;
}

    .param-select img {
        width: 15px;
        height: 15px;
    }

    .param-select:hover {
        background-color: #33333a;
        border-color: #4a4a4f;
    }

    .param-select i {
        font-size: 14px;
        font-weight: 600;
    }

    .param-select.yellow {
        background-color: #0f1114;
    }






.param-imgul {
    flex: 1;
    display: flex;
}


.select-wid {
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 2px;
}

.param-select.yellow {
    background-color: #292b33;
}

.param-select.yellow,
.param-select.white {
    color: #ffffff;
}

    .param-select.yellow i {
        color: #ffffff;
    }

    .param-select.white i {
        color: #fff;
    }


.select-specs {
    width: 500px;
    top:40px !important;
}

/* 容器样式 */
.specs-cont {
    padding: 20px;
    border-radius: 8px;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
}

/* 模块标题样式 */
.module-title {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* 比例选择栏样式 */
.ratio-bar {
    border-radius: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

/* 比例按钮基础样式 */
.ratio-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 55px;
    padding: 5px 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-color: transparent;
}

    /* 比例按钮激活态 */
    .ratio-btn.active {
        background-color: #2c333a;
        color: #fff;
    }

/* 比例按钮图标 */
.ratio-icon {
    width: 28px;
    height: 17px;
    border: 2px solid #dcdcdc;
    border-radius: 5px;
    margin-bottom: 8px;
    opacity: 0.7;
}

/* 不同比例的图标样式 */
.ratio-16-9 .ratio-icon {
    width: 34px;
    height: 19px;
}

.ratio-4-3 .ratio-icon {
    width: 34px;
    height: 25px;
}

.ratio-1-1 .ratio-icon {
    width: 34px;
    height: 34px;
}

.ratio-3-4 .ratio-icon {
    width: 25px;
    height: 34px;
}

.ratio-9-16 .ratio-icon {
    width: 19px;
    height: 34px;
}

.ratio-21-9 .ratio-icon {
    width: 39px;
    height: 17px;
}

/* 自动按钮特殊图标 */
.ratio-auto .ratio-icon {
    width: 28px;
    height: 28px;
    opacity: 0.7;
}

/* 比例文字 */
.ratio-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    color: #dcdcdc;
}

.resolution-module {
    margin-top: 15px;
}

/* 自动按钮文字 */
.ratio-auto .ratio-text {
    font-size: 14px;
    font-weight: 600;
}

/* 分辨率选择栏 */
.resolution-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 分辨率按钮 */
.resolution-btn {
    min-width: 100px;
    padding: 5px 5px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 12px;
    font-weight: 600;
    color: #ececec;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    /* 分辨率按钮激活态 */
    .resolution-btn.active {
        background-color: #2c333a;
        color: #ffffff;
    }

/* 数量按钮激活态 */
.number-btn.active {
    background-color: #2c333a;
    color: #ffffff;
}




.send-btn {
    margin-left: auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #2a2a2f;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .send-btn:hover {
        background-color: #ffd000;
        color: #000;
    }

    .send-btn i {
        font-size: 18px;
        transform: rotate(90deg);
    }


/* 下拉子项 */






.tipbx-list {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
    display: none;
}

.imageid {
    display: block;
}

.tipbx-lst-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tipbx-lst-item {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .tipbx-lst-item.active {
        background: rgba(115, 160, 255, .12);
    }

        .tipbx-lst-item.active .list-itmleft h4 {
            color: #73a0ff;
        }

.list-itmleft {
    flex: 1;
}

    .list-itmleft h4 {
        font-size: 14px;
        color: #ffffff;
    }

    .list-itmleft p {
        color: hsla(0, 0%, 100%, .58);
        opacity: .7;
        font-size: 12px;
        margin-top: 4px;
    }

.list-itmright {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .list-itmright span {
        padding: 4px 10px;
        font-size: 10px;
        color: #a4f0bf;
        background: rgba(68, 186, 108, .16);
        border-color: rgba(68, 186, 108, .28);
        border-radius: 50px;
    }

.moren {
    border: 1px solid color-mix(in srgb, #73a0ff, transparent 55%) !important;
    background: color-mix(in srgb, #73a0ff, transparent 84%) !important;
    color: #73a0ff !important;
}

.zidong {
    border: 1px solid hsla(0, 0%, 100%, .08) !important;
    background: hsla(0, 0%, 100%, .04) !important;
    color: hsla(0, 0%, 100%, .58) !important;
}

.vipclas {
    color: #ffcf7d !important;
    background: rgba(255, 189, 89, .16) !important;
    border-color: transparent !important;
}

/* 滚动条美化 */
/* ::-webkit-scrollbar {
            height: 6px;
            width: 6px;
        } */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}




.manright-list {
    padding-top: 50px;
}

/* 顶部标签栏 */
.lsit-bar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .lsit-bar h3 {
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
    }

    .lsit-bar a {
        color: #ffffff;
        font-size: 14px;
    }


/* 图片画廊容器 */
.gallery-container {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

/* 图片卡片样式 */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #121316;
    padding: 6px;
    position: relative;
}

.gallery-itbtn {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1f2126;
}

    .gallery-itbtn > i {
        font-size: 24px;
        color: #cbcbcc;
    }

    .gallery-itbtn h4 {
        font-size: 16px;
        color: #cbcbcc;
        margin-top: 5px;
    }

    .gallery-itbtn p {
        font-size: 12px;
        color: #cbcbcc;
        margin-top: 5px;
    }

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.gallery-item .del-action {
    position: absolute;
    right: .5rem;
    top: .58rem;
    display: none;
    gap: .521rem;
}

    .gallery-item .del-action .delbtn {
        border-radius: .417rem;
        background: #25262c66;
        padding: .26rem .521rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        outline: none;
        font-size: .729rem;
        color: #fff;
    }

.gallery-item:hover .del-action {
    display: flex;
}

.gallery-itimg {
    width: 100%;
    min-height: 150px;
    max-height:180px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 1px;
    
}
    .gallery-itimg .gallery-imgs {
        flex-grow: 1;
        flex-basis: calc(50% - 5px);
        box-sizing: border-box;
        display: flex;
        border-radius: 6px;
        overflow: hidden;
    }
.gallery-itimg .asset-card-img {
    width: 100%;      
    object-fit: cover;
    display: block;
}
    
    
    .limit-height {
        height: 75px !important; /* 加上 !important 确保万无一失 */
        max-height: 75px;
    }
.gallery-itbtm {
    padding: 10px 0;
}

    .gallery-itbtm input:hover {
        border: 2px solid #f5c802;
    }

    .gallery-itbtm input {
        width: 100%;
        border: 2px solid transparent;
        background-color: transparent;
        font-size: 14px;
        color: #ffffff;
        border-radius: 6px;
        padding: 4px;
    }

    .gallery-itbtm p {
        font-size: 12px;
        color: #cbcbcc;
        padding: 5px;
    }

.asset-card-name {
    font-size: 14px;
    margin-bottom: 6px;
    color: #cbcbcc;
    position: relative;
    height: 24px;
    line-height: 24px;
    padding:5px;
}
.asset-card-input {
    width: 100%;
    background: transparent;
    border: 1px solid #fed102;
    border-radius: 4px;
    color: #cbcbcc;
    font-size: 14px;
    padding: 2px 4px;
    outline: none;
    box-sizing: border-box;
    z-index: 10;
    position: relative;
}
@media only screen and (max-width: 1440px) {
    .editing-manri-area {
        width: 800px;
        margin: 0 auto;
    }
}



/********提示词弹窗********/
.tipshw {
}

.tip-box {
    display: flex;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    margin-top: 10px;
}

.param-itchld {
    width: 620px;
    position: absolute;
    left: 0px;
    bottom: 100%;
    z-index: 300;
    top: 32px;
}

.tipbx-left {
    width: 170px;
    padding: 15px 0 15px 15px;
}

.tip-box .sidebar-navi {
    width: 100%;
    overflow: hidden;
}

.tipbx-lelist {
    height: 360px;
    overflow-y: auto;
    padding-right: 10px;
}

.drawmenu-item {
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
}

    .drawmenu-item.active {
        background-color: #2d2d35;
    }

    .drawmenu-item:hover {
        background-color: #33333a;
    }

    .drawmenu-item i {
        font-size: 16px;
        color: #fff;
    }

    .drawmenu-item.disabled {
        color: #666;
        cursor: default;
    }

.tipbx-right {
    flex: 1;
    padding: 15px 0 15px 15px;
    border-left: 1px solid #2a2d32;
}


.content-box {
    width: 100%;
}

.content-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 5px;
    color: #ffffff;
}
/* 标签网格布局 */
.grid-box {
    height: 360px;
    overflow: auto;
    padding-right: 10px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tagitm-relat {
    position: relative;
}

.tag-item {
    padding: 10px 5px;
    background-color: #25252b;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    font-size: 12px;
}

    .tag-item.active {
        background-color: #2d2d35;
        color: #fff;
    }

    .tag-item:hover {
        background-color: #33333a;
        color: #fff;
    }



.tagitm-tip-child {
    width: 400px;
    position: fixed;
    z-index: 999;
}

.tagitm-tip-box {
    padding: 20px;
    background-color: #31333c;
    border-radius: 10px;
}

.tagitm-tip-bxtop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-bxtp-item {
    position: relative;
    background-color: #000;
    border-radius: 10px;
}

    .tip-bxtp-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

.tagitm-tip-bxtxt {
    font-size: 12px;
    color: #cbcbcd;
    margin-top: 15px;
}
/********提示词弹窗********/


.param-separator {
    opacity: 0.5;
    margin: 0 4px;
    color: #ffffff;
}

.select-wid {
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 2px;
    margin-right:4px;
}


