/*
* 星号是通配选择器，表示匹配页面中所有元素
*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* 让其总宽度 = width（包含 padding 和 border）*/
}

body {
	font-family: '微软雅黑';
    font-size: 12px;
}

#index {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    word-break: break-all;
    scroll-behavior: smooth;	/* 用于点击返回顶部按钮时的平滑滚动 */
	overflow-x:hidden;
	overflow-y: auto;
}

div {
  position:absolute;
}

#daohang_left {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow: hidden;
}

/*	移除 id="daohang_left" 下所有div的绝对定位
	position: static 恢复默认的文档流定位
*/
#daohang_left div {
  position: static !important;
}

.unselectable {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}

#fullscts {
    position: fixed;
    z-index: 999;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    text-align: center;
    line-height: 200%;
    padding: 50px;
    font-size: 14px;
    word-break: break-all;
    overflow: hidden auto;
}

#fullscts_close {
    z-index: 1000;
    display: none;
    width: 30px;
    height: 30px;
    right: 5;
    top: 5px;
    background: red;
    text-align: center;
    line-height: 24px;
    font-size: 30px;
}

.lgbox-tags{background:transparent;margin-left:2px;padding:1px;border:none;color:rgb(205,192,176);}
.lgbox-tags:hover{color:rgba(130,255,0,1);}
.lgbox-tags-check{background-image: linear-gradient(to bottom, rgba(44, 51, 67, 1), rgba(255, 193, 65, 1));
  background-size: 100% 100%;color:rgba(254,254,0,1);}
  
.lgbox-tags1{}
.lgbox-tags1:hover{color:rgba(130,255,0,1);}
.lgbox-tags1-check{background-image: linear-gradient(to bottom, rgba(44, 51, 67, 1), rgba(255, 193, 65, 1));
  background-size: 100% 100%;color:rgba(254,254,0,1);}
  

.lgbox-new-弃用{
	background:url("../../lgbox_res/static/game/row-new.gif") no-repeat 0 0;
    background-size: 100% 100%;
}
.lgbox-new:hover{
	background:url("../../lgbox_res/static/game/row-1.png") no-repeat 0 0;
    background-size: 100% 100%;
}
.lgbox-adrow{
	background:url("../../lgbox_res/static/game/row-0.png") no-repeat 0 0;
    background-size: 100% 100%;
}
.lgbox-adrow:hover{
	background:url("../../lgbox_res/static/game/row-1.png") no-repeat 0 0;
    background-size: 100% 100%;
}

.lgbox-adrow-new{
	background:url("../lgbox_res/static/game/new.gif") no-repeat 0 0;
    background-size: 100% 100%;
}
.lgbox-adrow-check{
	background:url("../../lgbox_res/static/game/row-check.png") no-repeat 0 0;
    background-size: 100% 100%;
}

.lgbox-newbtn{
background:url("../../lgbox_res/static/game/new1.png") center center / 61.8% no-repeat;
}
.lgbox-xqbtn{
background:url("../../lgbox_res/static/game/详情new.png") no-repeat;background-size:auto 100%;
}

.lgbox-xqbtn:hover{

}


     /* 个人中心 */
    .userinfo_btn-弃用{
    background:url(../../lgbox_res/ui/qiandao/个人中心bg.gif) no-repeat;background-size:105% 100%;background-position: -2px 0;text-align:center;border:solid 1px #ccc;border-radius:1px;
    }

     /* 滚动播报 */
    #game_scroll_content {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        overflow:hidden;
    }





.sql-table-title {
    color:#000;
	transition:all .3s ease-out;
}
.sql-table-title:hover {
	color:rgb(6,108,241);
}

.sql-chaxun-btn01 {
	background-color:rgb(6,108,241);color:white;border:solid 1px rgb(6,108,241);
	transition:all .2s ease-in-out;
}
.sql-chaxun-btn01:hover {
	background-color:rgb(87,167,247);border:solid 1px rgb(87,167,247);
}

.sql-chaxun-btn02 {
	background-color:#fff;color:#666;border:solid 1px rgb(230,230,230);
	transition:all .2s ease-in-out;
}
.sql-chaxun-btn02:hover {
	background-color:rgb(235,245,255);border:solid 1px rgb(230,230,230);
	color:rgb(6,108,241);
}

