/* Small native-resolution film window, shared by boot, entry and floor transit. */
.loading-cinema {
  display: block; position: relative; width: 320px; max-width: 100%; aspect-ratio: 16 / 9;
  margin: 0 auto 22px; overflow: hidden; background: #080a08;
  border: 1px solid #62543a; outline: 1px solid #1b1b15; outline-offset: 3px;
  box-shadow: 0 8px 35px #0009, inset 0 0 0 1px #000;
}
.loading-cinema::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 18px 5px #0007;
}
.loading-cinema img {
  display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated;
  /* Keep animated pixels on their own layer while the world/overlay repaints. */
  transform: translateZ(0);
}
.loading-cinema[hidden], #screen-cinema[hidden], #veil-cinema[hidden] { display: none; }
#screens[data-screen="load"] #screen-card { width: 400px; max-width: calc(100vw - 32px); }
#client-boot > div { text-align: center; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 5px; }
#mapveil > div { width: min(400px, calc(100vw - 32px)); }
@media (max-height: 540px) {
  .loading-cinema { width: 240px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #mapveil .stripe-run, #screens .stripe-run { animation: none; }
}
