/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#j-modal.j-fantome { pointer-events: none !important; z-index: 51 !important; }
#j-modal.j-fantome.sans-fond { background: transparent !important; }
#j-modal.j-fantome *, #j-modal.j-fantome *::before, #j-modal.j-fantome *::after { animation: none !important; transition: none !important; pointer-events: none !important; }
#j-vol { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
#j-vol .j-vol-objet { position: absolute; display: block; object-fit: contain; will-change: transform, opacity;
  filter: drop-shadow(0 2px 2px rgba(20, 10, 0, .55)) drop-shadow(0 0 4px rgba(255, 214, 110, .55)); }
.j-recoit { animation: j-recoit .18s ease-out; }
@keyframes j-recoit { 0% { scale: 1; } 45% { scale: 1.14; } 100% { scale: 1; } }
.j-pulse-plus { animation: j-pulse-plus .65s ease-out; }
.j-pulse-moins { animation: j-pulse-moins .65s ease-out; }
@keyframes j-pulse-plus {
  0% { scale: 1; }
  25% { scale: 1.2; color: #2f9e4a; text-shadow: 0 0 6px rgba(96, 230, 130, .9), 0 0 14px rgba(60, 200, 100, .6); filter: drop-shadow(0 0 5px rgba(80, 220, 120, .85)); }
  100% { scale: 1; }
}
@keyframes j-pulse-moins {
  0% { scale: 1; }
  25% { scale: 1.12; color: #c0392b; text-shadow: 0 0 6px rgba(240, 80, 60, .9), 0 0 14px rgba(200, 40, 30, .6); filter: drop-shadow(0 0 5px rgba(230, 70, 50, .85)); }
  100% { scale: 1; }
}
.fn-ligne.j-pulse-plus { animation-name: j-pulse-jauge-plus; }
.fn-ligne.j-pulse-moins { animation-name: j-pulse-jauge-moins; }
@keyframes j-pulse-jauge-plus { 25% { filter: drop-shadow(0 0 6px rgba(80, 220, 120, .95)) brightness(1.12); } }
@keyframes j-pulse-jauge-moins { 25% { filter: drop-shadow(0 0 6px rgba(230, 70, 50, .95)) brightness(.95); } }
.j-loupe { position: fixed; z-index: 81; pointer-events: none; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 6px; border-radius: 999px; background: linear-gradient(#4a2c14, #2b180a); border: 2px solid #c9a24a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 230, 160, .35); color: #ffe7a8;
  font: 700 17px/1 var(--titre, Georgia, serif); white-space: nowrap; animation: j-loupe-entre .16s ease-out; }
.j-loupe img { width: 24px; height: 24px; object-fit: contain; }
.j-loupe.part { opacity: 0; transition: opacity .3s; }
.j-loupe.j-pulse-plus { animation: j-pulse-plus .65s ease-out; }
.j-loupe.j-pulse-moins { animation: j-pulse-moins .65s ease-out; }
@keyframes j-loupe-entre { from { opacity: 0; scale: .8; } }
.j-saison { position: fixed; z-index: 79; pointer-events: none; display: grid; translate: -50% 0; perspective: 700px; }
.j-saison .j-page { grid-area: 1 / 1; padding: 7px 26px 8px; text-align: center; white-space: nowrap;
  font: 400 24px/1.1 var(--titre, Georgia, serif); color: #4a2a10; letter-spacing: .02em;
  background: radial-gradient(ellipse at 50% 40%, #f7e8c4 0%, #ead2a0 70%, #d9b97c 100%); border: 2px solid #7a5229; border-radius: 3px;
  box-shadow: 0 0 0 2px #2a1a0e, 0 8px 20px rgba(0, 0, 0, .55); }
.j-saison .j-ancienne { transform-origin: 50% 0; backface-visibility: hidden; }
html.ft-pret .btn-cloche { animation: j-ft-respire 2s ease-in-out infinite alternate; }
@keyframes j-ft-respire { from { box-shadow: 0 0 0 0 rgba(255, 214, 130, 0); } to { box-shadow: 0 0 10px 3px rgba(255, 214, 130, .75); } }
.j-sablier { position: absolute; z-index: 4; pointer-events: none; mix-blend-mode: screen; border-radius: 50%; opacity: .25;
  background: radial-gradient(ellipse closest-side, rgba(255, 220, 140, .95), rgba(255, 190, 100, .4) 55%, rgba(255, 180, 90, 0) 100%);
  animation: j-sab-respire 2s ease-in-out infinite alternate; }
@keyframes j-sab-respire { from { opacity: .2; } to { opacity: .85; } }
html.sans-ambiance.ft-pret .btn-cloche, html.sans-ambiance .j-sablier { animation: none; }
html.sans-ambiance .j-sablier { opacity: .55; }
.j-fige { position: fixed; z-index: 90; pointer-events: none; image-rendering: pixelated; }
.j-victoire { position: fixed; z-index: 91; left: 50%; top: 18%; translate: -50% 0; pointer-events: none; padding: 18px 64px 20px;
  background: url(interface/kit_plaque_repos.png?v=d5506913) center / 100% 100% no-repeat; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55));
  font: 400 44px/1 var(--titre, Georgia, serif); color: #f3d98a; text-shadow: 0 2px 0 #3a200c, 0 0 8px rgba(0, 0, 0, .6); letter-spacing: .03em;
  animation: j-victoire 2s ease-out both; }
@keyframes j-victoire { 0% { translate: -50% -40px; opacity: 0; } 12.5% { translate: -50% 0; opacity: 1; } 80% { translate: -50% 0; opacity: 1; } 100% { translate: -50% 0; opacity: 0; } }
html.mobile #j-vol, html.mobile .j-loupe, html.mobile .j-saison, html.mobile #j-modal { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  #j-vol, .j-loupe, .j-saison, #j-modal.j-fantome, .j-victoire, .j-fige { display: none !important; }
  html.ft-pret .btn-cloche, .j-sablier { animation: none !important; }
  .j-recoit, .j-pulse-plus, .j-pulse-moins { animation: none !important; }
}
