#game_layer{
    background-color: rgb(12,186,159);
}

#game_layer:after{
    content: "歌曲结束时将国旗升到顶端";
    display: block;
    position: absolute;
    padding: 8px;
    font-size: 26px;
    text-align: center;
    width: 170px;
    top: 18px;
    right: 10px;
    color: white;
    border-radius: 8px;
    border: 1px solid white;
}

#game_layer>.gl-gameover{
    position: absolute;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    -webkit-box-pack:center;
    -webkit-box-align:center;
    visibility: hidden;
}
#game_layer>.gl-gameover>i{
    position: relative;
    display: block;
    width: 640px;
    height: 160px;
}
#scene #game_layer>.gl-gameover-typeB>i:before,#scene #game_layer>.gl-gameover-typeB>i:after{
    background-position: 0 -160px;
}
#game_layer>.gl-gameover>i:before,#game_layer>.gl-gameover>i:after{
    content: "";
    width: 100%;
    height: 100%;
    background:url(../img/gl/gameover.png);
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

#game_layer>.gl-gameover-show{
    visibility: visible;
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    background-color: rgba(0,0,0,0.2);
}
#game_layer>.gl-gameover-show>i:before,#game_layer>.gl-gameover-show>i:after{
    animation: gl-gameover-act 0.6s;
    -webkit-animation: gl-gameover-act 0.6s;
}
#game_layer>.gl-gameover>i:after{
    animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
}
@keyframes gl-gameover-act{
    from{
        opacity:0;
        transform: scale(3);
    }
    
}
@-webkit-keyframes gl-gameover-act{
    from{
        opacity:0;
        -webkit-transform: scale(3);
    }
}

#game_layer>.gl-scene{
    position: absolute;
    top: 116px;
    right: 70px;
    bottom: 14px;
    left: 20px;
    /*background: url(../img/gl/bg.png) left bottom no-repeat;*/
    background: -webkit-linear-gradient(-110deg,rgb(53,129,255),rgb(155,209,255));
    background-size: 100% auto;
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
}
#game_layer>.gl-scene>.gl-sum{
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    visibility: hidden;
}

#game_layer>.gl-scene>.gl-sum-show{
    transform: scale(1);
    -webkit-transform: scale(1);
    visibility: visible;
}
#game_layer>.gl-scene>.gl-sum:before{
    content: "";
    position: absolute;
    right: -100px;
    top: -60px;
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgb(255,255,111);
}

#game_layer>.gl-scene>.gl-sum:after{
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    top: -60px;
    right: -100px;
    display: block;
    border-radius: 50%;
    transform: scale(2.6);
    background: radial-gradient(rgb(255,255,111), rgba(255,255,111,0) 40%) ;
    background: -webkit-radial-gradient(rgb(255,255,111) 0%, rgba(255,255,111,0) 40%);
    animation: gl-sum-act 4s infinite linear;
    -webkit-animation:  gl-sum-act 4s infinite linear;
}
@keyframes gl-sum-act{
    50%{
        -webkit-transform: scale(3);
    }
}
@-webkit-keyframes gl-sum-act{
    50%{
        -webkit-transform: scale(3);
    }
}

#game_layer>.gl-scene>.gl-space{
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 300%;
}
#game_layer>.gl-psb{
    display: block;
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 40px;
    height: 920px; 
    max-height: 70%;
}
#game_layer>.gl-psb:before{
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: url(../img/gl/psbbg.png) no-repeat;
    background-size: 100% 100%;
}
#game_layer>.gl-psb:after{
    content: "";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border: 3px solid white;
    border-radius: 50%;
    top: -30px;
    left: -3px;
}
#game_layer>.gl-psb>i{
    display: block;
    position: absolute;
    width: 24px;
    height: 20px;
    left: 5px;
    background: url(../img/gl/fodder.png) -64px -18px no-repeat;
}


