body.quiz,
body.quiz #main {
  margin: 0;
  padding: 0;
}
body.quiz #main {
  position: relative;
}
#quiz-app {
  height: 100vh;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
#quiz-app .btn {
  padding: 16px;
  font-family: var(--font-regular);
  font-size: 14px;
  line-height: 1em;
}
.quiz-inner {
  display: grid;
  min-height: 100%;
}
.quiz-steps {
  width: 100%;
  height: 100%;
}
.quiz-step {
  background: #fff;
  padding: 16px;
  height: 100%;
}
.quiz-step.main {
  position: absolute;
  inset: 0;
}
.quiz-step.show {
  display: block;
}
.quiz-step.hide {
  display: none !important;
}
.quiz-step.main {
  background: url(/images/mquiz/quiz.svg) no-repeat;
  background-size: contain;
  background-position: top center;
}
.quiz-step .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 30px 30px 0 0;
}
.quiz-step .info,
.quiz-step .info * {
  font-family: var(--font-bold);
  font-size: 20px;
  line-height: 28px;
}
.quiz-step .info .btn {
  display: block;
  width: 100%;
  margin: 0;
  margin-top: 28px;
  text-align: center;
}

.quiz-steps .steps-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 -3px 20px;
}
.quiz-steps .steps-item {
  display: block;
  flex: 1;
  height: 6px;
  background: var(--disabled);
  margin: 0 3px;
  border-radius: 22px;
}
.quiz-steps .steps-item.active {
  background: var(--system);
}

.radio-item .icon {
  display: block;
  width: 28px;
  height: 28px;
}

.step-inner {
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.step-inner h3 {
  margin: 0 0 4px;
  font-family: var(--font-bold);
  font-size: 20px;
  line-height: 28px;
}
.step-inner > p {
  margin: 0 0 20px;
  font-family: var(--font-regular);
  font-size: 14px;
  line-height: 20px;
  color: var(--second);
}
.step-inner .radio-items {
  flex: 1;
  width: 100%;
  margin: 0 0 20px;
}
.step-inner .buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.step-inner .buttons .btn {
  margin: 0;
}
.step-inner .buttons .btn.prev {
  flex: 0 0 44px;
  margin-right: 16px;
  padding: 6px !important;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid var(--system);
  color: var(--system);
}
.step-inner .buttons .btn.next {
  flex: 1;
}
.step-inner .radio-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  margin: 8px 0;
  border: 1px solid var(--disabled);
  border-radius: 4px;
  cursor: pointer;
}
.step-inner .radio-item p {
  margin: 0;
}
.step-inner .radio-item.active {
  background: var(--system-light);
  border-color: var(--system);
}
.step-inner .radio-item .icon {
  flex: 0 0 28px;
  margin-left: 10px;
}
.step-inner .radio-item.active .icon {
  color: var(--system);
}
.step-inner .gift {
  display: block;
  width: 110px;
  height: 133px;
  margin: 0 auto 24px;
}
.step-inner .gift img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.step-inner h3.center {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
}