/* The title page a fresh open shows (#1339), drawn before any script runs; in its own file because the app's content
   policy refuses inline styles (#1753). web/index.html links it first, so it still paints with the first frame. */
#title { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: #030806;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
#title img { display: block; width: min(282px, calc(100vw - 64px)); height: auto; opacity: 0; transform: scale(.94);
  animation: title-in .8s cubic-bezier(.4, 0, .2, 1) forwards; }
#title.leaving { opacity: 0; pointer-events: none; }
#title.leaving img { animation: title-out .5s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes title-in { to { opacity: 1; transform: scale(1); } }
@keyframes title-out { from { opacity: 1; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
@media (min-width: 900px) { #title img { width: 360px; } }
@media (prefers-reduced-motion: reduce) {
  #title { transition-duration: .25s; }
  #title img, #title.leaving img { animation: none; opacity: 1; transform: none; }
}
