/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#plume.pl { position: fixed; inset: 0; z-index: 292; opacity: 0; transition: opacity .3s; user-select: none; -webkit-user-select: none; overflow: hidden;
  --encre: #2b1a0e; --sang: #8a3418; --or: #f3e3bf; --pl-h: 93vh; --pl-w: calc(var(--pl-h) * 640 / 878); }
#plume.pl.ouverte { opacity: 1; }
#plume.pl.partie { opacity: 0; pointer-events: none; }
.pl .cache { display: none !important; }
.pl .pl-bois { position: absolute; inset: 0; background: #3a2614 url(interface/ui_bois_fond.png?v=5dc66c82) 0 0 / 320px repeat; image-rendering: pixelated; }
.pl .pl-bois::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 45%, rgba(255, 196, 110, .10), rgba(12, 6, 2, .55) 75%); }
.pl .pl-feuille { position: absolute; left: 3vw; top: 3.5vh; height: var(--pl-h); width: var(--pl-w); transform: rotate(-.8deg); transform-origin: 50% 60%;
  background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat;
  transition: transform .5s cubic-bezier(.5, 0, .3, 1), opacity .5s; }
.pl .pl-ombre { position: absolute; left: 3vw; top: 3.5vh; height: var(--pl-h); width: var(--pl-w); transform: rotate(-.8deg) translate(.7vh, 1.2vh); transform-origin: 50% 60%;
  background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; filter: brightness(0); opacity: .45; transition: opacity .5s; }
.pl.pliee .pl-ombre { opacity: 0; }
.pl .pl-ecrit { position: absolute; left: 12%; right: 10.5%; top: 8.5%; bottom: 8%; overflow: hidden; color: var(--encre);
  font: italic 400 clamp(14px, 2.45vh, 28px) / 1.34 'IM Fell English', Georgia, serif; }
