/* Room overlays stay out of the puzzle field on larger screens. */
body:has(#room.is-active) .house-caption {
  left:auto;
  right:clamp(18px,3vw,48px);
  top:calc(var(--header-height,76px) + 88px);
  bottom:auto;
  width:min(420px,calc(100vw - 36px));
  transform:translateY(-10px);
}
body:has(#room.is-active) .house-caption.is-visible { transform:none; }

@media(max-width:760px) {
  body:has(#room.is-active) .house-caption {
    left:12px;
    right:12px;
    top:auto;
    bottom:14px;
    width:auto;
    transform:translateY(10px);
  }
  body:has(#room.is-active) .house-caption.is-visible { transform:none; }
}
