[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.simplebar-wrapper {
  overflow: hidden;
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
}

.simplebar-mask {
  direction: inherit;
  position: absolute;
  overflow: hidden;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}

.simplebar-offset {
  direction: inherit !important;
  box-sizing: inherit !important;
  resize: none !important;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
  direction: inherit;
  box-sizing: border-box !important;
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.simplebar-content:after,
.simplebar-content:before {
  content: " ";
  display: table;
}

.simplebar-placeholder {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
  box-sizing: inherit !important;
  height: 100%;
  width: 100%;
  max-width: 1px;
  position: relative;
  float: left;
  max-height: 1px;
  overflow: hidden;
  z-index: -1;
  padding: 0;
  margin: 0;
  pointer-events: none;
  flex-grow: inherit;
  flex-shrink: 0;
  flex-basis: 0;
}

.simplebar-height-auto-observer {
  box-sizing: inherit;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 1000%;
  width: 1000%;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.simplebar-track {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-simplebar].simplebar-dragging,
[data-simplebar].simplebar-dragging .simplebar-content {
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
  pointer-events: all;
}

.simplebar-scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 10px;
}

.simplebar-scrollbar.simplebar-visible:before {
  opacity: 0.5;
  transition-delay: 0s;
  transition-duration: 0s;
}

.simplebar-track.simplebar-vertical {
  top: 0;
  width: 11px;
}

.simplebar-scrollbar:before {
  position: absolute;
  content: "";
  background: #000;
  opacity: 0;
  transition: opacity 0.2s linear 0.5s;
  top: 2px;
  bottom: 2px;
  left: 2px;
  right: 2px;
}

.simplebar-track.simplebar-horizontal {
  left: 0;
  height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  right: auto;
  left: 0;
  top: 0;
  bottom: 0;
  min-height: 0;
  min-width: 10px;
  width: auto;
}

[data-simplebar-direction="rtl"] .simplebar-track.simplebar-vertical {
  right: auto;
  left: 0;
}

.simplebar-dummy-scrollbar-size {
  direction: rtl;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  height: 500px;
  width: 500px;
  overflow-y: hidden;
  overflow-x: scroll;
  -ms-overflow-style: scrollbar !important;
}

.simplebar-dummy-scrollbar-size>div {
  width: 200%;
  height: 200%;
  margin: 10px 0;
}

.simplebar-hide-scrollbar {
  position: fixed;
  left: 0;
  visibility: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

.modal__actions .button--green {
  background: #A4EC58;
}

.modal__actions .button--red {
  background: #FFA032;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

details,
main {
  display: block;
}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: rgba(0, 0, 0, 0);
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: ButtonText dotted 1px;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

[hidden],
template {
  display: none;
}

@font-face {
  font-family: Rotonda;
  font-weight: 700;
  src: url(../fonts/Rotonda/Rotonda_Bold.woff2) format("woff2");
}

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

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: Rotonda, sans-serif;
  font-weight: 700;
  background: #40433c;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

#app {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  overflow: hidden;
  height: 100dvh;
  position: relative;
  z-index: 1;
}

#app.inited {
  opacity: 1;
}

#app>[data-full-block] {
  min-width: 540px;
  width: 100%;
  min-height: 100%;
}

.hide-scroll,
.screen-tasks__tasks {
  -ms-overflow-style: none;
}

.hide-scroll::-webkit-scrollbar,
.screen-tasks__tasks::-webkit-scrollbar {
  display: none;
  opacity: 0;
}

[data-simplebar] {
  z-index: 99;
  width: 35px;
}

[data-simplebar] .simplebar-scrollbar {
  width: auto;
  top: 1px;
  bottom: 1px;
  left: 1px;
  right: 1px;
}

[data-simplebar] .simplebar-scrollbar::before {
  width: 100%;
  background: #ffea00;
  top: 0;
  bottom: 9px;
  left: 0;
  opacity: 1;
}

[data-simplebar] .simplebar-track {
  width: 100%;
  border: 4px solid #ffea00;
  background: #564c27;
  padding: 1px;
}

input {
  height: 63px;
  padding: 0 18px 5px;
  border: 2px solid #adad6f;
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#464639),
      to(#2a1c14));
  background-image: linear-gradient(to top, #464639, #2a1c14);
  -webkit-text-stroke: 2px #363636;
  font-size: 53px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: 51px;
  letter-spacing: 1.33px;
  text-align: left;
  color: #feff8e;
}

@media (max-width: 768px) {
  [data-simplebar] {
    width: 25px;
  }

  [data-simplebar] .simplebar-scrollbar {
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
  }

  [data-simplebar] .simplebar-track {
    border-width: 2px;
  }

  input {
    height: 56px;
    font-size: 35px;
    padding-bottom: 0;
  }
}

input::-webkit-input-placeholder {
  color: #feff8e;
}

input::-moz-placeholder {
  color: #feff8e;
}

input:-ms-input-placeholder {
  color: #feff8e;
}

input::-ms-input-placeholder {
  color: #feff8e;
}

input::placeholder {
  color: #feff8e;
}

/*bbb*/

.button,
button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 37px;
  color: #fff;
  -webkit-text-stroke: 2px #363636;
  text-transform: uppercase;
  height: 64px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  white-space: nowrap;
  background: #48D7F7;
  border: solid 1px #444;
  box-shadow: 1px 2px 0 #444;
  border-radius: 6px;
}

button:active {
  filter: brightness(0.8);
  box-shadow: none;
  transform: translate(2px, 2px);
}


.button+.button,
.button+button,
button+.button,
button+button {
  margin-left: 16px;
}

@media (max-width: 768px) {

  .button,
  button {
    padding: 0 6px;
    font-size: 31px;
  }

  .button+.button,
  .button+button,
  button+.button,
  button+button {
    margin-left: 12px;
  }

  .button--small-mobile {
    height: 32px;
  }

  .button--small-mobile .button__shadow {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
  }
}

.button>*,
button>* {
  position: relative;
  z-index: 3;
}

.button img+span:not(.button__shadow),
button img+span:not(.button__shadow) {
  margin-left: 18px;
}

h1 {
  margin: 21px 0 48px;
  -webkit-text-stroke: 3px #0e8472;
  font-family: Rotonda;
  font-size: 59px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: 1.48px;
  text-align: center;
  color: #e5f6ff;
}

.global__close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 17px 20px 0 0;
  -webkit-transform-origin: top right;
  -ms-transform-origin: top right;
  transform-origin: top right;
}

.global__close button {
  width: 68px;
  height: 68px;
  padding: 0;
}

@media (max-width: 768px) {
  h1 {
    -webkit-text-stroke: 2px #0e8472;
    font-size: 44px;
    margin-bottom: 36px;
  }

  .global__close button {
    width: 52px;
    height: 52px;
  }
}

.global__close img {
  width: 45px;
  height: auto;
}

.achievement-list {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  -webkit-transform-origin: left top !important;
  -ms-transform-origin: left top !important;
  transform-origin: left top !important;
}

.achievement-notify {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 21px 18px 18px 28px;
  background: rgba(0, 0, 0, 0.65);
  -webkit-text-stroke: 1px #363636;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.63px;
  color: #fff;
  border-top: solid 6px #EFFC0F;
  border-radius: 6px;
}

.achievement-notify canvas,
.achievement-notify img {
  margin-right: 16px;
}

.achievement-notify__info {
  -webkit-text-stroke: 1px #363636;
  color: #f0ff00;
}

@media (max-width: 768px) {
  .global__close img {
    width: 35px;
  }

  .achievement-list {
    top: 118px;
    top: var(--mobile-top);
    right: unset;
  }

  .achievement-notify {
    margin-left: -4px;
    letter-spacing: 0.4px;
    font-size: 16px;
    padding: 10px 14px;
  }

  .achievement-notify::before {
    padding: 3px;
  }

  .achievement-notify canvas,
  .achievement-notify img {
    margin-right: 6px;
    width: 35px;
  }

  .achievement-notify__info {
    display: none;
  }

  .base-select {
    max-width: 100%;
    padding: 0 4px;
  }
}

.achievement-notify+.achievement-notify {
  margin-top: 10px;
}

.base-select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 526px;
  margin: 0 auto;
}

