:root { color-scheme: light; background: #d6eff5; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
#game {
  position: relative;
  height: 100%;
  height: 100dvh;
  width: 100%;
  max-width: 66.67dvh;
  margin: 0 auto;
  background: #b8e7ed;
}
.has-line-banner #game { height: calc(100dvh - 50px - env(safe-area-inset-bottom, 0px)); }
#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  justify-items: center;
  color: #16414a;
  font: 600 16px system-ui, sans-serif;
}
#loading[hidden] { display: none; }
.line-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}
.line-ad-overlay.is-showing { background: #0009; }
.line-ad-banner {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
