*{
    padding: 0;
    margin: 0;
}
html {
    /*overflow-x: hidden;      !* 隐藏横向溢出 *!*/
}
#page {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;      /* 隐藏横向溢出 */
    background-color: black;
}

#main {
    width: 100%;
    min-width: 1500px;
    position: absolute;
    left: 50%;              /* 动态居中 */
    transform: translateX(-50%);
}

#player-beijing{
    /*position: fixed;*/
    /*top: 0;*/
    transform: scale(1.3);
    width: 100%;
    height: 100vh;
    min-height: 720px;
}
.page-bg-player{
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
}



/*头部start*/
.header{
    z-index: 8;
    position: relative;
}
.header .header-bg {
    width: 100%;
    text-align: center;
    position: relative;
}
.header .header-main {
    width: 100%;
    height: 0.7456rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0;
}
.header .header-main .header-main-content {
    width: 4.739rem;
    height: 0.7456rem;
    display: inline-block;
    position: relative;
}
.header-main-content .logo {
    width: 1.4783rem;
    height: 0.4003rem;
    background: url("../image/logo.png") no-repeat;
    background-size: 100%  100%;
    position: absolute;
    left: 0.0884rem;
    top: 0.2527rem;
}
.header-main-content .header-msg{
    position: absolute;
    min-width: 1.4346rem;
    min-height: 0.4265rem;
    top: 0.1642rem;
    left: 1.8187rem;
}
.header-main-content .header-msg .header-msg-info {
    display: flex;
    justify-content: space-between;
}
.header-msg-info-user .username-icon {
    display: inline-block;
    width: 0.18rem;
    height: 0.18rem;
    background: url("../image/Frame1522851391.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 5px;
}
.header-msg-info-user #username{
    font-size: 0.18rem;
    color: white;
    font-family: PingFang SC;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-msg-info-online{
    border-radius: 6px;
    padding: 2px 5px;
    background-color: rgba(0, 0, 0, 0.2);
}
.header-msg-info-online .online-icon{
    display: inline-block;
    width: 0.1390rem;
    height: 0.1390rem;
    background: url("../image/Frame.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 2px;
}
.header-msg-info-online #online {
    font-size: 0.1417rem;
    color: #4EE763;
    font-family: PingFang SC;
}
.header-msg-info-user,.header-msg-info-online{
    display: flex;
    align-items: center;
}
.header-msg-money{
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 5px 5px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.18rem;
    color: #FCFF88;
    font-family: Impact;
    margin-top: 10px;
}
.header-msg-money .money-icon{
    display: inline-block;
    width: 0.18rem;
    height: 0.18rem;
    background: url("../image/image77479.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 5px;
    font-weight: bold;
}
.lang-select {
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
}
.lang-select select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 5px;
    background-color: transparent;
    color: white;
}
.lang-select select:after {
    content: "\25BC"; /* Unicode编码，表示向下的箭头 */
    position: absolute;
    top: 12px;
    right: 10px;
}

/* 美化选项内容 */
.lang-select select option {
    padding: 5px;
    background-color: #f9f9f9;
    color: #333;
}
/*头部end*/



/*主体start*/
.main-body{
    width: 4.739rem;
    margin: auto;
    position: absolute;
    top: 0.7456rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.main-body #player-rectangle{
    height: 4.6654rem;
    position: absolute;
    top: 18vh;
    transform: translateX(-27%);
}
.main-body .game {
    width: 3rem;
    position: absolute;
    top: 0.7203rem;
    right: 0;
}
.main-body .game .game-item.game-wangzhe{
    margin-top: -20px;
    z-index: 10;
}
.main-body .game .game-item.game-sanguo{
    margin-top: -25px;
}
.main-body .game .game-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
    transform: scale(1);
}
.main-body .game .game-item:hover {
    transform: scale(1.2);

}
.main-body .game .play-btn{
    display: inline-block;
    font-size: 0.15rem;
    padding: 0.05rem 0.1rem;
    border-radius: 20px;
    font-family: PingFang MO;
    color: white;
    background: -webkit-linear-gradient(#E4ED41, #FFAE00, #FF9021, #FFB11F);
    background: -moz-linear-gradient(#E4ED41, #FFAE00, #FF9021, #FFB11F);
    background: -o-linear-gradient(#E4ED41, #FFAE00, #FF9021, #FFB11F);
    background: linear-gradient(#E4ED41, #FFAE00, #FF9021, #FFB11F);
    position: absolute;
    left: 0.5rem;
    bottom: 0.3rem;
    cursor: pointer;
}
.main-body .game .game-wangzhe .play-btn {
    bottom: 0.17rem;
}
.main-body .game .game-sanguo .play-btn {
    bottom: 0.09rem;
}
.main-body .game .game-fifa .play-btn {
    bottom: 0.26rem;
}
.spine-player{
    pointer-events: none; /* 允许事件穿透, 否在手机上按住spine动画不能滑动页面 */
}
/*主体end*/

.hide-visibility{
    visibility: hidden;
}
.hide-display{
    display: none !important;
}


.exit{
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
}
.exit .exit-icon{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../image/exit.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 5px;
}
.exit .exit-text{
    color: white;
    font-size: 15px;
}

/*屏幕宽度<720px时*/
@media screen and (max-width: 720px) {
    .header-main-content .logo{
        transform: scale(0.9);
        left: 0;
    }
}

/*屏幕宽度>1700px时*/
@media screen and (min-width: 1700px) {
    .header-main-content .logo{
        transform: scale(0.9);
        left: 0;
    }
}

/*屏幕宽度>570px*/
@media screen and (min-width: 570px) {
    #player-beijing{
        min-height: 860px;
    }

    .main-body #player-rectangle{
        height: 650px;
        width: 435px;
        top: 120px;
        left: -170px;
        transform: translateX(0);
    }

    .main-body .game {
        width: 360px;
        top: 50px;
        right: -50px;
    }
    .header-main-content .logo{
        width: 190px;
        height: 45px;
        left: -40px;
        top: 30px;
    }
    #main{
        min-width: 1750px;
    }
}
/*屏幕宽度<570px*/
@media screen and (max-width: 570px){
    #player-beijing{
        transform: scale(1);
        min-height: auto;
    }
}
/*屏幕宽度<570px && >480px*/
@media screen and (max-width: 570px) and (min-width: 480px){
    #player-beijing{
        min-height: 700px;
    }
}
/*屏幕宽度>570px && <480px*/
@media screen and (max-width: 570px) and (min-width: 480px){
    #player-beijing{
        min-height: 700px;
    }
}

.long-screen .main-body #player-rectangle{
    transform: translateX(-27%) translateY(-50%);
    top: 0;
}
.long-screen .main-body .game {
    transform: translateY(-50%);
    top: 0;
}
.long-screen .main-body {
    top: 50vh;
}
.long-screen #player-beijing{
    transform: translateY(-10vh) scale(1.4);
}