.base-select:not(.base-select--active) .base-select__list {
  display: none;
}

.base-select:not(.base-select--active) .base-select__active img {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.base-select__active,
.base-select__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  -webkit-text-stroke: 2px #243283;
  color: #fff;
  font-size: 41px;
  height: 70px;
  padding: 0 30px;
  border: 2px solid #5BFFFF;
  background: #157FB1;
  line-height: 70px;
  border-radius: 16px;

}

@media (max-width: 768px) {

  .base-select__active,
  .base-select__item {
    font-size: 39px;
    height: 60px;
  }
}

.base-select__active {
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#219995),
      to(#1b65c7));
  background: #157FB1;
  margin-bottom: 8px;
}

.base-select__item {
  margin-top: 4px;
}

.base-select__list {
  overflow: auto;
  min-height: 0;
}

.base-tabs {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

}

.base-tabs__item:nth-child(1) {
  border-radius: 12px 0 0 12px;
}

.base-tabs__item:nth-child(2) {
  border-radius: 0 12px 12px 0;
}

.base-tabs__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 2.9px solid #5AACD1;
  background: #2F516A;
  height: 85px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 53.5px;
  font-weight: 700;
  letter-spacing: 1.34px;
  text-align: center;
  color: #e5f6ff;
}

.base-tabs__item.active {
  border: 2.9px solid #52D4E1;
  background: #157FB1;
}

@media (max-width: 768px) {
  .base-tabs__item {
    -webkit-text-stroke: 2px #834124;
    font-size: 40px;
    height: 63px;
  }
}

[data-tab-container] [data-tab-hide] {
  display: none !important;
}

.custom-scrolls-wrapper {
  position: fixed;
  z-index: 99;
  right: 0;
  bottom: 0;
  -webkit-transform-origin: center top;
  -ms-transform-origin: center top;
  transform-origin: center top;
  padding-bottom: 5px;
}

.custom-scrolls {
  overflow: auto;
  max-height: 100%;
}

.leaderboard-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 49px;
  letter-spacing: 1.24px;
  text-align: left;
  color: #e5f6ff;
  padding: 2px 50px 2px 26px;
  border: 2px solid #685843;
  background: #AE7422;
  -webkit-box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .leaderboard-item {
    font-size: 36px;
    letter-spacing: 0.91px;
    padding: 1px 37px 1px 20px;
  }
}

.leaderboard-item--active {
  border: 2px solid #7fbb45;
  background: #50CF64;
}

.leaderboard-item__position {
  min-width: 100px;
  padding-right: 5px;
}

.leaderboard-item__position img {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 10px;
}

.leaderboard-item__name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-item__score {
  margin-left: auto;
  padding-left: 5px;
}

.leaderboard-item+.leaderboard-item {
  margin-top: 3px;
}

