@charset "UTF-8";
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);
}

.rc {
  width: min(300px, 92vw);
  text-align: center;
}

.rc__accent {
  display: block;
  width: 32px;
  height: 3px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: #2f6df6;
  transform-origin: center;
  animation: rc-scan 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes rc-scan {
  0%, 70%, 100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
  30% {
    transform: scaleX(1);
    opacity: 1;
  }
}
.rc__eyebrow {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.14em;
  color: rgba(23, 20, 26, 0.72);
}

.rc__title {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.2;
  font-family: inherit;
  color: #17141a;
}

.rc__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  border: 0;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  cursor: pointer;
  isolation: isolate;
}

.rc__fill {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}

.rc__btn.is-loading .rc__fill {
  transform: scaleX(1);
  transition: transform 900ms ease-out;
}

.rc__ic-wrap {
  position: relative;
  width: 14px;
  height: 14px;
}

.rc__ic-arrow, .rc__ic-check {
  position: absolute;
  inset: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.rc__ic-arrow {
  opacity: 1;
  animation: rc-bob 2s ease-in-out infinite;
}

.rc__ic-check {
  opacity: 0;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
}

.rc__btn.is-done .rc__ic-arrow {
  opacity: 0;
  animation: none;
}

.rc__btn.is-done .rc__ic-check {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 300ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes rc-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
.rc__btn.is-loading .rc__ic-arrow {
  animation-play-state: paused;
}

.rc__label {
  position: relative;
}

.rc__btn.is-done .rc__label::after {
  content: " 완료";
}

.rc__status {
  min-height: 14px;
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 9px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

@media (max-width: 340px), (max-height: 220px) {
  .rc__eyebrow {
    display: none;
  }
  .rc__title {
    margin-bottom: 8px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc__accent {
    animation: none !important;
  }
  .rc__ic-arrow {
    animation: none !important;
  }
  .rc__fill, .rc__ic-check {
    transition: none;
  }
}
