.logo-opening {
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.opening-device {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  pointer-events: none;
}

.opening-logo {
  position: relative;
  z-index: 2;
  width: min(33.6vw, 516px);
  max-width: calc(100vw - 44px);
  height: auto;
  opacity: var(--opening-logo-opacity, 0);
  transform: scale(var(--opening-logo-scale, .82));
  transform-origin: center;
  filter: drop-shadow(0 16px 46px rgba(228, 0, 43, .14));
  pointer-events: none;
  will-change: opacity, transform;
}

.logo-opening .model-status {
  position: absolute;
  left: 50%;
  bottom: max(30px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 3;
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity .25s ease;
}

.logo-opening .model-status.is-hidden {
  opacity: 0;
}

.opening-next {
  position: absolute;
  left: 50%;
  bottom: max(clamp(32px, 8vh, 88px), calc(env(safe-area-inset-bottom) + 20px));
  z-index: 3;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .5s var(--ease);
}

.logo-opening.is-active .opening-next {
  opacity: var(--opening-cue-opacity, 0);
}

.opening-next span {
  display: block;
  width: 22px;
  height: 22px;
  margin: 8px auto 0;
  border-right: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(45deg);
  animation: opening-cue 1.4s ease-in-out infinite;
}

.opening-next:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@keyframes opening-cue {
  0%, 100% { transform: translateY(-4px) rotate(45deg); }
  50% { transform: translateY(5px) rotate(45deg); }
}

@media (max-width: 760px) {
  .opening-logo {
    width: min(55.2vw, 372px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-next span {
    animation: none;
  }
}
  