.modal__title {
  font-family: Rotonda;
  font-size: 53px;
  font-weight: 700;
  letter-spacing: 1.33px;
  color: #fff;
  -webkit-text-stroke: 2px #363636;
  margin-top: 86px;
  margin-bottom: 72px;
}

.bonus-button {
  background: #6DC438;
  border: none;
}

.modal {
  position: relative;
  z-index: 99;
  pointer-events: auto;
  padding: 0 36px;
  background-image: linear-gradient(to top, #2CB4E8 0%, #2CB4E8 50%, #59C3EB 50%, #59C3EB 100%);
  border-radius: 10px;
  border: solid 1px #71D5F5;
  box-shadow: 6px 6px 1px #0008;
}

.modal.modal--red {
  background-image: linear-gradient(to top, #E64F3E 0%, #E64F3E 50%, #EA7561 50%, #EA7561 100%);
  border-color: #ED8771;
}

.modal.modal--red button {
  background: #FFA032;
}

.modal:not(.modal--open) {
  display: none;
}

@media (max-width: 768px) {
  .leaderboard-item__position {
    min-width: 80px;
  }

  .leaderboard-item__position img {
    width: 38px;
  }

  .modal {
    padding: 0 16px;
  }

  .modal__title {
    -webkit-text-stroke: 1px #363636;
    font-size: 26px;
    margin-top: 42px;
    margin-bottom: 36px;
  }
}

.modal__title--small {
  margin-top: 42px;
  margin-bottom: 32px;
}

.modal__title img {
  display: inline-block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-bottom: -6px;
}

.modal__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 45px;
}

.modal__actions button {
  min-width: 309px;
  font-size: 53px;
}

.modal__wrapper {
  pointer-events: none;
}

.modal__sheet,
.modal__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.modal__sheet {
  z-index: 98;
  background: rgba(0, 0, 0, 0.4);
}

.modal__sheet:not(.active) {
  display: none;
}

.progress-bar {
  position: relative;
  width: 100%;

  background: #715526;
  font-size: 40px;
  letter-spacing: 1px;
  color: #e5f6ff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal__title--small {
    margin-top: 21px;
    margin-bottom: 16px;
  }

  .modal__title img {
    max-height: 24px;
    margin-bottom: -3px;
  }

  .modal__actions {
    padding-bottom: 20px;
  }

  .modal__actions button {
    -webkit-text-stroke: 1px #363636;
    min-width: 154px;
    font-size: 26px;
    height: 32px;
  }

  .progress-bar {
    font-size: 30px;
    line-height: 40px;
  }
}

.progress-bar__value {
  position: relative;
  z-index: 2;
}

.progress-bar__progress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 3px;
  overflow: hidden;
}

.progress-bar__progress::after {
  content: "";
  display: block;
  width: var(--progress);
  background: #5FB31F;
}

.screen-leaderboard {
  text-align: center;
  padding: 10px 20px 20px;
  min-height: 1080px !important;
}

.screen-leaderboard__modes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .screen-leaderboard {
    min-height: 975px !important;
    padding-top: 80px;
  }

  .screen-leaderboard__modes {
    margin-bottom: 15px;
  }
}

.screen-leaderboard__mode {
  margin: 10px;
  -webkit-text-stroke: 2px #243283;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #e5f6ff;
  line-height: 1.22;
  border: 2px solid #34a3a3;
  background: #2F516A;
  padding: 5px 20px;
  cursor: pointer;
}

.screen-leaderboard__mode:not(.active) span {
  opacity: 0.5;
}

.screen-leaderboard__mode.active {
  background: #1480AF;
  border: 2px solid #5bffff;
}

@media (max-width: 768px) {
  .screen-leaderboard__mode {
    font-size: 31px;
    letter-spacing: 0.79px;
    padding: 4px 15px;
    margin: 7px;
  }
}

.screen-leaderboard__title {
  -webkit-text-stroke: 3px #bc3c0f;
  font-size: 59px;
  letter-spacing: 1.48px;
  text-align: center;
  color: #e5f6ff;
  margin-bottom: 18px;
}

.screen-leaderboard__table {
  max-width: 676px;
  margin: 0 auto;
}

.screen-leaderboard__table-space {
  height: 15px;
}

.screen-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 auto;
  padding: 9px 20px 20px;
  text-align: center;
  max-width: 840px;
}

.screen-menu__mute {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  cursor: pointer;
  height: auto;
  max-width: calc(18% - 13px);
  padding-top: 16px;
  padding-left: 13px;
}

.screen-menu__mute img {
  width: 67px;
  height: auto;
}

.screen-menu__logo {
  margin-bottom: 24px;
  width: auto;
  height: auto;
  max-width: 62%;
  max-height: 254px;
}

.screen-menu__actions,
.screen-menu__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

.screen-menu__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .screen-leaderboard__title {
    font-size: 44px;
    letter-spacing: 1.11px;
  }

  .screen-menu__mute img {
    width: 60px;
  }

  .screen-menu__name {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-bottom: 20px;
  }

  .screen-menu__name button+button {
    margin-top: 13px;
  }

  .screen-menu__name button:last-of-type {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin: 0;
  }
}

.screen-menu__name button {
  width: 64px;
  margin-left: 16px;
}

