*{ margin:0; padding:0; }
.clear{ display:block;height:0; line-height:0;overflow:hidden; clear:both;font-size:0;}/*清除浮动*/
.clear_::after{content:"";display:block; clear:both;height:0; line-height:0; overflow:hidden;}/*清除浮动*/
.center{margin:0 auto;width:1400px;}	/*让内容区块居中*/
body{ font-size:13px; font:Arial, Helvetica, sans-serif;background: #f5f7fa; }
.wrap{position:relative; width:1400px;overflow:hidden; margin:0 auto;box-shadow: 0 2px 7px 0 rgb(0 0 0); /* margin-bottom:30px; */padding-bottom:0px;padding-top:0px;}
/*.wrap .content-t{width:1330px;height:20px;margin:0 auto;background:url(/template/mob1/images/content-t.png) left}*/
/*.wrap .content-b{width:1330px;height:20px;margin:0 auto;background:url(/template/mob1/images/content-b.png) left}*/
/*.wrap .content{width:1330px;margin:0 auto;background:url(/template/mob1/images//content.png) left repeat-y}*/
.top{  width:1400px; margin:0 auto; }
.top .logo{ width:600px;height:350px;margin:0 auto; padding-top:0px;}
/*padding-bottom:35px;*/
table{background:#ffffff}
table.gamelist{ border-collapse:collapse; table-layout:fixed;  }
table.gamelist th{font-size: 14px;
    height: 28px;
    line-height: 28px;
    background-color: #a13d07;
    background: linear-gradient(to bottom, #70bcf8, #1479c9);
    color: #000000;
    border: solid 1px #2196F3; }
table.gamelist td{ font-size: 13px; border:solid 1px #ae7728; height:32px; line-height:32px; /* text-align:center; */ text-overflow: ellipsis; white-space: nowrap;overflow: hidden; }
table.gamelist td a{ color:#000000; text-decoration:none; list-style: none; }
table.gamelist td a:hover{ text-decoration:underline; color:#FF0000;list-style: none; }
.spinner {
    padding: 0 12px;
}
table.gamelist td:nth-child(8) a {
    display: inline-block;
    width: 65px;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    list-style: none;
    border: 1px solid #F44336;
    background: linear-gradient(180deg, #F44336 0%, #340e02);
    border-radius: 4px;
}
table.gamelist td:nth-child(8) a:hover {
    display: inline-block;
    width: 65px;
    list-style: none;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    color: #36f469;
    background: #a3450d91;
    border-radius: 4px;
}
table.gamelist td:nth-child(7) {
padding-left: 5px;
}
.nav-publish {
    background: white;
    color: #ff6b00;
    padding: 5px 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}
/*.my925{*/
/*   position: absolute;*/
/*    right: 10px;*/
/*    top: 12px;*/
/*    display: inline-block;*/
    /*width: 180px;*/
/*    height: 18px;*/
    /*background: url(/template/mob1/images/findbox_bg.png) no-repeat center top;*/
/*    background: #9d99979e;*/
/*    border-radius: 4px;*/
/*    padding: 3px 8px;*/
/*    text-decoration: none; */
/*}*/
.mqmy{
    margin-right: 2px;
    margin-bottom: 0.1rem;
}
.mqmy1 {
    margin-right: 2px;
    margin-bottom: 0.1rem;
}
.mqmy2 {
    width: 80;
    margin-right: 2px;
    margin-bottom: 0.1rem;
}
.mqmy3 {
    margin-right: 2px;
    margin-bottom: 0.4rem;
}
.tub{
    width: 50px;
    height: 11px;
}  
table.gamelist tr.jtth td{ background-color: #fffbf6; background: linear-gradient(to bottom,#fffbf6,#f4e7d7); }
table.gamelist tr.jtth:hover td{ background-color:#FFFFFF;background: linear-gradient(to bottom,#FFFFFF,#FFFFFF);  }

table.gamelist tr.jtjp td{  background-color: #fcf8e8; background: linear-gradient(to bottom,#fcf8e8,#fffbf6);  }
table.gamelist tr.jtjp:hover td{ background-color:#FFFFFF;background: linear-gradient(to bottom,#FFFFFF,#FFFFFF);  }

table.gamelist tr.thwd td{ background-color:#FFFFFF; }
table.gamelist tr.thwd:hover td{ background-color:#fff9e6; }
table.gamelist td.r{ color:#e54202; }

table.gamelist tr.txtj td{background-color: #fffbf6; background: linear-gradient(to bottom,#fffbf6,#f4e7d7); }
table.gamelist tr.txtj:hover td{ background-color:#FFFFFF;background: linear-gradient(to bottom,#FFFFFF,#FFFFFF); }

table.gamelist tr.txgd td{ background-color: #fffbf6; background: linear-gradient(to bottom,#fffbf6,#f4e7d7); }
table.gamelist tr.txgd:hover td{ background-color:#FFFFFF;background: linear-gradient(to bottom,#FFFFFF,#FFFFFF); }

table.gamelist tr.txtjbt td{ background-color:#FFFFFF; }
table.gamelist tr.txtjbt:hover td{ background-color:#fff9e6;}

table.gamelist tr.txgdbt td{ background-color:#FFFFFF; }
table.gamelist tr.txgdbt:hover td{ background-color:#fff9e6; }

table.gamelist tr.mtth td{ background-color:#FFFFFF; }
table.gamelist tr.mtth:hover td{ background-color:#fff9e6; }

table.gamelist tr.mtthgd td{ background-color:#FFFFFF; }
table.gamelist tr.mtthgd:hover td{ background-color:#fff9e6; }

table.gamelist tr.mtjp td{ background-color:#FFFFFF; }
table.gamelist tr.mtjp:hover td{ background-color:#fff9e6; }

table.gamelist tr.mttxtj td{ background-color:#FFFFFF; }
table.gamelist tr.mttxtj:hover td{ background-color:#fff9e6; }

table.gamelist tr.mttxgd td{ background-color:#FFFFFF; }
table.gamelist tr.mttxgd:hover td{ background-color:#fff9e6; }

table.gamelist tr.mtthwd td{ background-color:#FFFFFF; }
table.gamelist tr.mtthwd:hover td{ background-color:#fff9e6; }


/*页头*/
ul,ol{list-style-type:none;}


.QQ{cursor:pointer;width:300px;height:50px;position:absolute;background:url(/template/mob1/images/t_qq.png) no-repeat center top;top:310px;left:50%;margin-left:-600px;z-index:99999;text-indent:-9999rem;}
.QQ span{float:left;margin-top:33px;margin-left:80px;width:120px;height:20px;line-height:20px;font-size:14px;color:#fff;font-weight:bold;text-align:center;letter-spacing:1px}
.SQ{cursor:pointer;width:200px;height:50px;position:absolute;background:url(/template/mob1/images/t_sq.png) no-repeat center top;top:20px;left:50%;margin-left:480px;z-index:99999;text-indent:-9999rem;}
.TT16{position:absolute;width:80px;height:100px;top:320px;left:50%;margin-left:-670px;text-indent:-9999rem;background:url(/template/mob1/images/16.png) no-repeat center top;}

/*页尾*/
#footer{min-width:1400px;margin:0 auto;background: #000000d4;box-shadow: 0 2px 7px 0 rgb(0 0 0);}
#footer .center{padding-top:35px;}
/*版权*/
#copyright{width:1400px;line-height:25px;text-align:center;clear:both;color:#b9b6b6;margin:0 auto;padding-bottom:10px;padding-top:10px;}
#copyright p .icon_badge{width:18px;height:20px;margin-right:5px;vertical-align:middle;display:inline-block;}
#copyright p .icon_badge img{width:100%;height:100%;display:block;}
#copyright .beian{height:45px;margin-bottom:12px;}
#copyright .beian img{height:100%;}


.SMbox{position:relative;float:left; width:100%; height:20px; line-height:20px; background: linear-gradient(to bottom, #ffffffba, #ffffffa6); margin: 0 auto; margin-top: 0px;font-size: 16px;color: #FF5722;font-weight:bold; letter-spacing:3px;text-align: center;text-shadow: 1px 3px 2px  #000; }

/*background:url(/template/mob1/images/findbox_bg.png) no-repeat center top;*/
.QQbox{position:relative;float:left; width:1400px;  line-height:36px;margin-top:0px;box-shadow: 0 2px 7px 0 rgb(0 0 0); }
.QQbox .daili{ width:1400px; height:36px; margin-left:20px; }
ul.QQlist li{float:left;padding-left:0px; padding-right:0px;   cursor:pointer; color:#d9be05;overflow:hidden; white-space: nowrap;}
ul.QQlist li a{
    list-style: none;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 6px;
    /*background: #aa6723;*/
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    /*color: #e4e9e4;*/
    text-decoration: none;
}
ul.QQlist li a:hover{
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 6px;
    background: #aa6723;
    color: #FFEB3B;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    /*color: #e4e9e4;*/
    text-decoration: none;
}
/*background:url(/template/mob1/images/findbox_bg.png) no-repeat center top;*/
.findbox{position:relative;float:left; width:1400px;  line-height:45px;height: 45;background: linear-gradient(180deg, #2196F3 0%, #ffffff); margin:0 auto;margin-top:2px;box-shadow: 0 2px 7px 0 rgb(0 0 0); }
.findbox .title{
   background: linear-gradient(180deg, #03A9F4 0%, #2196F3);
        width: 90px;
    height: 45px;
    padding: 0 5px;
    float: left;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-right: 8px;
    margin-left: 0px;
}
.findbox .keys{ width:900px; height:36px; float:left;  }
.findbox .form{ width:1300px; height:36px; float:right; }
ul.keylist li{ 
    flex-shrink: 0;
    font-weight: 400;
    line-height: 15px;
    position: relative;
    padding: 4px 5px;
    cursor: pointer;
    display: inline-block;
    border-radius: 3px;
background: linear-gradient(180deg, #5e899c 0%, #000000);
    color: #ffc5d5;
    font-family: Microsoft YaHei UI;
    /*font-size: 14px;*/
}
ul.keylist li:hover{
    flex-shrink: 0;
    font-weight: 400;
    line-height: 15px;
    position: relative;
    padding: 4px 5px;
    cursor: pointer;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #106bff;
    background: linear-gradient(180deg, #00acd9 0%, #093887 100%);
    color: #ffc5d5;
    font-family: Microsoft YaHei UI;
    /*font-size: 14px;*/
}
input.txtbox{background: linear-gradient(180deg, #93bada 0%, #ffffff);
    width: 1200px;
    padding: 5px 11px;
    border: none;
    border-radius: 3px;
    outline: 0;} 
.findbtn {
       margin-left: 8px;
    border: 1px solid #d63c0e;
    border-top: none;
    border-left: none;
    width: 70px;
    background: #d63c0e;
    cursor: pointer;
    color: #fff;
    /* display: inline-block; */
    /* height: 23px; */
    line-height: 28px;
    border-radius: 3px;
    text-align: center;
}
tr.nokey{ display:none; }
.mqi1{
    position: fixed;
    left: 1px;
    top: 109px;
    z-index: 9999999;
}
.mqi2{
   background: #009688;
    color: #ffc108;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 12px;
}
.mqi3{
   background: #2196F3;
    color: #3fff46;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: 10px;
} 
.backDiv {
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    position: fixed;
}
.sx{
    padding: 10px 10px;
    background: #781306;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    top: 368px;
    left: 50%;
    margin-left: -590px;
    font-size: 20px;
    color: #fbeb2a;
    font-weight: bold;
}
/* 表格区域（通用样式 + 竖线网格） */
    .table-section {
      background: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      margin-bottom: 30px;
    }
    .data-table {
      width: 100%;
      border-collapse: collapse;
      /* 增加竖线关键样式 */
      border: 1px solid #eee;
    }
    .data-table th,
    .data-table td {
      padding: 12px 15px;
      text-align: left;
      /* 横线 + 竖线 双边框 */
      border: 1px solid #eee;
    }
    .data-table th {
      background: #f8f9fa;
      font-weight: bold;
    }
    .data-table tr:hover {
      background: #f5faff;
    }

.section-titlee {
    background: linear-gradient(to bottom, #492c3b, #3c1d1a);
    /*background: linear-gradient(to bottom, #ffffff, #ffedef);*/
    font-size: 16px;
    margin-bottom: 15px;
    border-left: 4px solid #03A9F4;
    padding-left: 10px;
    color: #ff6408;
}
/*.filter-bar {*/
/*    display: flex;*/
/*    gap: 12px;*/
/*    margin-bottom: 15px;*/
/*    flex-wrap: wrap;*/
/*    align-items: center;*/
/*}*/
.filter-select, .filter-date {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.fuia{
    background: linear-gradient(to bottom, #e9ccaa, #ffffff);
}
.fuia:hover{
    background: #ffffff;
}
.indexCommonTitle .left {
    float: left;
}
.indexCommonTitle .left span {
    font-size: 22px;
    font-weight: bold;
    color: #FF6408;
    border-left: 4px solid #03A9F4;
    padding-left: 10px;
    line-height: 40px;
}
.indexCommonTitle .left b {
    font-size: 16px;
    color: #672711;
    font-weight: bold;
    margin-left: 12px;
}
.indexCommonTitle .right {
    float: right;
    font-size: 18px;
    color: #FF6408;
}
.indexCommonTitle {
    background: linear-gradient(to bottom, #492c3b, #472935);
    overflow: hidden;
    line-height: 50px;
    padding: 0 30px;
    position: relative;
}

.indexCommonTitle {
    overflow: hidden;
    height: 40px;
    padding: 0 5px;
    position: relative;
}
/* 文章列表样式（和截图一致） */
		.article-section {
			margin: 0px auto;
			padding: 0 15px;
		}
		.article-grid {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 20px;
		}
		.article-card {
			display: flex;
			background: #fff;
			border-radius: 8px;
			padding: 15px;
			box-shadow: 0 2px 8px rgba(0,0,0,0.05);
			align-items: flex-start;
		}
		.card-cover {
			width: 100%;
			height: 200px;
			/*object-fit: cover;*/
			border-radius: 4px;
			margin-right: 15px;
			flex-shrink: 0;
		}
		.card-content {
			flex: 1;
		}
		.card-title {
			font-size: 18px;
			color: #333;
			margin: 0 0 8px 0;
			line-height: 1.4;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
		}
		.card-title a {
			color: #333;
			text-decoration: none;
		}
		.card-title a:hover {
			color: #007bff;
		}
		.card-desc {
			font-size: 14px;
			color: #666;
			line-height: 1.5;
			margin-bottom: 10px;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
		}
		.card-tags {
			margin-bottom: 8px;
		}
		.tag {
			display: inline-block;
			padding: 2px 8px;
			border-radius: 3px;
			font-size: 12px;
			margin-right: 5px;
			margin-bottom: 5px;
		}
		.tag-blue {
			background: #e8f4ff;
			color: #007bff;
			border: 1px solid #b3d8ff;
		}
		.tag-orange {
			background: #fff7e6;
			color: #fa8c16;
			border: 1px solid #ffd591;
		}
		.tag-green {
			background: #f6ffed;
			color: #52c41a;
			border: 1px solid #b7eb8f;
		}
		.card-meta {
			font-size: 12px;
			color: #999;
			display: flex;
			align-items: center;
			gap: 10px;
		}
		.meta-author {
			display: flex;
			align-items: center;
			gap: 5px;
		}
		.meta-author img {
			width: 20px;
			height: 20px;
			border-radius: 50%;
		}
		.meta-stats {
			margin-left: auto;
			display: flex;
			gap: 10px;
		}
		.baog{
		    display: inline-block;
    width: 65px;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    list-style: none;
    /* border: 1px solid #F44336; */
    background: linear-gradient(220deg, #F44336 0%, #340e02);
    border-radius: 4px;
		}
.zizhu{
    background: linear-gradient(180deg, #F44336 0%, #340e02);
}
.has-child {
   background: linear-gradient(180deg, #bdbebd 0%, #3f3f3f);
}
.tagg {  padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-right: 5px; }
.tag-red { background: #ff4d4f; color: #fff; }
.tag-green { background: #52c41a; color: #fff; }
.tag-blue { background: #1890ff; color: #fff; }

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
/* 手机端适配 */
@media screen and (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 40px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }
}
/* 导航容器 */
#header {
  background: linear-gradient(180deg, #1376e7 0%, #1b292a);
    /* background: linear-gradient(to bottom, #ffffff, #938f8f); */
    /* background: #fff; */
    border-bottom: 1px solid #092f54;
    height: 50px;
    position: fixed !important;
    top: 0;
    z-index: 30;
    right: 0;
    left: 0;
}
#header .center {
    height: 50px;
    position: relative;
}
.toplogo {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    float: none;
}
.toplogo img {
    height: 50px;
    display: block;
}

/* 导航主菜单 */
#menu {
    float: right;
    height: 50px;
}
#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 2px;
}
#menu ul li {
    position: relative;
    height: 50px;
    line-height: 50px;
    float: none;
    width: auto;
    min-width: 100px;
    text-align: center;
}
#menu ul li a {
    display: block;
    padding: 0 18px;
    height: 50px;
    line-height: 50px;
color: #e1c2c2;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    background: linear-gradient(180deg, #71b1fa 0%, #183739);
}
#menu ul li a:hover,
#menu ul li.active a {
    background: linear-gradient(180deg, #FFEB3B 0%, #260b14);
    color: #fff;
}

/* 会员入口特殊样式 */
#menu ul li.zizhu a {
    background: linear-gradient(180deg, #E91E63 0%, #260b14);
    color: #fff;
    font-weight: bold;
    padding: 0 20px;
}
#menu ul li.zizhu a strong {
    display: block;
    font-size: 14px;
    line-height: 28px;
}
#menu ul li.zizhu a span {
    display: block;
    font-size: 12px;
    line-height: 15px;
    opacity: 0.9;
}

/* 二级下拉菜单 */
#menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 2px solid #c00;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 999;
    height: auto;
    flex-direction: column;
    gap: 0;
}
#menu ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#menu ul li ul li {
    width: 100%;
    min-width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: left;
}
#menu ul li ul li a {
    line-height: 42px;
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
    background: #fff;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}
#menu ul li ul li:last-child a {
    border-bottom: none;
}
#menu ul li ul li a:hover {
    background: #fff5f5;
    color: #c00;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #header { height: auto;width: 100%; }
    #header .center { height: auto; padding: 10px 0;width: 100%; }
    .toplogo { position: static; margin: 0 auto; text-align: center; width: 100%;}
    #menu { float: none; width: 100%; margin-top: 10px; }
    #menu ul { flex-wrap: wrap; justify-content: center; height: auto;width: 100%; }
    #menu ul li { height: 40px; line-height: 40px; min-width: auto; width: 100%;}
    #menu ul li a { height: 40px; line-height: 40px; padding: 0 12px; font-size: 14px;width: 100%; }
}
/* 首页资源推荐模块 */
.resource-block {
    margin-top: 2px;
    background: #f0f0f0c4;
    /*border: 1px solid #ae7728;*/
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 7px 0 rgb(0 0 0);
}
.resource-block-header {
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    border-bottom: 1px solid #2686d2;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to bottom, #70bcf8, #1479c9);
    align-items: center;
}
.resource-block-title {
    font-size: 16px;
    font-weight: bold;
    color: #ebebe9;
}
.resource-block-more {
    font-size: 13px;
    color: #f7f2f2;
    text-decoration: none;
}
.resource-block-more:hover {
    text-decoration: underline;
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
}
.resource-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
    background: #fff;
}
.resource-card:hover {
    transform: translateY(-2px);
    border-color: #c00;
    box-shadow: 0 4px 10px rgba(204,0,0,0.1);
}
.resource-card-cover {
   width: 100%;
    height: 200px;
    /* object-fit: cover; */
    background: #2196f317;
    display: block;
}
.resource-card-body {
    padding: 10px;
}
.resource-card-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.resource-card-title a {
    color: #333;
    text-decoration: none;
}
.resource-card-title a:hover {
    color: #c00;
}
.resource-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 8px;
}
.resource-card-cate {
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.resource-card-type {
    padding: 1px 6px;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}
.resource-card-price {
    font-size: 16px;
    color: #c00;
    font-weight: bold;
    text-align: right;
}
.vip{font-size: 16px;
    color: #fb8c00;
    font-weight: bold;
    text-align: right;}
.resource-card-price.free {
    color: #43a047;
    font-size: 14px;
}
.resource-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}
.container {
    max-width: 1330px;
    margin: 30px auto;
    padding: 0 10px;
}
.main-wrap {
    max-width: 1330px;
    margin: 20px auto;
    padding: 0 10px;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .resource-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .resource-card-cover {
        height: 100px;
        width: 100%;
    }
#footer {
    min-width: 100%;
    margin: 0 auto;
    background: #000000d4;
}  
#copyright {
    width: 100%;
    line-height: 25px;
    text-align: center;
    clear: both;
    color: #b9b6b6;
    margin: 0 auto;
    padding-bottom: 10px;
    padding-top: 10px;
}
.main-wrap {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 10px;
}
}
.resource-card-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
/* 首页Banner轮播 与原高度完全一致 */
.banner-carousel {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 7px 0 rgb(0 0 0);
}
.banner-carousel .banner-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.banner-carousel .banner-item.active {
    opacity: 1;
}
.banner-carousel .banner-item img {
    width: 100%;
    height: 100%;
    display: block;
}
/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dots span.active {
    background: #fff;
    width: 20px;
    border-radius: 5px;
}
/* 左右切换箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.3s;
    display: none;
}
.banner-carousel:hover .banner-arrow {
    display: block;
}
.banner-arrow.prev { left: 15px; }
.banner-arrow.next { right: 15px; }
.banner-arrow:hover { background: rgba(0,0,0,0.5); }

/* 移动端适配 */
@media (max-width: 768px) {
    .banner-carousel { height: 100px; }
    .banner-arrow { display: none !important; }
    .banner-dots span { width: 8px; height: 8px; }
}
/* 底部友情链接模块 */
.friend-link-wrap {
    max-width: 1400px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 7px 0 rgb(0 0 0);
    /*padding: 0 10px;*/
}
.friend-link-box {
    background: #fafafad9;
    border: 1px solid #ae7728;
    border-radius: 0px;
    overflow: hidden;
}
.header{margin-top: 50px;}
.friend-link-title {
    background: linear-gradient(to bottom, #70bcf8, #1479c9);
    padding: 10px 15px;
    border-bottom: 1px solid #318ed8;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    border-left: 3px solid #c00;
}
.friend-link-body {
    padding: 12px 15px;
    line-height: 2.2;
    font-size: 13px;
}
.friend-link-body a {
    color: #1b5f80;
    text-decoration: none;
    margin-right: 18px;
    display: inline-block;
}
.friend-link-body a:hover {
    color: #c00;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .friend-link-wrap { margin: 0 auto 15px; padding: 0 8px; }
    .friend-link-title { font-size: 14px; padding: 8px 12px; }
    .friend-link-body { padding: 10px 12px; font-size: 12px; }
    .friend-link-body a { margin-right: 12px; }
}
/* 首页卡密商城模块 */
.home-card-shop {
    background: #f0f0f0c4;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}
.home-card-header {
padding: 1px 1px;
    border-bottom: 1px solid #248ece;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #70bcf8, #1479c9);
}
.home-card-title {
    font-size: 15px;
    font-weight: bold;
   color: #fffbfb;
    border-left: 3px solid #c00;
    padding-left: 10px;
}
.home-card-more {
    font-size: 13px;
    color: #e1dddd;
    text-decoration: none;
}
.home-card-more:hover { text-decoration: underline; }

/* 滚动外层容器 */
.home-card-scroll-wrap {
    overflow: hidden;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}
/* 滚动内层 承载两组卡片 */
.home-card-scroll {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: cardAutoScroll 28s linear infinite; /* 28秒匀速滚动，数值越大越慢 */
}
/* 鼠标悬停暂停滚动 */
.home-card-scroll:hover {
    animation-play-state: paused;
}
/* 卡片固定宽度，不被压缩 */
.home-card-item {
    flex-shrink: 0;
    width: 275px;
    box-sizing: border-box;
}

/* 滚动核心动画 平移50%实现无缝循环 */
@keyframes cardAutoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 6px)); }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .home-card-item {
        width: 170px;
    }
    .home-card-scroll {
        animation-duration: 22s; /* 手机端稍快一点 */
    }
}
.home-card-item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 12px;
    transition: all 0.2s;
    background: #ddeeff url(/template/mob1/picture/kami.jpg) repeat-x;
}
.home-card-item:hover {
    border-color: #c00;
    box-shadow: 0 2px 8px rgba(204,0,0,0.1);
}
.home-card-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-card-days {
    font-size: 12px;
    color: #ff5722;
    margin-bottom: 10px;
}
.home-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.home-card-price {
    font-size: 20px;
    color: #ff5722;
    font-weight: bold;
}
.home-card-stock {
    font-size: 12px;
    color: #0f100e;
}
.home-card-btn {
    display: block;
    width: 100%;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: #c00;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
}
.home-card-btn:hover { opacity: 0.9; }
.home-card-btn.disable { background: #ccc; cursor: not-allowed; }
/* 适配原有QQbox容器 宽度铺满 */
.QQbox .home-card-shop {
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .home-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .home-card-name { font-size: 14px; }
    .home-card-price { font-size: 18px; }
}
/* 右侧悬浮客服栏 基础样式 */
.right-service-bar{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 160px;
  background: #fff;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 7px 0 rgb(0 0 0);
  transition: all 0.3s ease;
}

/* 收起状态 滑出屏幕外 */
.right-service-bar.collapsed{
  right: -160px;
}

 /*收起/展开按钮 */
.service-toggle-btn{
  position: absolute;
  left: -36px;
  top: 30%;
  transform: translateY(-50%);
  width: 36px;
  height: 100px;
  background: #16baaa;
  color: #fff;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  writing-mode: vertical-rl;
  font-size: 14px;
  letter-spacing: 2px;
  transition: background 0.3s;
  box-shadow: 0 2px 7px 0 rgb(0 0 0);
}
.service-toggle-btn:hover{
  background: #129e90;
}

/* 客服面板 */
.service-panel{
  padding: 10px 0;
}
.service-item{
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  transition: background 0.2s;
}
.service-item:last-child{
  border-bottom: none;
}
.service-item.service-click{
  cursor: pointer;
}
.service-item.service-click:hover{
  background: #f8fdfc;
}
.service-icon{
  font-size: 20px;
  width: 28px;
  text-align: center;
}
.service-title{
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 3px;
}
.service-desc{
  font-size: 12px;
  color: #999;
}

/* 微信二维码悬浮 */
.wechat-qrcode{
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  width: 140px;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  z-index: 999999 !important;
  margin-right: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.wechat-qrcode img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}
#wechatServiceItem:hover .wechat-qrcode{
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
/* 客服栏外层容器：固定定位，层级拉满不被遮挡 */
/*#rightServiceBar {*/
/*    position: fixed;*/
/*    right: 0;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    z-index: 99999;*/
/*    transition: all 0.3s ease;*/
/*    pointer-events: auto;*/
/*}*/

/* 收起状态：仅内容区向右移出，按钮保留在屏幕内 */
#rightServiceBar.collapsed .service-content {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

/* 切换按钮：固定在客服栏左侧，始终贴紧屏幕边缘 */
/*#serviceToggleBtn {*/
/*    position: absolute;*/
    /*left: -40px; */
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 40px;*/
/*    height: 120px;*/
/*    border: none;*/
/*    background: #009688;*/
/*    color: #fff;*/
/*    cursor: pointer;*/
/*    border-radius: 4px 0 0 4px;*/
/*    z-index: 10;*/
    /*pointer-events: auto !important; */
/*}*/

/* 客服内容区：过渡动画 */
.service-content {
    width: 160px;
    background: #fff;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
/* 移动端适配 */
@media (max-width: 768px){
  .right-service-bar{
    width: 130px;
  }
  .right-service-bar.collapsed{
    right: -130px;
  }
  .service-toggle-btn{
    width: 30px;
    height: 80px;
    left: -30px;
    font-size: 12px;
  }
  .service-item{
    padding: 10px;
  }
  .service-title{
    font-size: 13px;
  }
  .service-desc{
    font-size: 11px;
  }
  .wechat-qrcode{
    display: none;
  }
}
/* 独立返回顶部按钮 */
.back-to-top{
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: #16baaa;
    color: #fff;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 2px 7px 0 rgb(0 0 0);
}
.back-to-top:hover{
    background: #129e90;
    transform: translateY(-2px);
}
.back-to-top span{
    font-size: 20px;
    font-weight: bold;
}

/* 移动端适配 */
@media (max-width: 768px){
    .back-to-top{
        right: 15px;
        bottom: 30px;
        width: 38px;
        height: 38px;
    }
}
/* 客服栏 确保按钮可点击 */
.right-service-bar {
    pointer-events: auto;
}
.service-toggle-btn {
    pointer-events: auto;
    z-index: 10;
}

/* 单独返回顶部按钮 拉满层级，确保最上层不被遮挡 */
.back-to-top {
    pointer-events: auto;
    z-index: 99999 !important;
}