:root {
    --btn-full-size: 0.5rem;
}
html {
    -ms-touch-action: none;
    width: 100%;
    height: 100%;
}
body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: default;
    color: #888;
    background-color: #000;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
}
#game-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}
#GameApp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#Cocos2dGameContainer {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}
#Cocos2dGameContainer iframe {
    background-color: #000 !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 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #000;
    z-index: 999999;
}
#logo-player {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    width: 2.9rem;
    height: 2.9rem;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-size: 14.5rem 11.6rem;
    animation: logo-play 1.27s steps(1) infinite;
}
@keyframes logo-play {
    0% {
        background-position: 0rem 0rem;
    }
    5.26% {
        background-position: -2.9rem 0rem;
    }
    10.53% {
        background-position: -5.8rem 0rem;
    }
    15.79% {
        background-position: -8.7rem 0rem;
    }
    21.05% {
        background-position: -11.6rem 0rem;
    }

    26.32% {
        background-position: 0rem -2.9rem;
    }
    31.58% {
        background-position: -2.9rem -2.9rem;
    }
    36.84% {
        background-position: -5.8rem -2.9rem;
    }
    42.11% {
        background-position: -8.7rem -2.9rem;
    }
    47.37% {
        background-position: -11.6rem -2.9rem;
    }

    52.63% {
        background-position: 0rem -5.8rem;
    }
    57.89% {
        background-position: -2.9rem -5.8rem;
    }
    63.16% {
        background-position: -5.8rem -5.8rem;
    }
    68.42% {
        background-position: -8.7rem -5.8rem;
    }
    73.68% {
        background-position: -11.6rem -5.8rem;
    }

    78.95% {
        background-position: 0rem -8.7rem;
    }
    84.21% {
        background-position: -2.9rem -8.7rem;
    }
    89.47% {
        background-position: -5.8rem -8.7rem;
    }
    94.74% {
        background-position: -8.7rem -8.7rem;
    }
    100% {
        background-position: -8.7rem -8.7rem;
    }
}
#player-container {
    width: 7.5rem;
}
#mask {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 200%;
    visibility: visible;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
}
#mask-content {
    position: fixed;
    top: 0;
    bottom: 0;
}
#click-full {
    width: 100%;
    height: 100%;
}
#btn-close {
    width: 0.66rem;
    height: 0.66rem;
    position: absolute;
    left: 50%;
    translate: -50%;
    background-image: url(images/btn_close.png);
    background-repeat: no-repeat;
    background-size: 0.66rem 0.66rem;
}
.hand {
    position: absolute;
    background-image: url(images/tour_hand.png);
    background-repeat: no-repeat;
    background-size: 1.22rem 1.67rem;
    width: 1.25rem;
    height: 1.67rem;
    transform-origin: right bottom;
}
.arrow {
    position: absolute;
    width: 1.23rem;
    height: 4.04rem;
    left: 50%;
    transform-origin: center bottom;
    translate: -50%;
    background-image: url(images/tour_arrow.png);
    background-repeat: no-repeat;
    background-size: 1.23rem 4.04rem;
}
@keyframes arrow-zoom {
    0% {
        transform: scale(1, 0);
    }
    23% {
        transform: scale(1, 0);
    }
    100% {
        transform: scale(1);
    }
}
.hand-pot {
    position: absolute;
    background-image: url(images/tour_hand_pot.png);
    background-repeat: no-repeat;
    background-size: 1.09rem 1.09rem;
    width: 1.09rem;
    height: 1.09rem;
}
@keyframes arrow-hand-pot {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    10% {
        transform: scale(0);
        opacity: 1;
    }
    20% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
#btn-full {
    top: 0.38rem;
    right: 1.17rem;
    width: var(--btn-full-size);
    height: var(--btn-full-size);
    position: absolute;
    background-image: url(images/btn_full.png);
    background-repeat: no-repeat;
    background-size: var(--btn-full-size) var(--btn-full-size);
    animation: btn-full-blink 2s infinite;
}
.btn-full-landscape {
    top: 0.25rem !important;
    right: 1.37rem !important;
}
.btn-full-rotated {
    top: auto !important;
    right: 0.25rem !important;
    bottom: 1.4rem;
}
#btn-full-area {
    top: 0.3rem;
    right: 1.065rem;
    width: 0.75rem;
    height: 0.75rem;
    position: absolute;
}
.btn-full-area-landscape {
    top: 0.13rem !important;
    right: 1.25rem !important;
}
.btn-full-area-rotated {
    top: auto !important;
    right: 0.12rem !important;
    bottom: 1.24rem;
}
#click-hand-pot {
    top: 0.13rem;
    right: 0.86rem;
    animation: click-hand-pot 2s infinite;
}
.click-hand-pot-landscape {
    top: 0rem !important;
    right: 1.08rem !important;
}
.click-hand-pot-rotated {
    top: auto !important;
    right: -0.05rem !important;
    bottom: 1.1rem;
}
#click-hand {
    top: 9rem;
    right: calc(50% - 1.05rem);
    animation: click-hand 2s infinite;
}
@keyframes click-hand {
    0% {
        top: 9rem;
        right: calc(50% - 1.05rem);
        transform: rotate(0deg);
        opacity: 1;
    }
    20% {
        top: 0.45rem;
        right: 0.41rem;
        transform: rotate(0deg);
    }
    35% {
        transform: rotate(30deg);
    }
    45% {
        transform: rotate(0deg);
        right: 0.41rem;
    }
    55% {
        transform: rotate(10deg);
        opacity: 1;
    }
    80% {
        transform: rotate(60deg);
        opacity: 0;
    }
    100% {
        top: 0.45rem;
        right: 0.41rem;
        transform: rotate(60deg);
        right: -1.5rem;
        opacity: 0;
    }
}
.click-hand-landscape {
    top: 3rem;
    animation: click-hand-landscape 2s infinite !important;
}
@keyframes click-hand-landscape {
    0% {
        top: 3rem;
        transform: rotate(0deg);
        opacity: 1;
    }
    20% {
        top: 0.3rem;
        right: 0.48rem;
        transform: rotate(0deg);
    }
    35% {
        transform: rotate(30deg);
    }
    45% {
        top: 0.3rem;
        right: 0.48rem;
        transform: rotate(0deg);
        opacity: 1;
    }
    80% {
        top: 0.3rem;
        right: -1rem;
        transform: rotate(60deg);
        opacity: 0;
    }
    100% {
        transform: rotate(60deg);
        opacity: 0;
    }
}
.click-hand-rotated {
    top: auto !important;
    bottom: 3rem;
    animation: click-hand-rotated 2s infinite !important;
}
@keyframes click-hand-rotated {
    0% {
        bottom: 3rem;
        transform: rotate(0deg);
        opacity: 1;
    }
    20% {
        bottom: 0.1rem;
        right: -0.5rem;
        transform: rotate(0deg);
    }
    35% {
        transform: rotate(30deg);
    }
    45% {
        bottom: 0.1rem;
        right: -0.5rem;
        transform: rotate(0deg);
        opacity: 1;
    }
    80% {
        bottom: 0.1rem;
        right: -2rem;
        transform: rotate(60deg);
        opacity: 0;
    }
    100% {
        transform: rotate(60deg);
        opacity: 0;
    }
}
@keyframes btn-full-blink {
    0%,
    20% {
        opacity: 0;
    }
    10%,
    40% {
        opacity: 1;
    }
}
@keyframes click-hand-pot {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    45% {
        transform: scale(0);
    }
    55% {
        transform: scale(1);
        opacity: 1;
    }
    70%,
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

#label-full-tip {
    color: #fff;
    font-size: 0.28rem;
    position: absolute;
    left: 50%;
    translate: -50%;
    width: 80%;
}
#message-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.message-box-content {
    position: relative;
    width: 6.5rem;
    height: 4rem;
    background-color: #fff;
    background-image: url(images/messagebox/windosw_color_bg.png);
    background-repeat: no-repeat;
    background-size: 6.5rem 4rem;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#message-box-text {
    color: #d42525;
    width: 4.7rem;
    font-size: 0.28rem;
    line-height: 0.4rem;
    text-align: center;
}
.message-box-btn {
    position: absolute;
    width: 6.5rem;
    height: 0.88rem;
    bottom: 0.2rem;
    display: flex;
    justify-content: center;
}
#message-box-btn-confirm {
    width: 2.68rem;
    height: 0.88rem;
    background-image: url(images/messagebox/btn_confirm.png);
    background-repeat: no-repeat;
    background-size: 2.68rem 0.88rem;
    display: none;
    justify-content: center;
    color: #fff;
    font-size: 0.28rem;
    line-height: 0.88rem;
}
#arrow-hand {
    left: calc(50% + 0.26rem);
}
.arrow-zoom {
    animation: arrow-zoom 2s infinite;
}
.arrow-hand-move {
    animation: arrow-hand-move 2s infinite;
}
.arrow-hand-pot {
    animation: arrow-hand-pot 2s infinite;
}

