﻿.ai-no {
    height: 54px;
}

.editing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #0f0f12;
    border-bottom: 0px 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-manleft {
    width: 220px;
    background-color: #0f0f12;
    border-right: 0px solid #1d1d20;
    padding: 20px 8px;
}

/* 页面标题 */
.page-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    color: #ffffff;
}

.title-icon {
    width: 20px;
    height: 20px;
}

.title-icon img {
    width: 100%;
    height: auto;
}

/* 操作按钮区 */
.action-bar {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
}

.action-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 20px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}





.collapse-list {
    width: 100%;
    height: calc(100% - 85px);
    overflow-y: auto;
}

/* 分组面板样式 */
.layui-collapse {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.layui-colla-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.layui-colla-item.selected {
    background-color: #3a3a45;
    border: 1px solid #ffd000;
}

.layui-colla-item.selected .layui-colla-title {
    background-color: #4a4a55 !important;
    color: #ffd000 !important;
}

/* 编辑态样式：选中项悬停时增强高亮 */
.layui-colla-item.selected:hover {
    border-color: #ffdd33;
    box-shadow: 0 0 12px rgba(255, 208, 0, 0.3);
}

/* 编辑图标样式 */
.layui-colla-title .edit-icon {
    font-size: 16px;
    color: #ffd000;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s;
    margin-left: 8px;
    opacity: 0.8;
}

.layui-colla-title .edit-icon:hover {
    background-color: rgba(255, 208, 0, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

/* 未选中时隐藏编辑图标（通过 v-show 控制，此处为额外保障） */
/*.layui-colla-item:not(.selected) .edit-icon {
    display: none !important;
}*/

.layui-colla-title {
    background-color: #27272f !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: 1.5;
    padding: 8px 10px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.colla-tit {
    display: flex;
    align-items: center;
    gap: 5px;
}

.layui-colla-icon {
    top: 50%;
    right: 15px;
    left: auto;
    transform: translateY(-50%);
}

.layui-colla-content {
    color: #fff !important;
    border: none;
    padding: 0;
}




/* 子项列表样式 */
.project-item {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 5px 10px;
    background-color: #1c1e22;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.project-item:hover {
    background-color: #33333a;
}

.item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
}

.item-time {
    font-size: 12px;
    color: #52595e;
}

.item-more {
    font-size: 14px;
    color: #999;
}

/* 连接线样式（层级结构） */
.item-tree {
    position: relative;
    padding-left: 30px;
}

.item-tree::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #373a43;
}

.item-tree .project-item {
    position: relative;
}

.item-tree .project-item::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 25px;
    width: 15px;
    height: 1px;
    background: #373a43;
}

/* .item-tree .project-item:last-child::before {
            height: 0;
        } */
.param-select-input {
    padding: 0 2px !important;
    min-width: 35px !important;
}

.param-separator {
    opacity: 0.1 !important;
}

.editing-manright {
    height: calc(100vh - 54px);
    flex: 1;
    background-color: #0f0f12;
    padding: 0 20px;
    overflow-y: auto;
}

.editing-manri-tit {
    padding: 40px 0;
    text-align: center;
    font-size: 30px;
    color: #ffffff;
}
.editing-manri-tit input{
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-75%);
    z-index: 88;
}
.editing-manri-tit input:hover{
    border: 1px solid #ffd000;
}

.editing-manri-area {
    width: 800px;
    margin: 0 auto;
    position: fixed;
    bottom: 15px;
    left: calc(50% - 400px);
    transition: all .3s;
    z-index: 99;
}

.editarea {
    z-index: 9999 !important;
    left: calc(50% - 655px) !important;
}

.editarea .tab-bar {
    display: none;
}

.editarea .input-container {
    border-top-left-radius: 10px !important;
}



/* 顶部标签栏容器 */
.tab-bar {
    display: flex;
    justify-content: space-between;
}

.tabbar-ul {
    display: flex;
}

.item-border {
    border-width: 0 !important;
}

.tab-bar>.tab-item {
    background-color: transparent !important;
    border: 0px solid #2a2a2a !important;
}




.tab-item {
    padding: 10px 24px;
    background-color: #0f0f12;
    border-radius: 12px 12px 0 0;
    color: #999;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    display: flex;
    gap: 4px;
}

.tab-item.active {
    background-color: #1e1e22;
    color: #ffd000;
    border-color: #2a2a2a;
}

.tab-item.active .tabimga {
    display: none;
}

.tab-item.active .tabimgb {
    display: block;
}

.tabimga {
    display: block;
}

.tabimgb {
    display: none;
}

