:root {
  --popup-width: 729px;
  --popup-height: 500px;
  --close-x: 32px;
  --close-y: 34px;
  --text-dist: 38px;
  --submit-width: 206px;
  --submit-height: 40px;
  --submit-radius: 20px;
  --submit-fontsize: 1.125em;
  --submit-dist: 6.5px;
  --thanks-button-dist: 35px;
}
body.scrolllock-on {
  top: unset !important;
}
#popup-aug {
  --red: #ed1c24;
  --blue: #2a3b74;
}
#popup-aug .popup-content {
  position: relative;
  width: var(--popup-width);
  height: var(--popup-height);
  padding: 0 15px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/hero/popup-back.webp);
  background-image: -webkit-image-set(url("../images/hero/popup-back.webp") 1x, url("../images/hero/popup-back@2x.webp") 2x);
}
#popup-aug .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: 24px 18px;
}
#popup-aug form {
  margin-top: 20px;
}
#popup-aug .scratchpad {
  width: 100%;
  height: 100%;
}
#popup-aug .game-text {
  margin: 0 0 40px -7px;
}
#popup-aug .scratch-game {
  margin: 46px 13px 0 0px;
}
#popup-aug .button {
  width: 10.5em;
  height: 2em;
  border-radius: 1em;
  font-size: 1.2em;
  margin-top: 0;
  line-height: 1;
  padding: 0;
  border: none !important;
  color: #fff;
}
#popup-aug .popup-thanks .button {
  margin-top: 29px;
}
#popup-aug .popup-thanks .thanks {
  margin: 12px 0 0 -19px;
}
#popup-aug .form-action {
  text-align: center;
}
#popup-aug .form-text {
  margin-top: 10px;
}
#popup-aug .image {
  bottom: 0;
  right: -5.5em;
}
@supports (background: -webkit-named-image(i)) {
  #popup-aug .button {
    padding-top: 4px;
  }
}
@media screen and (max-width: 767px) {
  #popup-aug .popup-game {
    flex-direction: column;
    justify-content: center;
  }
  #popup-aug .scratch-game {
    margin: -10px 0 0 0;
  }
  #popup-aug .popup-thanks .thanks {
    margin: 0;
  }
}
@media screen and (max-width: 567px) {
  :root {
    --popup-width: 100%;
    --popup-height: 100%;
    --close-x: 16px;
    --close-y: 20px;
    --text-dist: 21px;
    --submit-width: 150px;
    --submit-height: 33px;
    --submit-radius: 17px;
    --submit-fontsize: 0.8125em;
    --submit-dist: 10px;
    --thanks-button-dist: 24px;
  }
  #popup-aug .popup-content {
    height: 100%;
    width: 100%;
    background-image: url(../images/hero/popup-back-m.webp);
    background-image: -webkit-image-set(url("../images/hero/popup-back-m.webp") 1x, url("../images/hero/popup-back-m@2x.webp") 2x);
  }
  #popup-aug .popup-content::before {
    display: none;
  }
  #popup-aug .popup-form {
    width: 100%;
  }
  #popup-aug form.uni-style {
    width: calc(100% - 35px);
  }
  #popup-aug .button {
    font-size: 1.2em;
  }
  @supports (background: -webkit-named-image(i)) {
    #popup-aug .button {
      padding-top: 2px;
    }
  }
}
