@import url(fonts/clear-sans.css);
.sacga-2048{
  margin: 80px 0;
  padding: 0;
  background:
    linear-gradient(0deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #1a0a2e 0%, #0f0518 50%, #000000 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  background-position: 0 0, 0 0, center center;
  color: #e0d5ff;
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; }

.sacga-2048 .heading:after{
  content: "";
  display: block;
  clear: both; }

.sacga-2048 h1.title{
  font-size: 80px;
  font-weight: bold;
  margin: 0;
  display: block;
  float: left;
  color: #ffa500;
  text-shadow:
    0 0 10px #ff6600,
    0 0 20px #ff6600,
    0 0 30px #ff6600,
    0 0 40px #ff3300,
    0 0 70px #ff3300,
    0 0 80px #ff3300,
    0 0 100px #ff3300,
    0 0 150px #ff3300;
  -webkit-text-stroke: 2px rgba(255, 200, 0, 0.3); }

@-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; } }
.sacga-2048 .scores-container{
  float: right;
  text-align: right; }

.sacga-2048 .score-container,  .sacga-2048 .best-container{
  position: relative;
  display: inline-block;
  background: rgba(138, 43, 226, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(138, 43, 226, 0.5);
  padding: 15px 25px;
  font-size: 25px;
  height: 25px;
  line-height: 47px;
  font-weight: bold;
  border-radius: 8px;
  color: white;
  margin-top: 8px;
  text-align: center;
  box-shadow:
    0 0 20px rgba(138, 43, 226, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.05); }
  .sacga-2048 .score-container:after,  .sacga-2048 .best-container:after{
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 13px;
    text-align: center;
    color: rgba(224, 213, 255, 0.7); }
  .sacga-2048 .score-container .score-addition,  .sacga-2048 .best-container .score-addition{
    position: absolute;
    right: 30px;
    color: red;
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
    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; }

.sacga-2048 .score-container:after{
  content: "Score"; }

.sacga-2048 .best-container:after{
  content: "Best"; }

.sacga-2048 p{
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.65; }

.sacga-2048 a{
  color: #776e65;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer; }

.sacga-2048 strong.important{
  text-transform: uppercase; }

.sacga-2048 hr{
  border: none;
  border-bottom: 1px solid #d8d4d0;
  margin-top: 20px;
  margin-bottom: 30px; }

.sacga-2048 .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; } }
.sacga-2048 .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: rgba(30, 20, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(138, 43, 226, 0.6);
  border-radius: 12px;
  width: 500px;
  height: 500px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow:
    0 0 30px rgba(138, 43, 226, 0.5),
    inset 0 0 30px rgba(138, 43, 226, 0.1); }
  .sacga-2048 .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; }
    .sacga-2048 .game-container .game-message p{
      font-size: 60px;
      font-weight: bold;
      height: 60px;
      line-height: 60px;
      margin-top: 222px; }
    .sacga-2048 .game-container .game-message .lower{
      display: block;
      margin-top: 59px; }
    .sacga-2048 .game-container .game-message a{
      display: inline-block;
      background: rgba(138, 43, 226, 0.3);
      backdrop-filter: blur(10px);
      border: 2px solid rgba(138, 43, 226, 0.6);
      border-radius: 8px;
      padding: 0 20px;
      text-decoration: none;
      color: #ffffff;
      height: 40px;
      line-height: 42px;
      margin-left: 9px;
      box-shadow:
        0 0 20px rgba(138, 43, 226, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
      transition: all 0.3s ease; }
      .sacga-2048 .game-container .game-message a:hover{
        background: rgba(138, 43, 226, 0.5);
        box-shadow:
          0 0 30px rgba(138, 43, 226, 0.6),
          inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: translateY(-2px); }
      .sacga-2048 .game-container .game-message a.keep-playing-button{
        display: none; }
    .sacga-2048 .game-container .game-message.game-won{
      background: rgba(237, 194, 46, 0.5);
      color: #f9f6f2; }
      .sacga-2048 .game-container .game-message.game-won a.keep-playing-button{
        display: inline-block; }
    .sacga-2048 .game-container .game-message.game-won,  .sacga-2048 .game-container .game-message.game-over{
      display: block; }

.sacga-2048 .grid-container{
  position: absolute;
  z-index: 1; }

.sacga-2048 .grid-row{
  margin-bottom: 15px; }
  .sacga-2048 .grid-row:last-child{
    margin-bottom: 0; }
  .sacga-2048 .grid-row:after{
    content: "";
    display: block;
    clear: both; }

.sacga-2048 .grid-cell{
  width: 106.25px;
  height: 106.25px;
  margin-right: 15px;
  float: left;
  border-radius: 8px;
  background: rgba(20, 10, 40, 0.5);
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.1); }
  .sacga-2048 .grid-cell:last-child{
    margin-right: 0; }

.sacga-2048 .tile-container{
  position: absolute;
  z-index: 2; }

.sacga-2048 .tile,  .sacga-2048 .tile .tile-inner{
  width: 107px;
  height: 107px;
  line-height: 107px; }
.sacga-2048 .tile.tile-position-1-1{
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px); }
.sacga-2048 .tile.tile-position-1-2{
  -webkit-transform: translate(0px, 121px);
  -moz-transform: translate(0px, 121px);
  -ms-transform: translate(0px, 121px);
  transform: translate(0px, 121px); }
