/* R107 WEBBUILD (WEBAUDIT T3): BC Web template. Full-window canvas, loading bar, error banner. No external URLs. */
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #000; }
body { font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #ddd; }
#bc-canvas { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; display: block; background: #000; outline: none; }
/* r236 WEBBOOT1: #bc-loading is now THE loading overlay: full window, black, from page open until the main menu's first interactive
   frame, then the strip over Unity's own loading screens (.bc-strip, transparent: the screen's art shows through). Every animation here
   is transform / opacity only (Chrome runs them on the compositor thread, so they keep moving through multi-second main-thread frames);
   no layout property is animated and no JS timer drives them. It never takes a click (the audio unlock's first click reaches the canvas). */
#bc-loading { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; background: #000; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.35s linear, visibility 0s linear 0s; } /* r236 WEBBOOT1: was a 320 px centred box hidden at 'instance' */
#bc-loading-title { width: 320px; font-size: 22px; letter-spacing: 0.08em; margin-bottom: 14px; color: #f0e6d2; } /* r236 WEBBOOT1: + width (the box's) */
#bc-bar { position: relative; width: 320px; height: 8px; border: 1px solid #555; border-radius: 4px; overflow: hidden; background: #111; } /* r236 WEBBOOT1: + position, width */
#bc-bar-full { height: 100%; width: 100%; background: #c8a24a; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s linear; will-change: transform; } /* r236 WEBBOOT1: the fill is a scaleX (compositor), was a width transition (layout) */
#bc-loading-label { width: 320px; margin-top: 8px; font-size: 12px; color: #999; } /* r236 WEBBOOT1: + width */
#bc-bar::after { content: ""; position: absolute; left: 0; top: 0; width: 30%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0)); transform: translateX(-100%); animation: bc-shimmer 1.4s linear infinite; will-change: transform; } /* r236 WEBBOOT1: the always-moving shimmer */
@keyframes bc-shimmer { from { transform: translateX(-100%); } to { transform: translateX(340%); } } /* r236 WEBBOOT1: crosses the whole bar (30 % wide) */
#bc-loading.bc-off { opacity: 0; visibility: hidden; transition: opacity 0.35s linear, visibility 0s linear 0.35s; } /* r236 WEBBOOT1: fade out, then out of the compositor */
#bc-loading.bc-off #bc-bar::after { animation: none; } /* r236 WEBBOOT1 */
/* r236 WEBBOOT1: the strip = BCStreamStatusUI's strip (bottom centre, 980 x 64 of 1920 x 1080, centre 120 up; black 72 %, a 6 px bar 7 px up,
   fill (235, 235, 240, 0.9) on white 12 %, text (235, 235, 240)): the same place and colours, drawn by the page instead of Unity. */
#bc-loading.bc-strip { background: transparent; justify-content: flex-end; padding-bottom: 7.5vh; box-sizing: border-box; } /* r236 WEBBOOT1 */
#bc-loading.bc-strip #bc-loading-title { display: none; } /* r236 WEBBOOT1 */
#bc-loading.bc-strip #bc-loading-label { order: 1; width: 51vw; height: 5.93vh; line-height: 5.93vh; margin: 0; font-size: 2.78vh; color: #ebebf0; background: rgba(0,0,0,0.72); } /* r236 WEBBOOT1 */
#bc-loading.bc-strip #bc-bar { order: 2; width: calc(51vw - 1.67vw); height: 0.56vh; margin-top: -1.2vh; border: 0; border-radius: 0; background: rgba(255,255,255,0.12); } /* r236 WEBBOOT1 */
#bc-loading.bc-strip #bc-bar-full { background: rgba(235,235,240,0.9); } /* r236 WEBBOOT1 */
#bc-banner { position: fixed; left: 0; right: 0; top: 0; display: none; z-index: 10; }
.bc-msg { padding: 10px 14px; text-align: center; }
.bc-error { background: #8b1a1a; color: #fff; }
.bc-warning { background: #b8901c; color: #000; }
.bc-info { background: #333; color: #eee; }
