@keyframes rotation-loader {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@-webkit-keyframes spinTo1 {
  0% {
    -webkit-transform: rotate(-44deg);
    transform: rotate(-44deg)
  }

  to {
    transform: rotate(1080deg)
  }
}

@-webkit-keyframes spinTo2 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1396deg)
  }
}

@-webkit-keyframes spinTo3 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1351deg)
  }
}

@-webkit-keyframes spinTo4 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1305deg)
  }
}

@-webkit-keyframes spinTo5 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1261deg)
  }
}

@-webkit-keyframes spinTo6 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1217deg)
  }
}

@-webkit-keyframes spinTo7 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1531deg)
  }
}

@-webkit-keyframes spinTo8 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1485deg)
  }
}

@-webkit-keyframes spinner-win {

  0%,
  to {
    transform: rotate(1080deg)
  }

  50% {
    transform: rotate(1085deg)
  }
}

@-webkit-keyframes rotateStatue {

  0%,
  to {
    transform: rotate(3deg) scaleX(-1)
  }

  50% {
    transform: rotate(-3deg) scaleX(-1)
  }
}

@-webkit-keyframes moveCar {
  0% {
    opacity: 1;
    transform: translateY(-100vh)
  }

  30% {
    opacity: 1;
    transform: translateY(100vh)
  }

  31%,
  to {
    opacity: 0;
    transform: translateY(100vh)
  }
}

@-webkit-keyframes moveChar {

  0%,
  to {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8em)
  }
}

@-webkit-keyframes showMultiplier {

  0%,
  to {
    opacity: 1;
    transform: translate(-50%, 0)
  }

  50% {
    opacity: 0;
    transform: translate(-50%, -8em)
  }
}

@-webkit-keyframes shakeModal {

  0%,
  to {
    transform: rotate(6.5deg)
  }

  50% {
    transform: rotate(-6.5deg)
  }
}

@-webkit-keyframes showBarrier {
  0% {
    opacity: 0;
    transform: translateY(-20em)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@-webkit-keyframes jumpChicken {

  0%,
  to {
    transform: translateY(-5em)
  }

  50% {
    transform: translateY(0)
  }
}

* {
  margin: 0;
  padding: 0
}

*,
::after,
::before {
  box-sizing: border-box
}

ol[role=list],
ul[role=list] {
  list-style: none
}

html:focus-within {
  scroll-behavior: smooth
}

a {
  text-decoration: none !important
}

a:not([class]) {
  text-decoration-skip-ink: auto
}

canvas,
img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover
}

button,
input,
select,
textarea {
  font: inherit
}

@media (prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto
  }

  *,
  ::after,
  ::before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition: none
  }
}

body,
html {
  height: 100%;
  scroll-behavior: smooth
}

.hidden {
  display: none !important
}

.visible {
  display: flex !important
}

body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: min(4.5px + 5.5*(100vw - 375px)/1545, 10px);
  font-style: normal;
  font-size: 80%
}

.bottom__section-button {
  min-width: 50px;
  line-height: 48px;
}

.bottom__section-button span {
  height: auto
}

.bottom__section-button .button-loader {
  display: none
}

.bottom__section-button.is--link {
  display: flex;
  align-items: center;
  justify-content: center
}

.bottom__section-button.is--disabled {
  pointer-events: none
}

.bottom__section-button.is--disabled span {
  opacity: .2
}

.bottom__section-button.is--disabled .button-loader {
  display: flex
}

.button-loader {
  position: absolute;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.button-loader span {
  width: 30px !important;
  height: 30px !important;
  border: 4px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation-loader 1s linear infinite;
  opacity: 1 !important;
  margin-left: 0 !important;
  margin-right: 0 !important
}

.wheel__spinner_win_1 {
  animation: 3s spinTo1 ease-in-out forwards !important
}

.wheel__spinner_win_2 {
  animation: 3s spinTo2 ease-in-out forwards
}

.wheel__spinner_win_3 {
  animation: 3s spinTo3 ease-in-out forwards
}

.wheel__spinner_win_4 {
  animation: 3s spinTo4 ease-in-out forwards
}

.wheel__spinner_win_5 {
  animation: 3s spinTo5 ease-in-out forwards
}

.wheel__spinner_win_6 {
  animation: 3s spinTo6 ease-in-out forwards
}

.wheel__spinner_win_7 {
  animation: 3s spinTo7 ease-in-out forwards
}

.wheel__spinner_win_8 {
  animation: 3s spinTo8 ease-in-out forwards
}

.wheel__texts-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 1em !important;
  padding-left: 2em !important
}

