html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #02060e; }
body { font-family: "Segoe UI", Rajdhani, system-ui, sans-serif; color: rgb(220, 240, 255); }

#unity-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; background: #02060e; outline: none; }

#loader {
  position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 0 16px; box-sizing: border-box;
  background: radial-gradient(ellipse at 50% 60%, rgba(30, 90, 160, 0.35), transparent 60%), #02060e;
  transition: opacity 0.6s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
#loader-logo { width: min(640px, 82vw); height: auto; filter: drop-shadow(0 0 24px rgba(60, 170, 255, 0.45)); }
#loader-tag { font-size: 14px; letter-spacing: 8px; color: rgba(150, 205, 255, 0.8); margin-bottom: 18px; text-align: center; }
#loader-track {
  width: min(520px, 80vw); height: 6px; border-radius: 3px; overflow: hidden;
  background: rgba(90, 170, 255, 0.15); box-shadow: 0 0 0 1px rgba(90, 170, 255, 0.35);
}
#loader-fill {
  width: 0; height: 100%; border-radius: 3px; transition: width 0.25s ease;
  background: linear-gradient(90deg, #1e78d7, #8fe6ff); box-shadow: 0 0 14px rgba(120, 220, 255, 0.8);
}
#loader-status { font-size: 13px; letter-spacing: 5px; color: rgba(200, 230, 255, 0.85); min-height: 1.2em; }
#loader-note { font-size: 12px; color: rgba(150, 190, 230, 0.55); text-align: center; max-width: 520px; }

#banner { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); display: none; z-index: 10; }
#banner > div { padding: 10px 14px; margin-bottom: 8px; border-radius: 8px; font-size: 14px; }
.banner-warning { background: rgba(120, 90, 10, 0.92); }
.banner-error { background: rgba(140, 20, 20, 0.94); }