.tab-item i {
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

.tab-item:last-child {
    border-radius: 12px 12px 0 0;
}



.posit {
    width: 900px !important;
    left: auto !important;
}

/* 输入部分简洁效果 */
.switch-area {
    width: 40% !important;
    left: calc(50% - 20%) !important;
    transition: all .3s;
}

.switch-area .input-container {
    display: flex !important;
    padding: 10px !important;
}

.switch-area .input-area {
    display: flex !important;
    align-items: center;
    min-height: auto !important;
    flex: 1;
    margin-bottom: 0px !important;
}

.switch-area .text-input {
    height: 45px !important;
}

.switch-area .param-item,
.switch-area .param-select.white {
    display: none !important;
}

.switch-area .upload-btn {
    width: 40px !important;
    height: 40px !important;
}

.switch-area .upload-btn i {
    font-size: 20px !important;
}


/* 主输入容器 */
.input-container {
    background-color: #1e1e22;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #2a2a2a;
}

/* 输入区布局 */
.input-area {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    min-height: 120px;
}

.upload-btn {
    width: 60px;
    height: 60px;
    border: 2px dashed #444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #2a2a2f;
    transition: all 0.2s;
    flex-shrink: 0;
}

/* 拖拽中的源元素半透明 */
.upload-btn.dragging-source {
    opacity: 0.35;
    cursor: grabbing;
    transform: scale(0.96);
    filter: blur(1px);
}

/* 放置指示器: 左边界/右边界高亮 (横向专用) */
.upload-btn.drag-over-left {
    border-left: 5px solid #ffd000;
    border-radius: 20px;
    background: #eff6ff;
    transform: scale(1.02);
    box-shadow: 0 0 0 2px #ffd00029;
}

.upload-btn.drag-over-right {
    border-right: 5px solid #ffd000;
    border-radius: 20px;
    background: #eff6ff;
    transform: scale(1.02);
    box-shadow: 0 0 0 2px #ffd00029;
}


.upload-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn:hover {
    border-color: #ffd000;
    background-color: #33333a;
}

.upload-btn i {
    font-size: 28px;
    color: #666;
}

.text-input {
    /* flex: 1; */
    background: transparent;
    border: none;
    min-height: 40px;     /* 最小高度 */
    max-height: 200px;  
    color: #fff;
    line-height: 1.6;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 6px;
    box-sizing: border-box;
    resize: none;
    /* 隐藏滚动条 */
    outline: none;
}

.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;
}

.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;
}

.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);
}


/* 下拉子项 */
.bananasw {
    display: none;
}

/*.param-itchld {
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
}*/

.itmchld-list {
    padding: 10px 8px;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    margin-top: 10px;
}

.itmchld-list p {
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    color: #ffffff;
}

.itmchld-list p:hover {
    background-color: #31333c;
}

.pshw {
    background-color: #31333c;
}



.tipshw {
    width: 620px;
    display: none;
}

.tip-box {
    display: flex;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    margin-top: 10px;
}



/* 左侧导航栏 */
.tipbx-left {
    width: 170px;
    padding: 15px 0 15px 15px;
}

.sidebar {
    width: 100%;
    overflow: hidden;
}

/* 搜索框 */
.search-box {
    width: 92%;
    height: 38px;
    background-color: #25252b;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 0 10px;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.search-box i {
    font-size: 18px;
    color: #666;
}

.search-box input {
    width: 90%;
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 0 5px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #666;
}

/* 导航菜单 */
.tipbx-lelist {
    height: 360px;
    overflow-y: auto;
    padding-right: 10px;
}

.menu-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;
}

.menu-item.active {
    background-color: #2d2d35;
}

.menu-item:hover {
    background-color: #33333a;
}

.menu-item i {
    font-size: 16px;
    color: #fff;
    display: none;
}

.menu-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-y: auto;
    padding-right: 10px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.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;
}

/* 滚动条美化 */
/* ::-webkit-scrollbar {
            height: 6px;
            width: 6px;
        } */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}




.manright-list {
    padding-top: 50px;
}

/* 对话框式聊天列表容器 */
.chat-list-container {
    /*   height: calc(100vh - 400px);
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto; */
    padding: 20px 0 320px;
    scroll-behavior: smooth;
}

.chat-list-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

/* 聊天项 */
.chat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #2a2a2f;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 对话气泡 */
.chat-bubble {
    flex: 1;
    background-color: #1e1e22;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #2a2a2a;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.chat-time {
    font-size: 12px;
    color: #6d767d;
}

.chat-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-prompt {
    font-size: 14px;
    color: #f5fbff;
    margin: 0;
    line-height: 1.5;
}

