.scene-stage { position: absolute; inset: 0; overflow: hidden; background: #050708; }
.scene-stage > img { width: 100%; height: 100%; object-fit: contain; object-position: center; user-select: none; transition: opacity .35s, transform 1.2s ease; }
.scene-stage.changing > img { opacity: .1; transform: scale(1.03); }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9,29,35,.28), transparent 15%, transparent 76%, rgba(7,26,32,.22)); }
.game-header { position: absolute; z-index: 8; top: 20px; left: 24px; right: 24px; display: flex; align-items: center; gap: 10px; color: white; }
.round-btn { border: 1px solid rgba(255,255,255,.5); color: white; font-weight: 700; }
.player-pill, .utility-btn { border: 1px solid rgba(255,255,255,.34); background: rgba(9,35,42,.45); backdrop-filter: blur(12px); color: white; border-radius: 99px; height: 42px; padding: 0 15px; display: flex; align-items: center; gap: 9px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #85e6a4; box-shadow: 0 0 0 4px rgba(133,230,164,.17); }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.sound-controller{position:relative}.sound-control-button{width:46px;padding:0;justify-content:center;font-size:18px}.sound-control-panel{position:absolute;top:50px;right:0;width:220px;padding:15px;border:1px solid rgba(255,255,255,.45);border-radius:15px;color:white;background:rgba(9,35,42,.92);box-shadow:0 12px 35px rgba(0,0,0,.28);backdrop-filter:blur(14px)}.sound-control-panel label{display:flex;justify-content:space-between;margin:0 0 10px;font-size:12px}.sound-control-panel input[type=range]{width:100%;height:22px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;accent-color:var(--gold)}
.scene-video-btn span:first-child { display: grid; place-items: center; width: 22px; height: 22px; padding-left: 2px; border-radius: 50%; color: #3e2c09; background: var(--gold); font-size: 10px; }
.utility-btn b { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #3e2c09; font-size: 11px; }
.scene-info { position: absolute; z-index: 6; bottom: 47px; left: clamp(24px, 5vw, 72px); display: flex; align-items: center; gap: 14px; color: white; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.scene-info p { margin: 0 0 4px; text-transform: uppercase; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: #ffe09a; }
.scene-info h2 { font-size: clamp(28px, 3vw, 44px); }
.back-btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(8,32,39,.48); font-size: 22px; }
.scene-instruction { position: absolute; z-index: 6; bottom: 22px; right: 32px; margin: 0; color: white; font-size: 13px; text-shadow: 0 1px 8px #000; }

.hotspots { position: absolute; z-index: 5; }
.scene-traveler { position:absolute;z-index:0;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none;opacity:0;filter:drop-shadow(0 10px 8px rgba(0,0,0,.3));animation:scene-traveler-landing 1.65s .38s cubic-bezier(.18,.72,.3,1) forwards; }
.scene-traveler::selection { background:transparent; }
@keyframes scene-traveler-landing { 0%{opacity:0;transform:translate3d(-42vw,-48vh,0) rotate(-13deg) scale(.42)} 62%{opacity:1;transform:translate3d(0,-5%,0) rotate(2deg) scale(1.04)} 82%{transform:translate3d(0,1.5%,0) rotate(-1deg) scale(.98)} 100%{opacity:1;transform:none} }
.scene-traveler.journey-traveler { animation-name:journey-traveler-landing;transform-origin:center bottom; }
@keyframes journey-traveler-landing { 0%{opacity:0;transform:translate3d(-42vw,-48vh,0) rotate(-41deg) scale(.42)} 62%{opacity:1;transform:translate3d(0,-5%,0) rotate(calc(var(--arrival-rotation) + 2deg)) scale(1.04)} 82%{transform:translate3d(0,1.5%,0) rotate(calc(var(--arrival-rotation) - 1deg)) scale(.98)} 100%{opacity:1;transform:rotate(var(--arrival-rotation))} }
.hotspot { position: absolute; border: 0; background: transparent; border-radius: 24px; color: white; cursor: pointer; }
.hotspot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid transparent; transition: .25s; }
.hotspot-label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 13px; border-radius: 99px; background: rgba(8,35,42,.83); backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(0,0,0,.2); opacity: 0; transform: translateY(5px); transition: .25s; font-weight: 700; font-size: 13px; }
.hotspot-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(243,182,63,.2); }
.hotspot:hover::before, .show-hints .hotspot::before { border-color: rgba(255,221,139,.85); background: rgba(255,214,107,.09); box-shadow: 0 0 32px rgba(255,206,84,.2) inset; }
.hotspot:hover .hotspot-label, .show-hints .hotspot-label { opacity: 1; transform: none; }
.image-hint-hotspot::before { display: none; }
.hotspot-hint-viewport { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hotspot-hint-crop { position: absolute; max-width: none; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.image-hint-hotspot:hover .hotspot-hint-crop { animation: image-hint-pulse 1.35s ease-in-out infinite; }
.show-hints .hotspot-hint-viewport { display: none; }
.locked-hotspot { cursor: not-allowed; }
@keyframes image-hint-pulse { 0%,100% { opacity: .92; } 50% { opacity: .5; } }

/* Les zones de la pancarte suivent la forme des flèches déjà dessinées dans
   l'illustration. Aucun libellé supplémentaire n'est nécessaire. */
.direction-hotspot { border-radius: 0; }
.direction-hotspot.arrow-right,
.direction-hotspot.arrow-right::before {
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%, 4% 50%);
}
.direction-hotspot.arrow-left,
.direction-hotspot.arrow-left::before {
  clip-path: polygon(13% 0, 100% 0, 96% 50%, 100% 100%, 13% 100%, 0 50%);
}
.direction-hotspot::before { display: none; }
.direction-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  filter: drop-shadow(0 0 3px rgba(255, 211, 145, .72));
}
.direction-outline polygon {
  fill: none;
  stroke: rgba(255, 216, 77, .98);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.direction-hotspot:hover .direction-outline,
.show-hints .direction-hotspot .direction-outline { opacity: 1; }
.direction-hotspot:hover::before,
.show-hints .direction-hotspot::before {
  background: transparent;
}
.object-hotspot { border-radius: 0; }
.object-hotspot::before { display: none; }
.object-outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; pointer-events: none; transition: opacity .22s; filter: drop-shadow(0 0 4px rgba(255,220,126,.95)); }
.object-outline polygon, .object-outline path { fill: rgba(255,210,84,.08); stroke: rgba(255,224,147,.96); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.trace-only-hotspot .object-outline polygon,
.trace-only-hotspot .object-outline path { fill: rgba(255,210,84,.035); }
.object-photo { opacity: .18; filter: brightness(1.35) saturate(1.2) drop-shadow(0 0 5px #ffe08b); }
.object-hotspot:hover .object-outline, .show-hints .object-hotspot .object-outline { opacity: 1; animation: object-hint-pulse 1.45s ease-in-out infinite; }
.locked-hotspot .object-outline { opacity: .42; filter: drop-shadow(0 0 3px rgba(255,216,77,.72)); }
.locked-hotspot .object-outline polygon, .locked-hotspot .object-outline path { fill: rgba(255,210,84,.08); stroke: rgba(255,216,77,.9); stroke-dasharray: 6 5; }
.locked-hotspot .hotspot-label { opacity: 1; transform: none; }
.locked-hotspot .hotspot-label i { width: auto; height: auto; background: none; box-shadow: none; font-style: normal; }
@keyframes object-hint-pulse { 50% { opacity: .45; filter: drop-shadow(0 0 10px rgba(255,210,80,.95)); } }
