/* The homepage player keeps its title and credits below the video. */
.film-dialog .film-dialog-shell {
  padding-top: clamp(8px, 1.3vw, 14px);
}

/* Editing Room. Reserve space beside the title for the existing close button. */
.film-modal .film-top {
  min-height: 48px;
  padding-block: 6px;
  gap: 2px;
}
.film-modal .film-top strong { overflow-wrap: anywhere; }
.film-modal .film-close { top: 7px; }

/* Private collection players share their title and close-button layout. */
:is(#collection-player, #screening) .dialog-head {
  padding-block: clamp(4px, .7vw, 8px);
  column-gap: clamp(10px, 1.5vw, 20px);
}
:is(#collection-player, #screening) .dialog-head > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
:is(#collection-player, #screening) .dialog-head p {
  margin-top: 3px;
  margin-bottom: 0;
}
:is(#collection-player, #screening) .dialog-head :is(.close-player,.close) {
  flex-shrink: 0;
}
