/**
 * 新杀风格 - 技能按钮样式
 * 对应原 shoushaUI/skill/main3.css
 */

.skill-control {
	max-width: 220px;
	bottom: 45px;
	right: 165px;
	z-index: 6;
}

.skill-control div {
	position: relative;
}

.skill-control .skillitem {
	float: right;
	white-space: nowrap;
	color: #f5d78e;
	font-size: 16px;
}

.skill-control > div {
	display: flex;
	flex-wrap: wrap-reverse;
	flex-direction: row-reverse;
}

.skill-control > div::after {
	content: "";
	display: block;
	clear: both;
}

.skill-control .trigger,
.skill-control .enable {
	height: auto;
	width: auto;
	justify-content: right;
}

/* 被动技 */
.skill-control > .trigger > .skillitem {
	--w: 45px;
	--h: 16px;
	width: var(--w);
	height: var(--h);
	line-height: var(--h);
	text-align: center;
	background-color: #3a2819;
	border: 0.3px solid #b69d4d;
	border-radius: 50px;
	position: relative;
	padding: 2px 7px;
	margin: 2px 3px;
	color: rbg(190, 142, 99);
	font-family: "yuanli";
	font-size: 16px;
	text-shadow: 0.5px 0px 0.5px #ffffff;
}

/* 主动技 */
.skill-control > .enable > .skillcol {
	display: flex;
	flex-direction: column;
}

.skill-control > .enable > .skillitem,
.skill-control > .enable > .skillcol > .skillitem {
	margin: 3px 3px;
	--w: 85px;
	--h: 35px;
	width: var(--w);
	height: var(--h);
	line-height: 37px;
	text-align: center;
	font-family: "BKJT";
	font-size: 25px;
	color: #f7f5e7;
	background-image: url("../../assets/skill/yijiang/new_btnn1.png");
	background-size: 100% 100%;
	position: relative;
}

/* 转换技标记 */
.skill-control > .enable > .skillitem > .zhuanhuanji-mark,
.skill-control > .enable > .skillcol > .skillitem > .zhuanhuanji-mark {
	position: absolute;
	left: -10px;
	top: -10px;
	--w: 30px;
	--h: 30px;
	width: var(--w);
	height: var(--h);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform-style: preserve-3d;
	pointer-events: none;
	z-index: 1;
}

.skill-control > .enable > .skillitem > .zhuanhuanji-mark.yang,
.skill-control > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.yang {
	background-image: url("../../assets/skill/yijiang/new_mark_yang.png");
}

.skill-control > .enable > .skillitem > .zhuanhuanji-mark.yin,
.skill-control > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.yin {
	background-image: url("../../assets/skill/yijiang/new_mark_ying.png");
}

.skill-control > .enable > .skillitem > .zhuanhuanji-mark.flipping,
.skill-control > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.flipping {
	animation: fanzhuan 1.5s;
}

/* 限定技 */
.skill-control > .enable > .xiandingji,
.skill-control > .enable > .skillcol > .xiandingji {
	margin: 3px 3px;
	--w: 85px;
	--h: 35px;
	width: var(--w);
	height: var(--h);
	line-height: 37px;
	text-align: center;
	font-family: "BKJT";
	color: #f7f5e7;
	font-size: 25px;
	background-image: url("../../assets/skill/yijiang/new_btnn4.png");
	background-size: 100% 100%;
	position: relative;
}