.screen-menu__name input {
  width: 100%;
  max-width: calc(100% - 128px - 34px);
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

.screen-menu__actions {
  margin-bottom: 22px;
}

.screen-menu__actions button {
  -ms-flex-negative: 1;
  flex-shrink: 1;
  width: 100%;
}

.screen-menu__select {
  min-height: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.screen-menu__play {
  font-size: 53px;
}

.screen-menu__play {
  background: #A4EC58
}

.with-bonus {
  background: #FFA032;
  font-size: 32px;
}

.button-achievements {
  background: #48D7F7;
}

.button-skins {
  background: #CAADFF;
}

.button-upgrades {
  background: #FFA032;
}

.button-leaderboards {
  background: #FF5B69;
}

.screen-shop {
  position: relative;
  border: 4px solid #26757a;
  background: #5EBFC5;
  padding: 16px 52px 150px;
  margin: 17px auto 40px;
  max-width: 1584px;
}

@media (max-width: 768px) {
  .screen-menu__name input {
    margin-left: 18px;
  }

  .screen-menu__actions button img {
    width: 45px;
    height: auto;
  }

  .screen-menu__actions button img+span {
    margin-left: 5px;
  }

  .screen-menu__play {
    font-size: 35px;
  }

  .screen-shop {
    border-width: 2px;
    padding: 4px 12px 27px;
  }
}

.screen-shop__wrapper {
  padding: 0 8px;
}

.screen-shop__title {
  -webkit-text-stroke: 4px #0f5155;
  font-size: 88px;
  font-weight: 700;
  letter-spacing: 2.21px;
  text-align: center;
  color: #e5f6ff;
  margin: 0 auto 102px;
}

@media (max-width: 768px) {
  .screen-shop__title {
    -webkit-text-stroke: 2px #0f5155;
    font-size: 44px;
    margin-bottom: 44px;
  }
}

.button--red {
  background: #FF4A4E;
}

.screen-shop__balance {
  position: absolute;
  left: 30px;
  top: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 80px;
  padding: 0 23px 0 11px;
  font-family: Rotonda;
  font-size: 66px;
  font-weight: 700;
  letter-spacing: 1.65px;
  text-align: center;
  color: #fff;
  background: #528588;
}

.screen-shop__balance img {
  margin-right: 15px;
  height: 54px;
  width: auto;
}

.screen-shop__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.screen-shop__user {
  margin-right: 48px;
}

@media (min-width: 768px) {
  .base-select__item {
    text-shadow: 2px 0 2px #243283, 0 2px 2px #243283, -2px 0 2px #243283,
      0 -2px 2px #243283, 2px 2px 2px #243283, -2px -2px 2px #243283;
  }

  .screen-shop__user {
    margin-top: -36px;
  }

  .screen-shop__list {
    grid-auto-flow: column;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    direction: rtl;
  }
}

@media (max-width: 768px) {
  .screen-shop__balance {
    border-width: 3px;
    top: 16px;
    left: 14px;
    -webkit-text-stroke: 2px #774310;
    font-size: 33px;
    letter-spacing: 0.83px;
    height: 40px;
    padding: 0 11px 0 6px;
  }

  .screen-shop__balance img {
    height: 31px;
    width: auto;
    margin-right: 6px;
  }

  .screen-shop__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .screen-shop__user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto 30px;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
  }
}

.screen-shop__avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 300px;
  height: 336px;
  background: #3D7D7F;
  border-radius: 6px;
}

.screen-shop__avatar canvas,
.screen-shop__avatar img {
  max-height: 281px;
  width: auto;
}

@media (max-width: 768px) {
  .screen-shop__avatar {
    border-width: 2px;
    width: 194px;
    height: 217px;
  }

  .screen-shop__avatar canvas,
  .screen-shop__avatar img {
    max-height: 183px;
  }
}

.screen-shop__name {
  margin-top: 16px;
  -webkit-text-stroke: 2px #245e0b;
  font-family: Rotonda;
  font-size: 55.5px;
  font-weight: 700;
  letter-spacing: 1.39px;
  text-align: center;
  color: #fdff68;
  border-radius: 6px;
  background: #3D7D7F;
}

.screen-shop__list {
  display: grid;
  grid-gap: 52px 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
  min-height: 468px;
}

.screen-tasks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 auto;
  height: 100%;
}

.screen-tasks h1 {
  margin-top: 8px;
  margin-bottom: 32px;
}

.screen-tasks__scroll {
  top: 0;
  bottom: unset;
  padding-top: 240px;
}

@media (max-width: 768px) {
  .screen-shop__name {
    width: 100%;
    -webkit-text-stroke: 1px #245e0b;
    font-size: 29.5px;
    letter-spacing: 0.74px;
  }

  .screen-shop__list {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 18px 0;
    min-height: 468px;
  }

  .screen-tasks__scroll {
    padding-top: 195px;
  }
}

.screen-tasks__tabs,
.screen-tasks__tasks>* {
  max-width: 668px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.screen-tasks__tasks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 32px 0 15px;
  margin: 12px 5px 0;
  min-width: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  overflow: auto;
  min-height: 825px;
  height: calc(100% - 245px);
}

.screen-tasks__tasks:has(:nth-child(5)) {
  min-height: 810px;
}

@media (max-width: 768px) {
  .screen-tasks__tasks {
    margin-top: 34px;
    min-height: 625px;
    height: calc(100% - 195px);
  }

  .screen-tasks__tasks:has(:nth-child(5)) {
    min-height: 615px;
  }

  .screen-tasks__tasks-list {
    padding: 0 30px;
  }
}

.screen-tasks__progress {
  position: relative;
  margin-bottom: 34px;
  padding-right: 60px;
}

.screen-tasks__progress .progress-bar {
  border: 3px solid #ffea00;
}

.screen-tasks__progress-img {
  position: absolute;
  top: -30px;
  right: 10px;
  width: 200px;
}

@media (max-width: 768px) {
  .screen-tasks__progress {
    padding-right: 35px;
    width: calc(100% - 35px);
    margin-bottom: 28px;
  }

  .screen-tasks__progress .progress-bar {
    border: 2px solid #ffea00;
  }
}

