/* Coordonnées du master approuvé, 3840 × 1080. Le cadrage seul se déplace. */
.scene{background:var(--play-bar)}
.scene-visual::after,.scene .work7-world::after{display:none}
.scene-visual{pointer-events:none}
.scene .work7-world{
 --frame-width:max(100cqw,100cqh * 1920 / 996);
 --world-height:calc(var(--frame-width) * 1080 / 1920);
 width:calc(2 * var(--frame-width));height:var(--world-height);
 left:calc((100cqw - var(--frame-width)) / 2);top:calc(100cqh - var(--world-height));
 transform:translateX(-50%);transition:transform .52s ease-in-out;
}
.scene[data-clinical-exam="true"] .work7-world{transform:translateX(0)}
.scene[data-clinical-exam="true"] .work7-world .patient{visibility:hidden}
.work7-world .patient{left:57.213542%;top:23.425926%;width:14.296875%}
.work7-world .scene-visual-exam,
.work7-world .exam-figure{position:absolute;inset:0;pointer-events:none}
.work7-world .scene-visual-exam{opacity:0;transition:opacity .28s ease;visibility:hidden}
.scene[data-clinical-exam="true"] .work7-world .scene-visual-exam{opacity:1;visibility:visible}
/* Déplacement transversal vers le bord proche (22, 12 px sur le panorama 3840 × 1080).
   L’appui, la rotation et l’échelle restent communs à la pose et au calque des chaussures. */
#examVisual {--exam-width-x:.572917%;--exam-width-y:1.111111%}
#examFigure :is(#examBasile,#examFeet){
 position:absolute;left:calc(22.708333% + var(--exam-width-x));top:calc(73.703704% + var(--exam-width-y));width:46.875%;height:auto;
 transform-origin:0 0;transform:rotate(-7.5deg) scale(.647) translate(-62.222222%,-89.444444%);
}
#examFigure #examFeet{clip-path:polygon(-.19% 49.85%,17.62% 55.49%,16.54% 69.06%,15.12% 73.83%,13.04% 95.77%,-3.42% 90.56%)}
.work7-contact-shadow{position:absolute;left:calc(6.458333% + var(--exam-width-x));top:calc(73.611111% + var(--exam-width-y));width:19.791667%;height:5%;
 border-radius:50%;background:#211913;opacity:.21;filter:blur(9px);transform:rotate(-7.5deg)}
.work7-table-front{position:absolute;inset:0;width:100%;height:100%}
#examMarkers{position:absolute;inset:0}
#examMarkers [data-zone="thorax"]{left:calc(26.640625% + var(--exam-width-x));top:calc(55% + var(--exam-width-y))}
#examMarkers [data-zone="abdomen"]{left:calc(23.567708% + var(--exam-width-x));top:calc(60% + var(--exam-width-y))}
#examMarkers [data-zone="membres"]{left:calc(13.046875% + var(--exam-width-x));top:calc(70.555556% + var(--exam-width-y))}

.hud .brand:has(.work7-logo){background:none;padding:0;box-shadow:none}
.hud .work7-logo{width:clamp(96px,10.3vw,186px);height:auto;display:block}
.work7-intro-logo{display:block;width:100%;height:auto;margin:-8px 0 2px}
#stage.w4-consultation > .w2-hub-panel{flex-basis:auto;scroll-padding-block:6px}
@media(min-width:900px) and (min-aspect-ratio:13/10){
 .scene:not([data-clinical-exam="true"]):not([data-narrative="true"]):not([data-wide="true"])>.scene-ui{left:51%}
}
@media(max-width:899px),(max-aspect-ratio:13/10){
 .scene .work7-world{--frame-width:100cqw;top:40px}
 .scene:not([data-narrative="true"]):not([data-wide="true"])>.scene-ui{
  top:calc(40px + 56.25cqw);left:0;right:0;width:auto;padding:8px 10px 10px;justify-content:flex-start;
 }
 .scene:not([data-narrative="true"]):not([data-wide="true"])>.scene-ui .console{max-height:100%;display:flex;flex:1 1 auto;width:100%}
 .scene:not([data-narrative="true"]):not([data-wide="true"]) #stage{overflow:auto}
}
@media(max-width:899px) and (min-aspect-ratio:13/10){
 .scene .work7-world{top:max(100cqh - var(--world-height),-10cqw)}
 .scene:not([data-narrative="true"]):not([data-wide="true"])>.scene-ui{
  top:38px;left:48%;right:0;width:auto;padding:6px 10px 6px;
 }
 .scene:not([data-narrative="true"]):not([data-wide="true"])>.scene-ui::before{display:none}
}
@media(max-width:520px){
 body[data-mode="libre"] .hud.top{grid-template-columns:auto 1fr;grid-template-areas:"left left" "nav right"}
 body[data-mode="libre"] .hud .hud-left{justify-self:stretch}
 body[data-mode="libre"] .hud .brand{margin-right:auto}
 body[data-mode="libre"] .hud .work7-logo{width:128px}
 body[data-mode="libre"] .hud .scene-nav{justify-self:start}
 body[data-mode="libre"] .hud .hud-right{gap:5px}
}
@media(prefers-reduced-motion:reduce){
 .scene .work7-world,.work7-world .scene-visual-exam{transition:none}
}
