.brand-mark {
  flex: 0 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent url('./assets/brand/navbar-logo.png') center / contain no-repeat !important;
  box-shadow: none !important;
  filter: none !important;
}

.brand-mark > span {
  display: none !important;
}

.brand-inline .brand-mark {
  width: 42px;
  height: 42px;
}

.topbar .brand-mark {
  width: 56px;
  height: 56px;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 333ms ease, visibility 0s linear 333ms;
  will-change: opacity;
}

.boot-screen .brand-mark {
  width: 88px;
  height: 88px;
  filter: none !important;
  transform-origin: 50% 50%;
  animation: eyesPieBootSpin 7s linear infinite;
  will-change: transform;
}

/* The loader is a static sibling of #app. As soon as the app paints its first
   real surface, CSS handles the exit—no observer/timer runtime shim needed. */
.app-shell:not(:empty) + .boot-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes eyesPieBootSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .boot-screen .brand-mark { animation: none; }
}

@media (max-width: 620px) {
  .brand-inline .brand-mark {
    width: 40px;
    height: 40px;
  }

  .topbar .brand-mark {
    width: 50px;
    height: 50px;
  }
}
