/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#aa-bulle { position: fixed; z-index: 2147483000; left: 0; top: 0; max-width: min(340px, 40vw); padding: 7px 14px 8px; box-sizing: border-box;
  background: none; color: #2b1a0e; border: 0; border-radius: 0; box-shadow: none; isolation: isolate;
  font: 400 max(14px, .78vw)/1.32 Alegreya, 'Palatino Linotype', Georgia, serif; letter-spacing: 0; text-align: left; white-space: pre-line;
  overflow-wrap: break-word; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity .12s ease-out, transform .12s ease-out, visibility 0s linear .12s; }
#aa-bulle::before, html:not(.mobile) #tooltip::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 9px solid transparent; border-image: url(interface/menu_parchemin.png?v=7555d478) 30 fill / 9px stretch;
  filter: drop-shadow(0 2px 2px rgba(20, 10, 2, .55)) drop-shadow(0 5px 7px rgba(10, 5, 1, .3)); }
html:not(.mobile) #tooltip { background: none; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; padding: 8px 14px 9px; color: #2b1a0e; }
html:not(.mobile) #tooltip .tt-marche { white-space: nowrap; }
html:not(.mobile) #tooltip .tt-marche img.emo { width: 18px; height: 18px; vertical-align: -4px; margin-right: 2px; }
#aa-bulle.mesure { transition: none; }
#aa-bulle.vue { opacity: 1; visibility: visible; transform: none; transition: opacity .12s ease-out, transform .12s ease-out, visibility 0s; }
@media (prefers-reduced-motion: reduce) { #aa-bulle, #aa-bulle.vue { transition: none; transform: none; } }
:where(button, a, input, select, textarea, summary, [tabindex], [role="button"]):focus-visible { outline: 2px solid #e8c46a; outline-offset: 2px; }
:where(button, a, input, select, textarea, summary, [tabindex], [role="button"]):focus:not(:focus-visible) { outline: none; }
html #modal-box .sc-carte > .sc-ligne { position: relative; z-index: 1; }
html #modal-box .gazette-scene .gz-etiquette { filter: none; background: none; }
html #modal-box .gazette-scene .gz-etiquette::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
html.sans-gazette-etiquette #modal-box .gazette-scene .gz-etiquette::before { background: linear-gradient(to right, transparent 44%, #efe0b8 44%); border-radius: 3px; filter: none; }
html #modal-box .gazette-scene .gz-etiquette > span { z-index: 1; }
html #modal-box .aa-sceau > .ilo-etiq, html #modal-box .aa-sceau:is(:hover, :focus-visible) > .ilo-etiq { position: relative; filter: none; background: none; }
html #modal-box .aa-sceau > .ilo-etiq::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .15s ease; }
html #modal-box .aa-sceau:is(:hover, :focus-visible) > .ilo-etiq::before { filter: drop-shadow(0 0 1cqh rgba(255, 190, 110, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.aa-sceau > .ilo-etiq > .ilo-mot { position: relative; z-index: 1; }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton {
  position: relative; background: none; cursor: var(--c-main, pointer); transition: color .15s ease-out; }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 22px; height: 30px; margin-top: -15px; pointer-events: none;
  background: url(interface/reg_sablier.png?v=254b8cfb) center / auto 30px no-repeat; transition: rotate .22s ease-out, filter .18s ease-out; }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton:is(:hover, :focus-visible) { color: #6a1a10; outline: none; }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton:is(:hover, :focus-visible)::after {
  rotate: 14deg; filter: drop-shadow(0 0 2px rgba(255, 220, 130, .95)) drop-shadow(0 0 5px rgba(255, 190, 90, .6)); }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton:active::after { filter: brightness(.8); rotate: 8deg; }
html:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton.retourne::after { animation: ft-retourne .55s ease-in-out; }
html.ft-pret:not(.mobile):not(.cadre-bleu):not(.cadre-bois):not(.poutre-avant):not(.poutre-v777):not(.poutre-p2) #barre > #b-mois.ft-bouton:not(:hover)::after { animation: ft-sab-lueur 2s ease-in-out infinite alternate; }
@keyframes ft-retourne { from { rotate: 0deg; } to { rotate: 180deg; } }
@keyframes ft-sab-lueur { from { filter: drop-shadow(0 0 0 rgba(255, 214, 130, 0)); } to { filter: drop-shadow(0 0 3px rgba(255, 220, 140, .95)) drop-shadow(0 0 7px rgba(255, 190, 90, .55)); } }
html.sans-ambiance #barre > #b-mois.ft-bouton::after { animation: none !important; transition: none; }
html #rendu-cite { padding: 10px 12px 20px; background: none; filter: none; isolation: isolate; }
html #rendu-cite::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; filter: drop-shadow(0 6px 10px rgba(10, 5, 1, .6)); }
html #rendu-cite .rc-pied { color: rgba(60, 38, 18, .85); }
html:not(.mobile) .combat > .cb-log { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px); mask-image: linear-gradient(to bottom, transparent 0, #000 26px); }
#b-guerres .guerre.guerre-neuve .pavillon { filter: drop-shadow(0 0 2px rgba(232, 87, 74, .95)) drop-shadow(0 0 5px rgba(232, 87, 74, .55)) !important; }
#b-guerres .guerre.paix-neuve { opacity: 1; }
#b-guerres .guerre.paix-neuve .pavillon { filter: drop-shadow(0 0 2px rgba(255, 236, 170, .95)) drop-shadow(0 1px 0 rgba(60, 34, 10, .45)) !important; }
#b-guerres .guerre.paix-neuve .colombe { position: absolute; left: 50%; top: -2px; width: 18px; height: 18px; translate: -50% 0; z-index: 2; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(40, 20, 5, .6)); }
html:not(.mobile) #barre > #b-ruban.muet { display: none !important; }
@media (min-aspect-ratio: 5/4) {
  html.garde-sans-titre #garde { background-image: url(../illustrations/affiche_large_sans_titre.webp) !important; }
  html.garde-sans-titre #garde .garde-titre { position: absolute; z-index: 2; left: 5vw; bottom: 6.6vh; font: 400 min(7.2vh, 4.4vw)/1 var(--titre, serif); color: #f3cf6a;
    text-shadow: 0 3px 0 #2a1406, 0 0 14px rgba(0, 0, 0, .75); letter-spacing: .01em; pointer-events: none; }
  html.garde-sans-titre #garde .garde-titre small { display: block; margin: .5vh 0 0 .3vw; font: 400 min(2.2vh, 1.4vw)/1.1 var(--titre, serif); color: #f1e2bd; text-shadow: 0 2px 0 #1a0c04; }
  html.garde-sans-titre #garde .garde-appel { left: 5vw; right: auto; bottom: 2.4vh; text-align: left; }
  html.garde-sans-titre #garde .garde-titre { display: block; }
}
#garde .garde-titre { display: none; }
