/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html.ch-bulle { --ch-e: min(1vw, 1.778vh); }   
html.ch-bulle #visite-bord .vb-bulle { width: min(max(480px, calc(35 * var(--ch-e))), 42vw); padding: 2px 10px 4px 2px; background: none; border-style: solid; border-width: 14px;
  border-image: url(interface/kit_bande.png?v=b51fcec8) 110 fill / 14px stretch; color: #f3e6c8; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
html.ch-bulle #visite-bord .vb-bulle[data-cote="bas"]::after { bottom: -20px; border-top-color: #b48035; }
html.ch-bulle #visite-bord .vb-bulle[data-cote="droite"]::after { right: -20px; border-left-color: #b48035; }
html.ch-bulle #visite-bord .vb-med { margin: -6px 0 -6px -8px; }
html.ch-bulle #visite-bord .vb-txt { gap: 5px; }
html.ch-bulle #visite-bord .vb-txt > b { align-self: flex-start; padding: .1em .5em .18em; border-style: solid; border-width: .3em .9em;
  border-image: url(interface/ui_plaque_chene.png?v=1771689d) 22 44 fill / .3em .9em stretch; font: 15px/1.02 var(--titre, 'IM Fell English SC', serif); letter-spacing: 0;
  color: #f8e9c2; text-shadow: 0 2px 0 #3a1d08, 0 0 3px rgba(0, 0, 0, .6); }
