.launch-welcome {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(.5rem, 3vmin, 1.5rem);
  padding-bottom: max(clamp(.5rem, 3vmin, 1.5rem), env(safe-area-inset-bottom));
  border: 0;
  color: #302214;
  background: #fcf7eb;
  overflow: auto;
}
.launch-welcome[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(.5rem, 2vmin, 1rem);
}
.launch-welcome::backdrop { background: #fcf7eb; }
.launch-scene {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  container-type: size;
  min-width: 0;
}
.launch-mark {
  position: relative;
  width: min(55vw, 65vh, 26rem);
  width: min(60cqw, 82cqh, clamp(18.72rem, 23vw, 26rem));
  transform-origin: center;
}
.launch-logo { display: block; width: 100%; height: auto; }
.launch-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(112deg, transparent 44%, #fff7cf 50%, transparent 56%) -115% 0 / 235% 100% no-repeat;
  mask: url("launch-logo.png") center / contain no-repeat;
  -webkit-mask: url("launch-logo.png") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .launch-welcome[open] .launch-mark { animation: launch-reveal 2.4s cubic-bezier(.55,.08,.28,1) both; }
  .launch-welcome.launch-shimmer .launch-mark::after { animation: launch-shimmer .58s ease-in-out both; }
}
@keyframes launch-reveal {
  from { opacity: 0; transform: translateY(12px) scale(.06); filter: blur(8px); }
  42% { opacity: .85; filter: blur(2px); }
  85% { opacity: 1; filter: blur(0); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes launch-shimmer {
  from { opacity: 0; background-position: 100% 0; }
  25%, 75% { opacity: .85; }
  to { opacity: 0; background-position: 0 0; }
}
#launch-tap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #6a512e;
  cursor: pointer;
  font: inherit;
}
#launch-tap[hidden] { display: none; }
#launch-tap span {
  position: absolute;
  inset-inline: 0;
  bottom: max(4vh, env(safe-area-inset-bottom));
  text-align: center;
  letter-spacing: .06em;
}
#launch-tap:focus-visible span { text-decoration: underline; }

.launch-welcome.launch-exit, .launch-welcome.launch-exit::backdrop {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.launch-exit .launch-scene { visibility: hidden; }
.launch-fragments { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
