body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container { left: 50%; top: 0%; transform: translate(-50%, 0%) }
#unity-canvas { 
    width: 100%;
    height: 100%;
    background: #231F20
 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-logo { display: none }
#unity-loading-bar {
    /* * 注意: この要素は 'unity-container' の中央ではなく、
     * 'unity-canvas' が表示される位置の中央に来るように、
     * JavaScript (index.html内) によって 'display: none' が解除され、
     * 位置が調整されます。
     * * 2020+ の 'Default' テンプレートでは、
     * コンテナの中央に絶対配置されることが多いです。
     */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block; /* 最初は表示しておく (JSでロード完了時に 'none' になる) */
    text-align: center; /* 中の要素を中央揃え */
}
#unity-progress-bar-empty {
    width: 154px; /* ロゴの幅に合わせる */
    height: 18px;
    margin-top: 10px; /* ロゴとの間隔 */
    /* TemplateData/progress-bar-empty.png を読み込みます */
    background: url('progress-bar-empty.png') no-repeat center;
    background-size: contain;
}
#unity-progress-bar-full {
    width: 0%; /* JavaScriptによって 0% から 100% に変更されます */
    height: 18px;
    margin-top: 0;
    /* TemplateData/progress-bar-full.png を読み込みます */
    background: url('progress-bar-full.png') no-repeat center;
    background-size: contain;
}
#unity-progress-text {
    color: #E0E0E0; /* 文字色 (明るい灰色) */
    text-align: center;
    margin-top: 10px; /* プログレスバーとの間隔 */
    font-size: 14px;
    font-weight: bold;
}
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { display: none }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
