/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#abp { position: fixed; inset: 0; z-index: 69; display: grid; place-items: center; background: rgba(4, 8, 16, 0); transition: background .25s; }
#abp.ouvert { background: rgba(4, 8, 16, .9); }
#abp.ouvert.sur-mer { background: rgba(4, 8, 16, .42); }
#abp .abp-scene { position: relative; overflow: hidden; container-type: inline-size;
  outline: 3px solid #8a6a3a; box-shadow: 0 10px 40px rgba(0, 0, 0, .7); background: #123; opacity: 0; transition: opacity .25s;
  font-family: Alegreya, Georgia, serif; color: #f3e6c8; user-select: none; -webkit-user-select: none; }
#abp.ouvert .abp-scene { opacity: 1; }
#abp.ferme .abp-scene { opacity: 0; }
#abp .abp-cv { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
#abp .abp-point { position: absolute; width: 15cqw; height: 9cqw; transform: translate(-50%, -82%); cursor: pointer; touch-action: none; }
#abp .abp-point.pris { cursor: default; }
#abp .abp-tag { position: absolute; left: 50%; top: 100%; width: 14.4cqw; aspect-ratio: 320 / 131; box-sizing: border-box; padding: .5cqw .4cqw .4cqw 6.2cqw;
  display: flex; flex-direction: column; justify-content: center; line-height: 1.02;
  transform: translateX(-50%) rotate(var(--r, -1.5deg)) translateY(var(--y, 0)); transform-origin: 18% 50%;
  transition: transform .25s cubic-bezier(.2, 1.3, .5, 1); pointer-events: none; }
#abp .abp-tag::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat;
  filter: drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .55)); transition: filter .25s; }
#abp .abp-point:nth-child(1) .abp-tag { --r: -2.2deg; --y: .1cqw; }
#abp .abp-point:nth-child(2) .abp-tag { --r: 1.6deg; --y: -.2cqw; }
#abp .abp-point:nth-child(3) .abp-tag { --r: -.8deg; --y: .3cqw; }
#abp .abp-tag b { font-size: 1.32cqw; font-weight: 800; color: #3a2412; letter-spacing: .02em; white-space: nowrap; }
#abp .abp-chance { font-style: italic; font-weight: 700; font-size: 1.24cqw; color: #6b4a22; min-height: 1.3cqw; white-space: nowrap; }
#abp .abp-chance.favorable { color: #2f5a1e; }
#abp .abp-chance.incertain { color: #8a5410; }
#abp .abp-chance.perdu { color: #8f2020; }
#abp .abp-chance.pris { color: #2f5a1e; }
#abp .abp-point:hover .abp-tag, #abp .abp-point.vise .abp-tag, #abp .abp-point.montre .abp-tag { transform: translateX(-50%) rotate(0deg) translateY(-.4cqw) scale(1.06); }
#abp .abp-point:hover .abp-tag::before, #abp .abp-point.vise .abp-tag::before, #abp .abp-point.montre .abp-tag::before { filter: drop-shadow(0 0 .9cqw rgba(255, 204, 90, .95)) drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .5)); }
#abp .abp-point.vise .abp-tag { transform: translateX(-50%) rotate(0deg) translateY(-.2cqw) scale(1.02); }
#abp .abp-point.pris .abp-tag::before { filter: sepia(.4) saturate(1.3) drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .55)); }
#abp .abp-capitaine { position: absolute; width: 4.6cqw; aspect-ratio: 678 / 700; transform: translate(-50%, -168%) rotate(2deg); pointer-events: none;
  background: url(interface/kit_medaillon.png?v=93aeec93) center / 100% 100% no-repeat; filter: drop-shadow(0 .3cqw .35cqw rgba(0, 0, 0, .6)); }
#abp .abp-capitaine .visage-port { position: absolute; left: 17%; top: 6.5%; width: 66%; height: 64%; margin: 0; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: #2a2018; box-shadow: none; float: none; display: block; z-index: -1; }
#abp .abp-capitaine img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
#abp .abp-groupe { position: absolute; top: calc(100% - 10cqw); width: 7.4cqw; aspect-ratio: 678 / 700; cursor: grab; touch-action: none; z-index: 2;
  background: url(interface/kit_medaillon.png?v=93aeec93) center / 100% 100% no-repeat; outline: none;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); filter: drop-shadow(0 .4cqw .45cqw rgba(0, 0, 0, .65));
  transition: left .25s ease-out, top .25s ease-out, transform .18s cubic-bezier(.2, 1.3, .5, 1), filter .18s; }
