/* 게임 캔버스와 오버레이의 기준 박스. 게임별 CSS 다음에 불러온다. */
html, body { margin: 0; padding: 0; overflow: hidden; overscroll-behavior: none; }

#stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  transform: translateZ(0);
}

/* 룰렛과 팀 입력은 작은 화면에서 아래까지 스크롤할 수 있다. */
html.flow-game, .flow-game body { height: auto; overflow: visible; }
#stage.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow: visible;
  padding: 24px 20px 28px;
}

.stage-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
}