.chat-params {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.param-tag {
    padding: 4px 10px;
    background-color: #1b1b21;
    border-radius: 4px;
    font-size: 12px;
    color: #6d767d;
    border: 1px solid #292b33;
}

/* 聊天内图片画廊 */
.chat-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.chat-gallery-item {
    border-radius: 8px;
    /*  overflow: hidden;*/
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #1a1a1f;
    position: relative;
}

.chat-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.chat-gallery .chat-gallery-item:nth-child(1) {
    z-index: 4;
}

.chat-gallery .chat-gallery-item:nth-child(2) {
    z-index: 3;
}

.chat-gallery .chat-gallery-item:nth-child(3) {
    z-index: 2;
}

.chat-gallery .chat-gallery-item:nth-child(4) {
    z-index: 1;
}

/* 右上角操作栏 - 悬浮显示 */
.gallery-item-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 6px;
    padding: 3px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 81;
}

.chat-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    position: relative;
}

.overlay-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffd000;
}

.overlay-btn i {
    font-size: 16px;
}

.chat-gallery .chat-gallery-item:nth-child(4) .overlay-child {
    right: 40px;
}

.overlay-child {
    position: absolute;
    width: 200px;
    pointer-events: auto;
    top: 45%;
    right: -200px;
    transform: translateY(-50%);
    z-index: 15;
}

.overlay-chldcnt {
    padding: 5px;
    background-color: #ffffff;
    border-radius: 10px;
}

.overlay-chldct-btn {
    align-items: center;
    border-radius: 10px;
    color: #0f1419;
    display: flex;
    padding: 11px 14px;
}

.overlay-chldct-btn:hover {
    background-color: #f5f5f5;
}


/* 底部操作栏 - 固定显示 */
.gallery-item-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    padding: 8px 4px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.chat-gallery-item:hover .gallery-item-bottom-bar {
    opacity: 1;
    visibility: visible;
}

.bottom-posire {
    position: relative;
}

.actions-posire:hover .action-btn-child {
    display: block;
}

.action-btn-child {
    width: 200px;
    position: absolute;
    left: 25px;
    top: -4px;
    padding: 5px 10px;
    /* background-color: #ffffff; */
    border-radius: 10px;
    display: none;
}

.bottom-icon-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.bottom-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    /* color: #ffd000;
    transform: scale(1.1); */
}

.bottom-icon-btn i {
    font-size: 16px;
}

.bottom-icon-btn img {
    width: 15px;
    height: auto;
}

/* 移动端适配 */
@media only screen and (max-width: 768px) {
    .gallery-item-overlay {
        top: 4px;
        right: 4px;
        padding: 4px;
    }

    .overlay-btn {
        width: 24px;
        height: 24px;
    }

    .overlay-btn i {
        font-size: 14px;
    }

    .gallery-item-bottom-bar {
        padding: 6px 2px;
    }

    .bottom-icon-btn {
        width: 24px;
        height: 24px;
    }

    .bottom-icon-btn i {
        font-size: 14px;
    }
}

/* 操作按钮 */
.actions-posire {
    position: relative;
}

.chat-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #2a2a2a;
}

.action-btn-small {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background-color: #1b1b21;
    border-radius: 4px;
    font-size: 12px;
    color: #6d767d;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn-small:hover {
    background-color: #2a2a2f;
    color: #ffd000;
}

.action-btn-small i {
    font-size: 14px;
}

/* 顶部加载指示器 */
.loading-indicator-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    color: #6d767d;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.loading-indicator-top i {
    font-size: 16px;
}

/* 无更多数据提示（顶部） */
.no-more-data-top {
    text-align: center;
    padding: 12px 0;
    color: #6d767d;
    font-size: 13px;
    border-bottom: 1px dashed #2a2a2a;
    margin-bottom: 10px;
}

/* 底部加载指示器（保留备用） */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    color: #6d767d;
    font-size: 14px;
}

.loading-indicator i {
    font-size: 18px;
}

/* 无更多数据（底部，保留备用） */
.no-more-data {
    text-align: center;
    padding: 20px;
    color: #6d767d;
    font-size: 14px;
}

/* 顶部标签栏 */
.lsit-bar {
    display: flex;
    gap: 10px;
}

.lsit-item {
    padding: 6px 16px;
    border-radius: 8px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.lsit-item.active {
    background-color: #2a2a30;
    color: #fff;
}

.lsit-item:hover {
    color: #fff;
}


/* 图片画廊容器 */
.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: #1a1a1f;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}






/* ====================================================== */






/* 模态框遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* 模态框主体 */
.modal-box {
    background: #2d2d2d;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 模态框头部 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #444;
}

.modal-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

.close-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
}

