/* The episode is typeset as a screenplay, not as an admin form. */
.scene-list {
  display: block;
  max-width: 920px;
  margin: auto;
  padding: clamp(28px, 6vw, 72px);
  background: #f4f0e8;
  color: #171717;
  border-radius: 8px;
  box-shadow: 0 20px 70px #0008;
}
.scene { margin: 0 0 52px; background: none; border: 0; border-radius: 0; overflow: visible; }
.scene.transition, .scene.dialogue { border: 0; }
.scene-head { display: block; margin-bottom: 20px; padding: 0; border: 0; }
.scene-head h3 { margin: 0; font: 700 17px/1.45 "Courier New", monospace; text-transform: uppercase; }
.scene-meta { display: none; }
.scene-body { display: block; padding: 0; font: 16px/1.55 "Courier New", monospace; }
.scene-body > .prose { margin: 0 0 24px; white-space: pre-wrap; }
.dialogue-list { display: grid; gap: 20px; margin: 20px auto 28px; max-width: 620px; }
.line { width: 68%; margin-left: 22%; padding: 0; background: none; border: 0; border-radius: 0; }
.line .character, .line .parenthetical, .line .spoken { display: block; color: #171717; }
.line .character { text-align: center; text-transform: uppercase; font-weight: 700; }
.line .parenthetical { text-align: center; font-size: 14px; }
.line .spoken { font-size: 16px; }
.transition-cue { margin: 20px 0; text-align: right; text-transform: uppercase; font-weight: 700; }
.production { margin-top: 28px; padding-top: 12px; border-top: 1px dashed #777; color: #20283a; font-family: Inter, system-ui, sans-serif; }
.production > summary { cursor: pointer; font-weight: 800; color: #37466c; }
.production .field-grid { margin-top: 14px; }
.production .field { background: #e6e2da; }
.production .field h4 { color: #40517d; }
.production .field p { font-size: 13px; }
.production .technical { margin-top: 14px; }
.production .technical pre { background: #202532; color: #e6eaf4; }
.production .empty { opacity: .65; color: #505050; }
@media (max-width: 850px) {
  .scene-list { padding: 26px 18px; }
  .line { width: 86%; margin-left: 8%; }
}
