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

.pvf {
  position: relative;
  width: min(92vw, 160vh - 12.8vw);
  aspect-ratio: 480/300;
  margin: 0 auto;
  display: grid;
  place-items: center;
  outline: none;
}

.pvf__stack {
  position: relative;
  width: 62%;
  height: 84%;
}

.pvf__cardBack,
.pvf__card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  padding: 16px;
  box-sizing: border-box;
}

.pvf__cardBack {
  transform: scale(0.94) translateY(6%);
  box-shadow: 0 8px 16px rgba(23, 20, 26, 0.18);
}

.pvf__card {
  cursor: grab;
  touch-action: none;
  will-change: transform;
}

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

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

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

.pvf__hint {
  position: absolute;
  bottom: 8px;
  margin: 0;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.5);
  transition: opacity 300ms ease;
}

@media (max-width: 340px) {
  .pvf__stack {
    width: 74%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pvf__card {
    transition: none;
  }
}
