* {
    margin: 0;
    padding: 0;
    font-family: avenir, Helvetica, Arial, sans-serif
}

#app {
    max-width: 468px;
    margin: 0 auto;
}

a {
    text-decoration: none
}

.page-head {
    display: flex;
    align-items: center;
    height: 50px;

    position: relative;
}

.page-head-title {
    /* flex: 1; */
    font-size: 25px;
    line-height: 50px;
    color: #000;
    font-weight: 500;
    text-align: center;
    /* text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap; */

    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

/* .page-head-actbtn {
    width: 48px;
    height: 48px;
    display: flex;
    margin: 0 12px
}

.page-head-actbtn img {
    width: 100%;
    height: 100%
} */

.page-home-catepanel {
    padding: 18px;
}

.page-home-catepanel-title {
    display: flex;
    height: 24px;
    align-items: flex-end;
    justify-content: space-between;
    /* padding: 12px 0; */
}

.page-home-catepanel-title label {
    line-height: 24px;
    font-size: 18px;
    font-weight: 500;
    color: #000
}

/* .page-home-catepanel-title-more {
    font-size: 25px;
    font-weight: 400;
    color: #999;
    height: 20px;
    line-height: 20px
} */

.page-home-catepanel-poplist {
    display: flex;
    margin-bottom: 12px
}

.page-home-catepanel-poplist-item {
    position: relative;
    width: 100%;
    height: 170px;
    background: #ff353f;
    border-radius: 12px;
    margin-right: 25px;
    margin-top: 20px;
    flex-wrap: wrap
}

.page-home-catepanel-poplist-item:nth-child(2n) {
    margin-right: 0
}

.page-home-catepanel-poplist-item-icon {
    position: absolute;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #fff;
    left: 28px;
    top: 30px;
}

.page-home-catepanel-poplist-item-name {
    position: absolute;
    top: 6px;
    width: 100%;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.page-home-catepanel-poplist-item-count {
    position: absolute;
    /* left: 1.41rem; */
    bottom: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #ffe760;
    line-height: 20px;
    width: 100%;
    text-align: center;
}

.page-home-catepanel-poplist-item-count label {
    margin-left: 2px;
    color: #fff
}

.page-home-catepanel-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-home-catepanel-list-item {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* margin-right:012px;align-items:center */
}

.page-home-catepanel-list-item:nth-child(3n) {
    margin-right: 0
}

.page-home-catepanel-list-item-icon {
    width: 160px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.page-home-catepanel-list-item-name {
    width: 160px;
    height: 22px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 22px;
    margin-top: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.page-home-catepanel-list-item-count {
    font-size: 16px;
    line-height: 20px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #ff9c60
}

.page-home-catepanel-list-item-count label {
    margin-left: 2px;
    color: #999
}

.page-foot {
    background: #f7f6ff;
    text-align: center
}

/* .page-foot-site {
    padding-top: 24px;
    height: 18px;
    font-size: .22rem;
    font-weight: 400;
    color: #999;
    line-height: 18px
} */

.page-foot-agreement {
    padding-top: 38px;
    font-size: 14px;
    font-weight: 400;
    color: #ff9c60;
    line-height: 18px;
}

.page-foot-agreement a {
    color: #ff9c60
}

.page-foot-copyright {
    padding-top: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    line-height: 18px;
    padding-bottom: 38px;
}

.ui-ad-pannel {
    display: flex;
    flex-direction: column
}

.ui-ad-pannel-tip {
    font-size: 10px;
    line-height: 15px;
    color: #666;
    text-align: center
}

.ui-ad-pannel-head {
    background: #f7f6ff;
    height: .5rem;
    text-align: center;
    line-height: .7rem;
    font-size: .18rem;
    color: #999
}

.ui-ad-pannel-foot {
    height: 1.1rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

.ui-ad-pannel-foot-openbtn {
    width: 3.4rem;
    height: .6rem;
    background: #2c3031;
    border-radius: 20px;
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    line-height: .6rem;
    text-align: center
}

.ui-ad-pannel img {
    width: 6.4rem;
    height: 4.3rem
}

.page-list-itemcontainer {
    background: #fff;
    padding: 0 18px
}

.page-list-itemcontainer-item {
    display: flex;
    align-items: center;
    margin: 12px 0
}

.page-list-itemcontainer-item-icon {
    width: 1.44rem;
    height: 1.44rem;
    object-fit: cover;
    border-radius: .16rem
}

.page-list-itemcontainer-item-center {
    margin: 0 12px;
    flex: 1;
    overflow: hidden
}

.page-list-itemcontainer-item-name {
    font-weight: 400;
    color: #000;
    line-height: 24px;
    font-size: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.page-list-itemcontainer-item-count {
    font-size: 25px;
    line-height: 20px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #ff9c60
}

.page-list-itemcontainer-item label {
    margin-left: .04rem;
    color: #999
}

.page-list-itemcontainer-item-playbtn {
    width: 280px;
    height: .5rem;
    line-height: .5rem;
    background: #ff353f;
    border-radius: 25px;
    text-align: center;
    font-size: 25px;
    color: #fff;
    font-weight: 500
}

.page-list-loading {
    font-size: 18px;
    color: #999;
    line-height: .8rem;
    text-align: center;
    padding-bottom: .14rem
}

.page-game-detail {
    padding: 24px 18px;
    display: flex
}

.page-game-detail-icon {
    width: 134px;
    height: 134px;
    object-fit: cover;
    border-radius: 18px;
}

.page-game-detail-right {
    flex: 1;
    margin-left: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.page-game-detail-right-name {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 24px;
    height: 24px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.page-game-detail-right-tags {
    margin-top: .1rem;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    height: 24px
}

.page-game-detail-right-tags span {
    height: .36rem;
    font-size: .22rem;
    border-radius: .02rem;
    border: .01rem solid #ff552a;
    line-height: .34rem;
    font-weight: 400;
    color: #ff552a;
    padding: 0 .1rem;
    margin-right: .06rem;
    margin-bottom: .02rem
}

.page-game-detail-right-review {
    display: flex;
    margin-top: 7px;
}

.page-game-detail-right-stars {
    background-image: url(../images/icon_review_star_bg.png);
    background-size: 24px 24px;
    width: 122px;
    height: 24px
}

.page-game-detail-right-stars-score {
    background-image: url(../images/icon_review_star.png);
    background-size: 24px 24px;
    height: 24px
}

.page-game-detail-right-score {
    height: 24px;
    font-size: 18px;
    font-weight: 400;
    color: #999;
    line-height: 24px;
    margin-left: 4px;
}

.page-game-detail-right-count {
    margin-top: 14px;
    font-size: 16px;
    line-height: 20px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #ff9c60
}

.page-game-detail-right-count label {
    margin-left: 2px;
    color: #999
}

.ui-page-split {
    background: #f7f6ff;
    height: 12px
}

.page-game-preview-screens {
    width: 100%;
    overflow-x: scroll;
    display: flex
}

.page-game-preview-screens img {
    padding-right: 18px
}

.page-game-preview-screens img:first-child {
    padding-left: 18px
}

.page-game-preview-foot {
    padding-bottom: 24px;
    padding-top: 18px;
    display: flex;
    justify-content: center
}

.page-game-preview-foot-playbtn {
    text-align: center;
    width: 280px;
    height: 45px;
    background: #ff353f;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 45px;
}

.page-game-desc-cont {
    font-size: 16px;
    font-weight: 400;
    color: #999;
    line-height: 20px
}

.page-pannel {
    background-color: #fff
}

.page-pannel-title {
    padding: 12px 18px;
    height: 24px;
    line-height: 24px;
    font-size: 18px;
    font-weight: 500;
    color: #000
}

.page-pannel-cont {
    padding: 0 18px 18px
}

.page-play {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0
}

.page-play-gameboard {
    position: absolute;
    overflow: hidden;
    top: 0;
    width: 100%;
    bottom: 70px
}

.page-play-gameboard iframe {
    border: none;
    width: 100%;
    height: 100%
}

.page-play-adpanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    font-size: 0
}

.ui-sidepanel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, .58);
    z-index: 10000
}

.ui-sidepanel-content {
    width: 3.6rem;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column
}

.ui-sidepanel-content-closepanel {
    display: flex;
    padding: 24px 0;
    justify-content: center
}

.ui-sidepanel-content-closepanel img {
    width: .72rem;
    height: .72rem
}

.ui-sidepanel-content-catelist {
    padding: 0 24px;
    display: flex;
    flex-direction: column
}

.ui-sidepanel-content-catelist-item {
    height: .44rem;
    line-height: .44rem;
    margin-bottom: 18px;
    font-size: .32rem;
    font-weight: 400;
    color: #000
}

.ui-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 18px;
    padding: .08rem 18px;
    line-height: .44rem;
    border-radius: .1rem;
    max-width: 80%;
    text-align: center
}

#gameframediv {
    position: fixed;
    width: 100%
}

#game_frame {
    width: 100%;
    height: 100%
}