/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.vab-peint.lvt-ouvert .vab-scene { filter: brightness(.5) blur(1px); }
.vab-peint.lvt-ouvert #vab-corps, .vab-peint.lvt-ouvert .vab-qui, .vab-peint.lvt-ouvert #vab-message { visibility: hidden; }
.vab-peint > .lvt { position: absolute; z-index: 8; left: 50%; top: calc(9.5cqh + var(--sw) / 4 + var(--ph) / 2); width: min(calc(var(--sw) * .86), 128cqh); aspect-ratio: 2048 / 1143;
  translate: -50% -50%; container-type: inline-size; color: #3a2210; font-family: 'IM Fell English', Alegreya, Georgia, serif;
  animation: lvt-pose .25s ease-out both; }
@keyframes lvt-pose { from { opacity: 0; translate: -50% -47%; } to { opacity: 1; translate: -50% -50%; } }
.lvt .lvt-fond { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(4.8% 8.6% 6.8% 8.6% round 6px); image-rendering: pixelated; pointer-events: none;
  filter: drop-shadow(0 1.2cqw 1.6cqw rgba(0, 0, 0, .65)); }
.lvt .lvt-page { position: absolute; top: 9.5%; height: 72%; width: 24.6%; overflow: hidden; font-size: 1.5cqw; line-height: 1.3; display: flex; flex-direction: column; }
.lvt .lvt-g { left: 18.6%; }
.lvt .lvt-d { left: 56.6%; }
.lvt .lvt-page.tourne { animation: lvt-tourne .25s ease-out; }
@keyframes lvt-tourne { from { opacity: .25; translate: .6cqw 0; } to { opacity: 1; translate: 0 0; } }
.lvt p { margin: 0 0 .8cqw; }
.lvt .lvt-titre { margin: .2cqw 0 .9cqw; font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-weight: 400; font-size: 2.4cqw; line-height: 1.05; color: #6b1c0c; text-align: center; }
.lvt .lvt-sous { margin: 0 0 1cqw; font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-weight: 400; font-size: 1.85cqw; color: #6b2a10; text-align: center; }
.lvt .lvt-lettrine::first-letter { float: left; font-size: 3.1em; line-height: .82; margin: .06em .08em 0 0; color: #8e1612; font-family: 'IM Fell English SC', Georgia, serif; }
.lvt .lvt-note { font-style: italic; color: #5a3a1c; font-size: 1.35cqw; }
.lvt .lvt-haut { margin-top: 2.6cqw; }
.lvt .lvt-gouttes { margin: 0 .3cqw 0 0; gap: .3cqw; }
.lvt .lvt-gouttes i { width: 1cqw; height: 1cqw; }
.lvt i { font-style: italic; }
.lvt .lvt-planche { flex: 0 1 auto; display: flex; justify-content: center; min-height: 0; margin-bottom: .6cqw; }
.lvt .lvt-grav { width: auto; height: 17cqw; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lvt .lvt-remede, .lvt .lvt-plat { display: flex; justify-content: center; margin: 1.6cqw 0 1cqw; }
.lvt .lvt-sprite { width: 3.2cqw; height: 3.2cqw; object-fit: contain; flex: none; }
.lvt .lvt-sprite-grand { width: 12cqw; height: 12cqw; filter: drop-shadow(0 .3cqw .3cqw rgba(60, 30, 10, .35)); }
.lvt .lvt-remede { cursor: help; }
.lvt .lvt-trahit, .lvt .lvt-soin { text-align: center; }
.lvt .secret .lvt-sprite, .lvt .lvt-plat.secret img { filter: grayscale(1) brightness(.35) sepia(.6) opacity(.35); }
.lvt .lvt-table { display: grid; grid-template-columns: 1fr 1fr; gap: .8cqw 1.2cqw; }
.lvt .lvt-vignette { display: flex; flex-direction: column; align-items: center; gap: .2cqw; padding: .3cqw; border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
  border-radius: .6cqw; transition: background .25s, translate .25s; }
.lvt .lvt-vignette .lvt-grav { height: 7.2cqw; }
.lvt .lvt-plats .lvt-vignette .lvt-sprite { width: 5.6cqw; height: 5.6cqw; }
.lvt .lvt-vignette small { font-size: 1.25cqw; line-height: 1.1; text-align: center; }
.lvt .lvt-vignette:hover, .lvt .lvt-vignette:focus-visible { background: rgba(160, 110, 50, .16); translate: 0 -.15cqw; outline: 0; }
.lvt .lvt-vignette:hover img, .lvt .lvt-vignette:focus-visible img { filter: drop-shadow(1px 0 0 #c99a3a) drop-shadow(-1px 0 0 #c99a3a) drop-shadow(0 1px 0 #c99a3a) drop-shadow(0 -1px 0 #c99a3a); }
.lvt .lvt-ingr { display: flex; flex-direction: column; gap: 1.3cqw; margin-top: .6cqw; }
.lvt .lvt-ingr-l { display: grid; grid-template-columns: 4cqw 1fr; grid-template-rows: auto auto; column-gap: .8cqw; align-items: center; }
.lvt .lvt-ingr-l .lvt-sprite { grid-row: 1 / 3; width: 4cqw; height: 4cqw; }
.lvt .lvt-ingr-nom { font-size: 1.55cqw; }
.lvt .lvt-ingr-j { display: flex; gap: .5cqw; flex-wrap: wrap; }
.lvt .lvt-jetons { display: inline-flex; gap: .08cqw; align-items: center; padding: .1cqw .3cqw; border-radius: 1cqw; background: rgba(150, 100, 40, .12); cursor: help; }
.lvt .lvt-jetons img { width: 1.9cqw; height: 1.9cqw; object-fit: contain; }
.lvt .lvt-jetons.vide { opacity: .45; }
.lvt .lvt-jetons.vide i { font-size: 1.1cqw; }
.lvt .lvt-creux { width: 4cqw; height: 4cqw; grid-row: 1 / 3; border-radius: 50%; border: .15cqw dashed rgba(90, 58, 28, .45); }
.lvt .lvt-vivres { display: flex; flex-direction: column; gap: .55cqw; }
.lvt .lvt-vivre { display: grid; grid-template-columns: 3.2cqw 1fr auto; align-items: center; column-gap: .6cqw; cursor: help; }
.lvt .lvt-vivre small { font-size: 1.3cqw; line-height: 1.1; }
.lvt .lvt-vivre .lvt-jetons img { width: 1.35cqw; height: 1.35cqw; }
.lvt .lvt-vivre .lvt-ingr-j { gap: .25cqw; flex-wrap: nowrap; }
.lvt .lvt-vivre .lvt-jetons { padding: .05cqw .2cqw; }
.lvt .lvt-tourne { position: absolute; top: 80.32%; width: 3.32%; height: 6.47%; border: 0; padding: 0; cursor: pointer; font-size: 0;
  background: url(interface/livre_fond.webp?v=4509e3ae) 86.57% 85.87% / 3011.8% auto no-repeat; image-rendering: pixelated; transition: translate .2s ease-out, filter .2s ease-out; }
.lvt .lvt-suiv { left: 83.69%; }
.lvt .lvt-prec { left: 12.94%; transform: scaleX(-1); }
.lvt .lvt-tourne:hover:not(:disabled), .lvt .lvt-tourne:focus-visible:not(:disabled) { translate: 0 -2px; outline: none; filter: brightness(1.08) drop-shadow(0 3px 2px rgba(40, 20, 5, .45)); }
.lvt .lvt-tourne:active:not(:disabled) { translate: 0 0; filter: brightness(.95); }
.lvt .lvt-prec:disabled { visibility: hidden; }
.lvt .lvt-suiv:disabled { cursor: default; }
.lvt .lvt-signets { position: absolute; left: 89.2%; top: 9%; width: 8%; display: flex; flex-direction: column; gap: .35cqw; }
.lvt .lvt-signet { width: 100%; margin-left: -35%; aspect-ratio: 1107 / 190; border: 0; padding: 0; background: none center / 100% 100% no-repeat; cursor: pointer;
  filter: brightness(.62) saturate(.7); transition: filter .25s, translate .25s; }
.lvt .lvt-signet:hover, .lvt .lvt-signet:focus-visible { filter: brightness(.9); translate: .4cqw 0; outline: 0; }
.lvt .lvt-signet.actif { filter: none; translate: .8cqw 0; }
.lvt .lvt-folio { position: absolute; top: 84.2%; font-size: 1.15cqw; color: #7a5a34; }
.lvt .lvt-folio-g { left: 30.5%; } .lvt .lvt-folio-d { left: 68.5%; }
html #modal-box .vab-peint .lvt .lvt-fermer { position: absolute; left: 50%; top: 91.5%; translate: -50% 0; z-index: 2; }
.vab-peint .lvt .lvt-fermer .ilo-cire { width: 4.4cqw; height: 4.4cqw; }
.vab-peint .lvt .lvt-fermer .ilo-etiq { width: 18cqw; padding-left: 7cqw; font-size: 1.3cqw; }
@media (prefers-reduced-motion: reduce) { .vab-peint > .lvt, .lvt .lvt-page.tourne, .lvt .lvt-tourne, .lvt .lvt-signet, .lvt .lvt-vignette { animation: none; transition: none; } }
html.sans-ambiance .vab-peint > .lvt, html.sans-ambiance .lvt .lvt-page.tourne { animation: none; }
.vab-ico { width: 1.45em; height: 1.45em; object-fit: contain; vertical-align: -.35em; }
