/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#escale .cc-cartes .cs-bosco { position: absolute; left: 0; bottom: 0; width: 46cqw; height: 34cqw; pointer-events: none; opacity: 0; transition: opacity .25s; }
#escale .cc-cartes.ouvert .cs-bosco { opacity: 1; }
#escale .cc-cartes.ferme .cs-bosco { opacity: 0; transition: opacity .2s; }
#escale .cs-buste { position: absolute; left: -.5cqw; bottom: 0; width: 22cqw; height: 22cqw; transform: translateX(-26%); opacity: 0;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
#escale .cc-cartes.ouvert .cs-buste { transform: none; opacity: 1; }
#escale .cs-buste 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%; }
#escale .cs-bosco.fort .cs-buste img { animation: cs-sursaut .32s ease-out .55s 1; }
@keyframes cs-sursaut { 30% { transform: scale(1.04) translateY(-.4cqw); } }
#escale .cs-bosco p { position: absolute; left: 17cqw; bottom: 19.5cqw; width: max-content; max-width: 27cqw; margin: 0; box-sizing: border-box; padding: .3cqw 1cqw .5cqw;
  border-style: solid; border-width: 1.2cqw; border-image: url(interface/kit_bande.png?v=b51fcec8) 110 fill / 1.2cqw stretch; filter: drop-shadow(0 .4cqw .7cqw rgba(0, 0, 0, .6));
  font: italic 600 clamp(17px, 1.6cqw, 30px)/1.28 Alegreya, 'Palatino Linotype', Georgia, serif; color: #f3e6c8; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s ease-out .25s; }
#escale .cc-cartes.ouvert .cs-bosco p { opacity: 1; }
#escale .cs-nom { position: absolute; left: -.4cqw; top: -1.25em; z-index: 2; 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(14px, 1.3cqw, 22px)/1.02 'IM Fell English SC', serif;
  color: #f8e9c2; text-shadow: 0 2px 0 #3a1d08, 0 0 3px rgba(0, 0, 0, .6); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { #escale .cs-buste, #escale .cs-bosco p { transition: opacity .2s; transform: none; } #escale .cs-buste img { animation: none !important; } }
html.sans-ambiance #escale .cs-buste img { animation: none !important; }
