/* ASMR Marbles browser demo: the game fills the frame in its portrait shape (between 9:16 and 9:21) on a dark ground. */
html, body { margin: 0; height: 100%; overflow: hidden; background: #060909; touch-action: none; overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
#unity-container { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; touch-action: none; }
#unity-stage { position: relative; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
#unity-canvas { display: block; background: #0b1211; touch-action: none; outline: none;
  height: min(100vh, calc(100vw * 21 / 9)); width: min(100vw, calc(min(100vh, calc(100vw * 21 / 9)) * 9 / 16)); }
@supports (height: 100dvh) {
  #unity-canvas { height: min(100dvh, calc(100vw * 21 / 9)); width: min(100vw, calc(min(100dvh, calc(100vw * 21 / 9)) * 9 / 16)); }
}
#unity-loading-container { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #0b1211; pointer-events: none; }
#unity-loading-bar { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#unity-loading-title { font: 600 15px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 233, 200, .75); padding-left: .32em; }
#unity-progress-bar-empty { width: 160px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#unity-progress-bar-full { width: 0%; height: 100%; border-radius: 3px; background: #7fc6a4; transition: width .2s ease-out; }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); max-width: 90%; background: #fff; color: #111; font: 14px system-ui, sans-serif; padding: 10px; display: none; z-index: 2; }