/* 上滑全屏提示 */
@media (orientation: portrait) {
    #arrow-hand-pot {
        bottom: 3.3rem;
        left: 50%;
        translate: -50%;
    }

    #arrow {
        bottom: 4.125rem;
    }
    #btn-close {
        bottom: 2rem;
    }
    #label-full-tip {
        bottom: 1.2rem;
    }
    @keyframes arrow-hand-move {
        0% {
            bottom: 2.85rem;
            transform: rotate(30deg);
        }
        20% {
            transform: rotate(-20deg);
            bottom: 2.85rem;
        }
        100% {
            transform: rotate(-20deg);
            bottom: 6.975rem;
        }
    }
}

@media (orientation: landscape) {
    #arrow-hand-pot {
        bottom: 2.2rem;
        left: 50%;
        translate: -50%;
        animation: arrow-hand-pot 2s infinite;
    }
    #arrow {
        bottom: 3.025rem;
    }
    #btn-close {
        bottom: 1.6rem;
    }
    #label-full-tip {
        bottom: 0.8rem;
    }
    @keyframes arrow-hand-move {
        0% {
            bottom: 1.75rem;
            transform: rotate(30deg);
        }
        20% {
            transform: rotate(-20deg);
            bottom: 1.75rem;
        }
        100% {
            transform: rotate(-20deg);
            bottom: 5.875rem;
        }
    }
}

.debug-console {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999999;
    width: 1rem;
    height: 1rem;
}

.page-spy-logo {
    opacity: 0.5;
    width: 1rem !important;
    height: 1rem !important;
}

.page-spy-logo img {
    width: 0.7rem !important;
    height: 0.7rem !important;
}