.screen-tasks__progress-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  border: 3px solid #ffea00;
  border-top: none;
  background: #CE5392;
  border-radius: 0 0 6px 6px;
  padding: 0 32px;
  font-size: 22px;
  letter-spacing: 0.55px;
  -webkit-text-stroke: 1px #843b13;
  color: #fffefe;
  line-height: 28px;
  max-width: 90%;
  white-space: nowrap;
}

.screen-tasks__progress-info span {
  margin-left: 2px;
}

.shop-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 200px;
  height: 268px;
  background: #F2F079;
  border-radius: 6px;
  box-shadow: 2px 2px 0 #444;
  overflow: hidden;
}

@media (max-width: 768px) {
  .screen-tasks__progress-info {
    font-size: 16px;
    letter-spacing: 0;
    padding: 0 24px;
    line-height: 20px;
  }

  .shop-item {
    border-width: 2px;
    width: 110px;
    height: 150px;
  }

  .shop-item canvas {
    margin-top: -10px;
  }
}

.shop-item--buyed .shop-item__panel {
  background: #B9E82A;
}

.shop-item--buyed .shop-item__panel canvas,
.shop-item--buyed .shop-item__panel img {
  height: 40px;
}

.shop-item__img {
  max-height: 185px;
}

.shop-item:has(.shop-item__panel) {
  padding-top: 25px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.shop-item:has(.shop-item__panel) .shop-item__img {
  max-height: calc(100% - 16px - 52px);
}

.shop-item__panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background: #E2A935;
  margin: auto -4px -4px;
  font-family: Rotonda;
  font-size: 53.5px;
  font-weight: 700;
  letter-spacing: 1.34px;
  color: #fff;
}

.shop-item__price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.shop-item__price img {
  height: 40px;
  width: auto;
  margin-right: 22px;
}

@media (max-width: 768px) {

  .shop-item--buyed .shop-item__panel canvas,
  .shop-item--buyed .shop-item__panel img {
    height: 20px;
    width: auto;
  }

  .shop-item__img {
    max-height: 105px;
  }

  .shop-item:has(.shop-item__panel) {
    padding-top: 10px;
  }

  .shop-item:has(.shop-item__panel) .shop-item__img {
    max-height: calc(100% - 6px - 29px);
  }

  .shop-item__panel {
    width: calc(100% + 4px);
    border-width: 2px;
    margin-bottom: -2px;
    font-size: 27.5px;
  }


  .shop-item__price img {
    margin-right: 6px;
    height: 20px;
  }

  .shop-item__price {
    font-size: 20px;
  }
}

.task-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.task-item--step-2 .task-item__reward {
  background: #5FB31F;
}

.task-item--step-2 .task-item__reward-title {
  font-size: 22px;
  background: #5FB31F;
  padding: 0 7px;
  line-height: 26px;
  cursor: pointer;
}

.task-item--step-3 .task-item__reward {
  display: none;
}

.task-item--step-3 .task-item__body {
  background: #48D7F7;
}

.task-item--step-3 .task-item__done,
.task-item--step-3 .task-item__image,
.task-item--step-3 .task-item__progress .progress-bar {
  background: #308CA1;
}

.task-item--step-3 .task-item__progress .progress-bar__progress {
  display: none;
}

.task-item--step-3 .task-item__progress .progress-bar__value {
  color: #fff;
}

.task-item--step-3 .task-item__done {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 60px;
  aspect-ratio: 1;
  margin-left: 38px;
}

.task-item--step-3 .task-item__title {
  color: #308CA1;
}

.task-item+.task-item {
  margin-top: 8px;
}

.task-item__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 16px 32px 16px 26px;
  background: #E5B91A;
}

.task-item__progress {
  margin: -3px;
}

.task-item__content {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.task-item__image {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  aspect-ratio: 1;
  margin: -3px 15px -3px -3px;
  max-width: 103px;
  background: #947814;
}

.task-item__done_img {
  max-width: calc(100% - 6px);
}

@media (max-width: 768px) {
  .task-item--step-2 .task-item__reward-title {
    font-size: 16px;
    letter-spacing: 0.41px;
    line-height: 17px;
    padding: 0 5px;
  }

  .task-item--step-3 .task-item__body {
    padding-right: 24px;
  }

  .task-item--step-3 .task-item__done {
    margin-left: 30px;
    width: 46px;
  }

  .task-item__body {
    padding: 14px 8px 14px 18px;
  }

  .task-item__image {
    margin-right: 11px;
    max-width: 75px;
  }
}

.task-item__image-img {
  max-width: 80%;
  max-height: 80%;
}

.task-item__stars {
  position: absolute;
  top: calc(100% - 16px);
  left: -5px;
  right: -5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.task-item__stars>img:first-child,
.task-item__stars>img:last-child {
  margin-top: -10px;
}

.task-item__stars>img:first-child{
  transform: rotateZ(30deg);
}

.task-item__stars>img:last-child{
  transform: rotateZ(-30deg);
}


.task-item__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.71px;
  line-height: 0.9;
  text-align: left;
  color: #835a2a;
  margin-bottom: 9px;
  height: 49px;
}

.task-item__stars img {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .task-item__image-img {
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
  }

  .task-item .progress-bar {
    font-size: 28px;
    line-height: 34px;
  }

  .task-item__stars>img {
    width: 23px;
    height: 23px;
  }

  .task-item__title {
    font-size: 21px;
    line-height: 0.86;
    height: 36px;
    margin-bottom: 6px;
  }
}

.task-item__reward {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  justify-items: center;
  border: 3px solid #ebac13;
  background: #715526;
  border-radius: 0 6px 6px 0;
  padding: 12px 0;
  min-width: 138px;
  font-size: 26px;
  letter-spacing: 0.66px;
}

.task-item__reward img {
  height: 45px;
  width: auto;
}

@media (max-width: 768px) {
  .task-item__reward {
    font-size: 20px;
    padding: 8px 0;
    min-width: 103px;
  }
}

.task-item__reward-title {
  -webkit-text-stroke: 1px #362005;
  color: #e5f6ff;
}

.task-item__reward-subtitle {
  -webkit-text-stroke: 1px #362005;
  color: #ffea00;
}

/*# sourceMappingURL=../sourcemaps/style.min.css.map */






/** ======================= Petrov's addition ======================= */




#logdiv {
  position: absolute;
  text-align: right;
  right: 0;
  top: 0;
  padding: 0.2rem;
  padding-top: 5rem;
  pointer-events: none;
  z-index: 1000;
  color: #fff;
  text-shadow: 1px 1px #000;
}

