html, body { padding: 0; margin: 0; width: 100%; height: 100%; overflow: hidden }
#unity-container { position: fixed; inset: 0; width: 100%; height: 100% }
#unity-container.unity-desktop { width: 100%; height: 100% }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { display: block; width: 100%; height: 100%; background: #FFFFFF }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; width: min(280px, 72vw); transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; margin: 0 auto; background: url('unity-logo-light.png') no-repeat center }
#unity-progress-bar-empty { box-sizing: border-box; width: 100%; height: 10px; margin-top: 28px; overflow: hidden; border: 1px solid rgba(255, 199, 105, .24); border-radius: 999px; background: #171a24; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .4), 0 0 20px rgba(239, 165, 56, .06) }
#unity-progress-bar-full { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e99b35, #ffd183); box-shadow: 0 0 12px rgba(255, 193, 93, .4); transition: width .18s ease-out }
@media (prefers-reduced-motion: reduce) { #unity-progress-bar-full { transition: none } }
#unity-footer { position: absolute; left: max(16px, env(safe-area-inset-left)); top: max(16px, env(safe-area-inset-top)) }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { appearance: none; box-sizing: border-box; display: none; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: #ffd48b; border: 1px solid #d9a04e; border-radius: 12px; background: linear-gradient(160deg, rgba(101, 67, 34, .94), rgba(57, 37, 24, .94)); box-shadow: 0 3px 8px rgba(64, 35, 9, .22), inset 0 1px 0 rgba(255, 225, 169, .18); transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease }
#unity-fullscreen-button:hover { color: #ffe9bd; border-color: #ffcf80; box-shadow: 0 4px 12px rgba(64, 35, 9, .3), inset 0 1px 0 rgba(255, 225, 169, .25); transform: translateY(-1px) }
#unity-fullscreen-button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25) }
#unity-fullscreen-button:focus-visible { outline: 2px solid #fff1cb; outline-offset: 3px }
@media (prefers-reduced-motion: reduce) { #unity-fullscreen-button { transition: none } }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* Fullscreen is provided by the hosting page; keep template controls hidden. */
#unity-webgl-logo, #unity-build-title { display: none }
