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

html,
body {
  margin: 0;
}

body {
  color: #222;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0;
}

input,
button {
  outline: none;
}

.challenge {
  background: #fff;
  display: none;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  z-index: 100;
}

.challenge.is-open {
  display: block;
}

.challenge__inner {
  display: flex;
  flex-flow: column nowrap;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 0 12px;
  width: 100%;
}

.challenge__header {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.challenge__body {
  align-items: center;
  display: flex;
  flex: 1;
  flex-flow: column nowrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.challenge--check .challenge__body {
  gap: 40px;
}

.challenge__banner {
  display: flex;
  justify-content: center;
  margin-top: auto;
  overflow: visible;
  padding: 0 0 24px;
}

.challenge__logo {
  display: inline-flex;
}

.challenge__logo svg {
  display: block;
  height: auto;
  width: 110.8px;
}

.challenge--check .challenge__logo svg {
  width: 184.6px;
}

.challenge__progress {
  background: #e6e6e6;
  border-radius: 999px;
  height: 8px;
  max-width: 100%;
  overflow: hidden;
  width: 320px;
}

.pow-bar {
  background: #222;
  border-radius: 999px;
  height: 100%;
  transition: width 0.2s ease;
  width: 0;
}

.captcha {
  display: flex;
  flex-flow: column nowrap;
  gap: 24px;
  max-width: 360px;
  width: 100%;
}

.captcha__title {
  color: #222;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.captcha__image {
  background: #f4f4f4;
  border-radius: 20px;
  height: 160px;
  position: relative;
  width: 100%;
}

.captcha__image img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}








.captcha__form {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  width: 100%;
}

.captcha__field {
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
  width: 100%;
}

.captcha__hint {
  color: #fa6a3c;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
}

.captcha__input {
  appearance: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  color: #222;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  height: 48px;
  line-height: 1.2;
  padding: 10px 14px;
  width: 100%;
}

.captcha__input::placeholder {
  color: #8f8f8f;
}

.captcha__input:focus {
  border-color: #222;
}

.captcha__field.is-error .captcha__input {
  border-color: #fa6a3c;
  color: #fa6a3c;
  font-size: 15px;
  font-weight: 300;
}

.captcha__input:not(:placeholder-shown) {
  font-size: 20px;
  font-weight: 400;
}

.captcha__btn {
  appearance: none;
  background: #f4f4f4;
  border: 1px solid #f4f4f4;
  border-radius: 999px;
  color: #b0b0b0;
  cursor: default;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  height: 48px;
  width: 100%;
}

.captcha__btn.is-ready {
  background: #222;
  border-color: #222;
  color: #fff;
  cursor: pointer;
}

.shop-card {
  align-items: center;
  background: #f4f4f4;
  border-radius: 24px;
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
  max-width: 560px;
  overflow: visible;
  padding: 20px 20px 16px;
  position: relative;
  width: 100%;
}

.shop-card__avatars {
  height: 56px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: -46px;
  transform: translateX(-50%);
  width: 112px;
}

.shop-card__shoulders {
  display: block;
  height: 56px;
  width: 112px;
}

.shop-card__avatar {
  background: #e8e8e8;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #f4f4f4;
  height: 56px;
  left: 28px;
  position: absolute;
  top: 0;
  width: 56px;
}

.shop-card__meta {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.shop-card__marks {
  align-items: center;
  display: flex;
  gap: 4px;
}

.shop-card__badge {
  background: linear-gradient(to bottom left, #f69d38 0%, #f69d38 40%, #fdb665 55%, #f69d38 100%);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  padding: 4px 8px;
}

.shop-card__trust {
  display: block;
  flex: none;
  height: 18px;
  width: 18px;
}

.shop-card__name {
  color: #222;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.shop-card__avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.shop-card__text {
  white-space: pre-line;
  color: #222;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  max-width: 520px;
  text-align: center;
  width: 100%;
}

@media (max-width: 420px) {
  .challenge__inner {
    padding: 0;
  }

  .challenge__header {
    padding-top: 12px;
  }

  .challenge--captcha .challenge__body {
    padding: 0 16px;
  }

  .challenge--check .challenge__body {
    gap: 30px;
  }

  .challenge__banner {
    padding: 0 16px 16px;
  }

  .captcha__form {
    gap: 16px;
  }

  .shop-card {
    border-radius: 20px;
    max-width: none;
    padding: 20px 16px 16px;
  }

  .shop-card__name {
    font-size: 16px;
  }

  .shop-card__text {
    font-size: 14px;
  }

  .shop-card__break {
    display: none;
  }

  .challenge--check .challenge__logo svg {
    width: 147.7px;
  }

  .challenge__progress {
    width: 290px;
  }

  .captcha {
    max-width: none;
  }

  .captcha__title {
    font-size: 18px;
  }

  .captcha__image {
    height: 141px;
  }

  .captcha__input:not(:placeholder-shown) {
    font-size: 18px;
  }
}

@media (max-width: 320px) {
  .challenge--captcha .challenge__body {
    gap: 20px;
    padding: 0 16px 20px;
  }

  .challenge__banner {
    padding: 0 12px 12px;
  }

  .captcha {
    gap: 20px;
  }

  .shop-card {
    gap: 4px;
    padding: 16px 12px 12px;
  }

  .shop-card__name {
    font-size: 15px;
  }

  .shop-card__text {
    font-size: 13px;
  }

  .shop-card__trust {
    height: 12px;
    width: 12px;
  }

  .captcha__title {
    font-size: 16px;
  }

  .captcha__image {
    height: 139px;
  }

  .captcha__form {
    gap: 12px;
  }
}

.captcha__hint.is-info {
  color: #8f8f8f;
}

.challenge__marker {
  bottom: 10px;
  color: #e6872263;
  position: fixed;
  right: 10px;
  z-index: 101;
}

.challenge__notice {
  background: #fff;
  color: #fa6a3c;
  font-size: 20px;
  inset: 0;
  padding: 10%;
  position: fixed;
  z-index: 102;
}

.announce-wrap {
  max-width: 560px;
  width: 100%;
}

.announce-wrap:empty {
  display: none;
}

.announce {
  align-items: center;
  background: #f4f4f4;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
  overflow: visible;
  padding: 20px 20px 16px;
  position: relative;
  width: 100%;
}

.announce:before,
.announce:after {
  display: none;
}

.announce-header {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  position: relative;
}

.announce-header .img {
  flex: none;
  height: 56px;
  overflow: hidden;
  width: 56px;
}

.announce-header img {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.announce-header .name {
  color: #222;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.announce-body {
  margin-top: 6px;
}

.announce-body p {
  color: #222;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  white-space: pre-line;
}

.announce-body .orange {
  color: #222;
}

@media (max-width: 420px) {
  .announce {
    border-radius: 20px;
    padding: 20px 16px 16px;
  }

  .announce-header .name {
    font-size: 16px;
  }

  .announce-body p {
    font-size: 14px;
  }
}