.sacga-2048 .tile.tile-position-1-3{
  -webkit-transform: translate(0px, 242px);
  -moz-transform: translate(0px, 242px);
  -ms-transform: translate(0px, 242px);
  transform: translate(0px, 242px); }
.sacga-2048 .tile.tile-position-1-4{
  -webkit-transform: translate(0px, 363px);
  -moz-transform: translate(0px, 363px);
  -ms-transform: translate(0px, 363px);
  transform: translate(0px, 363px); }
.sacga-2048 .tile.tile-position-2-1{
  -webkit-transform: translate(121px, 0px);
  -moz-transform: translate(121px, 0px);
  -ms-transform: translate(121px, 0px);
  transform: translate(121px, 0px); }
.sacga-2048 .tile.tile-position-2-2{
  -webkit-transform: translate(121px, 121px);
  -moz-transform: translate(121px, 121px);
  -ms-transform: translate(121px, 121px);
  transform: translate(121px, 121px); }
.sacga-2048 .tile.tile-position-2-3{
  -webkit-transform: translate(121px, 242px);
  -moz-transform: translate(121px, 242px);
  -ms-transform: translate(121px, 242px);
  transform: translate(121px, 242px); }
.sacga-2048 .tile.tile-position-2-4{
  -webkit-transform: translate(121px, 363px);
  -moz-transform: translate(121px, 363px);
  -ms-transform: translate(121px, 363px);
  transform: translate(121px, 363px); }
.sacga-2048 .tile.tile-position-3-1{
  -webkit-transform: translate(242px, 0px);
  -moz-transform: translate(242px, 0px);
  -ms-transform: translate(242px, 0px);
  transform: translate(242px, 0px); }
.sacga-2048 .tile.tile-position-3-2{
  -webkit-transform: translate(242px, 121px);
  -moz-transform: translate(242px, 121px);
  -ms-transform: translate(242px, 121px);
  transform: translate(242px, 121px); }
.sacga-2048 .tile.tile-position-3-3{
  -webkit-transform: translate(242px, 242px);
  -moz-transform: translate(242px, 242px);
  -ms-transform: translate(242px, 242px);
  transform: translate(242px, 242px); }
.sacga-2048 .tile.tile-position-3-4{
  -webkit-transform: translate(242px, 363px);
  -moz-transform: translate(242px, 363px);
  -ms-transform: translate(242px, 363px);
  transform: translate(242px, 363px); }
.sacga-2048 .tile.tile-position-4-1{
  -webkit-transform: translate(363px, 0px);
  -moz-transform: translate(363px, 0px);
  -ms-transform: translate(363px, 0px);
  transform: translate(363px, 0px); }
.sacga-2048 .tile.tile-position-4-2{
  -webkit-transform: translate(363px, 121px);
  -moz-transform: translate(363px, 121px);
  -ms-transform: translate(363px, 121px);
  transform: translate(363px, 121px); }
.sacga-2048 .tile.tile-position-4-3{
  -webkit-transform: translate(363px, 242px);
  -moz-transform: translate(363px, 242px);
  -ms-transform: translate(363px, 242px);
  transform: translate(363px, 242px); }
