/* 公共样式 - 全站通用 */

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 移动端适配 */
html {
  font-size: 50px;
}



/* 链接样式 */
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}




/* 头部 */
.header {
    background: #fff;
    width: 100%;
    border-bottom: 1px solid rgba(100, 100, 100, .1);
}

.header .logo {
    width: 100%;
    height: 0.94rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
}

.header .logo img {
    height: 0.6rem;
}

.header .nav {
    height: 0.81rem;
    padding: 0 0.13rem;
}

.header .nav a {
    display: inline-block;
    height: 100%;
    line-height: 0.66rem;
    padding: 0 0.2rem 0.11rem;
    font-size: 0.34rem;
    color: #333;
}

.header .nav a.active {
    color: #3CDFAD;
}

.header .nav a.active::after {
    content: "";
    position: relative;
    top: 0.14rem;
    display: block;
    margin: auto;
    width: .46rem;
    height: .04rem;
    background: #3cdfad;
    border-radius: .01rem;
}

/* 统一标题栏 */
.title {
    background: #ffffff;
    padding: 0.2rem 0.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title h2 {
    font-size: .32rem;
    color: #333;
    display: flex;
    align-items: center;
}

.title h2 svg {
    width: 0.26rem;
    height: 0.26rem;
    fill: #333;
}

.title a {
    font-size: .2rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.title a svg {
    width: 0.14rem;
    height: 0.14rem;
    fill: #ccc;
}

.title svg {
    position: relative;
    top: 0.01rem;
    margin-left: 0.05rem;
}

.title .bsvg svg {
    width: 0.36rem;
    height: 0.36rem;
}

/* 最小item样式 */
.gameItem {
    display: block;
    width: 25%;
    padding: .08rem 0 .2rem 0.1rem;
    min-width: 25%;
}

.gameItem img {
    width: 1.28rem;
    height: 1.28rem;
    border-radius: .3rem;
    margin: 0 auto;
}

.gameItem > div {
    width: 100%;
    font-size: 0.24rem;
    color: #333;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 0.54rem;
    line-height: 0.54rem;
}

.gameItem > div:nth-child(3) {
    border-radius: .1rem;
    width: 1.28rem;
    margin: 0 auto;
    text-align: center;
    font-size: .24rem;
    color: #3cdfad;
    border: .02rem solid rgba(60, 223, 173, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 横向列表最小Item样式 */
.horizontalItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.26rem 0.1rem;
}

.horizontalItem:nth-child(1) > div:first-child > div:first-child {
    color: #E4504B !important;
}

.horizontalItem:nth-child(2) > div:first-child > div:first-child {
    color: #FF8A14 !important;
}

.horizontalItem:nth-child(3) > div:first-child > div:first-child {
    color: #FFC20D !important;
}

.horizontalItem > div:first-child {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.horizontalItem > div:first-child > div:first-child {
    font-size: .3rem;
    font-weight: bold;
    margin-right: .15rem;
    width: 0.3rem;
    min-width: 0.3rem;
    color: #999;
}

.horizontalItem > div:first-child > div:last-child > div {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.22rem;
    color: #999;
}

.horizontalItem > div:first-child > div:last-child > div:first-child {
    font-size: 0.28rem;
    color: #000;
}

.horizontalItem > div:first-child > div:last-child > div:nth-child(2) {
    margin: 0.1rem 0 0.04rem 0;
}

.horizontalItem > div:first-child > img {
    width: 1.28rem;
    height: 1.28rem;
    border-radius: .3rem;
    margin-right: 0.26rem;
}
.horizontalItem > div:first-child  > div{
        flex: 1;
    display: block;
    overflow: hidden;
}
.horizontalItem > div:last-child {
    border-radius: .1rem;
    width: 1.1rem;
    max-width: 1.1rem;
    min-width: 1.1rem;
    margin: 0 auto;
    text-align: center;
    font-size: .24rem;
    color: #3cdfad;
    border: .02rem solid rgba(60, 223, 173, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.05rem 0;
}

/* 面包屑 */
.breadcrumbs {
    padding: .21rem .31rem;
    line-height: .32rem;
    font-size: .24rem;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 页脚 */
.footer {
    background: #333;
    padding: .21rem .3rem .36rem;
    color: #666666;
    font-size: .22rem;
    text-align: center;
    line-height: 0.36rem;
}

.footer > a {
    font-size: 0.22rem;
    color: #999;
    height: 0.44rem;
}
