html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

body {
  /* canvas をアスペクト比を保ったまま中央に置き、余白は黒帯にする */
  display: flex;
  align-items: center;
  justify-content: center;

  /* タッチ操作でブラウザ側の動き(スクロール・拡大・スワイプで戻る・長押しメニュー・文字選択)が起きないようにする */
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

canvas {
  display: block;
  touch-action: none;
}

#fullscreen-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

#fullscreen-button[hidden] {
  display: none;
}
