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

/* 重置样式 */
* {
  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: #ffffff;
    height: 0.88rem;
    padding: 0 0.24rem;
    display: flex;
    align-items: center;
}

.header img {
    height: 0.8rem;
}

/* 导航 */
.nav {
    height: 0.88rem;
    display: flex;
    background: #07c5b9;
    width: 100%;
    overflow-x: auto;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.32rem;
    padding: 0 0.28rem;
    white-space: nowrap;
}

.nav a.active {
    font-weight: 700;
    font-size: 0.36rem;
}

/* 通用标题 */
.title {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    padding: .12rem .24rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title div {
    color: #333;
    font-weight: 700;
    font-size: .34rem;
    padding-left: 0.24rem;
    position: relative;
}

.title div::after {
    content: "";
    display: block;
    position: absolute;
    top: .12rem;
    left: 0;
    height: .36rem;
    width: .08rem;
    border-radius: .2rem;
    background-color: #07c5b9;
}

.title svg {
    width: .24rem;
    height: .24rem;
    fill: #C3C3C3;
}

/* 通用游戏盒子 */
.gameList, .appList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.24rem;
    padding-bottom: 0;
    background: #ffffff;
}

.gameList .gameItem, .gameList .appItem, .appList .gameItem, .appList .appItem {
    width: calc(25% - 0.12rem);
    margin-bottom: 0.3rem;
}

.gameList .gameItem img, .gameList .appItem img, .appList .gameItem img, .appList .appItem img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
    border-radius: 0.28rem;
    margin: 0 auto;
}

.gameList .gameItem div, .gameList .appItem div, .appList .gameItem div, .appList .appItem div {
    font-size: 0.28rem;
    color: #333;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-top: 0.12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 通用横向列表 */
.gameListWrap, .appListWrap {
    background: #ffffff;
}

.gameListWrap .gameItem, .gameListWrap .appItem, .appListWrap .gameItem, .appListWrap .appItem {
    padding: 0.24rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e8e8e8;
}

.gameListWrap .gameItem:first-child, .gameListWrap .appItem:first-child, .appListWrap .gameItem:first-child, .appListWrap .appItem:first-child {
    border-top: none;
}

.gameListWrap .gameItem > div:first-child, .gameListWrap .appItem > div:first-child, .appListWrap .gameItem > div:first-child, .appListWrap .appItem > div:first-child {
    display: flex;
    align-items: center;
}

.gameListWrap .gameItem > div:first-child img, .gameListWrap .appItem > div:first-child img, .appListWrap .gameItem > div:first-child img, .appListWrap .appItem > div:first-child img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: cover;
    border-radius: 0.24rem;
    margin-right: 0.24rem;
}

.gameListWrap .gameItem > div:first-child > div > div:first-child, .gameListWrap .appItem > div:first-child > div > div:first-child, .appListWrap .gameItem > div:first-child > div > div:first-child, .appListWrap .appItem > div:first-child > div > div:first-child {
    font-size: 0.3rem;
    font-weight: 700;
    color: #333;
}

.gameListWrap .gameItem > div:first-child > div > div:nth-child(2), .gameListWrap .appItem > div:first-child > div > div:nth-child(2), .appListWrap .gameItem > div:first-child > div > div:nth-child(2), .appListWrap .appItem > div:first-child > div > div:nth-child(2) {
    font-size: 0.26rem;
    font-weight: 400;
    color: #666;
    margin: 0.12rem 0 0.06rem 0;
}

.gameListWrap .gameItem > div:first-child > div > div:nth-child(3), .gameListWrap .appItem > div:first-child > div > div:nth-child(3), .appListWrap .gameItem > div:first-child > div > div:nth-child(3), .appListWrap .appItem > div:first-child > div > div:nth-child(3) {
    font-size: 0.26rem;
    font-weight: 400;
    color: #666;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gameListWrap .gameItem > div:nth-child(2), .gameListWrap .appItem > div:nth-child(2), .appListWrap .gameItem > div:nth-child(2), .appListWrap .appItem > div:nth-child(2) {
    width: 1rem;
    border-radius: .16rem;
    background-color: #07c5b9;
    color: #fff;
    text-align: center;
    font-size: 0.28rem;
    line-height: 0.56rem;
}

.footer {
    margin-top: 0.2rem;
    background: #ffffff;
    padding: 0.36rem 0.24rem;
    font-size: 0.24rem;
    color: #666;
    font-weight: 400;
    text-align: center;
}

.footer > div:nth-child(2) {
    margin: 0.04rem 0;
}

.footer a {
    color: #999;
}

.breadcrumbs {
    padding: 0 0.24rem;
    height: 0.64rem;
    display: flex;
    align-items: center;
    font-size: 0.26rem;
    color: #666;
}

.breadcrumbs svg {
    width: 0.24rem;
    height: 0.24rem;
    fill: #666;
    margin-right: 0.04rem;
}

.breadcrumbs > div svg {
    width: 0.18rem;
    height: 0.18rem;
    margin: 0 0.04rem;
}

.goTop {
    position: fixed;
    bottom: 1rem;
    right: 0.24rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 0.14rem;
    background: #07c5b9;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.goTop svg {
    width: 0.48rem;
    height: 0.48rem;
    fill: #fff;
}
