/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#visite-bord { position: fixed; inset: 0; z-index: 9000; cursor: pointer; user-select: none; }
#visite-bord .vb-trou { position: fixed; box-sizing: border-box; border-radius: 4px; pointer-events: none;
  box-shadow: 0 0 0 200vmax rgba(8, 6, 4, var(--vb-voile, .68)), inset 0 0 0 2px #f0c95a, 0 0 0 1px rgba(46, 22, 6, .9), 0 0 14px 2px rgba(240, 201, 90, .55);
  transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
#visite-bord.calme .vb-trou { transition: none; }
#visite-bord .vb-gestes { position: fixed; inset: 0; pointer-events: none; }
#visite-bord .vb-bulle { position: fixed; box-sizing: border-box; width: min(430px, 40vw); display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 18px 11px 12px; background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; color: #2b1a0e;
  filter: drop-shadow(0 4px 5px rgba(10, 5, 1, .65)); pointer-events: none; }
#visite-bord .vb-bulle.neuve { animation: vb-bulle .28s ease-out both; }
#visite-bord.calme .vb-bulle.neuve { animation: none; }
@keyframes vb-bulle { from { opacity: 0; translate: 0 6px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
#visite-bord .vb-bulle[data-cote="bas"]::after { content: ''; position: absolute; left: 34px; bottom: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: #e9d6a8; }
#visite-bord .vb-bulle[data-cote="droite"]::after { content: ''; position: absolute; right: -8px; top: 30px; border: 8px solid transparent; border-right: 0; border-left-color: #e9d6a8; }
#visite-bord .vb-med { flex: none; width: 62px; height: 62px; margin: -10px 0 -6px -6px; display: flex; align-items: center; justify-content: center;
  background: url(interface/ui_medaillon.png?v=157f5cb8) center / 100% 100% no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
#visite-bord .vb-med img { width: 47px; height: 47px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #1a2340; display: block; }
#visite-bord .vb-med .emoji-seul { font-size: 26px; }
#visite-bord .vb-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
#visite-bord .vb-txt > b { font: 800 13px/1.1 Alegreya, Georgia, serif; color: #7a1a10; letter-spacing: .02em; }
#visite-bord .vb-txt > q { quotes: none; font: italic 600 15.5px/1.28 Alegreya, 'Palatino Linotype', Georgia, serif; color: #2b1a0e; }
#visite-bord .vb-pied { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
#visite-bord .vb-pied small { font: italic 11.5px/1 Alegreya, Georgia, serif; color: rgba(60, 38, 18, .7); }
#visite-bord .vb-points { display: flex; gap: 5px; margin-left: auto; }
#visite-bord .vb-points i { width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; border: 1px solid #7a5418; background: rgba(240, 201, 90, .25); }
#visite-bord .vb-points i.fait { background: #b8902e; }
#visite-bord .vb-points i.ici { background: #f0c95a; box-shadow: 0 0 4px rgba(240, 201, 90, .9); }
#visite-bord .vb-suite { position: relative; padding: 3px 16px 3px 9px; font: italic 700 13px/1.1 Alegreya, Georgia, serif; color: #7a1a10; rotate: -2deg;
  background: linear-gradient(225deg, transparent 0 7px, rgba(122, 84, 24, .55) 7px 8.5px, #f4e6c4 8.5px);
  box-shadow: 1px 2px 2px rgba(40, 20, 6, .45), inset 0 0 0 1px rgba(122, 84, 24, .35); }
#visite-bord .vb-suite::after { content: ''; position: absolute; right: 0; top: 0; width: 8px; height: 8px; background: linear-gradient(225deg, transparent 50%, #d9bf8a 50%); box-shadow: -1px 1px 1px rgba(40, 20, 6, .35); }
#visite-bord .vb-lueur { position: fixed; display: block; border-radius: 40%; opacity: 0;
  background: radial-gradient(ellipse 60% 66% at 50% 55%, rgba(255, 214, 120, .62), rgba(255, 180, 80, .26) 55%, rgba(255, 170, 70, 0) 84%);
  animation: vb-lueur 1s ease-in-out both; }
#visite-bord .vb-lueur.vb-objet { border-radius: 50%; box-shadow: 0 0 0 2px rgba(240, 201, 90, .85), 0 0 12px 3px rgba(240, 201, 90, .6); animation-duration: .9s; }
#visite-bord .vb-lueur.fixe { animation: none; opacity: .8; }
@keyframes vb-lueur { 0% { opacity: 0; } 35% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 0; } }
html.visite-bord #panneau :is(.cab > .v3-bulle, .v3-cri) { display: none; }
