* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #dcdfe6;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}
a {
  color: #6236FF;
  outline: 0 !important;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  outline: 0 !important;
  color: #6236FF;
  text-decoration: none;
}
.f{
	display: flex;
	flex-direction: row;
}
.fc {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.f-h{
	display: flex;
	flex-direction: column;
}
.fc-h{
	display: flex;
	flex-direction:column;
	align-items: center;
}
.fcc-h{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.fcc{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.fc-bet {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.f-bet {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.fc-eve {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
}
.f-eve {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
.flex{
  flex: 1;
}
.m-05{
	margin: 8px;
}
.m-1{
	margin: 16px;
}
.m-2{
	margin: 32px;
}
.m-3{
	margin: 48px;
}
.m-4{
	margin: 64px;
}
.mt-05{
	margin-top: 8px;
}
.mt-1{
	margin-top: 16px;
}
.mt-2{
	margin-top: 32px;
}
.mt-3{
	margin-top: 48px;
}
.mt-4{
	margin-top: 64px;
}
.mb-05{
	margin-bottom: 8px;
}
.mb-1{
	margin-bottom: 16px;
}
.mb-2{
	margin-bottom: 32px;
}
.mb-3{
	margin-bottom: 48px;
}
.mb-4{
	margin-bottom: 64px;
}
.ml-05{
	margin-left: 8px;
}
.ml-1{
	margin-left: 16px;
}
.ml-2{
	margin-left: 32px;
}
.ml-3{
	margin-left: 48px;
}
.ml-4{
	margin-left: 64px;
}
.mr-05{
	margin-right: 8px;
}
.mr-1{
	margin-right: 16px;
}
.mr-2{
	margin-right: 32px;
}
.mr-3{
	margin-right: 48px;
}
.mr-4{
	margin-right: 64px;
}
.p-05{
	padding: 8px;
}
.p-1{
	padding: 16px;
}
.p-2{
	padding: 32px;
}
.p-3{
	padding: 48px;
}
.p-4{
	padding: 64px;
}
.pt-05{
	padding-top: 8px;
}
.pt-1{
	padding-top: 16px;
}
.pt-2{
	padding-top: 32px;
}
.pt-3{
	padding-top: 48px;
}
.pt-4{
	padding-top: 64px;
}
.pb-05{
	padding-bottom: 8px;
}
.pb-1{
	padding-bottom: 16px;
}
.pb-2{
	padding-bottom: 32px;
}
.pb-3{
	padding-bottom: 48px;
}
.pb-4{
	padding-bottom: 64px;
}
.pl-05{
	padding-left: 8px;
}
.pl-1{
	padding-left: 16px;
}
.pl-2{
	padding-left: 32px;
}
.pl-3{
	padding-left: 48px;
}
.pl-4{
	padding-left: 64px;
}
.pr-05{
	padding-right: 8px;
}
.pr-1{
	padding-right: 16px;
}
.pr-2{
	padding-right: 32px;
}
.pr-3{
	padding-right: 48px;
}
.pr-4{
	padding-right: 64px;
}
.font-12{
	font-size: 12px !important;
}
.font-14{
	font-size: 14px !important;
}
.font-16{
	font-size: 16px !important;
}
.font-18{
	font-size: 18px !important;
}
.font-22{
	font-size: 22px !important;
}
.font-28{
	font-size: 28px !important;
}
.font-32{
	font-size: 32px !important;
}
.font-weight{
	font-weight: bold;
}
.text-align{
	text-align: center;
}
.ellipsis{
	text-overflow: ellipsis; 
	white-space: nowrap; 
	verflow: hidden; 
	display: block; 
}
.ellipsisOne{
	overflow: hidden; 
	display: -webkit-box; 
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	word-break: break-all;
}
.ellipsisTwo{
	overflow: hidden; 
	display: -webkit-box; 
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical; 
	word-break: break-all; 
}
.ellipsisThree{
	overflow: hidden; 
	display: -webkit-box; 
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-break: break-all; 
}
.overflow-y-auto {
    overflow-y: auto;
}
.el-dialog__body{
    padding-top: 0px!important;
}
/* 左侧导航栏 */
.sidebar {
	width: 60px;
	height: 100vh;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 20px;
	border-right: 1px solid #ebeef5;
}
.sidebar .logo {
	width: 24px;
	height: 24px;
	margin-bottom: 40px;
	background: url("../img/logo.png") no-repeat center;
	background-size: 100%;
}
.sidebar .nav-item {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 30px;
	color: #606266;
	cursor: pointer;
	font-size: 12px;
}
.sidebar .nav-item.active {
    color: #409EFF;
}
.sidebar .nav-icon {
      font-size: 20px;
      margin-bottom: 5px;
}
/* 主内容区 */
.main-content {
	height: 100vh;
	padding: 10px;
}
    
/* 核心操作面板 */
.operation-panel {
	background-color: #fff;
	padding: 0 10px 10px 10px;
	height: 100vh;
	width: 500px;
	padding-bottom: 70px;
	&::-webkit-scrollbar {
        display: none;
    }
}
.operation-panel .upBottom{
	position: fixed;
	z-index: 2000;
	bottom: 10px;
	left: 80px;
	width: 460px;
}
.operation-panel .upBottom button{
	width: 100%;
}
/* 上传+输入框区域 */
.input-area {
	
	margin-bottom: 10px;
}
/* 隐藏原生input */
#fileInput {
	display: none;
}
.uploadBox{
	margin-bottom: 10px;
}
/* 文件预览列表 */
.file-list {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-right: 5px;
}
/* 单个文件预览项 */
.file-list .file-item {
	position: relative;
	width: 80px;
	height: 80px;
	border: 1px dashed #dcdfe6;
	border-radius: 10px;
	overflow: hidden;
	background: #dcdfe6;
	font-size: 12px;
	cursor: move;
	/* 弹性布局，让预览内容和名称垂直排列 */
	display: flex;
	flex-direction: column;
}
/* 删除按钮 */
.file-list .file-item .delete-btn {
	position: absolute;
	top: 2px;
	right: 3px;
	width: 18px;
	height: 18px;
	background: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2001;
	opacity: 0;
	transition: opacity 0.2s;
}
.file-list .file-item .delete-btn i{
	color: #fff;
}
.file-list .file-item:hover .delete-btn {
	opacity: 1;
}
.file-list .file-item .desc{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 20px;
	background: #333;
	opacity: 0.5;
	text-align: center;
	color: #fff;
	font-size: 12px;
}
/* 预览内容容器（占主要高度） */
.preview-content {
	flex: 1;
	overflow: hidden;
}
/* 上传图片 */
.preview-content .file-img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;   /* 保持正方形 */
	object-fit: cover;
	object-position: center;
}
.preview-content .file-text {
	width: 100%;
	height: 100%;
	font-size: 14px;
}

.input-box {
	width: 100%;
}
	
.orderList{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.orderList .items{
    position: relative;
    display: block;
    border-radius: 6px;
    height: 400px;
}
.orderList .items .showTitle{
    position: absolute;
    left: 10px;
    top: 10px;
    width: 100%;
    padding: 3px 6px;
    z-index: 999;
    font-size: 14px;
}
.orderList .items .gongneng{
    position: absolute;
    right: 10px;
    top: 10px;
    min-width: 100px;
    padding: 3px 6px;
    z-index: 1000;
    background: #dcdfe6;
    border-radius: 0 10px 0 10px;
}
.orderList .items .gongneng .list{
    margin: 0 10px;
}

.orderList .items .videoBox{
    background: #fff;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    padding: 10px;
}
.orderList .items .videoBox .error{
    word-wrap: break-word; /* 自动换行（旧版） */
    word-break: break-all; /* 强制英文单词内断行（关键！） */
    white-space: normal;   /* 允许正常换行 */
    overflow-wrap: break-word; /* 标准写法 */
}
.orderList .items .videoBox .success{
    
}
.orderList .items .videoBox .success video{
    max-width: 100%;
    max-height: 380px;
}
	
/*@功能*/
.editor{
	width:100%;
    min-height: 150px;
    font-size:16px;
    outline:none;
    overflow-y:auto;
    background: #fff;
    border: 1px solid  #dcdfe6;
    border-radius: 5px;
    padding: 10px;
}
.editor:empty:before{
	content:attr(data-placeholder);
	color:#999;
}
.tag{
    display:inline-flex;
    align-items:center;
    padding:2px 4px;
    font-size: 14px;
    background:#999;
    color: #fff;
    border-radius:4px;
    margin:0 2px;
}
    
.tag img{
    width:18px;
    height:18px;
    margin-right: 4px;
    border-radius:4px;
    aspect-ratio: 1 / 1;   /* 保持正方形 */
	object-fit: cover;
	object-position: center;
}
.mention{
	position: relative;
	top: 0;
	left: 0;
}
.mention-box{
	position:absolute;
	background:white;
	width:220px;
	height: 200px;
	box-shadow:0 4px 10px rgba(0,0,0,.1);
	overflow:auto;
	z-index: 1000;
	border-radius: 10px;
}
.mention-item{
	display:flex;
	align-items:center;
	gap:10px;
	padding:10px;
	cursor:pointer;
}
.mention-item img{
	width:30px;
	height:30px;
	border-radius:4px;
	aspect-ratio: 1 / 1;   /* 保持正方形 */
	object-fit: cover;
	object-position: center;
}

.mention-item.active{
	background:#f0f0f0;
}
/*预览*/
.mask{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index: 2100;
    background:rgba(0,0,0,0.8);
    display:flex;
    align-items:center;
    justify-content:center;
}

.mask img,.mask video,.mask audio{
    max-width:60%;
    max-height:60%;
}
/* 参数配置栏 */
.params-bar {
   margin-top:20px;
}
.params-bar .title {
    
}
/*人像list*/
.renXiangList{
    margin-top:15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.renXiangList .item {
    text-align: center;
}
.renXiangList .item .imgBox{
    position: relative;
}
.renXiangList .item .imgBox .yun {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2001;
}
.renXiangList .item .imgBox .yunzt{
    position: absolute;
    bottom:0;
    right: 0;
    padding: 3px;
    z-index: 2001;
    background: #333;
    opacity: 0.7;
    color: #fff;
    border-radius: 0 0 5px 0;
}
.renXiangList .item .imgBox .yun div{
    margin: 0 2px;
    padding: 5px;
    border-radius: 100%;
    background: #333;
    opacity: 0.7;
    color: #fff;
}
.renXiangList .item .imgBox .file-text {
    font-size: 14px;
    width: 100%;
    aspect-ratio: 1 / 1;   /* 保持正方形 */
    object-fit: cover;
    object-position: top;
    background: #dcdfe6;
    border-radius: 5px;
}
.renXiangList .item .imgBox img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* 保持正方形 */
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 5px;
}

.renXiangList .item .name {
    margin-top: 6px;
    font-size: 14px;
    color: #333;
    /* 防止文字撑开 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}
/*通用表单*/
.commonForm .chooseRenXiang{
    min-height: 160px;
    background: #dcdfe6;
    border-radius: 10px;
    padding: 10px;
}
.commonForm .chooseRenXiang .file-img{
    max-height: 140px;
}
.commonForm .chooseRenXiang .file-text{
    min-height: 140px;
    min-width: 140px;
    font-size:14px;
}
.commonForm .chooseRenXiang .showFileBox{
    position: relative;
}
.commonForm .chooseRenXiang .showFileBox .delete{
    position: absolute;
    right: 5px;
    top: 5px;
    opacity:0.8;
}
.commonForm .inputForm{
    margin-top: 15px;
}
.commonForm .inputForm .title{
    margin-bottom: 5px;
}

/*会员中心*/
.mainMemberBox{
    width: 100%;
}
.mainMemberBox .memberInfo{
    width: 30%;
    min-height: 100vh;
    background: #fff;
}
.mainMemberBox .item{
    margin-top: 30px;
}
.mainMemberBox .item .desc{
    font-size:14px;
    color: #999;
}
/*登录页面*/
.mainLoginBox{
    width: 100%;
    height: 100vh;
}
.mainLoginBox .leftBox{
    width: 100vh;
}
.mainLoginBox .leftBox video{
    width: 100vh;
    height: 100vh;
}
.mainLoginBox .login{
    background: #fff;
    height: 100%;
}
.mainLoginBox .login .logo img{
    width: 100px;
}