html,
body {
    margin: 0;
    padding: 0;
    background: rgba(250,248,240,1);
    color: rgba(117,100,82,1);
    font-family: Rubik,Arial,system-ui,sans-serif;
    font-size: 18px;
}

body {
    margin: 20px 0;
}

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

h1.title {
    font-size: 80px;
    font-weight: bold;
    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;
    }
}

.headline__title {
    font-weight: 900;
    font-size: 36px;
    line-height: 36px;
    margin: 0 0 5px 0;
}

.headline__p {
    color: #776e65;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    margin: 0 0 5px 0;
}

.scores-container {
  float: left;
  text-align: center; }

/*.score-container, .best-container, .cake-secrets {*/
/*  position: relative;*/
/*  display: inline-block;*/
/*  !*background: #f67098;*!*/
/*  background: rgba(186,172,154,1);*/
/*  padding: 10px 25px;*/
/*  font-size: 18px;*/
/*  height: 48px;*/
/*  line-height: 46px;*/
/*  font-weight: bold;*/
/*  border-radius: 3px;*/
/*  min-width:72px;*/
/*  color: white;*/
/*  text-align: center; }*/
  /*.score-container:after, .best-container:after {*/
  /*  position: absolute;*/
  /*  width: 100%;*/
  /*  top: 10px;*/
  /*  left: 0;*/
  /*  text-transform: uppercase;*/
  /*  font-size: 11px;*/
  /*  line-height: 13px;*/
  /*  text-align: center;*/
  /*  color: #eee4da; }*/
  /*.score-container .score-addition, .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; }*/

/*.score-container:after {*/
/*  content: "Score"; }*/

/*.best-container:after {*/
/*  content: "Best"; }*/

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

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

strong.important {
    text-transform: uppercase;
}

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

.gameplay-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;
    }
}

.game-container {
    margin-top: 10px;
    position: relative;
    padding: 15px;
    cursor: default;
    touch-action: none;
    border-radius: 22px;
    width: 500px;
    height: 500px;
    box-sizing: border-box;

    /*background-image: url("data:image/svg+xml;charset=utf-8,%3C!--%201754368125294.6375%20--%3E%3Csvg%20width%3D%22576%22%20height%3D%22576%22%20viewBox%3D%220%200%20576%20576%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20filter%3D%22url(%23filter0_ddi_893_2331)%22%3E%0A%3Crect%20x%3D%2242%22%20y%3D%2242%22%20width%3D%22492%22%20height%3D%22492%22%20rx%3D%2222%22%20fill%3D%22url(%23paint0_linear_893_2331)%22%20style%3D%22%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3Cfilter%20id%3D%22filter0_ddi_893_2331%22%20x%3D%2212%22%20y%3D%2222%22%20width%3D%22552%22%20height%3D%22552%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%0A%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%0A%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%0A%3CfeOffset%20dy%3D%2210%22%2F%3E%0A%3CfeGaussianBlur%20stdDeviation%3D%2215%22%2F%3E%0A%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%0A%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.548333%200%200%200%200%200.391667%200%200%200%200%200.235%200%200%200%200.18%200%22%2F%3E%0A%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_893_2331%22%2F%3E%0A%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%0A%3CfeOffset%20dy%3D%224%22%2F%3E%0A%3CfeGaussianBlur%20stdDeviation%3D%223%22%2F%3E%0A%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%0A%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.548333%200%200%200%200%200.391667%200%200%200%200%200.235%200%200%200%200.13%200%22%2F%3E%0A%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22effect1_dropShadow_893_2331%22%20result%3D%22effect2_dropShadow_893_2331%22%2F%3E%0A%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect2_dropShadow_893_2331%22%20result%3D%22shape%22%2F%3E%0A%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%0A%3CfeOffset%20dy%3D%22-1%22%2F%3E%0A%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22arithmetic%22%20k2%3D%22-1%22%20k3%3D%221%22%2F%3E%0A%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200%22%2F%3E%0A%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22shape%22%20result%3D%22effect3_innerShadow_893_2331%22%2F%3E%0A%3C%2Ffilter%3E%0A%3ClinearGradient%20id%3D%22paint0_linear_893_2331%22%20x1%3D%22288%22%20y1%3D%2242%22%20x2%3D%22288%22%20y2%3D%22534%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%0A%3Cstop%20stop-color%3D%22%23998C7E%22%20style%3D%22stop-color%3A%23998C7E%3Bstop-color%3Acolor(display-p3%200.6000%200.5475%200.4950)%3Bstop-opacity%3A1%3B%22%2F%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23988776%22%20style%3D%22stop-color%3A%23988776%3Bstop-color%3Acolor(display-p3%200.5958%200.5300%200.4642)%3Bstop-opacity%3A1%3B%22%2F%3E%0A%3C%2FlinearGradient%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A");*/

    background-image: url("data:image/svg+xml,%3Csvg width='576' height='576' viewBox='0 0 576 576' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='576' height='576' rx='22' fill='url(%23paint0_linear)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='288' y1='0' x2='288' y2='576' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23998C7E'/%3E%3Cstop offset='1' stop-color='%23988776'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");

    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: bold;
    height: 60px;
    line-height: 60px;
    margin-top: 100px;
}