.style-select {
  padding: 0.2em;
}

button>*,
.base-tabs>*,
.base-select>*,
svg>*,
.task-item>*,
.shop-item>*,
input {
  pointer-events: all;
}

button,
.screen-tasks__scroll {
  cursor: pointer;
  pointer-events: all;
}

.screen-leaderboard__modes button {
  text-transform: none;
}

.admin-panel {
  pointer-events: none;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 0;
  left: 0;
  z-index: 3;
}

.admin-panel * {
  pointer-events: all;
}

.admin-panel input {
  height: auto;
  margin-right: 0.05em;
}

.admin-panel .style {
  padding: 0;
  cursor: pointer;
  background-color: #dddddd80;
  border-right: 1px solid #ffffff;
  white-space: nowrap;
  padding: 0.2em;
}

.admin-panel .style:nth-child(odd) {
  background-color: #ffffff80;
}

.admin-panel .checked {
  background-color: #00ff00ff;
}

.admin-panel .checked:nth-child(odd) {
  background-color: #80ff80ff;
}

.g1 {
  pointer-events: none;
}

.g1 .box,
.g1 .cap {
  pointer-events: all;
}


.screen-tasks__tabs {
  z-index: 1;
}

.old-bonus {
  font-size: 80%
}

.next-bonus-arrow {
  font-size: 80%;
  color: #A6E1FB;
}

.next-bonus {
  color: #9EE365;
}


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

.modal__wrapper button {
  pointer-events: all;
}

.need-login .modal__title {
  max-width: 100%;
}

*,
body,
.noselect,
#app,
img {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                              supported by Chrome, Edge, Opera and Firefox */
}

img {
  pointer-events: none;
}

.respawn-panel {
  border: 3px solid #c8c826;
  background-image: linear-gradient(to top, #dd8013, #e6e81d);
  color: #fff;
  -webkit-text-stroke: 1px #362005;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.respawn-panel #countdown {
  font-size: 120px;
  height: 0;
  transform: translateY(-250px);
}

.respawn-panel .heart {
  width: 300px;
  height: 300px;
  display: block;
  position: relative;
}

.respawn-panel .heart img {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
}

#respawnHeart {
  filter: hue-rotate(240deg);
  clip: rect(0, 300px, 150px, 0);
}

.respawn-panel button {
  width: 100%;
}

.respawn-panel {
  font-size: 20px;
  align-content: center;
  position: relative;
  top: 100px;
}

.upgrade {
  animation: grow 99s;
  width: 100%;
  text-shadow: 2px 2px 0px #000;
}

.upgrades-section {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .upgrades {
    transform: scale(1.3);
    transform-origin: 250px 0px;
    padding-bottom: 50px;
  }
}

@media (min-height: 500px) {
  .screen-menu-bottom {
    height: 30dvh
  }
}

.screen-leaderboard__list {
  padding-bottom: 10dvh
}

.upgrades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 500px;
  gap: 10px;
  margin-top: -30px;
}

.upgrades button,
.upgrades {
  -webkit-text-stroke: 1px #362005;
}

.upgrades .num {
  margin-right: -5px;
  font-size: 120%;
}


.upgrades>.upgrade {
  background-image: linear-gradient(to top, #B5D8DF, #DFF5FA);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
}

.upgrades .icon img {
  width: 60px;
  height: 60px;
}

.upgrades .bar {
  height: 20px;
  border: 3px solid #fff;
  background:
    url("assets/images/bar-ticks.png"),
    url("assets/images/bar-progress.png"),
    #6D6FFF;

  background-size: 10% 100%, 50% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, repeat;
}

.upgrades .title {
  margin-top: -10px;
  text-shadow: 2px 2px 2px #000000;
  font-size: 30px;
}

.upgrades .title.long {
  margin-top: -10px;
  font-size: 20px;
}

.upgrades .increase {
  font-size: 30px;
  white-space: nowrap;
  overflow: visible;
}

.upgrades .frame {
  background: #A3C2D4;
  width: 80%;
  padding: 5px;
  border-radius: 6px;
  align-self: center;
  height: 100px;
}

.upgrades button {
  font-size: 24px;
}

.need-login {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 40px;
}

.need-login .modal__title {
  width: 800px;
}

#respawn {
  background: #A4EC58;
}

#backToMenu {
  background: #FFA032;
}



.fancy-button.respawn .img-div,
.fancy-button.with-bonus .img-div {
  width: auto;
  margin-right: 10px;
  margin-left: 0px;
}

