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);
}

.rb {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.rb__caption {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #17141a;
}

.rb__zone {
  position: relative;
  width: 220px;
  height: 150px;
  display: grid;
  place-items: center;
}

.rb__glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 200px;
  height: 140px;
  --glow-deg: 0deg;
  --glow-strength: 0;
  background: conic-gradient(from var(--glow-deg), transparent 0deg, rgba(47, 109, 246, 0.55) 40deg, transparent 90deg);
  opacity: var(--glow-strength);
  border-radius: 16px;
  pointer-events: none;
}

.rb__btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px;
  cursor: pointer;
  color: #0a4fe8;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  transform-origin: center;
  will-change: transform;
}

.rb__btn:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 3px;
}

.rb__shape {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.rb.is-saved .rb__shape {
  fill: #0a4fe8;
}

.rb__status {
  margin: 0;
  font-size: 11px;
  color: #17141a;
  font-weight: 600;
}

@media (max-width: 340px) {
  .rb__zone {
    width: 170px;
    height: 96px;
  }
  .rb__glow {
    width: 150px;
    height: 86px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rb__btn {
    transition: none;
  }
}
