/* Treasurer workspace entrance. Paired with brand-intro.js. */
html.tb-intro-active,
html.tb-intro-active body {
  overflow: hidden;
}

.tb-intro {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms ease, visibility 0s linear 0s;
}

.tb-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 450ms ease, visibility 0s linear 450ms;
}

/* The full logo, icon and name, at a comfortable size. The coin falls in from
   above, so nothing here clips it. */
.tb-intro__stage {
  width: min(64vw, 560px);
  transition: transform 450ms ease;
}

.tb-intro.is-leaving .tb-intro__stage {
  transform: scale(0.96);
}

.tb-intro__stage svg,
.tb-intro__still {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .tb-intro,
  .tb-intro.is-leaving,
  .tb-intro__stage {
    transition: none;
  }
}
