body {
    background: #222;
    padding: 0;
    margin: 0;
    font: 20px/1 Arial, "Simsun";
    overflow: hidden
}

#wrap {
    width: 640px;
    position: absolute;
    top: -1000%;
    left: 50%;
    margin: -480px 0 0 -320px;
    background: url(../image/wrap.jpg) #234997;
    background-size: 100% 100%
}

#load {
    width: 240px;
    height: 240px;
    float: left;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -120px 0 0 -120px
}

#load p {
    position: absolute;
    bottom: 0;
    left: -25%;
    width: 150%;
    white-space: nowrap;
    display: none
}

#load .p266 {
    position: relative;
    top: -200px;
    display: block;
    width: 146px;
    height: 104px;
    margin: 0 auto;
    border-radius: 15px
}

#load #percent {
    position: relative;
    top: 68px;
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
    font-family: fantasy;
    -webkit-transition: all 1s;
    transition: all 1s
}

.grab {
    position: absolute;
    top: -1000%;
    left: 0
}

.spinner {
    width: 60px;
    height: 60px;
    -webkit-animation: rotate 1.4s infinite ease-in-out, background 1.4s infinite ease-in-out alternate;
    animation: rotate 1.4s infinite ease-in-out, background 1.4s infinite ease-in-out alternate;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -30px 0 0 -30px
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(0deg)
    }
    to {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-180deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-180deg)
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(0deg)
    }
    to {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-180deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-180deg)
    }
}

@-webkit-keyframes background {
    0% {
        background-color: #e33935
    }
    50% {
        background-color: #30addd
    }
    to {
        background-color: #66b851
    }
}

@keyframes background {
    0% {
        background-color: #e33935
    }
    50% {
        background-color: #30addd
    }
    to {
        background-color: #66b851
    }
}

.l {
    float: left
}

.r {
    float: right
}

#wrap {
    overflow: hidden
}

#wrap .pTop {
    height: 26px
}

.clear {
    clear: both
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

p {
    margin: 0
}

b {
    display: block;
    width: 12px;
    height: 12px;
    padding: 2px;
    border: 2px solid #879372;
    overflow: hidden;
    margin: 0 2px 2px 0;
    float: left
}

b i {
    display: block;
    width: 12px;
    height: 12px;
    background: #879372;
    overflow: hidden
}

b.c {
    border-color: #000
}

b.c i {
    background: #000
}

b.d {
    border-color: #560000
}

b.d i {
    background: #560000
}

#rect {
    width: 490px;
    padding: 41px 0 75px;
    margin: 0 auto;
    background-image: url(../image/screen.png);
    position: relative;
    -webkit-transition: -webkit-transform .1s;
    transition: transform .1s
}

#rect #b_rank {
    position: absolute;
    top: 108px;
    left: -59px;
    width: 58px;
    height: 58px;
    display: block;
    background-position: -200px -700px
}

#rect #b_more {
    position: absolute;
    top: 195px;
    left: -59px;
    width: 58px;
    height: 58px;
    display: block;
    background-position: -300px -700px
}

#rect .w_prize {
    position: absolute;
    top: 120px;
    right: -69px;
    color: #fff;
    font-size: 16px
}

.rect-fall {
    -webkit-transform: translateY(5px);
    transform: translateY(5px)
}

.qr {
    position: absolute;
    right: -380px;
    bottom: 54px
}

.keyboard {
    position: absolute;
    left: -503px;
    bottom: 54px
}

.screenBorder {
    width: 380px;
    border: solid 0;
    border-color: #987f0f #fae36c #fae36c #987f0f;
    margin: 0 auto;
    border-radius: 4px;
    position: relative
}

#screen {
    width: 360px;
    margin: 0 auto;
    background: #9ead86;
    padding: 8px;
    border: 2px solid #2a271c;
    box-shadow: 0 0 11px #000 inset
}

#matrix {
    border: 2px solid #000;
    padding: 3px 1px 1px 3px;
    width: 220px
}

#matrix p {
    width: 220px;
    height: 22px
}

