/* Visite guidée : voile, zone en lumière et bulle. */
.tour-root { position: fixed; inset: 0; z-index: calc(var(--z-toast) + 5); }
.tour-spot { position: fixed; border-radius: var(--r-md); box-shadow: 0 0 0 9999px var(--scrim-strong), 0 0 0 2px var(--accent); pointer-events: none; transition: top 0.2s, left 0.2s, width 0.2s, height 0.2s; }
.tour-spot-none { top: 50%; left: 50%; width: 0; height: 0; box-shadow: 0 0 0 9999px var(--scrim-strong); }
.tour-bubble { position: fixed; width: min(380px, calc(100vw - 32px)); box-sizing: border-box; padding: var(--sp-4, 16px); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow), 0 0 0 1px var(--line); outline: none; }
.tour-title { margin: 0 0 var(--sp-2); font-size: var(--fs-section); font-weight: 800; }
.tour-text { margin: 0 0 var(--sp-3, 12px); font-size: var(--fs-body); line-height: 1.4; color: var(--text-2); }
.tour-foot { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.tour-count { margin-right: auto; font-size: var(--fs-caption); color: var(--text-2); }
.tour-btn, .tour-skip { min-height: 40px; padding: 0 var(--sp-3, 12px); border: 1px solid var(--line); border-radius: var(--r-md); background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.tour-skip { border-color: transparent; color: var(--text-2); }
.tour-primary { border-color: transparent; background: var(--accent); color: #000; }
.tour-btn:focus-visible, .tour-skip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }
/* Étapes « lecteur » : la barre est montrée même quand rien ne joue */
html.tour-player #playerbar[hidden] { display: grid !important; }
@media (max-width: 767px) { html.tour-player #playerbar[hidden] { display: flex !important; } }
