/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html.cd-tempete #escale.cd-plein .escale-scene { width: min(100vw, calc(100vh * 360 / 196)); border: 0; box-shadow: none; }
html.cd-tempete #escale.cd-plein.ouverte { background: #0a0705; }
html.cd-grappins #abp.cd-plein .abp-scene { outline: 0; box-shadow: none; background: #0a0705; }
html.cd-grappins #abp.cd-plein.ouvert, html.cd-grappins #abp.cd-plein.ouvert.sur-mer { background: #0a0705; }
html.cd-peche #peche .pc-boite { outline: 0; box-shadow: none; }
html.cd-peche #peche { background: #0a0705; }
html.cd-paume #paume .pm-boite { outline: 0; box-shadow: none; }
html.cd-taverniere #modal-box .jour.tav.cd-une .tav-gen[data-qui="taverniere"] { transition: opacity .25s ease-out, visibility 0s 0s; }
html.cd-taverniere #modal-box .jour.tav.cd-une.cd-parle .tav-gen[data-qui="taverniere"] { opacity: 0; visibility: hidden !important; pointer-events: none; transition: none; }
html.cd-taverniere #modal-box .jour.tav.cd-une .tav-hotesse :is(.tav-portrait, .tav-replique) { transition: opacity .25s ease-out, translate .25s ease-out, visibility 0s 0s; }
html.cd-taverniere #modal-box .jour.tav.cd-une.cd-salle .tav-hotesse :is(.tav-portrait, .tav-replique) { opacity: 0; translate: -4% 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease-out, translate .25s ease-out, visibility 0s .25s; }
html.cd-taverniere #modal-box .jour.tav.cd-une.cd-salle .tav-hotesse .tav-verre-haut { display: none !important; }
html.cd-ecoute .cd-ecoute-buste, html.cd-ecoute #modal-box .jour.tav:has(.tav-gen.vu, .tav-gen.epingle) .tav-portrait {
  filter: brightness(.55) saturate(.7) !important; scale: .95; transform-origin: 50% 100%; transition: filter .25s ease-out, scale .25s ease-out; }
html.cd-ecoute .cd-ecoute-pret, html.cd-ecoute #modal-box .jour.tav .tav-portrait { transition: filter .25s ease-out, scale .25s ease-out, translate .15s ease-out; }
@media (prefers-reduced-motion: reduce) { html.cd-taverniere #modal-box .jour.tav.cd-une * { transition: none !important; } }
#pl-table { position: fixed; inset: 0; z-index: 9700; display: flex; flex-direction: column; align-items: center; gap: 1.2vh; padding: 2.2vh 0 2vh;
  box-sizing: border-box; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 45%, #1a110b 0, #0a0705 75%); color: #f3e6c8;
  font-family: Alegreya, Georgia, serif; opacity: 0; transition: opacity .25s ease-out; user-select: none; -webkit-user-select: none; }
#pl-table.vu { opacity: 1; }
#pl-table .pl-tete { display: flex; flex-direction: column; align-items: center; gap: .3vh; text-align: center; pointer-events: none; }
#pl-table .pl-tete b { font-family: 'Pirata One', var(--titre, serif); font-weight: normal; font-size: clamp(30px, 4.6vh, 62px); line-height: 1; color: #e8c27a;
  text-shadow: 0 2px 0 #000, 0 0 14px rgba(0, 0, 0, .8); }
#pl-table .pl-tete span { font-style: italic; font-size: clamp(15px, 2.1vh, 26px); color: #e8d6ae; text-shadow: 0 1px 2px #000; }
#pl-table .pl-planche { position: relative; flex: none; width: min(100vw, calc(60vh * 3168 / 1049)); aspect-ratio: 3168 / 1049; }
#pl-table .pl-planche > img.illu { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
#pl-table .pl-p { position: absolute; cursor: pointer; outline: none; border-radius: 3px; transition: filter .2s, background-color .2s, box-shadow .2s; }
#pl-table .pl-tenu:hover, #pl-table .pl-copie:hover, #pl-table .pl-p:focus-visible { background: radial-gradient(ellipse at 50% 45%, rgba(255, 214, 140, .22), transparent 72%); box-shadow: 0 0 2.2vh rgba(255, 200, 110, .35); }
#pl-table .pl-tenu.choisi, #pl-table .pl-copie.choisi { background: radial-gradient(ellipse at 50% 45%, rgba(255, 224, 150, .3), transparent 75%); box-shadow: 0 0 0 2px rgba(240, 201, 90, .85), 0 0 3vh rgba(255, 200, 110, .5); }
#pl-table .pl-creux { position: absolute; inset: -2%; pointer-events: none; background: rgba(14, 8, 5, .55);
  -webkit-backdrop-filter: brightness(.28) saturate(.45) blur(.6px); backdrop-filter: brightness(.28) saturate(.45) blur(.6px); transition: background-color .2s; }