.fancy-button .img-div img{
  padding-top: 8px;
  height: 55px;
  width: auto;  
}


.base-select__item.current {
  background: #157FB1;
  text-shadow: none;
}

.screen-menu {
  max-width: 400px;
}

.screen-menu .base-select {
  margin-top: 15px;
}


.debrief-buttons .fancy-button {
  min-width: 260px;
}


.fancy-button span {
  text-align: center;
  width: 100%;
}

.fancy-button .img-div {
  overflow: visible;
  width: 70px;
  margin-top: 0px;
  margin-right: -70px;
  margin-left: -20px;
  text-align: center;
}

.fancy-button .img-div img {
  margin: auto;
}

.screen-menu>* {
  width: 100%;
  margin: 5px;
}

.rainbow-color {
  animation: rainbow 5s linear;
  animation-iteration-count: infinite;
}

@keyframes rainbow {
  0% {
    color: hsl(0, 100%, 60%);
  }

  33% {
    color: hsl(120, 100%, 70%);
  }

  66% {
    color: hsl(240, 100%, 80%);
  }

  100% {
    color: hsl(360, 100%, 60%);
  }
}

.screen-menu__select {
  overflow: visible;
}

.base-select__list {
  overflow: visible;
  min-height: 200px;
}

.progress-bar {
  pointer-events: none;
}

.flying-sprite {
  position: fixed;
  z-index: 200;
  width: 60px;
  top: -1000px;
}

.button__img.before_text {
  margin-right: 0.2em;
}

.daily .screen-tasks__tasks {
  overflow: visible;
}

.gbutt {
  cursor: default;
}

.screen-tasks__progress-img {
  width: 100px;
  height: 100px;
}

.screen-tasks__progress-img .gift {
  position: relative;
  left: -50px;
  top: -60px;
}

.screen-tasks__progress-img.stage2 {}

.screen-tasks__progress-img.stage2:not(:hover) {
  animation: bounce2 ease infinite 1s;
}

.screen-tasks__progress-img {
  right: 00px;
  top: -40px;
}

.screen-shop__balance img.animated {
  animation: grow-shrink-big ease-in-out 1s;
}


.task-item__image canvas {
  max-width: 100%;
  max-height: 100%;
}

.screen-shop__list {
  grid-auto-flow: row;
  grid-template-rows: repeat(2, 1fr);
  direction: ltr;
}

.leaderboard-item__position {
  overflow: visible
}

.leaderboard-item__position img {
  transform: translateX(10px);
  height: 1.3em;
}

.results>.left {
  text-align: right;
  padding-right: 0.5em;
}

.leaderboard-item .icon {
  padding-right: 0.3em;
}

.leaderboard-item {
  align-items: center;
}

.leaderboard-item__name {
  overflow: hidden;
  white-space: nowrap;
  font-size: 28px;
}


.button_note {
  position: relative;
  top: -37px;
  left: -3px;
  width: 0px;
  height: 0px;
  overflow: visible;
  font-size: 10px;
  animation: bounce2 2s ease infinite;
}

.button_note svg,
.button_note img {
  width: 24px;
  height: 24px;
}

