/* The centered sheets leave the surrounding visit controls available. */
#ks-parcours,
html #ks-guide.centre {
  pointer-events: none;
}
#ks-parcours .pccard,
html #ks-guide.centre > * {
  pointer-events: auto;
}

/* During the guided tour, content hotspots and their cards are out of view. */
body.ks-guiding #ks-hsmark,
body.ks-guiding #ks-hotspot {
  display: none !important;
}

@media (max-width: 1024px) {
  #ks-bar:has(#ks-bar-info[aria-expanded="true"]) {
    z-index: 9991;
  }

  body:has(#ks-bar-info[aria-expanded="true"]) #ks-place {
    bottom: calc(var(--ks-bar-h, 110px) + 8px);
    box-sizing: border-box;
    max-height: calc(100dvh - 82px - var(--ks-bar-h, 110px));
  }
}
