/* Dedicated film URLs, using the Laundry Monsters native floating-player pattern. */
body[data-cf-floating-watch] { margin: 0; background: #000; overflow: hidden; }
.cf-film-dialog {
  position: fixed; inset: 0; z-index: 10000; box-sizing: border-box;
  width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 28px 24px; border: 0; background: transparent;
  overflow: auto; overscroll-behavior: contain; outline: 0;
}
.cf-film-dialog[open] { display: flex; }
.cf-film-dialog::backdrop { background: #000; }
.cf-watch-backdrop {
  position: fixed; inset: 0; z-index: -1; display: block;
  background-color: #000;
  background-image: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), var(--cf-watch-background);
  background-position: center top; background-size: cover; background-repeat: no-repeat;
  outline: 0; border: 0; box-shadow: none; -webkit-tap-highlight-color: transparent;
}
.cf-watch {
  position: relative; flex: none; box-sizing: border-box;
  width: min(92vw, 1280px, calc(177.7778vh - 140px));
  width: min(92vw, 1280px, calc(177.7778dvh - 140px));
  max-width: 100%; margin: auto; padding: 26px; background: #000;
}
.cf-watch-player { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.cf-watch-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.cf-watch-keyboard-close {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap;
}
.cf-watch-keyboard-close:focus {
  clip: auto; clip-path: none; width: auto; height: auto; top: 4px; right: 4px;
  z-index: 2; margin: 0; padding: 8px 12px; background: #000; color: #eee;
  border: 1px solid #aaa; outline: 2px solid #eee; font: 16px/1.3 Arial,sans-serif;
}
@media (max-width: 800px) {
  .cf-film-dialog { padding: 20px 8px; }
  .cf-watch { width: min(100%, calc(177.7778vh - 90px)); width: min(100%, calc(177.7778dvh - 90px)); padding: 12px; }
}
