@charset "UTF-8";
@media (min-width: 1920px) {
    .container {
        max-width: 1920px !important;
    }
}
.ratio-item.active {
    background-color: #fff8f0;
    border-color: #FF7D00;
}

/* ========== 核心：8种比例图标样式（含镂空四角边框+灰色背景） ========== */
.ratio-rect {
    position: relative;
    background-color: #f8f8f8;
    border-radius: 2px;
}
/* 四角镂空线条装饰（统一长度，精致不突兀） */
.ratio-rect::before,
.ratio-rect::after,
.ratio-rect .corner::before,
.ratio-rect .corner::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border: 2px solid #c5c5c5;
    background: transparent;
    z-index: 1;
}
.ratio-rect::before { top: 0; left: 0; border-bottom: none; border-right: none; }
.ratio-rect::after { top: 0; right: 0; border-bottom: none; border-left: none; }
.ratio-rect .corner::before { bottom: 0; left: 0; border-top: none; border-right: none; }
.ratio-rect .corner::after { bottom: 0; right: 0; border-top: none; border-left: none; }

/* 8种比例尺寸（精准适配你要的比例） */
.ratio-1-1 { width: 32px; height: 32px; }    /* 1:1 */
.ratio-2-3 { width: 24px; height: 36px; }    /* 2:3 */
.ratio-3-2 { width: 36px; height: 24px; }    /* 3:2 */
.ratio-3-4 { width: 27px; height: 36px; }    /* 3:4 */
.ratio-4-3 { width: 36px; height: 27px; }    /* 4:3 */
.ratio-9-16 { width: 22.5px; height: 40px; } /* 9:16 */
.ratio-16-9 { width: 40px; height: 22.5px; } /* 16:9 */
.ratio-21-9 { width: 42px; height: 18px; }   /* 21:9 */
.ratio-preview {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ratio-text{

	
}
 /* 单个按钮容器（标签定位核心） */
.resolution-item {
  position: relative;
}
/* 右上角标签：精致胶囊型 */
.res-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 12px; /* 字体大小适中 */
  padding: 3px 8px;
  border-radius: 15px;
  color: #fff;
  font-weight: 500;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  padding: 5px 10px;
}

