.inlineBlockSpacing { letter-spacing: -0.31em; *letter-spacing: normal; text-rendering: optimizespeed; }

#mtkContainer,
#mtkContainer * { box-sizing: border-box; }

.gameContent { position: relative; padding: 20px 0; overflow: visible;}
.gameBase { position: relative; margin: 0 auto; width: 768px; height: auto; min-height: 60vh; text-align: center;
}


.game-stage-1 { position: relative; width: 100%; height: 100%; }
.game-stage-1-text { position: absolute; top: 20%; left: 0; padding: 20px 0; width: 100%; background: rgba(90,15,15,0.75);
  z-index: 10; }
.game-stage-1-text p {margin-top: 20px; font: 30px/1.4 "微軟正黑體"; color: #fff; }


.game-stage-1-text-select ul li { display: inline-block; padding: 5px 20px; margin: 0 10px; font: 20px/1.4 "微軟正黑體"; 
color: #fff; text-align: center; background: #da3a3a; border-radius: 20px; transition: .5s; cursor: pointer; transition: .5s; }
.game-stage-1-text-select ul li:hover {transform: translateY(-10px);}
.game-stage-1-text-select ul li.off {color: #757575;  background: #555; }

.game-stage-1-text-startButton { margin:0 auto 0 auto; padding: 5px 0; width: 80% ;max-width: 300px;font: 30px/1.4 "微軟正黑體"; color: #757575; text-align: center;
 background: #555; border-radius: 20px; transition: .5s; }

.game-stage-2-text-shareButton { margin:0 auto 0 auto; padding: 5px 10px; width: 100% ;max-width: 300px;font: 17px/1.4 "微軟正黑體"; color: #fff;  background: #da3a3a; 
cursor: pointer; text-align: center;border-radius: 20px; transition: .5s; }

.game-stage-1-text-startButton.on { color: #fff;  background: #da3a3a; cursor: pointer }
.game-stage-1-text-startButton.on:hover { transform: translateY(-10px); }

.startPlay { position: relative; z-index: 10; }
.throw { position: relative; display: inline-block; width: 278px; height: 420px; z-index: 2;
  background: url(../images/throw-1.png) top left; }
.throw.right { transform: scaleX(-1); }

.throw.a { background: url(../images/throw-1.png) top left; }
.throw.right.a { background: url(../images/throw-2.png) top left; }

.throw.b { background: url(../images/throw-1.png) top left; }
.throw.right.b { background: url(../images/throw-1.png) top left; }

.throw.c { background: url(../images/throw-2.png) top left; }
.throw.right.c { background: url(../images/throw-2.png) top left; }



.throw.play {animation: hrowplay 1.2s steps(6) 1; animation-fill-mode:forwards ;-webkit-animation-fill-mode:forwards ; }
@keyframes hrowplay {
  0% { background-position:0 0px; }
  30% { background-position:0 0px; transform: rotate(-30deg) scale(1.4) ;  }
  100% { background-position: -1668px 0px; transform: scale(0.8) rotate(75deg) ; opacity: 1;}
 
}



.throw.right.play {animation: hrowplayR 1.2s steps(6) 1; animation-fill-mode:forwards ; -webkit-animation-fill-mode:forwards ; }
@keyframes hrowplayR {
  0% { background-position:0 0px;  }
  30% { background-position:0 0px; transform: scaleX(-1.4) scaleY(1.4)  }
  100% { background-position: -1668px 0px; transform: scaleX(-0.8) scaleY(0.8) ;opacity: 1; }  
}



.hands { position: absolute; top: 0; left: 0; width: 100%; height: 100%;  z-index: 1;
  letter-spacing: -0.31em; *letter-spacing: normal; text-rendering: optimizespeed;  }
.hands-hand { display: inline-block; width: 50%;  }
.hands-hand.right { transform: scaleX(-1); }

.hands-hand.play { animation: handplay 1.8s 1; animation-fill-mode:forwards ; }
@keyframes handplay {
  0% {  }
  40% {  transform: scale(1.1); opacity: 1;  }
  100% { transform: translateX(-100%) scale(0.5) rotate(-30deg) ; opacity: 0;} 
}


.hands-hand.right.play { animation: handplayR 1.8s 1; animation-fill-mode:forwards ; }
@keyframes handplayR {
  0% {  }
  40% {  transform: scaleX(-1.1) scaleY(1.1); opacity: 1;  }
  100% { transform: translateX(100%) scaleX(-0.5) scaleY(0.5) rotate(-30deg) ; opacity: 0;} 
}





.game-stage-2 { display:none ; position: absolute; top:0; left: 0; padding: 20px 0; width: 100%; height: auto;  background: rgba(235,196,145,0.75); z-index: 30; }
.game-stage-2-img { margin: 0 auto; margin-bottom: -100px; width: 100%; max-width: 350px; }
.game-stage-2-img img { width: 100%; }
.game-stage-2-text { position: relative; margin: 0 auto; padding: 10px; width: 90%; max-width: 800px; border-radius: 10px;  z-index: 1;
  background: rgba(255,255,255,0.8); }

.game-stage-2-text-infor { font:26px/1.4 "微軟正黑體"; text-align: center; color: #000;  }
.game-stage-2-text-gift { font:bold 18px/1.4 "微軟正黑體"; text-align: center; color: #000;  }
.game-stage-2-text-giftImg { margin: 10px auto; max-width: 200px; }
.game-stage-2-text-giftImg img { width: 100%; }

.game-stage-2-img-s { margin: 0 auto; width: 80%; max-width: 350px; }
.game-stage-2-img-s img { width: 100%; }

.game-stage-2-close { position: absolute; top:5px; right: 25%; width: 30px; height: 30px;  font:26px/30px "微軟正黑體"; text-align: center; color: #fff; border-radius: 99em; background:rgba(0,0,0,0.7); cursor: pointer; }



.game-stage-3 { display: none; position: absolute; top:10%; left: 0; padding: 8% 0 0 0; width: 100%; height: 70%; background:rgba(0,0,0,0.7); z-index: 30;}
.game-stage-3 p {  font:bold 30px/1.4 "微軟正黑體"; text-align: center; color: #fff; }

.gameBase-bg { position: absolute; top:0; left: 0; width: 100%; height: 100%;
  background: url(../images/bg-game.jpg) center center ; background-size: cover; border:3px solid #ebc491; border-radius: 20px; overflow: hidden; 
}






@media only screen and (max-width: 1000px) {
.gameBase {overflow: hidden;}
.game-stage-2-close {right: 5px; }
}

@media only screen and (max-width: 414px) {
.gameContent { margin: -20% 0; padding: 0;  }
.gameBase {    transform: translateX(-47.5vw) scale(0.46); }
.game-stage-1-text-select ul li,
.game-stage-1-text-startButton{  font: 32px/1.4 "微軟正黑體"; }
.game-stage-1-text p {font: 40px/1.4 "微軟正黑體";  }

.game-stage-2 { min-height: 100vh }
.game-stage-2-img { margin-bottom: -18%; max-width: 250px; }


.game-stage-3 { padding: 30% 0 0 0;}

}

@media only screen and (max-width: 375px) {
.gameBase { transform: translateX(-57.5vw) scale(0.42); }

}

@media only screen and (max-width: 360px) {
.gameBase { transform: translateX(-61.5vw) scale(0.4); }
}

@media only screen and (max-width: 320px) {
.gameBase { transform: translateX(-75vw) scale(0.38); }
}



