@charset "utf-8";
/* CSS Document */
body {
        padding: 0;
        margin:0 auto;
			width: 1000px;
	    font-size: 36px;
       }
	.QianJu{
	width: 100%;
	background-color: #ffffff;
	float: left;
	position: relative;
	color: #080908;
	font-size: 40px;
	height: 100%;
    }
#caige{
    display: flex;           /* flex 布局 */
    flex-wrap: wrap;         /* 自动换行 */
    width: 100%;
    height: auto;            /* 高度自适应，避免被撑开 */
    background-color: #ffffff;
    margin: 10px 0 5px 0;
    box-sizing: border-box;
}

.pingtai {
    flex: 0 0 16.6667%;
    height: 60px;
    text-align: center;
    line-height: 60px;
    box-sizing: border-box;
    background-color: #f5f5f5;
    margin: 0;
    cursor: pointer;
    font-size: 80%;
    border: 2px solid transparent; /* 默认透明边框 */
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    color: #111; /* 深黑色字体 */
}

/* 激活状态 */
.pingtai.active {
    color: red;
    transform: scale(1.2); /* 放大 */
}

.pingtai {
    flex: 0 0 16.6667%;
    height: 60px;
    text-align: center;
    line-height: 60px;
    box-sizing: border-box;
    background-color: #f5f5f5;
    margin: 0;
    cursor: pointer;
    font-size: 80%;
    border: 2px solid transparent; /* 默认透明边框 */
    position: relative;
    overflow: hidden;
    color: #111;
    transition: all 0.2s ease;
}





/* 点击放大 + 红色字体 */
.pingtai.active {
    color: red;
    transform: scale(1.2);
}

/* 贪吃蛇边框，只在激活按钮上 */
/* 按钮激活状态下的彩色贪吃蛇边框 */
.pingtai.active {
    position: relative; /* 为伪元素定位 */
    z-index: 1;
}

.pingtai.active::before {
    pointer-events: none;
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border: 4px solid;
    border-radius: 8px;
    box-sizing: border-box;
    /* 使用彩色渐变环绕边框 */
    

    border-image: conic-gradient(
        red, orange, yellow, green, cyan, blue, violet, red
    ) 1;
    animation: snake 3s linear infinite;
}

/* 动画让渐变沿边框旋转，看起来像彩色蛇在跑 */

@keyframes snake {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }-->
}






/* 手机端适配：屏幕小于 768px 时，每行 3 个 */


/*@media (max-width: 768px) {
    .pingtai{
        flex: 0 0 33.3333%;
    }
}*/

/* 手机端更小：屏幕小于 480px 时，每行 2 个 */
/*@media (max-width: 480px) {
    .pingtai{
        flex: 0 0 50%;
    }
}
*/


	#mym{
	   padding: 0;
       margin: 0 auto;
       background-color:#ffffff;
		width: 100%;
       float: left;
		}
	#KaiJangK{
		
		height: 143px;
	   padding: 0;
       margin: 0 auto;
		width: 100%;
		float: left;	
			
		}
     
		 
        
		.HaoMa{
			width: 12%;
			height: 143px;
	background-color:#ffffff;
			justify-content: center;
			float: left;
			margin: 0px 0px 0px 6px
		}
     
  #DianZhao{
			width: 100%;
			
			float: left;
			
		}
		
		#LiSJL{
	width: 100%;
	height: 60px;
	margin-bottom: 5px;
	margin-top: 8px;		
	float: left;
	color: #000000;
}
.DaoJS{
	width: 33%;
	height: 60px;
	float: left;
	text-align:center;
	
}
.QiSu{
			position: inherit;
  top: 7px;
  left: 0px;
  width: 8%;
  height: 60px;
  background-color: darkblue; 
		}
		
 
.red-color {
    color: red;
	 margin-left: 1%;
  }
.red-color2 {
    color: red;
	margin-left: 1%;
}
	
#SX{
	text-align: center; 
	column-count: #ffffff;
	background-color:erd;
	font-size: 30pt;
}	
	
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}



.huangse {
  background-color: yellow; /* 设置背景色为黄色 */
  padding: 2px;
	/* 添加一些内边距 */
}
.hongse{
	color: red;
	
}

.lanse{
	color: #245ED9
	
	}

.lvse{
	color: #25E94A
}
