/* One physical rack per player. Wood, picture, label and controls share a
   single transform, so both pointer targets and the picture remain aligned.
   Asset851×580; exact transparent picture opening x38,y44,w775,h436. */
.screening-stage {
  perspective: none;
  overflow: visible;
}
.screening-stage .screening-player {
  left: 4.4%;
  top: 7.65%;
  width: 43.3%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
  overflow: visible;
  isolation: isolate;
  transform-origin: 50% 87%;
  transform: perspective(1400px) rotateY(6deg) rotateZ(.48deg);
}
.screening-stage .screening-player[data-side="B"] {
  left: 52.3%;
  transform: perspective(1400px) rotateY(-6deg) rotateZ(-.48deg);
}
.screening-player::before {
  /* Stain the painted timber on its own layer, including the feet. */
  --timber-stain: hue-rotate(-25deg) saturate(1.75) brightness(.86);
  content: "";
  position: absolute;
  z-index: 2;
  left: -4.903226%;
  top: -10.091743%;
  width: 109.806452%;
  height: 133.027523%;
  background: var(--t700-image-blind-timber-rack-a) center / 100% 100% no-repeat;
  filter: var(--timber-stain) drop-shadow(1px 2px 0 #24233330);
  pointer-events: none;
}
.screening-player[data-side="B"]::before {
  --timber-stain: hue-rotate(141deg) saturate(1.08) brightness(.85);
  background-image: var(--t700-image-blind-timber-rack-b);
}
.screening-player .screening-window {
  background: #302c2b;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #35302b;
}
.screening-stage .screening-votes {
  left: 4.4%;
  right: 4.4%;
  top: 88.3%;
  column-gap: 5.26%;
}
/* Native fullscreen is a straight screening surface, with no room furniture. */
.screening-player:fullscreen,
.screening-stage .screening-player:fullscreen {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  transform: none !important;
  filter: none;
  background: #171719;
}
.screening-player:fullscreen::before { display: none; }
.screening-player:fullscreen .screening-window { box-shadow: none; }
.screening-player:fullscreen video { object-fit: contain; }

@media (max-width: 700px) and (orientation: portrait) {
  /* A and B reuse the same camera/wood position on a phone: only the selected
     film changes, rather than moving the rack across the ground. */
  .screening-stage .screening-player,
  .screening-stage .screening-player[data-side="B"] {
    left: 7%;
    top: 7.65%;
    width: 86%;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: perspective(1100px) rotateY(3deg) rotateZ(.35deg);
  }
  .screening-player[data-side="B"]::before {
    background-image: var(--t700-image-blind-timber-rack-a);
  }
  .screening-stage .screening-votes {
    left: 8%;
    right: 8%;
    top: 89%;
    column-gap: 12px;
  }
  .screening-stage .screening-player:fullscreen {
    inset: 0;
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    transform: none !important;
  }
}