.wheel__texts-block p {
  transform: rotate(-7deg)
}

.wheel__texts-block p:only-child {
  transform: rotate(0deg)
}

.wheel__texts-block p+p {
  margin-top: 10px;
  transform: rotate(7deg)
}

.effects,
.effects__block {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.effects {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  mix-blend-mode: screen
}

.effects__block {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  position: fixed
}

.wheel__texts-1,
.wheel__texts-2 {
  transform: rotate(-137deg);
  position: absolute;
  left: 11%;
  top: 23%
}

.wheel__texts-2 {
  transform: rotate(-93deg);
  left: 32%;
  top: 14%
}

.wheel__texts-3,
.wheel__texts-4 {
  transform: rotate(-45deg);
  position: absolute;
  left: 54%;
  top: 23%
}

.wheel__texts-4 {
  transform: rotate(-2deg);
  left: 63%;
  top: 44%
}

.wheel__texts-5,
.wheel__texts-6 {
  transform: rotate(43deg);
  position: absolute;
  left: 54%;
  top: 65%
}

.wheel__texts-6 {
  transform: rotate(87deg);
  left: 33%;
  top: 74%
}

.wheel__texts-7,
.wheel__texts-8 {
  transform: rotate(133deg);
  position: absolute;
  left: 11%;
  top: 66%
}

.wheel__texts-8 {
  transform: rotate(177deg);
  left: 2%;
  top: 45%
}

.win-animation-svg {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(45deg);
  opacity: 0;
  width: 100%
}

.win-animation-svg.is--active {
  opacity: 1
}

.is--win-spinner {
  animation: 2s spinner-win ease-in-out infinite !important
}

body.is--winner .bottom__section {
  opacity: 0
}

html {
  background: #313131;
  font-size: min(4.5px + 5.5*(100vw - 375px)/1545, 10px)
}

@media (max-width:986px) {
  body {
    font-size: 100%
  }
}

img {
  width: 100%
}

.is--mobile {
  display: none
}

@media (max-width:986px) {
  .is--mobile {
    display: block
  }
}

.game__char-multify.is--active,
.is--desktop {
  display: block
}

@media (max-width:986px) {
  .is--desktop {
    display: none
  }
}

.body-wrapper,
.container {
  display: flex;
  position: relative;
  overflow: hidden
}

.body-wrapper {
  min-height: 100%;
  background: #313131;
  zoom: 0.9;
}

@media (max-width:767px) {
  .body-wrapper {
    zoom: 0.85;
  }
}

.container {
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%
}

@media (max-width:1024px) {
  .container {
    display: block;
    flex: unset;
    height: 100%
  }
}

.container-wrap {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.logo {
  position: relative;
  display: block;
  width: 80%;
  max-width: 60em;
  margin: 0 auto;
  padding: 18px 0
}

@media (max-width:986px) {
  .logo {
    font-size: 120%;
    padding: 10px 0
  }
}

.statue {
  opacity: 0;
  position: fixed;
  left: 10em;
  bottom: -30em;
  width: 44em;
  z-index: 5;
  font-size: 120%;
  animation: 1s rotateStatue ease-in-out infinite
}

@media (max-width:986px) {
  .statue {
    left: -5em;
    bottom: -40em;
    font-size: 80%
  }
}

.game {
  position: relative;
  width: 100vw;
  /* height: 43vh; */
    top: 0px;
  height: calc(100% - 400px - 75px);
}

@media (max-width:1024px) {
  .game {
    font-size: 145%
  }
}

@media (max-width:986px) and (max-height:900px) {
  .game {
    font-size: 113%
  }
}

.game__char,
.game__field {
  position: absolute;
  transition: transform .7s ease-in-out;
  z-index: 6;

}

.game__field {
    position: absolute;
    height: 100%;
  overflow: hidden;
  z-index: 0;
  top: 0;
  left: 0;
  width: 403.1em;
  /*height: calc(100vh - 440px);*/
  background-position: 0 0;
  background-size: 17.8% 100%;
  background-repeat: no-repeat;
  background-image: url(../img/bg-start.webp)
}

.second {
  background: url(../img/steps.webp) no-repeat center/ cover;
}

.bg {
  background: url(../img/steps.webp) no-repeat center/ 100% 100%;
}

.last {
  background: url(../img/bg-end.webp) no-repeat center/ cover;
  width: 139em !important;
}

.game__char {
  left: 7em;
  bottom: 27em;
  z-index: 7;
  width: 20em;
  height: 20em
}

.game__char-multify {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -17em;
  transform: translateX(-50%)
}

.game__char-multify::after,
.game__char-multify::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  width: 5em;
  height: 3.5em;
  transform: translateX(-50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat
}

.game__char-multify::before {
  z-index: 3;
  top: -1.5em;
  background-image: url(../img/icon-arrow.svg)
}

.game__char-multify::after {
  z-index: 0;
  top: -2.5em;
  background-image: url(../img/icon-arrow-shadow.svg)
}

.game__char-multify-value {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2em;
  min-width: 4.3em;
  padding: .156em .625em;
  border-radius: .156em;
  background-color: #3f5380;
  color: #fff;
  text-align: center;
  font-size: 3.2em;
  text-shadow: 0 .15em 0 #4d453b;
  box-shadow: -.15em .3em 0 0 #453f38, 0 -.25em 0 0 #8894b2
}

.game__char-multify-value span {
  position: relative;
  z-index: 3
}

.game__char.is--active img {
  animation: .7s moveChar ease-in-out infinite
}

.game__char.is--active .game__char-multify {
  animation: .7s showMultiplier ease-in-out infinite
}

/* .game__sector {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 36.5em
} */

.game__sector {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  flex: 0 0 auto;
  z-index: 1;
 width: 36.5em
  /* Видаліть будь-які left/right! */
}

.game__sector-multify {
  position: absolute;
  z-index: 2;
  left: 5.75em;
  width: 25em;
  height: 25em;
  bottom: 20em;
  opacity: .5;
  transform: rotateY(0deg)
}

.game__sector-multify-value {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  color: #fff;
  text-align: center;
  text-shadow: 0 -2px 1px #342d24, -1px -1px 1px #342d24, 0 -1px 1px #342d24, 1px -1px 1px #342d24, -2px 0 1px #342d24, -1px 0 1px #342d24, 0 0 1px #342d24, 1px 0 1px #342d24, 2px 0 1px #342d24, -1px 1px 1px #342d24, 0 1px 1px #342d24, 1px 1px 1px #342d24, 0 2px 1px #342d24;
  -webkit-font-smoothing: antialiased;
  font-size: 4.5em;
  font-style: normal;
  text-transform: uppercase;
  margin-top: -3px
}

.game__sector-multify .is--active,
.game__sector-multify .is--default {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform .6s ease
}

.game__sector-multify .is--active {
  transform: rotateY(180deg);
  z-index: 0
}

.game__sector-multify .is--active .game__sector-multify-value {
  display: none
}

.game__sector-car {
  display: block;
  position: absolute;
  z-index: 9;
  left: 5em;
  bottom: 6.3em;
  width: 26.5em;
  transform: translateY(-100vh)
}

.game__sector-barrier {
  display: none;
  position: absolute;
  z-index: 2;
  left: 1em;
  bottom: 47.7em;
  width: 32.5em;
  animation: .5s showBarrier ease-in-out
}

.game__sector.is--1 {
  left: 35em
}

.game__sector.is--1 .game__sector-car {
  animation: 4s moveCar ease-in-out infinite;
  animation-delay: 2s
}

.game__sector.is--2 {
  left: 71.25em
}

.game__sector.is--2 .game__sector-car,
.game__sector.is--3 .game__sector-car {

  animation: 4s moveCar ease-in-out infinite;
  animation-delay: 3s
}

.game__sector.is--3 {
  left: 107.75em
}

.game__sector.is--3 .game__sector-car {
  animation-delay: 2.25s;
}

.game__sector.is--4 {
  left: 144.25em
}

.game__sector.is--4 .game__sector-car,
.game__sector.is--5 .game__sector-car {
  animation: 4s moveCar ease-in-out infinite;
  animation-delay: 5.25s
}

.game__sector.is--5 {
  left: 180.75em
}

.game__sector.is--5 .game__sector-car {
  animation-delay: 4.25s
}

.game__sector.is--6 {
  left: 217.25em
}

.game__sector.is--6 .game__sector-car,
.game__sector.is--7 .game__sector-car {
  animation: 4s moveCar ease-in-out infinite;
  animation-delay: 5s
}

.game__sector.is--7 {
  left: 253.75em
}

.game__sector.is--7 .game__sector-car {
  animation-delay: 4s
}

.game__sector.is--active .game__sector-multify,
.game__sector.is--next .game__sector-multify {
  opacity: 1
}

.game__sector.is--active .game__sector-barrier {
  display: block
}

.game__sector.is--active .game__sector-car,
.game__sector.is--finished .game__sector-car {
  opacity: 0;
  display: block;
  animation: .5s showBarrier ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: .25s;
  bottom: 66em;
  transform: translateY(0)
}

.game__sector.is--finished .game__sector-multify {
  opacity: 1
}

.game__sector.is--finished .game__sector-barrier {
  display: block
}

.game__sector.is--finished .game__sector-multify .is--default {
  transform: rotateY(180deg)
}

.game__sector.is--finished .game__sector-multify .is--active {
  transform: rotateY(0deg)
}

.game-controls {
    z-index: 80;
  position: relative;
  width: 100%;
  max-width: 160em;
  min-width: 955px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 20px;
  border: 3px solid #555;
  background-color: #424242;
  display: grid;
  gap: 16px;
  grid-template-columns: 3.29fr 5fr 4.41fr
}

@media (max-width:986px) {
  .game-controls {
    gap: 12px;
    padding: 12px;
    min-width: max-content;
    grid-template-columns: 1fr;
    font-size: 140%
  }
}

.game-controls__wrapper {
    position: fixed;
    z-index: 99;
    width: 100%;
    bottom: 40px;
  padding: 0 1em;
  margin: 2em auto
}

@media (max-width:986px) {
  .game-controls__wrapper {
    padding: 0 16px
  }
}

.game-controls__block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*max-width: 100%;*/
  /*overflow: auto;  */
}

@media (max-width:986px) {
  .game-controls__block.is--second {
    height: 53px;
    width: 100%;
    position: relative;
  }

  .game-controls__switcher {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: auto;
  }
}

@media (max-width:986px) and (max-height:800px) {}

.game-controls__block.is--last {
  flex-direction: row;
  gap: 16px
}

@media (max-width:986px) {
  .game-controls__block.is--last {
    gap: 12px
  }
}

.game-controls__rate {
  padding: 12px 8px;
  border-radius: 10px;
  background: #545454;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-size: 2em;
  text-align: center;
}

.game-controls__defaults-item {
  flex: 1;
  box-sizing: border-box;
}


@media (max-width:986px) {
  .game-controls__rate {
    width: 100%;
    gap: 12px;
    font-size: 2.5em
  }
}

.game-controls__rate-btn {
  margin: 0;
  padding: 8px 12px;
  border-radius: 5px;
  background: #656565;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  border: 0;
  color: #fff;
}

.game-controls__rate-value {
  font-size: 1.5em;
}

.game-controls__defaults {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-align: center;
  position: relative;
  height: 40.5px;
}

.game-controls__defaults-wrap::-webkit-scrollbar {
  display: none;

}

.game-controls__defaults-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  top: 0;
  left: 0;
  height: 100%;
  gap: 12px;
  display: flex;
}

