/* A smoked-glass lip outside the picture, with a hairline on the glass itself. */
.field-screening-ink {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.screening-frame {
  --film-radius: clamp(14px, 1.65vw, 30px);
  --film-lip: clamp(3px, .32vw, 6px);
  position: relative;
  border-radius: var(--film-radius);
}
.screening-frame::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--film-lip));
  border-radius: calc(var(--film-radius) + var(--film-lip));
  border: 1px solid #a4c9c24a;
  background: linear-gradient(140deg, #48615dd9, #182c2ce8 33%, #101d20 72%, #415554c9);
  box-shadow: inset 0 1px 0 #d6ece135, 0 2px 0 #0a1617bf, 0 7px 14px #07121375, 0 19px 42px -12px #02090cba;
  pointer-events: none;
}
.screening-frame > :is(video, img) {
  position: relative;
  display: block;
  border-radius: var(--film-radius);
}
.screening-frame > .screening-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: contain;
  border-radius: inherit;
  pointer-events: none;
}
.screening-frame > video[controls] + .screening-picture { display: none; }
.screening-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid #deefe53b;
  border-bottom-color: #07131385;
  border-radius: inherit;
  pointer-events: none;
}
.screening-frame .screening-controls { border-radius: 0 0 var(--film-radius) var(--film-radius); }
.screening-frame:fullscreen { --film-radius: 0px; }
.screening-frame:fullscreen::before, .screening-frame:fullscreen::after { display: none; }
.screening-frame > video:fullscreen { border-radius: 0; }