/* 标签配色：高级莫兰迪色系 */
.tag-fast { background: #4CAF50; }  /* 1K-超快 */
.tag-default { background: #FF9800;right:-20px } /* 2K-默认 */
.tag-hd { background: #4568cd; right:-30px; }     /* 4K-高清 */

/* 按钮核心样式：大气质感 */
.res-btn {
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 10px 30px;
  color: black;
}
.res-btn:hover{
 transform: translateY(-2px);
}
/* 选中态：渐变+立体阴影，突出不浮夸 */
.res-btn.active {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
  color: #FFFFFF;
}

/* 核心容器 - 大幅增加内间距，强化隔开感 */
.result-tabs {
    display: flex;
    border: 2px solid #f9f4f4;
    border-radius: 8px; /* 更大圆角更精致 */
    width: fit-content;
    padding: 4px; /* 间距翻倍，按钮与边框彻底隔开 */
    background-color: #fff8f0; /* 温润深色背景，适配暖橙 */
    gap: 4px; /* 按钮间距翻倍，隔开感更强 */
    margin-bottom: 10px;
}

/* 选项卡按钮 - 独立色块+协调配色 */
.tab-btn {
    padding: 9px 30px; /* 微调内边距，比例更协调 */
    border: none;
    border-radius: 6px; /* 按钮圆角匹配容器 */
    background: #fff8f0; /* 未激活底色，与背景形成柔和对比 */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
    color: black;
    
}

/* 激活状态 - 暖橙黄高级渐变（协调配色） */
.tab-btn.active {
    background: linear-gradient(90deg, #FF7D00, #FF9529);
    color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 165, 0, 0.3); /* 柔和发光，提升质感 */
}


/* 内容面板（保留基础逻辑） */
.tab-content {
    display: none;
    height: 100%;
    position:relative;
}
.tab-content.active {
    display: flex;
    flex-direction: column;
}


.container_ {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 70px;
}

/* 左侧业务导航栏（核心：仅展示5个指定业务） */
.left-sidebar {
    width: 200px;
    min-width:200px;
    background-color: #ffffff;
    border-right: 1px solid #e8e8e8;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 8px rgba(0,0,0,0.02);
}

.logo-text i {
    font-size: 20px;
}
.user-info-wrap {
    padding: 0 10px 0px;
    border-bottom: 1px solid #f0f0f0;
}
.user-info_ {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.user-info_ .points {
    color: #FF7D00;
    font-weight: bold;
}
.sidebar-menu {
    flex: 1;
    padding: 8px 0;
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}
.menu-item.active {
    background-color: #fff8f0 !important;
    color: #FF7D00;
    border-left-color: #FF7D00;
}
.sidebar-menu .menu-item:hover {
    background-color: #fafafa;
    color: #FF7D00;
}
.sidebar-menu .menu-item i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* 中间参数配置区（按业务动态切换表单） */
.middle-panel {
    width: 400px;
    /* min-width:400px; */
    background-color: #ffffff;
    border-right: 1px solid #e8e8e8;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative; 
    padding-bottom: 50px;
    height: 100%;
}
.model-info {
    background-color: #fff8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.model-info i {
    color: #FF7D00;
    font-size: 16px;
}
.model-info .model-name {
    font-weight: 600;
    color: #FF7D00;
}
.model-info .model-desc {
    font-size: 12px;
    color: #888;
}

/* 通用表单样式 */
.form-section {
    margin-bottom: 15px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}
.form-tip {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    display: block;
}
.text-area {
    width: 100%;
    height: 120px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 16px;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    font-size: 14px;
}
.text-area:focus {
    /* border-color: #FF7D00;
    box-shadow: 0 0 0 2px rgba(255,125,0,0.1); */
}
.upload-wrap {
    width: 100%;
    height: 120px;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}
.upload-wrap:hover {
    border-color: #FF7D00;
    background-color: #fff8f0;
}
.upload-wrap i {
    font-size: 28px;
    color: #ccc;
    margin-bottom: 8px;
}
.upload-text {
    color: #999;
    font-size: 13px;
}
.upload-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 比例选择 */
.ratio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.ratio-item {
    padding: 8px 0;
    text-align: center;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.mx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.mx-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}
.mx-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
}
.mx-price {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: bold;
}

/* 业务专属表单区（默认隐藏，按业务显示） */
.business-form {
    display: none;
}
.business-form.active {
    display: block;
    overflow-y: auto;
}

/* 生成按钮 */
.generate-btn {
    width: calc(100% - 20px);
    min-height: 50px;
    background: linear-gradient(90deg, #FF7D00, #FF9529);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255,125,0,0.2);
    z-index:1000;
    
    
    position: absolute;  /* 相对于父级定位 */
    bottom: 10px;       /* 离父级底部20px */
    left: 50%;          /* 水平居中基准 */
    transform: translateX(-50%); /* 核心：自身宽度50%向左偏移，实现真正居中 */
}
.generate-btn:hover {
    box-shadow: 0 6px 16px rgba(255,125,0,0.25);
}
.generate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    /* transform: none; */
    box-shadow: none;
}
.cost-tag {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
}

/* 右侧结果展示区 */
.right-result {
    flex: 1;
    background-color: #ffffff;
    padding: 20px 30px 0px;
    overflow-y: auto;
    min-width: 800px;
}
.result-header {
    margin-bottom: 10px;
}
.result-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.result-subtitle {
    font-size: 13px;
    color: #999;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    font-size: 15px;
    color: #FF7D00;
}
.result-empty {
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
}
.result-empty i {
    font-size: 60px;
}
.result-empty-text {
    font-size: 14px;
    color: #999;
}
.result-content {
    height: calc(100% - 100px);
    width: 100%;
}
.prompt-show {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.prompt-show-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.result-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.result-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.result-card-actions {
    padding: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.result-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}
.result-action-btn:hover {
    background-color: #fff8f0;
    color: #FF7D00;
    border-color: #FF7D00;
}



.tooltip-wrap {
  cursor: pointer;
  vertical-align: baseline;
}

/* 放大后的提示框（大小适中，匹配视觉） */
.tooltip-text {
  position: absolute;
  top: -10px; /* 微调垂直位置，放大后不偏移 */
  left: calc(100% + 5px);
  padding: 8px 10px; /* 放大内边距，提示框更宽更高 */
  background: #000 !important;
  color: #fff !important;
  font-size: 12px;
  border-radius: 2px !important; /* 轻微圆角，和截图风格一致 */
  white-space: nowrap;
  display: none;
  line-height: 1.4; /* 文字垂直居中，放大后更协调 */
  z-index: 2;
}

/* 同步放大小三角，比例匹配 */
.tooltip-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  /* 三角同步放大，和提示框比例匹配 */
  border-width: 4px 5px 4px 0 !important;
  border-style: solid !important;
  border-color: transparent #000 transparent transparent !important;
}

.tooltip-wrap:hover .tooltip-text {
  display: block;
}

/*                 作品样式                            */

.works-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
/* 生成中加载动画 */
.loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 36px;
  color: #FF7D00;
  flex-direction: column;
  gap:10px;
}

.work-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.work-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.work-card:hover .work-image img {
  transform: scale(1.08);
}


.download-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.95);
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  text-decoration: none;
  font-size: 16px;
}
.work-card:hover .download-btn 
{
  opacity: 1;
}
.download-btn:hover {
  background: #4f46e5;
  color: #fff;
}
.work-desc {
  padding: 20px;
}
.work-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #eff6ff;
  color: #3b82f6;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.work-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 6px 0;
}
.work-prompt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}
.work-info i {
  margin-right: 4px;
}
.template,.form-section-img2img,#works-empty{
	display: none;	
}


