/* Попытка фикса для ios*/
@namespace svg url(http://www.w3.org/2000/svg);

svg|a {
  -webkit-touch-callout: none;
}

/* Стили для мобилок делаются через @media (max-width: 768px) { */

/* =========== Базовые стили (т.е. неспецифичные для папера, а заменяющие дефолтные значения, кьтороые могут различаться у браузеров =========== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
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(./assets/fonts/Rotonda_Bold.woff2) format("woff2");
}

@font-face {
  font-family: OSB;
  font-weight: 700;
  src: url("./assets/fonts/ofont.ru_Open Sans.ttf");
}




*,
::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: OSB, Rotonda, sans-serif;
  font-weight: 700;
  background: #40433c;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

/* =========== Стили для полосы прокрутки =========== */

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

[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;
  border-radius: 7px;
  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;
}


.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: #E5BB19;
  top: 0;
  bottom: 9px;
  left: 0;
  opacity: 1;
}

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


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

.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: #ffea00;
}

/* =========== Главный рендеримый div (внутри paper-app), обрамляет все страницы меню (кроме всплывающих сообщений) =========== */

#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;
  overflow: hidden;
  height: 100dvh;
  position: relative;
  z-index: 1;

  user-select: none;
  animation: delayedFadeIn 0.5s;
}

/* Анимация проявления тз прозрачности*/
@keyframes delayedFadeIn {

  0%,
  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/* Изначально app скрыт, класс inited добавляется после инициализации */
#app.inited {
  opacity: 1;
}

/* Это для масштабирования всего приложения. Элемент с атрибутом [data-full-block] ужимается scale.js, чтобы целиком влезать в экран */
#app>[data-full-block] {
  min-width: 540px;
  width: 100%;
  min-height: 100%;
}

/* Главный див, внутри которого все рендерится (кроме сообщений)*/
#paper-app {}

#paper-app,
.full-screen-gray {
  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;
}



/** Логин */

input {
  height: 63px;
  padding: 0 18px 5px;
  border-radius: 19px;
  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) {
  input {
    height: 56px;
    border-radius: 11px;
    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;
}

/* =========== Кнопки.Внутри кнопки дивы button-bg button-shadow используются для эффекта трехмерности. ===========*/
/* Также в кнопке могут быть дивы анимаций - button-finger - для пальца, button-note - для восклицательного кружка*/

.button,
button {
  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;
  font-size: 37px;
  color: #fff;
  -webkit-text-stroke: 2px #363636;
  text-transform: uppercase;
  border: none;
  height: 64px;
  /*border-radius: 19px;*/
  padding: 0 16px;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  white-space: nowrap;
}

/* промежуток между кнопками*/
.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;
    border-radius: 9px;
  }

  .button-small-mobile .button-bg,
  .button-small-mobile .button-bg::after {
    border-radius: 9px;
  }

  .button-small-mobile .button-shadow {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 12px;
  }

  .button-small-mobile .button-shadow::after {
    border-radius: 12px;
  }
}

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

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

.button-bg {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  border-radius: 19px;
}

.button-bg::after {
  content: "";
  mix-blend-mode: overlay;
  -webkit-box-shadow: inset 0 0 12px 6px rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 12px 6px rgba(255, 255, 255, 0.35);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 19px;
}

.button-shadow {
  position: absolute;
  z-index: 1;
  width: calc(100% + 6px);
  height: calc(100% + 7px);
  border-radius: 24px;
  top: 0;
  left: 0;
  background: gray;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
}

.button-shadow::after {
  content: "";
  mix-blend-mode: overlay;
  -webkit-box-shadow: inset 0 0 12px 6px rgba(255, 255, 255, 0.125);
  box-shadow: inset 0 0 12px 6px rgba(255, 255, 255, 0.125);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 24px;
}

.button:active,
button:active {
  -webkit-transform: translate(2px, 2px);
  -ms-transform: translate(2px, 2px);
  transform: translate(2px, 2px);
}

.button:active .button-shadow,
button:active .button-shadow {
  -webkit-transform: translate(2px, 2px);
  -ms-transform: translate(2px, 2px);
  transform: translate(2px, 2px);
  width: calc(100% + 4px);
  height: calc(100% + 5px);
}

/* =========== Раные расцветки кнопок. Мало применимы не в циркер, так как там цвета другие ===========*/

