@import "dialog.css";
@import "component.css";
@import "card.css";
@import "icon.css";
@import "effect.css";
/*@import 'equip.css';*/
/*龙框美化*/
/*龙头*/
/*-----------------分割线-----------------*/
.player > .long {
	display: block;
	--w: 60px;
	--h: calc(var(--w) * 110 / 60);
	width: var(--w);
	height: var(--h);
	right: -18px;
	/*左移*/
	top: -25px;
	/*下移*/
	position: absolute;
	background-image: none;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 63;
	pointer-events: none;
}
/*银龙框*/
#arena[data-long-level="one"] > .player > .long {
	background-image: url("../assets/image/long_silver1.png");
}
/*金龙框*/
#arena[data-long-level="two"] > .player > .long {
	background-image: url("../assets/image/long_gold1.png");
}
/*玉龙框*/
#arena[data-long-level="three"] > .player > .long {
	background-image: url("../assets/image/long_yu1.png");
}
/*炎龙框*/
#arena[data-long-level="five"] > .player > .long {
	background-image: url("../assets/image/long_yan1.png");
}
/*龙尾巴*/
/***********************分割线**********************/
.player > .wei {
	display: block;
	--w: 80px;
	--h: calc(var(--w) * 40 / 80);
	width: var(--w);
	height: var(--h);
	left: auto;
	top: auto;
	right: -9px;
	/*左移*/
	bottom: -10px;
	/*上移*/
	position: absolute;
	background-image: none;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 99;
	pointer-events: none;
}
/*银龙框*/
#arena[data-long-level="one"] > .player > .wei {
	background-image: url("../assets/image/long_silver2.png");
}
/*金龙框*/
#arena[data-long-level="two"] > .player > .wei {
	background-image: url("../assets/image/long_gold2.png");
}
/*玉龙框*/
#arena[data-long-level="three"] > .player > .wei {
	background-image: url("../assets/image/long_yu2.png");
}
/*炎龙框*/
#arena[data-long-level="five"] > .player > .wei {
	background-image: url("../assets/image/long_yan2.png");
}
/*-----------------分割线-----------------*/
html {
	background: rgb(60, 60, 60);
}
/* #arena>.dialog { */
/* display: none; */
/* } */
body > .background {
	animation: anime-opacity 1s ease-in-out;
}
@keyframes anime-opacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
#decadeUI-canvas,
#decadeUI-canvas-background {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 15;
	pointer-events: none;
}
#decadeUI-canvas-background {
	z-index: -1;
	/* 动态背景显示层级*/
}
#decadeUI-canvas-arena {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 4;
	pointer-events: none;
}
#decadeUI-body-sensor {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	visibility: hidden;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
#arena {
	left: 22px;
	right: 25px;
	top: 10%;
	bottom: 1%;
	width: auto;
	height: auto;
	/* pointer-events: none; */
	transition-property: opacity;
}
#arena.phone {
	top: 2%;
}
/* #arena.dragging { */
/* cursor: default; */
/* } */
#window.leftbar #arena:not(.chess) {
	width: auto;
	left: calc(2% + 50px);
}
#window.rightbar #arena:not(.chess) {
	width: auto;
	right: calc(2% + 50px);
}
#arena:not(.chess).decadeUI > #mebg {
	display: none;
}
#arena.decadeUI:not(.single-handcard):not(.chess) > #autonode {
	display: flex !important;
	align-items: center;
	justify-content: center;
	left: -2% !important;
	right: -2% !important;
	bottom: -2% !important;
	width: auto !important;
	height: calc(2% + 180px);
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
#autonode > div {
	position: static;
	text-shadow: 0 0 20px red;
}
#shortcut.hidden {
	z-index: -1;
}
#window > #time {
	left: 50px;
	right: 50px;
	color: rgb(250, 250, 200);
	font-family: xinwei;
	text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
}
#arena > .hand-wrap,
#arena > .hand-back {
	/*手牌区*/
	/*左手布局+单独装备栏*/
	left: 300px;
	right: 225px;
	/*数值越大手牌右边界区域越往左*/
	width: auto;
	height: 150px;
	bottom: 1%;
	transition: none;
	z-index: 3;
	/* border: 3px solid rgb(3,4,5); /*调试用*/
}
#arena[data-right-layout="on"] > .hand-wrap,
#arena[data-right-layout="on"] > .hand-back {
	/*右手布局+单独装备栏*/
	left: 230px;
	right: 380px;
	bottom: 0%;
}
#arena[data-alone-equip="off"][data-right-layout="off"] > .hand-wrap,
#arena[data-alone-equip="off"][data-right-layout="off"] > .hand-back {
	/*左手布局+非单独装备栏*/
	left: 300px;
	right: 95px;
	bottom: 0%;
}
#arena[data-alone-equip="off"][data-right-layout="on"] > .hand-wrap,
#arena[data-alone-equip="off"][data-right-layout="on"] > .hand-back {
	/*右手布局+非单独装备栏*/
	left: 95px;
	right: 380px;
	bottom: 0%;
}
.discard-zone {
	width: 100%;
	height: 10%;
}
/*ol样式*/
#arena > .hand-wrap,
#arena[data-new-decade-style="onlineUI"] > .hand-back {
	/*手牌区*/
	/*左手布局+单独装备栏*/
	left: 360px;
	right: 320px;
	/*数值越大手牌右边界区域越往左*/
	width: auto;
	height: 150px;
	bottom: 0%;
	transition: none;
	z-index: 3;
	/* border: 3px solid rgb(3,4,5); /*调试用*/
}
#arena[data-new-decade-style="onlineUI"][data-right-layout="on"] > .hand-wrap,
#arena[data-right-layout="on"] > .hand-back {
	/*右手布局+单独装备栏*/
	left: 265px;
	right: 410px;
	bottom: 0%;
}
#arena[data-new-decade-style="onlineUI"][data-alone-equip="off"][data-right-layout="off"] > .hand-wrap,
#arena[data-alone-equip="off"][data-right-layout="off"] > .hand-back {
	/*左手布局+非单独装备栏*/
	left: 360px;
	right: 160px;
	bottom: 0%;
}
#arena[data-new-decade-style="onlineUI"][data-alone-equip="off"][data-right-layout="on"] > .hand-wrap,
#arena[data-alone-equip="off"][data-right-layout="on"] > .hand-back {
	/*右手布局+非单独装备栏*/
	left: 140px;
	right: 405px;
	bottom: 0%;
}
/*挑战模式小头像*/
.hand-wrap > .fakeme.avatar {
	left: -270px;
	/*数值越小越左*/
	top: auto;
	right: auto;
	bottom: 0;
	width: 120px;
	height: 130px;
	border-radius: 8px;
	background-size: cover;
}
#arena[data-right-layout="on"] > .hand-wrap > .fakeme.avatar {
	left: auto;
	right: -320px;
}
.hand-cards {
	display: inline-block;
	width: 100%;
	height: 100%;
	transition: none;
	z-index: 3;
}
.hand-cards > .handcards {
	display: inline-block;
	padding: 0;
	margin: 0;
	bottom: 0px;
	width: 100%;
	height: calc(100% - 30px);
	min-width: 100%;
	transition: none;
}
.hand-cards > .handcards > .card {
	/*手牌边框美化*/
	margin: 0px;
	width: 108px;
	height: 150px;
	left: 20px;
	position: absolute;
	transition-property: transform, opacity, left, top;
	border: 1px solid;
	border-radius: 6px;
	z-index: 1;
}
.hand-cards > .handcards > .card.display-none {
	display: none;
	transition: none;
}
.hand-cards > .handcards > .card.selected {
	boder-radius: 2px;
}
.hand-cards > .handcards > .card.selectable {
	boder-radius: 2px;
	cursor: pointer;
}
.hand-special {
	left: auto;
	right: calc(-1% + 3px);
	bottom: calc(1% + 150px);
	width: auto;
	height: 75px;
	min-width: 150px;
	box-shadow: 0 0 6px rgb(200, 150, 80) inset;
	background: rgba(0, 0, 0, 0.4);
}
.hand-special > .cards {
	display: flex;
	flex-direction: row-reverse;
	position: relative;
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	zoom: 0.5;
}
.hand-special > .cards > .card {
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	transform: none !important;
}
.hand-special > .cards > .card::after {
	border-radius: inherit !important;
	box-shadow: 0px -1px 2px yellow, 0px -1px 5px yellow, 0px 0px 15px yellow;
	transition: opacity 0.5s;
}
#arena > .card,
#arena.oblongcard:not(.chess) > .card,
#arena.oblongcard:not(.chess) .handcards > .card {
	width: 108px;
	height: 150px;
}
.button.card {
	width: 108px;
	height: 150px;
	background-size: 100% 100%;
}
.dialog.addNewRow .button.card {
	zoom: 0.7;
}
.card,
#window:not(*[data-radius_size=""]) .card {
	border-radius: 2px;
}
.card {
	width: 108px;
	height: 150px;
	box-shadow: 0 1px 4px black;
	border-radius: 2px;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
	-moz-background-size: 100% 100% !important;
	transition: all 0.46s;
	/*新增*/
}
.dui-mobile .card {
	box-shadow: 0 1px 2px black;
}
#arena.decadeUI.selecting:not(.video) > .dialog:not(.noselect) .buttons > .card.button:not(.selectable):not(.noclick):not(.replaceButton) {
	opacity: 1;
}
#arena.decadeUI.selecting:not(.video) > .dialog:not(.noselect) .buttons > .card.button:not(.selected):not(.selectable) > .card-mask {
	opacity: 1;
}
.card > .background,
.card.button > .background {
	top: auto;
	bottom: 8%;
	font-size: 80px;
	line-height: 80px;
	padding-top: 0;
}
.card.mark > .background {
	line-height: 100%;
}
.card > .top-name {
	left: 30%;
	top: 7%;
	width: 70%;
	color: black;
	font-size: 28px;
	line-height: 22px;
	font-family: "HYZLSJ" !important;
	text-align: center;
	text-shadow: 0.3px 0px 1.8px white, 0.3px 0px 1.8px white, 0.3px 0px 1.8px white;
	z-index: 1;
}
.card:not(.fullskin) > .top-name {
	left: 7.5px;
	width: calc(100% - 15px);
	font-size: 20px;
	font-family: "yuanli" !important;
	text-align: center;
	top: 40%;
	color: #f7f5e7;
	text-shadow: 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18,
		0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18, 0.3px 0px 1.8px #332c18;
}
.card.decade-card > .top-name {
	display: none;
}
.card.decade-card > .image {
	display: none;
	visibility: hidden !important;
}
.card > .image,
#arena:not(.chess) > .card > .image,
#arena:not(.chess) .handcards > .card > .image,
#arena.oblongcard:not(.chess) > .card > .image,
#arena.oblongcard:not(.chess) .handcards > .card > .image {
	position: absolute;
	width: 108px;
	height: 108px;
	left: 0;
	top: auto;
	right: 0;
	bottom: 8%;
	background-position-x: 0;
}
.card > .suit-num {
	font-size: 25px;
	color: black;
	text-align: center;
	top: 10px;
	left: 5px;
	width: 25px;
	height: auto;
	line-height: 20px;
	text-shadow: 0 0 3px #ffffff, 0 0 8px #ffffff;
	letter-spacing: -1px;
	transform-origin: 0 0;
	z-index: 1;
	-webkit-text-size-adjust: none;
}
.dui-mobile .card > .suit-num > .suit {
	font-size: 16px;
}
.card[data-suit="heart"] > .suit-num,
.card[data-suit="diamond"] > .suit-num {
	color: red;
}
.card > .range {
	right: 5px;
	bottom: 5px;
	line-height: 14px;
	color: black;
	font-size: 14px;
	font-weight: bold;
	font-family: shousha;
	text-shadow: 0 0 1px white, 0 0 3px white;
	border: 1px solid black;
	border-radius: 2px;
}
.card > .range:empty {
	display: none;
}
.card > .range.card-tag {
	left: 4px;
	top: calc(50% + 8px);
	bottom: auto;
	right: 4px;
	width: auto;
	color: #181818;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	text-shadow: none;
	white-space: normal;
	background: rgba(230, 210, 166, 0.8);
}
/* 询问无懈时界面/卡牌虚化*/
.card > .card-mask {
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: inherit;
	transition: opacity 0.1s linear;
	pointer-events: none;
	z-index: 8;
}
.card.invalided > .card-mask,
#arena.selecting:not(.video) .handcards > .card:not(.selectable) > .card-mask,
#arena.thrownhighlight > .card.thrown:not(.thrownhighlight):not(.drawingcard),
#arena.thrownhighlight > .card.thrown:not(.thrownhighlight):not(.drawingcard) > .card-mask {
	opacity: 1;
}
.transition-none {
	transition: none !important;
}
/*牌堆牌数 游戏时间*/
.touchinfo {
	top: 1%;
	color: rgb(250, 250, 200);
	font-family: xinwei;
	text-shadow: rgb(51, 51, 51) 1px 0 0, rgb(51, 51, 51) 0 1px 0, rgb(51, 51, 51) -1px 0 0, rgb(51, 51, 51) 0 -1px 0;
	/* background: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black; */
	z-index: 4;
}
.touchinfo.left {
	left: 84%;
	top: 15%;
}
.touchinfo.right {
	right: 2%;
}
#window.leftbar > .touchinfo.left {
	left: calc(2% + 50px);
}
#window.rightbar > .touchinfo.right {
	right: calc(2% + 50px);
}
#arena > .dialog {
	z-index: 7;
}
/*界面操作按钮*/
#arena > #dui-controls {
	position: absolute;
	display: flex;
	align-items: center;
	align-content: flex-start;
	/*多轴排列方式*/
	justify-content: center;
	flex-wrap: wrap-reverse;
	/*换行方式*/
	top: auto;
	left: 143px;
	right: 150px;
	bottom: calc(20% + 40px);
	width: auto;
	height: 42px;
	font-size: 23px;
	font-family: xinwei;
	transition: opacity 0.3s;
	pointer-events: none;
	z-index: 8;
}
#arena > #dui-controls > * {
	height: 44px;
	font-size: 24px;
	overflow: inherit;
	pointer-events: auto;
}
#arena > #dui-controls.bosslist,
#arena.choose-character > #dui-controls {
	bottom: 20px;
	left: -5px;
	right: -5px;
}
#arena.dui-mobile:not(.choose-character) > #dui-controls {
	bottom: calc(23% + 40px);
	left: 10px;
	/*左边距*/
	right: 10px;
	/*右边距*/
	display: flex;
	/*不加这个，换行没用*/
	flex-wrap: wrap !important;
	/*换行方式*/
}
#arena > #dui-controls > .control {
	overflow: visible;
	/*别动*/
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	position: static;
	height: calc(100% - 4px);
	line-height: normal;
	margin-left: 6px !important;
	margin-right: 6px !important;
	text-shadow: none;
	font-size: inherit;
	cursor: pointer;
}
#arena.decadeUI.dui-mobile > #dui-controls > .control.stayleft {
	position: absolute;
	left: 120px !important;
	order: 0;
}
#arena > #dui-controls > .control.stayleft {
	position: absolute;
	left: -25px;
	order: 0;
}
#arena > #dui-controls > .control > div {
	display: flex;
	align-items: center;
	justify-content: center;
	position: static;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	height: 100%;
	margin-left: 8px !important;
	margin-right: 8px !important;
	opacity: 1;
}
#arena > #dui-controls > .control > div:only-child {
	position: static;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0;
	padding-bottom: 0;
}
#arena > #dui-controls > .control.combo-control {
	flex-direction: row;
	padding-left: 0;
	padding-right: 0;
	box-shadow: none;
	background: none;
}
#arena > #dui-controls > .control:not(.disabled) > div:active,
#arena > #dui-controls > .control:not(.disabled):not(.combo-control):active {
	transform: scale(0.96);
}
#arena > #dui-controls > .control.combo-control > div {
	font-size: inherit;
}
/*暂停记录栏*/
.pausedbg > #sidebar {
	width: auto;
}
.dialog .buttons > .button.character.decadeUI,
.button.character.longcharacter.decadeUI {
	width: 90px;
	height: 120px;
	background-position: 666px 666px;
	background-size: 0 0 !important;
}
.button.character {
	position: relative;
	width: 90px;
	height: 120px;
	margin: 6px;
}
.button.character::before {
	left: -15px;
	top: -15px;
	width: calc(100% + 30px);
	height: calc(100% + 30px);
	box-shadow: none;
	box-sizing: border-box;
	border-width: 15px;
	border-style: solid;
	border-color: transparent;
	border-image-source: url("../assets/image/glow_orange.png");
	border-image-slice: 42 46 32 46 fill;
}
.button.character.selected::before {
	opacity: 1;
}
.button.character::after {
	display: none;
}
.button.character > .showintro.rarity {
	font-family: yuanli;
	font-size: 16px;
	bottom: -25px;
	left: calc(50% - 25px);
	top: auto;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: contain;
}
.button.character > .character {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 0;
	border-radius: inherit;
	background-position: top;
	background-image: inherit;
	background-size: cover;
	pointer-events: none;
	transition: none;
}
/* 游戏开局前选将框露头高度调整 */
/* 十周年露头*/
#arena[data-outcrop-skin="shizhounian"] .button.character > .character {
	height: 128px;
	clip-path: url(#solo-clip);
	-webkit-clip-path: url(#solo-clip);
}
/* 手杀露头 */
#arena[data-outcrop-skin="shousha"] .button.character > .character {
	height: 140px;
	clip-path: url(#soloss-clip);
	-webkit-clip-path: url(#soloss-clip);
}
#arena > .card > .judge-mark {
	visibility: hidden;
}
