body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { background: #1F1F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
/* Man hinh tai: logo game + thanh tai vang kieu chat app */
#unity-loading-bar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: none;
  flex-direction: column; align-items: center;
  width: min(360px, 86vw);
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
#unity-logo {
  width: 190px; height: 190px;
  border-radius: 50%;
  background: url('nro-logo.png') no-repeat center / contain;
  filter: drop-shadow(0 0 26px rgba(255, 60, 130, 0.5)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
  animation: nro-logo-pulse 2.2s ease-in-out infinite;
}
@keyframes nro-logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
#unity-loading-title {
  margin-top: 14px;
  font-size: 30px; line-height: 1;
  font-weight: 900; letter-spacing: 2px;
  color: #ffd85a;
  text-shadow: 0 3px 0 #6b3d00, 0 0 24px rgba(255, 216, 90, 0.45);
}
#unity-loading-sub {
  margin-top: 8px;
  font-size: 14px; color: #d6f5e8;
}
#unity-progress-bar-empty {
  position: relative;
  width: 100%; height: 22px;
  margin-top: 18px;
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid #ffb300; border-radius: 999px;
  background: linear-gradient(#0b1f18, #06120d);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 2px 6px rgba(0, 0, 0, 0.7);
}
#unity-progress-bar-full {
  position: relative;
  width: 0%; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9a3d, #ffb300 45%, #ffe477);
  box-shadow: 0 0 14px rgba(255, 190, 60, 0.75);
  transition: width 0.18s ease-out;
  overflow: hidden;
}
#unity-progress-bar-full::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: nro-progress-shine 1.4s linear infinite;
}
@keyframes nro-progress-shine {
  to { transform: translateX(100%); }
}
#unity-loading-percent {
  margin-top: 10px;
  font-size: 15px; font-weight: bold; letter-spacing: 1px;
  color: #ffe477;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px; color: #e8e8e8; display: flex; align-items: center; gap: 8px }
#unity-build-title img { width: 26px; height: 26px; }
#unity-fullscreen-button { cursor:pointer; 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 }