@media (max-width:986px) {
  .game-controls__defaults {
    margin-top: 12px;
    gap: 10px
  }

  .game-controls__defaults-wrap {
    gap: 10px;
    position: absolute;

  }
}

.game-controls__defaults-item {
  /* width: 100%; */
  padding: 12px;
  border-radius: 10px;
  background: #545454;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width:986px) {
  .game-controls__defaults-item {
    padding: 10px;
    font-size: 120%
  }
}

.game-controls__defaults-item-currency {
  width: 1.5em;
  height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: #fff;
  color: #4e5063;
  font-size: 1.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.game-controls__defaults-item-currency.big-cur {
  background: none;
  color: #fff;
}

.game-controls__defaults-item-value {
  font-size: 1.4rem
}

@media (max-width:986px) {
  .game-controls__defaults-item-value {
    font-size: 14px;
  }

  .game-controls__defaults-item-currency {
    font-size: 13px;
  }
}


.game-controls__headings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 2.2em
}

@media (max-width:986px) {
  .game-controls__headings {
    display: none
  }
}

.game-controls__headings-dif {
  text-align: left;
  color: #fff
}

.game-controls__headings-chance {
  text-align: right;
  color: #b1b1ba
}

.game-controls__switcher {
  padding: 6px;
  border-radius: 10px;
  background: #545454;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

@media (max-width:986px) {
  .game-controls__switcher {
    gap: 10px
  }
}

.game-controls__switcher-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  color: #bbb;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  white-space: nowrap;

}

