body {
  padding: 0;
  margin: 0;
  background: #FFF0C0;
  overflow-y: hidden;
  overflow-x: hidden;
}

#unity-container { 
  position: absolute;
}

#unity-container.unity-universal {
  left: 0;
  top: 5px;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#unity-container.unity-universal-yagames {
  left: 0;
  top: 5px;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#unity-canvas {
  --canvas-aspect-ratioX: 3;
  --canvas-aspect-ratioY: 4;
  --canvas-height: calc(100vh - 8px);
  --canvas-height-yagames: calc(100vh - 16px);
  --canvas-width: calc(var(--canvas-height) * var(--canvas-aspect-ratioX) / var(--canvas-aspect-ratioY));

  background: #000000;
  border-radius: 21px;
  border: 7px solid #FDC002;
  outline: solid 3px #923B09;
}

.unity-universal #unity-canvas {
  height: calc(var(--canvas-height) * 1.5);
  width: calc(var(--canvas-width) * 1.5);
  transform-origin: top;
  transform: scale(0.665);
}

.unity-universal-yagames #unity-canvas {
  height: calc(var(--canvas-height-yagames) * 1.5);
  width: calc(var(--canvas-width) * 1.5);
  transform-origin: top;
  transform: scale(0.665);
}

/* For Mobile Phones View */
@media screen
  and (max-device-width: 768px) {
    #unity-canvas {
      border-radius: 0;
      border: none;
      outline: none;
    }

    .unity-universal #unity-canvas {
      height: 100%;
      width: 100%;
      transform: none;
    }

    .unity-universal-yagames #unity-canvas {
      height: 100%;
      width: 100%;
      transform: none;
    }

    #unity-container.unity-universal {
      width: 100%;
      height: 100%;
      top: 0;
    }

    #unity-container.unity-universal-yagames {
      width: 100%;
      height: 100%;
      top: 0;
    }
}

.unity-universal-yagames #unity-footer {
  display: none
}

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

#unity-footer { 
  position: relative
}

.unity-universal #unity-footer {
  display: none
}

#unity-webgl-logo {
  float:left;
  width: 204px;
  height: 38px;
  background: url('webgl-logo.dd69deeb.png') no-repeat center
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px
}

#unity-fullscreen-button {
  cursor:pointer;
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.a25e94c1.png') no-repeat center
}

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

#unity-logo {
  width: 254px;
  height: 197px;
  background: url('Loader/logo_rus.57be0847.png') no-repeat center;
  background-size: contain
}

#unity-progress-bar {
  transform: translate(-1%, 0%)
}

#unity-progress-bar-background {
  width: 262px;
  height: 33px;
  transform: translate(0%, -33%);
  background: url('Loader/back_panel_bar.1838d52d.png') no-repeat center;
  background-size: contain
}

#unity-progress-bar-full {
  width: 0%;
  height: 25px;
  max-width: 186px;
  transform: translate(38.5px, -166%);
  border-radius: 7px;
  background: url('Loader/fill_bar.b9405d95.png') no-repeat center
}

#unity-progress-bar-stroke {
  width: 262px;
  height: 36px;
  transform: translate(0%, -200%);
  background: url('Loader/stroke_bar.e8a8c601.png') no-repeat center;
  background-size: contain
}

#input-dialog-area {
  display: none;
  width:100%;
  min-height:120px;
  position: fixed;
  bottom: 0px;
  z-index:2147483647;
  background-color: #FFF0C0;
}

#input-dialog-area.active {
  display: block;
}

.wrapper {
  width: calc(100% - 30px);
  max-width: 637px;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

.notificationWrapper {
  width: calc(100% - 30px);
  max-width: 607px;
  border-radius: 15px;
  background-color: #FFFDF5;
  padding: 18px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;

  z-index: 15000;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

.notificationWrapper.active {
  display: flex;
}

.notificationText {
  font-family: "tildaScaansRegular", sans-serif;
  font-size: 14px;
  line-height: 16.8px;
  font-weight: 400;
  color: #000000;
  text-align: start;
}

.notificationText a {
  display: inline;
  color: #6D0100;
}

.notificationButtonWrapper {
  width: 100%;
  max-width: 126px;
}

.notificationButtonLink {
  width: 100%;
  background-color: #DD7B00;
  padding: 9px 22px;
  border-radius: 15px;
}

.notificationButtonText {
  color: #FFFAE9;
  font-family: "tildaScaansBold", sans-serif;
  font-size: 16px;
  line-height: 19.14px;
  font-weight: 700;
}

@media(max-width: 570px) {
  .notificationWrapper {
    width: calc(100% - 30px);
    max-width: 570px;
    border-radius: 15px;
    background-color: #FFFDF5;
    padding: 18px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
  }

  .notificationText {
    font-family: "tildaScaansRegular", sans-serif;
    font-size: 12px;
    line-height: 14.4px;
    font-weight: 400;
    color: #000000;
  }

  .notificationText a {
    display: inline;
    color: #6D0100;
  }

  .notificationButtonWrapper {
    width: 100%;
    max-width: 119px;
  }

  .notificationButtonLink {
    width: 100%;
    background-color: #DD7B00;
    padding: 9px 22px;
    border-radius: 15px;
  }

  .notificationButtonText {
    color: #FFFAE9;
    font-family: "tildaScaansBold", sans-serif;
    font-size: 16px;
    line-height: 19.14px;
    font-weight: 700;
  }
}

#gp_burger_btn_install.hide {
  display: none;
}

@media (display-mode: standalone) {
  #gp_burger_btn_install {
    display: none;
  }
}

@media (display-mode: minimal-ui) {
  #gp_burger_btn_install {
    display: none;
  }
}
