/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#baston { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; background: #0a0705; opacity: 0; transition: opacity .28s; user-select: none; -webkit-user-select: none; cursor: default; }
#baston.vu { opacity: 1; }
#baston .bs-boite { position: relative; width: min(100vw, calc(100vh * 16 / 9)); aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; box-shadow: 0 0 0 2px #8a6a3a, 0 20px 60px #000; }
#baston .bs-toile { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; display: block; }
#baston .bs-nom, #baston .bs-temps { position: absolute; top: 7.4cqw; padding: .35cqw 1.8cqw .45cqw; font-family: var(--titre, serif); font-size: max(15px, 1.7cqw); line-height: 1.1; color: #7a1d10; white-space: nowrap;
  background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0; clip-path: polygon(0 0, 100% 0, calc(100% - .9cqw) 50%, 100% 100%, 0 100%, .9cqw 50%); }
#baston .bs-nom.g { left: 16cqw; }
#baston .bs-nom.d { right: 16cqw; color: #4a2470; }
#baston .bs-temps { top: 1.2cqw; left: 50%; translate: -50% 0; min-width: 3cqw; text-align: center; font-size: max(18px, 2.3cqw); color: #2b1a0e; }
#baston .bs-plaques { position: absolute; bottom: 1.6cqw; display: flex; gap: .8cqw; }
#baston .bs-coups { left: 1.6cqw; }
#baston .bs-milieu { left: 50%; translate: -50% 0; }
#baston .bs-sortie { right: 1.6cqw; bottom: auto; top: 11.4cqw; }   
#baston .bs-plaque { display: flex; align-items: center; gap: .7cqw; padding: .25cqw .9cqw; border-style: solid; border-width: .9cqw; border-image: url(interface/duel_plaque.png?v=b648dfd3) 46 fill / .9cqw stretch;
  color: #fbe7b4; text-shadow: 0 1px 0 #2a1608; font-size: max(14px, 1.25cqw); cursor: pointer; filter: drop-shadow(0 .3cqw .4cqw rgba(0, 0, 0, .6)); transition: translate .1s, filter .2s; }
#baston .bs-plaque:active { translate: 0 .15cqw; }
#baston .bs-plaque b { font-weight: 700; white-space: nowrap; }
#baston .bs-plaque kbd { padding: .1cqw .6cqw; border-radius: .25cqw; font: inherit; font-size: max(13px, 1.05cqw); color: #2b1a0e; text-shadow: none; background: #ead9b0; box-shadow: 0 .15cqw 0 #8a6a3a; }
#baston .bs-plaque.grand { opacity: .55; }
#baston .bs-plaque.grand.pret { opacity: 1; animation: bs-brille .5s ease-in-out infinite alternate; }
@keyframes bs-brille { from { filter: drop-shadow(0 0 .2cqw #ffd24a) brightness(1); } to { filter: drop-shadow(0 0 1cqw #ffd24a) brightness(1.3); } }
#baston.melee .bs-plaque.poing { animation: bs-brille .25s ease-in-out infinite alternate; }
#baston .bs-regle-ico { position: absolute; left: 1.6cqw; top: 1.4cqw; width: 3.2cqw; height: 3.2cqw; cursor: pointer; }
#baston .bs-regle-ico img { width: 100%; height: 100%; }
#baston.bs-grand .bs-nom.d { color: #5a3a1c; }   
#baston .bs-cri { position: absolute; left: 50%; top: 22cqw; translate: -50% -3cqw; opacity: 0; padding: .7cqw 4.4cqw .9cqw; font-family: var(--titre, serif); font-size: max(26px, 4.2cqw); line-height: 1;
  color: #7a1d10; white-space: nowrap; pointer-events: none; background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.6cqw) 50%, 100% 100%, 0 100%, 1.6cqw 50%); filter: drop-shadow(0 .4cqw .6cqw rgba(0, 0, 0, .7)); transition: opacity .25s, translate .35s cubic-bezier(.3, 1.6, .5, 1); }
#baston .bs-cri.vu { opacity: 1; translate: -50% 0; }