@media (max-width:986px) {
  .game-controls__switcher-item {
    font-size: 2.2em
  }
}

.game-controls__switcher-item.is--active {
  color: #fff;
  background: #656565
}

.game-controls__cash-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: 20px;
  background: #ffc219;
  color: #1d1f21;
  font-size: 2.4em;
  border: 0;
  text-align: center;
  cursor: pointer;
  min-width: 140px;
}

@media (max-width:986px) {
  .game-controls__cash-btn {
    border-radius: 9px;
    font-size: 3em;
    min-width: max-content;
  }
}

@media (min-width:991px) {
  .game-controls__cash-btn:hover {
    background: #ffd257
  }
}

.game-controls__go-btn {
  width: 100%;
  height: 100%;
  min-width: 140px;
}

@media (max-width:986px) {
  .game-controls__go-btn {
    min-width: auto;
  }
}

.game-controls__win-btn {
  display: none;
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 2em
}

@media (max-width:986px) {
  .game-controls__win-btn {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 2em
  }
}

.game-controls.is--active .game-controls__defaults,
.game-controls.is--active .game-controls__headings,
.game-controls.is--active .game-controls__rate,
.game-controls.is--active .game-controls__switcher {
  opacity: .5
}

@media (max-width:986px) {
  .game-controls.is--active .game-controls__block:nth-child(2) {
    display: none
  }

  .game-controls.is--active .game-controls__block.is--buttons {
    min-height: 100px
  }
}

