body {
	margin: 0px;
	color: #606266;
}

.tip_test{
	font-weight: bold;
	margin-top: -8px;
	margin-bottom: 10px;
	font-size: 1.25rem;
}

.el-header {
	padding: 0 20px;
	height: 80px !important;
	background-color: rgba(220, 224, 251, 0.8) !important;
}


.handle{
	margin-bottom: 1.25rem;
	font-size: 18px;
	color: #303158;
	font-weight: bolder;
	height: 50px;
}

#handle{
	margin-top: 1rem;
}

.handleName{
	font-size: 16px;
}

/* 悬停 */
.cool-tabs .el-tabs__item:hover:not(.is-active) {
	color: #2A2794 !important;
	/* 悬停颜色 */
	transform: scale(1.05);
	/* 可选缩放效果 */
}

.cool-tabs .el-tabs__item {
	flex: 1;
	height: 50px !important;
	line-height: 50px !important;
	text-align: center;
	color: #303158 !important;
	font-weight: bolder;
	background: #DCE0FB !important;
	border-radius: 8px !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	position: relative;
	overflow: hidden;
	border: none !important;
}

/* 激活状态渐变 */
.cool-tabs .el-tabs__item.is-active {
	background: linear-gradient(135deg, #2A2794, #0D0C2E) !important;
	color: #FFFFFF !important;
	box-shadow: 0 4px 20px rgba(42, 39, 148, 0.4);
}

/* 取消长分割线 */
.el-tabs--card>.el-tabs__header {
	border: none !important;
}

.cool-tabs .el-tabs__nav {
	border: none !important;
	display: flex !important;
	gap: 25px !important;
	justify-content: center;
}

.cool-tabs .el-tabs__nav {
	display: flex !important;
	width: 100% !important;
}

.cool-tabs .el-tabs__item {
	flex: 1;
	/* 核心代码：弹性等分 */
	font-size: 1.125rem;
}

/* 现代浏览器 */
.cool-tabs .el-tabs__nav {
	gap: 10px;
}

/* 旧浏览器兼容 */
.cool-tabs .el-tabs__item {
	margin-right: 10px !important;
}

.cool-tabs .el-tabs__item:last-child {
	margin-right: 0 !important;
}

.main-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	height: 60px;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	color: #23217F;
	display: flex;
	align-items: center;
}


.nav-menu {
	flex: 1;
	max-width: 600px;
	margin-left: 40px;
	border-bottom: none;
}

.content {
	flex: 1;
	padding: 20px 20px 40px 20px;
	background: #f5f7fa;
}


.footer {
	height: 80px !important;
	background: #0D0C2E;
	color: #999;
	font-size: 12px;
	text-align: center;
	line-height: 1.5;
}

.footer-content p {
	margin: 10px 0;
}

.footer a {
	color: #999;
	text-decoration: none;
}

/* 响应式适配 */
/* 超小屏幕（手机） */
@media (max-width: 575.98px) {
	
	.el-header {
		height: 60px !important;
	}
	
	#handle{
		margin-top: 0rem !important;
	}
	
	/* <=575px */
	.content-title {
		font-size: 1.25rem;
		border-left: 5px solid #606266;
	}
	
	.cool-tabs .el-tabs__nav {
		gap: 0px !important;
	}
	
	.cool-tabs .el-tabs__item {
		margin-right: 8px !important;
	}

	.cool-tabs .el-tabs__item {
		font-size: 14px;
		padding: 0 8px !important;
	}

	.cool-tabs .el-tabs__item:hover {
		transform: none;
		/* 移动端取消缩放 */
	}
	
	/*按动次数*/
	.press-item {
	    font-size: 14px;
	    padding: 3px !important;
	  }
	  
	  .el-icon {
	    font-size: 16px !important;
	  }
	  	  
	  .numberOfPresses{
	  	background: #38396D;
	  	padding: 10px !important;
	  	line-height: 20px !important;
	  }
	  
	  /*震动*/
	 .shock{
	  	height: 300px !important;
	  }
	    
	  #LTShockShow,#RTShockShow{
	  	width: 80px !important;
	  }
	 
	 /*回报率开始按钮*/
	 .start{
		 margin-left: 0px !important;
		 margin-top: 0.625rem;
	 }
	
}