/* 作品样式    */





 /* 所有类名添加 up- 前缀 */
 .up-upload-panel {
     max-width: 820px;
     margin: 0 auto;
 }

 .up-panel-header {
     margin-bottom: 20px;
 }

 .up-panel-header h2 {
     font-size: 20px;
     color: #1d2129;
     margin-bottom: 6px;
 }

 .up-panel-header p {
     font-size: 12px;
     color: #86909c;
 }

 .up-upload-section {
     margin-bottom: 20px;
 }

 .up-section-title {
     font-size: 15px;
     font-weight: 500;
     color: #1d2129;
     margin-bottom: 15px;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .up-section-title::before {
     content: "";
     width: 3px;
     height: 16px;
     background: #ff7000;
     border-radius: 2px;
 }

 /* 核心：还原成你截图的flex布局，左右两列等宽 */
 .up-image-grid {
     display: flex;
     gap: 16px;
     position: relative;
 }

 /* 上传卡片 - 完全还原你截图的样式 */
 .up-upload-card {
     position: relative;
     width: calc(50% - 8px);
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     border: 2px dashed #ff7000;
     background: #fff;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     height: 90px;
 }

 .up-upload-card i {
     font-size: 24px;
     color: #ff7000;
     margin-bottom: 8px;
 }

 .up-upload-card .up-text {
     font-size: 13px;
     color: #86909c;
 }

 /* 已上传图片样式 */
 .up-upload-card.up-active {
     border: none;
     cursor: default;
 }

 .up-upload-card img.up-real-img {
     display: none;
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 8px;
 }

 .up-upload-card.up-active img.up-real-img {
     display: block;
 }

 .up-upload-card.up-active i,
 .up-upload-card.up-active .up-text {
     display: none;
 }

 /* 示例图片 - 完全还原你截图的样式 */
 .up-demo-card,.up-image {
     position: relative;
     width: calc(50% - 8px);
     border-radius: 8px;
     overflow: hidden;
     opacity: 1;
     filter: none;
     border: none;
     height: 90px;
     
 }

 .up-demo-card::after {
     content: attr(data-desc);
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     padding: 8px 0px;
     background: rgba(255,255,255,0.8);
     color: #86909c;
     font-size: 12px;
     text-align: center;
     z-index: 1;
 }

 .up-demo-card img,.up-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0.8;
 }

 /* 示例图隐藏逻辑：仅当有上传图片时隐藏 */
 .up-demo-card.up-hidden {
     display: none;
 }

 /* 第二个上传卡片（默认隐藏） */
 .up-second-upload-card {
     display: none;
 }

 .up-second-upload-card.up-show {
     display: flex;
 }

 /* 删除按钮 - 悬浮显示，不影响样式 */
 .up-delete-btn {
     position: absolute;
     /* top: 50%;      垂直居中
     left: 50%;     水平居中
     transform: translate(-50%, -50%); 真正居中关键 */
     bottom:10px;
     right:10px;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     color: #fff;
     border: none;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     cursor: pointer;
     transition: all 0.2s;
     z-index: 9;
 }

 .up-delete-btn i {
     font-size: 14px;
     margin: 0;
     color: #333;
 }
  .up-delete-btn:hover{
  	background: #4f46e5;
  }
  
  .up-delete-btn:hover  i{
  	 color: white;
  }

 .up-image-grid .up-image:hover .up-delete-btn {
     opacity: 1;
 }
 .up-image-grid .up-image:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
 }

 /* 弹窗样式 - 简洁不突兀 */
 .up-center-popup {
     position: absolute;
     width: 200px;
     background: #fff;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     z-index: 999;
     display: none;
     overflow: hidden;
 }

 .up-popup-item {
     padding: 12px 16px;
     font-size: 14px;
     color: #1d2129;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .up-popup-item i {
     font-size: 16px;
     color: #ff7000;
 }

 .up-popup-item:hover {
     background: #f7f8fa;
 }

 .up-mask {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.1);
     z-index: 888;
     display: none;
 }
  /* 隐藏Chrome/Safari滚动条 */
 .middle-panel::-webkit-scrollbar {
    display: none !important;
 }
 .business-form::-webkit-scrollbar {
   display: none;
}
.sl-info-content.prompt::-webkit-scrollbar {
   display: none;
}
 
 
 /*                     会员                          */
 /* 主弹窗容器 - 左右分栏 */
