.brand-loader {
  --loader-bg: var(--canvas, #f0eee8);
  display: grid;
  place-items: center;
  background: var(--loader-bg);
}
:root[data-theme='dark'] .brand-loader {
  --loader-bg: var(--canvas, #17181b);
}
.brand-loader-full {
  min-height: 100svh;
  width: 100%;
}
.brand-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}
.brand-loader-overlay.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.brand-loader-symbol {
  width: var(--loader-size, 64px);
  height: var(--loader-size, 64px);
  display: grid;
  place-items: center;
}
.brand-loader-logo {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 26.5625%;
  background: #b14a1a;
  display: grid;
  place-items: center;
  color: #fff;
}
/* Animate HTML layers rather than SVG paths so Safari uses the same motion. */
.brand-loader-layer {
  position: absolute;
  left: 19.53125%;
  top: 19.53125%;
  width: 60.9375%;
  height: 60.9375%;
  animation: studio-loader-stack 2s cubic-bezier(0.45, 0, 0.2, 1) infinite !important;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.brand-loader-layer:nth-child(2) {
  animation-delay: 0.12s !important;
}
.brand-loader-layer:nth-child(3) {
  animation-delay: 0.24s !important;
}
.brand-loader-logo svg {
  height: 100%;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.entry-ready,
.app-shell,
.auth-layout {
  animation: studio-entry-ready 0.4s ease both;
}
@keyframes studio-loader-stack {
  0%,
  65%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  28% {
    transform: translate3d(0, -4px, 0);
  }
  44% {
    transform: translate3d(0, 1px, 0);
  }
}
@keyframes studio-entry-ready {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-ready,
  .app-shell,
  .auth-layout {
    animation: none !important;
  }
  .brand-loader-overlay {
    transition: none;
  }
}