.pl .pl-tete { text-align: right; font-size: .78em; opacity: .8; margin: 0 0 1.1em; font-style: normal; }
.pl .pl-corps p { margin: 0 0 .6em; }
.pl .pl-corps p.pl-adresse { margin-bottom: .8em; }
.pl .pl-corps p.pl-coeur, .pl .pl-corps p.pl-promesse, .pl .pl-corps p.pl-conseil { text-indent: 1.6em; }   
.pl .pl-corps p.pl-fin { margin-left: 28%; margin-top: .9em; }
.pl .pl-corps p.pl-sign { text-align: right; font-size: 1.5em; margin: .2em 4% 0 0; letter-spacing: .02em; transform: rotate(-3deg); }
.pl .pl-corps p.pl-sign::after { content: ''; display: block; margin: -.1em 0 0 auto; width: 3.4em; height: .32em; border-bottom: 2px solid var(--encre); border-radius: 0 0 60% 40%; opacity: .7; }
.pl .pl-corps p.pl-fantome { color: #5d4630; opacity: .38; }
.pl .pl-corps p.pl-fantome:empty { display: none; }
.pl .pl-mot { color: transparent; transition: color .14s; }
.pl .pl-mot.vu { color: inherit; }
.pl .pl-corps p.rature { text-decoration: line-through; text-decoration-color: var(--encre); text-decoration-thickness: 2px; animation: pl-rature .38s ease-in forwards; }
@keyframes pl-rature { 50% { opacity: .9; } 100% { opacity: 0; transform: translateX(-.6em); } }
.pl .pl-plume { position: absolute; left: 0; top: 0; height: 7.5vh; width: auto; margin: -7.2vh 0 0 -.3vh; pointer-events: none; image-rendering: pixelated;
  transition: transform .09s linear; filter: drop-shadow(.4vh .6vh .3vh rgba(0, 0, 0, .35)); }
.pl.fini .pl-plume { transition: transform .5s ease-out; }
.pl.pliee .pl-feuille { transform: rotate(-.8deg) translateY(4vh) scale(.92, .08); opacity: 0; }
.pl .pl-cote { position: absolute; left: calc(6vw + var(--pl-w)); right: 2.4vw; top: 3vh; bottom: 3vh; max-width: 980px; display: flex; flex-direction: column; gap: 1.5vh; }
.pl .pl-dest { display: flex; align-items: center; gap: 1.6vh; }
.pl .pl-med { position: relative; flex: 0 0 auto; height: 12vh; aspect-ratio: 678 / 700; filter: drop-shadow(0 .5vh 0 rgba(0, 0, 0, .35)); }
.pl .pl-med > img:not(.pl-cadre), .pl .pl-med > .emoji-seul { position: absolute; left: 19%; top: 9%; width: 62%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #2a1a0e; }
.pl .pl-med .pl-cadre { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl .pl-qui { display: flex; flex-direction: column; gap: .3vh; color: var(--or); text-shadow: 0 2px 0 #2a1608; }
.pl .pl-qui b { font-family: var(--titre, serif); font-weight: 400; font-size: 3.4vh; line-height: 1.05; }
.pl .pl-qui small { font: italic 2vh/1.2 'IM Fell English', Georgia, serif; opacity: .9; }
.pl .pl-prix { display: flex; align-items: center; gap: .6vh; font: 1.9vh/1.2 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: #e8cf96; }
.pl .pl-prix img { height: 2.6vh; width: auto; }
.pl .pl-savoir { position: relative; padding: 1vh 1.8vh 1.1vh; background: rgba(20, 10, 4, .42); border-left: .45vh solid #9a6a2c; color: #ead8b2;
  font: italic 2vh/1.3 'IM Fell English', Georgia, serif; transform: rotate(.3deg); }
.pl .pl-savoir i { display: block; font: normal 1.7vh/1.2 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: #d4a65a; letter-spacing: .04em; margin-bottom: .3vh; }
.pl .pl-savoir span { display: block; }
.pl .pl-temps { display: flex; align-items: baseline; gap: 1.6vh; color: var(--or); text-shadow: 0 2px 0 #2a1608; margin-top: .6vh; }
.pl .pl-temps b { font-family: var(--titre, serif); font-weight: 400; font-size: 3.2vh; }
.pl .pl-chiffres { display: flex; gap: .9vh; font: 2.1vh/1 'IM Fell English SC', 'IM Fell English', Georgia, serif; }
.pl .pl-chiffres i { font-style: normal; opacity: .35; }
.pl .pl-chiffres i.fait { opacity: .75; color: #d4a65a; }
.pl .pl-chiffres i.ici { opacity: 1; color: #ffe2a0; border-bottom: .3vh solid #d4a65a; }
.pl .pl-billets { display: flex; flex-direction: column; gap: 1.15vh; flex: 1 1 auto; min-height: 0; justify-content: flex-start; }
.pl .pl-billet { position: relative; display: block; width: 100%; text-align: left; margin: 0; border: 0; cursor: pointer; outline: none; color: var(--encre);
  padding: 1.25vh 2.6vh 1vh 4.6vh; background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat;
  font: italic 400 2.12vh/1.3 'IM Fell English', Georgia, serif; transform: rotate(var(--r, 0deg)) translateX(var(--dx, 0px));
  transition: transform .14s ease-out, filter .14s, opacity .2s;
  animation: pl-billet .32s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: var(--d, 0ms); }
@keyframes pl-billet { from { transform: translateY(-2vh) rotate(calc(var(--r, 0deg) * 4)); } }
.pl .pl-billet:hover, .pl .pl-billet:focus-visible, .pl .pl-billet.survol { transform: rotate(0deg) translateY(-.35vh) scale(1.012); z-index: 2;
  filter: drop-shadow(0 0 .45vh rgba(255, 214, 110, .95)) drop-shadow(.3vh .6vh 0 rgba(0, 0, 0, .35)); }
.pl .pl-billet:active { transform: rotate(var(--r, 0deg)) translateY(.25vh) scale(.985); filter: brightness(.93) drop-shadow(.15vh .2vh 0 rgba(0, 0, 0, .4)); }
.pl .pl-billet.pris { transform: translateX(-3vh) scale(1.02); filter: drop-shadow(0 0 .7vh rgba(255, 214, 110, 1)); }
.pl .pl-billet.tombe { opacity: 0; transform: translateY(1.5vh) rotate(var(--r, 0deg)); }
.pl .pl-billet[disabled] { cursor: default; }
.pl .pl-num { position: absolute; left: 1.7vh; top: 1.05vh; font: normal 2.2vh/1 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: var(--sang); }
.pl .pl-ton { display: block; text-align: right; margin-top: .2vh; font: normal 1.65vh/1 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: var(--sang); letter-spacing: .05em; opacity: .85; }
.pl .pl-plaques { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.4vh 2vh; margin-top: auto; }
.pl .pl-plaque { position: relative; padding: .15em 1em; border: 11px solid transparent; border-image: url(interface/ui_bouton.png?v=6682903d) 15 fill stretch; background: none;
  font-family: var(--titre, serif); font-size: 2.6vh; color: #f6e7c4; text-shadow: 0 2px 0 #2a1608; cursor: pointer; outline: none;
  transform: rotate(-1deg); transition: transform .12s, filter .15s, opacity .2s; }
.pl .pl-plaque:nth-child(2) { transform: rotate(.8deg); }
.pl .pl-plaque:not([disabled]):hover, .pl .pl-plaque:not([disabled]):focus-visible { transform: rotate(0deg) translateY(-3px); filter: brightness(1.14) drop-shadow(0 0 4px rgba(255, 214, 110, .9)); }
.pl .pl-plaque.presse:not([disabled]) { border-image-source: url(interface/ui_bouton_presse.png?v=8f97ce3e); transform: rotate(-1deg) translateY(2px); filter: brightness(.95); }
.pl .pl-plaque[disabled] { cursor: default; filter: grayscale(.85) brightness(.6); opacity: .55; }
.pl .pl-plier { font-size: 3.1vh; }
.pl .pl-plier.appelle:not(:hover) { animation: pl-appel 1.4s steps(2, jump-none) infinite; }
@keyframes pl-appel { 0% { filter: brightness(1); } 100% { filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 214, 110, .85)); } }
.pl .pl-retour { position: absolute; top: 2vh; right: 1.4vw; width: 6vh; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; outline: none; z-index: 3; }
.pl .pl-retour img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .1s; }
.pl .pl-retour .pl-e0 { opacity: 1; }
.pl .pl-retour:hover .pl-e0, .pl .pl-retour:focus-visible .pl-e0, .pl .pl-retour.presse .pl-e0 { opacity: 0; }
.pl .pl-retour:hover .pl-e1, .pl .pl-retour:focus-visible .pl-e1 { opacity: 1; }
.pl .pl-retour.presse .pl-e1 { opacity: 0; }
.pl .pl-retour.presse .pl-e2 { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pl .pl-billet { animation: none; }
  .pl .pl-mot { color: inherit; }
}