.button-green,
.button-green .button-bg {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#17d432),
      to(#eaff76));
  background: linear-gradient(to top, #17d432, #eaff76);
}

.fancy-button.button-respawn{
  background: linear-gradient(to top, #A987F8, #D449D8);
  font-size: 32px;
  padding: 20px;
}

.button-green .button-shadow {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#0f8a21),
      to(#98a64d));
  background: linear-gradient(to top, #0f8a21, #98a64d);
}

.fancy-button.button-orange,
.button-orange .button-bg {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#f2781c),
      to(#f9dc78));
  background: linear-gradient(to top, #f2781c, #f9dc78);
}

.button-orange .button-shadow {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#a64801),
      to(#a49150));
  background: linear-gradient(to top, #a64801, #a49150);
}

.button-blue .button-bg {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#1489ed),
      to(#61fff6));
  background: linear-gradient(to top, #1489ed, #61fff6);
}

.button-blue .button-shadow {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#0d599a),
      to(#3fa6a0));
  background: linear-gradient(to top, #0d599a, #3fa6a0);
}

.button-red .button-bg {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#ff4545),
      to(#ff8fc9));
  background: linear-gradient(to top, #ff4545, #ff8fc9);
}

.button-red .button-shadow {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#a62d2d),
      to(#a65d83));
  background: linear-gradient(to top, #a62d2d, #a65d83);
}

.button-gradient1 .button-bg {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#f0f),
      color-stop(#0ff),
      to(#0f0));
  background: linear-gradient(to top, #f0f, #0ff, #0f0);
}

.button-gradient1 .button-shadow {
  background: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#a600a6),
      color-stop(#00a6a6),
      to(#00a600));
  background: linear-gradient(to top, #a600a6, #00a6a6, #00a600);
}

/* Используется в заголовках некоторых страниц*/

h1 {
  -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;
  z-index: 200;
  transform-origin: top right;
}

/* Сама кнопка закрытия */

.global-close button {
  width: 68px;
  height: 68px;
  padding: 0;
}

/* Картинка на ней*/
.global-close img {
  width: 45px;
  height: auto;
}


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

  .global-close button {
    width: 60px;
    height: 60px;
  }
}

/* =========== Классы для всплывающих сообщений. Сам HTML для них - в index.html ===========*/

.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;
  border-radius: 19px;
  padding: 21px 18px 18px 28px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-text-stroke: 1px #363636;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.63px;
  color: #fff;
}

.achievement-notify::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 19px;
  padding: 5px;
  background: linear-gradient(45deg, #e4984f, #f4e751);
  -webkit-mask: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #fff)) content-box,
    -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.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: var(--mobile-top);
    right: unset;
  }

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

  .achievement-notify::before {
    padding: 3px;
    border-radius: 0 10px 10px 0;
  }

  .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;
  border-radius: 20px;
  padding: 0 30px;
  border: 4px solid #4facee;
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#2a617d),
      to(#314356));
  background-image: linear-gradient(to top, #2a617d, #314356);
  line-height: 70px;
}

@media (max-width: 768px) {

  .base-select-active,
  .base-select-item {
    font-size: 39px;
    border-radius: 20px;
    height: 60px;
  }

}

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

.base-select-item {
  margin-top: 4px;
}

.base-select-list {
  overflow: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========== Табы daily/main в достижения =========== */

.base-tabs {
  padding-top: 5px;
  gap: 0;
  width: 100%;
  display: flex;
  justify-items: center;
}

.base-tabs-item {
  --border-radius: 28px;
  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;

  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  cursor: pointer;
  -webkit-text-stroke: 2px #044;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1.34px;
  text-align: center;
  color: #e5f6ff;
  padding: 0;

  filter: brightness(0.8);
}


.base-tabs-item>div {
  max-height: 60px;
}

@media (max-width: 768px) {
  .base-tabs-item {
    font-size: 35px;
  }
}

.base-tabs-item:first-child {
  border-right: 3px solid #BCFDFF;
}

.base-tabs-item:last-child {
  border-left: 3px solid #BCFDFF;
}


.base-tabs-item.active {
  filter: brightness(1.2);
}

/* Вроде-бы нужно для масштабирования при переключении табов достижений */
[data-tab-container] [data-tab-hide] {
  display: none !important;
}

/* =========== Всплывающие сообщения ===========*/
.modal {
  position: relative;
  z-index: 99;
  pointer-events: auto;
  padding: 0 36px;
}

.modal-bg {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#3665b4),
      to(#64d7f0));
  background-image: linear-gradient(to top, #3665b4, #64d7f0);
  border-radius: 19px;
}

.modal-red .modal-bg {
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#b43636),
      to(#f09264));
  background-image: linear-gradient(to top, #b43636, #f09264);
}

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

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

  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .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::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  top: 0;
  left: 0;
  border-radius: 24px;
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#234275),
      to(#418c9c));
  background-image: linear-gradient(to top, #234275, #418c9c);
}

.modal-red::after {
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#752323),
      to(#9c5f41));
  background-image: linear-gradient(to top, #752323, #9c5f41);
}

.modal-wrapper {
  pointer-events: none;
  background: #0008;
}

.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;
  pointer-events: all;
  padding: 20px;
}

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

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

@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 {
  position: relative;
  width: 100%;
  border-radius: 10px;
  border: 3px solid #FFF195;
  background: #996221;
  font-size: 40px;
  letter-spacing: 1px;
  color: #e5f6ff;
  overflow: hidden;
}

.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;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-progress::after {
  content: "";
  display: block;
  width: var(--progress);
  background: #86D315;
  -webkit-box-shadow: inset 0 0 17px rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 17px rgba(255, 255, 255, 0.2);
}

/* =========== Страница лидерборда =========== */

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

.screen-leaderboard-list {
  padding-bottom: 30px;
}

/* Переключатель режимов в лидерборде */
.screen-leaderboard-modes {
  display: flex;
  justify-content: center;
  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;
  }

  .leaderboard-item-position {
    min-width: 80px;
  }

  .leaderboard-item-position img {
    width: 38px;
  }
}

/* Кнопка режимов в лидерборде */
.screen-leaderboard-mode {
  -webkit-text-stroke: 2px #0008;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #e5f6ff;
  line-height: 1.22;
  padding: 5px 20px;
  cursor: pointer;

}

.screen-leaderboard-mode>div {
  max-height: 70px;
  padding-top: 5px;
}

.screen-leaderboard-mode.active {
  filter: brightness(1.2) hue-rotate(-60deg);
}

@media (max-width: 768px) {
  .screen-leaderboard-mode {
    font-size: 24px;
    -webkit-text-stroke: 1px #000a;
    letter-spacing: 0.79px;
    padding: 4px 15px;
    margin: 7px;
  }
}

.screen-leaderboard-title {
  font-size: 59px;
  letter-spacing: 1.48px;
  text-align: center;
  color: #e5f6ff;
  margin-bottom: 18px;
  margin: auto;
}

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

.screen-leaderboard-table-space {
  height: 15px;
}

/* =========== Строка лидерборд ===========*/
.leaderboard-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 18px;
  font-size: 49px;
  letter-spacing: 1.24px;
  text-align: left;
  color: #e5f6ff;
  padding: 2px 50px 2px 26px;
  border: 2px solid #BEFAFF;
  background: #63ADB0;
  -webkit-box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
  -webkit-text-stroke: 2px #0008;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
  animation: grow 99s;
}

@keyframes grow {

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

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

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


@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-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#337136),
      to(#6cbc4c));
  background-image: linear-gradient(to top, #337136, #6cbc4c);
}

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

/* Главное меню */
.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;
  right: 10px;
  -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;
  min-height: 254px;
}

.screen-menu .screen-menu-header {
  opacity: 1;
  margin: 50px 0 60px 0;
  padding: 15px 20px 20px 20px;
  background-color: #AE2764;
  border-radius: 20px;
  /*box-shadow: #0008 2px 2px 2px;*/
  height: 100px;
  width: 400px;
  font-size: 50px;
  text-align: center;
  color: #fff;
  text-shadow: #000 2px 2px 0px;
  border: solid 3px #fa4;
  font-variant: small-caps;
}

.screen-menu-header.win {
  background-color: #2764AE;
  animation: rainbow 5s linear;
  animation-iteration-count: infinite;
}

/* Возможно, уже не нужно */
/*.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-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-shop {
  position: relative;
  /*border: 4px solid #26757a;*/
  background: #70D3D8;
  padding: 0;
  margin: 17px 0 40px 0;
}

.skins-app{
  background: #70D3D8;
}


@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-wrapper {
  padding: 0;
}

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

.currencies {
  position: absolute;
  transform-origin: top left;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.skins-app .screen-shop-balance {
  margin-top: 14px;
  margin-left: 10px;
}

.screen-shop-balance {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 60px;
  padding: 0 20px 0 20px;
  -webkit-text-stroke: 3px #774310;
  font-family: Rotonda;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 1.65px;
  text-align: center;
  color: #fff;
  border-radius: 40px;
  border: 5px solid #ffea00;
  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#ffe400),
      to(#c86d30));
  background-image: linear-gradient(to top, #ffe400, #c86d30);
}

.screen-shop-balance img {
  margin-right: 15px;
  height: 1em;
  width: auto;
  margin: 0 0 0 20px;
}


.screen-shop-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-direction: column;  
  margin: 0 10px 0 10px;
}

.screen-shop-user {
  /*margin-right: 48px;*/
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

@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-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;
  border-radius: 30px;
  background: #51A4A8;
  border: 3px solid #fff8;
  padding: 15px;
}

.screen-shop-avatar canvas,
.screen-shop-avatar img {
  border-radius: 18px;
}


.screen-shop-list {
  display: grid;
  width: 100%;
  min-height: 468px;

  grid-auto-flow: row;
  direction: ltr;
  grid-template-columns: repeat(auto-fill, 190px);
  grid-template-rows: repeat(auto-fill, 220px);
  margin: auto;

  border: solid 2px #ffffff;
  background: #00a6a6;

  padding: 10px;
}

@media (max-width: 768px) {
  .screen-shop-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto-fill, 170px);
  }
}

@media (min-width: 768px) {
  /*.screen-shop-avatar {
    transform: scale(1.5);
    transform-origin: 110% 0%;
  }

  .screen-shop-buttons {
    min-width: 400px;
  }

  .screen-shop-name {
    min-width: 400px;
    height: 160px;
  }*/

  .shop-item {
    transform: scale(1.3);
    transform-origin: top left;
  }
}




.shop-item {
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: 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;
  border-radius: 20px;
  border: 2px solid #fff8;

  width: 140px;
  height: 160px;
  position: relative;
}


.shop-item.bought .shop-item-panel canvas,
.shop-item.bought .shop-item-panel img {
  height: 20px;
}

.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: 105%;
  height: 40px;
  margin: auto -4px -4px;
  -webkit-text-stroke: 2px #774310;
  font-family: Rotonda;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}


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

.screen-shop-buttons img,
.shop-item-price img {
  height: 30px;
  width: auto;
  margin-right: 22px;
}

.screen-shop-buttons button {
  text-align: center;
}


/* ============ Достижения ============ */

.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: 24px;
}

.screen-tasks-scroll {
  top: 0;
  bottom: unset;
  padding-top: 210px;
  padding-right: 2px;
}

@media (max-width: 768px) {

  .screen-tasks-scroll {
    padding-top: 195px;
  }

  .screen-tasks {
    padding-top: 50px;
  }

  .screen-tasks h1 {
    margin-bottom: 12px;
  }

}

.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: 0px 0 0 0;
  margin-top: 10px;
  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: 4px;
    min-height: 625px;
    height: calc(100% - 195px);
  }

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

}

.screen-tasks-progress {
  position: relative;
  margin-bottom: 10px;
  margin-top: 30px;
}

.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: #9D46A5;
  -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);
  padding: 0 32px;
  border-radius: 0 0 10px 10px;
  font-size: 20px;
  letter-spacing: 0.55px;
  -webkit-text-stroke: 1px #612060;
  color: #fffefe;
  line-height: 28px;
  max-width: 90%;
  white-space: nowrap;
}

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


.task-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 20px;
}

.task-item-step-2 .task-item-reward {
  background: #9be50b;
}

.task-item-step-2 .task-item-reward-title {
  font-size: 22px;
  border-radius: 13px;
  border: 3px solid #b1e77c;
  background: #60ca2f;
  padding: 0 7px;
  line-height: 26px;
  cursor: pointer;
  margin-bottom: 10px;
}

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

.task-item-step-3 .task-item-body {
  border-radius: 20px;
  border: 3px solid #5bffff;
  background: #219995;
}

.task-item-step-3 .task-item-done,
.task-item-step-3 .task-item-image,
.task-item-step-3 .task-item-progress .progress-bar {
  border: 3px solid #4CFDE3;
  background: #56B9A7;
}

.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;
  border-radius: 14px;
}

.task-item-step-3 .task-item-title {
  color: #ffffff;
  -webkit-text-stroke: 1px #0008;
}

.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: 5px 32px 5px 26px;
  border: 3px solid #FFF195;
  border-radius: 20px 0 0 20px;
  background: #E5C51A;
}


.task-item-content {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 0;
  height: 100%;
}

.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: 100px;
  min-width: 100px;
  aspect-ratio: 1;
  margin: -3px 15px -3px -3px;
  max-width: 103px;
  border-radius: 26px;
  border: 3px solid #FFF195;
  background: #996221;
}

.task-item-image canvas {
  border-radius: 24px;
}

@media (max-width: 768px) {
  .task-item-image {
    height: 80px;
    min-width: 80px;

  }

  .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-step-3 .task-item-done img {
    max-width: calc(100% - 6px);
  }

  .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% - 12px);
  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-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.71px;
  line-height: 0.9;
  text-align: left;
  color: #835a2a;
  margin-bottom: 9px;
  padding-top: 5px;
  height: 90px;
}


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

  .task-item .progress-bar {
    font-size: 24px;
    line-height: 30px;
  }

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

  .task-item-title {
    font-size: 21px;
    line-height: 0.86;
    height: 46px;
    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-image: -webkit-gradient(linear,
      left bottom,
      left top,
      from(#996221),
      to(#564c27));
  background-image: linear-gradient(to top, #996221, #564c27);
  border-radius: 0 20px 20px 0;
  padding: 12px 0;
  min-width: 138px;
  font-size: 26px;
  letter-spacing: 0.66px;
}

.task-item-reward img {
  width: auto;
  height: 55px;
}


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

  .task-item-reward img {
    width: auto;
    height: 35px;
  }
}

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

.task-item-reward-subtitle {
  -webkit-text-stroke: 1px #362005;
  color: #ffea00;
  letter-spacing: -2px;
  transform: scaleX(1.2);
}



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


#logdiv {
  position: absolute;
  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 .fancy-button img {
  margin-right: 30px;
}

.respawn-panel {
  border-right: 3px solid #6B8793;
  border-bottom: 3px solid #6B8793;
  border-radius: 20px;
  background-image: linear-gradient(-30deg, #8DC2DA, #FFFFFF);
  color: #fff;
  -webkit-text-stroke: 1px #362005;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.respawn-div .header {
  color: #6F74AE;
  -webkit-text-stroke: 0px #000;
  font-size: 36px;
}

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

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

.respawn-div .heart img {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.9);
}

.respawn-div .heart .back {
  clip: rect(0, 300px, 150px, 0);
}

.respawn-div .heart {
  background-image: linear-gradient(to top, #A3CEE1, #8DC3DA);
  margin: 10px;
  padding: 20px;
  border-top: #6B90A0 3px solid;
  border-left: #6B90A0 3px solid;
  border-bottom: #AADCEA 3px solid;
  border-right: #AADCEA 3px solid;
  border-radius: 20px;
}

.respawn-div button.respawn {
  transform: scale(0.8);
}

.respawn-div button.respawn .button-bg {
  background: linear-gradient(to top, #DE32D1, #A358EB, #9B87FD);
}

.respawn-div button.respawn .button-shadow {
  background: #8B1680;
}

.respawn-section .respawn-div {
  width: auto;
  font-size: 20px;
  align-content: center;
  position: relative;
  top: 100px;
  display: flex;
  flex-direction: column;
}

.respawn-div .no-respawn {
  margin-top: 30px;
}

/* =========== Панель апгрейдов ===========*/

.upgrade img {
  height: 24px;
  width: auto;
  vertical-align: bottom;
  padding: 0 3px 4px 3px;
}

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

.upgrades-section h1 {
  margin-top: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .upgrades-section h1 {
    margin-top: 60px;
  }
}


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

@media (max-width: 768px) {
  .upgrades {
    transform: scale(0.9);
    transform-origin: top;
  }
}

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

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


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

.zahvat .upgrades button.fancy-button {
  padding: 0;
  font-size: 24px;
  width: 100%;
}

.num {
  -webkit-text-stroke: 2px #774310;
  font-size: 120%;
  margin-left: 0;
}


.upgrades>.upgrade {
  border: 3px solid #E0F7FF;
  border-radius: 20px;
  background-image: linear-gradient(to top, #B4D4E9, #D8E9F0);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
  margin-top: 30px;
  animation: grow 99s;
  min-width: 240px;
}

.upgrades button {
  background-image: url("assets/images/upgrade_button.png");
  background-size: 100% 100%;
}

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

.upgrades .bar {
  height: 30px;
  border-radius: 10px;
  border: 3px solid #fff;
  background:
    url("assets/images/bar-ticks.png"),
    url("assets/images/bar-progress.png"),
    #22a;

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

.upgrades .title {
  font-size: 26px;
}

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

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

.upgrades .frame {
  background-image: url("assets/images/upgrade_title_element.png");
  background-size: 100% 100%;
  width: 90%;
  transform: scale(1.2) translateY(-30px);
  margin-bottom: -30px;
  padding: 5px;
  align-self: center;
  height: 120px;
}

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

.upgrades button .text {
  max-width: 120px;
  margin: 0 40px 0 -10px;
}

@media (max-width: 768px) {
  .upgrades button .text {
    max-width: 100px;
    margin: 0 20px 0 5px;
    font-size: 18px;
  }
}



.upgrades img.paper-currency {
  filter: drop-shadow(0px 1px 1px #000);
}

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

.need-login .modal-title {
  width: 800px;
}

.fancy-button.respawn .img-div,
.fancy-button.with-bonus .img-div {
  width: auto;
}

.base-select-item.current {
  background-image: linear-gradient(to top, #219995, #1b65c7);
  text-shadow: none;
}

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

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

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

.fancy-button .img-div {
  margin-top: 12px;
}

.fancy-button.with-text .img-div {
  overflow: visible;
  width: 80px;
  margin-left: -10px;
  text-align: center;
}

.fancy-button.with-bonus.with-text .img-div {
  margin-right: 0px;
  margin-left: -10px;
}

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

#buffer img.animated,
.screen-shop-balance img.animated {
  animation: grow-shrink-big ease-in-out 1s;
}


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


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


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

.button-finger {
  position: relative;
  top: -10px;
  left: -5px;
  width: 0px;
  height: 0px;
  overflow: visible;
  font-size: 10px;
  animation: fingerpress 2s linear infinite;
  z-index: 10;
}

.button-finger img {
  width: 64px;
  height: 64px;
}

@keyframes fingerpress {

  0%,
  70%,
  100% {
    transform: translate(0px, 10px);
  }

  85% {
    transform: translate(0px, 0px);
  }

}

@keyframes infinitypath {
  0% {
    transform: translate(-10px, 20px);
  }

  20% {
    transform: translate(10px, -20px);
  }

  35% {
    transform: translate(20px, 0px);
  }

  50% {
    transform: translate(10px, 20px);
  }

  70% {
    transform: translate(-10px, -20px);
  }

  85% {
    transform: translate(-20px, 0px);
  }

  100% {
    transform: translate(-10px, 20px);
  }
}

@keyframes bounce2 {

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

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

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

.task-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 journeyAppear {
  from {
    opacity: 0;
    transform: scale(1.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowborder {

  0%,
  100% {
    border-width: 0px;
  }

  50% {
    border-width: 2px;
  }
}



@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadein {
  animation: fadein 2s;
}

.fadeout {
  animation: fadeout 2s;
}

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



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

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


/* Текст причины проигрыша в дебрифе (в Цирке не показывается)*/

.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;
  color: #fff;
  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: 30px;
  line-height: 38px;
}


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

.paper-notification-title,
.paper-notification-text {
  text-align: center;
}

/* ========== Анимация подарка за все дневные достижения ========== */
.gift text {
  font-family: Rotonda;
  fill: #fff;
  stroke: #834124;
  stroke-width: 1px;
  font-size: 24px;
}

.screen-tasks-progress.stage1 {
  pointer-events: none;
}

#light2 {
  pointer-events: none;
}

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

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

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

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

.tutorial-play-button {
  margin-top: 50px;
}

/*.screen-menu.achievement-not-received>*:not(.button-achievements),
.achievement-not-received .screen-tasks-tasks-list>*:not(.task-item-step-2),
.achievement-not-received .screen-tasks-tabs {
  filter: brightness(0.4);
  pointer-events: none !important;
  cursor: not-allowed !important;
}*/

/* =========== Поздравление (с 5 звездами) после туториала  ============ */

.tutorial-debrief {
  max-width: 800px;
  margin: 30px;
}

.tutorial-debrief .p1 {
  color: #FDF67D;
}

.tutorial-debrief .p3 {
  border-radius: 1rem;
  max-width: 300px;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  background: #385888;
}

.tutorial-debrief p {
  margin: 0.5rem;
}

.tutorial-debrief .modal-title {
  font-size: 30px;
}

.tutorial-debrief .paper-currency {
  vertical-align: top;
  transform: translateY(0.1em);
  height: 1em;
  width: 1em;
}

@media (max-width: 768px) {
  .tutorial-debrief .modal-title {
    font-size: 20px;
  }
}

/* Zahvat */


.screen-shop-title {
  margin: 0 auto 0;
}

.shop-item>canvas {
  position: absolute;
  top: 0;
}

.shop-item-panel-div {
  position: absolute;
  bottom: 0;
  overflow: visible;
  width: 100%;
}

.shop-item-panel {
  background: #888;
  background-color: #fff8;
  transform: translateY(-4px);
}

.shop-item.selected {}

.shop-item.shown {}

.shop-item-panel {}

.shop-item.not-bought .shop-item-panel {
  background: #53D3D3;
}

.shop-item.not-bought.ads .shop-item-panel {
  background: #D970E8;
}

.shop-item.selected .shop-item-panel {
  background: #8ED715;
}

.main-buttons {
  margin: 30px;
  width: 90%;
}


.main-buttons .left,
.main-buttons .right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zahvat-main-menu>.right,
.zahvat-main-menu>.left {
  min-height: 350px;
}

.main-buttons .center {
  flex: 1;
}

.round-button {
  position: relative;
  margin: 0;
  margin-bottom: 50px;
  transform: scale(1.2);
}

.round-button .img-block {
  position: absolute;
  background: #000000c0;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  padding: 10px;
  margin: 0;
  /*clip-path: xywh(0 0 100% 58px);*/
  border-bottom: solid 1px #000;
}

.round-button img {
  height: 30px;
  width: auto;
  transform: scale(1.5);
  margin: auto;
}

.round-button .text-outer {
  overflow: visible;
  position: absolute;
  top: 55px;
}

.round-button .text-inner {
  border-bottom: solid 1px #000;
  text-align: center;
  font-size: 13px;
  min-width: 80px;
  -webkit-text-stroke: 0.5px #363636;
  background: #000000c0;
  border-radius: 12px;
  padding: 3px;
  padding-top: 2px;
}


.button-bubble-block {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.button-bubble {
  width: 100px;
  font-size: 10px;
  animation: bounce2 2s ease infinite;
  margin: 0;
  margin-bottom: 20px;
}


.button-bubble img {
  height: 100px;
  width: auto;
}

.button-bubble-block .arrow {
  /*margin: 0 30px 0 30px;  */
  margin: 0;
  padding: 20px;
  margin-bottom: 20px;
}

.button-bubble-block .arrow.right {}

.flip-horizontal {
  transform: scaleX(-1);
}

.button-bubble-block .icon-arrow {
  height: 50px;
}

.journey {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 70px;
  font-size: 32px;
  padding: 0;
  -webkit-text-stroke: 1px #745E1D;
  grid-row: 1;
  grid-column: 1/4;  
}


.level-transition-progress-4 .journey {
  animation: 1s journeyAppear;
}

.journey-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey .header {
  background-color: #00000080;
  width: 460px;
  height: 90px;
  transform: translateY(-25px);
  margin-bottom: -30px;
  clip-path: path('M 0,0 L 30,90 L 430,90  L 460,0 Z');
}

.journey .header.shadow {
  margin-bottom: -93px;
}

@keyframes colorChange1 {
  from {
    background-color: var(--prevColor1);
  }

  to {
    background-color: var(--color1);
  }
}

@keyframes colorChange2 {
  from {
    background-color: var(--prevColor2);
  }

  to {
    background-color: var(--color2);
  }
}

@keyframes colorChange3 {
  from {
    background-color: var(--prevColor3);
  }

  to {
    background-color: var(--color3);
  }
}

.journey .header .top {
  height: 60px;
  background-color: var(--color1);
  padding-top: 15px;
  font-size: 30px;
  line-height: 80%;
}

.journey .header .bottom {
  padding-top: 3px;
  height: 450px;
  background-color: var(--color2);
  font-size: 20px;
}

.journey .chests-panel {
  opacity: 1;
  display: flex;
  flex-direction: row;
  margin: -60px 0 30px 0;
  padding: 20px 20px 20px 20px;
  background-color: var(--color3);
  border-radius: 20px;
  box-shadow: #0008 2px 2px 2px;
  height: 200px;
  width: 500px;
}

.level-transition-progress-4 .journey .header .top {
  animation: colorChange1 2s;
}

.level-transition-progress-4 .journey .header .bottom {
  animation: colorChange2 2s;
}

.level-transition-progress-4 .journey .chests-panel {
  animation: colorChange3 2s;
}



.journey .chests {
  margin: 30px 0 -190px 15px;
  max-width: 380px;
  overflow: hidden;
  z-index: 10;
}

.journey .chests-chests {
  display: flex;
  flex-direction: row;
  font-size: 26px;
}

.journey .chests-chests img {
  width: 80px;
  margin-bottom: 10px;
  height: auto;
}

.journey .chests-chests .walk {
  padding: 25px 10px 10px 10px;
  font-size: 32px;
  white-space: nowrap;
}

.journey .chests-chests .walk.away {
  filter: opacity(0.5);
}

.journey .chests-chests .walk.in {
  visibility: hidden;
}

.level-transition-progress-3 .chests-chests {
  animation: slideRight 1s;
  transform: translateX(-420px);
}

@keyframes slideRight {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-420px);
  }
}

@keyframes unborder {
  50% {
    box-shadow: #fff 0 0 5px;
    box-shadow: inset #fff 0 0 5px;
    border: solid 2px #fff;
  }

  0%,
  100% {
    box-shadow: #0008 2px 2px 2px;
    box-shadow: inset #fff 0 0 0;
    border-width: solid 0 #fff;
  }
}

.journey .transition {
  position: relative;
  max-height: 0;
  margin-top: 200px;
  margin-bottom: -150px;
  z-index: 10;
  overflow: visible;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

}

.journey .chests-panel .level-transition {
  opacity: 0;
}

.button-bubble .ad {
  position: relative;
  top: -75px;
  right: 45px;
  width: 0px;
  height: 0px;
  overflow: visible;
  font-size: 10px;
}

.button-bubble .ad img {
  height: 40px;
  width: auto;
}

.button-bubble .starting-bonus {
  position: absolute;
  top: -3px;
  left: 23px;
  width: 0px;
  height: 0px;
  overflow: visible;
  font-size: 10px;
}

.button-bubble .starting-bonus img {
  height: 60px;
  width: auto;
}

.zahvat .base-select-active,
.zahvat .base-select-item {
  font-size: 24px;
  width: 100%;
  -webkit-text-stroke: 1px #243283;
}

.zahvat-main-menu {
  display: grid;
  grid-template-columns: 80px auto 80px;
  row-gap: 5px;
  column-gap: 25px;
  min-height: 1020px;
  min-width: 520px;
}

.level-transition .zahvat-main-menu {
  visibility: hidden;
}

.level-transition .journey {
  visibility: visible;
}


.zahvat-main-menu .left {
  grid-row: 2;
  grid-column: 1;
}

.zahvat-main-menu>.center-top {
  height: 100%;
  width: auto;
}

.zahvat-main-menu>.center-top {
  grid-row: 2;
  grid-column: 2;
}

.zahvat-main-menu>.right {
  grid-row: 2;
  grid-column: 3;
}

.zahvat-main-menu>.left,
.zahvat-main-menu>.center-top,
.zahvat-main-menu>.right {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 100%;
}

.zahvat-main-menu>.button-bubble-block {
  grid-row: 3;
  grid-column: 2;
  display: flex;
  align-items: end;
}

.zahvat-main-menu>.play-block {
  grid-row: 5;
  grid-column: 1/4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zahvat-main-menu>.mode-select-block {
  grid-row: 6;
  grid-column: 1/4;
}



.zahvat-main-menu>.center-top {
  position: relative;
}

.zahvat-main-menu input {
  width: 100%;
  margin-bottom: 20px;
}


@media (max-width: 768px) {
  .zahvat-main-menu {
    grid-template-columns: 80px 300px 80px;
  }

  .zahvat-main-menu .left {
    grid-row: 3;
    grid-column: 1;
  }

  .zahvat-main-menu .journey {
    grid-row: 1;
    grid-column: 1/4;
  }

  .zahvat-main-menu .center-top {
    grid-row: 2;
    grid-column: 1/4;
  }

  .zahvat-main-menu .right {
    grid-row: 3;
    grid-column: 3;
  }

}

@media (max-width: 1200px) {
  .journey {
    margin-top: 120px;
  }

}

.zahvat .screen-shop-balance {
  border: none;
  background-image: none;
  background-color: #0008;
  font-size: 32px;
  height: 40px;
  -webkit-text-stroke: 0.5px #363636;
  padding-right: 20px;
}

.zahvat .screen-shop-balance .img-div {
  margin: 8px 25px 0 -45px;
  transform: scale(1.7);
}

.zahvat .button-finger {
  position: relative;
  top: 5px;
  left: 5px;
  width: 0px;
  height: 0px;
  overflow: visible;
  font-size: 10px;
  animation: fingerpress 2s linear infinite;
  z-index: 10;
}

.zahvat .button-note img {
  position: relative;
  top: -20px;
  left: 30px;
  width: 18px;
  height: 18px;
}

.zahvat .screen-menu {
  max-width: 600px;
}

.zahvat .screen-menu-play {
  width: 100%;
}

.zahvat .mode-select-block button {
  width: 100%;
}

.mode-select-block {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.button-grey .button-bg {
  background: linear-gradient(to top, #999, #ccc);
}

.button-grey .button-shadow {
  background: linear-gradient(to top, #888, #666);
}

.screen-shop-balance {
  -webkit-text-stroke: 0.5px #0008;
}

.screen-shop-balance.vouchers {
  color: #C2FEFF;
}

.screen-shop-balance.coins {
  color: #FFF52F;
}

.fancy-button {
  --hue: 120;
  /*background-image: linear-gradient(to top, hsla(var(--hue), 60%, 50%), hsla(var(--hue), 90%, 70%));*/
  box-shadow: 2px 2px 2px #0008;
  padding: 40px;
  min-width: 250px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-radius: 19px;
}

.fancy-button.with-text.wide .img-div {
  margin-right: -60px;
}

.zahvat button.fancy-button.screen-menu-play {
  /*background-image: linear-gradient(to top, #55D844, #89ED90);*/
  width: 80%;
}

.zahvat button.fancy-button.mode-select {
  background-image: linear-gradient(to top, #65ABAA, #A0C5CF);
}

.zahvat #playAgain {
  background-image: linear-gradient(to top, #55D844, #89ED90);
}

.zahvat #backToMenu {
  background-image: linear-gradient(to top, #65ABAA, #A0C5CF);
}


.zahvat .mode-select-block {
  padding-bottom: 30px;
}

.journey .chest.earned img:not(:hover) {
  animation: bounce2 ease infinite 1s;
}

.journey .chest.earned {
  cursor: pointer;
}

.level-transition .zahvat-main-menu {}

.zahvat button.finish-level {
  margin-top: 150px;
  background-image: linear-gradient(to top, #55D844, #89ED90);
  opacity: 0;
}

.level-transition button.finish-level {
  display: flex;
  opacity: 1;
  animation: fadein 2s;
}

#roulette-button .img-block img {
  animation: spin 1s infinite linear;
}

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

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

@keyframes movedown {
  from {
    margin-top: 0;
  }

  to {
    margin-top: 200px;
  }
}


.journey-backdrop {
  position: fixed;
  left: -10vw;
  top: -10vh;
  width: 120vw;
  height: 120vh;
  background: #022;
  padding: 0;
  margin: 0;
  animation: fadein 2s;
}

.level-transition .journey {
  animation: movedown 2s;
  margin-top: 200px;
}

.level-transition .journey-panel {
  animation: fadeout 1s;
  opacity: 0;
}

.level-transition #buffer {
  display: flex;
  flex-direction: row;
  gap: 10px;
  animation: delayedFadeIn 3s;
}

.level-transition #buffer>div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: solid 2px #fff;
  border-radius: 30px;
  padding: 10px;
  background: #0048;
  width: 150px;
}

.level-transition #buffer img {
  height: 50px;
  width: auto;
}

.level-transition #buffer span {
  margin-left: 10px;
}

.level-transition .currencies {
  opacity: 0;
}

.level-transition-progress-3 .currencies,
.level-transition-progress-2 .currencies {
  opacity: 1;
  animation: fadein 1s;
}


.journey .chest img {
  margin-left: 12px;
}

.level-complete-message {
  position: relative;
  top: -300px;
  width: 100%;
  text-align: center;
  font-size: 40px;
  animation: delayedFadeIn 3s;
}

.modal-campaign-select {
  background: none;
}

.campaign-select {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 500px;
}


.campaign-select-option {
  cursor: pointer;
  width: 240px;
  height: 350px;
  border: solid 1px #0008;
  box-shadow: 0 2px 2px #000;
  background: #484;
  color: #fff;
  -webkit-text-stroke: 0.5px #36363680;
  border-radius: 20px;
  padding: 50px 0;
  font-size: 14px;
  font-weight: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  margin-top: -30px;
}

.campaign-select-option-wrapper.current .header {
  filter: brightness(1.2);
}

.campaign-select-option-wrapper .header {
  width: 240px;
  height: 60px;
  font-size: 24px;
  background-color: #00000080;
  clip-path: path('M 0,0 L 15,90 L 225,90  L 240,0 Z');
  padding-top: 15px;
}

.campaign-select-option-wrapper .header.shadow {
  margin-bottom: -63px;
}


.campaign-icon {
  width: 140px;
  height: 140px;
}

.campaign-select-option h4 {
  font-size: 20px;
  padding-bottom: 10px;
}

.campaign-select-option .campaign-text {
  min-height: 150px;
  padding: 10px;
  font-size: 16px;
}

.campaign-select-option.current {
  border: solid 3px #000;
}

.campaign-select-option .mark {
  border-radius: 20px;
  /*background: #0004;*/
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #fff;
  filter: saturate(0) brightness(2);
  transform: translateY(-50px);
}

.campaign-select .campaign-close {
  position: absolute;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  background: #000;
  padding-top: 5px;
  color: #fff;
  filter: saturate(0) brightness(2);
  transform: translateY(40px);
  right: 10px;
  top: -30px;
  cursor: pointer;
}

.screen-shop-tabs {
  display: flex;
  flex-direction: row;
  align-items: end;
  color: #fff;
  -webkit-text-stroke: 2px #0008;
  font-size: 50px;
  gap: 20px;
}

.screen-shop-tab {
  border-radius: 1rem 1rem 0 0;
  border: solid 2px #ffffff;
  background: #00a6a6;
  border-bottom: none;
  padding: 10px;
  cursor: pointer;
}

.screen-shop-tab:hover {
  background: #00ffff;
}

.screen-shop-tab.selected {
  transform: translateY(2.5px);
  padding-bottom: 20px;
}

.screen-shop-tab.selected:hover {
  background: #00a6a6;
}


@media (max-width: 768px) {
  .screen-shop-tab {
    font-size: 1.5rem;
    -webkit-text-stroke-width: 1px;
  }

  .screen-shop-tabs {
    gap: 0.2rem
  }

  .shop-item {
    max-width: 200px
  }

  /*.campaign-select-wrapper {
    transform: scale(0.7);
  }*/

}

@media (max-width: 500px) {
  .campaign-select-wrapper {
    transform: scale(0.7);
  }
}

@media (max-width: 400px) {
  .campaign-select-wrapper {
    transform: scale(0.5);
  }
}


.screen-shop-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.screen-shop-buttons button {
  font-size: 60px;
  min-width: 300px;
}

.screen-shop-buttons img {
  height: 50px;
}

@media (max-width: 768px) {
  .screen-shop-buttons button {
    font-size: 30px;
    min-width: 200px;
  }

  .screen-shop-buttons img {
    height: 40px;
  }

}


.screen-shop-name {
  margin: 10px 5px 10px 5px;
  padding: 0;
  padding-bottom: 6px;
  -webkit-text-stroke: 1px #088;
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 1.39px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
  min-height: 80px;

  background-image: url("assets/images/mode_button.png");
  background-size: 100% 100%;
}



.screen-shop .category {
  color: #fff;
  -webkit-text-stroke: 1px #088;
  font-size: 30px;
  padding: 10px;
  background-image: url("assets/images/mode_button.png");
  background-size: 100% 100%;
  margin-top: 10px;
  
}


.select-skin-button {
  font-size: 35px;
  min-height: 70px;
  min-width: 230px;
  color: #fff;
  -webkit-text-stroke: 1px #088;
}

.select-skin-button .text{
  padding: 12px;
}

.select-skin-button button{
  font-size: 35px;
  min-width: 230px;
  background-image: url("assets/images/buy_button.png");
  background-size: 100% 100%;
}

.modal-wrapper.campaign-select-wrapper {
  display: flex;
  flex-direction: column;
  background: none;
}

.black-background {
  background: #000c;
  position: fixed;
  z-index: -1;
  width: 400vw;
  height: 400vh;
  top: -100vh;
  left: -100vw;
}

.black-background.after-tutorial {
  z-index: 10;
}

.button-achievements {
  position: relative;
  z-index: 11;
}

.roulette-wheel {
  position: relative;
  width: 500px;
  height: 500px;
}

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

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

.roulette-table {
  position: relative;
  width: 500px;
  height: 640px;
  margin: auto;
  margin-top: 200px;
  color: #FED843;
  /*text-shadow: 2px 2px #000;*/
}

.roulette-table .bg {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 530px;
  height: 530px;
}

.roulette-table .spin-button {
  position: absolute;
  top: 250px;
  left: 250px;

  width: 100px;
  height: 100px;

  background: #ee0;
  border-radius: 50px;
  box-shadow: 0px 10px #fa0;
  animation: blink 0.5s infinite ease-in-out alternate;
}

.roulette-table .spin-button:hover {
  background: #ff0;
}

.roulette-table.spinning .spin-button,
.roulette-table .spin-button:active {
  box-shadow: 0px 3px #fa0;
  transform: translateY(7px);
}

.roulette-table .arrow {
  position: absolute;
  top: -40px;
  left: 230px;
  width: 40px;
  height: 80px;
}

.roulette-table .wheel {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 250px 250px;
  animation-timing-function: ease-in-out;
  /*animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);*/
}

/*.roulette-table .wheel .spinning{
  animation: roulette-spin 6s cubic-bezier(0.25, 0, 0.25, 1);
}*/

.roulette-table .sector-text {
  position: absolute;
  transform-origin: 0px 0px;
  left: 250px;
  top: 250px;
  font-size: 40px;
  width: 200px;
  text-align: center;
}

.tutorial .screen-menu {
  justify-content: center;
}

.button-icon {
  border: none;
  background: none;
}

.button-icon img {
  width: 100%;
  height: 100%;
}

.button-icon:hover {
  filter: brightness(1.2);
}

.upgrade-arrow {
  margin-left: 5px;
}

.angled-div .left,
.angled-div .right {
  padding: 0;
  margin: 0;
  min-width: 20px;
  background-size: 100% 100%;
}

.angled-div .center {
  background-size: 100% 100%;
  margin: 0 -1px 0 -1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  width: 100%;
}

.angled-div .right {
  transform: scaleX(-1);
}

.angled-div {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.angled-div .left img,
.angled-div .right img {
  height: 100%;
  margin: 0;
}

.angled-div>div {
  height: 100px;
}

.screen-shop-name .center {}

.screen-leaderboard-title {
  filter: hue-rotate(120deg);
  -webkit-text-stroke: 2px #363636;
}

.screen-leaderboard-title .center {
  padding-top: 5px;
}

.title-div {
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.screen-shop .title-div .angled-div .center{
  min-width: 450px;
}

.page-title {
  font-size: 40px;
  letter-spacing: 1.48px;
  text-align: center;
  color: #e5f6ff;
  margin-bottom: 18px;
  margin: auto;
  -webkit-text-stroke: 2px #363636;
}


.page-title .center {
  padding-top: 5px;
}

.screen-tasks .page-title {
  filter: hue-rotate(-60deg);
  margin-top: 20px;
}

.screen-leaderboard .page-title {
  filter: hue-rotate(120deg);
}

.page-title>div {
  height: 75px;
}

.screen-tasks .page-title .center {
  min-width: 300px;
}

.sector-text img {
  height: 30px;
  width: auto;
  vertical-align: baseline;
  margin: 0 4px 0 4px;
}

.sector-text.current {
  color: #fff;
  animation: blink-hard 0.2s infinite ease-in-out alternate;
}

@keyframes blink {
  from {
    filter: brightness(1.2);
  }

  to {
    filter: brightness(1);
  }
}

@keyframes blink-hard {
  from {
    filter: opacity(1);
  }

  to {
    filter: opacity(0.3);
  }
}

.roulette-table .spin-button-2 {
  position: absolute;
  left: 100px;
  top: 540px;
  min-width: 300px;
  padding: 20px;

}

.roulette-table .spins-count-div {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.roulette-table .spins-count {

  background: #262626;
  border: solid 1px #fff8;
  padding: 10px;
  border-radius: 60px;
  display: flex;
  flex-direction: row;
  gap: 10px
}

.spin-count-icon {
  background: #7CE472;
  border-radius: 20px;
  width: 40px;
  height: 40px;
}

.spin-count-icon.expended{
  background: #404040;
}

.spin-count-icon .ad-icon {
  width: 0px;
  height: 0px;
  overflow: visible;
}

.spin-count-icon .ad-icon img {
  width: 26px;
  height: 26px;
  position: relative;
  left: 8px;
  top: 7px;
}

.spin-button-2 img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

.sector-text .icon-random_skin {
  width: auto;
  height: 50px;
}

.skin-won{
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px #0008;
  box-shadow: 0 2px 2px #000;
  background: #484;
  color: #fff;
  -webkit-text-stroke: 0.5px #363636;
  border-radius: 20px;
  padding: 50px;
  font-size: 34px;  
  gap: 10px;
}

.settings-panel{
  position: relative;
  display: grid;
  grid-template-columns: 100px 200px 50px 100px;
  grid-template-rows: repeat(auto-fill, 1fr);
  border: solid 1px #0008;
  box-shadow: 0 2px 2px #000;
  background: #1F9DDF;
  color: #fff;
  border-radius: 20px;
  padding: 50px;
  font-size: 34px;
}

.settings-close-div {
  pointer-events: none;
}

.settings-close {
  position: relative;  
  transform: translateX(58px) translateY(-40px) scale(0.8);
}

.settings-close button{
  min-width: 64px;
  pointer-events: all;
}

@media (max-width: 768px){
  .settings-panel{
    grid-template-columns: 0px 150px 40px 100px;
    padding: 15px;
  }
  .settings-panel .icon img{
    display: none;
  }

  .settings-panel .text {
    text-align: right;
    padding-right: 10px;
  }

  .settings-close{
    transform: translateX(43px) translateY(-17px) scale(0.8);
  }
}


.switch-wrap {
  cursor: pointer;
  background: #15273b;
  padding: 5px;
  width: 70px;
  height: 40px;
  border-radius: 20px;
}

.switch-wrap:hover{
  filter: brightness(1.2);
}

.switch {
  height: 100%;
  display: grid;
  grid-template-columns: 0fr 1fr 1fr;
  transition: .2s;
}

.switch::after {
  content: '';
  border-radius: 50%;
  background: #ccc;
  grid-column: 2;
  transition: background .2s;
}

.switch.checked {
  grid-template-columns: 1fr 1fr 0fr; 
}

.switch.checked::after {
  background-color: #52cf71;
}

.icon-sound, .icon-music {
  filter: invert() brightness(2);
  height: 40px;
  width: auto;
}

.icon-music {
  height: 32px;
}

button:hover{
  filter: brightness(1.1);
}

.level-transition .zahvat-main-menu{
  pointer-events: none;
}

.level-transition .finish-level{
  pointer-events: all;
}