/* GPT-only video artwork. Page text and other characters retain existing rendering. */
.media-heroVideo,
.media-heroTailVideo,
.media-heroVideoStill {
  position: absolute;
  display: block;
  pointer-events: none;
  object-fit: fill;
  opacity: 0;
}
.media-heroVideo[hidden],
.media-heroTailVideo[hidden],
.media-heroVideoStill[hidden] {
  display: none;
}
.hero-video-scene #portrait,
.hero-video-scene #bokeh,
.hero-video-scene #fallback,
.hero-video-scene .iris,
.hero-video-scene .glint,
.hero-video-scene .scanlines {
  visibility: hidden !important;
}
.media-heroVideoPlay {
  position: absolute;
  right: 24px;
  bottom: 90px;
  z-index: 8;
  color: #dbe9ff;
  border: 1px solid #a9caff55;
  background: #071022dd;
  border-radius: 6px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}
.media-heroVideoPlay[hidden] {
  display: none;
}
.media-heroVideoPlay:focus-visible {
  outline: 2px solid #b5d4ff;
  outline-offset: 4px;
}

.loader .load-detail {
  max-width: min(85vw, 360px);
  min-height: 1.5em;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.loader .load-skip {
  justify-self: center;
  border: 1px solid #a9caff55;
  border-radius: 5px;
  padding: 9px 12px;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.loader .load-skip[hidden] {
  display: none;
}
.loader .load-skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Keep navigation responsive while a cover or video is being prepared. */
.scene-crossfade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.controls {
  z-index: 20;
}
.controls .page {
  position: relative;
  min-height: 36px;
  align-content: center;
  touch-action: manipulation;
}
.controls .page::before {
  content: '';
  position: absolute;
  inset: -4px -5px;
}
.controls .page[aria-busy='true'] {
  color: var(--ink);
}
.controls .page[aria-busy='true'] .bar {
  background: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
}
.scene-switch-status {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  max-width: min(80vw, 360px);
  white-space: nowrap;
  color: var(--ink-dim);
  font: 10px/1.5 var(--f-cn);
  letter-spacing: 0.05em;
  text-shadow: 0 1px 5px #000;
  pointer-events: none;
}
.scene-switch-status[hidden] {
  display: none;
}
.hud.leaving {
  opacity: 1;
  filter: none;
}
.hud.leaving > :not(.brand) {
  opacity: 0 !important;
  filter: blur(3px);
  transition:
    opacity 0.16s ease,
    filter 0.16s ease;
}
.app[data-switching='out'] .dock {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.16s ease !important;
}
@media (max-width: 760px) {
  .controls .page {
    min-height: 44px;
  }
  .controls {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .scene-switch-status {
    font-size: 9px;
    bottom: calc(100% + 3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hud.leaving > :not(.brand),
  .app[data-switching='out'] .dock {
    transition: none !important;
  }
}
