/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html #modal:not(.accueil) > #modal-box:has(> .album-scene), html #modal:not(.accueil) > #modal-box:has(> .ln-scene) { width: 100vw !important; max-width: none; height: 100vh; max-height: none !important;
  padding: 0 !important; overflow: hidden; border: 0 !important; border-image: none !important; border-radius: 0 !important; background: #0b0806 !important; box-shadow: none !important; }
html #modal-box > .album-scene { --k: min(1vw, 1.778vh); position: absolute; inset: 0; padding: 0 !important; margin: 0; border: 0 !important; border-image: none !important; overflow: hidden;
  background: #120a05 !important; color: #2b1a0e; font-family: 'IM Fell English', Georgia, serif; }   
html #modal-box > .album-scene > .illu { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0; object-fit: cover; object-position: 30% 50% !important;
  border: 0 !important; border-image: none !important; border-radius: 0; box-shadow: none; filter: brightness(.8) saturate(.95); }
.album-scene .al-lueur { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 24% 26%, rgba(255, 190, 110, .14), transparent 32%), radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(8, 4, 2, .6) 100%); }
.album-scene .al-livre { position: absolute; left: 50%; top: calc(50% - 1.6 * var(--k)); width: calc(78 * var(--k)); height: calc(78 * var(--k) * 722 / 1200); transform: translate(-50%, -50%);
  container-type: size; filter: drop-shadow(0 calc(1 * var(--k)) calc(1.4 * var(--k)) rgba(0, 0, 0, .6)); }
