/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.pj-equipage { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 30px; padding: 0 6px; }
#panneau.colonne-v699 .pan-corps > .cp-fiche:has(.pj-equipage) { --reserve: 106px; }
#panneau.colonne-v699 .pan-corps > .cp-fiche:has(.pj-equipage):has(.cp-pied) { --reserve: 136px; }
.pj-equipage.pj-ancienne { justify-content: flex-start; padding: 0; }
.pj-corde { position: relative; flex: 1 1 auto; min-width: 70px; max-width: 150px; height: 14px; border-radius: 7px; cursor: help;
  background: #2d1c24; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55), 0 0 0 1px rgba(60, 34, 12, .6); }
.pj-corde .pj-rempli { position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc((100% - 4px) * var(--f)); border-radius: 5px;
  background: url(interface/jauge_corde.png?v=3bb9e170) left center / auto 100% repeat-x, repeating-linear-gradient(115deg, #c9a46a 0 4px, #9a7340 4px 7px); }
.pj-corde.pj-lache .pj-rempli { filter: saturate(.75) brightness(.92); }
.pj-corde.pj-effilochee .pj-rempli { filter: sepia(.4) saturate(.6) brightness(.85);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .55) 85%, transparent); mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .55) 85%, transparent); }
.pj-corde.pj-img-lache .pj-rempli { background: url(interface/jauge_corde_lache.png?v=8759a7e6) left center / auto 100% repeat-x; filter: none; }
.pj-corde.pj-img-effilochee .pj-rempli { background: url(interface/jauge_corde_effilochee.png?v=83aa3aff) left center / auto 100% repeat-x; filter: none; -webkit-mask-image: none; mask-image: none; }
.pj-corde .pj-seuil { position: absolute; top: -3px; bottom: -3px; left: calc(2px + (100% - 4px) * var(--s)); width: 2px; margin-left: -1px; background: #f3e2b8;
  box-shadow: 0 0 0 1px rgba(40, 20, 6, .7); border-radius: 1px; }
