html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.rs {
  width: min(260px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}

.rs__input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 2px solid #c2361a;
  background: #fff;
  color: #17141a;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
}

.rs__btn {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid rgba(23, 20, 26, 0.3);
  border-radius: 12px;
  background: none;
  color: #17141a;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
}

.rs__msg {
  margin: 0;
  color: #c2361a;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
}

@keyframes rs-shake {
  0%, 100% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-7px);
  }
  20% {
    transform: translateX(6px);
  }
  30% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(4px);
  }
  50% {
    transform: translateX(-3px);
  }
  60% {
    transform: translateX(2px);
  }
  70% {
    transform: translateX(-1px);
  }
  80% {
    transform: translateX(1px);
  }
}
.rs__input.rs--shake {
  animation: rs-shake 500ms ease-out;
}

.rs.is-demo .rs__input {
  animation: rs-shake 500ms ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .rs__input.rs--shake,
  .rs.is-demo .rs__input {
    animation: none !important;
  }
}