/* 模态框内容区 */
.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.form-select:focus {
    border-color: #007bff;
}

/* 模态框底部 */
.modal-footer {
    padding: 16px 20px;
    text-align: right;
    border-top: 1px solid #444;
}

.confirm-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.confirm-btn:hover {
    background: #0056b3;
}

.manright-list {
    flex: 1;
}

.list-time span {
    font-size: 16px;
    color: #6d767d;
}

.list-time p {
    font-size: 14px;
    color: #f5fbff;
    margin-top: 10px;
}

.list-ul {
    display: flex;
    gap: 8px;
    padding: 5px 0;
}

.list-ul li {
    padding: 5px 10px;
    background-color: #1b1b21;
    border-radius: 2px;
    color: #6d767d;
    border: 1px solid #292b33;
}

/* 图片画廊容器 */
.gallery-container {
    padding: 10px 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: #1a1a1f;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-tool {
    width: 100vw;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    background-color: #0f0f12;
    display: none;
}

.popup-tolbox {
    height: 100%;
    padding: 20px 30px;
    display: flex;
    gap: 20px;
}

.popup-tolbxle {
    flex: 1;
    display: flex;
    gap: 20px;
}

.tolbxle-img {
    flex: 1;
}

.tolbxle-imtop {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tolbxle-imtop img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

.tolbxle-imnum {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.tolbxle-imnum span {
    color: #ffffff;
    font-size: 14px;
}

.tolbxle-imnum button {
    border-width: 0;
    background-color: transparent;
    cursor: pointer;
}

.tolbxle-imnum button i {
    color: #ffffff;
    font-size: 16px;
}

.tolbxle-switch {
    width: 44px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.switch-clea i {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.switch-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.switch-btn button {
    border-width: 0;
    background-color: transparent;
    cursor: pointer;
}

.switch-btn button i {
    color: #ffffff;
    font-size: 20px;
}


.detail-area-mylLyv {
    width: 400px;
    padding-left: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.detail-area-mylLyv::before {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to top, #0f0f12, #bbbbbb, #0f0f12);
}

.operat-area-uoDdSN {
    border-bottom: 1px solid #ccddff0f;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.left-button-IpJMp_ {
    align-items: center;
    background-color: #ccddff14;
    border-radius: 8px !important;
    color: #f5fbff;
    display: flex;
    font-size: 14px;
    gap: 4px;
    height: 40px;
    padding: 0 16px 0 15px;
    text-align: center;
    border-width: 0;
    cursor: pointer;
}

.left-button-IpJMp_ img {
    width: 15px;
    height: 15px;
}

.operat-button-ita9Ow {
    align-items: center;
    display: flex;
    gap: 4px;
}

.operat-button-pTosuC {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
    border-radius: 6px;
}

.operat-button-pTosuC:hover {
    background-color: #ccddff14;
}

.icon-wrapper-SP2zJN {
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 20px;
    height: 100%;
    overflow: hidden;
    padding: 10px;
    width: 100%;
    color: #ffffff;
}

.info-section-QOKtGr {
    flex: 1 1;
    min-height: 110px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 6px;
}

.ref-image-container-DCcHUl {
    align-items: center;
    display: flex;
    gap: 4px;
    position: relative;
}

.container-LTKJ3M .image-thumbnail-list-iZWaR8 {
    margin-top: 20px;
}

.scroll-container-Nuo9r_ {
    align-items: center;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.image-thumbnail-holder-au3bpp {
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.image-thumbnail-holder-au3bpp.selactive:before {
    border: 2px solid #ffd000 !important;
}

.image-thumbnail-holder-au3bpp.selected-_OYWHD:before {
    border: 2px solid #ffffff;
    border-radius: 12px;
    bottom: 0;
    box-sizing: content-box;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.image-thumbnail-holder-au3bpp img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.image-thumbnail-holder-au3bpp.selected-_OYWHD:after {
    border: 1px solid #202127b8;
    border-radius: 10px;
    bottom: 2px;
    box-sizing: content-box;
    content: "";
    left: 2px;
    position: absolute;
    right: 2px;
    top: 2px;
}

.detail-info-x1mqoZ {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.detail-info-x1mqoZ .prompt-tip-hH75TU {
    color: #e0f5ff7a;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.prompt-value-text-yJUIwx {
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}


.detail-info-x1mqoZ .prompt-tags-HZ34uU {
    display: flex;
    align-items: center;
    color: #e0f5ff7a;
    display: flex;
    font-size: 12px;
    gap: 12px;
}

.container-nSiKjY {
    color: #e0f5ff7a;
    cursor: pointer;
    display: flex;
    font-style: normal;
    font-weight: 400;
    gap: 4px;
    line-height: 16px;
}

.img-container-vz7x9s {
    border-radius: 4px;
    display: flex;
    overflow: visible;
    position: relative;
}

.img-container-vz7x9s img {
    height: 16px;
    object-fit: cover;
    width: 16px;
}

/* 智能参考悬停显示大图样式 */
.smart-ref-hover {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.smart-ref-hover-preview {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translateX(0%) translateY(8px) scale(0.95);
    width: 200px;
    height: 200px;
    background-color: #1a1a1f;
    border: 2px solid #3a3a3f;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: none;
}

.smart-ref-hover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.smart-ref-hover:hover .smart-ref-hover-preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0) scale(1);
}

.divider-bogpTC {
    background: #e0f5ff33;
    border-radius: 100px;
    height: 10px;
    width: 1px;
}

.more-info-label-Bp1woI .more-info-label-text-HMW7Yo {
    flex: 1 1;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.post-edit-buttons-X {
    margin-top: 20px;
    padding: 0 6px;
    position: relative;
}

.container-CR8FG {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-container-sx43Z {
    background: #ccddff14;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 15px 5px 5px 5px;
    width: 100%;
}

.group-container-sx43Z .group-name-OcP5kC {
    color: #e0f5ff7a;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 8px;
    margin-left: 14px;
}

.group-gyYOPU {
    column-gap: 4px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.lv-btn-shape-square:hover {
    background-color: #ccddff14;
}

.detail-button-view-x33260 {
    align-items: center;
    background: transparent;
    border-radius: 8px !important;
    color: #f5fbff;
    display: flex;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    gap: 8px;
    height: auto;
    justify-content: flex-start;
    line-height: 22px;
    padding: 11px 16px 11px 14px;
    width: 100%;
    border-width: 0;
    cursor: pointer;
}

.suffix-icon-fLgyoX {
    color: #e0f5ff7a;
    height: 12px;
    margin-left: -4px;
    width: 12px;
}

.icon-PmuOA3 {
    align-items: center;
    display: flex;
    height: 12px;
    justify-content: center;
    width: 20px;
}

.icon-PmuOA3 rect {
    color: #00cae01f;
}

.icon-PmuOA3 path {
    color: #00cae0;
}



/* 新建项目 */
.project-popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}


/* 编辑弹框 */
.redraw-popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}

.redraw-popbox {
    width: 800px;
    background-color: #15161a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.redraw-popbx-top {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccddff14;
}

.redraw-popbx-top h3 {
    color: #ffffff;
    font-size: 14px;
}

.cleabtn {
    border-width: 0;
    background-color: transparent;
    cursor: pointer;
}

.cleabtn i {
    font-size: 18px;
    color: #ffffff;
}

.redraw-popbx-cnt {
    padding: 15px;
}

.redraw-popbx-ctimg {
    position: relative;
}

.redraw-popbx-ctimg .popbx-ctimg {
    left: calc(50% - 350px);
}

.popbx-ctimg {
    border-radius: 10px;
    overflow: hidden;
}

.redraw-popbx-ctimg img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.container-qCGqkF {
    align-items: center;
    bottom: 0px;
    display: flex;
    gap: 6px;
    left: 12px;
    position: absolute;
}

.container-NvTiyB {
    background: #22252a;
    border: .5px solid #ccddff14;
    border-radius: 8px;
    color: #f5fbff;
    display: flex;
    flex: 1 1;
    gap: 4px;
    padding: 0;
    padding: 2px;
    position: relative;
}

.brush-container-xXAqHY {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.container-sYXGER {
    position: relative;
}

.item-tTW3IB {
    align-items: center;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    padding: 6px;
    transition: background-color .1s linear;
    width: 32px;
}

/* 拖拽模式激活状态 */
.item-tTW3IB.active-drag-mode {
    background-color: rgba(30, 159, 255, 0.2);
    border: 1px solid #1E9FFF;
}

.item-tTW3IB.active-drag-mode svg {
    color: #1E9FFF;
}

/* 拖拽模式下的光标样式 */
.local-redraw-wrapper.drag-mode {
    cursor: grab;
}

.local-redraw-wrapper.drag-mode.dragging {
    cursor: grabbing;
}

.item-H_YKMd {
    align-items: center;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    transition: background-color .1s linear;
    width: 32px;
}

.container-VqSFdI {
    background: #22252a;
    justify-content: center;
    padding: 0;
    border-radius: 5px;
}

.container-Yf1zFZ {
    align-items: center;
    border: .5px solid #ccddff14;
    border-radius: 8px;
    color: #f5fbff;
    display: flex;
    gap: 6px;
    padding: 2px;
}

.container-Yf1zFZ .icon-container-ngw4PL {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.container-sYXGER .panel-rKIXyp {
    border: .5px solid #ccddff14;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
}

.slider-bar-container-tZlfQf,
.slider-wrapper-agp23C {
    align-items: center;
    display: flex;
}

.end-icon-EN4VkG,
.start-icon-Twsb0v {
    box-sizing: border-box;
    height: 16px;
    margin: 0 10px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
}


.slider-bar-jBdwic {
    background: #22252a;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 8px 40px;
}

.slider-wrapper-PsBjXl {
    align-items: center;
    display: flex;
    height: 12px;
    position: relative;
    width: 100%;
}

.slider-road-Mv5grw {
    height: 100%;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.slider-road-Mv5grw:before {
    background: #ccddff14;
    border-radius: 4px;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.slider-road-Mv5grw .slider-bar-XCWXJ4 {
    background: #e0f5ff59;
}

.slider-bar-XCWXJ4,
.slider-button-bar-THCcJe {
    position: absolute;
    transition: background-color .16s ease;
}

.slider-button-bar-THCcJe {
    background-color: #92a0a9;
    border-radius: 1px;
    height: calc(100% + 4px);
    top: -2px;
    transform: translate(50%);
    width: 4px;
    position: absolute;
}

.end-icon-EN4VkG {
    right: 0;
}



.scale-container-n1sgGX {
    align-items: center;
    border: .5px solid #ccddff14;
    border-radius: 8px;
    display: flex;
    gap: 4px;
    padding: 2px;
    position: relative;
}






.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.popup-content {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    width: 80%;
    max-width: 800px;
    /*max-height: 90vh;*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.popup-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    gap: 10px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.popup-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: 520px !important;
    overflow: hidden;
    height: 800px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.canvas-overlay {
    width: 95%;
    position: absolute;
    /*top: 0;
        left: 0;*/
    /*width: 100%;
        height: 100%;*/
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.toolbar {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.color-picker {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.color-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ddd;
}

.tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tool-btn.active {
    background-color: #e3f2fd;
}

.tool-btn i {
    font-size: 20px;
}

.tool-buttons {
    display: flex;
}

.line-width-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.line-width-picker label {
    font-size: 12px;
    color: #333;
}

#lineWidthSlider {
    width: 100px;
}

#lineWidthValue {
    font-size: 12px;
    color: #333;
    min-width: 20px;
    text-align: center;
}





.right-interact-jkCdHl {
    background-color: #22252a;
    bottom: 0px;
    gap: 8px;
    position: absolute;
    right: 12px;
    z-index: 9;
}

.scale-container-n1sgGX {
    align-items: center;
    border: .5px solid #ccddff14;
    border-radius: 8px;
    display: flex;
    gap: 4px;
    padding: 2px;
    position: relative;
}

.btn-YDHMN5 {
    align-items: center;
    border-radius: 8px;
    color: #f5fbff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 8px;
    transition: background-color .1s linear;
}

.scale-container-n1sgGX .drop-container-oPPheo {
    cursor: pointer;
    position: static;
}

.scale-container-n1sgGX .btn-tCdDpi {
    background: transparent !important;
    border-radius: 8px;
    box-sizing: border-box;
    color: #f5fbff;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    height: auto;
    line-height: 32px;
    padding: 0 8px;
    text-align: center;
    width: 56px;
    border-width: 0;
}


.text-area-AqydIx {
    width: 90%;
    box-sizing: border-box;
    margin-top: 20px;
    min-height: 40px;
    position: relative;
    resize: none;
}

.container-f9Irw_ {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ccddff14;
    border: .5px solid #ccddff14;
    border-radius: 8px;
    padding: 9px 12px;
}

.prompt-wrap-g6kRYj {
    flex: 1;
}

.prompt-wrap-g6kRYj textarea {
    width: 100%;
    background: transparent;
    color: #ffffff;
}

.prompt-wrap-g6kRYj textarea::placeholder {
    color: #444444;
}

.insert-quotation-marks-wrap-QQ5z0R {
    align-items: center;
    color: #f5fbff;
    display: flex;
    justify-content: center;
    padding: 4px;
}



.bottom-container-QGC5sj {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

:root .lv-btn.lv-btn-primary.lv-btn-disabled {
    background-color: #ccddff33;
    color: #e0f5ff;
    border-width: 0;
    border-radius: 8px;
    font-size: 14px;
    height: 45px;
    padding: 0 16px;
    cursor: pointer;
}

.button-content-GOaBTk {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ai-no {
    height: 54px;
}

.editing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #0f0f12;
}

.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-manleft {
    width: 80px;
    height: 100%;
    background-color: #0f0f12;
    border-right: 0px solid #1d1d20;
    padding: 20px 8px;
}

.manleft-box {
    height: 80%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.manleft-bxcnt {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.manleft-bimg {
    width: 25px;
}

.manleft-bimg img {
    width: 100%;
    height: auto;
}

/* 导航项样式 */
.nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}

.nav-item p {
    font-size: 12px;
    font-weight: 500;
}

.nav-item.active p {
    color: #ffd000;
}

.nav-item.active .icon-home .tabimga {
    display: none;
}

.nav-item.active .icon-home .tabimgb {
    display: block;
}


/* 工具列表 */
.tool-posirel {
    position: relative;
}

.posirel-dropdown {
    position: absolute;
    left: 60px;
    top: 0px;
    z-index: 55;
    background-color: #1f2126;
    border-radius: 12px;
    padding: 8px 8px;
    min-width: 200px;
    display: none;
}

.tool-posirel:hover .posirel-dropdown {
    display: block;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 3px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
    /*color: #ffffff;*/
    border-radius: 50px;
}

.sidebar-menu li:hover {
    color: #fff;
    background-color: #ffd000;
}

.sidebar-menu li.active {
    /*background: linear-gradient(to left , #fefbe8, #ffe8d5);*/
    color: #fff;
    background-color: #ffd000;
}

.sidebar-menu li img {
    margin-right: 6px;
}


/* 自定义图标样式（匹配原图造型） */
.icon-home {
    position: relative;
    width: 20px;
    height: 20px;
}

.icon-home img {
    width: 100%;
    height: 100%;
}


.editing-manright {
    height: calc(100vh - 54px);
    flex: 1;
    background-color: #0f0f12;
    padding: 0 1vw;
    overflow-y: auto;
}

.editing-manri-tit {
    padding: 40px 0;
    text-align: center;
    font-size: 30px;
    color: #ffffff;
}

.editing-manri-area {
    width: 800px;
    margin: 0 auto;
    position: fixed;
    bottom: 15px;
}

/* 顶部标签栏容器 */
.tab-bar {
    display: flex;
    justify-content: space-between;
}

.tabbar-ul {
    display: flex;
}

.item-border {
    border-width: 0 !important;
}

.tab-item {
    padding: 10px 24px;
    background-color: #0f0f12;
    border-radius: 12px 12px 0 0;
    color: #999;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    display: flex;
    gap: 4px;
}

.tab-item.active {
    background-color: #1e1e22;
    color: #ffd000;
    border-color: #2a2a2a;
}

.tab-item.active .tabimga {
    display: none;
}

.tab-item.active .tabimgb {
    display: block;
}

.tabimga {
    display: block;
}

.tabimgb {
    display: none;
}

.tab-item i {
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

.tab-item:last-child {
    border-radius: 12px 12px 0 0;
}

/* 主输入容器 */
.input-container {
    background-color: #1e1e22;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #2a2a2a;
}

/* 输入区布局 */
.input-area {
    display: flex;
    gap: 16px;
    margin-bottom:15px;
    min-height: 120px;
}

.upload-btn {
    width: 60px;
    height: 60px;
    border: 2px dashed #444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #2a2a2f;
    transition: all 0.2s;
    flex-shrink: 0;
}

.upload-btn:hover {
    border-color: #ffd000;
    background-color: #33333a;
}

.upload-btn i {
    font-size: 28px;
    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;
}

.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;
}

.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);
}


/* 下拉子项 */
.bananasw {
    display: none;
}


.param-itchld {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 100%;
    z-index: 95;
}

.itmchld-list {
    padding: 10px 8px;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    margin-top: 10px;
}

.itmchld-list p {
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    color: #ffffff;
}

.itmchld-list p:hover {
    background-color: #31333c;
}

.pshw {
    background-color: #31333c;
}



.tipshw {
    width: 620px;
    display: none;
}

.tip-box {
    display: flex;
    background-color: #1c1d21;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    margin-top: 10px;
}



.select-specs {
    width: 500px;
    display: none;

}

/* 容器样式 */
.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;
}

/* 数量按钮 */
.number-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;
}

/* 限时标签 */
.free-tag {
    background-color: #ffdddd;
    color: #ff4d4f;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

/* 问号图标 */
.help-icon {
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0.7;
}





/* 左侧导航栏 */
.tipbx-left {
    width: 170px;
    padding: 15px 0 15px 15px;
}

.sidebar {
    width: 100%;
    overflow: hidden;
}

/* 搜索框 */
.search-box {
    width: 92%;
    height: 38px;
    background-color: #25252b;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 0 10px;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.search-box i {
    font-size: 18px;
    color: #666;
}

.search-box input {
    width: 90%;
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 0 5px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #666;
}

/* 导航菜单 */
.tipbx-lelist {
    height: 360px;
    overflow-y: auto;
    padding-right: 10px;
}

.menu-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;
}

.menu-item.active {
    background-color: #2d2d35;
}

.menu-item:hover {
    background-color: #33333a;
}

.menu-item i {
    font-size: 16px;
    color: #fff;
}

.menu-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-y: 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: 500px;
    position: fixed;
    z-index: 999;
    display: none;
}

.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;
}


/* 滚动条美化 */
/* ::-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;
}

.gallery-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-tab h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.gallery-tab>a {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff;
}

/* 图片画廊容器 */
.gallery-container {
    padding: 15px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-btn {
    min-height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: #1a1a1f;
    padding: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-bnews {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: #1f2126;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.gallery-bnews i {
    font-size: 24px;
    color: #cbcbcc;
}

.gallery-bnews p {
    font-size: 16px;
    color: #cbcbcc;
    margin-top: 5px;
}

/* 图片卡片样式 */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #1a1a1f;
    padding: 6px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-itimg {
    width: 100%;
    height: 150px;
    background-color: #1f2126;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-itbtm {
    padding: 10px 5px;
    color: #cbcbcc;
}

.gallery-itbtm h4 input {
    width: 100%;
    padding: 2px 5px;
}

.gallery-itbtm:hover h4 input {
    border: 1px solid #ffd000;
    border-radius: 5px;
}

.gallery-itbtm h4 {
    font-size: 14px;
}

.gallery-itbtm p {
    font-size: 12px;
    margin-top: 5px;
}



.editing-project {
    position: relative;
    overflow: hidden;
    width: 280px;
    height: 100%;
    background-color: #0f1114;
    transition: all .5s;
}

.project-bxcnt {
    width: 280px;
    height: 100%;
    background-color: #0f1114;
    border: 1px solid #202225;
    position: absolute;
    right: 0;
}

.project-top i,
.project-btn i {
    font-size: 18px;
    color: #cbcbcc;
    cursor: pointer;
}

.project-btn {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 65px;
    right: 20px;
    z-index: 999;
    display: none;
    text-align: center;
    line-height: 30px;
    background-color: #0f1114;
}



.layui-btn {
    margin-left: 0px !important;
    margin-bottom: 10px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    color: #000;
    border-radius: 5px;

}

.layui-btn:hover {
    background-color: #ffd000;
}



/* 我的项目 */

.project-top {
    padding: 15px 20px;
    border-bottom: 1px solid #32353d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-top h3 {
    font-size: 16px;
    font-weight: 600;
    color: #cbcbcc;
}


.project-cnt {
    padding: 15px 6px;
    overflow: hidden;
}

.project-ctbtn {
    width: 92%;
    border-width: 0;
    background-color: #1f2126;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #cbcbcc;
    margin: 0 10px;
    cursor: pointer;
}



.project-ctlist {
    height: 80vh;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-ctlstli:hover {
    background-color: #1f2126;
}

.project-ctlstli {
    padding: 8px;
    background-color: #00060d;
    border-radius: 10px;
}

.ctlstli-img {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1f2126;
    display: flex;
    flex-wrap: wrap;
}

.ctlstli-img img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.ctlstli-btm {
    padding: 10px 5px;
}

.ctlstli-btm h4 {
    font-size: 14px;
    color: #cbcbcc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.ctlstli-btm h4 input {
    flex: 1;
    padding: 2px 5px;
}

.ctlstli-btm:hover h4 input {
    border: 1px solid #ffd000;
    border-radius: 5px;
}

.ctlstli-btm h4 i {
    font-size: 18px;
    cursor: pointer;
}

.ctlstli-btm p {
    font-size: 12px;
    color: #cbcbcc;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

.ctlstli-btm p i {
    cursor: pointer;
}








@media only screen and (max-width: 1440px) {
    .posit {
        width: 700px !important;
    }

    .editing-manri-area {
        width: 700px;

    }

    .editarea {
        left: calc(50% - 590px) !important;
    }

    .tab-item {
        padding: 6px 16px;
    }




}