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

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

.sb {
  position: relative;
  width: min(92vw, 160vh - 12.8vw);
  aspect-ratio: 480/300;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.sb__scene {
  position: absolute;
  left: 0;
  top: 0;
  width: 480px;
  height: 300px;
  transform-origin: 0 0;
}

.sb__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 480px;
  height: 300px;
  pointer-events: none;
}

.sb__status {
  position: absolute;
  left: 16px;
  bottom: 12px;
  box-sizing: border-box;
  max-width: 260px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #17141a;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}

.sb__status--top {
  top: 12px;
  bottom: auto;
}

.sb__status--side {
  max-width: 140px;
  border-radius: 12px;
}

.sb {
  background: #f3f6fb;
}

.rg__area {
  position: absolute;
  left: 120px;
  top: 28px;
  width: 240px;
  height: 64px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.08);
}

.rg__send {
  position: absolute;
  left: 120px;
  top: 100px;
  width: 240px;
  height: 100px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #17141a;
  font: inherit;
  cursor: pointer;
}

.rg__svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 100px;
  overflow: visible;
}

.rg__track {
  stroke: rgba(23, 20, 26, 0.12);
}

.rg__ring {
  stroke: #6f63b8;
}

.rg__check {
  stroke: #17141a;
}

.rg__send:focus-visible {
  outline: none;
}

.rg__send:focus-visible .rg__body {
  stroke: #17141a;
  stroke-width: 3;
}

.rg__label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 340px) {
  .sb__status {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sb__scene * {
    transition: none !important;
    animation: none !important;
  }
}
