/* L’affiche et le canevas partagent le même cadre. */
.carnet .journey-art { background: #15151c; }
.journey-art canvas, .journey-art picture, .journey-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.journey-art img { object-fit: cover; object-position: 62% center; }
.journey-art canvas[hidden], .journey-controls[hidden], .journey-controls [hidden] { display: none; }

.journey-controls {
  position: absolute;
  z-index: 3;
  right: clamp(23px, 3.7vw, 64px);
  top: clamp(76px, 6.5vw, 96px);
}
.journey-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  background: #15141bc5;
  box-shadow: 0 2px 12px #12101834;
  backdrop-filter: blur(8px);
}
.journey-controls button:hover { background: #302a34; }
.journey-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.journey-controls [data-state=playing] .play-icon { width: 9px; height: 12px; border-inline: 2px solid #fff5d6; }
.journey-controls [data-state=paused] .play-icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 9px solid #fff5d6;
  border-block: 6px solid transparent;
}
.journey-controls [data-message] {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 7px 10px;
  border-radius: 4px;
  background: #17161ee8;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .carnet .journey-art { bottom: 7%; }
  .journey-controls { top: 66px; right: 15px; }
}