#next div {
    height: 22px;
    width: 88px;
    float: right
}

.state {
    width: 108px;
    position: absolute;
    top: 0;
    right: 15px
}

.state p {
    line-height: 47px;
    height: 47px;
    padding: 10px 0 0;
    white-space: nowrap;
    clear: both
}

.state .bottom {
    position: absolute;
    width: 114px;
    top: 426px;
    left: 0
}

#pause {
    width: 20px;
    height: 18px;
    background-position: -100px -475px;
    position: absolute;
    top: 3px;
    left: 18px
}

#pause.c {
    background-position: -75px -475px
}

#sounds {
    width: 25px;
    height: 21px;
    background-position: -175px -475px;
    position: absolute;
    top: 2px;
    left: -12px
}

#sounds.c {
    background-position: -150px -475px
}

.number {
    height: 24px;
    font-size: 14px;
    float: right
}

.number span {
    float: left;
    width: 14px;
    height: 24px
}

.number .s_0 {
    background-position: -75px -425px
}

.number .s_1 {
    background-position: -89px -425px
}

.number .s_2 {
    background-position: -103px -425px
}

.number .s_3 {
    background-position: -117px -425px
}

.number .s_4 {
    background-position: -131px -425px
}

.number .s_5 {
    background-position: -145px -425px
}

.number .s_6 {
    background-position: -159px -425px
}

.number .s_7 {
    background-position: -173px -425px
}

.number .s_8 {
    background-position: -187px -425px
}

.number .s_9 {
    background-position: -201px -425px
}

.number .s_n {
    background-position: -215px -425px
}

.number .s_d {
    background-position: -243px -425px
}

.number .s_d_c {
    background-position: -229px -425px
}

#logo {
    width: 224px;
    height: 200px;
    position: absolute;
    top: 100px;
    left: 12px;
    text-align: center;
    overflow: hidden;
    display: none
}

#logo p {
    position: absolute;
    width: 100%;
    line-height: 1.2;
    top: 100px;
    left: 0;
    font-family: initial
}

#logo p.white {
    top: 101px;
    text-indent: 1px;
    color: #9ead86
}

#logo #dragon {
    width: 80px;
    height: 86px;
    margin: 0 auto;
    background-position: 0 -500px
}

#logo #dragon.r1 {
    background-position: 0 -500px
}

#logo #dragon.r2 {
    background-position: -100px -500px
}

#logo #dragon.r3 {
    background-position: -200px -500px
}

#logo #dragon.r4 {
    background-position: -300px -500px
}

#logo #dragon.l1 {
    background-position: 0 -600px
}

#logo #dragon.l2 {
    background-position: -100px -600px
}

#logo #dragon.l3 {
    background-position: -200px -600px
}

#logo #dragon.l4 {
    background-position: -300px -600px
}

#more_game .close, #rect a, #rank .world .info span, .direction .btn, .direction .m, .direction .rotate, .btn_s, .number span, #dragon, #sounds, #pause, #share_word .icon_share {
    overflow: hidden;
    background-image: url(../image/icon.png?v=2)
}

#control {
    width: 580px;
    height: 330px;
    margin: 20px auto 0
}

.direction {
    position: relative
}

.direction .btn {
    width: 107px;
    height: 108px;
    background-position: 0 -300px;
    position: absolute;
    padding:0
}

.btn_s {
    width: 58px;
    height: 58px;
    background-position: -200px -200px;
    position: absolute;
    top: 0
}

#b_sounds {
    left: 344px
}

#b_pause {
    left: 424px
}

#b_reset {
    left: 504px;
    background-position: 0 -200px
}

#b_prize {
    background-position: 0 -200px;
    top: 63px;
    right: -64px
}

.direction .btn div {
    display: block;
    width: 100px;
    height: 100px
}

.direction .rotate {
    width: 164px;
    height: 164px;
    position: absolute;
    top: 90px;
    left: 370px
}

.direction #b_left {
    left: 0;
    top: 87px
}

.direction #b_right {
    left: 166px;
    top: 87px
}

