/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.sx-zone { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: auto 0 0; min-width: 0; }
.sx { position: relative; display: block; width: var(--sx-d, 44px); height: var(--sx-d, 44px); flex: 0 0 auto; }
.sc-carte .sx { --sx-d: calc(.4 * var(--cw, 110px)); }
.sx > .sx-cire { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .45)); }
.sx.sx-loin > .sx-cire { filter: saturate(.7) brightness(.82) drop-shadow(1px 2px 1px rgba(0, 0, 0, .45)); }
.sx.sx-presque > .sx-cire { filter: saturate(1.15) brightness(1.08) drop-shadow(0 0 4px rgba(255, 140, 90, .55)) drop-shadow(1px 2px 1px rgba(0, 0, 0, .45)); }
.sx > .sx-prix { position: absolute; right: -38%; top: -14%; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px 1px 2px; border-radius: 9px;
  background: #f3e3bd; box-shadow: 0 0 0 1px #8a6a3a, 0 1px 2px rgba(0, 0, 0, .4); font: 700 11px/1.1 Alegreya, Georgia, serif; color: #3b2612; white-space: nowrap; }
.sx > .sx-prix img { width: 13px; height: 13px; }
.sx > .sx-prix.manque { color: #8f1c12; }
.sx-icos { display: flex; gap: 4px; justify-content: center; }
.sx-ico { width: 18px; height: 18px; object-fit: contain; filter: grayscale(1) sepia(.35) brightness(.7) contrast(1.3); opacity: .85; }
.sc-carte .sx-ico { width: calc(.16 * var(--cw, 110px)); height: calc(.16 * var(--cw, 110px)); }
.sx-ico.dore { filter: drop-shadow(0 0 2px rgba(255, 210, 110, .9)); opacity: 1; }
.sx-phrase { display: block; overflow-wrap: break-word; text-align: center; font: italic 600 11.5px/1.12 Alegreya, Georgia, serif; color: #6e2a0c; padding: 0 2px; }
.sc-carte .sx-phrase { font-size: calc(.098 * var(--cw, 110px)); line-height: 1.08; }
.scene-d .sc-carte .sx-phrase { color: #f0c9a0; }
.sx-zone.sx-sur { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; }
.sx.sx-craque { animation: sx-saute .25s ease-out .2s both; }
@keyframes sx-saute { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .sx.sx-craque { animation: none; display: none; } }
.sx-ligne { display: flex !important; align-items: center; gap: 8px; }
.sx-ligne .sx-zone { flex-direction: row; gap: 6px; margin: 0; }
.sx-ligne .sx { --sx-d: 30px; }
.sx-ligne .sx-phrase { text-align: left; }
.ic-raison.sx-mini .sx-zone { gap: 0; }
.ic-raison.sx-mini .sx { --sx-d: 26px; }
.ic-raison.sx-mini .sx-icos { display: none; }
.ic-raison.sx-mini .sx-phrase { font-size: 10px; }
.au-rail .sx-but { position: absolute; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.au-rail .sx-but img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.au-rail .sx-but::before { content: ''; position: absolute; left: 50%; top: -60%; bottom: -60%; width: 2px; transform: translateX(-50%); background: #f2cf7a; box-shadow: 0 0 2px #000; z-index: -1; }
.livre .lq-sceau.sx-loin, .livre .lq-sceau.sx-presque { position: relative; }
.livre .lq-sceau.sx-presque > img:first-child { filter: brightness(1.15) saturate(1.2) drop-shadow(0 0 4px rgba(255, 140, 90, .55)); }
.livre .lq-sceau.sx-presque::after { content: ''; position: absolute; top: 0; left: 58%; width: 34%; aspect-ratio: 1; background: url(interface/sceau_lame_fele.png?v=cb704510) center / contain no-repeat;
  image-rendering: pixelated; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.livre .lq-sceau .sx-zone { margin-top: 2px; }
.livre .lq-sceau .sx-phrase { color: #6e2a0c; font-size: calc(.95 * var(--u, 10px)); }
.livre .lq-sceau .sx-ico { width: calc(1.3 * var(--u, 10px)); height: calc(1.3 * var(--u, 10px)); }
.salle .ev-raison.sx-ev { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.salle .ev-raison.sx-ev .sx { --sx-d: 34px; }
.salle .ev-raison.sx-ev .sx-phrase { color: #f3e3bd; text-shadow: 0 1px 2px #000; width: 118px; max-width: 118px; font-size: 11px; }
.salle .ev-raison.sx-ev { max-width: 124px; white-space: normal !important; }
.salle.audience .sc-carte.sx-carte > .sx-zone { gap: 0; margin: auto 0 calc(.04 * var(--ch, 150px)); }
.salle.audience .sc-carte.sx-carte .sx { --sx-d: calc(.3 * var(--cw, 110px)); }
.salle.audience .sc-carte.sx-carte .sx-ico { width: calc(.12 * var(--cw, 110px)); height: calc(.12 * var(--cw, 110px)); }
.salle.audience .sc-carte.sx-carte .sx-phrase { font-size: calc(.088 * var(--cw, 110px)); line-height: 1.1; }
html #modal-box .sc-carte > .sc-jeton .sc-jeton-mot { margin-left: .28em; font-size: .74em; font-weight: 600; font-style: italic; letter-spacing: .01em; opacity: .9; }
html #modal-box .sc-carte > .sc-jeton.sc-jeton-caution { background: #e6e1d2; color: #2f3a46; box-shadow: inset 0 0 0 1.5px #5d6f80, 0 1px 3px rgba(58, 34, 16, .45); }
html #modal-box .sc-carte > .sc-jeton.sc-jeton-pret { background: #e4ecc9; color: #2c4a17; box-shadow: inset 0 0 0 1.5px #5d8a3a, 0 1px 3px rgba(58, 34, 16, .45); }
html #modal-box .sc-carte > .sc-jeton.sc-jeton-mise { background: #f1d9bf; color: #5a2a0c; box-shadow: inset 0 0 0 1.5px #a0592a, 0 1px 3px rgba(58, 34, 16, .45); }
html #modal-box .sc-carte > .sc-jeton.sc-jeton-terme { box-shadow: inset 0 0 0 1.5px #a8823f, 0 1px 3px rgba(58, 34, 16, .45); background: repeating-linear-gradient(135deg, #f6e7c1 0 6px, #efdcae 6px 9px); }
html #modal-box .sc-carte > .sc-jeton.manque .sc-jeton-mot { color: #a3191a; }
#escale.plein:not(.canonnade) .escale-nom { left: 0; right: 0; bottom: 1.4cqh; height: auto; width: min(76cqw, 124cqh); margin: 0 auto; padding: 1.2cqh 5cqh 1.5cqh;
  justify-content: center; background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; color: #2b1a0e; filter: drop-shadow(0 .5cqh .8cqh rgba(0, 0, 0, .6)); }
#escale.plein:not(.canonnade) .escale-nom b { color: #7a1d10; text-shadow: none; font-size: 3.7cqh; }
#escale.plein:not(.canonnade) .escale-nom span { color: #2b1a0e; text-shadow: none; font-style: italic; }
#escale.plein:not(.canonnade) .escale-nom .escale-nouvelle { color: #6a2c12; text-shadow: none; }
#terre .terre-nom { padding: 14px 44px 16px; background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; color: #2b1a0e; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
#terre .terre-nom b { color: #7a1d10; text-shadow: none; }
#terre .terre-nom span { color: #2b1a0e; text-shadow: none; font-style: italic; }
.salle.audience .sc-carte > .sc-sous { display: block; max-width: 86%; margin: calc(.02 * var(--ch, 150px)) auto 0; font-size: max(11px, calc(.085 * var(--cw, 110px)));
  line-height: 1.1; font-style: italic; color: #4a2a12; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.salle.audience .sc-carte:has(> .sc-sous) > .sc-ico { margin-bottom: 0; }
.salle.audience .sc-carte:has(> .sc-jeton) > .sc-sous { margin-bottom: calc(.13 * var(--ch, 150px)); }
.demo-bureau .df-jetons .aa-jeton .df-mot { margin-left: .6cqh; font-size: 2.1cqh; font-style: italic; opacity: .85; }
