* {margin: 0;padding: 0;box-sizing: border-box;}
html, body {height: 100%;font-family: "Microsoft YaHei", "宋体", "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;font-size: 14px;line-height: 1.6;color: #333;background-color: #fff;}
#header {width: 100%;background-color: #fff;border-bottom: 1px solid #eee;padding: 10px 0;box-shadow: 0 2px 10px rgba(0,0,0,.05);z-index: 100;position: relative;height: auto;min-height: 70px;}
#container {width: 1200px;margin: 0 auto;padding: 20px;min-height: 500px;}
#container2 { margin: 0 auto;padding:50px 0; }
#box {
    display: inline-block;
    margin-top: 15%;
}
input[type=search] {
    float: right;
    background-color: #FFF;
    border: 1px solid #A9A9A9;
    padding: 10px;
    border-radius: 2px;
    width: 280px;
    outline: none;
    margin-right: 7px;
    transition: all .2s;
}
input[type=search]:focus {
    width: 300px;
}
::-webkit-input-placeholder {
    font-family:'Open Sans', sans-serif;
}
input[type=search]:focus {
    border: 1px solid #000;
    padding-left: 30px;
}
a { color: #999999;text-decoration: none;background-color: transparent;outline: none;cursor: pointer;-webkit-transition: color .3s;transition: color .3s;-webkit-text-decoration-skip: objects;}
p { margin-bottom:30px;}
.clear {clear:both; }
.right { float:right; font-size:12px;color:red;}
.center{font-size:15px;color:#999;text-align:center;padding: 20px 0;}
.blank{ height:170px;}
.logo img{
    display:block;
}
.headertext {width:1200px;margin: 0 auto;display: flex;padding:0 0;}
.logo{/* width:350px; */float:left;margin:0 30px;/* padding:10px 0; */margin-right: 7%;padding-top: 10px;}
.mean {position: relative;flex: 1;display: flex;align-items: center;}
.mean ul{list-style: none;margin: 0;padding: 0;display: flex;align-items: center;}
.mean li {float: left;width: 80px;height: 80px;box-sizing: border-box;border: 1px solid transparent;}
.mean a{font-size: 17px;color: #333;padding: 0 20px;display: flex;margin-top: 35px;}
.mean li:hover{background-color: #f2f2f2;display: block;height: 80px;width: 80px;box-sizing: border-box;border: 1px solid transparent;}

/* 搜索框样式 */
.header-search {margin-left: auto;}
.header-search.searchbar {background: #DABB52;padding: 0;}
.header-search.searchbar form {position: relative;width: 300px;margin: 0;}
.header-search.searchbar input,
.header-search.searchbar button {border: none;outline: none;}
.header-search.searchbar input {width: 100%;height: 42px;padding-left: 13px;background: #F9F0DA;border-radius: 3px;font-size: 14px;box-sizing: border-box;}
.header-search.searchbar button {height: 26px;width: 26px;cursor: pointer;position: absolute;top: 8px;right: 8px;background: #F15B42;border-radius: 3px;display: flex;align-items: center;justify-content: center;color: #F9F0DA;font-size: 14px;font-weight: bold;padding: 0;line-height: 1;}

/* 移动端搜索框样式 */
.mobile-search {padding: 10px;border-top: 1px solid #eee;}
.mobile-search.searchbar {background: #DABB52;padding: 10px;}
.mobile-search.searchbar form {position: relative;width: 100%;max-width: 300px;margin: 0 auto;}
.mobile-search.searchbar input,
.mobile-search.searchbar button {border: none;outline: none;}
.mobile-search.searchbar input {width: 100%;height: 42px;padding-left: 13px;background: #F9F0DA;border-radius: 3px;font-size: 14px;box-sizing: border-box;}
.mobile-search.searchbar button {height: 26px;width: 26px;cursor: pointer;position: absolute;top: 8px;right: 8px;background: #F15B42;border-radius: 3px;display: flex;align-items: center;justify-content: center;color: #F9F0DA;font-size: 14px;font-weight: bold;padding: 0;line-height: 1;}
.banner { text-align:center;margin-bottom:80px;}
/* .index 样式已合并到下面的统一样式定义中 */
.index2 {width: 1200px;margin: 0 auto;padding: 0;zoom: 1;overflow: hidden;}
.index2-title {font-size: 16px;text-align: center;padding: 10px 0;}
.index2-title h2 {font-weight: normal;font-size: 36px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;}
.index2-title h3 {font-weight: normal;font-size: 30px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;border-bottom:1px dashed #999; padding:16px 0;}
.index2-table{font-size: 22px;color:#666;line-height:30px;border:1px solid #999;padding: 30px 30px;}
.index2 h4{color: #333; font-size:18px;}
.index2 dl a{height:110px;margin-bottom: 20px;overflow: hidden; float:left; width:250px; border:1px solid #999;margin:10px 8.6px;padding:15px 15px;}
.index2 dl a:hover{background-color:#f2f2f2;display:block;}
/* 统一所有列表页的样式 - 使用统一的类名和样式定义 */
.boardgame-list,
.index,
.list {width: 1200px;margin: 0 auto;padding: 0;min-height:100%;height:auto;margin-bottom:100px;zoom: 1;overflow: visible;clear: both;}

/* 电脑端：一排4个 - 精确计算：1200px容器，4个项目，每个项目宽度250px，剩余200px分配给5个间隙，每个间隙40px，每个项目左右各20px */
.boardgame-list dl,
.index dl,
.list dl {float: left;width: 250px;margin: 10px 20px !important;box-sizing: border-box;clear: none;}

.boardgame-list dl a,
.index dl a,
.list dl a {height: auto;min-height: 280px;margin-bottom: 20px;overflow: visible;display: block;text-align: center;border: 1px solid #999;padding: 15px 5px;box-sizing: border-box;}

.boardgame-list dl a:hover,
.index dl a:hover,
.list dl a:hover {background-color: #f2f2f2;border: 1px solid #FF0000;}

.boardgame-list dl img,
.index dl img,
.list dl img {width: 235px;height: 235px;object-fit: cover;display: block;margin: 0 auto;transition: all .4s;max-width: 97%;}

.boardgame-list dl p,
.index dl p,
.list dl p {text-align: center;color: #333;font-size: 22px;margin-top: 16px !important;margin-bottom: 0;padding: 0 5px;line-height: 1.5;min-height: 33px;height: auto;overflow: visible;display: block;word-wrap: break-word;word-break: break-all;}

.boardgame-list .list-title,
.index .list-title,
.list .list-title {font-size: 16px;text-align: center;padding: 10px 0;clear: both;display: block;width: 100%;margin-bottom: 30px;overflow: visible;position: relative;z-index: 10;}

.boardgame-list .list-title h2,
.index .list-title h2,
.list .list-title h2 {font-weight: normal;font-size: 36px;font-family: pingfang, "Microsoft Yahei", "HanHei SC", PingHei, "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;margin: 0;padding: 0;line-height: 1.4;overflow: visible;display: block;width: 100%;}

.boardgame-list .list-title h5,
.index .list-title h5,
.list .list-title h5 {margin: 10px 0 0 0;padding: 0;overflow: visible;display: block;width: 100%;}

/* .list 样式已合并到上面的统一样式定义中 */
.masonry { 
                -moz-column-count:3; /* Firefox */
                -webkit-column-count:3; /* Safari 和 Chrome */
                column-count:3;
                -moz-column-gap: 2em;
                -webkit-column-gap: 2em;
                column-gap: 2em;
                width:100%;
                margin:2em auto;
            }
            .item { 
                padding: 2em;
                margin-bottom: 2em;
                -moz-page-break-inside: avoid;
                -webkit-column-break-inside: avoid;
                break-inside: avoid;
                border:1px solid #999;
            }
            
            /* 优化详细页标题区域 */
            .game-title {
                text-align: center;
                padding: 20px 10px;
                clear: both;
            }
            
            .game-title h2 {
                font-size: 36px;
                margin-bottom: 10px;
                font-weight: normal;
                font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                color: #333;
                display: block;
            }
            
            .game-title h4 {
                font-size: 18px;
                color: #666;
                margin: 0;
                font-weight: normal;
                font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                display: block;
            }
            
.item h3{ line-height:40px; }
.item img{width:20px;}
.item span{color:#666;line-height:30px; font-size:17px;}
.item:hover { border:1px solid #f60;}
.page{margin-top:70px;text-align:center;margin-bottom:70px;}
.page a{ font-size:22px;border:#dedfde 1px solid;padding:2px 10px;background-position:50% bottom;color:#0061de;margin:0 3px 0 0;text-decoration:none; margin:0px 10px;}
.page a:hover{border:#000 1px solid;background-image:none;color:#fff;background-color:#0061de;}
.page a:active{border:#000 1px solid;background-image:none;color:#fff;background-color:#0061de}
.page span.current{padding:2px 6px;font-weight:bold;color:#ff0084;margin:0 3px 0 0;}
.page span.disabled{padding:2px 6px;color:#adaaad;margin:0 3px 0 0;}
.game {width: 1200px;margin: 0 auto;height:70%;padding-bottom:10px;}
.game-title {font-size: 16px;text-align: center;padding: 10px 0;}
.game-title h2 {font-weight: normal;font-size: 36px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;}
.game-title h3 {font-weight: normal;font-size: 30px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;border-bottom:1px dashed #999; padding:160px 0;}
.game-table{ height:500px; padding:30px 30px;}
.game-images{float:left;width: 504px;margin-right: 44px;}
.game-images img{box-shadow:0 0 3px #999 inset;display: block;margin: 0px auto;cursor: pointer;padding:20px 0;width: 100%;}
.game-info{padding:10px 30px; font-size:18px; line-height:28px; text-align:left; border-top:1px dashed #999;border-bottom:1px dashed #999;float:left;width:500px;float:left;}
.game-info p{margin: 8px 0;padding: 0;}
.game-type-tags{margin: 8px 0 !important;padding: 0 !important;}
.game-type-tag{display: inline-block;background-color: #f60;color: #fff;padding: 4px 12px;margin: 4px 4px 4px 0;border-radius: 4px;text-decoration: none;font-size: 14px;line-height: 1.5;transition: all 0.3s;}
.game-type-tag:hover{background-color: #e55;color: #fff;text-decoration: none;transform: translateY(-1px);box-shadow: 0 2px 4px rgba(0,0,0,0.2);}
.game-ad a{border:1px solid #999;width:500px;padding:10px 30px; margin:20px 0;float:left; font-size:15px; line-height:28px;}
.game-ad a:hover{border:1px solid #FF0000;}
.game-check{padding:10px 0px; font-size:22px; line-height:28px; text-align:right; width:500px;float:left;margin-top:20px; }
.game-check a {padding:20px 20px; margin-left:20px;background:#F98206 ; color:#FFFFFF;}
.game-check a:hover {background:#999;}
.game-about{padding:10px 30px; margin:20px 0;float:left; font-size:18px; line-height:32px; font-size:22px;}
.game-about img{box-shadow:0 0 3px #999 inset;box-shadow: 0px 0px 15px rgba(0,0,0,.2); width:750px; margin-left:225px;}
.banner > .row-1 div.fr div.tc{border:1px solid #A1A1A1;}
   
    .content{
        width: 85%;
        margin: 0 auto;
        padding: 0 10px;
    }
    table{
        width: 100%;
        border-spacing: 0 15px;
        margin: 15px 0;
        border-collapse: separate;
    }
    table tr{
        background: #fff;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(26,26,26,.1);
        box-sizing: border-box;
        cursor: pointer;
    }
    .hover:hover{
        box-shadow: 0 3px 7px rgba(26,26,26,.4);
        -moz-transform: translate(0,-2%);
        -webkit-transform: translate(0,-2%);
        transform: translate(0,-2%);
        -moz-transition: all .3s;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    table tr th{
        font-size: 14px;
        padding: 5px 0;
        border-top: 1px solid #A1A1A1;
        border-bottom: 1px solid #A1A1A1;
        height: 50px;
        position: relative;
    }
    table tr th:first-child,
    table tr td:nth-child(2){
        border-left: 1px solid #A1A1A1;
    }
    table tr th:last-child,
    table tr td:last-child{
        border-right: 1px solid #A1A1A1;
    }
    table tr td{
        text-align: center;
        border-top: 1px solid #A1A1A1;
        border-bottom: 1px solid #A1A1A1;
        font-size: 14px;
        position: relative;
        height: 50px;
    }
    table tr td:nth-child(2){
        font-size: 14px;
        padding-left: 0px;
    }
    table tr td:after,
    table tr th:after{
        content: '';
        position: absolute;
        width: 1px;
        height: 30px;
        background: #A1A1A1;
        left:0;
        top:50%;
        -moz-transform: translate(0,-50%);
        -webkit-transform: translate(0,-50%);
        transform: translate(0,-50%);
    }
    table tr td:nth-child(2):after,
    table tr th:first-child:after{
        content: none;
    }
    table tr + tr{
        margin-top: 15px;
    }
    table tr td span{
        position: absolute;
        background: #97D3C5;
        padding: 5px 8px;
        left:10px;
        top:10px;
    }
    table tr td img{
        height: 16px;
        width: 16px;
        margin-right: 5px;
    }
    .views,.goods{
        position: absolute;
        width: auto;
        left:50%;
        top:50%;
        height: 100%;
        opacity: 0.1;
        -moz-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
    table tr td p{
        display: inline-block;
        text-align:left;
        padding: 7px 5px;
        max-width: 572px;;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    }
    .c1 + td p{
          border:1px solid #97D3C5;
    }
    .c2 + td p{
        border:1px solid #F68484;
    }
    .c3 + td p{
        border:1px solid #75B9E6;
    }
.position {padding-top:20px;}
.dig{font-size: 50px;margin: auto;padding: 7px 10px;margin-top: 20px;margin-bottom: 30px;text-align: center;}
.dig img{ width:50px;}
.dig span{border: 1px solid #959492;;padding: 17px 15px; }
#like-btn{display: inline-block;vertical-align: middle;user-select: none;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;}
#like-btn:hover{opacity: 0.8;}
/* 修复简介区域样式：调整about、about-title、about-about，解决标题位置异常 */
.about {width: 1200px;margin: 0 auto;padding: 0;}
.about-title {
    font-size: 16px;
    text-align: center;
    padding: 20px 0; /* 增加上下内边距，拉开与上方游戏区距离 */
    margin-top: 30px; /* 额外上外边距，避免与上方浮动元素重叠 */
    clear: both; /* 清除上方浮动影响，确保标题正常换行 */
}
.about-title h3 {
    font-weight: normal;
    font-size: 30px;
    font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
    border-bottom: 1px dashed #999;
    padding: 16px 0;
    display: inline-block; /* 让下划线仅包裹标题文字，不撑满容器 */
}
.about-about {
    padding: 10px 30px;
    margin: 15px 0; /* 减少上外边距，避免与标题间距过大 */
    font-size: 22px;
    line-height: 38px;
    border-bottom: 1px dashed #999;
    padding-bottom: 30px; /* 合理底部内边距，避免内容溢出 */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.about-about img{
    box-shadow:0 0 3px #999 inset, 0px 0px 15px rgba(0,0,0,.2);
    width: 750px; /* 固定宽度 */
    margin: 33px auto 0; /* 图片居中，与标题对齐 */
    display: block;
    float: none; /* 取消浮动，避免影响文字布局 */
}
.about-about iframe {
  display: block; /* 移除inline默认间距 */
  width: 750px; /* 固定宽度 */
  height: 800px; /* 固定高度，可根据需求调整 */
  border: none; /* 移除边框 */
  margin: 0 auto; /* 水平居中 */
}
/* 修复结束 */
.contents {width: 1200px;margin: 0 auto;padding: 0;}
.contents-title {font-size: 16px;text-align: center;padding: 10px 0;}
.contents-title h3 {font-weight: normal;font-size: 30px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;border-bottom:1px dashed #999; padding:16px 0;}
.contents-about {
    padding: 10px 30px;
    margin: 20px 0;
    font-size: 22px;
    line-height: 38px;
    border-bottom: 1px dashed #999;
    padding-bottom: 100px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}
.url {width: 1200px;margin: 0 auto;padding: 0;}
.url-title {font-size: 16px;text-align: center;padding: 10px 0;}
.url-title h2 {font-weight: normal;font-size: 36px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;}
.url-title h3 {font-weight: normal;font-size: 30px;font-family: pingfang,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;border-bottom:1px dashed #999; padding:16px 0;}
.url-table{font-size: 22px;color:#666;line-height:30px;border:1px solid #999;padding: 30px 30px;}
.url h4{color: #333; font-size:18px;}
.url dl a{height:120px;margin-bottom: 20px;overflow: hidden; float:left; width:250px; border:1px solid #999;margin:10px 8.6px;padding:15px 15px;}
.url dl a:hover{background-color:#f2f2f2;display:block;}
.nocopy{-moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;user-select: none; position: relative;}
.nocopy:after{ content: '';position: absolute;width: 100%;height: 100%; top:0; left:0;z-index: 5; background: transparent;}
.clear {clear: both;}
div.search {/* padding: 30px 0; */padding-top: 11px;}
.search input{
        width: 100%;
        height: 42px;
        padding-left: 13px;
        border: none;
}
.search button{
        height: 42px;
        width: 42px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
        background-color: #FF3D28;
        border: none;
}
.search form{
    border: 1px solid #FF3D28;
        position: relative;
    width: 300px;
    margin: 0 auto;
}
.bar3 button:before {
    content: "f002";
    font-family: FontAwesome;
    font-size: 16px;
    color: #F9F0DA;
}
.search,
.search *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.banner img{
    max-width: 100%;
}
.pc{
    display: block;
}
.wap{
    display: none;
}
.mobile {width:100%;}
.mobile-inner {margin-right:auto;margin-left:auto;background-color:;position:relative;}
.mobile-inner img {}
.mobile-inner p {color:#676767;line-height:25px;font-size:16px;padding-bottom:30px;padding-right:30px;padding-left:30px;margin:0px;}
.mobile-inner-header {background-color:rgb(255,255,255);width:100%;height:50px;position:relative;top:0px;z-index:33;left:0px;}
.mobile-inner-header-icon {color:#ffffff;height:50px;font-size:25px;text-align:center;float:right;width:50px;position:relative;-webkit-transition:background 0.5s;-moz-transition:background 0.5s;-o-transition:background 0.5s;transition:background 0.5s;}
.mobile-inner-header-icon:hover {background-color:rgba(255,255,255,0.2);cursor:pointer;}
.mobile-inner-header-icon span {position:absolute;left:calc((100% - 25px) / 2);top:calc((100% - 1px) / 2);width:25px;height:1px;background-color:rgb(199,34,27);}
.mobile-inner-header-icon span:nth-child(1) {transform:translateY(4px) rotate(0deg);}
.mobile-inner-header-icon span:nth-child(2) {transform:translateY(-4px) rotate(0deg);}
.mobile-inner-header-icon-click span:nth-child(1) {animation-duration:0.5s;animation-fill-mode:both;animation-name:clickfirst;}
.mobile-inner-header-icon-click span:nth-child(2) {animation-duration:0.5s;animation-fill-mode:both;animation-name:clicksecond;}
@keyframes clickfirst {0% {transform:translateY(4px) rotate(0deg);}
100% {transform:translateY(0) rotate(45deg);}
}
@keyframes clicksecond {0% {transform:translateY(-4px) rotate(0deg);}
100% {transform:translateY(0) rotate(-45deg);}
}
.mobile-inner-header-icon-out span:nth-child(1) {animation-duration:0.5s;animation-fill-mode:both;animation-name:outfirst;}
.mobile-inner-header-icon-out span:nth-child(2) {animation-duration:0.5s;animation-fill-mode:both;animation-name:outsecond;}
@keyframes outfirst {0% {transform:translateY(0) rotate(-45deg);}
100% {transform:translateY(-4px) rotate(0deg);}
}
@keyframes outsecond {0% {transform:translateY(0) rotate(45deg);}
100% {transform:translateY(4px) rotate(0deg);}
}
.mobile-inner-nav{
    overflow: auto;
    max-height: 600px;
}
.mobile-inner-nav {background-color:hsla(224,27%,35%,.6);width:100%;position:absolute;top:50px;padding-bottom:0%;display:none;z-index:444;}
.mobile-inner-nav  a {border-bottom:solid 1px rgba(255,255,255,0.3);-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-o-transition:all 0.5s;color:#fff;transition:all 0.5s;}
.mobile-inner-nav  dl {display:none;}
.mobile-inner-nav  dl dd {line-height:33px;text-decoration:none;text-indent:3em;font-size:16px;color:#FFFFFF;border-bottom:solid 1px rgba(255,255,255,0.3);-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s;font-weight:300;font-size:14px;}
.mobile-inner-nav  li {border-bottom:solid 1px rgba(255,255,255,0.3);-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s;line-height:53px;text-indent:20px;}
.mobile-inner-nav h2.h2tit {line-height:50px;text-decoration:none;text-indent:2em;font-size:16px;color:#FFFFFF;border-bottom:solid 1px rgba(255,255,255,0.3);-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-o-transition:all 0.5s;transition:all 0.5s;font-weight:300;}
.mobile-inner-nav h2.h2tit a {color:#FFFFFF;}
.mobile-inner-nav a {border-bottom:none;}
.mobile-inner-nav li {-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:returnToNormal;animation-name:returnToNormal;}
@-webkit-keyframes resize {from,60%,75%,90%,to {-webkit-animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);}
0% {opacity:0;-webkit-transform:scale(5,5);transform:scale(5,5);}
100% {opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);}
}
@keyframes resize {from,60%,75%,90%,to {-webkit-animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);}
0% {opacity:0;-webkit-transform:scale(5,5);transform:scale(5,5);}
100% {opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1);}
}
@-webkit-keyframes returnToNormal {from {opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);}
to {opacity:1;-webkit-transform:none;transform:none;}
}
@keyframes returnToNormal {from {opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);}
to {opacity:1;-webkit-transform:none;transform:none;}
}
.mobile-inner-nav li:last-child h2.h2tit {border-bottom:none;}
.mobile-inner-nav li .h3tit {height:50px;position:relative;background:url(../images/51_icon_search@2x.png) no-repeat 30px center;background-size:17px;}
.mobile-inner-nav li  .words {display:block;width:100%;height:100%;border:none;background:none;text-indent:60px;font-size:15px;color:#fff;background:url(../images/search2.png) no-repeat 30px center;background-size:20px;}
.mobile-inner-nav li:last-child {border-bottom:none;}
.mobile-inner-nav li  form {display:block;width:100%;height:100%;}
@charset "utf-8";@charset "UTF-8";
.animated {animation-duration:1s;animation-fill-mode:both;}
.animated.infinite {animation-iteration-count:infinite;}
.animated.hinge {animation-duration:2s;}
.fadeInUp {animation-duration:1.76s;animation-name:fadeInUp;}
#container *{
    
-webkit-transition:all 0.2s;
-o-transition:all 0.2s;
-moz-transition:all 0.2s;
-ms-transition:all 0.2s;
transition:all 0.2s;
}
/* 搜索结果页面样式 */
.search-results {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f60;
}
.search-results-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px 0;
}
.search-keyword {
    font-size: 16px;
    color: #666;
    margin: 0;
}
.search-results-list {
    margin-top: 20px;
}
.search-result-item {
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.search-result-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.search-result-inner {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 25px;
}
.search-result-cover {
    flex: 0 0 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-result-cover img {
    width: 330px;
    height: 330px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}
.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.search-result-title {
    margin: 0 0 15px 0;
    font-size: 22px;
}
.search-result-title a {
    color: #333;
    text-decoration: none;
}
.search-result-title a:hover {
    color: #f60;
    text-decoration: underline;
}
.search-result-meta {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}
.search-label {
    font-weight: 600;
    color: #666;
    margin-right: 8px;
}
.search-value {
    color: #333;
}
.search-value a {
    color: #333;
    text-decoration: none;
    margin-right: 8px;
}
.search-value a:hover {
    color: #f60;
    text-decoration: underline;
}
.search-result-about {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.search-about-content {
    margin-top: 8px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}
.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 18px;
    }
}

/* 全部桌游列表表格样式 */
.tablelist {
  margin-top: 20px;
  overflow-x: auto;
  position: relative;
}
.tablelist table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: 14px;
  font-family: "Microsoft YaHei", "宋体", "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;
}
.tablelist thead {
  position: sticky;
  top: 0;
  z-index: 10;
}
.tablelist th,
.tablelist td {
  font-size: 14px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}
.tablelist th:first-child,
.tablelist td:first-child {
  border-left: 1px solid #ddd;
}
.tablelist thead th {
  position: sticky;
  top: 0;                     /* 随页面下拉时始终固定在表格上方 */
  border-top: 1px solid #ddd;
  z-index: 11;                /* 盖住下面内容 */
}
.tablelist tbody tr:first-child td {
  border-top: 1px solid #ddd;
}
.tablelist th {
  font-size: 15px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #f60;
  color: #ffffff;
  font-weight: 600;
}

/* 全部桌游页：JS 生成的固定表头 */
.fixed-table-header-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;       /* 避免挡住下面链接的点击 */
  overflow: hidden;
}
.fixed-table-header-wrapper table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: 14px;
  font-family: "Microsoft YaHei", "宋体", "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;
  width: 100%;
}
.fixed-table-header-wrapper th {
  background-color: #f60;
  color: #ffffff;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  font-weight: 600;
  vertical-align: middle;
}
.fixed-table-header-wrapper th:first-child {
  border-left: 1px solid #ddd;
}

/* 表格行样式（移除整行点击） */
.tablelist tbody tr {
  cursor: default;
}
.tablelist tbody tr:hover {
  background-color: #fff5e6;
}
.tablelist .views,
.tablelist .goods {
  width: 16px;
  height: 16px;
  vertical-align: baseline;
  margin-right: 4px;
}

/* 表格隔行变色 */
.tablelist tbody tr.even {
  color: #000000;
  background-color: #ffffff;
}
.tablelist tbody tr.odd {
  color: #000000;
  background-color: #f9f9f9;
}
.tablelist tbody tr.even:hover,
.tablelist tbody tr.odd:hover {
  background-color: #fff5e6;
}

/* 表格列宽自适应 */
.tablelist .col-title {
  width: auto;
  min-width: 150px;
}
.tablelist .col-type {
  width: auto;
  min-width: 200px;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
}
.tablelist .col-type a {
  color: #333;
  text-decoration: none;
  margin-right: 8px;
}
.tablelist .col-type a:hover {
  color: #f60;
  text-decoration: underline;
}
.tablelist .col-num {
  width: auto;
  min-width: 100px;
  white-space: nowrap;
}
.tablelist .col-stats {
  width: auto;
  min-width: 80px;
  white-space: nowrap;
  text-align: center;
}

/* 防止观望和点赞换行 */
.tablelist .stat-item {
  display: inline;
  white-space: nowrap;
}

/* 表格中的链接样式（标题 + 想玩/点赞统一样式） */
.tablelist .col-title a,
.tablelist .col-stats a {
  color: #333;
  text-decoration: none;
}
.tablelist .col-title a:hover,
.tablelist .col-stats a:hover {
  color: #f60;
  text-decoration: underline;
}

/* 排序表头样式 */
.tablelist th.sort-header {
  cursor: pointer;
  user-select: none;
}
.tablelist th.sort-header:hover {
  background-color: #e55a00;
}
.tablelist .sort-indicator {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
  color: #fff;
}

/* 全部桌游页：返回顶部按钮 */
.all-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 99;
  display: none;
}
.all-back-to-top:hover {
  background-color: #f60;
}

/* ================= 随机页面样式 ================= */
body.random-page {
  background-color: #f5f5f5;
  padding: 20px 0;
}

.random-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.random-header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.random-header h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.random-header p {
  font-size: 14px;
  color: #666;
}

.random-image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.random-image {
  width: 750px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  cursor: pointer;
}

.random-info {
  text-align: center;
  margin-top: 20px;
}

.random-info .game-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.random-info .game-title-link {
  text-decoration: none;
}

.random-info .game-title-text {
  background-color: #000;
  color: #000;
  padding: 0 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.random-info .game-title-link:hover .game-title-text,
.random-info .game-title-link:focus .game-title-text {
  background-color: transparent;
  color: #333;
}

.random-info .game-title-link:hover .game-title-text {
  color: #667eea;
}

.random-info .refresh-hint {
  font-size: 13px;
  color: #999;
  margin-top: 15px;
}

.refresh-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.refresh-button:hover {
  background: #5568d3;
}