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

.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.ps__hint {
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1.35;
  color: #17141a;
  text-align: center;
}

.ps__field {
  position: relative;
  width: clamp(180px, 42vw, 220px);
  height: clamp(140px, 34vw, 168px);
  display: grid;
  place-items: center;
}

.ps__world {
  position: relative;
  transform-style: preserve-3d;
  width: 1px;
  height: 1px;
}

.ps__block {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--w) - 3px);
  height: calc(var(--w) - 3px);
  transform: translate3d(var(--tx), var(--ty), 0) translate(-50%, -50%);
  background: #2f6df6;
  border: 1px solid rgba(23, 20, 26, 0.3);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.ps__block--traveler {
  background: #c93000;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.ps__meta {
  margin: 0;
  font-size: clamp(9px, 2.4vw, 11px);
  color: rgba(23, 20, 26, 0.82);
}

.ps__meta b {
  font-weight: 800;
  color: #c93000;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .ps {
    gap: 4px;
  }
  .ps__field {
    width: 156px;
    height: 112px;
  }
  .ps__hint {
    font-size: 8px;
  }
  .ps__meta {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ps.is-still .ps__block {
    transition: none;
  }
}