.game-container .game-message .lower {
    display: block;
    margin-top: 59px;
}

.game-container .game-message a {
    display: inline-block;
    background: #f67098;
    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: #BAAC9A;

    box-shadow:
            inset 0 -1px 1px rgba(255, 255, 255, 0.15),
            inset 0 -4px 10px rgba(255, 255, 255, 0.075),
            inset 0 2px 6px rgba(110, 66, 20, 0.18),
            inset 0 1px 1px rgba(0, 0, 0, 0.23);
}

.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: 8px;
    background: #fff;             // #BAAC9A
    text-align: center;
    font-weight: bold;
    z-index: 10;
    font-size: 0px;
}

.tile.tile-2 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/2.webp');
    background-size: cover;
    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 {
    font-size: 0px;
    background-image: url('/theme/img/4.webp');
    background-size: cover;
    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 {
    font-size: 0px;
    background-image: url('/theme/img/8.webp');
    background-size: cover;
}

.tile.tile-16 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/16.webp');
    background-size: cover;
}

.tile.tile-32 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/32.webp');
    background-size: cover;
}

.tile.tile-64 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/64.webp');
    background-size: cover;
}

.tile.tile-128 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/128.webp');
    background-size: cover;
    /* box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286); */
}

.tile.tile-256 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/256.webp');
    background-size: cover;
    /* box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31746), inset 0 0 0 1px rgba(255, 255, 255, 0.19048); */
}

.tile.tile-512 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/512.webp');
    background-size: cover;
    /* box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.39683), inset 0 0 0 1px rgba(255, 255, 255, 0.2381); */
}

.tile.tile-1024 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/1024.webp');
    background-size: cover;
    /* box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571); */
}

.tile.tile-2048 .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/2048.webp');
    background-size: cover;
    /* box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55556), inset 0 0 0 1px rgba(255, 255, 255, 0.33333); */
}

.tile.tile-super .tile-inner {
    font-size: 0px;
    background-image: url('/theme/img/4096.webp');
}

@-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);
    }
}

.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);
    }
}

.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: #f67098;*!*/
/*  background: rgba(186,172,154,1);*/
/*  border-radius: 3px;*/
/*  padding: 0 10px;*/
/*  font-size:14px;*/
/*  text-decoration: none;*/
/*  color: #f9f6f2;*/
/*  height: 48px;*/
/*  line-height: 48px;*/
/*  text-align: center;*/
/*  float: right; }*/

/*.restart-button:hover {*/
/*  background: #a97a4d; }*/

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

