.tr-boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #fff;
}

html.dark .tr-boot {
  background: #0f1115;
}

.tr-preloader-logo {
  display: block;
  width: 168px;
  aspect-ratio: 149 / 27;
  background: url('/logo-black.svg') center / contain no-repeat;
  animation: tr-preloader-pulse 1.6s ease-in-out infinite;
}

html.dark .tr-preloader-logo {
  background-image: url('/logo-white.svg');
}

.tr-preloader-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes tr-preloader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-preloader-logo {
    animation: none;
  }
}