.game-controls.is--active .game-controls__go-btn {
  width: 50%
}

.game-controls.is--active .game-controls__cash-btn {
  display: flex;
  width: 50%
}

.bottom__section-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  outline: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background-color: #3ec55b;
  padding: 10px;
  min-height: 50px;
  border-radius: 20px;
  transition: background-color .1s ease-in-out
}

@media (max-width:986px) {
  .bottom__section-button {
    border-radius: 9px
  }
}

@media (min-width:991px) {
  .bottom__section-button:hover {
    background-color: #63df7e
  }
}

.bottom__section-button span {
  color: #fff;
  text-align: center;
  font-size: 3.8em
}

@media (max-width:986px) {
  .bottom__section-button span {
    font-size: 3.5em
  }
}

.bottom__section-button-next {
  display: none
}

.bottom__section-button .button-loader span {
  padding: 0 !important
}

.modal {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  font-size: 90%;
  transition: opacity 0.5s ease;
}

@media (max-width:986px) {
  .modal {
    font-size: 80%
  }
}

.modal__content {
  padding: 30px 20px;
  position: relative;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  width: 58.7em;
  min-height: 58.7em;
  max-height: 650px;
  margin: 0 auto;
  border-radius: 4em;
  border: 5px solid #3ec55b;
  background: rgba(62, 197, 91, .5);
  backdrop-filter: blur(35px)
}

