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

.pvr {
  position: relative;
  width: min(92vw, 160vh - 12.8vw);
  aspect-ratio: 480/300;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pvr__frame {
  position: relative;
  transition: none;
}

.pvr__page {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff7e6;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  padding: 12px;
  box-sizing: border-box;
  will-change: transform;
}

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

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

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

.pvr__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pvr__btn {
  border: none;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  background: #17141a;
  color: #fff;
  cursor: pointer;
}

.pvr__deg {
  min-width: 40px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #17141a;
}

@media (max-width: 340px) {
  .pvr__btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pvr__page, .pvr__frame {
    transition: none;
  }
}