.sql-row-01 {
  background-color:#fff;
  color:#000;
  transition:all .2s ease-in-out;
}

.sql-row-01:hover {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(6, 108, 240, 0.1));
  background-size: 100% 100%;
  color:rgba(6,108,241,1);
}

.sql-row-txt {
display:flex;
text-align:left;align-items:center;word-break:break-all;
}


.dazhuanpan_btn1 {
    background:url(../../lgbox_res/ui/大转盘/0.png) no-repeat;background-size:100% 100%;
}
.dazhuanpan_btn1:hover {
    background:url(../../lgbox_res/ui/大转盘/1.png) no-repeat;background-size:100% 100%;
}

.ellips{
white-space:nowrap;text-overflow:ellipsis;
}

.div100 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 上传图片预览 */
#upload_preview img {
    max-width: 150px;
    margin: 10px;
}

/* 游戏截图展示 */
        #gameimage_container {
            position: absolute;
            width: 470px;
            height: 330px;
            left: 10px;
            top: 40px;
            border: solid 1px rgb(123,124,126);
            border-radius: 3px;
            overflow:hidden;
        }
        
        #gameimage_txt {
            position: absolute;
            width: 240px;
            height: 280px;
            right: 10px;
            top: 40px;
            line-height: 180%;
            text-overflow:ellipsis;overflow:hidden;
        }
        
        #gameimage_container img {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
         #gameimage_container .leftbtn {
            position: absolute;
            width: 40px;
            height: 100px;
            left: -17px;
            top: 100px;
            background: #000;
            opacity:0.4;-moz-opacity:0.4;filter:alpha(opacity=40);
            text-align:left;
            font-size:30px;
            color:white;
            border:none;
        }
        
        #gameimage_container .rightbtn {
            position: absolute;
            width: 40px;
            height: 100px;
            right: -15px;
            top: 100px;
            background: #000;
            opacity:0.4;-moz-opacity:0.4;filter:alpha(opacity=40);
            text-align:right;
            font-size:30px;
            color:white;
            border:none;
        }
         #gameimage_container .leftbtncov {
            position: absolute;
            width: 60px;
            height: 100px;
            left: 0px;
            top: 100px;
            border:none;
        }
        
        #gameimage_container .rightbtncov {
            position: absolute;
            width: 60px;
            height: 100px;
            right: 0px;
            top: 100px;
            border:none;
        }
        
 /* 上传登录器 */       
        #uploadDiv {
        z-index:1;width:100%;height:100%;left:0%;top:0%;overflow:hidden;
        }
        
        #uploadDiv #reset-button {
            width:100%;height:100%;left:0%;top:0%;overflow:hidden;
        }
        
        #uploadDiv #uploadContent {
            width:38.2%;height:228px;left:30.9%;top:38.2%;background:#ffff;border:solid 3px #ccc;bra:3;padding:12px;overflow:hidden auto;
        }
        
        #uploadDiv #progressBar {
            width:0px;height:20px;bottom:30px;line-height:20px;background:rgb(32,198,128);padding-left:12px;border:solid 1px rgb(245,248,250);
        }
        #uploadDiv #fileSize {
            height:20px;left:84px;top:80px;
        }
        #uploadDiv #uploadStatus {
            height:20px;left:84px;top:100px;
        }
		#uploadContent #close {
            width:50px;height:50px;right:0px;top:0px;text-align:center;line-height:50px;font-size:30px;color:#000;
        }
		
/* 新增子级块样式 */
.content-wrapper {
    width: 100%;
    max-height: 49px; /* 初始高度与父级一致 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 默认显示3行 */
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: max-height 0.3s ease; /* 动画过渡 */
}
 
/* 展开状态 */
.content-wrapper.expanded  {
    -webkit-line-clamp: unset; /* 取消行数限制 */
    max-height: 500px; /* 设置一个足够大的值容纳全部内容 */
    overflow: auto; /* 允许滚动（防止内容过长时遮挡） */
    z-index: 100; /* 确保在最上层 */
    background: white; /* 避免被其他绝对定位元素遮挡 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 可选：提升视觉层次 */
}