.pj-corde .pj-seuil.mal { background: #b3261e; }
.pj-corde.murmure { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55), 0 0 0 1px #8f2020, 0 0 6px rgba(179, 38, 30, .55); }
.pj-coffre { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; cursor: help; }
.pj-objet { position: relative; display: inline-block; width: 34px; height: 28px; }
.pj-objet > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(30, 14, 4, .5)); }
.pj-objet.peint > .pj-dessin { display: none; }
.pj-coffre .pj-dessin { position: absolute; left: 3px; right: 3px; bottom: 2px; height: 15px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 22%, #3b2410 22% 28%, transparent 28% 72%, #3b2410 72% 78%, transparent 78%), linear-gradient(#8a5a2b, #6b4220);
  box-shadow: 0 0 0 1px #3b2410, 0 2px 2px rgba(30, 14, 4, .45); }
.pj-coffre .pj-dessin::before { content: ''; position: absolute; left: -1px; right: -1px; bottom: 100%; height: 8px; border-radius: 6px 6px 1px 1px;
  background: linear-gradient(#9c6a35, #7a4e24); box-shadow: 0 0 0 1px #3b2410; }
.pj-coffre.pj-plein .pj-dessin::after, .pj-coffre.pj-entame .pj-dessin::after { content: ''; position: absolute; left: 3px; right: 3px; bottom: calc(100% + 6px); height: 5px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, #ffe68a, #e1a92a 60%, #a8741a); }
.pj-coffre.pj-entame .pj-dessin::after { left: 9px; right: 9px; height: 3px; }
.pj-coffre.pj-vide .pj-dessin::after { content: ''; position: absolute; left: 50%; top: 2px; width: 8px; height: 7px; margin-left: -4px; border-radius: 1px; background: #8d9196;
  box-shadow: 0 0 0 1px #3a3d40, 0 -3px 0 -1px #8d9196, 0 -3px 0 0 #3a3d40; }
.pj-coffre .pj-solde { font: 800 12.5px/1 var(--txt); color: #4a3419; white-space: nowrap; }
.pj-arrieres { display: inline-flex; align-items: center; margin-left: 1px; }
.pj-jeton { display: inline-block; width: 13px; height: 13px; margin-left: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e05a4e, #8f1c14 70%);
  box-shadow: 0 0 0 1px #4a0d08, 0 1px 1px rgba(0, 0, 0, .4); }
.pj-jeton:first-child { margin-left: 0; }
.pj-coffre.pj-ne .pj-objet { animation: pj-ne 1.6s ease-in-out 3; }
@keyframes pj-ne { 50% { translate: 0 -2px; filter: drop-shadow(0 0 5px rgba(220, 60, 40, .85)); } }
.pj-meche { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; cursor: pointer; outline: none; }
.pj-meche .visage-port.mini { margin: 0 !important; box-shadow: 0 0 0 2px #8f2020; }
.pj-meche .pj-objet { width: 44px; height: 20px; }
.pj-meche .pj-dessin { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 100%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #6b4a26 0 3px, #8a6232 3px 5px); }
.pj-meche.pj-entamee .pj-dessin { width: 62%; } .pj-meche.pj-courte .pj-dessin { width: 26%; }
.pj-meche .pj-dessin::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: radial-gradient(circle, #fff3b0, #ffb02e 40%, rgba(230, 80, 20, .6) 65%, transparent 72%); animation: pj-etincelle .5s steps(2, end) infinite; }
.pj-meche.pj-longue .pj-dessin::after { display: none; }
@keyframes pj-etincelle { 50% { transform: scale(.75); opacity: .8; } }
.pj-meche:hover, .pj-meche:focus-visible { translate: 0 -1px; filter: brightness(1.1); }
.cp-fanion.molle { transform-origin: 0 0; transform: skewY(9deg) scaleY(.82); filter: saturate(.8) brightness(.95); }
.cp-fanion.molle.peinte { transform: none; filter: none; background-image: url(interface/coupe_fanion_molle.png?v=e8b23095); }
.fiche-navire .jauge-moral.molle .j-rempli { filter: saturate(.75) brightness(.92); }
.fiche-navire .jauge-moral.dechiree .j-rempli { filter: sepia(.5) saturate(.6) brightness(.8); }
@container (max-height: 255px) {
  #panneau.colonne-v699 .pan-corps > .cp-fiche:has(.pj-equipage) { --reserve: 88px; }
  #panneau.colonne-v699 .pan-corps > .cp-fiche:has(.pj-equipage):has(.cp-pied) { --reserve: 118px; }
  .pj-equipage { min-height: 24px; gap: 7px; } .pj-objet { width: 28px; height: 23px; } .pj-coffre .pj-solde { font-size: 11.5px; }
}
@container (min-height: 430px) {
  .pj-equipage { min-height: 38px; gap: 14px; } .pj-corde { height: 17px; max-width: 190px; } .pj-objet { width: 42px; height: 34px; }
  .pj-coffre .pj-solde { font-size: 15px; } .pj-jeton { width: 16px; height: 16px; } .pj-meche .pj-objet { width: 56px; height: 24px; }
}
#j-vol .cj-jeton { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 3px; border-radius: 16px; white-space: nowrap;
  background: #f6ead0; border: 2px solid #b8925a; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); color: #3a2412; font: 700 14px/1 var(--txt); will-change: transform, opacity; }
#j-vol .cj-jeton .cj-disque { position: relative; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe68a, #d39b22 65%, #8c5e12); }
#j-vol .cj-jeton .cj-disque img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#j-vol .cj-jeton small { font-weight: 400; font-size: 11.5px; color: #6a4a24; }
#j-vol .cj-jeton.moins b { color: #8f1c14; } #j-vol .cj-jeton.plus b { color: #2f6b2a; }
#j-vol .cj-jeton.moins .cj-disque { filter: saturate(.6) brightness(.9); }
html:not(.mobile) #barre > #b-plis { order: 4; flex: 0 0 auto; margin-left: 4px; }
#b-plis { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; }
#b-plis.cache { display: none !important; }
#b-plis img.emo.aa { width: 20px; height: 20px; margin: 0; }
#b-plis b { min-width: 18px; height: 18px; border-radius: 9px; background: #8f2020; color: #fff; font: 700 11px/18px var(--txt); text-align: center; padding: 0 4px; }
.gazette-scene .gz-extra { text-align: center; font: 700 calc(1.25 * var(--u)) / 1.1 'IM Fell English', Georgia, serif; letter-spacing: .14em; text-transform: uppercase;
  color: #8e1612; margin: calc(.3 * var(--u)) 0 calc(-.2 * var(--u)); }
.pj-curseur { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-style: italic; }
.pj-curseur input[type="range"] { width: min(260px, 40vw); accent-color: #8e1612; }
.pj-curseur b { font-style: normal; }
html.mobile .pj-equipage, html.mobile #b-plis { display: none !important; }
@media (prefers-reduced-motion: reduce) { .pj-meche .pj-dessin::after, .pj-coffre.pj-ne .pj-objet { animation: none; } }
html #modal-box > .scene-d .sc-image > .pj-scene { position: absolute; inset: 0; pointer-events: none; --k: 2; --kp: 1; }
.pj-scene img { image-rendering: pixelated; -webkit-user-drag: none; user-select: none; }
.pj-scene .pj-homme { all: unset; position: absolute; width: 0; height: calc(240px * var(--k)); pointer-events: auto; cursor: help; }
.pj-scene .pj-homme > .pj-spr { position: absolute; bottom: 0; left: calc(var(--cx) * var(--k) * -1px); height: calc(240px * var(--k)); width: auto; max-width: none;
  filter: drop-shadow(0 calc(2px * var(--k)) 0 rgba(20, 10, 4, .45)); }
.pj-scene .pj-homme > .pj-spr[hidden] { display: none; }
.pj-scene.pj-choix .pj-homme { cursor: pointer; }
.pj-scene.pj-choix .pj-homme:hover > .pj-attend, .pj-scene.pj-choix .pj-homme:focus-visible > .pj-attend {
  filter: drop-shadow(0 0 calc(2px * var(--k)) #ffd66e) drop-shadow(0 0 calc(5px * var(--k)) rgba(233, 196, 106, .7)) drop-shadow(0 calc(2px * var(--k)) 0 rgba(20, 10, 4, .45)); }
.pj-scene .pj-homme:focus { outline: 0; }
.pj-scene .pj-nuage { position: absolute; left: calc(-20px * var(--k)); top: calc(-46px * var(--k)); width: calc(66px * var(--k)); height: calc(39px * var(--k));
  filter: drop-shadow(0 0 calc(1px * var(--k)) rgba(255, 255, 255, .55)); z-index: 2;
  image-rendering: pixelated; animation: pj-nuage 1.4s steps(1) infinite; }
@keyframes pj-nuage { 0%, 49% { transform: translateY(0); } 50%, 100% { transform: translateY(calc(-2px * var(--k))); } }
.pj-scene .pj-nuage[hidden] { display: none; }
.pj-scene .pj-pile { position: absolute; height: calc(119px * var(--kp)); width: auto; max-width: none; filter: drop-shadow(0 calc(2px * var(--kp)) 0 rgba(20, 10, 4, .5)); }
.pj-scene .pj-piece { position: absolute; left: 0; top: 0; display: none; z-index: 20; }
.pj-scene .pj-piece.vole { display: block; }
.pj-scene .pj-piece > img { position: absolute; left: 0; top: 0; height: calc(99px * var(--kp)); width: auto; max-width: none; }
.pj-scene .pj-piece > .pj-tranche, .pj-scene .pj-piece.tranche > .pj-face { display: none; }
.pj-scene .pj-piece.tranche > .pj-tranche { display: block; }
.pj-scene .pj-bosco { position: absolute; z-index: 12; width: 0; height: calc(242px * var(--k)); }
.pj-scene .pj-bosco[hidden], .pj-scene .pj-bosco > img[hidden] { display: none; }
.pj-scene .pj-bosco > img { position: absolute; bottom: 0; left: calc(-24px * var(--k) * 2); height: calc(242px * var(--k)); width: auto; max-width: none;
  filter: drop-shadow(0 calc(2px * var(--k)) 0 rgba(20, 10, 4, .45)); }
.pj-scene .pj-bosco.gauche > img { left: calc(-40px * var(--k) * 2); transform: scaleX(-1); }
html #modal-box > .scene-d:has(.pj-scene) > .sc-retombees { z-index: 40; }
html #modal-box > .scene-d > .pj-bulle { position: absolute; z-index: 30; display: none; max-width: max(360px, calc(25 * var(--k))); padding: 8px 16px 10px; pointer-events: none;
  border: 22px solid transparent; border-image: url(interface/table_carte.png?v=221b95de) 28 fill / 22px / 0 stretch; background: none; color: #3a2210; font-size: max(16px, calc(1.05 * var(--k))); line-height: 1.3; text-align: left;
  filter: drop-shadow(2px 5px 4px rgba(0, 0, 0, .55)); }
html #modal-box > .scene-d > .pj-bulle.vue { display: block; }
html #modal-box > .scene-d > .pj-bulle b { color: #6b1c10; }
html #modal-box > .scene-d > .pj-bulle i { display: block; margin-top: 3px; color: #5b3a1a; }
html #modal-box > .scene-d .sc-choix > .pj-sceaux { position: static; flex-direction: column; align-items: flex-end; gap: calc(.6 * var(--k)); margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .pj-scene .pj-nuage { animation: none; } }
html.sans-ambiance .pj-scene .pj-nuage { animation: none; }
