#aplikacja .support-layout:has(.atrx-film) {
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: center;
}

.atrx-film { position: relative; width: min(100%, 880px); min-width: 0; margin: 0 auto; }
.atrx-film-laptop { display: block; width: 100%; height: auto; }
.atrx-film-window {
  position: absolute;
  /* The opening of the supplied 1260 × 756 laptop image. */
  inset: 8.73% 13.65% 15.2%;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #08090d;
  pointer-events: none;
}
.atrx-film-screen { position: relative; }
.atrx-film-screen img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.atrx-film-cursor {
  position: absolute;
  left: 67%;
  top: 66%;
  width: clamp(4px, .5vw, 6px);
  aspect-ratio: 4 / 5;
  visibility: hidden;
  background: #2D303A;
  clip-path: polygon(0 0, 96% 60%, 58% 64%, 76% 93%, 56% 100%, 37% 70%, 12% 94%);
  transform-origin: top left;
}
.atrx-film[data-playing] .atrx-film-cursor { visibility: visible; }
.atrx-film[data-phase='click'] .atrx-film-cursor {
  background-color: #24262e;
  animation: atrx-film-click 230ms ease-out;
}
@keyframes atrx-film-click {
  0% { transform: scale(1); }
  36% { transform: scale(.89); }
  100% { transform: scale(1); }
}

@media (max-width: 1020px) {
  #aplikacja .support-layout:has(.atrx-film) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .atrx-film-cursor { display: none; }
}