html.ch-bulle #visite-bord .vb-txt > q { font: italic 600 max(19px, calc(1.4 * var(--ch-e)))/1.32 Alegreya, 'Palatino Linotype', Georgia, serif; color: #f3e6c8; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
html.ch-bulle #visite-bord .vb-pied small { font-size: 13px; color: rgba(232, 214, 176, .72); }
html.ch-bulle #visite-bord .vb-suite { font-size: 14px; }
html.ch-bulle #tuto-bosco .tb-cartouche { max-width: min(max(560px, calc(41 * var(--ch-e))), 46vw); }
html.ch-bulle #tuto-bosco .tb-cartouche q { font-size: max(19px, calc(1.4 * var(--ch-e))); }
html.ch-bulle #tuto-bosco .tb-nom { font-size: max(17px, calc(1.25 * var(--ch-e))); }
html.ch-bulle #visite-bord .vb-txt > b { font-size: max(15px, calc(1.1 * var(--ch-e))); }
html.ch-bulle #tuto-bosco .tb-bien { font-size: max(14px, calc(1.05 * var(--ch-e))); }
html.ch-bulle #tuto-bosco .tb-mer { font-size: max(13px, calc(.95 * var(--ch-e))); }
html.ch-signes .cours > i { display: inline-block; width: 0; height: 0; margin: 0 .05em; vertical-align: .08em; border-left: .3em solid transparent; border-right: .3em solid transparent; border-top: .5em solid currentColor; }
html.ch-signes .cours.haut > i { border-top: 0; border-bottom: .5em solid currentColor; }
html.ch-signes .cours { letter-spacing: 0; }
html.ch-signes .ch-point { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: currentColor; vertical-align: .05em; }
html.ch-signes .cr-onglet { font-family: var(--titre, 'IM Fell English SC', serif); }
html.ch-petits #cb-buste .cb-mot q { font-size: max(18px, calc(var(--k, 1) * 21px)); }
html.ch-petits #cb-buste .cb-mot b { font-size: max(14px, calc(var(--k, 1) * 17px)); }
html.ch-grain #cb-buste .cb-img img, html.ch-grain #bb-bord img { image-rendering: auto; }
html.ch-avis:not(.mobile):has(#modal:not(.cache) > #modal-box :is(.au-bande, .sc-bande, .bu-rep, .tav-replique)) #toast { bottom: auto !important; top: max(4px, .6vh) !important; }   
html.ch-petits.cab-mode #panneau.colonne-v699 .cp-coupe .cp-plaque { font-size: clamp(13px, 3.4cqw, 17px); }
html.ch-petits #panneau .cp-coupe .v3-nom { font-size: 13px; }
html.ch-petits #panneau .cab > .v3-bulle .v3-b-txt q, html.ch-petits #panneau .cab.demi > .v3-bulle .v3-b-txt q { font-size: 14px; }
html.ch-petits #panneau .cab > .v3-bulle .v3-b-txt b { font-size: 13px; }
html.ch-attaque .face-a-face .ff-centre .ff-etiq.regles-couverture { gap: .4cqw; padding: .8cqw 1.5cqw .9cqw; box-sizing: border-box; rotate: -.5deg;
  background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; filter: drop-shadow(0 .25cqw .35cqw rgba(0, 0, 0, .55)); }
html.ch-attaque .face-a-face .ff-centre .ff-etiq.regles-couverture > span { padding: 0; background: none; box-shadow: none; transform: none; font-size: 1.3cqw; line-height: 1.22; font-style: italic; color: #2b1a0e; }
html.ch-attaque .face-a-face .ff-centre .ff-etiq.regles-couverture > span + span { padding-top: .4cqw; border-top: 1px solid rgba(122, 84, 24, .4); }
html.ch-attaque .face-a-face .ff-centre .ff-etiq.regles-couverture > span.mal { color: #7a1a10; }
html.ch-credits .registre a { color: #4a2410; text-decoration: none; border-bottom: 1px solid transparent; }
html.ch-credits .registre a:hover, html.ch-credits .registre a:focus-visible { color: #7d1a10; border-bottom: 1px dotted rgba(125, 26, 16, .7); outline: 0; }
html.ch-avis body:has(#bb-bord.vu) #cb-buste { opacity: 0; }
html.ch-fondu .pd-garde { background: radial-gradient(ellipse 60% 70% at 50% 50%, #1a110b 0, #0a0705 70%) !important; }
html.ch-fondu .pd-garde::before, html.ch-fondu .pd-garde::after { content: ''; position: absolute; left: 50%; top: 50%; width: min(22vh, 190px); aspect-ratio: 1; translate: -50% -50%;
  background: url(../illustrations/carte_rose_cadran.png) center / contain no-repeat; opacity: 0; animation: ch-rose-vient 1.2s ease-out .9s forwards; }
html.ch-fondu .pd-garde::after { background-image: url(../illustrations/carte_rose_aiguille.png); animation: ch-rose-vient 1.2s ease-out .9s forwards, ch-rose-cherche 5.5s ease-in-out .9s infinite alternate; }
@keyframes ch-rose-vient { to { opacity: .7; } }
@keyframes ch-rose-cherche { 0% { rotate: -38deg; } 45% { rotate: 22deg; } 70% { rotate: -9deg; } 100% { rotate: 6deg; } }
@media (prefers-reduced-motion: reduce) { html.ch-fondu .pd-garde::after { animation: ch-rose-vient 1.2s ease-out .9s forwards; } }
html.ch-petits #escale .escale-quai-titre small { font: italic 600 max(13px, 1.6cqh)/1.2 Alegreya, Georgia, serif; }
html.ch-petits #modal-box .sc-carte .sc-sous { font-size: 13px; }
html.ch-petits #modal-box .sc-jeton .sc-jeton-mot { font-size: max(13px, 1em); }
html.ch-voile .pouv { background: radial-gradient(ellipse 60% 70% at 50% 50%, #1a110b 0, #0a0705 70%) !important; }
html.ch-nom.st-cine #modal-box > .scene-d.prologue-d.bu-prologue.pd-st .pd-fil > .pd-ligne.pd-stl:is(
  [data-qui=bosco]:not(.part) + [data-qui=bosco], [data-qui=fracasse]:not(.part) + [data-qui=fracasse], [data-qui=isabeau]:not(.part) + [data-qui=isabeau],
  [data-qui=jeanne]:not(.part) + [data-qui=jeanne], [data-qui=thibault]:not(.part) + [data-qui=thibault], [data-qui=augustine]:not(.part) + [data-qui=augustine]) > .st-qui { display: none; }
html.ch-kraken:not(.mobile) .pouv > .pouv-sous { background: none !important; border-radius: 0 !important; padding: 0 !important; bottom: 3.6% !important;
  font-size: max(21px, calc(1.55 * min(1vw, 1.778vh))) !important; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0, 0, 0, .9) !important; }
html.ch-kraken:not(.mobile) .pouv::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 12, 0) 0, rgba(5, 5, 12, .4) 45%, rgba(5, 5, 12, .78) 100%); opacity: 0; transition: opacity .3s ease-out; }
html.ch-kraken:not(.mobile) .pouv:has(> .pouv-sous[style*="opacity: 1"])::after { opacity: 1; }
html.ch-textes .cg-med-nom small { font-size: max(13px, .85em); }
html.ch-textes:not(.mobile) .jour.esc .esc-bosco .sc-bulle > span { font-size: max(18px, var(--tx-c, 18px)); }
html.ch-textes .jour.cpt .cpt-insp-pastilles .jour-pastille { font-size: 13px; line-height: 18px; }
html.ch-textes .ar-ruban { font-size: clamp(13px, .92vw, 13.5px); }
html.ch-textes .ar-ruban small { font-size: max(13px, .82em); }
html.ch-textes .chap-cartouche > .chap-num { font-size: clamp(14px, 1.02vw, 19px); font-weight: 600; letter-spacing: .14em; }
html.ch-entier :is(#bf-ng, #kn-ng) .bj .bj-med:not(#_) > canvas { inset: auto; left: 50%; bottom: 0; width: max(96px, round(nearest, 100%, 96px)); height: auto; aspect-ratio: 1; translate: -50% 0; }
