:root {
  color: #ffffff;
  background: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000000;
}

body {
  min-height: 100dvh;
}

.player {
  position: relative;
  display: grid;
  width: 100%;
  height: 100dvh;
  place-items: center;
  overflow: hidden;
  background: #000000;
}

.player__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  background: #000000;
  transition: opacity 800ms ease;
}

.player__video.is-visible {
  opacity: 1;
}

.continue {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  text-align: center;
  pointer-events: none;
  animation: appear 280ms ease-out both;
}

.continue[hidden] {
  display: none;
}

.continue__button {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #241837;
  background: rgba(220, 202, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.continue__button:focus-visible {
  outline: 3px solid #6cb6ff;
  outline-offset: 3px;
}

.continue__button:active {
  transform: scale(0.98);
}

.continue__notice {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.not-found {
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  text-align: center;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .player__video {
    width: min(100%, calc(100dvh * 0.5625));
  }
}

@media (prefers-reduced-motion: reduce) {
  .player__video {
    transition: none;
  }

  .continue {
    animation: none;
  }
}