#hy-pay-dialog,#tj-asset-dialog{
	display: none;
} 
 
.hy-pay-modal {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* 左侧特权栏 - 仅修改图标样式匹配截图 */
.hy-modal-sidebar {
    width: 220px;
    background: linear-gradient(180deg, #FF9500 0%, #E67E00 100%);
    color: #fff;
    padding: 25px 20px;
    position: relative;
}

.hy-sidebar-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.hy-privilege-list {
    list-style: none;
}

.hy-privilege-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    line-height: 1.5;
    font-size: 15px;
}

/* 仅修改这部分：匹配截图的白色对勾，无背景、纯图标 */
.hy-privilege-item i {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, .2);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 右侧内容区 - 完全不动 */
.hy-modal-content {
    flex: 1;
    padding: 20px 25px;
}

.hy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hy-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hy-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9500;
    font-size: 16px;
}

.hy-user-detail .hy-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.hy-user-detail .hy-expire {
    font-size: 12px;
    color: #999;
}

.hy-header-right {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 40px;
}

.hy-header-link {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.hy-header-link:hover {
    color: #FF9500;
}

.hy-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.hy-activity-tip {
    background: #fff8e1;
    color: #e67e22;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 3px solid #FF9500;
}

.hy-activity-tip a {
    color: #FF9500;
    text-decoration: none;
}

.hy-tab-bar {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.hy-tab-item {
    padding: 8px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.hy-tab-item.hy-active {
    color: #FF9500;
    border-bottom-color: #FF9500;
    font-weight: 500;
}

.hy-tab-item .hy-discount {
    background: #FF9500;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 5px;
}

.hy-plan-list {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.hy-plan-card {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.hy-plan-card.hy-active {
    border-color: #FF9500;
    background: #fff8e1;
}

.hy-plan-card:hover {
    border-color: #FF9500;
}

.hy-plan-name {
    font-size: 15px;
    color: #333;
    
    font-weight: 500;
}

.hy-plan-price {
    
}

.hy-price-current {
    font-size: 22px;
    color: #e74c3c;
    font-weight: bold;
}

.hy-price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.hy-plan-benefit {
    list-style: none;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

.hy-plan-benefit li {
    padding: 2px 0;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 3px;
  	word-break: break-all;
  	align-items: center;

}

.hy-plan-benefit li::before {
    content: "•";
    color: #FF9500;
    font-size: 14px;
    line-height: 14px;
}

.hy-pay-area {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.hy-pay-qrcode {
    width: 120px;
    height: 120px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #FF9500;
}

.hy-pay-detail {
    flex: 1;
}

.hy-pay-amount {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 8px;
}

.hy-pay-tip {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.hy-pay-tip i {
    color: #2ecc71;
    font-size: 14px;
}

.hy-pay-agreement {
    font-size: 11px;
    color: #999;
}

.hy-pay-agreement a {
    color: #FF9500;
    text-decoration: none;
}
/*            会员                         */


/* ------------------------文件库     ------------------------ */
/* 主容器 */
.tj-asset-library {
    width: 1080px;
    margin: 0px auto;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 顶部操作栏 */
.tj-library-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.tj-library-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tj-library-title i {
    color: #ff9500;
}

.tj-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
}
.tj-header-actions i:hover{
	background: #e7e7e7;
	padding:6px;
	border-radius: 5px;
	/* transform: translateY(-6px); */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* 标签切换栏 */
.tj-tab-bar {
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #f0f0f0;
    gap: 32px;
}

.tj-tab-item {
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tj-tab-item.active {
    color: #ff9500;
}

.tj-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff9500;
    border-radius: 2px 2px 0 0;
}

.tj-tab-item:hover {
    color: #ff9500;
}

/* 素材网格容器 */
.tj-asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
   /*  grid-template-columns: repeat(5, 1fr); */
    gap: 20px;
    padding: 24px;
    min-height: 400px;
    position: relative;
}

/* 素材卡片 */
.tj-asset-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.tj-asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tj-asset-card.selected {
    border: 2px solid #ff9500;
}

/* 多选复选框 */
.tj-asset-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.tj-asset-card.selected .tj-asset-checkbox {
    background: #ff9500;
    border-color: #ff9500;
}

.tj-asset-checkbox i {
    color: #ffffff;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.tj-asset-card.selected .tj-asset-checkbox i {
    opacity: 1;
}

/* 素材预览图 */
.tj-asset-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 悬浮查看原图遮罩 */
.tj-asset-hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.tj-asset-card:hover .tj-asset-hover-mask {
    opacity: 1;
}

.tj-view-original-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

/* 素材文件名 */
.tj-asset-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1;
}

/* 视频标识角标 */
.tj-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 空状态 */
.tj-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #999999;
}

.tj-empty-state i {
    font-size: 60px;
    margin-bottom: 16px;
    color: #e0e0e0;
}

.tj-empty-state p {
    font-size: 15px;
}
/* ------------------------文件库     ------------------------ */

/* 主容器 */
.sl-ai-wrapper {
   flex:1;
   display:flex;
   flex-direction: column;
}

/* 头部 */
.sl-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0px;
    flex-wrap: wrap;
    gap: 16px;
}

.sl-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sl-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.sl-header-title svg {
    width: 22px;
    height: 22px;
    color: #4b5563;
}

.sl-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.sl-tag-demo {
    background-color: #fff8f0;
    color: #FF7D00;
    
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
}


.sl-action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background-color: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sl-action-btn:hover {
    background-color: #e5e7eb;
}

.sl-action-btn svg {
    width: 16px;
    height: 16px;
    color: #374151;
}

/* 提示词 */
.sl-prompt-box {
    background-color: #fff8f0;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* 图片网格 */
.sl-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex: 1;
    overflow: hidden; /* 🔥 图片超出直接切掉 */
}

.sl-image-card {
	/* aspect-ratio: 9 / 16; */
    border-radius: 12px;
    background: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    overflow: hidden; 
    /* 就加这一句 */
    position: relative;
    cursor: pointer;
}

.sl-image-card:hover {
    transform: translateY(-3px);
}

.sl-image-card:hover .download-btn{
	opacity:1 !important;
	z-index: 1;
}

.sl-image-card img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;     /* 填充容器，不拉伸，无白边 */
    object-position: center top; /* 头像优先显示，不会被裁 */
    
    display: none;
     /* 全部改成这样 */
    position: absolute;
}

.sl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.sl-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sl-modal-container {
    display: flex;
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    background-color: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.sl-modal-overlay.active .sl-modal-container {
    transform: scale(1);
}

.sl-image-section {
    flex: 1;
    background-color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sl-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sl-main-image:hover {
    transform: scale(1.02);
}

.sl-zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sl-zoom-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sl-info-section {
    width: 380px;
    background-color: #1a1a1a;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sl-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sl-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.sl-close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sl-close-btn:hover {
    color: #fff;
}

.sl-modal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}
.sl-modal-body::-webkit-scrollbar{
	display: none;
}

.sl-info-item {
    margin-bottom: 24px;
}

.sl-info-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sl-info-content {
    background-color: #252525;
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #333;
}

.sl-info-content .text-sm{
	display: flex;
	justify-content: space-between;
	padding: 5px 0px;
}

.sl-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sl-tag {
    background:linear-gradient(90deg, #FF7D00, #FF9529);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
}

.sl-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #333;
    display: flex;
    gap: 12px;
}

.sl-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.sl-btn-primary {
    background:linear-gradient(90deg, #FF7D00, #FF9529);
    color: white;
}

.sl-btn-primary:hover {
    background-color: #4096ff;
}

.sl-btn-danger {
    background-color: rgba(255, 77, 79, 0.15);
    color: #ff4d4f;
}

.sl-btn-danger:hover {
    background-color: rgba(255, 77, 79, 0.25);
}

.sl-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.sl-thumbnail {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.sl-thumbnail.active {
    border-color: #1677ff;
}

.sl-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* 头像优先显示，不会被裁 */
}

/* 页面上的示例卡片 */
.sl-work-card {
    width: 300px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sl-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sl-work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sl-card-content {
    padding: 16px;
}

.sl-card-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.sl-card-desc {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.left-sidebar.mobile{
	display: none;
}           
.work-last-bottom{
	text-align: center;
	color: #9ca3af;
	font-size: 14px;
	padding: 20px;
	display: none;
	
}
.tab-bar{
	display: none !important;
}   
 
 
	