#abp .abp-groupe:hover, #abp .abp-groupe:focus-visible { transform: rotate(0deg) translateY(calc(var(--y, 0) - .7cqw)) scale(1.06); filter: drop-shadow(0 0 .8cqw rgba(255, 204, 96, .8)) drop-shadow(0 .5cqw .5cqw rgba(0, 0, 0, .6)) brightness(1.08); z-index: 3; }
#abp .abp-groupe.choisi { transform: rotate(0deg) translateY(calc(var(--y, 0) - 1cqw)) scale(1.1); filter: drop-shadow(0 0 1.3cqw rgba(255, 214, 90, 1)) drop-shadow(0 .5cqw .5cqw rgba(0, 0, 0, .6)) brightness(1.15); z-index: 3; }
#abp .abp-groupe:active, #abp .abp-groupe.tire { cursor: grabbing; transform: rotate(0deg) scale(1.02); }
#abp .abp-groupe.tire { transition: none; z-index: 6; filter: drop-shadow(0 0 1.1cqw rgba(255, 214, 90, .9)) drop-shadow(0 1cqw .9cqw rgba(0, 0, 0, .55)); }
#abp .abp-groupe.place { width: 7.4cqw; }
#abp .abp-groupe.vide { display: none; }
#abp .abp-visage { position: absolute; left: 17%; top: 6.5%; width: 66%; height: 64%; border-radius: 50%; overflow: hidden; background: #2a2018; z-index: -1; }
#abp .abp-visage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
#abp .abp-nom { position: absolute; left: 10%; right: 10%; top: 79.5%; text-align: center; font-size: .78cqw; font-weight: 800; line-height: 1; color: #3a2412;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
#abp .abp-groupe.place .abp-nom { font-size: .64cqw; }
#abp .abp-hommes { position: absolute; left: 50%; top: 96%; transform: translateX(-50%); display: flex; gap: 0; pointer-events: none; }
#abp .abp-hommes img.illu { all: unset; display: block; width: auto; height: 1.5cqw; image-rendering: pixelated; filter: brightness(0) drop-shadow(0 0 .12cqw rgba(255, 236, 190, .9)); opacity: .92; }
#abp .abp-hommes img.illu:nth-child(even) { transform: translateY(.14cqw) scaleX(-1); }
#abp .abp-groupe kbd { position: absolute; left: -2%; top: -4%; font-family: inherit; font-size: .9cqw; font-weight: 700; line-height: 1; padding: .2cqw .42cqw .25cqw; border-radius: .35cqw;
  color: #3a2412; background: #f1e2bf; box-shadow: 0 .18cqw 0 #6b4a22, 0 .25cqw .3cqw rgba(0, 0, 0, .5); pointer-events: none; }
#abp .abp-groupe.place kbd { display: none; }
#abp:not(.placer) .abp-groupe { cursor: default; }
#abp .abp-commandes { position: absolute; right: 1.6cqw; bottom: 1cqw; }
#abp .abp-plaque { --s: calc(8.4cqw / 407); position: relative; box-sizing: border-box; width: 25cqw; height: 8.4cqw; cursor: pointer; touch-action: none;
  border-style: solid; border-color: transparent; border-width: calc(100 * var(--s)) calc(170 * var(--s)) calc(66 * var(--s));
  border-image: url(interface/canon_plaque_tir.png?v=abd4ab83) 100 170 66 fill / calc(100 * var(--s)) calc(170 * var(--s)) calc(66 * var(--s)) stretch;
  display: flex; align-items: center; justify-content: center; transform: rotate(-1deg); filter: grayscale(.45) brightness(.72) drop-shadow(0 .4cqw .5cqw rgba(0, 0, 0, .6)); transition: filter .25s, transform .1s; }
#abp.placer .abp-plaque { filter: drop-shadow(0 0 .9cqw rgba(255, 196, 70, .7)) brightness(1.08); }
#abp.placer .abp-plaque:hover { filter: drop-shadow(0 0 1.2cqw rgba(255, 196, 70, .9)) brightness(1.16); }
#abp .abp-plaque.presse { transform: rotate(-1deg) translateY(.25cqw); }
#abp .abp-feu { display: flex; align-items: center; gap: .7cqw; white-space: nowrap; transform: translateY(-.15cqw); }
#abp .abp-feu kbd { font-family: inherit; font-size: 1.2cqw; font-weight: 700; line-height: 1; padding: .3cqw .65cqw .35cqw; border-radius: .45cqw; color: #3a2412; background: #f1e2bf;
  box-shadow: 0 .22cqw 0 #6b4a22, 0 .3cqw .35cqw rgba(0, 0, 0, .5); }
#abp .abp-feu i { font-style: normal; font-size: 2cqw; color: #e8d2a0; }
#abp .abp-feu b { font-size: 2.55cqw; font-weight: 800; line-height: 1; color: #fff1d0; text-shadow: 0 .2cqw 0 #1a0e05, 0 0 .5cqw rgba(0, 0, 0, .6); }
#abp .abp-bulle { position: absolute; left: 45cqw; right: 1.6cqw; bottom: 0; display: flex; align-items: flex-end; gap: 0; padding: 0;
  opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 4; }
