html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

#mayava-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b2d36;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#mayava-splash.mayava-splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mayava-splash-inner {
  text-align: center;
  padding: 24px;
}

.mayava-splash-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 24px;
}

.mayava-splash-shimmer {
  width: 120px;
  height: 4px;
  margin: 0 auto;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #3a3c48 0%,
    #d12f26 50%,
    #3a3c48 100%
  );
  background-size: 200% 100%;
  animation: mayava-shimmer 1.2s ease-in-out infinite;
}

@keyframes mayava-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Flutter Web platform views (Shaka <video>) — fill slot, ignore RTL shift */
flt-platform-view,
flt-platform-view-slot {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  direction: ltr !important;
  overflow: hidden !important;
}

flt-platform-view iframe,
flt-platform-view video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
