/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.cab-etiq small { white-space: pre-line; }
.gg-img { display: inline-block; position: relative; flex: 0 0 auto; width: 40px; height: 40px; background: center / contain no-repeat; }
.gg-img:has(img.illu) { background-image: none !important; }
.gg-img img.illu { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; box-shadow: none; margin: 0; background: none; }
.gg-bourse { position: absolute; z-index: 7; left: 9%; right: 9%; top: 14%; max-height: 74%; overflow: hidden; box-sizing: border-box; padding: 14px 18px 16px;
  background: url(interface/menu_parchemin.png?v=7555d478) center / 100% 100% no-repeat; color: #2b1a0e; font: 600 13px/1.2 Alegreya, 'Palatino Linotype', Georgia, serif;
  filter: drop-shadow(0 3px 3px rgba(20, 10, 2, .6)); animation: gg-ouvre .18s ease-out; }
.gg-bourse h3 { margin: 0 0 8px; text-align: center; font: 800 15px/1 Alegreya, Georgia, serif; color: #6e2a0c; letter-spacing: .02em; }
.gg-bourse ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gg-ligne { display: flex; align-items: center; gap: 10px; }
.gg-ligne .gg-img { rotate: var(--r, 0deg); filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .4)); }
.gg-ligne .gg-txt { display: flex; flex-direction: column; min-width: 0; }
.gg-ligne .gg-txt b { font-weight: 800; }
.gg-ligne .gg-txt small { font-style: italic; font-size: 12px; color: #6e2a0c; }
.gg-ligne.caduc { opacity: .62; }
.gg-ligne.caduc .gg-img { filter: grayscale(1) brightness(.85); }
.gg-vide { text-align: center; font-style: italic; }
.gg-ligne.dort { opacity: .78; }
.gg-ligne.dort .gg-img { filter: sepia(.6) brightness(.8); }
.gg-ligne .gg-txt { font-weight: 600; }
.cab.demi .gg-bourse { padding: 10px 12px 12px; font-size: 11.5px; }
.cab.demi .gg-bourse .gg-img { width: 30px; height: 30px; }
#cab-zoom .gg-bourse { font-size: 17px; } #cab-zoom .gg-bourse .gg-img { width: 56px; height: 56px; }
@keyframes gg-ouvre { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.tn-main:has(> .gg-table) { align-items: flex-end; }
.gg-table { position: relative; flex: 0 0 auto; align-self: center; margin-right: 10px; width: 124px; min-height: 112px; box-sizing: border-box; padding: 12px 8px 10px;
  border-radius: 12px 12px 16px 16px; background: radial-gradient(ellipse at 50% 35%, #8a5a30, #5a3417 70%, #3f230e);
  box-shadow: inset 0 0 0 3px rgba(40, 20, 6, .55), inset 0 0 0 5px rgba(214, 168, 96, .35), 3px 6px 0 rgba(0, 0, 0, .45); }
.gg-table::before { content: ''; position: absolute; inset: 7px; border: 2px dashed rgba(226, 184, 116, .45); border-radius: 9px 9px 12px 12px; pointer-events: none; }
.gg-gages { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 4px; }
.gg-gage { position: relative; width: 50px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; rotate: var(--r, 0deg);
  filter: drop-shadow(1px 3px 1px rgba(0, 0, 0, .55)); transition: filter .12s, translate .08s; }
.gg-gage .gg-img { width: 100%; height: 100%; }
.gg-gage.vaut:hover, .gg-gage.vaut:focus-visible { filter: drop-shadow(0 0 1px #fff3c4) drop-shadow(0 0 3px #ffd66e) drop-shadow(0 0 6px rgba(255, 200, 90, .8)); outline: none; z-index: 2; }
.gg-gage.vaut:active { translate: 0 1px; filter: brightness(.86) drop-shadow(0 0 3px #ffd66e); }
.gg-gage:disabled { cursor: default; filter: grayscale(.75) brightness(.7) drop-shadow(1px 3px 1px rgba(0, 0, 0, .5)); }
.sc-carte.gg-ouvre { cursor: pointer; }
.sc-carte.gg-ouvre .sx-zone { position: relative; }
.gg-sur-sceau { position: absolute; z-index: 3; left: 50%; top: 0; width: calc(.3 * var(--cw, 110px)); height: calc(.3 * var(--cw, 110px)); translate: 2% 18%; rotate: -12deg;
  background: center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 0 2px #ffd66e) drop-shadow(1px 3px 1px rgba(0, 0, 0, .5)); }
.gg-sur-sceau:has(img.illu) { background-image: none !important; }
.gg-sur-sceau img.illu { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; box-shadow: none; margin: 0; background: none; }
.sc-carte.gg-ouvre:hover, .sc-carte.gg-ouvre:focus-visible { filter: drop-shadow(0 0 4px rgba(255, 214, 110, .95)) drop-shadow(0 0 10px rgba(233, 196, 106, .6)) drop-shadow(2px 7px 5px rgba(0, 0, 0, .55)); }
.sc-carte.gg-ouvre:active { translate: 0 1px; }
@media (max-width: 1500px) { .gg-table { width: 104px; padding: 10px 8px 8px; margin-right: 14px; } .gg-gage { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .gg-bourse { animation: none; } .gg-gage { transition: none; } }