@media (max-width:986px) {
  .modal__content {
    /* top: 20px */
  }
}

.modal__title {
  font-size: 34px;
  color: #fff;
  text-align: center;
  text-transform: uppercase
}

.modal__balance,
.modal__multify {
  color: #342d24;
  text-align: center;
  font-size: 50px;
  line-height: 48px;
  margin-top: 10px
}

.modal__balance {
  color: #fffd2f;
  font-size: 5em;
  display: flex;
  align-items: center;
  gap: 10px
}

.modal__balance p {
  word-break: break-word;
}

.modal__balance-currency {
  height: 1.5em;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: #fffd2f;
  color: #23242f;
  font-size: .6em
}

.modal.is--active {
  opacity: 1;
  visibility: visible;
  /* animation: 1s shakeModal ease-in-out infinite; */
  /*  */
}

.is--modal-open .statue {
  opacity: 1;
}

.is--modal-open .game-controls__win-btn {
  display: flex;
  flex-wrap: wrap;
}

.is--modal-open .game-controls__block {
  opacity: 0
}

.is--modal-open .game__char img {
  animation: .5s jumpChicken ease-in-out infinite
}

.effects {
  z-index: 999
}

.bonus-inline.is--active {
  background: linear-gradient(to left, #1b36ff, #ff0cb4)
}

.bonus-inline.is--active p {
  background: linear-gradient(90deg, #ff0cb4 0, #ff0cb4 100%);
  -webkit-background-clip: text
}

.bonus-inline.is--active svg path {
  stroke: #ff0cb4
}

/* --------------- */

.modal-app {
  position: fixed;
  z-index: 9999;
  background: #00000045;
}

.modal-app_active {
  opacity: 1;
  visibility: visible;
}


.modal__content_app {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__link {
  padding: 12px;
  border-radius: 20px;
  background: #ffc219;
  color: #1d1f21;
  font-size: 2.4em;
  border: 0;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

@media (max-width: 320px) {
  #difficulty-switcher {
    zoom: .8;
  }
}

@media (max-width: 374px) {
  .game-controls__wrapper {
    zoom: 0.7;
    max-width: 475px;
  }
}

.fail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.41);
  backdrop-filter: blur(2px);
  z-index: 10000;
   transition: opacity .3s ease-in-out;
  opacity: 1;
}

.fail_hide {
  z-index: -1;
  opacity: 0;
}

.fail__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px;
  border-radius: 32px;
  border: 2px solid #FF7388;
  background: rgba(69, 25, 25, 0.88);
  box-shadow: 0 8px 20px 0 rgba(6, 26, 10, 0.70);
  backdrop-filter: blur(10px);
  max-width: 350px;
  width: 100%;
}


.fail__icon {
  /* width: 100px; */
  margin: -110px auto 0;

}

.fail__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fail__title {
  color: #FFF;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  text-transform: uppercase;
}

.fail__btn {
  border-radius: 12px;
  background: radial-gradient(32.88% 98.09% at 96.77% -33.65%, rgba(214, 255, 216, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(129.5% 78.18% at 9.01% -26.92%, rgba(214, 255, 216, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), #E40373;
  box-shadow: 0 4px 4px 0 rgba(255, 255, 255, 0.25) inset, 0 7px 0 -3px #EDA4AF;
  color: #FFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  padding: 18px 0;
  width: 100%;
}


.in-iframe .game {
    height: calc(100vh - 240px);
}
/*.in-iframe .game__field {*/
/*    height: calc(100vh - 240px);*/
/*}*/
.in-iframe .game-controls__wrapper {
    margin: 4em 5em;
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal__content {
    max-width: 90%;
    min-width: 58.7em;
    width: max-content;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: max-content;
    max-height: max-content;
}
.modal__content p {
    word-break: break-word
}