#abp .abp-bulle.vu { opacity: 1; }
#abp .abp-bulle .visage-port { flex: none; position: relative; width: 14cqw; height: 14cqw; margin: 0 -1.5cqw 0 0; padding: 0; float: none; border: 0; border-radius: 0;
  background: none; box-shadow: none; overflow: visible; transform: translateY(1.2cqw); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
#abp .abp-bulle.vu .visage-port { transform: none; }
#abp .abp-bulle .visage-port img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 0; image-rendering: auto;
  -webkit-mask-image: radial-gradient(ellipse 52% 60% at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 52% 60% at 50% 46%, #000 62%, transparent 100%);
  filter: drop-shadow(0 .4cqw .6cqw rgba(0, 0, 0, .5)); transform-origin: 50% 100%; animation: abp-souffle 4.4s ease-in-out infinite alternate; }
@keyframes abp-souffle { from { transform: scale(1); } to { transform: scale(1.016); } }
#abp .abp-bulle p { position: static; flex: 0 1 auto; width: max-content; max-width: 40cqw; margin: 0 0 10.4cqw; box-sizing: border-box; padding: .3cqw 1cqw .5cqw;
  border-style: solid; border-width: 1.1cqw; border-image: url(interface/kit_bande.png?v=b51fcec8) 110 fill / 1.1cqw stretch; filter: drop-shadow(0 .4cqw .7cqw rgba(0, 0, 0, .6));
  font: italic 600 clamp(18px, 1.75cqw, 30px)/1.3 Alegreya, 'Palatino Linotype', Georgia, serif; color: #f3e6c8; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
#abp .abp-bulle.vu p { animation: abp-cartouche .3s ease-out both; }
@keyframes abp-cartouche { from { opacity: 0; translate: 0 .6cqw; } to { opacity: 1; translate: 0 0; } }
#abp .abp-bulle p > b:first-child { position: absolute; left: -.4cqw; top: -1.25em; z-index: 2; margin: 0; padding: .1em .5em .18em; border-style: solid; border-width: .32em .9em;
  border-image: url(interface/ui_plaque_chene.png?v=1771689d) 22 44 fill / .32em .9em stretch; font: normal clamp(15px, 1.25cqw, 22px)/1.02 var(--titre, 'IM Fell English SC', serif);
  color: #f8e9c2; text-shadow: 0 2px 0 #3a1d08, 0 0 3px rgba(0, 0, 0, .6); filter: drop-shadow(0 .2cqw .3cqw rgba(0, 0, 0, .6)); white-space: nowrap; }
#abp .abp-scene .abp-bulle p small { display: block; margin-top: .35cqw; font: italic 500 clamp(15px, 1.3cqw, 22px)/1.25 Alegreya, Georgia, serif; color: #e8d6a8; }
#abp .abp-scene .abp-tag .gd-pourquoi { font-size: clamp(14px, 1.2cqw, 20px); }
#abp .abp-ruban { position: absolute; left: 50%; top: 22%; transform: translate(-50%, -50%) scale(.96); display: flex; flex-direction: column; align-items: center; gap: .3cqw;
  padding: .9cqw 3.2cqw 1cqw; background: linear-gradient(90deg, transparent, rgba(20, 10, 4, .86) 14%, rgba(20, 10, 4, .86) 86%, transparent);
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 5; white-space: nowrap; }
#abp .abp-ruban.vu { opacity: 1; transform: translate(-50%, -50%); }
#abp .abp-ruban span { font-size: 3.1cqw; font-weight: 800; color: #f6e2b0; text-shadow: 0 .2cqw 0 #000, 0 0 .8cqw rgba(0, 0, 0, .7); letter-spacing: .02em; }
#abp .abp-ruban.bien span { color: #ffe08a; }
#abp .abp-ruban.mal span { color: #ffb09a; }
#abp .abp-ruban small { font-size: 1.35cqw; font-style: italic; color: #e8d2a0; }
#abp .abp-ruban small:empty { display: none; }
#abp .abp-ruban .lj-mots { font: inherit; color: inherit; }
#abp.issue .abp-groupe, #abp.issue .abp-chance { opacity: 0; pointer-events: none; transition: opacity .25s; }
@media (prefers-reduced-motion: reduce) {
  #abp, #abp .abp-scene, #abp .abp-tag, #abp .abp-groupe, #abp .abp-plaque, #abp .abp-bulle, #abp .abp-ruban { transition: none; }
}
html.sans-ambiance #abp, html.sans-ambiance #abp .abp-scene, html.sans-ambiance #abp .abp-tag, html.sans-ambiance #abp .abp-groupe, html.sans-ambiance #abp .abp-plaque,
html.sans-ambiance #abp .abp-bulle, html.sans-ambiance #abp .abp-ruban { transition: none; }
@media (prefers-reduced-motion: reduce) { #abp .abp-bulle .visage-port, #abp .abp-bulle .visage-port img, #abp .abp-bulle.vu p { transition: none; animation: none; } }
html.sans-ambiance #abp .abp-bulle .visage-port, html.sans-ambiance #abp .abp-bulle .visage-port img, html.sans-ambiance #abp .abp-bulle.vu p { transition: none; animation: none; }
#abp .abp-force { position: absolute; right: calc(50% + 7.5cqw); top: calc(100% - .4cqw); display: flex; flex-direction: column; align-items: center; gap: .1cqw; pointer-events: none;
  white-space: nowrap; transition: opacity .2s; }