.direction #b_up {
    left: 83px;
    top: 0
}

.direction #b_bottom {
    left: 83px;
    top: 174px
}

.direction .m {
    position: absolute;
    top: 110px;
    left: 106px;
    background-position: 0 -425px;
    width: 54px;
    height: 54px
}

.direction span {
    color: #fff;
    position: absolute;
    white-space: nowrap
}

.direction span.small {
    font-size: 16px
}

#rank {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 28px;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
    background: #222;
    background: rgba(0, 0, 0, .9)
}

#rank span, #rank a {
    display: inline-block;
    text-decoration: none
}

#rank h3 {
    font-size: 26px;
    line-height: 60px;
    font-weight: 400;
    width: 87.5%;
    margin: 30px auto 15px;
    position: relative
}

#rank h3 img {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 0;
    left: 0
}

#rank h3 .name {
    position: absolute;
    top: 0;
    left: 67px;
    color: #fff
}

#rank h2 {
    font-size: 26px;
    background: #e33935;
    line-height: 60px;
    font-weight: 400;
    width: 87.5%;
    margin: 0 auto;
    border-radius: 10px 10px 0 0
}

#rank table {
    width: 80%;
    line-height: 54px;
    text-align: center;
    margin: 0 auto;
    word-break: break-all
}

#rank table.local td {
    padding: 35px 0;
    line-height: 40px;
    border-bottom: solid 1px #fff;
    vertical-align: middle
}

#rank table.local .num {
    width: 25%
}

#rank table.local .num span {
    border-radius: 50%;
    width: 50px
}

#rank table.local .L3 .num span {
    background: #c1a40e
}

#rank table.local .L2 .num span {
    background: #c16b0e
}

#rank table.local .L1 .num span {
    background: #c1450e
}

#rank table.local .name {
    width: 49%;
    text-align: left
}

#rank table.local .name span {
    white-space: nowrap;
    width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left
}

#rank table.local span.cur {
    color: red
}

#rank table.local .score {
    width: 26%;
    text-align: right
}

#rank table.local .score span {
    padding-right: 20px
}

#rank table.c {
    margin: 29px auto 0;
    width: 87.5%
}

#rank table.c td {
    border-bottom: 0
}

#rank table.c span, #rank table.c a {
    background: #fff;
    color: #222;
    padding: 0 20px;
    border-radius: 17px;
    line-height: 60px
}

#rank table.c .c {
    padding: 0 40px
}

#rank table.c .touch {
    background: #efcc19
}

#rank table.c .close {
    padding: 0;
    width: 100px;
    height: 100px;
    background: url(../image/close.png);
    background-size: 100% 100%
}

#rank .world {
    width: 83.5%;
    padding: 0 2%;
    margin: 0 auto;
    font-size: 26px;
    color: #111;
    background: #fff;
    line-height: 50px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    border-radius: 0 0 10px 10px
}

#rank .world * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

#rank .world .tr {
    border-bottom: 1px solid #fff;
    background: #f9f9f9;
    position: relative
}

#rank .world .say {
    text-align: center;
    padding: .5em;
    margin-bottom: .5em;
    color: #472701;
    line-height: 1.2;
    white-space: normal
}

#rank .world .tr:nth-child(2n) {
    background: #e5e5e5
}

#rank .world .rk {
    float: left;
    padding: 5px 0;
    color: #c52a28;
    text-align: center;
    width: 60px
}

#rank .world .avatar {
    float: left;
    padding: 5px 0;
    height: 50px
}

#rank .world .avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff
}

#rank .world .info {
    float: left;
    padding: 5px 0 5px 10px;
    color: #472701;
    width: 300px;
    text-align: left
}

#rank .world .info span {
    display: inline-block;
    height: 26px;
    width: 26px;
    position: relative;
    top: 4px;
    margin: 0 0 0 13px
}

#rank .world .info span.man {
    background-position: -325px -425px;
    background-repeat: no-repeat
}

#rank .world .info span.woman {
    width: 25px;
    background-position: -300px -425px;
    background-repeat: no-repeat
}

