/* TOM V5.1 — Direct, native MacBook iframe interaction (port from THEVSNT V43.5).
   Do not place any screenshot or pointer-catching layer over the screen. */
.mac-screen {
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  isolation:isolate;
  background:#151116;
  cursor:default;
  touch-action:auto;
  overscroll-behavior:contain;
}
.mac-screen iframe {
  display:block;
  position:absolute;
  inset:0 auto auto 0;
  width:1280px;
  height:720px;
  max-width:none;
  max-height:none;
  transform-origin:top left;
  transform:scale(var(--mac-scale, .25));
  background:#100c10;
  border:0;
  z-index:2;
  opacity:1 !important;
  pointer-events:auto !important;
  touch-action:auto;
}
/* Never simulate a loaded website with a frozen cover image. */
.mac-screen-cover,.mac-dialog-screen > img {display:none !important;pointer-events:none !important;}
.mac-dialog-screen {position:relative;min-height:0;overflow:hidden;}
.mac-dialog-screen iframe {
  position:absolute;
  inset:0;
  width:100%;height:100%;
  display:block;
  border:0;
  opacity:1 !important;
  pointer-events:auto !important;
  touch-action:auto;
}
