/* ============================================
   WRAP / CONTAINER
   ============================================ */
html, body { height: 100%; overflow: hidden; }
body { background: var(--color-stage-bg); }
#wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
#container { display: block; height: 100%; }

/* ============================================
   DECK (1920x1080 캔버스 + 가로 슬라이드)
   scale은 ui.js(initDeck)가 화면 크기에 맞춰 계산
   ============================================ */
.deck-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--stage-w);
  height: var(--stage-h);
  margin: calc(var(--stage-h) / -2) 0 0 calc(var(--stage-w) / -2);
  overflow: hidden;
  background: var(--color-bg);
  transform-origin: 50% 50%;
}
.deck-track { display: flex; height: 100%; transition: transform 1s cubic-bezier(0.7, 0, 0.2, 1); }
.deck-slide { position: relative; flex: 0 0 var(--stage-w); width: var(--stage-w); height: var(--stage-h); overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .deck-track { transition: none; }
}
