@charset "UTF-8";
@-webkit-keyframes move-up {
  0% {
    top: -15px;
    opacity: 1;
  }
  to {
    top: -50px;
    opacity: 0;
  }
}
@-moz-keyframes move-up {
  0% {
    top: -15px;
    opacity: 1;
  }
  to {
    top: -50px;
    opacity: 0;
  }
}
@keyframes move-up {
  0% {
    top: -15px;
    opacity: 1;
  }
  to {
    top: -50px;
    opacity: 0;
  }
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }
  to {
    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);
  }
  to {
    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);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
@-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);
  }
  to {
    -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);
  }
  to {
    -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);
  }
  to {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
:root {
  --g-body-bg: #faf8ef;
  --g-game-bg: #bbada0;
  --grid-cell-bg-color: rgba(238, 228, 218, 0.35);
  --game-message-bg-color: rgba(238, 228, 218, 0.73);
  --g-button-shadow-color: rgba(0, 0, 0, 0.3);
  --h1-text-shadow: 0 0.15ch 15px oklch(0.51 0 0);
  --h1-text-hover-shadow: 0 0.15ch 15px oklch(0.31 0 0);
}
.g-dark {
  --g-body-bg: #181a1b;
  --g-game-bg: #3a3a3a;
  --grid-cell-bg-color: rgb(113, 113, 113);
  --game-message-bg-color: rgb(3 25 26 / 73%);
  --g-button-shadow-color: rgba(255, 255, 255, 0.3);
  --h1-text-shadow: 0 0.15ch 15px oklch(0.31 0 0);
  --h1-text-hover-shadow: 0 0.15ch 15px oklch(0.51 0 0);
}

.heading {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
h1.title {
  font-size: 80px;
  font-weight: 700;
  margin: 0;
  display: block;
  float: left;
}
h1 a {
  text-shadow: var(--h1-text-shadow);
  transition: all 300ms ease-in-out;
}
h1 a:hover {
  text-shadow: var(--h1-text-hover-shadow);
}
.tile-inner strong:first-child,
h1.title strong:first-child {
  color: #ea4335;
}
.tile-inner strong:nth-child(2),
h1.title strong:nth-child(2) {
  color: #34a853;
}
.tile-inner strong:nth-child(3),
h1.title strong:nth-child(3) {
  color: #fbbc05;
}
.tile-inner strong:nth-child(4),
h1.title strong:nth-child(4) {
  color: #4285f4;
}
.control-buttons {
  margin-top: 10px;
}
.above-game:after,
.control-buttons::after {
  display: block;
  content: "";
  clear: both;
}
.control-button,
.game-container .game-message .lower a {
  background: #ea4335;
  border-radius: 3px;
  text-decoration: none;
  height: 40px;
  line-height: 42px;
}
.control-button {
  box-sizing: border-box;
  padding: 0 10px;
  color: #fff;
  display: block;
  text-align: center;
  width: 30%;
  -webkit-user-select: none;
  user-select: none;
}
.control-button:active,
.keep-playing-button:active,
.retry-button:active {
  box-shadow: 2px 2px 5px #3a1818;
  transform: translate(5px, 5px);
  transition: 0s;
}
.bot-button {
  float: left;
}
.restart-button {
  float: right;
}
.lower a:hover,
a.control-button:hover {
  box-shadow: 0 4px 8px 0 var(--g-button-shadow-color),
    0 6px 20px 0 var(--g-button-shadow-color);
  transition: all 0.3s ease-in-out;
}
.scores-container {
  float: right;
  text-align: right;
}
.best-container,
.score-container {
  position: relative;
  box-sizing: content-box;
  display: inline-block;
  background: #34a853;
  padding: 10px 35px;
  font-size: 18px;
  height: 22px;
  line-height: 39px;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  margin-top: 4px;
  text-align: center;
}
.best-container {
  background-color: #fbbc05;
  margin-left: 5px;
}
.best-container:after,
.score-container:after {
  position: absolute;
  width: 100%;
  top: 10px;
  left: 0;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
  color: #fff;
}
.best-container .score-addition,
.score-container .score-addition {
  position: absolute;
  right: 30px;
  color: #ea4335;
  font-size: 25px;
  line-height: 25px;
  font-weight: 700;
  z-index: 100;
  -webkit-animation: move-up 0.6s ease-in;
  -moz-animation: move-up 0.6s ease-in;
  animation: move-up 0.6s ease-in;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
}
.score-container:after {
  content: "Score";
}
.best-container:after {
  content: "Best";
}
[lang="ja"] .score-container:after {
  content: "スコア";
}
[lang="ja"] .best-container:after {
  content: "ベスト";
}
[lang="zh-TW"] .score-container:after {
  content: "分數";
}
[lang="zh-TW"] .best-container:after {
  content: "最佳";
}
[lang="ko"] .score-container:after {
  content: "점수";
}
[lang="ko"] .best-container:after {
  content: "최고";
}
[lang="da"] .score-container:after {
  content: "Point";
}
[lang="da"] .best-container:after {
  content: "Bedste";
}
[lang="de"] .score-container:after {
  content: "Punktzahl";
}
[lang="de"] .best-container:after {
  content: "Beste";
}
[lang="es"] .score-container:after {
  content: "Puntuación";
}
[lang="es"] .best-container:after {
  content: "Mejor";
}
[lang="fi"] .score-container:after {
  content: "Pisteet";
}
[lang="fi"] .best-container:after {
  content: "Paras";
}
[lang="fr"] .score-container:after {
  content: "Score";
}
[lang="fr"] .best-container:after {
  content: "Meilleur";
}
[lang="it"] .score-container:after {
  content: "Punteggio";
}
[lang="it"] .best-container:after {
  content: "Migliore";
}
[lang="nl"] .score-container:after {
  content: "Score";
}
[lang="nl"] .best-container:after {
  content: "Beste";
}
[lang="no"] .score-container:after {
  content: "Poengsum";
}
[lang="no"] .best-container:after {
  content: "Beste";
}
[lang="pl"] .score-container:after {
  content: "Wynik";
}
[lang="pl"] .best-container:after {
  content: "Najlepszy";
}
[lang="pt-PT"] .score-container:after {
  content: "Pontuação";
}
[lang="pt-PT"] .best-container:after {
  content: "Melhor";
}
[lang="ru"] .score-container:after {
  content: "Счет";
}
[lang="ru"] .best-container:after {
  content: "Лучший";
}
[lang="sv"] .score-container:after {
  content: "Poäng";
}
[lang="sv"] .best-container:after {
  content: "Bästa";
}
[lang="tr"] .score-container:after {
  content: "Puan";
}
[lang="tr"] .best-container:after {
  content: "En İyi";
}
[lang="vi"] .score-container:after {
  content: "Điểm";
}
[lang="vi"] .best-container:after {
  content: "Tốt nhất";
}
[lang="hi"] .score-container:after {
  content: "स्कोर";
}
[lang="hi"] .best-container:after {
  content: "सर्वश्रेष्ठ";
}
[lang="ur"] .score-container:after {
  content: "نمبر";
}
[lang="ur"] .best-container:after {
  content: "بہترین";
}
[lang="ar"] .score-container:after {
  content: "نقاط";
}
[lang="ar"] .best-container:after {
  content: "الأفضل";
}
p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.65;
}
a {
  color: #776e65;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
strong.important {
  text-transform: uppercase;
}
hr {
  border: 0;
  border-bottom: 1px solid var(--g-border-color);
}
.container {
  display: flex;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
}
.container .left-panel {
  flex: 1;
  max-width: 500px;
}
.container .right-panel {
  flex: 1;
  max-width: 380px;
}
.game-container {
  position: relative;
  padding: 0;
  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: transparent;
  border-radius: 6px;
  width: 475px;
  height: 475px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.game-container .game-message {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  text-align: center;
  -webkit-animation: fade-in 0.8s ease 1.2s;
  -moz-animation: fade-in 0.8s ease 1.2s;
  animation: fade-in 0.8s ease 1.2s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
}
.game-container .game-message p {
  font-size: 60px;
  font-weight: 700;
  height: 60px;
  line-height: 60px;
  margin-top: 60px;
}
.game-container .game-message .lower {
  display: block;
  margin-top: 59px;
}
.game-container .game-message .lower a {
  display: inline-block;
  padding: 0 20px;
  color: #f9f6f2;
  margin-left: 9px;
}
[dir="rtl"] .game-container .game-message .lower a {
  margin-left: 0;
  margin-right: 9px;
}
.game-container .game-message a.keep-playing-button {
  display: none;
}
.game-container .game-message.game-over,
.game-container .game-message.game-won {
  background: rgb(0 0 0/70%);
  color: #12ff00;
  display: block;
}
.game-container .game-message.game-won a.keep-playing-button {
  display: inline-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: 3px;
  background: #fff;
}
.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(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.tile.tile-position-1-2 {
  -webkit-transform: translate(0, 121px);
  -moz-transform: translate(0, 121px);
  -ms-transform: translate(0, 121px);
  transform: translate(0, 121px);
}
.tile.tile-position-1-3 {
  -webkit-transform: translate(0, 242px);
  -moz-transform: translate(0, 242px);
  -ms-transform: translate(0, 242px);
  transform: translate(0, 242px);
}
.tile.tile-position-1-4 {
  -webkit-transform: translate(0, 363px);
  -moz-transform: translate(0, 363px);
  -ms-transform: translate(0, 363px);
  transform: translate(0, 363px);
}
.tile.tile-position-2-1 {
  -webkit-transform: translate(121px, 0);
  -moz-transform: translate(121px, 0);
  -ms-transform: translate(121px, 0);
  transform: translate(121px, 0);
}
.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, 0);
  -moz-transform: translate(242px, 0);
  -ms-transform: translate(242px, 0);
  transform: translate(242px, 0);
}
.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, 0);
  -moz-transform: translate(363px, 0);
  -ms-transform: translate(363px, 0);
  transform: translate(363px, 0);
}
.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: 0.1s ease-in-out;
  -moz-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
}
.tile .tile-inner {
  border-radius: 3px;
  background: #eee4da;
  text-align: center;
  font-weight: 700;
  z-index: 10;
  font-size: 55px;
}
.tile.tile-2 .tile-inner,
.tile.tile-4 .tile-inner {
  color: #f9f6f2;
  box-shadow: 0 0 30px 10px transparent, inset 0 0 0 1px transparent;
}
.tile.tile-2 .tile-inner {
  background: #4285f4;
}
.tile.tile-4 .tile-inner {
  background: #ea4335;
}
.tile.tile-8 .tile-inner {
  color: #f9f6f2;
  background: #fbbc05;
}
.tile.tile-16 .tile-inner {
  color: #f9f6f2;
  background: #34a853;
}
.tile.tile-32 .tile-inner {
  color: #f9f6f2;
  background: #e84e9b;
}
.tile.tile-64 .tile-inner {
  color: #f9f6f2;
  background: #27a28b;
}
.tile.tile-128 .tile-inner {
  color: #f9f6f2;
  background: #f67c5f;
  box-shadow: 0 0 30px 10px rgba(246, 124, 95, 0.2381),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
  font-size: 45px;
}
.tile.tile-256 .tile-inner {
  color: #f9f6f2;
  background: #2b5bad;
  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;
}
.tile.tile-512 .tile-inner {
  color: #f9f6f2;
  background: #edc850;
  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;
}
.tile.tile-1024 .tile-inner {
  color: #f9f6f2;
  background: #b79473;
  box-shadow: 0 0 30px 10px rgba(183, 148, 115, 0.47619),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
  font-size: 35px;
}
.tile.tile-2048 .tile-inner {
  color: #f9f6f2;
  background: #976f43;
  box-shadow: 0 0 30px 10px rgba(151, 111, 67, 0.55556),
    inset 0 0 0 1px rgba(255, 255, 255, 0.33333);
  font-size: 35px;
}
.tile.tile-super .tile-inner {
  color: #f9f6f2;
  background: #3c3a32;
  font-size: 30px;
}
.tile-merged .tile-inner,
.tile-new .tile-inner {
  -webkit-animation: appear 0.2s ease 0.1s;
  -moz-animation: appear 0.2s ease 0.1s;
  animation: appear 0.2s ease 0.1s;
  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.tile-merged .tile-inner {
  z-index: 20;
  -webkit-animation: pop 0.2s ease 0.1s;
  -moz-animation: pop 0.2s ease 0.1s;
  animation: pop 0.2s ease 0.1s;
}
.game-intro {
  float: left;
  line-height: 42px;
  margin-bottom: 0;
}
[dir="rtl"] .game-intro {
  float: right;
}
.game-explanation {
  font-size: 15px;
}
.copyright {
  text-align: center;
  clear: both;
}
.container .copyright,
.copyright {
  border-top: 1px solid var(--g-border-color);
  margin-top: 10px;
  padding-top: 10px;
}
.container .copyright,
.container .copyright a {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}
@media screen and (max-width: 520px) {
  body {
    margin: 20px 0;
    padding: 0 20px;
  }
  h1.title {
    font-size: 55px;
  }
  .scores-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
  .container {
    width: 360px;
    margin: 0 auto;
    font-size: 15px;
  }
  .best-container,
  .score-container {
    margin-top: 0;
    padding: 10px;
    min-width: 60px;
  }
  .heading {
    margin-bottom: 2px;
    flex-direction: column;
  }
  .game-intro {
    line-height: 1.65;
  }
  .control-button {
    width: 33%;
  }
  .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;
    border-radius: 6px;
    width: 360px;
    height: 360px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .game-container .game-message {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0 0 0/50%);
    z-index: 100;
    text-align: center;
    -webkit-animation: fade-in 0.8s ease 1.2s;
    -moz-animation: fade-in 0.8s ease 1.2s;
    animation: fade-in 0.8s ease 1.2s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .game-container .game-message p {
    font-size: 60px;
    font-weight: 700;
    height: 60px;
    line-height: 60px;
    margin-top: 60px;
  }
  .game-container .game-message .lower {
    display: block;
    margin-top: 10px;
  }
  .game-container .game-message .lower a {
    display: inline-block;
    background: #ea4335;
    border-radius: 3px;
    padding: 0 20px;
    text-decoration: none;
    color: #f9f6f2;
    height: 40px;
    line-height: 42px;
    margin-left: 9px;
  }
  [dir="rtl"] .game-container .game-message .lower a {
    margin-left: 0;
    margin-right: 9px;
  }
  .game-container .game-message a.keep-playing-button {
    display: none;
  }
  .game-container .game-message.game-over,
  .game-container .game-message.game-won {
    background: rgb(0 0 0/70%);
    color: #12ff00;
    display: block;
  }
  .game-container .game-message.game-won a.keep-playing-button {
    display: inline-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: 77.5px;
    height: 77.5px;
    margin-right: 10px;
    float: left;
    border-radius: 3px;
  }
  .grid-cell:last-child {
    margin-right: 0;
  }
  .tile-container {
    position: absolute;
    z-index: 2;
  }
  .tile,
  .tile .tile-inner {
    width: 78px;
    height: 78px;
    line-height: 78px;
  }
  .tile.tile-position-1-1 {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .tile.tile-position-1-2 {
    -webkit-transform: translate(0, 87px);
    -moz-transform: translate(0, 87px);
    -ms-transform: translate(0, 87px);
    transform: translate(0, 87px);
  }
  .tile.tile-position-1-3 {
    -webkit-transform: translate(0, 175px);
    -moz-transform: translate(0, 175px);
    -ms-transform: translate(0, 175px);
    transform: translate(0, 175px);
  }
  .tile.tile-position-1-4 {
    -webkit-transform: translate(0, 262px);
    -moz-transform: translate(0, 262px);
    -ms-transform: translate(0, 262px);
    transform: translate(0, 262px);
  }
  .tile.tile-position-2-1 {
    -webkit-transform: translate(87px, 0);
    -moz-transform: translate(87px, 0);
    -ms-transform: translate(87px, 0);
    transform: translate(87px, 0);
  }
  .tile.tile-position-2-2 {
    -webkit-transform: translate(87px, 87px);
    -moz-transform: translate(87px, 87px);
    -ms-transform: translate(87px, 87px);
    transform: translate(87px, 87px);
  }
  .tile.tile-position-2-3 {
    -webkit-transform: translate(87px, 175px);
    -moz-transform: translate(87px, 175px);
    -ms-transform: translate(87px, 175px);
    transform: translate(87px, 175px);
  }
  .tile.tile-position-2-4 {
    -webkit-transform: translate(87px, 262px);
    -moz-transform: translate(87px, 262px);
    -ms-transform: translate(87px, 262px);
    transform: translate(87px, 262px);
  }
  .tile.tile-position-3-1 {
    -webkit-transform: translate(175px, 0);
    -moz-transform: translate(175px, 0);
    -ms-transform: translate(175px, 0);
    transform: translate(175px, 0);
  }
  .tile.tile-position-3-2 {
    -webkit-transform: translate(175px, 87px);
    -moz-transform: translate(175px, 87px);
    -ms-transform: translate(175px, 87px);
    transform: translate(175px, 87px);
  }
  .tile.tile-position-3-3 {
    -webkit-transform: translate(175px, 175px);
    -moz-transform: translate(175px, 175px);
    -ms-transform: translate(175px, 175px);
    transform: translate(175px, 175px);
  }
  .tile.tile-position-3-4 {
    -webkit-transform: translate(175px, 262px);
    -moz-transform: translate(175px, 262px);
    -ms-transform: translate(175px, 262px);
    transform: translate(175px, 262px);
  }
  .tile.tile-position-4-1 {
    -webkit-transform: translate(262px, 0);
    -moz-transform: translate(262px, 0);
    -ms-transform: translate(262px, 0);
    transform: translate(262px, 0);
  }
  .tile.tile-position-4-2 {
    -webkit-transform: translate(262px, 87px);
    -moz-transform: translate(262px, 87px);
    -ms-transform: translate(262px, 87px);
    transform: translate(262px, 87px);
  }
  .tile.tile-position-4-3 {
    -webkit-transform: translate(262px, 175px);
    -moz-transform: translate(262px, 175px);
    -ms-transform: translate(262px, 175px);
    transform: translate(262px, 175px);
  }
  .tile.tile-position-4-4 {
    -webkit-transform: translate(262px, 262px);
    -moz-transform: translate(262px, 262px);
    -ms-transform: translate(262px, 262px);
    transform: translate(262px, 262px);
  }
  .tile[class*="tile-"] .tile-inner {
    font-size: 25px;
  }
}
@media screen and (max-width: 400px) {
  body {
    padding: 0;
  }
}
@media screen and (max-width: 360px) {
  body {
    margin: 20px 0;
    padding: 0 20px;
  }
  h1.title {
    font-size: 45px;
    margin-left: 15px;
  }
  [dir="rtl"] h1.title {
    margin-left: 0;
    margin-right: 15px;
  }
  .game-intro {
    line-height: 1;
    font-size: 14px;
  }
  .container {
    width: 280px;
    margin: 0 auto;
  }
  .game-container {
    margin: 17px auto 0;
    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;
    border-radius: 6px;
    width: 280px;
    height: 280px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .game-container .game-message p {
    margin-top: 20px;
  }
  .game-container .game-message .lower {
    margin-top: 5px;
  }
  .game-container .game-message .lower a {
    padding: 0 3px;
  }
  .control-button {
    width: 42%;
  }
  .grid-cell {
    width: 57.5px;
    height: 57.5px;
    margin-right: 10px;
    float: left;
    border-radius: 3px;
  }
  .tile,
  .tile .tile-inner {
    width: 58px;
    height: 58px;
    line-height: 58px;
  }
  .tile.tile-position-1-1 {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .tile.tile-position-1-2 {
    -webkit-transform: translate(0, 67px);
    -moz-transform: translate(0, 67px);
    -ms-transform: translate(0, 67px);
    transform: translate(0, 67px);
  }
  .tile.tile-position-1-3 {
    -webkit-transform: translate(0, 135px);
    -moz-transform: translate(0, 135px);
    -ms-transform: translate(0, 135px);
    transform: translate(0, 135px);
  }
  .tile.tile-position-1-4 {
    -webkit-transform: translate(0, 202px);
    -moz-transform: translate(0, 202px);
    -ms-transform: translate(0, 202px);
    transform: translate(0, 202px);
  }
  .tile.tile-position-2-1 {
    -webkit-transform: translate(67px, 0);
    -moz-transform: translate(67px, 0);
    -ms-transform: translate(67px, 0);
    transform: translate(67px, 0);
  }
  .tile.tile-position-2-2 {
    -webkit-transform: translate(67px, 67px);
    -moz-transform: translate(67px, 67px);
    -ms-transform: translate(67px, 67px);
    transform: translate(67px, 67px);
  }
  .tile.tile-position-2-3 {
    -webkit-transform: translate(67px, 135px);
    -moz-transform: translate(67px, 135px);
    -ms-transform: translate(67px, 135px);
    transform: translate(67px, 135px);
  }
  .tile.tile-position-2-4 {
    -webkit-transform: translate(67px, 202px);
    -moz-transform: translate(67px, 202px);
    -ms-transform: translate(67px, 202px);
    transform: translate(67px, 202px);
  }
  .tile.tile-position-3-1 {
    -webkit-transform: translate(135px, 0);
    -moz-transform: translate(135px, 0);
    -ms-transform: translate(135px, 0);
    transform: translate(135px, 0);
  }
  .tile.tile-position-3-2 {
    -webkit-transform: translate(135px, 67px);
    -moz-transform: translate(135px, 67px);
    -ms-transform: translate(135px, 67px);
    transform: translate(135px, 67px);
  }
  .tile.tile-position-3-3 {
    -webkit-transform: translate(135px, 135px);
    -moz-transform: translate(135px, 135px);
    -ms-transform: translate(135px, 135px);
    transform: translate(135px, 135px);
  }
  .tile.tile-position-3-4 {
    -webkit-transform: translate(135px, 202px);
    -moz-transform: translate(135px, 202px);
    -ms-transform: translate(135px, 202px);
    transform: translate(135px, 202px);
  }
  .tile.tile-position-4-1 {
    -webkit-transform: translate(202px, 0);
    -moz-transform: translate(202px, 0);
    -ms-transform: translate(202px, 0);
    transform: translate(202px, 0);
  }
  .tile.tile-position-4-2 {
    -webkit-transform: translate(202px, 67px);
    -moz-transform: translate(202px, 67px);
    -ms-transform: translate(202px, 67px);
    transform: translate(202px, 67px);
  }
  .tile.tile-position-4-3 {
    -webkit-transform: translate(202px, 135px);
    -moz-transform: translate(202px, 135px);
    -ms-transform: translate(202px, 135px);
    transform: translate(202px, 135px);
  }
  .tile.tile-position-4-4 {
    -webkit-transform: translate(202px, 202px);
    -moz-transform: translate(202px, 202px);
    -ms-transform: translate(202px, 202px);
    transform: translate(202px, 202px);
  }
  .tile[class*="tile-"] .tile-inner {
    font-size: 20px;
  }
}
.text_nav a {
  font-size: 16px;
}
.text_nav_link {
  width: unset;
}
#tr_slot468 {
  width: unset;
  max-width: 468px;
  min-height: 90px;
  margin: 0 auto;
}
#tr_slot468 .trc_spotlight_item {
  border: 1px solid #ddd;
  border-radius: 7px !important;
  overflow: hidden !important;
  background: #fff !important;
}
#tr_slot468 .trc-main-label span,
#tr_slot468 .video-label-box span {
  color: #000 !important;
  padding: 17px 3px 0 !important;
}
#tr_slot1x2 .trc_spotlight_item {
  background-color: transparent !important;
  box-shadow: none !important;
}
@media screen and (max-width: 320px) {
  body {
    padding: 0;
  }
}
#tr_slot1x2 {
  padding-top: 70px;
}
#tr_slot1x1 {
  display: none;
}
@media screen and (max-width: 960px) {
  .container {
    justify-content: center;
  }
  .right-panel {
    display: none;
  }
  #tr_slot1x1 {
    display: block;
  }
  .above-game {
    position: relative;
  }
}
#tr_slot468 .thumbBlock_holder::before,[data-item-thumb^="https://tpc."] .thumbBlock_holder::before
{
  box-shadow: unset;
}
#rbox-t2m {
  box-shadow: none;
}
#tr_slot1x2 .trc_spotlight_item,
.thumbBlock_holder::before {
  border-radius: 7px 7px 0 0 !important;
}
.g-dark .video-cta-button {
  color: unset !important;
  border-color: unset !important;
}