@media screen and (max-width: 520px) {

  h1.title {
    font-size: 36px;
    margin-top: 10px; }

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

  .score-container, .best-container {
    margin-top: 0;
    padding: 10px 10px;
    min-width: 64px; }

  .heading {
    margin-bottom: 10px; }
  .game-intro {
    width: 55%;
    display: block;
    box-sizing: border-box;
    line-height: 1.65; }
  .restart-button {
    display: block;
    box-sizing: border-box;
    font-size:13px }

  .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: #f67098;*/
    background: #756452;
    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 {
        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: bold;
        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: 57.5px;
        height: 57.5px;
        margin-right: 10px;
        float: left;
        border-radius: 3px;
        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: 58px;
        height: 58px;
        line-height: 58px;
    }
    /* .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, 67px);
        -moz-transform: translate(0px, 67px);
        -ms-transform: translate(0px, 67px);
        transform: translate(0px, 67px);
    }
    .tile.tile-position-1-3 {
        -webkit-transform: translate(0px, 135px);
        -moz-transform: translate(0px, 135px);
        -ms-transform: translate(0px, 135px);
        transform: translate(0px, 135px);
    }
    .tile.tile-position-1-4 {
        -webkit-transform: translate(0px, 202px);
        -moz-transform: translate(0px, 202px);
        -ms-transform: translate(0px, 202px);
        transform: translate(0px, 202px);
    }
    .tile.tile-position-2-1 {
        -webkit-transform: translate(67px, 0px);
        -moz-transform: translate(67px, 0px);
        -ms-transform: translate(67px, 0px);
        transform: translate(67px, 0px);
    }
    .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, 0px);
        -moz-transform: translate(135px, 0px);
        -ms-transform: translate(135px, 0px);
        transform: translate(135px, 0px);
    }
    .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, 0px);
        -moz-transform: translate(202px, 0px);
        -ms-transform: translate(202px, 0px);
        transform: translate(202px, 0px);
    }
    .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 .tile-inner {
        font-size: 35px;
    }
    .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;
    }
}


.floating-window {
    position: fixed;
    top: 30%;
    right: 50%;
    width: 300px;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    border-radius: 8px;
    transform: translate(+50%, -50%);
}


.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.window-header span {
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}


.window-content {
    font-size: 14px;
}


.close-btn:hover {
    color: red;
}

.more-cupcakes {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.more-cupcakes img{
    width: 107px;
    height: 107px;
}

.more-cupcakes div{
    margin-left: 10px;
}

.more-cupcakes a{
    color: #f67098;
    margin-top: 10px;
}

.window-content div{
    font-size:16px;
    font-weight:800;
}

.gf-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--colorPrimary);
    color: #554e48;
    text-align: center;
    margin: 0px 15px 0px;
    position: relative;
    z-index: 201;
}

@media (min-width: 768px) {
    .gameplay-container{
        position: relative;
    }

    .gf-buttons {
        position: absolute;
        top: 200px;
        left: 750px;
        margin: 0;
    }

    .gf-buttons a {
        color: #fbfaf3;
    }

    .gf-buttons ul {
        flex-direction: column;
        list-style: none;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        max-width: 500px;
        margin: 0 auto;
        border: 1px solid #f67098;
        border-radius: 4px;
    }

    .gf-buttons > ul > li {
        position: relative;
        flex: 1;
        overflow: hidden;
    }
}

.gf-buttons > ul > li > a {
    display: block;
    padding: 5px 0px 7px;
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    position: relative;
    z-index: 2;
    background: #f67098;
}

.gf-buttons > ul > li:first-child > a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.gf-buttons > ul > li:last-child > a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.gf-buttons > ul > li > a > span {
    display: block;
}

.gf-buttons > ul > li > a > span:first-child {
    width: 100%;
    min-width: 40px;
    height: 40px;
    display: inline-block;
    background-color: transparent;
    background-position: center center;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.gf-buttons > ul > li > a > span:last-child {
}

.gf-buttons > ul > li > a:hover {
    background-color: #fbfaf3;
}


.gf-buttons > ul > li > a span.fs-start-btn {
    background-image: url(/theme/img/fullscreen-dark.svg);
}

.gf-buttons > ul > li > a span.custom-grid-btn {
    background-image: url(/theme/img/grid-dark.svg);
}

.gf-buttons > ul > li > a span.settings-btn {
    background-image: url(/theme/img/settings-dark.svg);
}

.gf-buttons > ul > li > a span.scores-btn {
    background-image: url(/theme/img/rank-dark.svg);
}

.gf-buttons > ul > li > a.options-btn {
    background-image: url(/theme/img/options2-dark.svg);
}

/* 手机布局 */
@media (max-width: 768px) {
    .headline {
        max-width: 600px;
        width: 100%;
        margin:auto;

    }
}

/* 768px 到 1024px：平板 */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 平板布局 */
    .headline {
        max-width: 600px;
        width: 80%;
        margin:auto;
    }
}


/* 1025px */
@media (min-width: 1025px) {
    /* 笔记本等布局 */
    .headline {
        max-width: 600px;
        width: 50%;
        margin:auto;
    }
}