#pl-table .pl-trou:hover .pl-creux, #pl-table .pl-trou.choisi .pl-creux { background: rgba(40, 24, 12, .5); }
#pl-table .pl-trou.choisi, #pl-table .pl-elle.choisi { box-shadow: 0 0 0 2px rgba(240, 201, 90, .55); }
#pl-table .pl-elle .pl-creux { background: rgba(58, 26, 80, .55); }
#pl-table .pl-elle:hover .pl-creux { background: rgba(78, 38, 104, .55); }
#pl-table .pl-copie { background: rgba(120, 64, 170, .2); mix-blend-mode: normal; }
#pl-table .pl-sceau { position: absolute; left: 50%; top: 50%; width: min(5.4vw, 64%); aspect-ratio: 1; translate: -50% -50%; rotate: -8deg; pointer-events: none;
  background: url(interface/kit_sceau_ruse.png?v=a4acf598) center / contain no-repeat; image-rendering: pixelated; filter: drop-shadow(0 .4vh .5vh rgba(0, 0, 0, .6)); }
#pl-table .pl-copie .pl-sceau { left: auto; right: -6%; top: auto; bottom: -4%; width: min(3.4vw, 40%); translate: 0 0; rotate: 10deg; }
#pl-table .pl-bas { flex: 1 1 auto; min-height: 0; width: min(92vw, 1500px); display: flex; justify-content: center; align-items: flex-start; gap: 2vw; }
#pl-table .pl-feuille { position: relative; box-sizing: border-box; width: min(64vw, 1000px); min-height: min(100%, 22vh); max-height: 100%; padding: 2.4vh 4.2vw 2.6vh;
  background: url(interface/parch_feuille_large.png?v=b64ed295) center / 100% 100% no-repeat; color: #2b1a0e; rotate: -.5deg;
  filter: drop-shadow(0 .5vh .6vh rgba(0, 0, 0, .55)); display: flex; flex-direction: column; justify-content: center; }
#pl-table .pl-feuille p { margin: 0 0 .7vh; font-size: clamp(18px, 2.6vh, 30px); line-height: 1.35; }
#pl-table .pl-feuille .pl-compte { font-weight: 700; color: #2b1a0e; }
#pl-table .pl-feuille .pl-aide { font-style: italic; color: #5a3a1a; font-size: clamp(15px, 2.1vh, 24px); }
#pl-table .pl-feuille .pl-num { display: block; margin-bottom: .5vh; font-family: 'IM Fell English SC', 'IM Fell English', serif; font-weight: normal; font-size: clamp(15px, 2vh, 26px); color: #7a1a10; letter-spacing: .04em; }
#pl-table .pl-feuille .pl-texte { font-style: italic; font-size: clamp(19px, 2.8vh, 34px); line-height: 1.38; }
#pl-table .pl-feuille .pl-note { font-style: italic; color: #4a2e14; }
#pl-table .pl-objets:empty { display: none; }
#pl-table .pl-objets { flex: none; max-width: 24vw; max-height: 100%; overflow: hidden; }
#pl-table .pl-objets .part-objets { display: flex; gap: 1vw; }
#pl-table .pl-objets figure { margin: 0; width: 11vw; rotate: 1.5deg; }
#pl-table .pl-objets figure:nth-child(2) { rotate: -2deg; }
#pl-table .pl-objets figure img { display: block; width: 100%; height: auto; max-height: 15vh; object-fit: cover; box-shadow: 0 .4vh .6vh rgba(0, 0, 0, .6); }
#pl-table .pl-objets figcaption, #pl-table .pl-objets .part-objet-texte { margin-top: .5vh; font-size: clamp(13px, 1.6vh, 20px); font-style: italic; color: #e8d6ae; line-height: 1.25; }
#pl-table .pl-fermer { position: absolute; right: 2.2vw; bottom: 2.4vh; display: flex; align-items: center; gap: .7vw; cursor: pointer; outline: none;
  padding: .7vh 1.4vw .7vh .5vw; background: url(interface/ui_plaque_chene.png?v=1771689d) center / 100% 100% no-repeat; rotate: -1.2deg; transition: translate .15s, filter .15s; }
#pl-table .pl-fermer .pl-cire { width: clamp(34px, 5vh, 64px); aspect-ratio: 1; background: url(interface/kit_sceau_neutre.png?v=9fb70335) center / contain no-repeat; image-rendering: pixelated; }
#pl-table .pl-fermer b { font-family: 'IM Fell English SC', 'IM Fell English', serif; font-weight: normal; font-size: clamp(16px, 2.2vh, 28px); color: #f6e7c1; text-shadow: 0 1px 0 #000; }
#pl-table .pl-fermer kbd { font-family: inherit; font-size: clamp(13px, 1.6vh, 20px); padding: .1vh .5vw; border-radius: 4px; color: #3a2412; background: #f1e2bf; box-shadow: 0 2px 0 #6b4a22; }
#pl-table .pl-fermer:hover, #pl-table .pl-fermer:focus-visible { translate: 0 -.4vh; filter: brightness(1.12) drop-shadow(0 0 1vh rgba(255, 204, 90, .6)); }
#pl-table .pl-fermer:active { translate: 0 .2vh; filter: brightness(.92); }
@media (prefers-reduced-motion: reduce) { #pl-table, #pl-table * { transition: none !important; } }
html.cd-enfance #enfance .ef-boite { outline: 0; box-shadow: none; }
html.cd-enfance #enfance { background: #0a0705; }
html.cd-fouille #fouille.cd-plein { overflow: hidden; background: #0a0705; }
html.cd-fouille #fouille.cd-plein .fo-boite { outline: 0; box-shadow: none; }
