@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lilita-one-latin-400.woff2') format('woff2');
}

html, body { margin: 0; height: 100%; background: #12062a; overflow: hidden; }
body { display: flex; align-items: center; justify-content: center; }
#game {
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  display: block;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#loading {
  position: fixed; left: 50%; top: 50%; width: min(420px, 60vw); height: 10px;
  transform: translate(-50%, -50%); border-radius: 5px; background: rgba(217, 194, 255, 0.18); overflow: hidden;
}
#loading-bar { height: 100%; width: 0; background: #d9c2ff; border-radius: 5px; transition: width 0.15s linear; }