/* 小屏幕（平板竖屏） */
@media (min-width: 576px) and (max-width: 767.98px) {

	/* 576px-768px */
	.content-title {
		font-size: 1.5rem;
		border-left: 5px solid #606266;
	}
	
	/*震动*/
	.shock{
	 	height: 350px !important;
	 }
	 
	 #LTShockShow,#RTShockShow{
	 	width: 90px !important;
	 }
	 
	 
	 /* 扳机测试弹窗 */
	 .el-popover {
	   width: 600px !important; /* 使用 !important 确保覆盖默认样式 */
	 }
	
}

/* 中等屏幕（平板横屏） */
@media (min-width: 768px) and (max-width: 991.98px) {

	/* 768px-992px */
	.content-title {
		font-size: 1.5rem;
		border-left: 5px solid #606266;
	}

	
	/*左侧内容区*/
	/* .left-content{
		margin-right: 30px;
	} */
	
	.LTTest,.RTTest {
	  gap: 20px !important;
	}
	
	.label {
	  line-height: 35px !important;   /* 与进度条高度一致 */
	}
	
	/* 进度条高度 */
	.el-progress-bar__outer{
		height: 15px;
	}
	.el-progress__text {
	    margin-left: 20px !important;
	}
	
	.press-item {
	    font-size: 14px;
	    padding: 3px !important;
	  }
	  
	  .el-icon {
	    font-size: 18px !important;
	  }
	  /*按动次数*/
	  .numberOfPresses{
	  	background: #38396D;
	  	padding: 15px !important;
	  	line-height: 25px !important;
	  }
	  
	  /*震动*/
	 .shock{
	  	height: 350px !important;
	  }
	  
	  #LTShockShow,#RTShockShow{
	  	width: 90px !important;
	  }

	/* 扳机测试弹窗 */
	.el-popover {
	  width: 600px !important; 
	}
	
}

/* 大屏幕（桌面显示器） */
@media (min-width: 992px) and (max-width: 1199.98px) {
	
	body,.el-button,.el-checkbox__label,.el-radio-button__inner,.tip,.tip_content,.button,.press-number{
		font-size: 1rem !important;
	}
	
	.handle{
		font-size: 24px !important;
	}
	
	.handleName{
		font-size: 18px;
	}
	
	.cool-tabs .el-tabs__item {
		height: 80px !important;
		line-height: 80px !important;
	}
	
	/* 992px-1200px */
	.content-title {
		font-size: 1.5rem;
		border-left: 8px solid #606266;
	}
	
	.content-title2 {
		font-size: 1.5rem;
	}

	/* 内容间距 */
	.el-header {
		padding: 0 100px;
	}

	.content {
		padding:40px 80px 80px 80px;

	}
	
	/*手柄图*/
	.svg {
	    width: 80% !important;
	}
	
	
	.handle{
		margin-bottom: 50px;
	}

	/* 下载按钮 */
	.app_download {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}

	/* .left-content{
		margin-right: 30px;
	} */
	
	.LTTest,.RTTest {
	  gap: 20px !important;
	}
	
	.label {
	  line-height:35px !important;   /* 与进度条高度一致 */
	}
	
	/* 进度条高度 */
	.el-progress-bar__outer{
		height: 15px !important;
	}
	
	.el-progress__text {
	    margin-left: 20px !important;
	}
	
	
	/* 扳机测试弹窗 */
	.el-popover {
	  width: 600px !important; 
	}

}