.header {
    display: flex;
    justify-content: space-between; /* 两边分开 */
    align-items: center;            /* 垂直居中 */
    padding: 0 10px;                /* 两边加点内边距，形成空隙 */
    gap: 20px;                      /* 两个部分之间间距 */
    margin-bottom: 10px;
}

.logo_title{
    flex: 1;
    display: flex;
    align-items: center;  /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    gap: 10px; /* 内部元素之间空隙 */
}

.header_black{
    flex: 1;
}

.function_part {
    flex: 1;
    display: flex;
    align-items: center;  /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    gap: 10px; /* 内部元素之间空隙 */
}

.function_part > div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(117,100,82,1);
}

.function_part svg:hover {
    color: #ffffff;
    background: rgba(117,100,82,1);
}

.game-state {
    display: flex;
    justify-content: center; /* 水平居中两个框 */
    align-items: center;      /* 垂直居中 */
    height: 100%;             /* 父容器需要有高度 */
    gap: 20px;                /* 两个框之间的间距 */
    color: rgba(152,136,118,1);
}

.game-state-score {
    flex: 1; /* 尽可能平均占满宽度 */
    display: flex;
    justify-content: space-between; /* 上下两端对齐 */
    align-items: center; /* span 水平居中 */
    background-color: rgba(234,231,217,1);
    border-color: rgba(234,231,217,1);
    border-radius: .875rem;
    border-style: solid;
    padding: 8px 10px;
    font-size: .8rem;
    font-weight:600;
    line-height: 1.25rem;
    text-transform: uppercase;
}

.game-state-best {
    flex: 1; /* 尽可能平均占满宽度 */
    display: flex;
    /*flex-direction: column;*/
    justify-content: space-between; /* 上下两端对齐 */
    align-items: center; /* span 水平居中 */
    border: 2px solid rgba(234,231,217,1);
    border-radius: .875rem;
    padding: 8px 10px;
    font-size: .8rem;
    font-weight:600;
    line-height: 1.25rem;
    text-transform: uppercase;
}

.more-game-dialog.active,.setting-dialog.active{
    display: block;
    margin: 0;
    font-family: Arial, sans-serif;
}

.more-game-dialog,.setting-dialog{
    display: none;
    margin: 0;
    font-family: Arial, sans-serif;
}

