/* Approved standalone TLS Leon emblem. */
.tls-brand-link { display: inline-flex; flex-shrink: 0; align-items: center; }
.tls-brand-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.tls-brand {
  display: block;
  width: 78px;
  aspect-ratio: 456 / 544;
  flex-shrink: 0;
}
.tls-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
:root[data-theme="dark"] .tls-brand img { filter: invert(1); }
.tls-brand--header { width: 48px; }
.tls-brand--footer { width: 84px; }
.tls-brand--compact { width: 56px; }
@media (min-width: 1200px) { .tls-brand--header { width: 50px; } }
@media (max-width: 479px) {
  .tls-brand--header { width: 40px; }
  #app-header #gsa-lang-select,
  #app-header #gsa-cur-select { padding-left: 4px; padding-right: 20px; font-size: 11px; }
  #app-header #gsa-theme-toggle { padding: 5px; }
}
@media (max-width: 359px) { .tls-brand--header { width: 36px; } }

/* Three-second brand entrance shown once per browser tab. */
body.site-intro-active { overflow: hidden; }
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #111;
  opacity: 1;
  transition: opacity 400ms ease, visibility 400ms ease;
}
.site-intro.is-leaving { opacity: 0; visibility: hidden; }
.site-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(48vw, 260px);
  animation: tls-intro-mark 800ms cubic-bezier(.22, 1, .36, 1) both;
}
.site-intro__logo {
  width: 100%;
  aspect-ratio: 456 / 544;
}
.site-intro__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}
.site-intro__progress {
  width: min(240px, 55vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
}
.site-intro__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #c6ff00;
  transform-origin: left;
  animation: tls-intro-progress 2600ms linear both;
}
@keyframes tls-intro-mark {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes tls-intro-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro__inner { animation: none; }
  .site-intro__progress span { animation-timing-function: steps(1, end); }
}
