/**
 * 十周年风格按钮样式 - 非触屏布局
 */

/* 按钮控制区 */
.lbtn-controls {
	--width: 80px;
	--height: 58.6px;
	left: 0;
	bottom: 15%;
	z-index: 3;
}

#arena:not(.single-handcard):not(.chess).cxy-new-ui > .lbtn-controls ~ #mebg,
#arena:not(.single-handcard):not(.chess).cxy-new-ui > .lbtn-controls ~ #me {
	left: 40px !important;
}

.lbtn-controls ~ #me #handcards1 {
	--lessw: 40px;
}

.lbtn-controls > div {
	display: block;
	position: relative;
}

/* 二级菜单 */
.HOME {
	--w: 69px;
	--h: calc(var(--w) * 446 / 81);
	width: var(--w);
	height: var(--h);
	top: 7%;
	left: calc(100% - 119px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/HOME.png");
	z-index: 68;
	position: relative;
	transition: all 1s;
}

/* 菜单按钮 */
.SZ {
	--w: 56px;
	--h: calc(var(--w) * 73 / 71);
	width: var(--w);
	height: var(--h);
	bottom: calc(100% - 423px);
	left: calc(100% - 112.5px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/SZ.png");
	z-index: 99;
	position: fixed;
}

.LK {
	--w: 56px;
	--h: calc(var(--w) * 73 / 71);
	width: var(--w);
	height: var(--h);
	bottom: calc(100% - 298px);
	left: calc(100% - 112.5px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/LK.png");
	z-index: 99;
	position: fixed;
}

.BJ {
	--w: 56px;
	--h: calc(var(--w) * 73 / 71);
	width: var(--w);
	height: var(--h);
	bottom: calc(100% - 360px);
	left: calc(100% - 112.5px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/BJ.png");
	z-index: 99;
	position: fixed;
}

.TX {
	--w: 56px;
	--h: calc(var(--w) * 73 / 71);
	width: var(--w);
	height: var(--h);
	bottom: calc(100% - 237px);
	left: calc(100% - 112.5px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/TX.png");
	z-index: 99;
	position: fixed;
}

.TG {
	--w: 56px;
	--h: calc(var(--w) * 74 / 71);
	width: var(--w);
	height: var(--h);
	bottom: calc(100% - 178px);
	left: calc(100% - 112.5px);
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/CD/TG.png");
	z-index: 99;
	position: fixed;
}

.lbtn-confirm:not(.closing).removing {
	opacity: 1 !important;
}

/* 控制按钮 */
.control {
	--height: 32px;
	width: auto !important;
	background: transparent;
	box-shadow: none;
	line-height: normal;
	padding: 0;
}

.control > div {
	background-image: url("../../../assets/lbtn/uibutton/btnn2.png");
	background-size: 100% 100%;
	line-height: var(--h);
	padding: 2.6px 15px !important;
	min-width: 100px !important;
	max-height: 50px !important;
	text-align: center;
	margin-top: 0px !important;
	margin-bottom: 18px !important;
	color: #2f4f4f;
	-webkit-text-stroke: 0.4px #803b02;
	font-family: "yuanli";
	text-shadow:
		0 0 2px #ffffd5,
		0 0 2px #ffffd5;
	font-size: 25px;
}

/* 无懈按钮位置 */
#arena > #dui-controls > .control.stayleft {
	left: calc(50% - 420px) !important;
	margin-bottom: -1px !important;
	order: 3;
}

.control > div.primary2 {
	color: #2f4f4f;
	-webkit-text-stroke: 0.4px #803b02;
	text-shadow:
		0 0 2px #ffffd5,
		0 0 2px #ffffd5;
	font-size: 25px;
	line-height: 35px;
	padding: 2.6px 25px !important;
	margin-left: 55px !important;
	margin-right: 0px !important;
	margin-top: 0px !important;
	margin-bottom: 18px !important;
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/uibutton/btnn.png");
	overflow: visible;
	transition: none;
}

.control > div.primary {
	color: #2f4f4f;
	-webkit-text-stroke: 0.4px #803b02;
	text-shadow:
		0 0 2px #ffffd5,
		0 0 2px #ffffd5;
	font-size: 25px;
	line-height: 35px;
	padding: 2.6px 25px !important;
	margin-left: 10px !important;
	margin-right: 45px !important;
	margin-top: 0px !important;
	margin-bottom: 18px !important;
	background-size: 100% 100%;
	background-image: url("../../../assets/lbtn/uibutton/btnn2.png");
}

.control > div.disabled:not([data-type="endButton"]) {
	background-size: 100% 100%;
	-webkit-filter: brightness(70%);
}

.lbtn-confirm[data-skill] > [data-type="skill2"] {
	display: none;
}

/* 手牌数显示 */
.handcardNumber {
	bottom: 0px;
	right: 245px;
	font-family: "yuanli";
	text-shadow:
		#f5d78e 0 0 1px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px;
	color: #f5d78e;
	z-index: 1;
}

.handcardNumber > .cardPicture {
	left: 77px;
	bottom: 0px;
	width: 60px;
	height: 50px;
	background-image: url("../../../assets/lbtn/uibutton/countx1.png");
	background-size: 100% 100%;
	position: relative;
	z-index: -1;
}

.handcardNumber > .cardNumber {
	left: 97px;
	bottom: 23px;
	height: 8px;
	line-height: 29px;
	text-align: center;
	color: #fffcf5;
	font-size: 15px;
	white-space: nowrap;
}

/* 牌堆数显示 */
.cardRoundNumber {
	top: 16px;
	left: 25px;
	font-weight: 400;
	font-family: "yuanli";
	text-shadow:
		#b4a993 0.2px 0.2px 0.2px,
		#b4a993 0.2px -0.2px 0.2px,
		#b4a993 -0.2px 0.2px 0.2px,
		#b4a993 -0.2px -0.2px 0.2px;
}

.cardRoundNumber > .cardPileNumber {
	top: -15px;
	--w: 65px;
	--h: calc(var(--w) * 173 / 127);
	width: var(--w);
	height: var(--h);
	background-image: url("../../../assets/lbtn/uibutton/cardback3.png");
	background-size: 100% 100%;
	background-color: transparent;
	position: relative;
	z-index: 2;
}

.cardRoundNumber > .cardPileNumber > span {
	left: 13px;
	top: 12px;
	width: 100%;
	display: block;
	position: absolute;
	line-height: 20px;
	text-align: center;
	color: #342510;
	font-size: 15px;
	font-weight: bold;
}

.cardRoundNumber > .roundNumber,
.cardRoundNumber > .time {
	left: 10px;
	top: 24px;
	height: 20px;
	line-height: 16px;
	white-space: nowrap;
	color: #342510;
	z-index: 3;
	font-weight: bold;
}

.cardRoundNumber > .time {
	top: 48px;
	left: 14px;
	font-size: 17px;
	color: #342510;
	font-weight: bold;
}

/* 托管中图标 */
#autonode > div:last-child {
	z-index: 10;
	top: calc(100% - 160px);
	left: calc(50% - 650px);
	font-size: 0px;
	text-shadow: none;
	--w: 530px;
	--h: calc(var(--w) * 149 / 598);
	width: var(--w);
	height: var(--h);
	background-image: url("../../../assets/lbtn/CD/tuoguan2.png");
	background-size: 100% 100%;
	-webkit-text-fill-color: transparent;
	text-shadow: none !important;
}

/* 左手模式按钮 */
.huanfuButton_new1 {
	display: block;
	--w: 79px;
	--h: calc(var(--w) * 1080 / 1626);
	width: var(--w);
	height: var(--h);
	bottom: 1%;
	position: absolute;
	right: 0;
	background-image: url("../../../assets/lbtn/uibutton/huanfu_new.png");
	background-size: 100% 100%;
	border-radius: 1px;
	z-index: 3;
}

.jiluButton_new1 {
	display: block;
	--w: 79px;
	--h: calc(var(--w) * 1080 / 1626);
	width: var(--w);
	height: var(--h);
	position: absolute;
	bottom: 9.9%;
	right: 0;
	background-image: url("../../../assets/lbtn/uibutton/jilu_new.png");
	background-size: 100% 100%;
	border-radius: 1px;
	z-index: 4;
}

.meiguiButton_new1 {
	display: block;
	--w: 79px;
	--h: calc(var(--w) * 1080 / 1626);
	width: var(--w);
	height: var(--h);
	position: absolute;
	bottom: 18.4%;
	right: 0;
	background-image: url("../../../assets/lbtn/uibutton/meigui_new.png");
	background-size: 100% 100%;
	z-index: 3;
}

.xiaolianButton_new1 {
	display: block;
	--w: 79px;
	--h: calc(var(--w) * 1080 / 1626);
	width: var(--w);
	height: var(--h);
	position: absolute;
	bottom: 27.1%;
	right: 0;
	background-image: url("../../../assets/lbtn/uibutton/xiaolian_new.png");
	background-size: 100% 100%;
	z-index: 3;
}

/* 左手手牌显示 */
.handcardNumber1 {
	bottom: 0px;
	left: 0px;
	font-family: "yuanli";
	text-shadow:
		#f5d78e 0 0 1px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px,
		black 0 0 2px;
	color: #f5d78e;
	z-index: 1;
}

.handcardNumber1 > .cardPicture {
	left: 130px;
	bottom: -6px;
	--w: 130px;
	--h: calc(var(--w) * 92 / 400);
	width: var(--w);
	height: var(--h);
	background-image: url("../../../assets/lbtn/uibutton/count1.png");
	background-size: 100% 100%;
	position: relative;
	transform: scaleX(-1);
	z-index: -1;
}

.handcardNumber1 > .cardNumber {
	left: 160px;
	bottom: 18px;
	height: 8px;
	line-height: 25px;
	text-align: center;
	color: #fffcf5;
	font-size: 20px;
	white-space: nowrap;
	letter-spacing: 0.35px;
}

/* 背景选择器 */
.bgdialog {
	position: absolute;
	background: url("../../../assets/lbtn/OL_line/bg/bgdialog.png");
	background-size: 100% 100%;
	width: 70%;
	height: 90%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.backgroundsbg {
	width: 100%;
	height: 82%;
	top: 11.5%;
	left: 0.5%;
	overflow-x: hidden;
	overflow-y: auto;
}

.backgrounds {
	background-size: 100% 100%;
	left: 3.55%;
	width: 29%;
	height: 34%;
	position: relative;
	border: 2px solid #d2b48c;
	min-width: 200px;
	object-fit: cover;
	margin-left: 1%;
	margin-bottom: 1%;
	border-radius: 6px;
}

.buttontext {
	position: absolute;
	bottom: 0;
	height: 20%;
	background-color: #2e1e10;
	width: 100%;
	text-align: center;
	font-weight: 500;
	font-family: "shousha";
	color: #efdbb6;
	text-shadow: none;
	font-size: 25px;
}

.bgback {
	width: 80px;
	height: 40px;
	top: 5%;
	right: 8%;
	background-image: url("../../../assets/lbtn/OL_line/uibutton/back.png");
	background-size: 100% 100%;
	z-index: 100;
	position: absolute;
}

.bgxuanzhong {
	background: url("../../../assets/lbtn/OL_line/bg/gou.png");
	background-size: 100% 100%;
	width: 45%;
	height: 60%;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
}