.more-game-dialog .menu,.setting-dialog .menu{
    max-width: 500px;
    margin: 10px auto;
    background: rgba(250,248,240,0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 16px;
}

.more-game-dialog .title,.setting-dialog .title{
    text-align: center;
    color: #5d4a3c;
    font-size: 25px;
    margin-bottom: 12px;
}

.menu-item a{
    text-decoration: none;
}

.menu-item {
    border-radius: 8px;
    padding: 12px 16px;
    background: #f5f0e6;
    margin-bottom: 8px;
    cursor: pointer;
    font-family: Rubik,Arial,system-ui,sans-serif;
}
.menu-item:hover {
    background: #c4b49a;
}

.menu-item:hover span.icon,
.menu-item:hover span.info span.text,
.menu-item:hover span.name {
    color: #fff;
}

.menu-item.active:hover {
    background: #c4b49a;
    color: #fff;
}

.menu-item.active:hover span.icon,
.menu-item.active:hover span.name,
.menu-item.active:hover span.info span.text {
    color: #fff;
}

.menu-item.active {
    background: #d6cbb5;
    color: #fff;
}

.menu-item span.group {
    margin: 0;
    font-size: 18px;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    gap: .5rem;
}

.menu-item span.icon {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(117,100,82,1);
}

.menu-item span.info {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.menu-item span.info span.name{
    margin: 0;
    font-size: 18px;
    text-align:left;
}

.menu-item span.info span.text{
    margin: 4px 0 0 0;
    font-size: 14px;
    color: rgba(117,100,82,1);
}

.menu-item .switch-button {
    flex-grow: 1;
    text-align: right;
}

.app-section{

}

.old-version {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    color: #5d4a3c;
}

.old-version a {
    color: #5d4a3c;
    text-decoration: none;
    font-weight: bold;
}

.old-version a:hover {
    text-decoration: underline;
}


.feature-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: rgb(234 231 217 /1);
    border-width:0;
    border-style:solid;
    border-color: rgba(117, 100, 82, 1);
    border-radius: 22px;
    padding: 8px;
    margin: 10px auto 50px;
    width: fit-content;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

.undo-button, .swap-button, .delete-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px;
    gap: 5px;
    position: relative;
}

.undo-button .button-icon, .swap-button .button-icon, .delete-button .button-icon {
    padding: 8px;
    border-radius: 10px;
    background-color: #baac9a4d;
    /*background-color: rgb(167 155 139 / 1);*/
}

.undo-button .button-icon.active, .swap-button .button-icon.active, .delete-button .button-icon.active {
    padding: 8px;
    border-radius: 10px;
    /*background-color: #baac9a4d;*/
    background-color: rgb(167 155 139 / 1);
}

.feature-container svg{
    color: rgb(255 255 255 / 1);
    display: block;
    cursor: pointer;
}

div.button-time{
    display: flex;
    justify-content: space-between;
    /*gap: 5px;*/
    align-items: center;
    gap: 2px;
    background-color: rgb(234 231 217 /1);
    /*padding-left: 1px;*/
    /*padding-right: 1px;*/
    width: 80%;
    padding-bottom: 1px;
    padding-top: 3px;
}

.button-time-one, .button-time-two {
    /*width: 20px; !* 设置线条的宽度 *!*/
    height: 3px; /* 设置线条的高度 */
    background-color: #a79b8b4d; /* 设置线条的颜色 */
    border-radius: 2px; /* 设置圆角 */
    flex: 1;
}

.button-time-one.active,
.button-time-two.active {
    background-color: rgb(167 155 139 / 1);
}

/* 确保 .button-icon 本身不是定位元素（让 tooltip 往上找到外层容器） */
.undo-button .button-icon,
.swap-button .button-icon,
.delete-button .button-icon {
  position: static; /* 默认就是 static，写上更明确 */
}

/* tooltip 基础样式（隐藏态），相对外层容器定位到“按钮上方” */
.undo-button .button-icon .tooltip-material,
.swap-button .button-icon .tooltip-material,
.delete-button .button-icon .tooltip-material {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);         /* 在整个按钮块的正上方，间距 8px */
  transform: translateX(-50%);      /* 水平居中到按钮块 */
  background-color: rgb(83 79 72 / 1);
  color: #fff;
  font-size: .75rem;
  line-height: 1.2;
  border-radius: .875rem;
  padding: .75rem 1rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

/* 小三角（可选） */
.undo-button .button-icon .tooltip-material::after,
.swap-button .button-icon .tooltip-material::after,
.delete-button .button-icon .tooltip-material::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgb(83 79 72 / 1);
}

/* 只在“图标 hover”时显示 */
.undo-button .button-icon:hover .tooltip-material,
.swap-button .button-icon:hover .tooltip-material,
.delete-button .button-icon:hover .tooltip-material {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px); /* 轻微上移，柔和动效 */
}

.message-all{
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.message-all-title{
    text-transform: uppercase;
    font-weight: 500;
    opacity: .8;
}

.opacity-70{
    opacity: .5;
}

/* 初始隐藏 */
.modal.hidden { display: none; }

/* 让容器占满屏，但默认“不可点击”以便事件穿透到底下棋盘 */
.swap-modal,.delete-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;             /* ✨ 默认不拦截点击 */
}

/* 背景层默认也不拦截 */
.swap-modal .modal-backdrop,.delete-modal .modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 1;                       /* ✨ 默认透明（无遮罩） */
    pointer-events: none;             /* ✨ 允许穿透 */
    transition: opacity .15s ease;
}

