* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #9fd68c; /* 코지 그린 — 캔버스 외 여백도 같은 톤 */
  /* 모바일 더블탭 줌/콜아웃 방지 */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#game {
  width: 100%;
  height: 100%;
  /* 게임 캔버스는 끝까지(세이프에어리어는 게임 내부 UI에서 처리) */
  touch-action: none;
}

#game canvas {
  display: block;
  /* touch-action은 상속되지 않음 → 캔버스에 직접 none 지정.
     스크롤·줌 없는 탭 전용 게임이라 모든 터치를 즉시 입력으로만 처리(WKWebView 권장). */
  touch-action: none;
}
