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

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

.pvz {
  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);
  background: #17141a;
  outline: none;
}

.pvz__view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pvz__page {
  position: absolute;
  left: 12%;
  top: 10%;
  width: 76%;
  height: 80%;
  background: #fff7e6;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  will-change: transform;
}

.pvz__title {
  height: 10px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.4);
  margin-bottom: 8px;
}

.pvz__line {
  height: 5px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.18);
  margin-top: 4px;
}

.pvz__fig {
  height: 22%;
  margin-top: 8px;
  border-radius: 8px;
  background: rgba(47, 109, 246, 0.22);
}

.pvz__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: rgba(255, 77, 31, 0.85);
  box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.25);
  pointer-events: none;
  will-change: transform;
}

.pvz__label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 340px) {
  .pvz__label {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pvz__page, .pvz__dot {
    transition: none;
  }
}
