/* 게임 화면이 브라우저 창을 전부 채운다 — 여백도 스크롤바도 푸터도 없이.
   배경색을 body 에도 깔아 두는 건 로딩 중(캔버스가 아직 안 그려질 때)과
   리사이즈 도중 한 프레임에 흰 바탕이 새는 것을 막기 위해서다. */
html, body { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden; background: #231F20 }

/* position: fixed 라 스크롤·주소창 변화와 무관하게 뷰포트에 붙어 있는다. */
#unity-container { position: fixed; left: 0; top: 0; width: 100%; height: 100% }

/* display: block 이 없으면 inline 기본값의 baseline 여백이 아래에 몇 px 남는다. */
#unity-canvas { display: block; width: 100%; height: 100%; background: #231F20 }

#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 { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; 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 }
