/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
:root {
  --tx-c: clamp(16px, 6.3px + 0.725vw, 22px);   
  --tx-s: clamp(14px, 6.7px + 0.54vw, 19px);    
  --tx-m: clamp(13px, 5.7px + 0.54vw, 17px);    
}
@media (min-width: 1921px) and (min-height: 1081px) {
  :root {
    --tx-c: max(clamp(16px, 6.3px + 0.725vw, 22px), min(1.052vw, 1.87vh));     
    --tx-s: max(clamp(14px, 6.7px + 0.54vw, 19px), min(0.8885vw, 1.579vh));    
    --tx-m: max(clamp(13px, 5.7px + 0.54vw, 17px), min(0.836vw, 1.486vh));     
  }
}
html:not(.mobile) .port .port-info .pi-n, html:not(.mobile) .port .port-info .pi-nation { font-size: var(--tx-c); }
html:not(.mobile) .port .onglets .onglet { font-size: var(--tx-c); }
html:not(.mobile) .jour.tav .tav-titre { font-size: var(--tx-c); white-space: normal; text-overflow: clip; line-height: 1.1; }   
html:not(.mobile) .jour.tav .tav-ligne, html:not(.mobile) .jour.tav .tav-ligne .mal { font-size: var(--tx-s); }
html:not(.mobile) .jour.tav .tav-replique, html:not(.mobile) .jour.tav .tav-bosco-txt { font-size: var(--tx-c); }
html:not(.mobile) .jour.tav .tav-bulle { font-size: var(--tx-s); }
html:not(.mobile) .jour.tav .tav-grand-prix { font-size: var(--tx-s) !important; }
html:not(.mobile) :is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt b { font-size: var(--tx-s); }
html:not(.mobile) :is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt small { font-size: var(--tx-m) !important; max-width: none; }
html:not(.mobile) :is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau.mot .tav-sceau-txt b { font-size: var(--tx-m); }
html:not(.mobile) .jour.cpt .cpt-bulle-txt, html:not(.mobile) .jour.cpt .cpt-bulle { font-size: var(--tx-c); }
html:not(.mobile) .jour.cpt .cpt-nom { font-size: max(3.5cqh, var(--tx-c)); }
html:not(.mobile) .jour.cpt .cpt-cours { font-size: max(2.85cqh, var(--tx-s)); }
html:not(.mobile) .jour.cpt .cpt-note { font-size: max(2.5cqh, var(--tx-s)); }
html:not(.mobile) .jour.cpt .cpt-sceau-raison { font-size: max(2.3cqh, var(--tx-m)); }
html:not(.mobile) .jour.cpt .cpt-et-txt, html:not(.mobile) .jour.cpt .cpt-etiquette { font-size: var(--tx-c); }
html:not(.mobile) .jour.cpt .cpt-etiquette .tav-sceau-txt b { font-size: var(--tx-m); }
html:not(.mobile) .jour.cpt .cpt-etiquette .tav-sceau-txt small { font-size: var(--tx-m) !important; max-width: none; }
html:not(.mobile) .jour.cpt .cpt-ruban-txt, html:not(.mobile) .jour.cpt .cpt-ruban.court .cpt-ruban-txt { font-size: var(--tx-c); }
html:not(.mobile) .jour.cpt .cpt-prendre span { font-size: var(--tx-m); }
html:not(.mobile) .jour.cpt .cpt-etal-bulle, html:not(.mobile) .jour.cpt .cpt-insp-bulle { font-size: var(--tx-s); }
html:not(.mobile) .jour.cpt .cpt-insp-tete { font-size: var(--tx-s); }
html:not(.mobile) .jour.cpt .cpt-insp-detail { font-size: var(--tx-s); }
html:not(.mobile) .jour.cpt .cpt-jeton-rond small { font-size: var(--tx-m) !important; }
html:not(.mobile) .jour.sc .sc-bulle, html:not(.mobile) .jour.sc .sc-bulle > span { font-size: var(--tx-c); }
html:not(.mobile) .jour.sc .sc-etiquette, html:not(.mobile) .jour.sc .sc-etiquette.muet, html:not(.mobile) .jour.sc .sc-cartouche { font-size: var(--tx-c); }
html:not(.mobile) .jour.sc .sc-cartouche small { font-size: var(--tx-s) !important; }
html:not(.mobile) .jour.sc .sc-sceau-txt b { font-size: var(--tx-s); }
html:not(.mobile) .jour.sc .sc-sceau-txt small { font-size: var(--tx-m) !important; max-width: none; }
html:not(.mobile) .jour.sc .sc-sceau.mot .sc-sceau-txt b, html:not(.mobile) .jour.sc .sc-etiquette .sc-sceau .sc-sceau-txt b { font-size: var(--tx-m); }
html:not(.mobile) .jour.sc .sc-sceau.grand .sc-sceau-txt b { font-size: var(--tx-c); }
html:not(.mobile) .jour.sc .sc-sceau.grand.mot .sc-sceau-txt b { font-size: var(--tx-s); }
html:not(.mobile) .jour.sc .sc-jeton > span { font-size: var(--tx-m); max-width: none; }
html:not(.mobile) .jour.qu .qu-magasinier .sc-bulle, html:not(.mobile) .jour.qu.qu-plein .qu-magasinier .sc-bulle { font-size: var(--tx-c); }
html:not(.mobile) .jour.qu .qu-carton b, html:not(.mobile) .jour.qu .qu-ruban { font-size: var(--tx-c); }
html:not(.mobile) .jour.qu .qu-carton small { font-size: var(--tx-s) !important; }
html:not(.mobile) .jour.qu .qu-louer .sc-sceau .sc-sceau-txt b { font-size: var(--tx-s); }
html:not(.mobile) .jour.qu .qu-etiq b { font-size: var(--tx-c); }
html:not(.mobile) .jour.qu .qu-etiq span { font-size: var(--tx-s); }
html:not(.mobile) .jour.esc .esc-haut .sc-etiquette.esc-tete { font-size: var(--tx-c); }
html:not(.mobile) .jour.esc .esc-flamme b { font-size: var(--tx-c); }
html:not(.mobile) .jour.esc .esc-quai-etiq b { font-size: var(--tx-c); }
html:not(.mobile) .jour.esc .esc-quai-etiq span, html:not(.mobile) .jour.esc .esc-pli-etiq small { font-size: var(--tx-s) !important; }
html:not(.mobile) .jour.esc .esc-pli-etiq b { font-size: var(--tx-s); }
html:not(.mobile) .jour.esc .esc-pli-etiq small { display: none; }
html:not(.mobile) .jour.esc .esc-bosco .sc-bulle > span { font-size: var(--tx-c); }
html:not(.mobile) .jour.ch .ch-charpentier .sc-bulle { width: calc(var(--tx-c) * 10.5); font-size: var(--tx-c); }
html:not(.mobile) .jour.ch .ch-charpentier .sc-bulle > span { -webkit-line-clamp: 5; }
html:not(.mobile) .jour.ch .ch-cartes { left: calc(1.5% + var(--med-w, 130px) + var(--tx-c) * 10.5 - 6px); }
html:not(.mobile) .jour.ch .ch-etiq { font-size: var(--tx-s); }
html:not(.mobile) .jour.ch .ch-plaque small { font-size: var(--tx-s) !important; max-width: calc(var(--tx-s) * 6.6); white-space: normal; text-align: center; line-height: 1.1; }
html:not(.mobile) .jour.ch .ch-ruban-txt { font-size: var(--tx-c); }
html:not(.mobile) .jour.ch .ch-sceau-rond span { font-size: var(--tx-m); }
html:not(.mobile) .jour.ch .ch-part.mot { font-size: var(--tx-s); }
html:not(.mobile) .jour.ch .ch-cran { font-size: var(--tx-m); line-height: 1.25; }
html:not(.mobile) .jour.sc { --med-w: clamp(130px, 20vh, 200px); }
html:not(.mobile) .jour.sc .sc-nom { font-size: max(var(--tx-m), calc(var(--med-w) * .095)); }
html:not(.mobile) .jour.sc .sc-nom.long { font-size: max(var(--tx-m), calc(var(--med-w) * .078)); letter-spacing: -.4px; }
html:not(.mobile) :is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau { width: calc(var(--tx-s) * 4.6); height: calc(var(--tx-s) * 4.6); }
html:not(.mobile) :is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt { max-width: calc(var(--tx-s) * 3.9); }
html:not(.mobile) .jour.cpt .cpt-etiquette .tav-sceau { width: calc(var(--tx-s) * 4.4); height: calc(var(--tx-s) * 4.4); }
html:not(.mobile) .jour.cpt .cpt-etiquette .tav-sceau-txt { max-width: calc(var(--tx-s) * 3.7); }
html:not(.mobile) .tdm-scene .tdm-qui small { font-size: max(var(--tx-s), calc(1.6 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-nom { font-size: max(var(--tx-c), calc(1.75 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-elle .tdm-piliers { direction: ltr; }
html:not(.mobile) .tdm-scene .tdm-ecart { font-size: max(var(--tx-c), calc(1.8 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-bosco { font-size: max(var(--tx-c), calc(2.15 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-gazette { font-size: max(var(--tx-c), calc(1.9 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-bas .gz-etiq-c { font-size: max(var(--tx-s), calc(1.9 * var(--u))); }   
html:not(.mobile) .tdm-scene .tdm-bas .gz-etiq-c { width: auto; min-width: calc(14.7 * var(--k)); padding-right: .9em; }
html:not(.mobile) .tdm-scene .tdm-an-t { font-size: max(var(--tx-s), calc(1.3 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-frise-vide { font-size: max(var(--tx-s), calc(1.6 * var(--u))); }
html:not(.mobile) .tdm-scene .tdm-plus { font-size: max(var(--tx-s), calc(1.5 * var(--u))); }
html:not(.mobile) .tdm-scene .ob-t { font-size: max(var(--tx-c), calc(1.75 * var(--u))); }
html:not(.mobile) .tdm-scene .ob-d, html:not(.mobile) .tdm-scene .ob-note { font-size: max(var(--tx-s), calc(1.4 * var(--u))); }
html:not(.mobile) .tdm-scene .ob-titre { font-size: max(var(--tx-c), calc(2.3 * var(--u))); }
html:not(.mobile) .tdm-scene .ob-pied, html:not(.mobile) .tdm-scene .ob-passer { font-size: max(var(--tx-s), calc(1.45 * var(--u))); }
html:not(.mobile) .tdm-scene .ob-bosco { font-size: max(var(--tx-c), calc(1.75 * var(--u))); }
html:not(.mobile) .gazette-scene .gz-sous { font-size: max(var(--tx-s), calc(1.6 * var(--u))); }
html:not(.mobile) .gazette-scene .gz-tourner { font-size: max(var(--tx-s), calc(1.6 * var(--u))); }
html:not(.mobile) .gazette-scene .gz-etiquette { width: calc(var(--lw) * 1.2 * var(--k)); }
html:not(.mobile) .gazette-scene .gz-etiquette > span { font-size: max(var(--tx-s), calc(.9 * var(--k))); }
html:not(.mobile) .gazette-scene .gz-journal { font-size: max(var(--tx-c), clamp(12px, calc(.98 * var(--k)), 17px)); }
html:not(.mobile) .gazette-scene .gz-journal li { display: block; -webkit-line-clamp: unset; overflow: visible; }
html:not(.mobile) .gazette-scene .gz-jeton small { font-size: max(var(--tx-m), calc(1.1 * var(--k))); }
html:not(.mobile) .gazette-scene .gz-cp-lien { font-size: max(var(--tx-s), calc(1.6 * var(--u))); }
.gazette-scene .gz-pliable { cursor: var(--c-main, pointer); }
.gazette-scene .gz-tete:has(.gz-pliable):hover, .gazette-scene .gz-breve:has(.gz-pliable):hover, .gazette-scene .gz-une:has(.gz-pliable):hover { background: rgba(120, 80, 30, .08); }
.gazette-scene .gz-pied { display: flex; justify-content: center; border-top: 0; }
.gazette-scene .gz-girouette { height: calc(3.2 * var(--u)); width: auto; image-rendering: pixelated; opacity: .85; cursor: help; }
html:not(.mobile) .salle .ev-faveur .au-rel, html:not(.mobile) .salle .ev-etiq, html:not(.mobile) .salle .au-tete .au-rel { font-size: max(var(--tx-s), 1em); }
html:not(.mobile) .salle .au-rel small, html:not(.mobile) .salle .ev-piece small { font-size: var(--tx-m) !important; }
html:not(.mobile) .salle .ev-piece b { font-size: max(var(--tx-s), 1em); }
html:not(.mobile) #modal-box .salle .sx-phrase, html:not(.mobile) #modal-box .salle .sx-prix, html:not(.mobile) #modal-box .salle .sx .sx-phrase { font-size: var(--tx-m) !important; }
html:not(.mobile) .salle .au-qui { font-size: var(--tx-m); }
html:not(.mobile) .salle .au-replique, html:not(.mobile) .salle .au-narration, html:not(.mobile) .salle .sl-bulle { font-size: max(var(--tx-c), 1em); }
html:not(.mobile) .salle .sl-pli-titre { font-size: var(--tx-c); }
html:not(.mobile) .salle .sl-pli-detail, html:not(.mobile) .salle .sl-jauge-txt, html:not(.mobile) .salle .sl-nom { font-size: var(--tx-s); }
html:not(.mobile) .salle .sc-ligne { font-size: max(var(--tx-s), 1em); }
html:not(.mobile) .salle .sc-jeton { font-size: var(--tx-m); }
html:not(.mobile) .jour.sc .co-fanions-titre, html:not(.mobile) .jour.sc .co-titre > span, html:not(.mobile) .jour.sc .co-carton b, html:not(.mobile) .jour.sc .co-plaque b { font-size: var(--tx-c); }
html:not(.mobile) .jour.sc .co-fanion-nom b { font-size: var(--tx-s); }
html:not(.mobile) .jour.sc .co-fanion-nom small, html:not(.mobile) .jour.sc .co-vide, html:not(.mobile) .jour.sc .co-sous, html:not(.mobile) .jour.sc .co-carton small { font-size: var(--tx-s) !important; }
html:not(.mobile) .jour.sc .ct-txt b, html:not(.mobile) .jour.sc .ct-txt { font-size: var(--tx-c); }
html:not(.mobile) .jour.sc .ct-txt small, html:not(.mobile) .jour.sc .ct-txt small .mal, html:not(.mobile) .jour.sc .ct-txt .hesite { font-size: var(--tx-s) !important; }
html:not(.mobile) .jour.sc .rp-nom, html:not(.mobile) .jour.sc .rp-nom.long { font-size: var(--tx-m); letter-spacing: -.4px; }
html:not(.mobile) .jour.sc .a-savoir { font-size: var(--tx-m); }
html:not(.mobile) .jour.sc .co-vide { display: none; }
html:not(.mobile) .salle.eveche .ev-raison .sx-phrase, html:not(.mobile) .salle.eveche .ev-objet.ferme .sx-phrase { display: none; }
html:not(.mobile) .salle.eveche .au-texte .ev-chanoine { margin-top: .25em; }
html:not(.mobile) .salle.eveche .au-medaillon .au-visage.ev-croix { object-fit: contain; padding: 18%; box-sizing: border-box; background: #2b1a10; image-rendering: pixelated; }
html:not(.mobile) .salle.audience .au-qui { font-size: var(--tx-m); }
html:not(.mobile) .salle.audience .au-replique, html:not(.mobile) .salle.audience .au-replique.longue { font-size: max(var(--tx-c), calc(1.6 * var(--u))); }
html:not(.mobile) .salle.audience .au-narration, html:not(.mobile) .salle.audience .au-narration.grande { font-size: max(var(--tx-c), calc(1.2 * var(--u))); }
html:not(.mobile) .salle.audience .au-reste, html:not(.mobile) .salle.audience .au-rel small { font-size: var(--tx-s); }
html:not(.mobile) .salle.audience .sc-carte > .sc-ligne { font-size: max(var(--tx-s), calc(1.22 * var(--u))); }
html:not(.mobile) .salle.audience .au-choix:is(.n5, .n6, .n7, .n8, .n9, .n10, .n11, .n12) .sc-carte > .sc-ligne, html:not(.mobile) .salle.audience .sc-carte > .sc-ligne.serre { font-size: max(var(--tx-m), calc(1 * var(--u))); }
html:not(.mobile) .salle.audience .sc-carte > .sc-jeton, html:not(.mobile) .salle.audience .sc-carte > .sc-cond { font-size: max(var(--tx-m), calc(1.05 * var(--u))); }
html:not(.mobile) .salle.audience.eveche .ev-raison, html:not(.mobile) .salle.audience.eveche .ev-jeton, html:not(.mobile) .salle.audience.eveche .ev-piece small { font-size: var(--tx-m); }
html:not(.mobile) .jour.sc .ct-etiq, html:not(.mobile) .jour.sc .ct-etiq.ct-etat { font-size: max(var(--tx-c), 1.18cqw); }
html:not(.mobile) .jour.sc .ct-impot .grogne, html:not(.mobile) .jour.sc .gv-jauge-txt { font-size: var(--tx-s); }
html:not(.mobile) .jour.sc.ct .ct-bas .ii-bulle, html:not(.mobile) .jour.sc.ct .ct-bas .ii-bulle small { font-size: max(var(--tx-s), 1.1cqw) !important; }
html:not(.mobile) .jour.sc .ct-nommer-txt { font-size: max(var(--tx-s), 1.02cqw); }
html:not(.mobile) .jour.sc .ct-plaque { font-size: var(--tx-s); }
html:not(.mobile) .jour.sc .ct-txt .muet, html:not(.mobile) .jour.sc .ii-nom { font-size: var(--tx-s); }
html #modal-box > .bord-scene .sc-retombees { position: absolute; left: 0; right: 0; top: 38%; z-index: 9; display: flex; justify-content: center; gap: calc(5 * var(--k)); pointer-events: none; transition: opacity .5s; }
html #modal-box > .bord-scene .sc-retombees.part { opacity: 0; }
html #modal-box > .bord-scene .sc-retombe { display: flex; flex-direction: column; align-items: center; gap: calc(.4 * var(--k)); opacity: 0; transform: translateY(calc(-6 * var(--k))) scale(1.15); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
html #modal-box > .bord-scene .sc-retombe.pose { opacity: 1; transform: none; }
html #modal-box > .bord-scene .sc-retombe-ico { position: relative; width: calc(6.5 * var(--k)); height: calc(6.5 * var(--k)); }
html #modal-box > .bord-scene .sc-retombe-ico > img:first-child { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .6)); }
html #modal-box > .bord-scene .sc-retombe b { font-size: max(20px, calc(1.9 * var(--k))); font-weight: 700; color: #f3e6c8; text-shadow: 0 2px 3px #000, 0 0 8px #000; white-space: nowrap; }
html #modal-box > .bord-scene .sc-retombe.plus b .sc-n { color: #b8e0a0; }
html #modal-box > .bord-scene .sc-retombe.moins b .sc-n { color: #f0a69a; }
@media (prefers-reduced-motion: reduce) { html #modal-box > .bord-scene .sc-retombe { transition: none; } }
#tooltip { background: #f7eedb; color: #2b1a0e; border: 2px solid #7a5631; border-radius: 6px; box-shadow: 0 3px 10px rgba(0, 0, 0, .45); padding: 7px 10px; }
#tooltip small { color: #4a3420; }
#tooltip b[style] { filter: brightness(.55) saturate(1.4); }
html:not(.mobile) #tooltip { font-size: var(--tx-s); max-width: 340px; }
.gz-ecrit .ej-dessin { display: block; width: 7.5em; margin: .5em auto 0; image-rendering: pixelated; transform: rotate(-4deg); filter: sepia(.25); }
:root { --rn-min: max(15px, min(1vw, 1.778vh)); }
html:not(.mobile) :is(#modal-box .scene-d .sc-medaillon .sc-nom, .sc-medaillon .sc-nom, .sc-portrait .sc-nom, .tav-nom, .rp-nom, .au-qui, .dv-qui, .tp-nom, .tb-ruban, .ec-nom,
  #abp .abp-groupe .abp-nom, .mt-sc-medaillon b, .cpt-med-nom) {
  position: absolute; z-index: 2; left: 17%; right: 17%; top: 72%; bottom: auto; height: 14%; margin: 0; padding: 0; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  font-family: Alegreya, 'Palatino Linotype', Georgia, serif; font-size: var(--rn-min); font-weight: 800; font-style: normal; font-variant: normal;
  line-height: 1; letter-spacing: 0; color: #1c0f06; text-shadow: 0 0 2px rgba(255, 249, 234, .95), 0 1px 0 rgba(255, 249, 234, .7);
  text-align: center; white-space: nowrap; overflow: visible; text-overflow: clip; }
html:not(.mobile) :is(.sc-nom, .tav-nom, .rp-nom, .au-qui, .dv-qui, .tp-nom, .tb-ruban, .ec-nom, .abp-nom, .mt-sc-medaillon b, .cpt-med-nom) > .rn-l { display: block; }
html:not(.mobile) :is(#modal-box .scene-d .sc-medaillon .sc-nom, .sc-nom, .tav-nom, .rp-nom, .au-qui, .dv-qui, .tp-nom, .tb-ruban, .ec-nom, #abp .abp-groupe .abp-nom, .mt-sc-medaillon b, .cpt-med-nom).rn-large { left: 14.5%; right: 14.5%; }
html:not(.mobile) .rn-l.rn-dit { font-style: italic; }
html:not(.mobile) .rn-deux > .rn-l { line-height: .92; }
html:not(.mobile) :is(.ie-nom, .ii-nom, .pt-nom) { font-family: Alegreya, 'Palatino Linotype', Georgia, serif; font-size: var(--rn-min); font-weight: 800; line-height: 1.2;
  color: #1c0f06; text-shadow: 0 0 2px rgba(255, 249, 234, .95), 0 1px 0 rgba(255, 249, 234, .7); }