.sacga-2048 .tile.tile-position-4-4{
  -webkit-transform: translate(363px, 363px);
  -moz-transform: translate(363px, 363px);
  -ms-transform: translate(363px, 363px);
  transform: translate(363px, 363px); }

.sacga-2048 .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; }
  .sacga-2048 .tile .tile-inner{
    border-radius: 8px;
    background: #2a1a4a;
    text-align: center;
    font-weight: bold;
    z-index: 10;
    font-size: 55px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
  .sacga-2048 .tile.tile-2 .tile-inner{
    background: linear-gradient(135deg, #5876b8 0%, #3b5998 50%, #2d4373 100%);
    color: #ffffff;
    box-shadow:
      0 0 20px rgba(59, 89, 152, 0.1),
      0 0 40px rgba(59, 89, 152, 0.05),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-4 .tile-inner{
    background: linear-gradient(135deg, #7b9bd3 0%, #5b7bb3 50%, #456190 100%);
    color: #ffffff;
    box-shadow:
      0 0 20px rgba(91, 123, 179, 0.2),
      0 0 40px rgba(91, 123, 179, 0.1),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-8 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ffb875 0%, #ff9955 50%, #e87f41 100%);
    box-shadow:
      0 0 20px rgba(255, 153, 85, 0.5),
      0 0 40px rgba(255, 153, 85, 0.25),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-16 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ff8653 0%, #ff6633 50%, #e55020 100%);
    box-shadow:
      0 0 20px rgba(255, 102, 51, 0.6),
      0 0 40px rgba(255, 102, 51, 0.3),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-32 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ff6486 0%, #ff4466 50%, #e52e4d 100%);
    box-shadow:
      0 0 20px rgba(255, 68, 102, 0.7),
      0 0 40px rgba(255, 68, 102, 0.35),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-64 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ff4275 0%, #ff2255 50%, #dd0c3c 100%);
    box-shadow:
      0 0 20px rgba(255, 34, 85, 0.8),
      0 0 40px rgba(255, 34, 85, 0.4),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
  .sacga-2048 .tile.tile-128 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ffe620 0%, #ffcc00 50%, #d9a700 100%);
    box-shadow:
      0 0 20px rgba(255, 204, 0, 0.9),
      0 0 40px rgba(255, 204, 0, 0.45),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .tile.tile-128 .tile-inner{
        font-size: 25px; } }
  .sacga-2048 .tile.tile-256 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ffd520 0%, #ffbb00 50%, #d99700 100%);
    box-shadow:
      0 0 20px rgba(255, 187, 0, 0.92),
      0 0 40px rgba(255, 187, 0, 0.46),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .tile.tile-256 .tile-inner{
        font-size: 25px; } }
  .sacga-2048 .tile.tile-512 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ffc420 0%, #ffaa00 50%, #d98700 100%);
    box-shadow:
      0 0 20px rgba(255, 170, 0, 0.94),
      0 0 40px rgba(255, 170, 0, 0.47),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 45px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .tile.tile-512 .tile-inner{
        font-size: 25px; } }
  .sacga-2048 .tile.tile-1024 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ffb320 0%, #ff9900 50%, #d97700 100%);
    box-shadow:
      0 0 20px rgba(255, 153, 0, 0.96),
      0 0 40px rgba(255, 153, 0, 0.48),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 35px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .tile.tile-1024 .tile-inner{
        font-size: 15px; } }
  .sacga-2048 .tile.tile-2048 .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #fff720 0%, #ffd700 50%, #d9b100 100%);
    box-shadow:
      0 0 30px rgba(255, 215, 0, 1),
      0 0 60px rgba(255, 215, 0, 0.5),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 35px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .tile.tile-2048 .tile-inner{
        font-size: 15px; } }
  .sacga-2048 .tile.tile-super .tile-inner{
    color: #ffffff;
    background: linear-gradient(135deg, #ff00ff 0%, #8800ff 50%, #4400aa 100%);
    box-shadow:
      0 0 30px rgba(255, 0, 255, 0.8),
      0 0 60px rgba(255, 0, 255, 0.4),
      0 4px 8px rgba(0, 0, 0, 0.5),
      inset 0 2px 3px rgba(255, 255, 255, 0.3),
      inset 0 -2px 3px rgba(0, 0, 0, 0.3);
    font-size: 30px; }
    @media screen and (max-width: 520px) {
      .sacga-2048 .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); } }
