/* Mobile room interaction fix.
   Keep the room above the transparent homepage overlay so its hotspots receive
   taps on iOS, but preserve the original 100svh room geometry. The visible room
   is clipped at the editorial handoff instead of shrinking the coordinate space. */
@media(max-width:760px){
  body[data-view="room"] .room{
    height:100svh !important;
    z-index:6;
    pointer-events:auto;
    clip-path:inset(0 0 calc(100svh - var(--mobile-copy-start,75svh)) 0);
  }

  body[data-view="room"] .room-plane{
    pointer-events:auto;
  }

  body[data-view="room"] .hotspot{
    pointer-events:auto !important;
    touch-action:manipulation;
  }

  /* The home layer supplies the copy below the room but must not steal taps
     from the photographed hotspots above it. */
  body[data-view="room"] .home{
    z-index:4;
    pointer-events:none;
  }

  /* The conventional links below the room remain fully tappable. */
  body[data-view="room"] .room-shortcuts{
    position:relative;
    z-index:7;
    pointer-events:auto;
  }

  body[data-view="room"] .room-shortcuts a{
    pointer-events:auto;
    touch-action:manipulation;
  }
}