.skill-control > .enable > .xiandingji > .xiandingji-mark,
.skill-control > .enable > .skillcol > .xiandingji > .xiandingji-mark {
	position: absolute;
	left: 0px;
	top: 0px;
	--w: 18px;
	--h: 18px;
	width: var(--w);
	height: var(--h);
	background-image: url("../../assets/skill/online/skillitem_xianding_active.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 1;
}

.skill-control > .enable > .xiandingji.used > .xiandingji-mark,
.skill-control > .enable > .skillcol > .xiandingji.used > .xiandingji-mark {
	filter: grayscale(1);
}

/* 选中状态 */
.skill-control > .enable > .skillitem.select,
.skill-control > .enable > .skillcol > .skillitem.select {
	animation: skill-select-glow 1.5s ease-in-out infinite;
}

.skill-control > .enable > .xiandingji.select,
.skill-control > .enable > .skillcol > .xiandingji.select {
	animation: skill-select-glow-xianding 1.5s ease-in-out infinite;
}

/* 不可用状态 */
.skill-control > .enable > .skillitem:not(.usable):not(.select),
.skill-control > .enable > .skillcol > .skillitem:not(.usable):not(.select) {
	background-image: url("../../assets/skill/yijiang/new_btnn2.png");
}

.skill-control > .enable > .xiandingji:not(.usable):not(.select),
.skill-control > .enable > .skillcol > .xiandingji:not(.usable):not(.select) {
	filter: grayscale(100%);
}

/* 技能标记 */
.skillMarks {
	overflow-y: auto;
	right: -15px !important;
	top: 20px !important;
	z-index: 96 !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;
	border-radius: 50%;
}

.skillMarkItem.xiandingji {
	background-image: url("../../assets/skill/yijiang/new_xiandingji.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 30px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w);
	height: var(--h);
}

.skillMarkItem.xiandingji.used {
	-webkit-filter: grayscale(1);
}

.skillMarkItem + .skillMarkItem {
	margin-top: -6.5px;
}

.skillMarkItem.juexingji {
	background-image: url("../../assets/skill/yijiang/new_juexingji.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 30px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w);
	height: var(--h);
}

.skillMarkItem.zhuanhuanji {
	--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("../../assets/skill/yijiang/new_mark_yang.png");
}

.skillMarkItem.zhuanhuanji.yang {
	background-image: url("../../assets/skill/yijiang/new_mark_yang.png");
	animation: fanzhuan 1.5s;
}

.skillMarkItem.zhuanhuanji.yin {
	background-image: url("../../assets/skill/yijiang/new_mark_ying.png");
	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);
	}
}

/* 技能发动特效 */
.skill-control > .enable > .skillitem.activated,
.skill-control > .enable > .skillcol > .skillitem.activated,
.skill-control > .enable > .xiandingji.activated,
.skill-control > .enable > .skillcol > .xiandingji.activated {
	animation: skill-activate 0.6s ease-out;
}

@keyframes skill-activate {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 215, 142, 0.8);
		filter: brightness(1);
	}

	30% {
		transform: scale(1.15);
		box-shadow: 0 0 15px 5px rgba(245, 215, 142, 0.9);
		filter: brightness(1.3);
	}

	60% {
		transform: scale(1.05);
		box-shadow: 0 0 25px 10px rgba(245, 215, 142, 0.4);
		filter: brightness(1.15);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 215, 142, 0);
		filter: brightness(1);
	}
}

@keyframes skill-select-glow {
	0%,
	100% {
		filter: brightness(1.02) drop-shadow(0 0 2px rgba(100, 255, 100, 0.4));
	}

	50% {
		filter: brightness(1.12) drop-shadow(0 0 6px rgba(100, 255, 100, 0.85));
	}
}

@keyframes skill-select-glow-xianding {
	0%,
	100% {
		filter: brightness(1.02) drop-shadow(0 0 2px rgba(255, 80, 80, 0.4));
	}

	50% {
		filter: brightness(1.12) drop-shadow(0 0 6px rgba(255, 80, 80, 0.85));
	}
}

.skillMarkItem.duty {
	background-image: url("../../assets/skill/yijiang/new_mark_duty.png");
	background-size: contain;
	background-repeat: no-repeat;
}

.skillMarkItem.duty.fail {
	filter: grayscale(100%);
}

/** 左手模式 */
.skill-controlzuoshou {
	max-width: 140px;
	bottom: 25px;
	left: 150px;
	z-index: 5;
}

.skill-controlzuoshou div {
	position: relative;
}

.skill-controlzuoshou .skillitem {
	float: left;
	white-space: nowrap;
	color: #f5d78e;
	font-size: 20px !important;
}

