#arena[data-right-layout="on"] > .skill-control {
	/*技能按钮*/
	max-width: 200px;
	bottom: 0px;
	right: 190px;
	z-index: 0;
}
#arena[data-right-layout="off"] > .skill-control {
	/*技能按钮左手布局*/
	max-width: 200px;
	bottom: 0px;
	left: 190px;
	z-index: 0;
}
.skill-control div {
	position: relative;
}
.skill-control .skillitem {
	float: right;
	white-space: nowrap;
	color: #f5d78e;
	font-size: 18px;
}
.skill-control > div {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.skill-control > div::after {
	content: "";
	display: block;
	clear: both;
}
/*右手布局*/
#arena[data-right-layout="on"] > .skill-control .combined {
	height: auto;
	width: auto;
	display: flex;
	flex-direction: column;
	/* 改为单列排列 */
	align-items: flex-end;
	margin-right: 5px;
	/* 技能间距 */
	flex-wrap: wrap-reverse;
	max-height: 150px; /* 3个技能的高度限制 */
}
/* 当技能超过6个时启用双列布局和滚动 */
#arena[data-right-layout="on"] > .skill-control .combined.scroll-enabled {
	flex-direction: row; /* 改为双列排列 */
	flex-wrap: wrap; /* 允许换行 */
	justify-content: flex-end; /* 右对齐 */
	max-height: 120px; /* 限制高度以启用滚动 */
	overflow-y: auto; /* 添加垂直滚动 */
	overflow-x: hidden; /* 隐藏水平滚动 */
}
/*左手布局*/
#arena[data-right-layout="off"] > .skill-control .combined {
	height: auto;
	width: auto;
	display: flex;
	flex-direction: column;
	/* 改为单列排列 */
	align-items: flex-start;
	margin-left: 5px;
	/* 技能间距 */
	flex-wrap: wrap-reverse;
	max-height: 150px; /* 3个技能的高度限制 */
}
/* 当技能超过6个时启用双列布局和滚动 */
#arena[data-right-layout="off"] > .skill-control .combined.scroll-enabled {
	flex-direction: row; /* 改为双列排列 */
	flex-wrap: wrap; /* 允许换行 */
	justify-content: flex-start; /* 左对齐 */
	max-height: 120px; /* 限制高度以启用滚动 */
	overflow-y: auto; /* 添加垂直滚动 */
	overflow-x: hidden; /* 隐藏水平滚动 */
}
/* 合并区域中的主动技样式 - 保持原有背景图片 */
.skill-control > .combined > .skillitem.enable-skill {
	margin: 2px 4px;
	width: 86px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	font-size: 22px;
	color: #e2aa7b;
	font-family: "FZLBJW";
	background-image: url("./online/btnnOL1.png");
	background-size: 100% 100%;
	letter-spacing: 2px;
	flex: 0 0 auto; /* 防止flex收缩 */
}
.skill-control > .combined > .skillitem.enable-skill.select {
	background-image: url("./online/btnnOL4.png");
	filter: brightness(1.2);
}
.skill-control > .combined > .skillitem.enable-skill:not(.usable):not(.select) {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}
/* 合并区域中的限定技样式 */
.skill-control > .combined > .xiandingji.enable-skill {
	margin: 2px 4px;
	width: 86px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	color: #ceb193;
	font-family: "FZLBJW";
	font-size: 22px;
	background-image: url("./online/btnnOL1.png");
	background-size: 100% 100%;
	letter-spacing: 2px;
	flex: 0 0 auto; /* 防止flex收缩 */
}
.skill-control > .combined > .xiandingji.enable-skill.select {
	background-image: url("./online/btnnOL2.png");
}
.skill-control > .combined > .xiandingji.enable-skill:not(.usable):not(.select) {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}
/* 合并区域中的被动技样式 - 保持原有背景图片 */
.skill-control > .combined > .skillitem.trigger-skill {
	margin: 2px 4px;
	width: 86px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	font-size: 22px;
	color: #ceb193;
	font-family: "FZLBJW";
	background-image: url("./online/btnnOL3.png");
	background-size: 100% 100%;
	letter-spacing: 2px;
	flex: 0 0 auto; /* 防止flex收缩 */
}
.skillMarks {
	max-height: 80px;
	overflow-y: auto;
	left: 105px !important;
	top: 110px !important;
	z-index: 90 !important;
	justify-content: center;
	align-items: center;
}
.skillMarks > .skillMarkItem {
	--h: 19px;
	width: 28.5px !important;
	height: 28.5px !important;
	right: 0px;
	line-height: -10px;
	text-align: center;
	display: block;
	position: relative;
	/* justify-content: center;
	align-items: center;
    letter-spacing: -1px;
    white-space: nowrap;*/
	border-radius: 50%;
}
.skillMarkItem.xiandingji {
	background-image: url("./online/xiandingjiOL.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 30px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w);
	height: var(--h);
	display: flex;
	justify-content: center;
	align-items: center;
	color: #f5d78e;
	font-size: 16px;
	font-family: "FZLBJW";
	font-weight: bold;
	text-shadow: 0 0 2px #000;
}
.skillMarkItem.xiandingji.used {
	-webkit-filter: grayscale(1);
	color: #888;
}
.skillMarkItem + .skillMarkItem {
	margin-top: -6.5px;
}
.skillMarkItem.juexingji {
	background-image: url("./online/juexingjiOL.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 30px;
	--h: calc(var(--w) * 1 / 1);
	/*高和长*/
	width: var(--w);
	/*按比例调节*/
	height: var(--h);
	/*同理*/
	display: flex;
	justify-content: center;
	align-items: center;
	color: #f5d78e;
	font-size: 16px;
	font-family: "FZLBJW";
	font-weight: bold;
	text-shadow: 0 0 2px #000;
}
.skillMarkItem.juexingji.used {
	-webkit-filter: grayscale(1);
	color: #888;
}
.skillMarkItem.zhuanhuanji {
	/*background-size: contain;*/
	--w: 30px;
	--h: calc(var(--w) * 1 / 1);
	/*高和长*/
	width: var(--w);
	/*按比例调节*/
	height: var(--h);
	/*同理*/
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform-style: preserve-3d;
	transform: rotateY(360deg);
	background-image: url("./online/mark_yangOL.png");
}
.skillMarkItem.zhuanhuanji.yang {
	background-image: url("./online/mark_yangOL.png");
	/*transform:rotate(1turn);*/
	/*transform:  rotateY(360deg);*/
	animation: fanzhuan 1.5s;
}
.skillMarkItem.zhuanhuanji.yin {
	background-image: url("./online/mark_yingOL.png");
	/*transform:rotate(1turn);*/
	/*transform:  rotateY(360deg);*/
	animation: fanzhuan 1.5s;
}
@keyframes fanzhuan {
	0% {
		transform: rotateY(0deg) scale(1.2);
	}
	50% {
		transform: rotateY(180deg) scale(1.2);
	}
	100% {
		transform: rotateY(0deg) scale(1);
	}
}
.skillMarkItem.duty {
	background-image: url("./online/mark_dutyOL.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #f5d78e;
	font-size: 16px;
	font-family: "FZLBJW";
	font-weight: bold;
	text-shadow: 0 0 2px #000;
}
.skillMarkItem.duty.fail {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	color: #888;
}