@keyframes bounce2 {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes grow {

  0%,
  99% {
    transform: scale(0)
  }

  99.3% {
    transform: scale(1.1, 1.05)
  }

  99.5%,
  100% {
    transform: scale(1)
  }
}

.task-item {
  animation: grow 99s;
}

.leaderboard-item {
  animation: grow 99s;
}

.task-item--step-2 .task-item__reward-title {
  animation: grow-shrink 1s infinite ease-in-out;
}

.screen-menu__mute {
  z-index: 2;
  pointer-events: all;
  user-select: none;
}

/* */
.screen-menu__mute img {
  width: calc(3vh + 3vw);
  height: auto;
}

img.paper-currency {
  width: 0.8em;
  height: 0.8em;
  display: inline-block;
}

@keyframes brightness {
  0% {
    filter: brightness(1);
  }

  100% {
    filter: brightness(1.2);
  }
}

@keyframes grow-shrink {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes grow-shrink-big {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}

@keyframes game-notification-fade {

  0%,
  100% {
    opacity: 0;
    transform: translateY(-5rem);
  }

  15%,
  85% {
    opacity: 1;
    transform: translateY(0rem);
  }
}

@media (max-width: 768px) {
  @keyframes game-notification-fade {

    0%,
    100% {
      opacity: 0;
      transform: translateX(-20rem);
    }

    15%,
    85% {
      opacity: 1;
      transform: translateX(0rem);
    }
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadein {
  animation: fadein 2s;
}

.fadeout {
  animation: fadeout 2s;
}

.screen-shop__avatar canvas {
  max-height: 281px;
  width: auto;
}

.achievement-notify canvas {
  max-height: 281px;
  width: auto;
}

.paper-view {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  border: 0;
  padding: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

#paper-app {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: #00000080;
  animation: fadein 2s;
}

#paper-app.hidden {
  height: 0;
  display: none;
}

#paper-app.shown {
  visibility: visible;
  animation: fadein 1s;
}

#app {
  user-select: none;
  animation: delayedFadeIn 0.3s;
}

@keyframes delayedFadeIn {

  0%,
  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


.screen-menu input {
  user-select: all;
}

.global__close {
  z-index: 200;
}

.task-item--step-2,
.shop-item {
  cursor: pointer;
}

.task-item--step-2 .task-item__reward {
  animation: brightness ease-in-out infinite 0.5s alternate;
}

::-webkit-scrollbar {
  width: 0;
}

.custom-scrolls::-webkit-scrollbar {
  width: 35px;
}

.custom-scrolls::-webkit-scrollbar-track {
  border: 4px solid #ffea00;
  background: #564c27;
}

.custom-scrolls::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background: -webkit-gradient(linear,
      right top,
      left top,
      from(#dd8013),
      to(#e6e81d));
}

@font-face {
  font-family: Rotonda;
  font-weight: 700;
  src: url(./assets/fonts/Rotonda_Bold.woff2) format("woff2");
}

.gameOverReason {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 240%;
  max-width: 400px;
  padding-bottom: 1rem;
  text-shadow: 0px 0px 2px #000000;
}

.debrief-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.debrief-buttons button {
  margin-left: 0px;
}


img.resultsimgimg {
  height: 100px;
  width: auto;
  margin-left: 1rem;
}

.resultsimg {
  width: 50%;
  margin: auto;
}

.results {
  display: flex;
}

.results,
.results_scores {
  font-size: 130%;
  justify-content: center;
  text-shadow: 0px 0px 2px #000000;
  white-space: nowrap;
  color: #fff;
}

.scores_slovo.value {
  color: gold;
  font-size: 160%;
  height: 1em;
  margin-bottom: 0.5em;
}

.uibox {
  margin: 0 auto 0 auto;
  order: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  touch-action: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.task-item__title.small {
  font-size: 16px;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
}

.task-item .progress-bar {
  font-size: 21px;
  line-height: 28px;
}


.task-item__title.smallest {
  font-size: 12px;
}

@keyframes kf_slider {
  from {
    opacity: 0;
    pointer-events: none;
  }

  to {
    opacity: 1;
    pointer-events: auto;
  }
}

.slider-1 {
  animation: kf_slider 2s 0s both;
}

.slider-2 {
  animation: kf_slider 2s 0.75s both;
}

.slider-3 {
  animation: kf_slider 2s 1.5s both;
}

.slider-4 {
  animation: kf_slider 2s 2.25s both;
}

.slider-5 {
  animation: kf_slider 2s 2s both;
}

.slider-buttons {
  animation: kf_slider 0.5s 3.8s both;
}

.achievement-list {
  z-index: 1;
  pointer-events: none;
  display: none;
}

.paper-notification-img {
  width: 3rem;
  height: auto;
}

/** GIFT **/
.gift text {
  font-family: Rotonda;
  fill: #fff;
  stroke: #834124;
  stroke-width: 1px;
  font-size: 24px;
}

.gift .cap {
  transform-origin: 150px 150px;
}

.gbutt.stage3 .cap {
  animation: cap-open 1s ease-in-out;
  animation-fill-mode: forwards;
}

.gbutt.stage3 .a {
  animation: box-open 1s ease-in-out;
  animation-fill-mode: forwards;
  transform-origin: 145px 160px;
}

.gbutt.stage4 .cap {
  transform: translate(60px, 35px) rotateZ(65deg);
}

.gbutt.stage3 .g1 #light {
  animation: spin 4s infinite linear;
  transform-origin: 150px 156px;
}

.gbutt #light {
  visibility: hidden;
}

.gbutt.stage2:has(.cap:hover) .cap,
.gbutt.stage2:has(.box:hover) .cap {
  animation: box-peek 0.3s ease-in-out;
  animation-fill-mode: forwards;
}

.gift {
  position: relative;
  z-index: 10;
  width: 200px;
  height: 200px;
}

.gbutt.stage2 .cap,
.gbutt.stage2 .box {
  cursor: pointer;
}

.gbutt.stage4 .prize {
  display: none;
}

.gbutt.stage3 .gift .prize {
  animation: glow-appear 1s ease-in-out;
  animation-fill-mode: forwards;
}

.gift .prize {
  pointer-events: none;
  transform-origin: 144px 170px;
}

.gbutt.stage2 .gift #light2 {
  visibility: visible;
}

.gbutt.stage3 .gift #light2 {
  visibility: visible;
  animation: fadeout 1s forwards;
}

.gift #light2 {
  visibility: hidden;
  animation: spin 4s linear infinite;
  transform-origin: 153px 180px;
}

@keyframes glow-pulsate {
  0% {
    r: 20;
  }

  100% {
    r: 30;
  }
}

@keyframes glow-appear {
  0% {
    scale: 1;
  }

  100% {
    scale: 3;
    transform: translateY(-20px);
  }
}

@keyframes box-peek {
  35% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: translateY(-15px) rotateZ(5deg);
  }
}

@keyframes cap-open {

  0%,
  5% {
    transform: translate(0px, -15px) rotateZ(5deg);
  }

  60% {
    transform: translate(35px, -45px) rotateZ(45deg);
  }

  100% {
    transform: translate(60px, 35px) rotateZ(65deg);
  }

}

@keyframes box-open {

  0%,
  50% {
    transform: scale(1, 1);
  }

  20% {
    transform: scale(1.1, 0.9);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-big {
  from {
    transform: scale(3) rotate(0deg);
  }

  to {
    transform: scale(3) rotate(360deg);
  }
}

button.bonus-button span {
  padding: 0;
  position: relative;
}


button.bonus-button {
  padding: 0px;
  -webkit-text-stroke: 0px;
  display: flex;
  height: 48px;
  justify-items: stretch;
}

.bonus-button div {
  display: inline-block;
  line-height: 48px;
  vertical-align: middle;
  margin: 0;
  margin-right: 5px;
}

.bonus-button .text {
  background: #A8F454;
  color: #6DC438;
}

.bonus-button .cost {
  width: 20px;
}

.raw-html-div {
  padding: 0;
}