#abp .abp-force.cache { opacity: 0; }
#abp .abp-force i { font-style: italic; font-weight: 700; font-size: 1.05cqw; color: #fbe9bf; text-shadow: 0 .12cqw 0 #1a0e05, 0 0 .4cqw rgba(0, 0, 0, .95); }
#abp .abp-jt { position: relative; width: 2.9cqw; height: 2.9cqw; display: grid; place-items: center; background: center / contain no-repeat; filter: drop-shadow(0 .15cqw .2cqw rgba(0, 0, 0, .7)); }
#abp .abp-jt.nous { background-image: url(interface/comptoir_jeton_laiton.png?v=8db10f3b); }
#abp .abp-jt.eux { background-image: url(interface/comptoir_jeton_cuivre.png?v=59a4a871); }
#abp .abp-jt b { font-size: 1.25cqw; font-weight: 800; line-height: 1; color: #2a1606; text-shadow: 0 .08cqw 0 rgba(255, 240, 200, .6); }
#abp .abp-force.sans .abp-jt.nous { opacity: .55; }
#abp .abp-chance.garde { color: #5a3a1a; }
#abp .abp-chance.garde.peu { color: #2f5a1e; }
#abp .abp-chance.garde.herisse { color: #8f2020; }
#abp .abp-commandes { display: flex; align-items: center; gap: 1.2cqw; }
#abp .abp-conseil { position: relative; width: 6.4cqw; height: 6.4cqw; cursor: pointer; opacity: .35; pointer-events: none; transition: opacity .25s, transform .15s; transform: rotate(-6deg); }
#abp.placer .abp-conseil { opacity: 1; pointer-events: auto; }
#abp .abp-cire { position: absolute; inset: 0; background: url(interface/comptoir_sceau_repos.png?v=746d2234) center / contain no-repeat; filter: drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .6)); }
#abp .abp-conseil:hover .abp-cire { background-image: url(interface/comptoir_sceau_survol.png?v=72550c88); }
#abp .abp-conseil.presse .abp-cire { background-image: url(interface/comptoir_sceau_presse.png?v=ef9b655a); }
#abp .abp-conseil:hover { transform: rotate(0deg) scale(1.06); }
#abp .abp-conseil.presse { transform: rotate(0deg) scale(.97) translateY(.15cqw); }
#abp .abp-conseil span { position: absolute; left: 50%; bottom: -1.5cqw; translate: -50% 0; rotate: 4deg; padding: .15cqw .7cqw .25cqw; white-space: nowrap;
  font: italic 800 1.15cqw/1.1 Alegreya, Georgia, serif; color: #7a1a10; background: linear-gradient(225deg, transparent 0 .5cqw, rgba(122, 84, 24, .55) .5cqw .6cqw, #f4e6c4 .6cqw);
  box-shadow: .08cqw .15cqw .15cqw rgba(40, 20, 6, .5); }
#abp .abp-dit { position: absolute; left: 50%; bottom: calc(100% + 3.2cqw); transform: translateX(-50%) rotate(-1deg); width: max-content; max-width: 22cqw; padding: .35cqw .8cqw .45cqw;
  font: italic 700 1.2cqw/1.25 Alegreya, Georgia, serif; color: #2a1606; background: #f1e2bf; box-shadow: 0 .2cqw .4cqw rgba(0, 0, 0, .6), inset 0 0 0 .1cqw rgba(122, 84, 24, .5);
  opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 5; }
#abp .abp-dit.vu { opacity: 1; }
#abp .abp-dit.bien { color: #1f4a12; }
#abp .abp-dit.mal { color: #7a1a10; }
#abp .rd-icone.abp-regle-ico { left: 1.2cqw; top: 1.2cqw; width: 3.4cqw; height: 3.4cqw; }
#abp .rd-icone.abp-regle-ico img { inset: 12%; width: 76%; height: 76%; }
