/* Zappito: khung dọc 9:16, cao vừa cửa sổ, căn giữa. Phần thừa hai bên (desktop,
   điện thoại xoay ngang) tô màu nền của game. Đổi màu ở --zappito-side. */
:root { --zappito-side: #231F20; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--zappito-side) }
#unity-container { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center }
#unity-canvas {
  display: block;
  /* vh trước, dvh sau: trình duyệt cũ không hiểu dvh thì giữ vh. dvh trừ thanh
     địa chỉ di động nên khung không bị che đáy. */
  width: min(100vw, calc(100vh * 9 / 16));
  height: min(100vh, calc(100vw * 16 / 9));
  width: min(100vw, calc(100dvh * 9 / 16));
  height: min(100dvh, calc(100vw * 16 / 9));
  background: var(--zappito-side);
  touch-action: none;
}
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
