/*
 * SigmaZero WebGL テンプレート用スタイル（#164 検収フィードバック1）
 *
 * なぜ Default をそのまま使わないか:
 *   Unity 既定テンプレートは canvas を WIDTH x HEIGHT の固定サイズで画面中央に置くため、
 *   ブラウザ窓のリサイズ（PC のウィンドウ操作・スマホの画面回転）に追随しない。
 *
 * Default からの差分:
 *   - unity-desktop / unity-mobile の分岐を廃止し、常にブラウザ窓の全面へ広げる
 *   - フッター（Unity ロゴ・ビルド名・フルスクリーンボタン）の規則を削除
 *   - diagnostics アイコンの位置を常に画面右下へ固定（旧: モバイル判定時だけ JS で設定）
 */

html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden }

#unity-container { position: fixed; left: 0; top: 0; width: 100%; height: 100% }
#unity-canvas { width: 100%; height: 100%; display: block; 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 }

#diagnostics-icon { position: fixed; right: 0; bottom: 10px; cursor: pointer }