#rank .world .score {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px 5px 0;
    color: #000;
    text-align: right;
    width: 100px
}

.share_weixin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../image/share.png) no-repeat rgba(0, 0, 0, .901961)
}

#share_word {
    width: 100%;
    height: 125px;
    position: absolute;
    top: -125px;
    left: 0;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 30px;
    line-height: 48px;
    z-index: 1
}

#share_word p {
    padding: 15px 94px 0 30px;
    height: 96px;
    overflow: hidden;
    word-break: break-all;
    letter-spacing: -1px
}

#share_word .icon_share {
    display: block;
    width: 110px;
    height: 100px;
    position: absolute;
    top: 0;
    right: 0;
    background-position: 0 -700px
}

.alert_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100
}

.alert {
    z-index: 9999;
    border-radius: 10px;
    position: fixed;
    max-width: 500px;
    min-width: 300px;
    word-wrap: break-word;
    background: rgba(0, 0, 0, .76);
    text-align: center;
    opacity: 0;
    -webkit-transition: -webkit-transform .1s;
    -webkit-transform: scale(.7);
    -webkit-transform-origin: center center;
    -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, .5)
}

.alert p {
    padding: 40px 20px;
    line-height: 1.2;
    font-size: 24px;
    color: #fff
}

.alert p span {
    color: red
}

.alert-ajaxing p {
    -webkit-animation: ajaxing 1.4s infinite ease-in-out;
    animation: ajaxing 1.4s infinite ease-in-out
}

.alert .btn {
    padding: 40px 20px;
    width: 460px
}

.alert .btn a {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    border-radius: 8px;
    color: #111;
    background: #fff;
    padding: 0 1em;
    cursor: pointer
}

#notice {
    display: none;
    position: absolute;
    overflow: hidden;
    left: -18px;
    top: 91px;
    background: #d42e2c;
    color: #fff;
    padding: 3px;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    line-height: 1em;
    text-align: center;
    box-shadow: 0 0 1px #000 inset
}

@-webkit-keyframes ajaxing {
    0% {
        opacity: 1
    }
    50% {
        opacity: .5
    }
    to {
        opacity: 1
    }
}

@keyframes ajaxing {
    0% {
        opacity: 1
    }
    50% {
        opacity: .5
    }
    to {
        opacity: 1
    }
}

#main {
    position: relative;
    overflow: hidden
}

#more_game {
    display: none;
    position: absolute;
    height: 90%;
    top: 5%;
    left: 0;
    width: 510px;
    overflow: hidden
}

#more_game .cons {
    position: absolute;
    width: 460px;
    height: 100%;
    background: #fff;
    background: rgba(255, 255, 255, .93);
    border-radius: 0 40px 40px 0;
    border: #333 solid;
    border-color: rgba(0, 0, 0, .2);
    border-width: 5px 5px 5px 0;
    left: -510px
}

#more_game .tit {
    color: #fc8403;
    font-size: 48px;
    text-align: center;
    line-height: 100px
}

#more_game .game_list {
    width: 435px;
    margin: 0 0 0 25px;
    height: 610px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

#more_game .item {
    float: left;
    width: 205px;
    text-align: center;
    border-bottom: 1px solid #999;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    padding-bottom: 25px;
    margin-bottom: 35px
}

#more_game .img {
    display: block;
    width: 114px;
    height: 114px;
    margin: 0 auto
}

#more_game .img img {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    border-radius: 10px
}

#more_game .name {
    color: #323232;
    font-size: 30px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    text-overflow: ellipsis;
    text-decoration: none;
    padding: 15px 0 0
}

#more_game .focus {
    width: 311px;
    height: 101px;
    display: block;
    font-size: 42px;
    color: #fff;
    background: #fa910f;
    border-radius: 30px;
    line-height: 101px;
    border-bottom: 6px solid #fc7905;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3) inset;
    position: absolute;
    bottom: 21px;
    left: 50%;
    margin-left: -155px
}

#more_game .close {
    width: 46px;
    height: 121px;
    background-position: 0 -800px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -61px;
    right: -45px
}