body,
html {
  height: 100%;
}
* {
  box-sizing: border-box;
}
body {
  font-size: 18px;
  font-weight: normal;
  line-height: 140%;
  color: white;
  position: relative;
  background: #017738;
  font-family: "Sofia Sans", sans-serif;
}
img {
  max-width: 100%;
}
button,
input,
select,
textarea {
  outline: none;
  box-sizing: border-box;
}
input,
textarea,
select {
  font-family: "Sofia Sans", sans-serif;
  border-radius: 22px;
  height: 44px;
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 16px;
}
input:focus,
textarea:focus,
select:focus {
  border: 1px solid #252D41;
}
input.error {
  box-shadow: inset 0 0 0px 2px red;
}
input.error ~ label {
  display: none !important;
}
input.error ~ .hint {
  display: block;
}
.input-field {
  position: relative;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #C8B8AC;
}
textarea {
  height: 120px;
  resize: none;
}
button {
  font-family: "Sofia Sans", sans-serif;
  background: #00823d;
  box-shadow: 0 3px 0 0 #18623a;
  border-radius: 22px;
  height: 44px;
  padding: 0 32px;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 18px;
}
button:hover {
  background: #1C863F;
  box-shadow: none;
}
button.yellow {
  background: #DB9037;
  box-shadow: 0 3px 0 0 #9e5b0b;
}
button.yellow:hover {
  background: #d28a31;
  box-shadow: none;
}
button.blue {
  background: #368cba !important;
  box-shadow: 0 3px 0 0 #145173 !important;
}
button.blue:hover {
  background: #0D8ED8;
  box-shadow: none;
}
button:disabled {
  background: #A1A0A4;
  box-shadow: 0 3px 0 0 #88868C;
  color: #C2C1C7;
}
button:disabled::before {
  opacity: 0.4;
}
button:disabled:hover {
  background: #A1A0A4;
  box-shadow: 0 3px 0 0 #88868C;
}
button.play {
  background: #ce514b;
  box-shadow: 0 3px 0 0 #18623a;
  font-size: 20px;
}
h1,
h2 {
  margin: 0;
  margin-bottom: 0px;
}
h1 {
  font-size: 42px;
  line-height: 56px;
  margin-bottom: 12px;
  font-weight: 400;
}
a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}
a:hover {
  text-decoration: underline;
  color: white;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  margin: 0;
}
.wrapper {
  overflow: hidden;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flex.inline {
  display: inline-flex;
}
.flex.jcsb {
  justify-content: space-between;
}
.flex.jce {
  justify-content: flex-end;
}
.flex.ais {
  align-items: flex-start;
}
.flex.aic {
  align-items: center;
}
.flex.jcc {
  justify-content: center;
}
.flex.aib {
  align-items: flex-end;
}
.flex.nowrap {
  flex-wrap: nowrap;
}
.flex.grow {
  flex-grow: 2;
}
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.caption {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
}
.main-page {

}
header {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  padding: 24px 0 18px 0;
}
header .left-menu ul li {
  margin-right: 20px;
}
header .left-menu ul li:first-of-type {
  display: none;
}
header .left-menu ul li a {
  font-size: 18px;
}
header .right-menu ul li {
  margin-left: 20px;
}
header .right-menu ul li button {
  padding: 0 20px;
  font-size: 16px;
}
header .language {
  position: relative;
}
header .language .current {
  cursor: pointer;
  padding: 4px 7px 3px 10px;
}
header .language .current span {
  width: 20px;
  height: 20px;
  background: url('/assets/layout/img/icon-lang.svg') center center no-repeat;
  display: none;
}
header .language .current p {
  margin-left: 6px;
  font-size: 16px;
  position: relative;
  cursor: pointer;
}
header .language .current p:after {
  width: 20px;
  height: 20px;
  background: url('/assets/layout/img/icon-chevron.svg') center center no-repeat;
  content: '';
  margin-left: 3px;
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px;
}
header .language.active .dropdown {
  display: block;
}
header .language.active .current {
  border-radius: 8px 8px 0 0;
  background: #056f34;
}
header .language .dropdown {
  position: absolute;
  display: none;
  z-index: 3;
  top: 100%;
  right: 0;
  border-radius: 8px 0 8px 8px;
  background: #056e34;
  padding: 10px 40px;
}
header .language .dropdown li {
  margin-left: 0;
}
header .language .dropdown li:first-of-type {
  display: none;
}
header .language .dropdown .item {
  color: white;
  line-height: 240%;
  white-space: nowrap;
  overflow: hidden;
}
header .close {
  filter: brightness(0) invert(1);
}
.start-screen {
  text-align: center;
  flex-wrap: wrap;
}
.start-screen img {
  max-width: 220px;
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}
.start-screen .outline {
  position: relative;
  color: white;
  display: inline-block;
  font-family: "Sofia Sans Extra Condensed";
  font-size: 80px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  z-index: 1;
  text-shadow: 0 4px 0 #18623a;
}
.start-screen .outline:before {
  content: attr(data-outline-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke-width: 20px;
  -webkit-text-stroke-color: #1C863F;
}
.start-screen button {
  position: relative;
  margin: 35px auto 0;
  height: 58px;
  border-radius: 29px;
  padding: 0 50px 0 80px;
  display: block;
}
.start-screen button:before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -12px;
  left: 50px;
  width: 24px;
  height: 24px;
  background: url('/assets/layout/img/icon-play.svg') center center no-repeat;
}
.start-screen p {
  max-width: 800px;
  margin: 0 auto;
}
.start-screen .text-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: #056d34;
  border-radius: 15px;
  text-align: left;
  line-height: 1.5;
  font-size: 18px;
}
.start-screen .text-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
}
.start-screen .text-content h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: white;
}
.start-screen .text-content p {
  margin-bottom: 16px;
  color: white;
  max-width: 100%;
}
.start-screen .text-content ul {
  margin-bottom: 20px;
  padding-left: 30px;
  color: white;
}
.start-screen .text-content li {
  margin-bottom: 10px;
}
.start-screen .text-content strong {
  font-weight: 700;
}
.game {
  background-color: #00823d;
  min-height: 100dvh;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 50px;
}
.game .drop-menu ul {
  display: none;
  position: absolute;
  min-height: 100dvh;
  width: 100%;
  border-radius: 0;
  z-index: 51;
  padding: 50px 24px 50px 24px;
  top: 0;
  background: rgba(28, 51, 32, 0.9);
  backdrop-filter: blur(5.55000019px);
  text-align: center;
  left: 0;
  right: 0;
  line-height: 200%;
}
.game .drop-menu ul .close {
  filter: brightness(0) invert(1);
}
.game .drop-menu ul li {
  margin: 15px 0;
}
.game .drop-menu ul li a {
  font-size: 24px;
}
.game .drop-menu ul.active {
  display: block;
}
.game .card {
  width: 100px;
  height: 140px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  touch-action: none;
}
.game .card.open.lower-card:not(.correctPlaced) .card-front {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  color: #000000;
  font-size: 17px;
  line-height: 110%;
  letter-spacing: -0.15px;
}
.game .card.open.lower-card:not(.correctPlaced) .card-front.card-cat {

}
.game .card.open.lower-card:not(.correctPlaced) .card-front .top {
  display: none;
}
.game .card.open.lower-card:not(.correctPlaced) .card-front img {
  height: 17px;
  margin-top: 0px;
}
.game .card.open.lower-card:not(.correctPlaced).top-card .card-front {
  align-items: center;
  color: #000000;
  font-size: 17px;
  letter-spacing: -0.16px;
  font-weight: 600;
}
.game .card.open.lower-card:not(.correctPlaced).top-card .card-front img {
  height: auto;
  margin-top: 0;
}
.game .card.open.top-card:not(.correctPlaced) .card-front {
  align-items: center !important;
  color: #000000;
  font-size: 17px;
  letter-spacing: -0.16px;
  font-weight: 600;
}
.game .card.open.top-card:not(.correctPlaced) .card-front img {
  height: auto;
  margin-top: 0;
}
.game .card.open.lower-card:not(.correctPlaced) .card-back {
  display: none;
}
.game .card .card-front {
  background-color: white;
  border-radius: 10px;
  border: 3px solid #c9c9c9;
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.game .card .card-front .top {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  background: url('/assets/layout/img/icon-diamond.svg') right center no-repeat;
  background-size: 18px auto;
  text-align: left;
}
.game .card .card-front.has-counter .top {
  background: none;
}
.game .card .card-front .top p {
  color: #333;
  font-size: 14px;
}
.game .card .card-front.card-cat {
  border-color: #DB9037;
}
.game .card .card-front .center {
  color: black;
  text-align: center;
  overflow-wrap: break-word;
  max-width: 100%;
}
.game .card .card-front .center img {
  object-fit: cover;
}
.game .card .card-back {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 5px solid #F5F2F2;
  background-color: #d2524b;
  background-image: conic-gradient(from 45deg, #bf4740 0% 25%, #d2524b 0% 50%, #bf4740 0% 75%, #d2524b 0% 100%), conic-gradient(from 45deg, #bf4740 0% 25%, #d2524b 0% 50%, #e45757 0% 75%, #d2524b 0% 100%);
  background-size: 45px 44px;
  background-position: 0px -1px, 25px 25px;
  --light-red: #d2524b;
  --dark-red: #bf4740;
}
.game .board {
  position: relative;
  min-height: 100dvh;
}
.game .board .card-place {
  width: 100px;
  flex-shrink: 0;
  height: 140px;
  position: relative;
  border-radius: 10px;
  background: #18623a;
  -webkit-box-shadow: inset 1px 1px 7px 6px #095d30;
  box-shadow: inset 1px 1px 7px 6px #095d30;
}
.game .board .stock .card-place:before {
  width: 50px;
  height: 50px;
  background: url(/assets/layout/img/icon-empty-stock.png) right center no-repeat;
  background-size: 50px auto;
  margin-left: -25px;
  margin-top: -23.5px;
}
.game .board .columns-row .card-place:before {
  width: 50px;
  height: 50px;
  background: none;
  background-size: 50px auto;
  margin-left: -25px;
  margin-top: -23.5px;
}
.game .board .card-place:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -24px;
  margin-top: -17.5px;
  width: 50px;
  height: 41px;
  background: url(/assets/layout/img/icon-diamond-green.png) right center no-repeat;
  background-size: 50px auto;
}
.game .board .top-panel {
  position: absolute;
  right: -100px;
  left: -100px;
  top: 54px;
}
.game .board .top-panel .left {
  position: absolute;
  top: 70px;
  left: -117px;
}
.game .board .top-panel .left .coins {
  position: relative;
  margin-left: 60px;
  border-radius: 0 15px 15px 0;
  background: #18623a;
  line-height: 28px;
  padding: 0px 17px;
}
.game .board .top-panel .left .coins:before {
  width: 32px;
  height: 32px;
  background: url('/assets/layout/img/icon-coin.png') center center no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: -24px;
  top: -2px;
  content: '';
}
.game .board .top-panel .center {
  position: relative;
  left: -109px;
  margin-top: 35px;
  font-size: 16px;
  width: 138px;
  text-align: center;
}
.game .board .top-panel .right {
  top: 0;
  position: absolute;
  right: -73px;
}
.game .board .top-panel .right .right-menu ul {
  display: flex;
}
.game .board .top-panel .right .right-menu ul li {
  margin-left: 10px;
}
.game .board .top-panel .right .right-menu ul li a {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #18623a;
}
.game .board .top-panel .right .right-menu ul li a.icon-smile {
  background: #18623a url('/assets/layout/img/icon-smile.svg') center center no-repeat;
}
.game .board .top-panel .right .right-menu ul li a.icon-settings {
  background: #18623a url('/assets/layout/img/icon-settings.svg') center center no-repeat;
}
.game .board .top-panel .right .right-menu ul li a.icon-burger {
  background: #18623a url('/assets/layout/img/icon-burger.svg') center center no-repeat;
}
.game .board .top-panel .right .right-menu ul li a:hover {
  background-color: #095B24;
}
.game .board .game-area .column .card:nth-child(2) {
  top: 23px;
}
.game .board .game-area .column .card:nth-child(3) {
  top: 46px;
}
.game .board .game-area .column .card:nth-child(4) {
  top: 69px;
}
.game .board .game-area .column .card:nth-child(5) {
  top: 92px;
}
.game .board .game-area .column .card:nth-child(6) {
  top: 115px;
}
.game .board .game-area .moves {
  position: absolute;
  top: 0;
  left: -140px;
  margin-left: -69px;
  border-radius: 0 0 10px 10px;
  background: #00823d;
  width: 138px;
  height: 80px;
  padding-top: 15px;
  text-align: center;
  box-shadow: 0 3px 0 0 #0d532d;
}
.game .board .game-area .moves .count {
  text-shadow: 0 3px 0 #0c532d;
  font-size: 32px;
  font-weight: 900;
}
.game .board .game-area .moves span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #18623a;
  border-top: 2px solid #017738;
  color: #bbdfc2;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  border-radius: 0 0 8px 8px;
}
.game .board .game-area .stock {
  left: 0;
}
.game .board .game-area .waste .penult-card {
  top: 20px;
}
.game .board .game-area .waste .penult-card.penult-card-two {
  top: 0px;
}
.game .board .game-area .waste .card-stack.single-card {
  top: 0px;
}
.game .board .game-area .waste .top-card {
  top: 20px;
}
.game .board .game-area .waste .top-card.single-card {
  top: 0px;
}
.game .board .foundations .card-place {
  margin-left: 32px;
}
.game .board .foundations .card-place .has-key-card {
  margin-top: -19px;
}
.game .board .foundations .foundation .foundation-stack {
  top: 18px;
}
.game .board .foundations .foundation .card {
  top: 16px;
  align-items: center;
}
.game .board .foundations .foundation .card:first-of-type {
  top: 0;
}
.game .board .foundations .foundation .card.start-slot:has(+ .foundation-stack) {
  top: -3px;
  align-items: flex-start;
  text-align: center;
  width: 102px;
  height: 162px;
  position: absolute;
  left: -1px;
}
.game .board .foundations .foundation .card.start-slot:has(+ .foundation-stack) .card-front {
  background: #FFBE0B;
  border: 0;
  box-shadow: 0 0.5px 2px 0.5px rgba(22, 18, 20, 0.3), 0 1.5px 0 0 #FFD255 inset;
}
.game .board .foundations .foundation .card.start-slot:has(+ .foundation-stack) .card-front .center {
  color: #28221f;
  font-size: 17px;
  font-style: normal;
  font-family: "Sofia Sans Extra Condensed";
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-top: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.game .board .foundations .foundation .card.start-slot:has(+ .foundation-stack) .top {
  top: 27px;
  z-index: 50;
}
.game .board .foundations .foundation .card.start-slot:has(+ .foundation-stack) .top p {
  text-align: left;
}
.game .board .columns .card-place {
  margin-left: 32px;
}
.game .board .bottom-panel {
  position: absolute;
  right: -226px;
  width: 175px;
  top: 125px;
}
.game .board .bottom-panel .actions button {
  margin: 0 13px;
  position: relative;
  padding-left: 60px;
  width: 100%;
  margin-bottom: 20px;
}
.game .board .bottom-panel .actions button .number {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 14px;
  text-align: center;
  line-height: 21px;
  border-radius: 12px;
  background: #B82900;
  box-shadow: 0 0 3px 0 #A70907 inset;
  width: 22px;
  height: 22px;
}
.game .board .bottom-panel .actions button:before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -12px;
  left: 20px;
  width: 24px;
  height: 24px;
}
.game .board .bottom-panel .actions button.advise:before {
  background: url('/assets/layout/img/icon-advise.svg') center center no-repeat;
  left: 30px;
}
.game .board .bottom-panel .actions button.back:before {
  background: url('/assets/layout/img/icon-back.svg') center center no-repeat;
  left: 38px;
}
.game .board .bottom-panel .actions button.restart {
  padding-left: 40px;
  padding-right: 15px;
}
.game .board .bottom-panel .actions button.restart:before {
  left: 15px;
  background: url('/assets/layout/img/icon-restart.svg') center center no-repeat;
}
.game .board .foundations,
.game .board .columns,
.game .board .cards,
.game .board .waste {
  position: absolute;
}
.game .board .foundations,
.game .board .columns {
  right: 0;
}
.game .board .foundations,
.game .board .cards {
  top: 54px;
}
.game .board .columns,
.game .board .waste {
  top: 230px;
}
footer {
  background: rgba(22, 18, 20, 0.1);
  width: 100%;
  padding: 22px 0;
  font-size: 15px;
}
footer .row {
  flex-wrap: nowrap;
}
footer .right {
  max-width: 440px;
  text-align: right;
}
footer .right li {
  margin-left: 10px;
}
.load-screen {
  background: linear-gradient(180deg, #34A249 0%, #2B7B3B 100%);
}
.load-screen .container {
  height: 100dvh;
  position: relative;
  padding-top: 100px;
}
.load-screen img {
  margin: 0 auto;
  display: block;
}
.load-screen .bottom {
  position: absolute;
  left: 0;
  bottom: 50px;
  right: 0;
  text-align: center;
}
.load-screen .progress {
  border-radius: 8.5px;
  background: #FEF7EF;
  width: 70%;
  height: 8px;
  margin: 0 auto;
  display: inline-block;
  overflow: hidden;
  position: relative;
}
.load-screen .progress span {
  position: absolute;
  left: 0;
  height: 100%;
  top: 0;
  background: linear-gradient(90deg, #EF9A42 0%, #FFBE0B 100%);
}
.md-overlay {
  width: 100%;
  cursor: pointer;
  background: rgba(28, 51, 32, 0.9);
  backdrop-filter: blur(5.55000019px);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  height: 100%;
  visibility: hidden;
}
.md-show {
  visibility: visible !important;
}
.md-show ~ .md-overlay {
  opacity: 1;
  visibility: visible;
}
.close {
  position: absolute;
  cursor: pointer;
  right: 20px;
  top: 20px;
  width: 18px;
  background: url('/assets/layout/img/icon-close.svg') center center no-repeat;
  height: 18px;
  background-size: 100%;
}
.close:hover {
  opacity: 0.8;
}
a.close:hover {
  opacity: 0.95;
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}
.pop-up {
  position: fixed;
  overflow: hidden;
  z-index: 101;
  visibility: hidden;
  -webkit-transform: translateY(-30%);
  -moz-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
  transform: translateY(-30%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  left: 50%;
  top: 50%;
  margin-left: -165px;
  margin-top: -200px;
  color: #333;
  text-align: center;
  width: 330px;
  height: auto;
  padding: 32px 32px;
  border-radius: 30px;
  border: 5px solid #DDD7D0;
  background: #FEF7EF;
}
.pop-up.md-show {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}
.pop-up .caption {
  font-size: 28px;
  margin-bottom: 10px;
}
.pop-up .separator {
  font-size: 14px;
  margin: 16px 0;
  text-transform: uppercase;
  position: relative;
}
.pop-up .separator:before,
.pop-up .separator:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 103px;
  height: 1px;
  background: #C8B8AC;
}
.pop-up .separator:before {
  left: 0;
}
.pop-up .separator:after {
  right: 0;
}
.pop-up input {
  width: 100%;
}
.pop-up button {
  width: 100%;
  margin-top: 10px;
  font-size: 20px;
}
.pop-up button.ggl {
  border: 1px solid #EA4335;
  background: #EA4335;
  box-shadow: none;
  border-radius: 23px;
  color: #fff;
  height: 46px;
}
.pop-up button.ggl p {
  background: url(/assets/layout/img/icon-google.svg) left center no-repeat;
  padding-left: 25px;
  display: inline-block;
}
.pop-up button.ggl:hover {
  box-shadow: none;
  background: #b63327;
}
.pop-up form {
  margin-top: 10px;
}
.pop-up form button {
  margin-top: 0;
}
.pop-up .link {
  margin-top: 0px;
}
.pop-up a {
  color: #96817F;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  text-decoration: underline;
}
.pop-up a:hover {
  text-decoration: none;
}
.pop-up .link-button {
  background: #00823d;
  box-shadow: 0 3px 0 0 #18623a;
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  cursor: pointer;
  padding: 0;
  font-family: "Sofia Sans", sans-serif;
}
.pop-up .link-button:hover {
  text-decoration: none;
}
.pop-up .btn.outline {
  background: transparent;
  color: #18623a;
  border: 2px solid #18623a;
  box-shadow: none;
}
.pop-up .btn.outline:hover {
  background: transparent;
  box-shadow: none;
  border-color: #095B24;
  color: #095B24;
}
.pop-up .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid #FFBE0B;
  overflow: hidden;
  margin-bottom: 12px;
}
.pop-up .level {
  border-radius: 18px;
  background: #368CBA;
  height: 36px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  padding: 8px 17px;
  margin-bottom: 2px;
  display: inline-block;
}
.pop-up .level span {
  position: relative;
  font-size: 16px;
  vertical-align: middle;
  line-height: 20px;
  font-weight: 700;
  display: block;
}
.pop-up .level span:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background: url('/assets/layout/img/icon-level.svg') center center no-repeat;
}
.pop-up .coins {
  position: relative;
  margin: 10px auto;
  width: fit-content;
  border-radius: 0 15px 15px 0;
  background: #18623a;
  line-height: 28px;
  padding: 0px 17px;
  font-size: 16px;
  font-weight: 700;
}
.pop-up .coins:before {
  width: 32px;
  height: 32px;
  background: url('/assets/layout/img/icon-coin.png') center center no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: -22px;
  top: -2px;
  content: '';
}
.pop-up .coins span {
  position: relative;
  font-size: 16px;
  vertical-align: middle;
  line-height: 28px;
  font-weight: 700;
  color: #fff;
}
.pop-up.pop-moves-out {
  padding: 20px;
  width: fit-content;
  min-width: 350px;
  height: fit-content;
  min-height: 350px;
  margin-left: -180px;
  margin-top: -190px;
}
.pop-up.pop-moves-out .caption {
  margin: 0;
}
.pop-up.pop-moves-out img {
  margin: a auto;
}
.pop-up.pop-moves-out p {
  margin-top: -5px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.18px;
}
.pop-up.pop-moves-out p span {
  color: #d2524b;
}
.pop-up.pop-moves-out button {
  width: fit-content;
  padding: 0 18px !important;
  padding-left: 50px;
  position: relative;
}
.pop-up.pop-moves-out button:before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -12px;
  left: 30px;
  width: 24px;
  height: 25px;
}
.pop-up.pop-moves-out button.coin-btn {
  width: 164px;
}
.pop-up.pop-moves-out .moves-links button:before {
  display: none;
}
.pop-up.pop-moves-out .moves-links button {
  padding-left: 0;
}
.pop-up.pop-moves-out .moves-links button.restart-game {
  
}
.pop-up.pop-moves-out .moves-links button.quit-game {
  background: #929292;
  box-shadow: 0 3px 0 0 #4c4c4c;
}
.pop-up.pop-moves-out button.play {
  margin-left: 5px;
}
.pop-up.pop-moves-out button.play:before {
  background: url('/assets/layout/img/icon-play.svg') center center no-repeat;
  background-size: 100% auto;
}
.pop-up.pop-moves-out button.yellow {
  margin-right: 5px;
}
.pop-up.pop-moves-out button.yellow:before {
  background: url('/assets/layout/img/icon-coin.svg') center center no-repeat;
  background-size: 100% auto;
}
.pop-up.pop-moves-out .separator {
  margin: 7px 0 0 0;
}
.pop-up.pop-moves-out .separator:before,
.pop-up.pop-moves-out .separator:after {
  display: none;
}
.pop-up.pop-moves-out .link {
  margin-top: 0;
}
.pop-up.pop-level-up {
  color: #FFBE0B;
  background-color: transparent;
  border-color: transparent;
  height: fit-content;
  margin-top: -220px;
}
.pop-up.pop-level-up img {
  margin-top: 10px;
}
.pop-up.pop-level-up button {
  width: fit-content;
  display: block;
  margin: 0 auto;
}
.pop-up.pop-level-up p {
  position: relative;
  padding-left: 35px;
  display: inline-block;
  line-height: 28px;
  top: -10px;
  margin: 0px 0 30px 0;
}
.pop-up.pop-level-up p:before {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: url('/assets/layout/img/icon-coin.png') center center no-repeat;
  background-size: 100% 100%;
}
.mobile {
  display: none;
}

