body {
  padding: 0;
  margin: 0;
}

.unity-container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 300;
}

.unity-canvas {
  width: 100%;
  height: 100%;
  background: #231F20;
}

.unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.unity-logo {
  width: 154px;
  height: 130px;
  background: url("unity-logo-dark.png") no-repeat center;
}

.unity-progress-bar-empty {
  margin-left: auto;
  margin-right: auto;
  width: 141px;
  height: 18px;
  margin-top: 10px;
  background: url("progress-bar-empty-dark.png") no-repeat center;
}

.unity-progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: url("progress-bar-full-dark.png") no-repeat center;
}

.unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}

.task {
  --adsgram-task-font-size: 16px // min 14px;
  --adsgram-task-icon-size: 50px // min 30px;
  --adsgram-task-icon-title-gap: 15px // min 5px max 40px;
  --adsgram-task-button-width: 60px // min 40px;
  --adsgram-task-icon-border-radius: 8px // min 40px;
  width: 90%;
  padding: 8px 24px 8px 24px;
  border-radius: 16px;
  background-color: #1d2733;
  font-family: Roboto;
  color: white;
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.task__reward {
  margin: 5px 0 0 0;
  font-size: 14px;
}

.task__button {
  margin-left: 10px;
  background-color: #50a8eb;
  border-radius: 5px;
  padding: 6px 12px;
}

.task__button_claim {
  margin-left: 0;
  background-color: #ee941c;
}

.task__button_done {
  margin-left: 0;
  background-color: #007539;
}

.unity-logo {
  display: none;
}

.unity-loading-bar {
  height: 100%;
  background-image: url("loading_bg.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  width: 100%;
}

.unity-progress-bar-empty {
  position: absolute;
  z-index: 1;
  bottom: 10%;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  width: 70%;
  margin: 0;
  height: 28px;
  background: none;
  -webkit-border-radius: 47px;
  -moz-border-radius: 47px;
  border-radius: 47px;
  background-color: hsla(0, 0%, 100%, 0.84);
  -webkit-box-shadow: 0px 4px 6px 0px #fff inset, 0px 4px 13.8px 0px rgba(0, 0, 0, 0.2509803922);
  -moz-box-shadow: 0px 4px 6px 0px #fff inset, 0px 4px 13.8px 0px rgba(0, 0, 0, 0.2509803922);
  box-shadow: 0px 4px 6px 0px #fff inset, 0px 4px 13.8px 0px rgba(0, 0, 0, 0.2509803922);
}

.unity-progress-bar-full {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: center;
  color: #fff;
  background: none;
  background-color: #0f1dad;
  -webkit-border-radius: 47px;
  -moz-border-radius: 47px;
  border-radius: 47px;
  text-shadow: 1px 2px 1px #1d289c, #1d289c 1px 0px 0px, #1d289c 0.540302px 0.841471px 0px, #1d289c -0.416147px 0.909297px 0px, #1d289c -0.989992px 0.14112px 0px, #1d289c -0.653644px -0.756802px 0px, #1d289c 0.283662px -0.958924px 0px, #1d289c 0.96017px -0.279415px 0px;
}

.unity-progress-bar-full span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.p-hide {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  overflow: hidden;
  z-index: 5;
}