/* k1046 node tour: a full-bleed stage, no text on the view */
.vt3 { padding: 120px var(--gut) var(--s5); }  /* the header is absolute, as on fr/visite.html */
.vt3 .vt-head { padding-inline: 8px; }
.vt3 .vt-head h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.1; margin: 0 0 var(--s3); }
.vt3-stage { position: relative; width: 100%; height: min(calc(100svh - 210px), 820px); min-height: 360px; overflow: hidden;
  background: #0e1726; border-radius: 22px; user-select: none; -webkit-user-select: none; }
.vt3-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.vt3-stage canvas:active { cursor: grabbing; }
.vt3-marks { position: absolute; inset: 0; pointer-events: none; }
.vt3-marks button { position: absolute; left: 0; top: 0; pointer-events: auto; padding: 0; margin: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: opacity .2s; }
.vt3-door { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.16); box-shadow: 0 2px 14px rgba(0,0,0,.35); backdrop-filter: blur(3px); }
.vt3-door::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-50%, -35%) rotate(-45deg); }
.vt3-node { width: 52px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.12); }
.vt3-marks button:hover, .vt3-marks button:focus-visible { background: rgba(255,255,255,.34); outline: none; }
@media (max-width: 600px) {
  .vt3 { padding: 88px 0 var(--s4); }
  .vt3 .vt-head { padding-inline: 20px; }
  .vt3 .vt-head h1 { font-size: 26px; margin: 0 0 10px; }
  .vt3-stage { height: calc(100svh - 150px); border-radius: 0; }
}

/* k1169: the tour inside visite.html. The view keeps the stage's frame; the bar with the room and the arrows moves
   under the view, so no text sits over it. The Radiologie photograph shows whole over the canvas. */
html[data-vt="tour"] .vt-stage { overflow: visible; border-radius: 0; background: none; }
html[data-vt="tour"] #vt-pano { position: relative; overflow: hidden; border-radius: 22px; background: #0e1726;
  user-select: none; -webkit-user-select: none; }
html[data-vt="tour"] #vt-pano canvas { display: block; width: 100%; height: 100%; cursor: grab; }
html[data-vt="tour"] .vt-bar { position: static; padding: 12px 0 0; }
html[data-vt="tour"] .vt-label { background: none; }
.vt3-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper, #f4f1ec); z-index: 1; }
.vt3-still[hidden] { display: none; }
.vt3-marks { z-index: 2; }
@media (max-width: 600px) { html[data-vt="tour"] #vt-pano { border-radius: 18px; } }
