html {
    -ms-touch-action: none;
    overflow: hidden;
    scroll-behavior: auto;
    overscroll-behavior: none;
}
body,
canvas,
div {
    display: block;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: default;
    color: #888;
    background-color: #100637;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#Cocos2dGameContainer {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}
#Cocos2dGameContainer iframe {
    background-color: #100637 !important;
}
canvas {
    background-color: rgba(0, 0, 0, 0);
}
a:link,
a:visited {
    color: #666;
}
a:active,
a:hover {
    color: #666;
}
p.header {
    font-size: small;
}
p.footer {
    font-size: x-small;
}
#splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#logo-player {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    width: 3.8667rem;
    height: 3.8667rem;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-size: 19.3333rem 15.4667rem;
}
.loading-tips {
    position: absolute;
    color: #fff;
    font-size: 0.32rem;
    left: 50%;
    transform: translate(-50%);
    bottom: 1.8667rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ellipsis {
    display: flex;
    gap: 0.0667rem;
    height: 0.0667rem;
    margin-left: 0.1333rem;
    margin-top: 0.2667rem;
}
.dot {
    width: 0.0667rem;
    height: 0.0667rem;
    background-color: #fff;
    border-radius: 50%;
    animation: jump 1.8s infinite;
}
.dot:nth-child(1) {
    animation-delay: 10ms;
}
.dot:nth-child(2) {
    animation-delay: 0.31s;
}
.dot:nth-child(3) {
    animation-delay: 0.61s;
}
.dot:nth-child(4) {
    animation-delay: 0.91s;
}
.dot:nth-child(5) {
    animation-delay: 1.21s;
}
.dot:nth-child(6) {
    animation-delay: 1.51s;
}
@keyframes jump {
    0% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(-0.1rem);
    }
    100%,
    20% {
        transform: translateY(0);
    }
}
#mask {
    position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}
#landscape-mask {
    position: absolute;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: none;
    justify-content: center;
    align-items: center;
}
.landscape-icon {
    width: 2.7867rem;
    height: 1.5733rem;
    background-image: url(images/landscape_icon.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@keyframes rotateLeft {
    0%,
    40% {
        transform: rotate(0) scaleX(-1);
    }
    100%,
    80% {
        transform: rotate(-90deg) scaleX(-1);
    }
}
@keyframes rotateRight {
    0%,
    40% {
        transform: rotate(0);
    }
    100%,
    80% {
        transform: rotate(90deg);
    }
}
#btn-back {
    position: fixed;
    cursor: pointer;
    width: 1.064rem;
    height: 1.344rem;
    top: 0.3333rem;
    display: none;
    background-image: url(images/btn_back.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 200;
}
.dialog {
    z-index: 9999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    display: none;
}
.dialog-box {
    display: flex;
    width: 9.4667rem;
    height: 6.0533rem;
    background-color: #21124f;
    border-radius: 30px;
    box-shadow:
        0 1px 1px 0 #00000063,
        0 2px 2px 0 #00000057,
        0 0.0833rem 0.05rem 0 #00000033,
        0 0.1333rem 0.05rem 0 #0000000f,
        0 0.2167rem 0.05rem 0 #00000003;
    flex-direction: column;
}
.dialog-box-header {
    width: 9.4667rem;
    height: 1.0933rem;
    border-radius: 0.4rem 0.4rem 0 0;
    padding: 0.16rem 0.48rem;
    box-sizing: border-box;
    box-shadow: 0 4px 8px 4px #00000040;
    color: #fff;
    font-size: 0.4267rem;
    line-height: 1.0933rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #4933ad, #392786);
}
.dialog-box-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dialog-box-content {
    padding: 0.8rem;
    box-sizing: border-box;
    height: 3.2rem;
    font-size: 0.3467rem;
    color: #c0c2db;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dialog-box-button {
    display: flex;
    justify-content: space-around;
}
.dialog-box-btn {
    width: 4.1067rem;
    height: 1.0667rem;
    border-radius: 0.2133rem;
    text-align: center;
    font-size: 0.4267rem;
    line-height: 1.0667rem;
    color: #fff;
    box-shadow:
        0 1px 1px 0 #00000063,
        0 2px 2px 0 #00000057,
        0 5px 3px 0 #00000033,
        0 8px 3px 0 #0000000f,
        0 13px 3px 0 #00000003;
    transition: all 0.1s;
}
.cancel {
    background: #4a34ae;
}
.confirm {
    background: linear-gradient(0deg, #16f, #422fff), linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.2) 100%);
}
.landscape {
    transform: rotate(90deg);
}