.album-scene .al-fond { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; user-select: none; }
.album-scene .al-gauche { position: absolute; left: 6.5cqw; top: 5cqh; width: 41cqw; height: 84cqh; }
.album-scene .al-lignee { --h: 25cqh; --n: 1; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-evenly; }
.album-scene .al-ruban { position: absolute; left: calc(9cqw + var(--h) * .4 - 1.2cqw); width: 2.4cqw; top: -8cqh;
  bottom: calc((84cqh - var(--n) * var(--h)) / (var(--n) + 1) + var(--h) / 2);
  background: linear-gradient(90deg, #6e0e0b, #b8261f 30%, #d63a30 48%, #a71f19 70%, #6e0e0b); box-shadow: 0 .2cqw .4cqw rgba(60, 10, 5, .35); }
.album-scene .al-lignee.seul .al-ruban { bottom: calc(50% + var(--h) / 2 - .5cqh); }
.album-scene .al-med { position: relative; display: flex; align-items: center; gap: 1.8cqw; padding-left: 9cqw; height: var(--h); }
.album-scene .al-ovale { position: relative; flex: none; box-sizing: border-box; width: calc(var(--h) * .8); height: var(--h); border-radius: 50%; padding: calc(var(--h) * .068);
  background: conic-gradient(from 200deg, #7a4a12, #f6e08a, #b8862b, #fff3c0, #8a5a1a, #e9c766, #7a4a12);
  box-shadow: 0 .35cqw .7cqw rgba(40, 20, 5, .5), inset 0 0 0 .12cqw rgba(255, 244, 200, .7), inset 0 0 0 .3cqw rgba(120, 80, 20, .35); }
.album-scene .al-ovale > img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #1c2338; box-shadow: inset 0 0 0 2px rgba(70, 40, 10, .8); }
.album-scene .al-med.mort .al-ovale > img { filter: grayscale(1) sepia(.85) brightness(.92) contrast(.95); }
.album-scene .al-med.mort .al-ovale { filter: saturate(.6); }
.album-scene .al-nom { display: flex; flex-direction: column; gap: .2cqw; font-size: min(2.2cqw, calc(var(--h) * .15)); line-height: 1.1; color: #2b1a0e; text-align: center; min-width: 0; }
.album-scene .al-nom b { font-weight: 400; font-size: 1.04em; overflow-wrap: anywhere; }
.album-scene .al-nom small { font-size: .82em; color: #4a3218; letter-spacing: .02em; }
.album-scene .al-med.mort .al-nom b { color: #4a3a2a; }
.album-scene .al-droite { position: absolute; left: 53.8cqw; top: 5cqh; width: 39cqw; height: 70cqh; }
.album-scene .al-vig { position: absolute; margin: 0; display: flex; flex-direction: column; align-items: center; transform: rotate(var(--a, 0deg)); transform-origin: 50% 50%; }
.album-scene .al-photo { position: relative; display: block; box-sizing: border-box; width: 100%; aspect-ratio: var(--ar, 1.45); padding: .5cqw; background: #f3ead6;
  box-shadow: 0 .25cqw .55cqw rgba(30, 15, 5, .45), inset 0 0 0 .08cqw rgba(120, 90, 50, .35); }
.album-scene .al-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; background: #2a2018; }
.album-scene .al-img.vide { visibility: hidden; }
.album-scene .al-coin { position: absolute; width: 13%; aspect-ratio: 1; max-width: 2.6cqw; background: linear-gradient(135deg, #6a4524, #3e2610); filter: drop-shadow(0 .05cqw .1cqw rgba(0, 0, 0, .5)); }
.album-scene .al-coin.c1 { left: -.25cqw; top: -.25cqw; clip-path: polygon(0 0, 100% 0, 0 100%); }
.album-scene .al-coin.c2 { right: -.25cqw; top: -.25cqw; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.album-scene .al-coin.c3 { left: -.25cqw; bottom: -.25cqw; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.album-scene .al-coin.c4 { right: -.25cqw; bottom: -.25cqw; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.album-scene .al-leg { width: 104%; margin-top: .55cqw; font-style: italic; font-size: 1.3cqw; line-height: 1.15; text-align: center; color: #3a2410; text-wrap: balance; }
.album-scene .al-banniere { position: absolute; left: 54.6cqw; width: 27cqw; top: 76.5cqh; height: 12.5cqh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2cqh;
  text-align: center; background: linear-gradient(#f1e5c8, #ddc9a0); box-shadow: 0 .25cqw .5cqw rgba(40, 20, 5, .4); color: #2b1a0e; }
.album-scene .al-banniere::before, .album-scene .al-banniere::after { content: ''; position: absolute; top: 18%; height: 102%; width: 4cqw; background: #cdb88e; z-index: -1; }
.album-scene .al-banniere::before { left: -3.4cqw; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.album-scene .al-banniere::after { right: -3.4cqw; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.album-scene .al-banniere b { font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-weight: 400; font-size: 1.75cqw; line-height: 1.05; letter-spacing: .03em; }
.album-scene .al-banniere span { font-style: italic; font-size: 1.3cqw; line-height: 1.12; padding: 0 1cqw; text-wrap: balance; }
.album-scene .al-sceaux { position: absolute; left: 82.5cqw; top: 78.5cqh; display: flex; align-items: center; z-index: 3; }
.album-scene .al-sceau, .ln-scene .ln-sceau { all: unset; position: relative; z-index: 2; cursor: pointer; display: grid; place-items: center; transition: transform .15s ease, filter .15s ease; }
.album-scene .al-sceau { width: 10cqw; aspect-ratio: 1; filter: drop-shadow(0 .5cqw .6cqw rgba(0, 0, 0, .6)); }
.album-scene .al-sceau > img, .ln-scene .ln-sceau > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.album-scene .al-sceau > span, .ln-scene .ln-sceau > span { position: relative; font-family: var(--titre); font-size: 2.9cqw; line-height: 1; color: #f6dc8c; text-shadow: 0 .2cqw 0 #3a0806, 0 0 .6cqw rgba(0, 0, 0, .5); }
.album-scene .al-etiq, .ln-scene .ln-etiq { all: unset; position: relative; z-index: 1; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; justify-content: center; aspect-ratio: 320 / 131;
  background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat; color: #2b1a0e; white-space: nowrap; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .15s ease, transform .15s ease; }
.album-scene .al-etiq { margin-left: -2.2cqw; width: 15cqw; padding: 0 .5cqw 0 7.2cqw; font-family: 'IM Fell English', Georgia, serif; font-size: 1.65cqw; transform: rotate(-3deg); }
.album-scene .al-sceau:hover, .album-scene .al-sceau:focus-visible, .ln-scene .ln-sceau:hover, .ln-scene .ln-sceau:focus-visible { transform: rotate(-6deg) scale(1.05); }
.album-scene .al-sceau:active, .ln-scene .ln-sceau:active { transform: scale(.94); }
.album-scene .al-etiq:hover, .album-scene .al-etiq:focus-visible, .ln-scene .ln-etiq:hover, .ln-scene .ln-etiq:focus-visible { filter: drop-shadow(0 0 .8cqw rgba(255, 190, 110, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
html #modal-box > .ln-scene { --k: min(1vw, 1.778vh); position: absolute; inset: 0; padding: 0 !important; margin: 0; border: 0 !important; border-image: none !important; overflow: hidden;
  background: #07080d !important; color: #efe3c8; font-family: Alegreya, Georgia, serif; }
.ln-scene .ln-fond { position: absolute; left: 50%; top: 50%; width: max(100vw, 179.1vh); aspect-ratio: 1920 / 1072; transform: translate(-50%, -50%); }
html #modal-box .ln-scene .ln-fond > .illu { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0; object-fit: cover; object-position: 50% 50% !important;
  border: 0 !important; border-image: none !important; border-radius: 0; box-shadow: none; }
.ln-scene .ln-portrait { position: absolute; left: 67.1%; top: 11.95%; width: 17.7%; height: 40.3%; overflow: hidden; background: #2a2a2e;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 39% 100%, 39% 77%, 0 87.6%); }
.ln-scene .ln-portrait > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.62) saturate(.55) brightness(.64) contrast(1.12); }
.ln-scene .ln-portrait::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(ellipse at 50% 36%, rgba(255, 240, 210, 0) 30%, rgba(30, 20, 10, .7) 100%), linear-gradient(rgba(140, 110, 60, .28), rgba(50, 40, 30, .35)); }
.ln-scene .ln-voile { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(5, 6, 10, .35), transparent 16%, transparent 50%, rgba(5, 6, 10, .62) 66%, rgba(5, 6, 10, .9) 100%); }
.ln-scene.repli .ln-fond > .illu { filter: brightness(.36) saturate(.4) hue-rotate(200deg); }
.ln-scene.repli .ln-portrait { left: 64%; top: 7%; width: 18%; height: 46%; clip-path: none; box-sizing: border-box; border: calc(1 * var(--k)) solid #7a6230; outline: calc(.3 * var(--k)) solid #3a2c14;
  box-shadow: 0 calc(.8 * var(--k)) calc(1.6 * var(--k)) rgba(0, 0, 0, .7); transform: rotate(1.5deg); }
.ln-scene .ln-succes { position: absolute; left: 0; top: calc(3 * var(--k)); display: flex; align-items: center; gap: calc(.9 * var(--k)); padding: calc(.5 * var(--k)) calc(3.6 * var(--k)) calc(.5 * var(--k)) calc(1.2 * var(--k));
  background: linear-gradient(#f1f2f4, #b9bec6 55%, #9097a1); color: #1d1f24; font-size: calc(1.9 * var(--k)); font-weight: 600; clip-path: polygon(0 0, 100% 0, 93% 50%, 100% 100%, 0 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.ln-scene .ln-succes > img { width: calc(4.4 * var(--k)); height: calc(4.4 * var(--k)); border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.ln-scene .ln-bas { position: absolute; left: 14%; right: 14%; bottom: calc(3 * var(--k)); text-align: center; }
html #modal-box .ln-scene h2.ln-titre { margin: 0; padding: 0; border: 0; border-image: none; background: none; font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-weight: 500;
  font-size: calc(5.8 * var(--k)); line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #f3e7cc; text-shadow: 0 .3vh .6vh #000, 0 0 2vh rgba(0, 0, 0, .7); }
.ln-scene .ln-proverbe { margin: calc(.9 * var(--k)) auto calc(1.3 * var(--k)); max-width: 62em; font-style: italic; font-size: calc(2.15 * var(--k)); line-height: 1.25; color: #f1e6cc; text-shadow: 0 2px 4px #000; }
.ln-scene .ln-epitaphe { list-style: none; margin: 0; padding: 0; font-variant: small-caps; font-size: calc(1.95 * var(--k)); line-height: 1.38; letter-spacing: .05em; color: #c9bc9f; text-shadow: 0 2px 4px #000; }
.ln-scene .ln-epitaphe li { margin: 0; padding: 0; list-style: none; }
.ln-scene .ln-epitaphe li::before { content: none; }
.ln-scene .ln-sceaux { position: absolute; right: calc(2.6 * var(--k)); bottom: calc(3.2 * var(--k)); display: flex; align-items: center; z-index: 3; }
.ln-scene .ln-sceau { width: calc(9.4 * var(--k)); aspect-ratio: 1; filter: drop-shadow(0 calc(.4 * var(--k)) calc(.5 * var(--k)) rgba(0, 0, 0, .7)); }
.ln-scene .ln-sceau > img { filter: grayscale(1) brightness(.34) contrast(1.35); }
.ln-scene .ln-sceau > span { font-size: calc(2.7 * var(--k)); color: #e8dcc0; text-shadow: 0 2px 0 #000, 0 0 6px rgba(0, 0, 0, .6); }
.ln-scene .ln-etiq { margin-left: calc(-2.1 * var(--k)); width: calc(21 * var(--k)); padding: 0 calc(.6 * var(--k)) 0 calc(9.2 * var(--k)); font-family: 'IM Fell English', Georgia, serif; font-size: calc(1.4 * var(--k)); transform: rotate(-3deg); }
.ln-scene .ln-chronique { all: unset; position: absolute; left: calc(2.4 * var(--k)); bottom: calc(3.4 * var(--k)); z-index: 3; cursor: pointer; padding: calc(.5 * var(--k)) calc(1.2 * var(--k));
  font-size: calc(1.5 * var(--k)); color: #d8cbb0; border-radius: 4px; background: rgba(10, 10, 16, .55); box-shadow: inset 0 0 0 1px rgba(216, 203, 176, .35); }
.ln-scene .ln-chronique:hover, .ln-scene .ln-chronique:focus-visible { color: #fff2d6; box-shadow: inset 0 0 0 1px rgba(240, 210, 150, .7); }
html #modal-box > .ln-scene > .illu { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0; object-fit: cover; object-position: 30% 50% !important;
  border: 0 !important; border-image: none !important; border-radius: 0; box-shadow: none; filter: brightness(.6) saturate(.9); }
.ln-scene .ln-lueur { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 17% 30%, rgba(255, 190, 110, .2), transparent 30%), radial-gradient(ellipse at 50% 50%, transparent 48%, rgba(8, 4, 2, .7) 100%); }
.ln-scene .ln-voile { display: none; }
.ln-scene .ln-fond { left: 53%; top: calc(3.4 * var(--k)); width: calc(46 * var(--k)); transform: translateX(-50%) rotate(-1.2deg); z-index: 1;
  filter: brightness(.92) drop-shadow(0 calc(1.2 * var(--k)) calc(1.4 * var(--k)) rgba(0, 0, 0, .7)); }
.ln-scene .ln-fond::after { content: ''; position: absolute; inset: calc(-1.7 * var(--k)); z-index: 2; pointer-events: none; box-sizing: border-box;
  border: calc(2.3 * var(--k)) solid transparent; border-image: url(interface/cadre_dore_9.png?v=3c410436) 142 147 142 147 / calc(2.3 * var(--k)) stretch; }
.ln-scene .ln-succes { z-index: 3; }
.ln-scene .ln-bas { left: 48%; right: auto; bottom: calc(2.2 * var(--k)); width: calc(45 * var(--k)); box-sizing: border-box; z-index: 2; transform: translateX(-50%) rotate(.5deg);
  padding: calc(2.4 * var(--k)) calc(4.6 * var(--k)) calc(2.6 * var(--k)); background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat;
  filter: drop-shadow(0 calc(.6 * var(--k)) calc(.8 * var(--k)) rgba(0, 0, 0, .6)); }
html #modal-box .ln-scene h2.ln-titre { font-family: 'IM Fell English', Georgia, serif; font-weight: 400; font-size: calc(3.7 * var(--k)); letter-spacing: .04em; white-space: nowrap; color: #1c0f08; text-shadow: none; }
.ln-scene .ln-proverbe { margin: calc(.5 * var(--k)) auto calc(.8 * var(--k)); font-family: 'IM Fell English', Georgia, serif; font-size: calc(1.62 * var(--k)); line-height: 1.22; color: #3a2614; text-shadow: none; text-wrap: balance; }
.ln-scene .ln-epitaphe { font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-variant: normal; font-size: calc(1.55 * var(--k)); line-height: 1.32; letter-spacing: .04em; color: #5a1a10; text-shadow: none; }
.ln-scene .ln-sceaux { right: calc(2.2 * var(--k)); bottom: calc(3 * var(--k)); }
.ln-scene .ln-sceau { width: calc(8.2 * var(--k)); }
.ln-scene .ln-sceau > span { font-size: calc(2.4 * var(--k)); }
.ln-scene .ln-chronique { left: calc(2.2 * var(--k)); bottom: calc(3.4 * var(--k)); box-sizing: border-box; width: calc(20.5 * var(--k)); aspect-ratio: 320 / 131; display: flex; align-items: center; justify-content: center;
  padding: 0 calc(.6 * var(--k)) 0 calc(8 * var(--k)); border-radius: 0; box-shadow: none; background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat;
  font-family: 'IM Fell English', Georgia, serif; font-size: calc(1.35 * var(--k)); color: #2b1a0e; white-space: nowrap; transform: rotate(2.5deg); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .15s ease, transform .15s ease; }
.ln-scene .ln-chronique:hover, .ln-scene .ln-chronique:focus-visible { color: #6a1a10; box-shadow: none; transform: rotate(0); filter: drop-shadow(0 0 calc(.8 * var(--k)) rgba(255, 190, 110, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.ln-scene .ln-chronique .emo { height: 1.3em; width: auto; vertical-align: -.25em; margin-right: .3em; }
@media (prefers-reduced-motion: reduce) { .album-scene .al-sceau, .ln-scene .ln-sceau { transition: none; } }