#game_layer>.gl-timer{
    position: absolute;
    top: 48px;
    left: 64px;
    height: 20px;
    border: solid white;
    border-width: 3px 3px 3px 0;
    width: 300px;
    border-radius: 0 13px 13px 0;
}
#game_layer>.gl-timer:after{
    content: "";
    display: block;
    position: absolute;
    width: 54px;
    height: 54px;
    top: -18px;
    left: -50px;
    background-image: url(../img/gl/fodder.png);
}
#game_layer>.gl-timer>i{
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    border-radius: 0 10px 10px 0;
    background-color: rgb(214,234,59);
    background-size: 20px 100%;
    background-image: linear-gradient(60deg,transparent 12px,rgb(231,250,99) 12px,rgb(231,250,99) 18px,transparent 18px);
    background-image: -webkit-linear-gradient(30deg,transparent 12px,rgb(231,250,99) 12px,rgb(231,250,99) 18px,transparent 18px);
    animation: gt-act 1s infinite linear;
    -webkit-animation: gt-act 1s infinite linear;
}
#game_layer>.gl-timer>var{
    display: block;
    position: absolute;
    top: 0px;
    right: -28px;
    width: 20px;
    font-size: 24px;
    line-height: 24px;
    white-space: nowrap;
    color: white;
    font-style: normal;
}
@keyframes gt-act{
    to{
        background-position: 40px 0;
    }
}
@-webkit-keyframes gt-act{
    to{
        background-position: 40px 0;
    }
}
#game_layer>.gl-scene>.gl-near,#game_layer>.gl-scene>.gl-dist{
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gl-near>.gl-pigeon,.gl-near>.gl-crow{
    display: block;
    position: absolute;
    width: 120px;
    height: 118px;
    left: 0;
    top: 0;
    /*left: -118px;*/
    overflow:  hidden;
    pointer-events: auto;
    z-index: 1;
}
#scene .gl-near>.gl-brid-blink:after{
    animation: gl-brid-blink-act 0.5s;
    -webkit-animation: gl-brid-blink-act 0.5s;
}
@keyframes gl-brid-blink-act{
    25%{
        opacity: 0.6;
    }50%{
        opacity: 1;
    }75%{
        opacity: 0.6;
    }
}
@-webkit-keyframes gl-brid-blink-act{
    25%{
        opacity: 0.6;
    }50%{
        opacity: 1;
    }75%{
        opacity: 0.6;
    }
}

.gl-near>.gl-pigeon:after,.gl-near>.gl-crow:after{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 240px;
    background: url(../img/gl/brid.png) no-repeat;
    animation: gl-brid-act 0.5s infinite;
    -webkit-animation: gl-brid-act 0.5s infinite;
}
.gl-near>.gl-pigeon:after{
    top: -120px;
}
@keyframes gl-brid-act{
    33%{
        background-position: 0 0;
    }33.005%{
        background-position: -120px 0;
    }66%{
        background-position: -120px 0;
    }66.005%{
        background-position: -240px 0;
    }99%{
        background-position: -240px 0;
    }99.005%{
        background-position: 0 0;
    }
}
@-webkit-keyframes gl-brid-act{
    33%{
        background-position: 0 0;
    }33.005%{
        background-position: -120px 0;
    }66%{
        background-position: -120px 0;
    }66.005%{
        background-position: -240px 0;
    }99%{
        background-position: -240px 0;
    }99.005%{
        background-position: 0 0;
    }
}
.gl-space>.gl-poles{
    display: block;
    position: absolute;
    left: 80px;
    bottom:100px;
    font-size: 0;
}
.gl-space>.gl-poles>li{
    display: block;
    background-image: url(../img/gl/flagpole.png);
    width: 88px;
}

.gl-scene>.gl-flag{
    display: block;
    position: absolute;
    left: 150px;
    bottom: 134px;
    width: 332px;
    height: 300px;
}
.gl-scene>.gl-flag>i{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../img/gl/flag.png);
}
.gl-scene>.gl-flag-blink{
    animation: gl-flag-blink-act 0.6s infinite;
    -webkit-animation: gl-flag-blink-act 0.6s infinite;
}
@keyframes gl-flag-blink-act{
    25%{
        opacity: 0.6;
    }50%{
        opacity: 1;
    }75%{
        opacity: 0.6;
    }
}
@-webkit-keyframes gl-flag-blink-act{
    25%{
        opacity: 0.6;
    }50%{
        opacity: 1;
    }75%{
        opacity: 0.6;
    }
}

.gl-scene>.gl-flag-action>i{
    animation: gl-flag-act 0.8s infinite linear;
    -webkit-animation: gl-flag-act 0.8s infinite linear;
    background-position: -664px 0;
}
@keyframes gl-flag-act{
    16%{
        background-position: -664px 0;
    }16.005%{
        background-position: -996px 0;
    }33%{
        background-position: -996px 0;
    }33.005%{
        background-position: -1328px 0;
    }50%{
        background-position: -1328px 0;
    }50.005%{
        background-position: -1660px 0;
    }66%{
        background-position: -1660px 0;
    }66.005%{
        background-position: -1992px 0;
    }83%{
        background-position: -1992px 0;
    }83.005%{
        background-position: -2324px 0;
    }99.99%{
        background-position: -2324px 0;
    }99.995%{
        background-position: -664px 0;
    }
}
@-webkit-keyframes gl-flag-act{
    16%{
        background-position: -664px 0;
    }16.005%{
        background-position: -996px 0;
    }33%{
        background-position: -996px 0;
    }33.005%{
        background-position: -1328px 0;
    }50%{
        background-position: -1328px 0;
    }50.005%{
        background-position: -1660px 0;
    }66%{
        background-position: -1660px 0;
    }66.005%{
        background-position: -1992px 0;
    }83%{
        background-position: -1992px 0;
    }83.005%{
        background-position: -2324px 0;
    }99.99%{
        background-position: -2324px 0;
    }99.995%{
        background-position: -664px 0;
    }
}






