* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft Yahei", "PingFang SC", sans-serif; }
body { background-color: #FFF4CC; color: #333; line-height: 1.6; overflow: hidden; }
.header { background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%); padding: 0 30px; display: flex; justify-content: space-between; align-items: center; height: 60px; position: sticky; top: 0; z-index: 999; }
.logo { font-size: 22px; font-weight: 700; color: #FFF; }
.nav-menu { display: flex; gap: 25px; }
.nav-menu a { text-decoration: none; color: #FFF; font-size: 14px; }
.nav-menu a.active { font-weight: bold; }
.user-area { display: flex; gap: 15px; }
.balance, .user-name { background-color: #FFF; padding: 6px 12px; border-radius: 20px; font-size: 14px; }
.container { display: flex; width: 100%; gap: 20px; padding: 20px; min-width: 1200px; height: calc(100vh - 60px); }
.sidebar { width: 200px; background: #FFF; border-radius: 12px; padding: 20px; border: 1px solid #FFE082; flex-shrink: 0; height: 100%; overflow: hidden; }
.nav-list { list-style: none; }
.nav-item { padding: 10px 12px; margin: 4px 0; border-radius: 8px; cursor: pointer; font-size: 13px; }
.nav-item.active { background: linear-gradient(135deg, #FF5722, #E64A19); color: #FFF; }
.nav-item.all-apps { background: #FFF8E1; border: 1px dashed #FFC107; color: #FF8A00; font-weight: bold; }
.vip { background: linear-gradient(135deg, #FF5722, #FF9800); color: #fff; text-align: center; padding: 10px; border-radius: 8px; margin: 20px 0; font-size: 12px; }
.service { background: #FFF8E1; padding: 10px; border-radius: 8px; font-size: 12px; color: #666; margin-top: 10px; }
.operation { width: 460px; background: #FFFFFF; border-radius: 16px; border: 1px solid #FFE082; display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.op-header { padding: 16px 20px; border-bottom: 1px solid #FFE082; display: flex; align-items: center; gap: 12px; }
.op-header-icon { width: 36px; height: 36px; background: #FFC107; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #FFF; font-size: 18px; }
.op-header-title { font-size: 16px; font-weight: bold; }
.op-header-desc { font-size: 11px; color: #666; }
.op-content { padding: 20px; height: calc(100% - 70px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.model-nav-wrapper { position: relative; width: 100%; height: 80px; background: #FFF8E1; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.model-nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; background: #fff; border-radius: 50%; border: 1px solid #FFCC80; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 10px; color: #FF8A00; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.arrow-left { left: 5px; }
.arrow-right { right: 5px; }
.model-nav { position: absolute; left: 0; top: 0; display: flex; gap: 8px; height: 100%; padding: 8px 30px; transition: left 0.3s ease; }
.model-item { flex: 0 0 120px; height: 64px; background: #fff; border: 1px solid #FFE082; border-radius: 8px; padding: 6px; font-size: 11px; position: relative; display: flex; flex-direction: column; justify-content: center; cursor: pointer; }
.model-item.active { background: #FFF4CC; border-color: #FFA000; }
.model-desc { font-size: 9px; color: #666; margin-top: 3px; line-height: 1.2; }
.model-tag { position: absolute; top: -4px; right: 6px; font-size: 8px; color: #fff; padding: 1px 4px; border-radius: 2px; white-space: nowrap; }
.tag-new { background: linear-gradient(90deg, #FF5722, #FF9800); }
.tag-vip { background: linear-gradient(90deg, #FFB74D, #FF9800); }
.tag-hot { background: linear-gradient(90deg, #4CAF50, #81C784); }
.inspire-section { display: flex; justify-content: space-between; padding: 10px 12px; background: #fff; border: 1px solid #FFE082; border-radius: 10px; font-size: 13px; flex-shrink: 0; }
.upload-label { font-weight: 500; font-size: 13px; flex-shrink: 0; }
.upload-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex-shrink: 0; }
.layui-upload-list .upload-box { border: 1px dashed #FFCC80; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.sample-tip { font-size: 12px; color: #333; flex-shrink: 0; }
.sample-tip span { color: #FF8A00; font-weight: 500; }
.sample-tip .right-tip { float: right; color: #FF8A00; }
.sample-imgs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; flex-shrink: 0; }
.sample-img-item { width: 70px; height: 70px; flex: 0 0 auto; border-radius: 6px; overflow: hidden; border: 2px solid transparent; transition: all 0.2s; cursor: pointer; }
.sample-img-item.active { border-color: #FFA000; }
.sample-img-item img { width: 100%; height: 100%; object-fit: cover; }
.prompt-section { width: 100%; flex-shrink: 0; }
.prompt-title { font-size: 12px; color: #333; font-weight: 500; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.prompt-title .prompt-dict { color: #FF8A00; font-size: 11px; background: #FFF8E1; padding: 2px 6px; border-radius: 4px; cursor: pointer; }
.prompt-input { width: 100%; min-height: 80px; max-height: 180px; border: 1px solid #FFCC80; border-radius: 6px; padding: 10px; resize: none; font-size: 12px; line-height: 1.5; overflow-y: auto; }
.prompt-count { text-align: right; font-size: 10px; color: #999; margin-top: 4px; }
.ai-optim-btn { background: #FFE8E8; color: #FF5722; text-align: center; padding: 8px; border-radius: 6px; cursor: pointer; margin-top: 8px; font-size: 11px; font-weight: 500; }
.params-section { display: flex; gap: 20px; flex-shrink: 0; }
.param-item { flex: 1; }
.param-title { font-size: 12px; color: #333; margin-bottom: 6px; display: flex; align-items: center; }
.param-title i { margin-right: 4px; color: #FF8A00; }
.param-btns { display: flex; gap: 6px; }
.param-btn { flex: 1; padding: 8px 0; text-align: center; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; background: #fff; font-size: 11px; }
.param-btn.active { background: #FFC107; color: #fff; border-color: #FFC107; font-weight: 500; }
.submit-btn { background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%); color: #fff; text-align: center; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; border: none; width: 100%; font-size: 12px; flex-shrink: 0; }
.footer-tip { font-size: 10px; color: #999; text-align: center; flex-shrink: 0; }
.result { flex: 1; background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #FFE082; height: 100%; overflow: hidden; }
.result .title { font-size: 18px; font-weight: bold; color: #FF5722; margin-bottom: 8px; display: block; }
.result-subtitle { font-size: 12px; color: #666; margin-bottom: 12px; display: block; }
.compare-wrap { overflow-y: auto; height: calc(100% - 50px); scroll-behavior: smooth; padding-right: 5px; }
.compare-card { border: none; border-radius: 0; overflow: hidden; margin-bottom: 15px; background: #fff; }
.work-info { padding: 4px 8px; background: #FFF8E1; display: flex; align-items: center; gap: 6px; font-size: 11px; border-radius: 2px; margin-bottom: 4px; }
.work-avatar { width: 18px; height: 18px; background: #FFC107; color: #fff; border-radius: 1px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 9px; }
.work-author { font-weight: 500; color: #333; font-size: 10px; }
.work-tag { background: #FF8A00; color: #fff; padding: 1px 3px; border-radius: 1px; font-size: 8px; margin-left: 4px; }
.work-time { margin-left: auto; color: #666; font-size: 10px; }
.prompt-desc { padding: 2px 0 6px 0; font-size: 13px; background: #fff; color: #333; line-height: 1.4; margin-bottom: 4px; }
.compare-img-box { display: flex; gap: 0; border: 1px solid #FFE082; border-radius: 1px; }
.compare-img-item { flex: 1; padding: 0; position: relative; }
.compare-img-item img { width: 100%; border-radius: 0; display: block; }
.img-tag { position: absolute; top: 0; right: 0; background: #000; color: #fff; font-size: 9px; padding: 1px 3px; border-radius: 0; z-index: 10; font-weight: 500; border: 1px solid #fff; }
.single-edit-bar { padding: 6px 0; background: #fff; display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.single-edit-bar label { font-size: 10px; color: #333; font-weight: 500; white-space: nowrap; }
.single-edit-bar input { flex: 1; padding: 4px 6px; border: 1px solid #ddd; border-radius: 1px; font-size: 10px; height: 28px; outline: none; }
.single-edit-bar button { padding: 4px 10px; background: #FFA000; color: #fff; border: none; border-radius: 1px; font-size: 10px; height: 28px; cursor: pointer; font-weight: 500; white-space: nowrap; }
 .compare-wrap::-webkit-scrollbar {
width: 6px;
}
 .compare-wrap::-webkit-scrollbar-track {
background: #FFF8E1;
border-radius: 3px;
}
 .compare-wrap::-webkit-scrollbar-thumb {
background: #FFC107;
border-radius: 3px;
}
/* 提示词宝典弹窗 */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); display: none; align-items: center; justify-content: center; z-index: 9999; }
.modal-overlay.active { display: flex; }
.modal { width: 800px; max-width: 90%; background: #fff; border-radius: 12px; overflow: hidden; }
.modal-header { background: #FFA000; color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.modal-header .title { font-weight: bold; }
.modal-close { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #FFA000; border: none; cursor: pointer; font-weight: bold; }
.modal-tabs { display: flex; background: #fff; border-bottom: 1px solid #eee; }
.modal-tab { padding: 10px 16px; font-size: 13px; cursor: pointer; color: #666; border-bottom: 2px solid transparent; }
.modal-tab.active { color: #FFA000; border-bottom-color: #FFA000; font-weight: 500; }
.modal-content { padding: 16px; max-height: 350px; overflow-y: auto; }
.prompt-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.prompt-item { width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; cursor: pointer; position: relative; }
.prompt-item img { width: 100%; height: 100%; object-fit: cover; }
.prompt-item .name { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 10px; padding: 2px 4px; text-align: center; }
.prompt-item.selected { border: 2px solid #FFA000; }
.my-prompts { margin-top: 16px; border-top: 1px solid #eee; padding-top: 12px; }
.my-prompt-item { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.my-prompt-item img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.my-prompt-item .name { font-size: 11px; color: #333; }
.my-prompt-item .remove { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: #ddd; color: #666; border: none; cursor: pointer; font-size: 10px; }
.modal-footer { padding: 12px 16px; display: flex; justify-content: flex-end; border-top: 1px solid #eee; }
.modal-footer button { background: #FFA000; color: #fff; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-weight: 500; }

/*上传*/
.layui-elem-quote {
    padding: 15px;
    line-height: 22px;
    border-left: 5px solid #009688;
    border-radius: 0 2px 2px 0;
    background-color: #f2f2f2;
	margin:0;
}
.layui-quote-nm {
    border-style: solid;
    border-width: 1px 1px 1px 5px;
    background: 0 0;
	border-color: #e6e6e6;
}
.layui-upload-list {
    margin: 10px 0;
}
.layui-upload-img {
    width: 92px;
    height: 92px;
}
.mpic {
    display: inline-block;
    position: relative;
	margin: 0 10px 10px 0;
}
.mpic span {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    text-align: center;
    line-height: 18px;
    border-radius: 0 0 0 5px;
    font-size: 12px;
    display: inline-block;
    cursor: pointer;
}
.mpic span:hover{ background:#009688;}



/*新增*/
.webuploader-container { position: relative; }
.webuploader-element-invisible { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px,1px,1px,1px); }
.webuploader-pick {}
.webuploader-pick-hover {}
#divFileProgressContainer { position: relative; }
.webuploader-pick-disable { opacity: 0.6; pointer-events: none; }
.progressName { font-size: 14px; margin: 10px 0px; }
.progressName a { float: right; border: 1px solid #35AC20; padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.cancle { position: absolute; right: 0; width: 70px; height: 26px; border: 1px solid #ff7a19; color: #ff7a19; border-radius: 5px; line-height: 26px; text-align: center; }
.progressBarInProgress { height: 100%; display: block; background: #35AC20; border-radius: 3px; }
.jindu { width: 100%; height: 23px; padding: 3px; border: 1px solid #D3D3D3; border-radius: 4px; margin-top: 20px; margin-bottom: 8px; }
.progressBarStatus ul li { float: left !important; width: 25% !important; text-align: center !important; clear:none !important; }
.progressBarStatus ul li.first { text-align: left !important; }
.progressBarStatus ul li.last { text-align: right !important; }
.uploadmain { margin:0 auto; }
#chosepic .webuploader-pick{border: 2px dashed #FFCC80; border-radius: 8px; width:96px; height: 85px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #FF8A65; cursor: pointer; position: relative; overflow: hidden; }
#chosepic .webuploader-pick i{font-size: 22px; margin-bottom: 6px;display: flex;justify-content: center;align-items: center; font-style:normal;color: #f59e0b;font-weight: 700;}
#chosepic .webuploader-pick span{font-size: 13px;color: #666;font-weight: 500;}
#morepic-upload-more-list {
    display:grid;
	width: 100%;
	justify-content: flex-start; /* 默认左对齐，自动排列 */
  	align-items: center;
  	grid-template-columns: repeat(4, 1fr);
}