/* Original raster layers, assembled independently. No photo slicing. */
#splash.splash-cinema {
  background: #020203;
  --cinema-shine-delay: 1.08s;
  --splash-progress: 0;
  box-sizing: border-box;
  padding: max(20px, env(safe-area-inset-top, 0px)) 14px
    max(20px, env(safe-area-inset-bottom, 0px));
  transform-style: flat;
}
.splash-cinema .splash-backdrop {
  z-index: -4;
  overflow: hidden;
  background: #020203;
}
.cinema-hall {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0.86;
}
.splash-cinema .splash-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #000a, transparent 27%, #0003 88%),
    radial-gradient(ellipse at 50% 44%, transparent 25%, #0004 80%);
}
.splash-cinema .splash-halo {
  z-index: -2;
  background: radial-gradient(ellipse at 65% 46%, #b5002219, transparent 57%);
}
.cinema-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.cinema-atmosphere::before,
.cinema-atmosphere::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 42%;
  bottom: 8%;
  left: -24%;
  opacity: 0.4;
  background: radial-gradient(ellipse at 55% 65%, #aeb0bb24, transparent 58%);
  filter: url("#smoke-displace") blur(15px);
}
.cinema-atmosphere::after {
  left: 30%;
  bottom: 12%;
  background: radial-gradient(ellipse at 45% 65%, #e9003529, transparent 57%);
}
.cinema-dust {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    radial-gradient(1px 1px at 12% 24%, #fff9, transparent),
    radial-gradient(1px 1px at 76% 67%, #ff416b99, transparent),
    radial-gradient(1px 1px at 43% 88%, #fff6, transparent);
  background-size:
    250px 280px,
    310px 360px,
    280px 420px;
}
#splash.splash-cinema .splash-content {
  width: min(540px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  transform: none;
  text-align: center;
}
#splash.splash-cinema .emblem-stage {
  position: relative;
  width: min(78vw, 360px, calc((100vh - 220px) * 0.82));
  width: min(78vw, 360px, calc((100svh - 220px) * 0.82));
  flex: none;
  height: auto;
  aspect-ratio: 0.82;
  margin: 0 auto 18px;
  mask-image: none;
  -webkit-mask-image: none;
  overflow: visible;
  perspective: none;
  isolation: isolate;
}
.cinema-crest {
  position: absolute;
  inset: 0;
  /* Keep the letters in front throughout entry, including on iOS WebKit. */
  transform-style: flat;
  isolation: isolate;
}
.cinema-part {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.cinema-part.cinema-body {
  left: 9%;
  top: 25%;
  width: 82%;
  height: 75%;
  z-index: 1;
}
.cinema-part.cinema-g {
  left: 18%;
  top: 36%;
  width: 37.8%;
  height: 60%;
  z-index: 2;
}
.cinema-part.cinema-s {
  left: 52.5%;
  top: 36%;
  width: 26.6%;
  height: 60%;
  z-index: 3;
}
.cinema-part.cinema-crown {
  left: 2%;
  top: 0;
  width: 96%;
  height: 42%;
  z-index: 4;
  transform-origin: 50% 85%;
}
#splash .cinema-part > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 9px 6px #0008);
}
.cinema-metal-shine {
  opacity: 0;
  mix-blend-mode: screen;
}
.cinema-contact-shadow {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -2%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #000a, transparent 68%);
  transform: rotateX(55deg);
}
.splash-cinema .splash-name {
  width: 100%;
  font-size: clamp(20px, 5vw, 25px);
  line-height: 1.1;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  margin: 0;
}
.splash-cinema .splash-name span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.52em;
  text-indent: 0.52em;
}
.splash-cinema .splash-subtitle {
  width: 100%;
  margin-top: 13px;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
.splash-cinema .splash-loader {
  width: min(300px, 82vw);
  box-sizing: border-box;
  margin: 22px 0 0;
  padding: 10px 14px 0;
  flex: none;
}
.splash-cinema .splash-progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #21040a;
  box-shadow: inset 0 0 0 1px #ff3c5a35, 0 1px 0 #ffffff12;
  overflow: visible;
}
.splash-cinema .splash-progress-fill {
  position: relative;
  overflow: hidden;
  display: block;
  width: calc(var(--splash-progress) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #980019, #e80029 55%, #ff3c56);
  box-shadow: 0 0 12px #ff123960, 0 0 24px #ff002b30;
}
.splash-cinema .splash-progress-fill::after {
  content: "";
  position: absolute;
  inset: 1px 3px auto;
  height: 2px;
  border-radius: inherit;
  background: #ffb0b75c;
}
.splash-cinema .splash-progress-gem {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  top: 50%;
  left: calc(var(--splash-progress) * 100%);
  transform: translate(-50%, -50%);
  overflow: visible;
  filter: drop-shadow(0 0 5px #ff143e) drop-shadow(0 0 12px #ff002b9c);
}
.splash-cinema .splash-loading-meta {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: #dfd7dc;
  font-size: 10px;
  line-height: 1.4;
  text-align: left;
}
.splash-cinema #loading-label {
  min-width: 0;
}
.splash-cinema #loading-percent {
  flex: none;
  color: #ff546c;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.splash-playing .cinema-hall {
  animation: cinema-hall-open 1.55s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}
.splash-playing .cinema-body {
  animation: cinema-body-arrive 0.52s 0.02s cubic-bezier(0.15, 0.8, 0.2, 1) both;
}
.splash-playing .cinema-crown {
  animation: cinema-crown-land 0.76s 0.12s cubic-bezier(0.18, 0.8, 0.25, 1) both;
}
.splash-playing .cinema-g {
  animation: cinema-g-arrive 0.62s 0.59s cubic-bezier(0.12, 0.8, 0.2, 1) both;
}
.splash-playing .cinema-s {
  animation: cinema-s-arrive 0.62s 0.64s cubic-bezier(0.12, 0.8, 0.2, 1) both;
}
.splash-playing .cinema-metal-shine {
  animation: cinema-metal-pass 0.46s var(--cinema-shine-delay) ease-out both;
}
.splash-playing .cinema-atmosphere::before {
  animation: cinema-fog-drift 1.9s ease-out both;
}
.splash-playing .cinema-atmosphere::after {
  animation: cinema-fog-drift 1.9s 0.1s ease-out both;
}
.splash-playing .cinema-dust {
  animation: cinema-dust-rise 2s linear both;
}
.splash-exit .cinema-hall {
  animation: cinema-hall-fold 0.45s ease-in both;
}
@keyframes cinema-hall-open {
  from {
    transform: scale(1.055) translateY(10px);
    opacity: 0.35;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 0.86;
  }
}
@keyframes cinema-body-arrive {
  from {
    transform: translateY(38px) scale(0.94);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes cinema-crown-land {
  0% {
    transform: translateY(-100px) rotate(-4deg);
    opacity: 0;
  }
  65% {
    transform: translateY(3px) rotate(0.5deg);
    opacity: 1;
  }
  83% {
    transform: translateY(-2px) rotate(0);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes cinema-g-arrive {
  from {
    transform: translateX(-145px) rotate(-3deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes cinema-s-arrive {
  from {
    transform: translateX(145px) rotate(3deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes cinema-metal-pass {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  12% {
    opacity: 0.24;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateX(var(--cinema-shine-travel));
  }
}
@keyframes cinema-fog-drift {
  from {
    transform: translateX(-8%) scale(0.9);
    opacity: 0.1;
  }
  to {
    transform: translateX(9%) scale(1.15);
    opacity: 0.4;
  }
}
@keyframes cinema-dust-rise {
  to {
    background-position:
      8px -35px,
      -11px -45px,
      9px -25px;
  }
}
@keyframes cinema-hall-fold {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08) translateX(3%);
  }
}
@media (max-height: 500px) {
  #splash.splash-cinema .emblem-stage {
    width: min(36vw, calc((100vh - 210px) * 0.82));
    width: min(36vw, calc((100svh - 210px) * 0.82));
    margin-bottom: 6px;
  }
  .splash-cinema .splash-name {
    font-size: 17px;
  }
  .splash-cinema .splash-name span {
    font-size: 9px;
    margin-top: 3px;
  }
  .splash-cinema .splash-subtitle {
    margin-top: 8px;
  }
  .splash-cinema .splash-loader {
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-playing .cinema-hall,
  .splash-playing .cinema-body,
  .splash-playing .cinema-crown,
  .splash-playing .cinema-g,
  .splash-playing .cinema-s,
  .splash-exit .cinema-hall {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .splash-playing .cinema-metal-shine {
    display: none;
  }
  .splash-playing .cinema-atmosphere::before,
  .splash-playing .cinema-atmosphere::after,
  .splash-playing .cinema-dust {
    animation: none !important;
  }
}
