@import url(fonts/clear-sans.css);
html{
  
  position: relative;
}
html, body {
  margin: 0;
  padding: 0;
  background: #EEE4D4;
  color: #776e65;
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; }

body {
  margin: 80px 0; }
.mask{
  position: absolute;
  top:0;
  left: 0;
  bottom: -100px;
  right: 0;
  background-color: rgba(0,0,0,.3);
  z-index: 9;
}
.remove{
  display: none;
}
.show{
  display: block;
}
.heading:after {
  content: "";
  display: block;
  clear: both; }

h1.title {
  font-size: 80px;
  font-weight: 900;
  margin: 0;
  display: block;
  float: left; }

@-webkit-keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
@-moz-keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
@keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
.scores-container {
  float: right;
  text-align: right; }

  .score-container .score-addition, .best-container .score-addition {
    position: absolute;
    right: 30px;
    color: red;
    font-size: 25px;
    line-height: 25px;
    font-weight: 900;
    color: rgba(119, 110, 101, 0.9);
    z-index: 100;
    -webkit-animation: move-up 600ms ease-in;
    -moz-animation: move-up 600ms ease-in;
    animation: move-up 600ms ease-in;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both; }
p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.65; }

a {
  color: #776e65;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer; }

strong.important {
  text-transform: uppercase; }

hr {
  border: none;
  border-bottom: 1px solid #d8d4d0;
  margin-top: 20px;
  margin-bottom: 30px; }

.container {
  width: 500px;
  margin: 0 auto; }

@-webkit-keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
@-moz-keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
@keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
  .winter .game-container{
    background:#603D08FF ;
  }
  .feisheng .game-container{
    background-color: rgba(39, 47, 135, 0.30);
  }
  .huanzi .game-container{
    background: rgba(26, 41, 117, 0.40);
  }
  .huanzi .grid-cell{
    background-color: rgba(137,214,237,.8);
  }
  .winter .messages{
    background-color: #FFFFFFCC;
  }
  .keji .messages,.huanzi .messages{
    background-color: rgba(255, 255, 255, 0.80);
  }
  .keji .backspace-button{
    background: url('../meta/keji_back.png') no-repeat;
    background-size: cover;
  }
  .keji .btn_ref{
    background: url('../meta/keji_ref.png') no-repeat;
    background-size: cover;
  }
  .keji .btn_del{
    background: url('../meta/keji_del.png') no-repeat;
    background-size: cover;
  }
  .keji .score_result{
    background: url('../meta/keji2048_bj.png') no-repeat;
    background-size: cover;
  }
  .feisheng .score_result{
    background: url('../meta/feisheng_bg.png') no-repeat;
    background-size: cover;
  }
  .keji .score_result p{
    color:#fff;
  }
  .keji .topInfo p,.feisheng .topInfo p{
    color:#fff;
  }
  .qiubi .game-container{
    background:rgb(243,252,251) ;
  }
.game-container {
  margin-top: 40px;
  position: relative;
  padding: 15px;
  cursor: default;
  -webkit-touch-callout: none;
  -ms-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  background: #D8CDBC;
  border-radius: 6px;
  width: 500px;
  height: 500px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }
  .keji .game-container{
    background-color: rgba(166, 223, 255, 0.5);
  }
  .keji .tile.tile-2 .tile-inner{
    background: url('../meta/keji2_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-4 .tile-inner{
    background: url('../meta/keji4_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-8 .tile-inner{
    background: url('../meta/keji4_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-16 .tile-inner{
    background: url('../meta/keji16_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-32 .tile-inner{
    background: url('../meta/keji16_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-64 .tile-inner{
    background: url('../meta/keji16_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-128 .tile-inner{
    background: url('../meta/keji16_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-256 .tile-inner{
    background: url('../meta/keji16_bj.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .keji .tile.tile-512 .tile-inner{
    background: url('../meta/keji512_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .keji .tile.tile-1024 .tile-inner{
    background: url('../meta/keji2048_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  }
  .keji .tile.tile-2048 .tile-inner{
    background: url('../meta/keji2048_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  }


  .huanzi .tile.tile-2 .tile-inner{
    background: url('../meta/huanzi2.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-4 .tile-inner{
    background: url('../meta/huanzi2.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-8 .tile-inner{
    background: url('../meta/huanzi2.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-16 .tile-inner{
    background: url('../meta/huanzi2.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-32 .tile-inner{
    background: url('../meta/huanzi4.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-64 .tile-inner{
    background: url('../meta/huanzi4.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-128 .tile-inner{
    background: url('../meta/huanzi4.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-256 .tile-inner{
    background: url('../meta/huanzi4.png') no-repeat;
    background-size: cover;
    color:#FFDAF3FF;
  }
  .huanzi .tile.tile-512 .tile-inner{
    background: url('../meta/huanzi6.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .huanzi .tile.tile-1024 .tile-inner{
    background: url('../meta/huanzi6.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  }
  .huanzi .tile.tile-2048 .tile-inner{
    background: url('../meta/huanzi6.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  }

.feisheng .tile.tile-2 .tile-inner{
    background: url('../meta/feisheng2_bj.png') no-repeat;
    background-size: cover;
    color:#977849FF;
  }
 .feisheng .tile.tile-4 .tile-inner{
    background: url('../meta/feisheng2_bj.png') no-repeat;
    background-size: cover;
    color:#977849FF;
  }
  .feisheng .tile.tile-8 .tile-inner{
    background: url('../meta/feisheng8_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-16 .tile-inner{
    background: url('../meta/feisheng16_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-32 .tile-inner{
    background: url('../meta/feisheng32_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-64 .tile-inner{
    background: url('../meta/feisheng64_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-128 .tile-inner{
    background: url('../meta/feisheng128_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-256 .tile-inner{
    background: url('../meta/feisheng256_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 34px;
  }
  .feisheng .tile.tile-512 .tile-inner{
    background: url('../meta/feisheng512_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .feisheng .tile.tile-1024 .tile-inner{
    background: url('../meta/feisheng1024_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size:28px;
  }
  .feisheng .tile.tile-2048 .tile-inner{
    background: url('../meta/feisheng2048_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  } 




  .qiubi .tile.tile-2 .tile-inner{
    background: url('../meta/qiubi2_bj.png') no-repeat;
    background-size: cover;
    color:#977849FF;
  }
 .qiubi .tile.tile-4 .tile-inner{
    background: url('../meta/qiubi2_bj.png') no-repeat;
    background-size: cover;
    color:#977849FF;
  }
  .qiubi .tile.tile-8 .tile-inner{
    background: url('../meta/qiubi8_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-16 .tile-inner{
    background: url('../meta/qiubi16_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-32 .tile-inner{
    background: url('../meta/qiubi32_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-64 .tile-inner{
    background: url('../meta/qiubi64_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-128 .tile-inner{
    background: url('../meta/qiubi128_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-256 .tile-inner{
    background: url('../meta/qiubi256_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 34px;
  }
  .qiubi .tile.tile-512 .tile-inner{
    background: url('../meta/qiubi512_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
  }
  .qiubi .tile.tile-1024 .tile-inner{
    background: url('../meta/qiubi1024_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size:28px;
  }
  .qiubi .tile.tile-2048 .tile-inner{
    background: url('../meta/qiubi2048_bj.png') no-repeat;
    background-size: cover;
    color:#fff;
    font-size: 28px;
  } 
  .qiubi .btn_back{
    background: url('../meta/qiubiback.png') no-repeat;
    background-size: cover;
  }
  .qiubi .btn_ref{
    background:url('../meta/qiubiref.png') no-repeat;
    background-size: cover;
  }
  .qiubi .btn_del{
    background:url('../meta/qiubidel.png') no-repeat;
    background-size: cover;
  }
  .huanzi .btn_back{
    background: url('../meta/huanzi_back.png') no-repeat;
    background-size: cover;
  }
  .huanzi .btn_ref{
    background:url('../meta/huanzi_ref.png') no-repeat;
    background-size: cover;
  }
  .huanzi .btn_del{
    background:url('../meta/huanzi_del.png') no-repeat;
    background-size: cover;
  }
  .qiubi .messages,.feisheng .messages{
    background-color: rgba(255, 255, 255, 0.80);
  }
  .feisheng .btn_back{
    background: url('../meta/qiubiback.png') no-repeat;
    background-size: cover;
  }
  .feisheng .btn_ref{
    background:url('../meta/qiubiref.png') no-repeat;
    background-size: cover;
  }
  .feisheng .btn_del{
    background:url('../meta/qiubidel.png') no-repeat;
    background-size: cover;
  }
  .game-container .game-message {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(238, 228, 218, 0.5);
    z-index: 100;
    text-align: center;
    -webkit-animation: fade-in 800ms ease 1200ms;
    -moz-animation: fade-in 800ms ease 1200ms;
    animation: fade-in 800ms ease 1200ms;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both; }
    .game-container .game-message p {
      font-size: 60px;
      font-weight: 900;
      height: 60px;
      line-height: 60px;
      margin-top: 222px; }
    .game-container .game-message .lower {
      display: block;
      margin-top: 59px; }
    .game-container .game-message a {
      display: inline-block;
      background: #8f7a66;
      border-radius: 3px;
      padding: 0 20px;
      text-decoration: none;
      color: #f9f6f2;
      height: 40px;
      line-height: 42px;
      margin-left: 9px; }
      .game-container .game-message a.keep-playing-button {
        display: none; }
    .game-container .game-message.game-won {
      background: rgba(237, 194, 46, 0.5);
      color: #f9f6f2; }
      .game-container .game-message.game-won a.keep-playing-button {
        display: inline-block; }
    .game-container .game-message.game-won, .game-container .game-message.game-over {
      display: block; }

.grid-container {
  position: absolute;
  z-index: 1; }

.grid-row {
  margin-bottom: 15px; }
  .grid-row:last-child {
    margin-bottom: 0; }
  .grid-row:after {
    content: "";
    display: block;
    clear: both; }

.grid-cell {
  width: 106.25px;
  height: 106.25px;
  margin-right: 15px;
  float: left;
  border-radius: 8px;
  background: rgba(238, 228, 218, 0.35); }
  .grid-cell:last-child {
    margin-right: 0; }

.tile-container {
  position: absolute;
  z-index: 2; }

.tile, .tile .tile-inner {
  width: 107px;
  height: 107px;
  line-height: 107px; }
.tile.tile-position-1-1 {
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px); }
.tile.tile-position-1-2 {
  -webkit-transform: translate(0px, 121px);
  -moz-transform: translate(0px, 121px);
  -ms-transform: translate(0px, 121px);
  transform: translate(0px, 121px); }
.tile.tile-position-1-3 {
  -webkit-transform: translate(0px, 242px);
  -moz-transform: translate(0px, 242px);
  -ms-transform: translate(0px, 242px);
  transform: translate(0px, 242px); }
.tile.tile-position-1-4 {
  -webkit-transform: translate(0px, 363px);
  -moz-transform: translate(0px, 363px);
  -ms-transform: translate(0px, 363px);
  transform: translate(0px, 363px); }
.tile.tile-position-2-1 {
  -webkit-transform: translate(121px, 0px);
  -moz-transform: translate(121px, 0px);
  -ms-transform: translate(121px, 0px);
  transform: translate(121px, 0px); }
.tile.tile-position-2-2 {
  -webkit-transform: translate(121px, 121px);
  -moz-transform: translate(121px, 121px);
  -ms-transform: translate(121px, 121px);
  transform: translate(121px, 121px); }
.tile.tile-position-2-3 {
  -webkit-transform: translate(121px, 242px);
  -moz-transform: translate(121px, 242px);
  -ms-transform: translate(121px, 242px);
  transform: translate(121px, 242px); }
.tile.tile-position-2-4 {
  -webkit-transform: translate(121px, 363px);
  -moz-transform: translate(121px, 363px);
  -ms-transform: translate(121px, 363px);
  transform: translate(121px, 363px); }
.tile.tile-position-3-1 {
  -webkit-transform: translate(242px, 0px);
  -moz-transform: translate(242px, 0px);
  -ms-transform: translate(242px, 0px);
  transform: translate(242px, 0px); }
.tile.tile-position-3-2 {
  -webkit-transform: translate(242px, 121px);
  -moz-transform: translate(242px, 121px);
  -ms-transform: translate(242px, 121px);
  transform: translate(242px, 121px); }
.tile.tile-position-3-3 {
  -webkit-transform: translate(242px, 242px);
  -moz-transform: translate(242px, 242px);
  -ms-transform: translate(242px, 242px);
  transform: translate(242px, 242px); }
.tile.tile-position-3-4 {
  -webkit-transform: translate(242px, 363px);
  -moz-transform: translate(242px, 363px);
  -ms-transform: translate(242px, 363px);
  transform: translate(242px, 363px); }
.tile.tile-position-4-1 {
  -webkit-transform: translate(363px, 0px);
  -moz-transform: translate(363px, 0px);
  -ms-transform: translate(363px, 0px);
  transform: translate(363px, 0px); }
.tile.tile-position-4-2 {
  -webkit-transform: translate(363px, 121px);
  -moz-transform: translate(363px, 121px);
  -ms-transform: translate(363px, 121px);
  transform: translate(363px, 121px); }
.tile.tile-position-4-3 {
  -webkit-transform: translate(363px, 242px);
  -moz-transform: translate(363px, 242px);
  -ms-transform: translate(363px, 242px);
  transform: translate(363px, 242px); }
.tile.tile-position-4-4 {
  -webkit-transform: translate(363px, 363px);
  -moz-transform: translate(363px, 363px);
  -ms-transform: translate(363px, 363px);
  transform: translate(363px, 363px); }

.tile {
  position: absolute;
  -webkit-transition: 100ms ease-in-out;
  -moz-transition: 100ms ease-in-out;
  transition: 100ms ease-in-out;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform; }
  .tile .tile-inner {  
    border-radius: 3px;  
    background: rgb(238, 228, 218); /* #eee4da */  
    text-align: center;  
    font-weight: 900;  
    z-index: 10;  
    font-size: 55px;  
}  

.tile.tile-2 .tile-inner {  
    background: rgb(255, 243, 225); /* rgb(255, 243, 225) */  
    color: rgb(96, 72, 100); /* #604864FF */  
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);  
}  

.tile.tile-4 .tile-inner {  
    background: rgb(255, 232, 197); /* rgb(255, 232, 197) */  
    color: rgb(96, 72, 100); /* #604864FF */  
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);  
}  

.tile.tile-8 .tile-inner {  
    color: rgb(255, 255, 255); /* #fff */  
    background: rgb(255, 199, 118); /* #FFC776FF */  
}  

.tile.tile-16 .tile-inner {  
    color: rgb(249, 246, 242); /* #f9f6f2 */  
    background: rgb(255, 152, 0); /* #FF9800FF */  
}  

.tile.tile-32 .tile-inner {  
    color: rgb(255, 255, 255); /* #fff */  
    background: rgb(255, 79, 79); /* #FF4F4FFF */  
}  

.tile.tile-64 .tile-inner {  
    color: rgb(255, 255, 255); /* #fff */  
    background: rgb(255, 0, 0); /* #FF0000FF */  
}
  .tile.tile-128 .tile-inner {
    color: #fff;
    background: rgb(255,199,118);
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .tv{
        display:none;
      }
      .tile.tile-128 .tile-inner {
        font-size: 34px; } }
    @media screen and (min-width: 980px) {
      html{
        width:100%;
        height:100%;
        overflow:hidden;
      }
      body{
        margin:0 auto;
        width:100%;
        height:100%;
        background:url("/meta/tv_bg.png") no-repeat;
        background-size:cover;
      }
      .tv_mid p{
        color:rgb(115,110,112) !important;
        margin:0;
      }
      .score_result{
        background:rgb(254,199,115);
        margin:20px 0; 
        border-radius:15px;
        text-align:center;
        color:rgb(115,110,112);
        width:140px;
        height:85px;
        overflow:visible;
        margin-bottom:60px;
        position:relative;
      }
      .gold_coin .coin{
        width:90px;
        height:90px;
        background: url('../meta/coin.png') no-repeat;
        background-size: contain;
        display: inline-block;
      }
      .gold_coin{
        display:flex;
        align-items:center;
        color:rgb(113,111,112);
        margin-bottom:60px;
      }
      .gold_coin p{
        margin-left:20px;
        font-size:1.2em;
        font-weight:700;
      }
      .inputs{
        width:80%;
        margin:0 auto;
        background:#fff;
        display:block;
        height:40px;
        line-height:40px;
        margin-bottom:15px;
        border-radius:10px;
        color:rgb(96,73,37);
        font-weight:700;
      }
      .score_result p{
        text-align:center;
        font-weight:800;
        margin:0;
      }
      .score_result::after{
        position:absolute;
        width:40px;
        height:40px;
        content:"";
        left:-15px;
        top:-20px;
      }
      #tv_10001{
        width:728px;
        height:90px;
        /* background:#fff; */
        position:absolute;
        top:45px;
        left:0;
      }
      #tv_10002{
        width:300px;
        height:100px;
        position:absolute;
        top:0;
        right:0;
      }
      .score_result:first-child::after{
        background:url('/meta/tv_score.png') no-repeat;
        background-size:contain;
      }
      .score_result:nth-of-type(2)::after{
        background:url('/meta/tv_best.png') no-repeat;
        background-size:contain;
      }
      .game-container{
        margin:0;
      }
      .container{
        width:85%;
        margin:0 auto;
        height:100%;
        display:flex;
        align-items:center;
        justify-content: space-between;
      }
      .messages{
        display:none;
      }
      .topInfo{
        display:none;
      }
      .bottom_btns{
        display:none;
      }
      .tv_mid{
        width:15%;
        margin-left:20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }
      .buttons{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 15px;
      }
      .buttons .btn{
        position: relative;
        width: 60px;
        height:80px;
        background-size: contain;
        padding:0;
      }
      .btn_back{
        background: url('../meta/btn_back_tv.png') no-repeat;
        /* margin-left:110px; */
      }
      .winter .btn_back{
        background: url('../meta/winter_back.png') no-repeat;
        background-size: contain;
        padding:0;
      }
      .btn_ref{
        background: url('/meta/btn_ref_tv.png') no-repeat !important;
        background-size: contain !important;
      }
      /* .winter .btn_ref{
        background: url('/meta/winter_ref.png') no-repeat;
        background-size: contain;
        padding:0;
      } */
      .btn_del{
        background: url('../meta/btn_del.png') no-repeat;
      }
      .rank_parent{
        background:#fff;
        padding:2px;
        border-radius:5px;
        position:relative;
      }
      .rank_parent::after{
        position:absolute;
        content:"";
        width:40px;
        height:60px;
        top:-30px;
        left:-15px;
        background:url("/meta/head-bg.png") no-repeat;
        background-size:contain;
      }
      .tv_right{
        width:30%;
        margin-left:20px;
      }
      .mid_rank{
        background:rgb(236,198,136);
        padding:10px 0;
        border-radius:5px;
      }
      .rank_item{
        /* margin-bottom:10px; */
        margin:10px auto;
        width:90%;
        background:rgb(255,242,226);
        border-radius:10px;
        display:flex;
        justify-content: space-around;
        align-items:center;
        color:rgb(95,68,25);
      }
      .header_span{
        display:none;
      }
      .rank_num{
        width:40px;
        text-align:center;
      }
      .top_title{
        background:none;
        color:rgb(95,68,25);
        font-weight:700;
      }
      .user_name{
        width:90px;
        text-align:center;
      }
      .user_score{
        width:75px;
        text-align:center;
      }
      .first,.second,.third{
        width:30px;
        height:30px;
        display:inline-block;
      }
      .first{
        background:url("/meta/tv_first.png") no-repeat;
        background-size:contain;
      }
      .second{
        background:url("/meta/tv_second.png") no-repeat;
        background-size:contain;
      }
      .third{
        background:url("/meta/tv_thrid.png") no-repeat;
        background-size:contain;
      }
      .stage_bg{
        width:100%;
        height:200px;
        background-color: rgb(238, 228, 212);
        position: relative;
        border-radius: 8px;
        text-align: center;
      }
      .stage_bg .stage_title{
        width: 100%;
        font-size: 14px;
        font-weight: bold;
        margin:40px 0 11px 0;
        display: inline-block;
        color:#955300FF;
      }
      .stage_bg img{
        display: inline-block;
        margin-bottom:20px;
      }
      .stage_bg .large_button{
        color:#fff;
        font-size: 16px;
        font-weight: bold;
        width:180px;
        height:40px;
        line-height: 40px;
        background-color: rgb(251, 135, 0);
        border-radius: 8px;
        margin:0 auto;
        border-bottom: 4px solid #CC6F03;
        position: relative;
        padding-left: 10px;
      }
      .large_button::before{
        content:'';
        position: absolute;
        width:30px;
        height:30px;
        background: url('../meta/play.png') no-repeat;
        background-size: cover;
        left:10px;
        top:5px;
        background-color: #fff;
        border-radius: 100%;
      }
      .stage_parent{
        margin:30vh auto 0 auto;
        width:calc(100% - 40px);
      }
    }
  .tile.tile-256 .tile-inner {
    color: #fff;
    background: rgb(217, 182, 0);
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31746), inset 0 0 0 1px rgba(255, 255, 255, 0.19048);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .tile.tile-256 .tile-inner {
        font-size: 34px; } }
  .tile.tile-512 .tile-inner {
    color: #fff;
    background: rgb(255, 148, 238);  
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.39683), inset 0 0 0 1px rgba(255, 255, 255, 0.2381);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .tile.tile-512 .tile-inner {
        font-size: 34px; } }
  .tile.tile-1024 .tile-inner {
    color: #fff;
    background: rgb(255, 20, 217);
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28671);
    font-size: 35px; }
    @media screen and (max-width: 520px) {
      .tile.tile-1024 .tile-inner {
        font-size: 15px; } }
  .tile.tile-2048 .tile-inner {
    color: #fff;
    background: rgb(255, 215, 7);
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55556), inset 0 0 0 1px rgba(255, 255, 255, 0.33333);
    font-size: 35px; }
    @media screen and (max-width: 520px) {
      .tile.tile-2048 .tile-inner {
        font-size: 15px; } }
  .tile.tile-super .tile-inner {
    color: #f9f6f2;
    background: #3c3a32;
    font-size: 30px; }
    @media screen and (max-width: 520px) {
      .tile.tile-super .tile-inner {
        font-size: 10px; } }

@-webkit-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
@keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
  .winter .tile-inner::after{
    content: "";
    left: 0;
    right:0;
    height:20px;
    position: absolute;
    background: url('../meta/winter_top.png') no-repeat;
    background-size: cover;
  }
.tile-new .tile-inner {
  position: relative;
  -webkit-animation: appear 200ms ease 100ms;
  -moz-animation: appear 200ms ease 100ms;
  animation: appear 200ms ease 100ms;
  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards; }

@-webkit-keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
@keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); } }
.tile-merged .tile-inner {
  z-index: 20;
  -webkit-animation: pop 200ms ease 100ms;
  -moz-animation: pop 200ms ease 100ms;
  animation: pop 200ms ease 100ms;
  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards; }

.above-game:after {
  content: "";
  display: block;
  clear: both; }

.game-intro {
  float: left;
  line-height: 42px;
  margin-bottom: 0; }

.restart-button {
  display: inline-block;
  background: #8f7a66;
  border-radius: 3px;
  padding: 0 20px;
  text-decoration: none;
  color: #f9f6f2;
  height: 40px;
  line-height: 42px;
  display: block;
  text-align: center;
  float: right; }

.game-explanation {
  margin-top: 50px; }

@media screen and (max-width: 520px) {
  html {
    background: url('../meta/bei_jing.png') no-repeat;
    background-size: cover;
    font-size: 15px; 
  }

  body {
    margin: 20px 0;
    padding: 0 12px; 
  }
  html.winter{
    background:url('../meta/winter_bj.png') no-repeat;
    background-size: cover;
  }
  html.normal{
    background:url('../meta/bei_jing.png') no-repeat;
    background-size: cover;
  }
  html.qiubi{
    background:url('../meta/qiubite_bj.png') no-repeat;
    background-size: cover;
  }
  html.keji{
    background:url('../meta/keji_bg.png') no-repeat;
    background-size: cover;
  }
  html.feisheng{
    background:url('../meta/feisheng_bg.png') no-repeat;
    background-size: cover;
  }
  html.huanzi{
    background:url('../meta/huanzi_bj.png') no-repeat;
    background-size: cover;
  }
  html body{
    background: none;
  }
  h1.title {
    font-size: 27px;
    margin-top: 15px; }

  .container {
    width: 351px;
    margin: 0 auto; }

  .heading {
    margin-bottom: 10px; }

  .game-intro {
    width: 55%;
    display: block;
    box-sizing: border-box;
    line-height: 1.65; }

  .restart-button {
    width: 42%;
    padding: 0;
    display: block;
    box-sizing: border-box;
    margin-top: 2px; }

  .game-container {
    margin-top: 15px;
    position: relative;
    padding: 9px;
    cursor: default;
    -webkit-touch-callout: none;
    -ms-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    background: #D8CDBC;
    border-radius: 6px;
    width: 351px;
    height: 351px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .messages{
      width:100%;
      height:32px;
      line-height:32px;
      background-color: #FAF7F2;
      border-radius: 20px;
      font-size:15px;
      color:#666666FF;
      margin-bottom: 15px;
      font-weight: 900;
      display: flex;
      align-items: center;
    }
    span.honors{
      color:red;
      display: inline-block;
      margin:0 5px;
    }
    span.message_tip{
      display: inline-block;
      margin:0 16px 0 26px;
      width:30px;
      height: 22px;
      background:url('../meta/Union.png') no-repeat;
      background-size: cover;
    }
    .topInfo{
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
    .gold_coin{
      width: 100px;
      height: 130px;
      text-align: center;
      font-size: 16px;
      font-weight: 900;
      color:#604824FF;
    }
    .gold_coin .coin{
      width:90px;
      height:90px;
      background: url('../meta/coin.png') no-repeat;
      background-size: contain;
      display: inline-block;
    }
    .score-right{
      width: calc(100% - 100px);
    }
    .top_score{
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .score_result{
      width:90px;
      height:60px;
      background-color: #FFC773;
      border-radius: 8px;
      position: relative;
    }
    .huanzi .score_result{
      background: linear-gradient(180deg, #5347D4 0%, #962AED 100%);
    }
    .huanzi .score_result p{
      color:#fff;
    }
    .huanzi .gold_coin{
      color:#fff;
    }
    .score_result .inputs{
      position: absolute;
      top:18px;
      left:7px;
      width:76px;
      background-color: #fff;
      border-radius:10px;
      height:39px;
      color:#604824FF;
      line-height: 39px;
      text-align: center;
      font-size: 16px;
      font-weight: 900;
    }
    .buttons{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 15px;
    }
    .buttons .btn{
      position: relative;
      width: 42px;
      height:42px;
      background-size: contain;
    }
    .btn_back{
      background: url('../meta/btn_back.png') no-repeat;
      margin-left:110px;
    }
    .winter .btn_back{
      background: url('../meta/winter_back.png') no-repeat;
      background-size: contain;
    }
    .btn_ref{
      background: url('../meta/btn_ref.png') no-repeat;
    }
    .winter .btn_ref{
      background: url('../meta/winter_ref.png') no-repeat;
      background-size: contain;
    }
    .btn_del{
      background: url('../meta/btn_del.png') no-repeat;
    }
    .winter .btn_del{
      background: url('../meta/winter_del.png') no-repeat;
      background-size: contain;
    }
    .stage_parent{
      margin:30vh auto 0 auto;
      width:calc(100% - 40px);
    }
    .maskStage .ads_container{
      height:70px; 
      min-height: 70px;
      margin-bottom: 5px;
      border-radius: 8px;
    }
     .stage_bg{
      width:100%;
      height:200px;
      background-color: rgb(238, 228, 212);
      position: relative;
      border-radius: 8px;
      text-align: center;
    }
    .stage_bg .stage_title{
      width: 100%;
      font-size: 14px;
      font-weight: bold;
      margin:40px 0 11px 0;
      display: inline-block;
      color:#955300FF;
    }
    .stage_bg img{
      display: inline-block;
      margin-bottom:20px;
    }
    .stage_bg .large_button{
      color:#fff;
      font-size: 16px;
      font-weight: bold;
      width:180px;
      height:40px;
      line-height: 40px;
      background-color: rgb(251, 135, 0);
      border-radius: 8px;
      margin:0 auto;
      border-bottom: 4px solid #CC6F03;
      position: relative;
      padding-left: 10px;
    }
    .large_button::before{
      content:'';
      position: absolute;
      width:30px;
      height:30px;
      background: url('../meta/play.png') no-repeat;
      background-size: cover;
      left:10px;
      top:5px;
      background-color: #fff;
      border-radius: 100%;
    }
    .score_result p{
      text-align: center;
      font-size: 14px;
      color:#604824FF;
      font-weight: 900;
      height:14px;
      line-height:14px;
      margin-top:2px;
    }
    .bottom_btns{
      display: flex;
      align-items: center;
      justify-content: space-between;
      color:#FF9E10;
      font-weight: 900;
      font-size: 15px;
      margin-top: 15px;
    }
    .bottom_btns .btns1{
      height:40px;
      line-height: 40px;
      text-align: center;
      background-color: #fff;
      border-bottom: 4px solid #FF9800;
      border-radius: 6px;
    }
    .task{
      width: 60px;
    }
    .redeem{
      width: 80px;
    }
    .share{
      width: 65px;
    }
    .close{
      width: 65px;
    }
    .share,.close{
      position: relative;
      display: flex;
      align-items: center;
    }
    .close::after{
      content: '';
      position: absolute;
      width:47px;
      height:30px;
      background-image: url('../meta/close.png');
      left:9px;
    }
    .share::after{
      content: '';
      position: absolute;
      width:30px;
      height:30px;
      background-image: url('../meta/share.png');
      left:17.5px;
    }
    .ads_container{
      width: 100%;
      height: 100px;
      background-color: #000;
      margin-top: 15px;
      position: relative;
    }
    .move_box {
      width: 50px;
      height: 50px;
      background: url('../meta/move_box.png')no-repeat;
      background-size: contain;
      position: absolute;
      cursor: pointer;
      animation: moveBox 10s infinite;
    }
    .switch_btn{
      /* margin-top:30px; */
      width: 230px;
      height:40px;
      margin: 40px auto 16px auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .switch_btn span{
      display: inline-block;
      height:100%;
      width: 50%;
      text-align: center;
      line-height: 40px;
      font-size: 14px;
      background-color: #FFEAC9;
      font-weight: 900;
      color:#FFDAA1FF;
    }
    .switch_btn span.active{
      color: #fff;
      background-color: #FF9D00;;
    }
    .switch_btn span:nth-child(1){
      border-radius: 10px   0px   0px   10px ;
    }
    .switch_btn span:nth-child(2){
      border-radius:0px 10px 10px 0px;
    }
    .rank_list{
      min-height: 200px;
      background-color: #fff;
      width: calc(100% - 24px);
      margin:0 auto;
      border-radius:10px   10px   0px   0px ;
    }
    .rank_item{
      width:100%;
      height:30px;
      line-height:30px;
      margin:0 0 10px 0;
      background-color: #FDF7EDFF;
    }
    @keyframes moveBox {
      0% {
        left: 0;
        top: 0;
      }
      50% {
        left: calc(100% - 50px);
        top:0;
      }
      100%{
        left:0;
        top:0;
      }
    }
    .rank_parent{
      width:90%;
      margin:15vh auto 0 auto;
      background: url('../meta/rank_bg.png') no-repeat;
      background-size: cover;
      height: 500px;
      overflow: hidden;
      position: relative;
      border-radius: 10px;
    }
    .rank_parent .first_rank{
      background:url('../meta/friend_head.png') no-repeat;
      background-size: cover;
      width: 100%;
      height:54px;
      font-size: 16px !important;
    }
    .rank_list .rank_item .rank_num{
      margin-left:5px;
      font-size: 16px !important;
    }
    .rank_item span.header_span{
      margin-left:-42px;
    }
    .rank_item .user_score{
      margin-left: 70px;
      width: 60px;
    }
    .rank_item .user_name{
      margin-left: 10px;
      width: 60px;
    }
    .rank_list:not(.first_rank) .rank_item .header_span{
      margin-left: -12px;
    }
    .guanbi,#close_skin{
      width: 26px;
      height:26px;
      position: absolute;
      top:0;
      right: 0;
      background: url('../meta/guanbi.png') no-repeat;
      background-size: contain;
    }
    .header_div{
      width: 49px;
      height:70px;
      background:url('../meta/head-bg.png') no-repeat ;
      background-size: 100%;
      position: relative;
    }
    .rank_list .rank_item{
      /* padding: 10px; */
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      font-weight: 900;
    }
    .rank_item span{
      display: flex;
      align-items: center;
    }
    .rank_item span:nth-child(1){
      margin-left: 3px;
    }
    .rank_item span:last-child{
      margin-right: 15px;
    }
    .rank_list .first_rank span:nth-child(1){
      margin-left: 21px !important;
    }
    .mid_rank{
      overflow-y: scroll;
    }
    .friend_rank .mid_rank{
      height:280px;
    }
    .world_rank .mid_rank{
      height: 200px;
    }
    .world_rank .rank_item{
      border-radius: 10px;
      background-color: #fff;
    }
    .first_rank {
      color: #fff;
    }
    .world_rank{
      width:100%;
    }
    .top_three{
      width: calc(100% - 46px);
      margin:45px auto 0 auto;
      background: url('../meta/top_three.png') no-repeat;
      background-size: cover;
      height: 130px;
      overflow-y: visible;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
    .top_three .rank-num{
      width: 33.33%;
      height:100%;
      overflow: visible;
      position: relative;
    }
    .rank-num img{
      width: 45px;
      height:45px
    }
    .second_header {
      position: absolute;
      left: calc((100% - 45px)/1.5);
      top:5px;
    }
    .tips{
      position: absolute;
      left:20px;
      top:70px;
      z-index: 99;
    }
    .tips .icon{
      /* position: ; */
      display: inline-block;
      width:14px;
      height:14px;
      line-height: 14px;
      font-size: 14px;
      border-radius: 100%;
      border:2px solid #FF9D00;
      color:#FF9D00;
      text-align: center;
      font-weight: 900;
    }
    .tips_content{
      margin-left: 26px;
      margin-top: -20px;
      background-color: rgba(255,245,227,.7);
      padding:10px;
      font-size: 14px;
      font-weight: 900;
      color:#333;
      border-radius: 10px;
    }
    .first_header {
      position: absolute;
      left: calc((100% - 45px)/2);
      top:-33px;
    }
    .three_header {
      position: absolute;
      left: calc((100% - 45px)/4);
      top: 20px;
    }
    .world_rank .rank_list{
      background-color: transparent;
    }
    .top_three .score_time{
      position: absolute;
      bottom:3px;
      height:28px;
      right: -10px;
    }
    .top_three .score_time p{
      margin: 0;
      height: 14px;
      line-height: 14px;
      font-size: 14px;
      font-weight: 900;
      width: 50px;
      text-align: center;
      color: #fff;
    }
    .w_first  .score_time{
      right:calc((100% - 50px)/2);
    }
    .w_three .score_time{
      right: 60%;
    }
    .skinCenter{
      margin:15vh auto 0 auto;
      width: calc(100% - 24px);
      height: 400px;
    }
    .skinCenter .ads_container{
      border-radius: 8px;
    }
    .skin_title{
      height:26px;
      line-height: 26px;
      width: 100%;
      text-align: center;
      margin:0;
      padding-top: 18px;
      font-size: 22px;
      color:#fff;
      font-weight: 800;
    }
    .sink_parent{
      width: calc(100% - 24px);
      padding:3px;
      border-radius: 8px;
      background-color: #fff;
      margin:8px auto 0 auto;
    }
    .sink_content{
      width:100%;
      height:220px;
      background-color: #E39C2BFF;
      border-radius: 8px;
    }
    .sink_content .skin_row span{
      margin-top:10px;
      position: relative;
      display: flex;
      align-items: center;
    }
    .sink_content .first_row span{
      margin-top:34px !important;
    }
    .sink_content .skin_row span::after{
      content: "";
      background: url("../meta/disabled.png") no-repeat;
      width: 100%;
      height:100%;
      background-size: cover;
    }
    .sink_content .first_row span:nth-child(1){
      background: url('../meta/bei_jing.png');
      background-size: cover;
    }
    .sink_content .first_row span.chosed::after{
      content: "";
      background: url("../meta/xuanzhong.png");
      width: 48px;
      height:24px;
      background-size: cover;
      position: absolute;
      left: calc((100% - 48px)/2);
    }
    .sink_content .skin_row{
      width: calc(100% - 32px);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .sink_content .scroe_row{
      width: calc(100% - 32px);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
    }
    .sink_content .scroe_row span{
      width:30%;
      color:#fff;
      font-size: 16px;
      font-weight: 900;
      text-align: center;
    }
    .skin_row span{
      width:30%;
      height:60px;
      border-radius: 8px;
      overflow: hidden;
    }
    .skin_row .winter{
      background:url('../meta/winter_bj.png') no-repeat;
      background-size:cover;
    }
    .skin_row .qiubi{
      background:url('../meta/qiubite_bj.png') no-repeat;
      background-size:cover;
    }
    .skin_row .keji{
      background:url('../meta/keji_bg.png') no-repeat;
      background-size:cover;
    }
    .skin_row .feisheng{
      background:url('../meta/feisheng_bg.png') no-repeat;
      background-size:cover;
    }
    .skin_row .huanzi{
      background:url('../meta/huanzi_bj.png') no-repeat;
      background-size:cover;
    }
    .skin_row .can_use::after{
      display: none;
    }
    .skin_row .chosed::before{
      content: "";
      background: url("../meta/xuanzhong.png");
      width: 48px;
      height:24px;
      background-size: cover;
      position: absolute;
      left: calc((100% - 48px)/2);
    }
    .skins{
      margin-top:5px;
      width: 100%;
      height:290px;
      /* ; */
      background: linear-gradient(to bottom ,#FFC361FF,#FFF5B3FF);
      border-radius: 8px;
      position: relative;
    }
    .game-container .game-message {
      display: none;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(238, 228, 218, 0.5);
      z-index: 100;
      text-align: center;
      -webkit-animation: fade-in 800ms ease 1200ms;
      -moz-animation: fade-in 800ms ease 1200ms;
      animation: fade-in 800ms ease 1200ms;
      -webkit-animation-fill-mode: both;
      -moz-animation-fill-mode: both;
      animation-fill-mode: both; }
      .game-container .game-message p {
        font-size: 60px;
        font-weight: 900;
        height: 60px;
        line-height: 60px;
        margin-top: 222px; }
      .game-container .game-message .lower {
        display: block;
        margin-top: 59px; }
      .game-container .game-message a {
        display: inline-block;
        background: #8f7a66;
        border-radius: 3px;
        padding: 0 20px;
        text-decoration: none;
        color: #f9f6f2;
        height: 40px;
        line-height: 42px;
        margin-left: 9px; }
        .game-container .game-message a.keep-playing-button {
          display: none; }
      .game-container .game-message.game-won {
        background: rgba(237, 194, 46, 0.5);
        color: #f9f6f2; }
        .game-container .game-message.game-won a.keep-playing-button {
          display: inline-block; }
      .game-container .game-message.game-won, .game-container .game-message.game-over {
        display: block; }

  .grid-container {
    position: absolute;
    z-index: 1; }

  .grid-row {
    margin-bottom: 10px; }
    .grid-row:last-child {
      margin-bottom: 0; }
    .grid-row:after {
      content: "";
      display: block;
      clear: both; }

  .grid-cell {
    width: 75.75px;
    height: 75.75px;
    margin-right: 10px;
    float: left;
    border-radius: 8px;
    background: rgba(238, 228, 218, 0.35); }
    .grid-cell:last-child {
      margin-right: 0; }

  .tile-container {
    position: absolute;
    z-index: 2; }

  .tile, .tile .tile-inner {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    line-height: 76px; }
  .tile.tile-position-1-1 {
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px); }
  .tile.tile-position-1-2 {
    -webkit-transform: translate(0px, 86px);
    -moz-transform: translate(0px, 86px);
    -ms-transform: translate(0px, 86px);
    transform: translate(0px, 86px); }
  .tile.tile-position-1-3 {
    -webkit-transform: translate(0px, 171px);
    -moz-transform: translate(0px, 171px);
    -ms-transform: translate(0px, 171px);
    transform: translate(0px, 171px); }
  .tile.tile-position-1-4 {
    -webkit-transform: translate(0px, 257px);
    -moz-transform: translate(0px, 257px);
    -ms-transform: translate(0px, 257px);
    transform: translate(0px, 257px); }
  .tile.tile-position-2-1 {
    -webkit-transform: translate(86px, 0px);
    -moz-transform: translate(86px, 0px);
    -ms-transform: translate(86px, 0px);
    transform: translate(86px, 0px); }
  .tile.tile-position-2-2 {
    -webkit-transform: translate(86px, 86px);
    -moz-transform: translate(86px, 86px);
    -ms-transform: translate(86px, 86px);
    transform: translate(86px, 86px); }
  .tile.tile-position-2-3 {
    -webkit-transform: translate(86px, 171px);
    -moz-transform: translate(86px, 171px);
    -ms-transform: translate(86px, 171px);
    transform: translate(86px, 171px); }
  .tile.tile-position-2-4 {
    -webkit-transform: translate(85px, 257px);
    -moz-transform: translate(85px, 257px);
    -ms-transform: translate(85px, 257px);
    transform: translate(85px, 257px); }
  .tile.tile-position-3-1 {
    -webkit-transform: translate(171px, 0px);
    -moz-transform: translate(171px, 0px);
    -ms-transform: translate(171px, 0px);
    transform: translate(171px, 0px); }
  .tile.tile-position-3-2 {
    -webkit-transform: translate(171px, 86px);
    -moz-transform: translate(171px, 86px);
    -ms-transform: translate(171px, 86px);
    transform: translate(171px, 86px); }
  .tile.tile-position-3-3 {
    -webkit-transform: translate(171px, 171px);
    -moz-transform: translate(171px, 171px);
    -ms-transform: translate(171px, 171px);
    transform: translate(171px, 171px); }
  .tile.tile-position-3-4 {
    -webkit-transform: translate(171px, 257px);
    -moz-transform: translate(171px, 257px);
    -ms-transform: translate(171px, 257px);
    transform: translate(171px, 257px); }
  .tile.tile-position-4-1 {
    -webkit-transform: translate(257px, 0px);
    -moz-transform: translate(257px, 0px);
    -ms-transform: translate(257px, 0px);
    transform: translate(257px, 0px); }
  .tile.tile-position-4-2 {
    -webkit-transform: translate(257px, 86px);
    -moz-transform: translate(257px, 86px);
    -ms-transform: translate(257px, 86px);
    transform: translate(257px, 86px); }
  .tile.tile-position-4-3 {
    -webkit-transform: translate(257px, 171px);
    -moz-transform: translate(257px, 171px);
    -ms-transform: translate(257px, 171px);
    transform: translate(257px, 171px); }
  .tile.tile-position-4-4 {
    -webkit-transform: translate(257px, 257px);
    -moz-transform: translate(257px, 257px);
    -ms-transform: translate(257px, 257px);
    transform: translate(257px, 257px); }

  .tile .tile-inner {
    font-size: 40px; }

  .game-message p {
    font-size: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin-top: 90px !important; }
  .game-message .lower {
    margin-top: 30px !important; } }
