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

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

.prsg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.prsg__phone {
  position: relative;
  width: 220px;
  height: 168px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  touch-action: none;
  cursor: grab;
}

.prsg__zone {
  position: relative;
  height: 34px;
  display: grid;
  place-items: center;
}

.prsg__disc {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.22);
  transition: background 220ms ease-out;
}
.prsg__disc--ready {
  background: #0a4fe8;
}
.prsg__disc--spin {
  animation: prsgSpin 0.6s linear infinite;
}

@keyframes prsgSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}
.prsg__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 12px;
}

.prsg__row {
  height: 15px;
  border-radius: 4px;
  background: #fff7e6;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}
.prsg__row--in {
  opacity: 1;
  transform: translateY(0);
}

.prsg__hint {
  color: #17141a;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 340px) {
  .prsg__phone {
    width: 176px;
    height: 132px;
  }
  .prsg__zone {
    height: 28px;
  }
  .prsg__list {
    gap: 4px;
    padding: 0 12px 8px;
  }
  .prsg__row {
    height: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .prsg__disc, .prsg__row {
    transition: none !important;
    animation: none !important;
  }
}
