/* Глобальный сброс и портретная компоновка под мобилку. */

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0c0f16;
  /* Запрещаем выделение/зум/«резинку» — это игра, а не страница. */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overscroll-behavior: none;
  font-family: "Segoe UI", system-ui, sans-serif;
}

#game {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#arena {
  /* Canvas тянется на весь экран. Реальный размер пикселей считает Renderer (с учётом DPR). */
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
