.tutorial-audio-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 1rem auto;
  padding: 0 1.5rem;
  max-width: 1200px;
}
.tutorial-audio-controls button,
.tutorial-hostess button {
  background: var(--paper, #f7f0e2);
  color: var(--ink, #1a101b);
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.tutorial-audio-controls button[aria-pressed="true"] {
  background: #792039;
  color: #fff;
}
.tutorial-audio-controls [data-music-toggle] {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  box-shadow: 0 2px 12px #0006;
}
.tutorial-audio-controls p { margin: 0; font-size: 0.9rem; }
body[data-character-edges] .guide-character-layout > .guide-character-art.tutorial-hostess {
  width: min(100%, 640px) !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  transform: none !important;
  padding: 0 0.5rem !important;
  margin: 0 !important;
  background: none !important;
  pointer-events: auto;
}
.tutorial-hostess video {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 7;
  object-fit: contain;
  border-radius: 8px;
  background: #140d19;
}
.tutorial-hostess figcaption { padding: 0.65rem 0 0; }
.tutorial-hostess .tutorial-joke { margin: 0 0 0.5rem; font-size: 0.95rem; }
.tutorial-hostess button { position: static; margin: 0 0.4rem 0.4rem 0 !important; }
.tutorial-hostess [hidden] { display: none !important; }
.tutorial-music-credit { display: block; margin-top: 0.6rem; font-size: 0.8rem; }
@media (max-width: 900px) {
  body[data-character-edges] .guide-character-layout > .guide-character-art.tutorial-hostess {
    width: min(100%, 560px) !important;
    justify-self: center !important;
  }
}

/* Elvira's full portrait clips sit behind a generated transparent ornament. */
.tutorial-hostess .tutorial-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.58459;
  isolation: isolate;
}
.tutorial-hostess .tutorial-portrait-frame > video {
  position: absolute;
  left: 13.3%;
  top: 13.2%;
  width: 73.8%;
  height: 75.5%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12% / 8%;
  background: #140d19;
}
.tutorial-hostess .tutorial-portrait-ornament {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
body:has(.tutorial-hostess) .feature-motion .feature-motion-frame {
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

/* Clip the hero's still and moving artwork to the same corners. */
body:has(.tutorial-hostess) .opening.cinematic > :is(.scared-motion, .backglass-motion) {
  overflow: hidden !important;
  border-radius: 22px !important;
}
body[data-backglass-layout]:has(.tutorial-hostess) .opening.cinematic img.art,
body:has(.tutorial-hostess) .opening.cinematic video {
  border-radius: 22px !important;
}
