#ttGlobalLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(var(--am-bg-rgb), 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#ttGlobalLoader.is-visible {
  display: flex;
}

#ttGlobalLoaderInner {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#ttGlobalLoaderGif {
  width: min(180px, 42vw);
  max-width: 180px;
  height: auto;
  display: block;
  opacity: 0.78;
  animation: ttLoaderPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(var(--am-fg-rgb), 0.14));
}

@keyframes ttLoaderPulse {
  0%   { transform: scale(0.96); opacity: 0.58; }
  50%  { transform: scale(1.02); opacity: 0.84; }
  100% { transform: scale(0.96); opacity: 0.58; }
}