.game .board .game-area .waste .single-card .top-card{ top: 0px; }

@media (max-width: 1200px) {
  .game .board .top-panel .left {
    left: 20px;
  }
  .game .board .top-panel .right {
    right: 20px;
  }
}
@media (max-width: 1100px) {
  .mobile {
    display: block;
  }
  body {
    font-size: 16px;
    background: #00823d;
  }
  .container {
    max-width: 430px;
    min-width: 360px;
    padding: 0 20px;
  }
  header {
    padding-top: 30px;
  }
  header .close {
    filter: brightness(0) invert(1);
  }
  header .left-menu {
    order: 2;
  }
  header .left-menu ul {
    display: none;
    position: absolute;
    width: 100%;
    border-radius: 0;
    z-index: 2;
    padding: 50px 24px 50px 24px;
    top: 0;
    min-height: 100dvh;
    background: rgba(28, 51, 32, 0.9);
    backdrop-filter: blur(5.55000019px);
    text-align: center;
    left: 0;
    right: 0;
    line-height: 170%;
  }
  header .left-menu ul.active {
    display: block;
  }
  header .left-menu ul li {
    margin: 15px 0;
  }
  header .left-menu ul li a {
    font-size: 24px;
  }
  header .left-menu ul li button {
    margin-top: 10px;
  }
  header .left-menu ul li:first-of-type {
    display: block;
  }
  header .left-menu .burger {
    width: 28px;
    height: 28px;
    background: url('/assets/layout/img/icon-burger.svg') center center no-repeat;
    background-size: 100% auto;
    cursor: pointer;
  }
  header .right-menu {
    order: 1;
  }
  header .right-menu > ul > li {
    margin-left: 0;
    display: none;
  }
  header .right-menu > ul > li:first-of-type {
    display: block;
  }
  header .language {
    position: static;
  }
  header .language .current {
    background: inherit;
    padding: 0;
  }
  header .language .current p {
    display: none;
  }
  header .language .current span {
    width: 28px;
    height: 28px;
    background-size: 100%;
    display: block;
  }
  header .language .dropdown {
    width: 100%;
    border-radius: 0;
    z-index: 2;
    padding: 130px 24px 300px 24px;
    top: 0;
    min-height: 100dvh;
    background: rgba(28, 51, 32, 0.9);
    backdrop-filter: blur(5.55000019px);
    text-align: center;
  }
  header .language .dropdown li:first-of-type {
    display: block;
  }
  .start-screen img {
    width: 220px;
    margin-bottom: 0px;
    margin-top: 100px;
  }
  .start-screen .outline {
    font-size: 62px;
    letter-spacing: 1.44px;
    margin-top: -60px;
    line-height: 90%;
  }
  .start-screen p {
    font-size: 15px;
  }
  .start-screen button {
    width: 100%;
  }
  .start-screen button:before {
    left: 50px;
  }
  .start-screen .text-content {
    margin: 40px auto 0;
    padding: 30px 20px;
    font-size: 16px;
  }
  .start-screen .text-content h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }
  .start-screen .text-content h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
  }
  .game .board .game-area .waste .top-card {
    top: 0px;
  }
  .game {
    width: 360px;
    padding: 0 10px;
  }
  .game .card {
    width: 79px;
    height: 107px;
    touch-action: none;
  }
  .game .card.stock-card {
    width: 79px ;
    height: 107px ;
  }
  .game .card.open:not(.start-slot):last-of-type .card-front {
    font-size: 14px;
  }
  .game .card.open:not(:last-of-type) .card-front {
    padding: 3px 0;
  }
  .game .card.open .card-front {
    font-size: 14px;
  }
  .game .board {
    padding-bottom: 250px;
  }
  .game .board .card-place {
    width: 79px;
    height: 107px;
  }
  .game .board .top-panel {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .game .board .top-panel .left {
    position: relative;
    left: 0;
    top: 2px;
  }
  .game .board .top-panel .left .coins {
    margin-left: 25px;
  }
  .game .board .top-panel .right {
    position: relative;
    right: 0;
  }
  .game .board .top-panel .right .burger {
    display: none;
  }
  .game .board .top-panel .center {
    margin-top: 5px;
    text-align: center;
    position: static;
  }
  .game .board .moves,
  .game .board .stock,
  .game .board .foundations,
  .game .board .columns,
  .game .board .cards,
  .game .board .top-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .game .board .game-area .moves {
    margin-left: 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    float: left;
    width: 79px;
    height: 107px;
    border-radius: 16px;
    border: 3px solid #18623a;
  }
  .game .board .game-area .moves .count {
    margin-top: 15px;
  }
  .game .board .game-area .moves span {
    border-radius: 0 0 10px 10px;
  }
  .game .board .game-area .stock {
    float: right;
    margin-bottom: 25px;
  }
  .game .board .game-area .stock .waste {
    top: 0;
    margin-top: 0;
    left: -105px;
    width: 79px;
    height: 107px;
  }
  .game .board .game-area .stock .waste .card-stack {
    top: auto;
  }
  .game .board .game-area .stock .waste .card-stack.penult-card {
    left: -20px;
  }
  .game .board .game-area .stock .waste .card-stack.top-card {
    left: -40px;
  }
  .game .board .game-area .stock .waste .card-stack.top-card.single-card {
    left: 0px;
  }
  .game .board .game-area .stock .waste .card-stack.top-card.penult-card.penult-card-two{
    left: -20px;
  }
  .game .board .game-area .stock .waste .card-stack .card.open .card-front {
    align-items: flex-start;
    writing-mode: vertical-rl;
  }
  .game .board .game-area .stock .waste .card-stack .card.open .card-front img {
    width: 20px;
  }
  .game .board .game-area .stock .waste .card-stack:last-of-type .card.open .card-front {
    align-items: center;
    justify-content: center;
    writing-mode: inherit;
  }
  .game .board .game-area .stock .waste .card-stack:last-of-type .card.open .card-front img {
    width: auto;
  }
  .game .board .game-area .foundations,
  .game .board .game-area .columns {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .game .board .game-area .foundations .column,
  .game .board .game-area .columns .column,
  .game .board .game-area .foundations .foundation,
  .game .board .game-area .columns .foundation {
    margin-left: 8px;
  }
  .game .board .game-area .foundations {
    clear: both;
  }
  .game .board .game-area .foundations .foundation .start-slot:has(+ .foundation-stack) {
    width: 81px !important;
    height: 129px !important;
  }
  .game .board .game-area .foundations .foundation .start-slot:has(+ .foundation-stack) .card-front .center {
    font-size: 15px;
    margin-top: 1px;
  }
  .game .board .game-area .columns {
    margin-top: 25px;
  }
  .game .board .bottom-panel {
    bottom: 30px;
    right: 0;
    left: 0;
    top: auto;
    width: 100%;
  }
  .game .board .bottom-panel .actions button {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    padding: 0;
    text-indent: -9999px;
  }
  .game .board .bottom-panel .actions button.ggl {
    width: 100%;
    text-indent: 0px;
  }
  .game-controls .btn .coins {
      position: absolute;
      top: -11px;
      right: -6px;
      font-size: 14px;
      text-align: center;
      line-height: 24px;
      border-radius: 0 12px 12px 0;
      background: #18623a;
      padding: 0px 8px 0px 17px;
      color: #fff;
      font-weight: 700;
      margin-left: 0;
      text-indent: 0;
  }
  .game .board .bottom-panel .actions button .number {
    text-indent: 0px;
  }
  .game .board .bottom-panel .actions button:before {
    left: 16px !important;
  }
  footer {
    padding: 15px 0;
    margin-top: 30px;
  }
  footer .row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  footer .row .left {
    width: 100%;
  }
  footer .row .right {
    display: none;
    margin-top: 30px;
  }
  footer .row .right ul {
    justify-content: center;
  }
  button.play {
    font-size: 27px;
    margin: 60px 0 80px !important;
  }
}