.skill-controlzuoshou > div {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.skill-controlzuoshou > div::after {
	content: "";
	display: block;
	clear: both;
}

.skill-controlzuoshou > .enable {
	margin: 0;
}

/* 左手模式被动技 */
.skill-controlzuoshou > .trigger > .skillitem {
	text-align: center;
	margin: 0px 5px;
	background-color: #3a2819;
	border: 0.3px solid #b69d4d;
	border-radius: 50px;
	position: relative;
	padding: 3px 7px;
	font-family: "yuanli";
	font-size: 20px;
	text-shadow: 0.5px 0px 0.5px #ffffff;
}

/* 左手模式主动技 */
.skill-controlzuoshou > .enable > .skillcol {
	display: flex;
	flex-direction: column;
}

.skill-controlzuoshou > .enable > .skillitem,
.skill-controlzuoshou > .enable > .skillcol > .skillitem {
	margin: 0px 5px;
	--w: 75px;
	--h: calc(var(--w) * 85 / 175);
	width: var(--w);
	height: var(--h);
	line-height: var(--h);
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "yuanli";
	font-size: 25px;
	background-image: url("../../assets/skill/yijiang/new_btnn1.png");
	background-size: 100% 100%;
	position: relative;
}

/* 左手模式转换技标记 */
.skill-controlzuoshou > .enable > .skillitem > .zhuanhuanji-mark,
.skill-controlzuoshou > .enable > .skillcol > .skillitem > .zhuanhuanji-mark {
	position: absolute;
	left: -6px;
	top: -6px;
	--w: 20px;
	--h: 20px;
	width: var(--w);
	height: var(--h);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform-style: preserve-3d;
	pointer-events: none;
	z-index: 1;
}

.skill-controlzuoshou > .enable > .skillitem > .zhuanhuanji-mark.yang,
.skill-controlzuoshou > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.yang {
	background-image: url("../../assets/skill/yijiang/new_mark_yang.png");
}

.skill-controlzuoshou > .enable > .skillitem > .zhuanhuanji-mark.yin,
.skill-controlzuoshou > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.yin {
	background-image: url("../../assets/skill/yijiang/new_mark_ying.png");
}

.skill-controlzuoshou > .enable > .skillitem > .zhuanhuanji-mark.flipping,
.skill-controlzuoshou > .enable > .skillcol > .skillitem > .zhuanhuanji-mark.flipping {
	animation: fanzhuan 1.5s;
}

/* 左手模式选中状态 */
.skill-controlzuoshou > .enable > .skillitem.select,
.skill-controlzuoshou > .enable > .skillcol > .skillitem.select {
	animation: skill-select-glow 1.5s ease-in-out infinite;
}

/* 左手模式不可用状态 */
.skill-controlzuoshou > .enable > .skillitem:not(.usable):not(.select),
.skill-controlzuoshou > .enable > .skillcol > .skillitem:not(.usable):not(.select) {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}

/* 左手模式限定技 */
.skill-controlzuoshou > .enable > .xiandingji,
.skill-controlzuoshou > .enable > .skillcol > .xiandingji {
	margin: 0px 5px;
	--w: 75px;
	--h: 38.1px;
	width: var(--w);
	height: var(--h);
	line-height: 42px;
	text-align: center;
	font-family: "yuanli";
	font-weight: 500;
	color: #f7f5e7;
	font-size: 25px;
	background-image: url("../../assets/skill/yijiang/new_btnn4.png");
	background-size: 100% 100%;
	position: relative;
}

.skill-controlzuoshou > .enable > .xiandingji > .xiandingji-mark,
.skill-controlzuoshou > .enable > .skillcol > .xiandingji > .xiandingji-mark {
	position: absolute;
	left: 0px;
	top: 0px;
	--w: 18px;
	--h: 18px;
	width: var(--w);
	height: var(--h);
	background-image: url("../../assets/skill/online/skillitem_xianding_active.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 1;
}

.skill-controlzuoshou > .enable > .xiandingji.used > .xiandingji-mark,
.skill-controlzuoshou > .enable > .skillcol > .xiandingji.used > .xiandingji-mark {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
}

.skill-controlzuoshou > .enable > .xiandingji.select,
.skill-controlzuoshou > .enable > .skillcol > .xiandingji.select {
	animation: skill-select-glow-xianding 1.5s ease-in-out infinite;
}

.skill-controlzuoshou > .enable > .xiandingji:not(.usable):not(.select),
.skill-controlzuoshou > .enable > .skillcol > .xiandingji:not(.usable):not(.select) {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}

/* 左手模式技能发动特效 */
.skill-controlzuoshou > .enable > .skillitem.activated,
.skill-controlzuoshou > .enable > .skillcol > .skillitem.activated {
	animation: skill-activate 0.6s ease-out;
}

.skill-controlzuoshou > .enable > .xiandingji.activated,
.skill-controlzuoshou > .enable > .skillcol > .xiandingji.activated {
	animation: skill-activate-xianding 0.8s ease-out;
}

/* 法箓标记 */
.skillMarkItem.xinfu-falu-spade {
	background-image: url("../../assets/skill/yijiang/falu_spade.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.xinfu-falu-heart {
	background-image: url("../../assets/skill/yijiang/falu_heart.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.xinfu-falu-club {
	background-image: url("../../assets/skill/yijiang/falu_club.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.xinfu-falu-diamond {
	background-image: url("../../assets/skill/yijiang/falu_diamond.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

/* 残蚀标记 */
.skillMarkItem.starcanxi-qun {
	background-image: url("../../assets/skill/yijiang/starcanxi_qun.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.starcanxi-shu {
	background-image: url("../../assets/skill/yijiang/starcanxi_shu.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.starcanxi-wei {
	background-image: url("../../assets/skill/yijiang/starcanxi_wei.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.starcanxi-wu {
	background-image: url("../../assets/skill/yijiang/starcanxi_wu.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.starcanxi-jin {
	background-image: url("../../assets/skill/yijiang/starcanxi_jin.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}

.skillMarkItem.starcanxi-shen {
	background-image: url("../../assets/skill/yijiang/starcanxi_shen.png");
	background-size: 100% 100%;
	text-shadow: none;
	--w: 25px;
	--h: calc(var(--w) * 1 / 1);
	width: var(--w) !important;
	height: var(--h) !important;
	margin-top: 1px !important;
}