.sacga-2048 .tile-new .tile-inner{
  -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); } }
.sacga-2048 .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; }

.sacga-2048 .above-game:after{
  content: "";
  display: block;
  clear: both; }

.sacga-2048 .game-intro{
  float: left;
  line-height: 42px;
  margin-bottom: 0; }

.sacga-2048 .restart-button{
  display: inline-block;
  background: rgba(138, 43, 226, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(138, 43, 226, 0.6);
  border-radius: 8px;
  padding: 0 20px;
  text-decoration: none;
  color: #ffffff;
  height: 40px;
  line-height: 42px;
  display: block;
  text-align: center;
  float: right;
  box-shadow:
    0 0 20px rgba(138, 43, 226, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease; }
  .sacga-2048 .restart-button:hover{
    background: rgba(138, 43, 226, 0.5);
    box-shadow:
      0 0 30px rgba(138, 43, 226, 0.6),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px); }

.sacga-2048 .game-explanation{
  margin-top: 50px; }

@media screen and (max-width: 520px) {
  .sacga-2048{
    font-size: 15px;
    margin: 20px 0;
    padding: 0 20px; }

  .sacga-2048 h1.title{
    font-size: 27px;
    margin-top: 15px; }

  .sacga-2048 .container{
    width: 280px;
    margin: 0 auto; }

  .sacga-2048 .score-container,  .sacga-2048 .best-container{
    margin-top: 0;
    padding: 15px 10px;
    min-width: 40px; }

  .sacga-2048 .heading{
    margin-bottom: 10px; }

  .sacga-2048 .game-intro{
    width: 55%;
    display: block;
    box-sizing: border-box;
    line-height: 1.65; }

  .sacga-2048 .restart-button{
    width: 42%;
    padding: 0;
    display: block;
    box-sizing: border-box;
    margin-top: 2px; }

  .sacga-2048 .game-container{
    margin-top: 17px;
    position: relative;
    padding: 10px;
    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: rgba(30, 20, 50, 0.6);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(138, 43, 226, 0.6);
    border-radius: 12px;
    width: 280px;
    height: 280px;
    box-shadow:
      0 0 30px rgba(138, 43, 226, 0.5),
      inset 0 0 30px rgba(138, 43, 226, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .sacga-2048 .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; }
      .sacga-2048 .game-container .game-message p{
        font-size: 60px;
        font-weight: bold;
        height: 60px;
        line-height: 60px;
        margin-top: 222px; }
      .sacga-2048 .game-container .game-message .lower{
        display: block;
        margin-top: 59px; }
      .sacga-2048 .game-container .game-message a{
        display: inline-block;
        background: rgba(138, 43, 226, 0.3);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(138, 43, 226, 0.6);
        border-radius: 8px;
        padding: 0 20px;
        text-decoration: none;
        color: #ffffff;
        height: 40px;
        line-height: 42px;
        margin-left: 9px;
        box-shadow:
          0 0 20px rgba(138, 43, 226, 0.4),
          inset 0 0 10px rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease; }
        .sacga-2048 .game-container .game-message a.keep-playing-button{
          display: none; }
      .sacga-2048 .game-container .game-message.game-won{
        background: rgba(237, 194, 46, 0.5);
        color: #f9f6f2; }
        .sacga-2048 .game-container .game-message.game-won a.keep-playing-button{
          display: inline-block; }
      .sacga-2048 .game-container .game-message.game-won,  .sacga-2048 .game-container .game-message.game-over{
        display: block; }

  .sacga-2048 .grid-container{
    position: absolute;
    z-index: 1; }

  .sacga-2048 .grid-row{
    margin-bottom: 10px; }
    .sacga-2048 .grid-row:last-child{
      margin-bottom: 0; }
    .sacga-2048 .grid-row:after{
      content: "";
      display: block;
      clear: both; }

  .sacga-2048 .grid-cell{
    width: 57.5px;
    height: 57.5px;
    margin-right: 10px;
    float: left;
    border-radius: 8px;
    background: rgba(20, 10, 40, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.1); }
    .sacga-2048 .grid-cell:last-child{
      margin-right: 0; }

  .sacga-2048 .tile-container{
    position: absolute;
    z-index: 2; }

  .sacga-2048 .tile,  .sacga-2048 .tile .tile-inner{
    width: 58px;
    height: 58px;
    line-height: 58px; }
  .sacga-2048 .tile.tile-position-1-1{
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px); }
  .sacga-2048 .tile.tile-position-1-2{
    -webkit-transform: translate(0px, 67px);
    -moz-transform: translate(0px, 67px);
    -ms-transform: translate(0px, 67px);
    transform: translate(0px, 67px); }
  .sacga-2048 .tile.tile-position-1-3{
    -webkit-transform: translate(0px, 135px);
    -moz-transform: translate(0px, 135px);
    -ms-transform: translate(0px, 135px);
    transform: translate(0px, 135px); }
  .sacga-2048 .tile.tile-position-1-4{
    -webkit-transform: translate(0px, 202px);
    -moz-transform: translate(0px, 202px);
    -ms-transform: translate(0px, 202px);
    transform: translate(0px, 202px); }
  .sacga-2048 .tile.tile-position-2-1{
    -webkit-transform: translate(67px, 0px);
    -moz-transform: translate(67px, 0px);
    -ms-transform: translate(67px, 0px);
    transform: translate(67px, 0px); }
  .sacga-2048 .tile.tile-position-2-2{
    -webkit-transform: translate(67px, 67px);
    -moz-transform: translate(67px, 67px);
    -ms-transform: translate(67px, 67px);
    transform: translate(67px, 67px); }
  .sacga-2048 .tile.tile-position-2-3{
    -webkit-transform: translate(67px, 135px);
    -moz-transform: translate(67px, 135px);
    -ms-transform: translate(67px, 135px);
    transform: translate(67px, 135px); }
  .sacga-2048 .tile.tile-position-2-4{
    -webkit-transform: translate(67px, 202px);
    -moz-transform: translate(67px, 202px);
    -ms-transform: translate(67px, 202px);
    transform: translate(67px, 202px); }
  .sacga-2048 .tile.tile-position-3-1{
    -webkit-transform: translate(135px, 0px);
    -moz-transform: translate(135px, 0px);
    -ms-transform: translate(135px, 0px);
    transform: translate(135px, 0px); }
  .sacga-2048 .tile.tile-position-3-2{
    -webkit-transform: translate(135px, 67px);
    -moz-transform: translate(135px, 67px);
    -ms-transform: translate(135px, 67px);
    transform: translate(135px, 67px); }
  .sacga-2048 .tile.tile-position-3-3{
    -webkit-transform: translate(135px, 135px);
    -moz-transform: translate(135px, 135px);
    -ms-transform: translate(135px, 135px);
    transform: translate(135px, 135px); }
  .sacga-2048 .tile.tile-position-3-4{
    -webkit-transform: translate(135px, 202px);
    -moz-transform: translate(135px, 202px);
    -ms-transform: translate(135px, 202px);
    transform: translate(135px, 202px); }
  .sacga-2048 .tile.tile-position-4-1{
    -webkit-transform: translate(202px, 0px);
    -moz-transform: translate(202px, 0px);
    -ms-transform: translate(202px, 0px);
    transform: translate(202px, 0px); }
  .sacga-2048 .tile.tile-position-4-2{
    -webkit-transform: translate(202px, 67px);
    -moz-transform: translate(202px, 67px);
    -ms-transform: translate(202px, 67px);
    transform: translate(202px, 67px); }
  .sacga-2048 .tile.tile-position-4-3{
    -webkit-transform: translate(202px, 135px);
    -moz-transform: translate(202px, 135px);
    -ms-transform: translate(202px, 135px);
    transform: translate(202px, 135px); }
  .sacga-2048 .tile.tile-position-4-4{
    -webkit-transform: translate(202px, 202px);
    -moz-transform: translate(202px, 202px);
    -ms-transform: translate(202px, 202px);
    transform: translate(202px, 202px); }

  .sacga-2048 .tile .tile-inner{
    font-size: 35px; }

  .sacga-2048 .game-message p{
    font-size: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin-top: 90px !important; }
  .sacga-2048 .game-message .lower{
    margin-top: 30px !important; } }