/* 超大屏幕（大桌面） */
@media (min-width: 1200px) and (max-width: 1699.98px){
	
	body,.el-button,.el-checkbox__label,.el-radio-button__inner,.tip,.tip_content,.button,.press-number{
		font-size: 1rem !important;
	}
	
	.handle{
		font-size: 24px !important;
	}
	
	.handleName{
		font-size: 18px;
	}

	/* >=1200px */
	.cool-tabs .el-tabs__item {
		height: 80px !important;
		line-height: 80px !important;
	}

	.content-title {
		/* font-size: 2rem; */
		font-size: 1.5rem;
		border-left: 8px solid #606266;
	}
	
	.content-title2 {
		font-size: 1.5rem;
	}
	
	/* 内容间距 */
	.el-header {
		padding: 0 100px;
	}

	.content {
		padding:20px 100px 50px 100px; 
	}
	
	/*手柄图*/
	
	.svg {
	    width: 80% !important;
	}
	
	
	.handle{
		margin-bottom: 50px;
	}

	/* 下载按钮 */
	.app_download {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
	
	/*左侧内容区*/
/* 	.left-content{
		margin-right: 30px;
	} */
	
	.LTTest,.RTTest {
	  gap: 20px !important;
	}
	
	.label {
	  line-height: 50px !important;   /* 与进度条高度一致 */
	}
	
	/* 进度条高度 */
	.el-progress-bar__outer{
		height: 30px !important;
	}
	
	.el-progress__text {
	    margin-left: 20px !important;
	}
	
	
	/* 扳机测试弹窗 */
	.el-popover {
	  width: 600px !important; 
	}
	

}


/* 超大屏幕（大桌面） */
@media (min-width: 1700px) {
	
	body,.el-button,.el-checkbox__label,.el-radio-button__inner,.tip,.tip_content,.button,.press-number{
		font-size: 1rem !important;
	}
	
	.handle{
		font-size: 24px !important;
	}
	
	.handleName{
		font-size: 18px;
	}

	/* >=1200px */
	.cool-tabs .el-tabs__item {
		height: 80px !important;
		line-height: 80px !important;
	}

	.content-title {
		/* font-size: 2rem; */
		font-size: 1.5rem;
		border-left: 8px solid #606266;
	}
	
	.content-title2 {
		font-size: 1.5rem;
	}
	
	/* 内容间距 */
	.el-header {
		padding: 0 100px;
	}

	.content {
		/* padding:50px 100px 100px 100px; */
		padding:20px 400px 50px 400px;
	}
	
	/*手柄图*/
	/* .svg {
	    width: 60% !important;
	} */
	
	.svg {
	    width: 80% !important;
	}
	
	
	.handle{
		margin-bottom: 50px;
	}

	/* 下载按钮 */
	.app_download {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
	
	/*左侧内容区*/
/* 	.left-content{
		margin-right: 30px;
	} */
	
	.LTTest,.RTTest {
	  gap: 20px !important;
	}
	
	.label {
	  line-height: 50px !important;   /* 与进度条高度一致 */
	}
	
	/* 进度条高度 */
	.el-progress-bar__outer{
		height: 30px !important;
	}
	
	.el-progress__text {
	    margin-left: 20px !important;
	}
	
	
	/* 扳机测试弹窗 */
	.el-popover {
	  width: 600px !important; 
	}
	

}



/* header */
.app_download {
	background-color: #16134D !important;
	color: #fff !important;
	font-weight: bolder !important;
	border-color: #16134D !important;
}




/* content */

/**
*手柄 
 */
.handle_img {
	width: 100% !important;
	margin-top: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.svg{
	width: 90%;
}

/**
 * 按键测试
 */
.right-content-title {
	/* margin-bottom: 3rem; */
	margin-bottom: 1.5rem; 
}

.content-title {
	color: #606266;

}

.content-title>p {
	margin-left: 0.625rem;
}

.tip,.tip_content {
	font-size: 0.875rem;
	color: #666666;
}

/* 隐藏未知按钮 */
.keySet .el-col:last-child .button {
  display: none;
}

.keySet .el-col:nth-last-child(2) .button {
  display: none;
}

.button {
	width: 100%;
	display: inline-block;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	background: #fff;
	border: 1px solid #dcdfe6;
	color: #606266;
	-webkit-appearance: none;
	text-align: center;
	box-sizing: border-box;
	outline: none;
	margin: 0;
	transition: .1s;
	font-weight: 500;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	padding: 12px 20px;
	font-size: 14px;
	border-radius: 4px;
	margin-bottom: 10px;
}

/* 点击后 */
.pressed {
	background-color: #5244FF;
	border: 1px solid #dcdfe6;
	color: #fff;
}

/**
 * 点击后松下
 */
.release{
	 background-color: rgba(220, 224, 251, 0.8);
}

/** 摇杆*/
.joystick-container {
	display: flex;
	gap: 40px;
	margin: 30px 0;
}

.joystick-wrapper {
	text-align: center;
}

.joystick-canvas,.lowerLeft,.joystickErrorChecked,.shock {
	/* margin-top: 3.125rem; */
	margin-top: 1.5rem;
}

.joystickErrorChecked{
	display: flex;
	justify-content: center;
	
}

/* 修改选中状态的背景色和边框色 */
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #5244FF !important;
  border-color: #5244FF !important;
}

/* 修改选中状态文字颜色（可选） */
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #606266;
}

/*扳机测试*/


.LTTest,.RTTest {
  display: flex;
  align-items: center;
  gap: 10px;
}

.label {
  line-height: 30px;   /* 与进度条高度一致 */
}

.progress {
  flex: 1;
}

.el-progress__text {
    font-size: 14px;
    margin-left: 10px;
}

/* 禁用进度条宽度变化的过渡动画 */
.el-progress-bar__inner {
  transition: none !important;
}


/* ####方向键串键测试 */

.selectButton{
	margin-top: 0.625rem;
	display: flex;
	justify-content: center;
}

.selectButton  .el-button.is-plain:not(.first-button-focus):hover{
	border-color: #5244FF !important;
	color: #5244FF !important;
}
.selectButton  .el-button.is-plain:focus{
    background: #5244FF !important;
    border-color: #5244FF !important;
    color: #fff !important;
}
/*默认选中第一个*/
.first-button-focus,.resetButton{
	background: #5244FF !important;
	border-color: #5244FF !important;
	color: #fff !important;
}




.tip_content{
	    padding: 15px;
	    line-height: 20px;
	    text-align: justify;
	    background: #efefef;
	    border-radius: 10px;
}

.numberOfPresses{
	margin-top: 1rem;
	background: #38396D;
	/* padding:20px; */
	padding:8px;
	border-radius: 10px;
	line-height: 25px;
	text-align: center;
	color: #D1D5EF;
	font-size: 16px;
	position: relative; /* 为居中定位提供基准 */
}


.press-container {
  display: flex;
  width: 100%;
}

.press-item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 8px;
  border-right: 1px solid #ebeef5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.press-item:last-child{
	border-right: none !important;
}

