.drex-splash {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background: #fff;
  opacity: 1;
}

.drex-splash-seen .drex-splash { display: none; }

.drex-splash__mark-group {
  display: grid;
  place-items: center;
  width: 100%;
  animation: drex-splash-arrive 500ms cubic-bezier(.22, .7, .25, 1) both;
}

.drex-splash__asset-window {
  position: relative;
  width: min(76vw, 280px);
  aspect-ratio: 2400 / 2146;
  overflow: hidden;
}

.drex-splash__asset {
  position: absolute;
  top: 0;
  left: -9.756%;
  display: block;
  width: 195.122%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.drex-splash.is-exiting {
  animation: drex-splash-leave 500ms cubic-bezier(.35, 0, .2, 1) both;
  pointer-events: none;
}

@keyframes drex-splash-arrive {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes drex-splash-leave {
  to { opacity: 0; }
}

@media (max-width: 640px) {
  .drex-splash__asset-window { width: min(54.4vw, 187px); }
}

@media (prefers-reduced-motion: reduce) {
  .drex-splash,
  .drex-splash__mark-group,
  .drex-splash.is-exiting {
    animation: none;
    transition: none;
  }
  .drex-splash__mark-group { opacity: 1; transform: none; }
  .drex-splash.is-exiting { opacity: 0; }
}
