/* v0.22 — tuto : projecteur + bulle du tutoriel guidé (tuto.js) */
.tuto { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.tuto.hidden { display: none; }
/* Blocs autour du trou : ils arrêtent les clics, le trou les laisse passer */
.tuto-block { position: fixed; pointer-events: auto; background: transparent; }
.tuto.center .tuto-block { background: rgba(8, 12, 30, .62); }
/* L'ombre géante de l'anneau assombrit tout l'écran sauf l'élément mis en avant */
.tuto-ring { position: fixed; border-radius: 10px; pointer-events: none; border: 2px solid #ffe08a;
  box-shadow: 0 0 0 9999px rgba(8, 12, 30, .62), 0 0 18px 4px rgba(255, 214, 110, .75); animation: tutoPulse 1.6s ease-in-out infinite; }
.tuto.soft .tuto-ring { box-shadow: 0 0 18px 4px rgba(255, 214, 110, .75); }
@keyframes tutoPulse { 50% { border-color: #fff6d0; } }
.tuto-bubble { position: fixed; pointer-events: auto; padding: 12px 14px 10px; border-radius: 10px; background: var(--c-ink, #101a3a);
  border: 2px solid var(--c-gold, #c8a04a); color: #f4ecd8; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transition: top .18s, left .18s; }
.tuto-count { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b9b3a0; }
.tuto-title { margin: 2px 0 4px; font-family: var(--font-title, serif); font-size: 16px; color: #ffe08a; }
.tuto-text { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #f4ecd8; }
.tuto-text b { color: #fff1c4; }
.tuto-btns { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tuto-btns .hidden { display: none; }
.tuto-btns .tuto-skip { background: transparent; border-color: rgba(200, 160, 74, .45); color: #cfc7ae; font-size: 12px; }
.tuto-btns .tuto-next { margin-left: auto; font-size: 13px; padding: 7px 16px; }
/* Rappel « tutoriel en pause » (autre écran) : ne bloque rien */
.tuto-pause { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 8px;
  max-width: calc(100vw - 16px); padding: 6px 8px 6px 12px; border-radius: 20px; background: var(--c-ink, #101a3a); border: 1px solid var(--c-gold, #c8a04a);
  color: #f4ecd8; font-size: 12.5px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.tuto-pause.hidden { display: none; }
.tuto-pause .tp-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tuto-pause b { color: #ffe08a; }
.tuto-pause button { flex: none; padding: 4px 10px; font-size: 12px; }
#hub:not(.hidden) ~ .tuto-pause { bottom: 96px; }
.guide-foot { margin-top: 12px; text-align: center; }
@media (max-width: 600px) {
  .tuto-title { font-size: 15px; } .tuto-text { font-size: 13.5px; }
}
/* Bulle posée sur l'élément mis en avant : le texte laisse passer les clics, seuls les boutons de la bulle restent actifs */
.tuto-bubble.over { pointer-events: none; background: rgba(16, 26, 58, .93); }
.tuto-bubble.over button { pointer-events: auto; }