.reset_button{
	margin: 1.5rem auto 0px;
	display: flex;
	justify-content: center;
}

.press-numbers{
	max-height: 300px;
	overflow-y: auto;    /* 垂直方向滚动 */
	overflow-x: hidden;  /* 水平方向隐藏 */
}

/* 美化滚动条（可选） */
.press-numbers::-webkit-scrollbar {
  width: 6px;
}
.press-numbers::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.press-number{
	  display: flex;
	  flex-direction: column;
	  align-items: center;   /* 水平居中 */
	  justify-content: center; /* 垂直居中 */
	  height: 50px;         /* 关键：继承父容器高度 */
	  text-align: center;   /* 文本居中 */
	  border-left: 2px solid #dcdfe6;
	  color: #606266;
	  font-size: 14px;
	  margin-bottom: 10px;
}

.press-icon{
	margin-top: 5px;
	height: 14px;
}

/* ####震动测试 */
.shock{
	padding: 0 auto;
	height: 400px;
	display: flex;
	justify-content: space-around;
	text-align: center;
	
}

.shockTitle{
	margin-top: 0.625rem;
}

#LTShockShow,#RTShockShow{
	width: 100px;
	height: 100%;
	border: 1px solid #38396D;
	background-color: #FFFFFF;
	display: flex;
	justify-content: center;
	/* align-items: center; */
	align-items: flex-end;
	position: relative; /* 容器定位 */
	color: #38396D;
}

#LTShockColor,#RTShockColor{
	width: 100px;

	background-color: #5244FF;
	display: flex;
	justify-content: center;
	align-items: center;
}

#LTShockShowValue,#RTShockShowValue{	
	margin-top: -25px;
}

.modal{
	display: flex;
	justify-content: center;
	margin-top: 70px;
}


.el-radio-button__orig-radio:checked+.el-radio-button__inner{
    color: #FFF;
    background-color: #5244FF !important;
    border-color: #5244FF !important;
}

.el-radio-button__orig-radio:checked+.el-radio-button__inner{
    box-shadow: -1px 0 0 0 #5244FF;
}

.el-radio-button__inner:hover {
    color: #5244FF;
}


/*摇杆回报率测试*/
.rateLog{
	/* margin-bottom: 3.125rem; */
}

/* 全局覆盖 el-table 的表头颜色 */
.rateLog > .el-table th.el-table__cell {
    background-color: #0D0C2E; 
	color: #FFFFFF;
}

.rateLog > .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
    background-color: transparent;
}


.el-table .odd-row { /*奇数行*/
    background: rgba(13, 12, 46, 0.9);
  }

.el-table .even-row { /*偶数行*/
    background: rgba(56,57,109, 0.9);
}


.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{
    border-bottom: none;
}

/* 隐藏横向的分割线 */
/* 去掉表格纵向的边框线 */
.el-table--border .el-table__cell {
    border-right: none;
}
  