/* 默认对话框（右上角提示模式） */
.swap-modal .modal-dialog, .delete-modal .modal-dialog{
    position: fixed;
    /*right: 16px;*/
    top: 16px;
    background: #fffaf0;
    color: #776e65;
    padding: 12px 16px;
    margin: 4px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    min-width: 260px;
    max-width: 380px;
    font-size: 18px;
    z-index: 1;
    pointer-events: auto;
    animation: popupIn 200ms ease-out; /* 出场动画 */
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* 阻塞确认模式（Step 3） */
.swap-modal.blocking .modal-dialog, .delete-modal.blocking .modal-dialog{
    position: relative;   /* 覆盖 fixed */
    top: auto;
    right: auto;
    min-width: 260px;
}

.swap-modal.blocking .modal-backdrop,.delete-modal.blocking .modal-backdrop {
    opacity: 1;                       /* ✨ 显示遮罩 */
    pointer-events: auto;             /* ✨ 遮罩也拦截点击 */
}

/* 其它小样式 */
.modal-text { margin: 0 0 12px; font-size: 18px; color: #776e65; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn { padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; }
.btn-cancel { background: #eee4da; color: #776e65; }
.btn-confirm { background: #8f7a66; color: #fff; }
.swap-button.raised { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.15); }
.delete-button.raised { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.15); }

.tile.tile-pick .tile-inner {
    border: 2px dashed red;
    background-color: rgba(255, 0, 0, 0.1); /* 淡红色背景高亮 */
    transform: scale(1.2);
    transition: transform 100ms ease, border 100ms ease, background-color 100ms ease;
}

/* 删除用影子 tile 的动画 */
.tile-vanish {
  animation: tileVanish 200ms ease forwards;
  /* 可选：避免 hover/点击等 */
  pointer-events: none;
}

@keyframes tileVanish {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.6); }
}

/* 基础样式 */
.game-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(50, 50, 50, 0.9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 显示时动画 */
.game-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 消失时动画 */
.game-toast.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
}

/* 底栏容器：整行，居中对齐 */
.game-footer-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* margin-top: 12px;         与棋盘留距离 */
  padding: 10px 14px;
  background: #faf8ef;      /* 贴合 2048 的底色 */
  color: rgba(152,136,118,1);
  border-radius: 10px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,.08); */
  user-select: none;
}

/* 左右两侧文本 */
.gfb-left, .gfb-right{
  display: flex;
  align-items: center;
  gap: 8px;
  /* min-width: 120px; */
}
.gfb-label{ opacity: .85; }
.gfb-moves, .gfb-time{ font-weight: 700; font-size: 16px; }

/* 中间大按钮（圆形） */
.gfb-center-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 64px; height: 64px; */
  border-radius: 50%;
  border: none;
  background: rgba(152,136,118,1);      /* 2048 主色 */
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.gfb-center-btn:hover{ transform: translateY(-1px) scale(1.02); }
.gfb-center-btn:active{ transform: translateY(0) scale(0.98); }
.gfb-center-btn:disabled{
  opacity: .6; cursor: not-allowed; filter: grayscale(30%);
}

/* SVG 图标大小适配 */
.gfb-icon{ display:block; width: 28px; height: 28px; }

/* 窄屏优化：按钮略小、左右最小宽度下降 */
@media (max-width: 420px){
  .gfb-center-btn{ 
    width:56px;
    /* height:56px;  */
}
  .gfb-left, .gfb-right{ min-width: 100px; }
}

.data-setting {
    position: relative;
}

.data-setting hr {
    display: block;
    width: 100%;
    height: 2px;
    margin: 12px 0;
    border: none;
    background: #e8ebf3;
}

.setting-title.toggle {
    color: #2e3239;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px
}

.setting-desc.toggle {
    text-align: left;
    max-width: 84%;
    display: inline-block
}

.setting-desc {
    color: #818692;
    font-size: 13px
}

.data-setting .checkbox {
    width: 48px;
    margin: -35px auto 0;
    position: absolute;
    right: 15px
}

.checkbox .label_check {
    line-height: 0;
    display: table-cell;
    height: 24px;
    vertical-align: top
}

.checkbox input[type=checkbox] {
    display: none
}

.checkbox input[type=checkbox] + .check_text {
    position: relative;
    display: block;
    width: 48px;
    height: 26px;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 100px;
    background: #dbe0ed
}

.checkbox input[type=checkbox]:checked + .check_text {
    background: #a97a4d;
}

.checkbox input[type=checkbox]:checked + .check_text:after {
    left: 25px
}

.checkbox input[type=checkbox] + .check_text:after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    content: '';
    transition: .2s linear;
    border-radius: 50%;
    background: #fff
}

span.tile-text .hide {
    display: none;
}

.switch-eyes-button>div{
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-eye,.open-eye{
    color: rgba(117,100,82,1);
}

.eye-swith .toggle-on {
  display: none;
}

.eye-swith .toggle-off {
  
  border-radius: 4px;
  padding: 2px;
}

.eye-swith.active .toggle-off {
  display: none;
}

.eye-swith.active .toggle-on {
  display: inline;
  color: rgba(117,100,82,1);
}

.tile-text.noshow{
    display: none;
}
