/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-bande > .sc-texte { align-self: end; justify-self: start; box-sizing: border-box; width: fit-content;
  max-width: 100%; margin: 0 0 calc(.4 * var(--k)); padding: calc(1.7 * var(--k)) calc(2.9 * var(--k)) calc(2 * var(--k)) calc(2.7 * var(--k));
  background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; color: #2b1a0e; rotate: -.6deg;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)) drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte > .texte { max-width: calc(56 * var(--k)); }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte :is(.sc-narration, .sc-narration.grande, .sc-replique, .sc-bloc, .sc-dit) { color: #2b1a0e; text-shadow: none; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte .sc-narration.grande.resolution { font-size: max(23px, calc(1.8 * var(--k))); line-height: 1.25; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte .sc-replique { font-size: max(24px, calc(1.85 * var(--k))); }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte .qui { color: #7a1a10; text-shadow: none; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte :is(small, i, em) { color: #5a3a1e; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte b { color: #4a1a0c; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte .sc-suite { color: #5a3a1e; text-shadow: none; }
html:not(.mobile) #modal-box > .scene-d:is(.fn-recit, .bu-scene):not(.doc):not(.prologue-d) .sc-image::after {
  background: radial-gradient(ellipse 78% 74% at 50% 46%, transparent 58%, rgba(9, 10, 18, .2) 80%, rgba(9, 10, 18, .42) 100%); }
html:not(.mobile) #modal-box > .scene-d .sc-doc.fn-entre { animation: fn-feuille .46s cubic-bezier(.2, .75, .25, 1.08) both; }
html:not(.mobile) #modal-box > .scene-d.fn-recit .sc-texte.fn-entre { animation: fn-recit .4s cubic-bezier(.2, .75, .25, 1.08) both; }
@keyframes fn-feuille {
  0% { translate: 0 26vh; rotate: -3.4deg; opacity: 0; }
  35% { opacity: 1; }
  100% { translate: 0 0; rotate: 0deg; opacity: 1; }
}
@keyframes fn-recit {
  0% { translate: 0 14vh; rotate: -3deg; opacity: 0; }
  40% { opacity: 1; }
  100% { translate: 0 0; rotate: -.6deg; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { html #modal-box > .scene-d :is(.sc-doc, .sc-texte).fn-entre { animation: none; } }
html:not(.mobile) #toast:not(.parle) { width: max-content; max-width: min(640px, 80vw); box-sizing: border-box; padding: 11px 30px 13px; border: 0; border-radius: 0;
  box-shadow: none; text-align: center; background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; color: #2b1a0e;
  font: italic 600 16px/1.3 Alegreya, 'Palatino Linotype', Georgia, serif; letter-spacing: 0; filter: drop-shadow(0 4px 4px rgba(20, 10, 2, .6)); }
html:not(.mobile) #toast:not(.cache) { animation: fn-avis .22s cubic-bezier(.25, .8, .3, 1.05); }
@keyframes fn-avis { from { opacity: 0; scale: .82 1; } }
@media (prefers-reduced-motion: reduce) { html #toast:not(.cache) { animation: none; } }
html:not(.mobile):has(#modal:not(.cache) > #modal-box > :is(.scene-d, .bilan-b)) #toast:not(.parle) { bottom: auto; top: 11vh; }
