/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#ic-ng { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; background: #0a0705;
  opacity: 0; transition: opacity .25s; }
#ic-ng.vu { opacity: 1; }
#ic-ng.part { opacity: 0; transition: opacity .22s; }
#ic-ng .ic-boite { position: relative; container-type: inline-size; flex: none; cursor: default; }
#ic-ng .ic-boite.sur-feu { cursor: pointer; }
#ic-ng .ic-toile { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
#ic-ng .ic-hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
#ic-ng .ic-parole { position: absolute; left: 2.2%; top: 4%; display: flex; align-items: center; gap: .9cqw; pointer-events: none;
  opacity: 0; transform: translateY(-.6cqw); transition: opacity .18s, transform .18s; }
#ic-ng .ic-parole.vu { opacity: 1; transform: none; }
#ic-ng .ic-med { flex: none; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; overflow: hidden; background: #1c2440;
  border: .45cqw solid #c99a3e; box-shadow: 0 0 0 .22cqw #5a3a14, inset 0 0 0 .22cqw #7a5a20, .3cqw .4cqw 0 rgba(0, 0, 0, .5); }
#ic-ng .ic-med img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; image-rendering: pixelated; }
#ic-ng .ic-med .emoji-seul { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3.4cqw; }
#ic-ng .ic-bulle { display: flex; flex-direction: column; max-width: 46cqw; padding: .7cqw 1.4cqw .9cqw; background: #efe2c2; border: .28cqw solid #7a5530;
  box-shadow: inset 0 0 0 .22cqw #efe2c2, inset 0 0 0 .34cqw #b89a66, .3cqw .4cqw 0 rgba(0, 0, 0, .45); transform: rotate(-.6deg); }
#ic-ng .ic-bulle b { font-size: 1.15cqw; color: #8a1e14; }
#ic-ng .ic-bulle q { font-size: 1.45cqw; font-style: italic; line-height: 1.25; color: #2a1608; quotes: none; }
#ic-ng .ic-commandes { position: absolute; left: 2%; right: 2%; bottom: 1.2%; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
#ic-ng .ic-plaque { --s: calc(5.2cqw / 407); position: relative; box-sizing: border-box; width: 16cqw; height: 5.2cqw; pointer-events: auto;
  border-style: solid; border-color: transparent; border-width: calc(100 * var(--s)) calc(170 * var(--s)) calc(66 * var(--s));
  border-image: url(interface/canon_plaque_tir.png?v=abd4ab83) 100 170 66 fill / calc(100 * var(--s)) calc(170 * var(--s)) calc(66 * var(--s)) stretch;
  display: flex; align-items: center; justify-content: center; transform: rotate(-.8deg); filter: drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); transition: filter .12s, transform .08s; }
#ic-ng .ic-mot { display: flex; align-items: center; gap: .6cqw; white-space: nowrap; transform: translateY(-.1cqw); }
#ic-ng .ic-mot kbd { font-family: inherit; font-size: max(12px, .95cqw); font-weight: 700; line-height: 1; padding: .25cqw .6cqw .3cqw; border-radius: .35cqw; color: #3a2412; background: #f1e2bf; box-shadow: 0 .2cqw 0 #6b4a22; }
#ic-ng .ic-mot i { font-style: normal; font-size: 1.7cqw; color: #e8d2a0; }
#ic-ng .ic-mot b { font-size: 1.7cqw; font-weight: 800; line-height: 1; color: #b8a27c; text-shadow: 0 .15cqw 0 #1a0e05; }
#ic-ng .ic-cad { cursor: pointer; }   
#ic-ng .ic-cad.presse { transform: rotate(-.8deg) translateY(.2cqw); }
#ic-ng .ic-cad.attend b { color: #e8d6b0; }
#ic-ng .ic-cad.prete b { color: #ffd23f; }
#ic-ng .ic-cad.prete { filter: drop-shadow(0 0 1cqw rgba(255, 210, 80, .85)) brightness(1.16); }
#ic-ng .ic-cad.eteinte { filter: grayscale(.45) brightness(.72) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#ic-ng .ic-rail { position: absolute; left: calc(-70 * var(--s)); right: calc(-70 * var(--s)); top: calc(-87 * var(--s)); height: calc(13 * var(--s)); pointer-events: none; }
#ic-ng .ic-eau { position: absolute; left: 0; top: 50%; width: calc(100% * var(--av, 0)); height: max(3px, .4cqw); transform: translateY(-50%); border-radius: .3cqw;
  background: repeating-linear-gradient(90deg, #9ad8f0 0 .5cqw, #4a9ac8 .5cqw .8cqw); box-shadow: 0 .1cqw .15cqw rgba(0, 0, 0, .6); }
#ic-ng .ic-gouv { width: 24cqw; cursor: pointer; transform: rotate(.7deg); }
#ic-ng .ic-gouv b { font-size: 1.3cqw; color: #e8d6b0; }
#ic-ng .ic-gouv:hover { filter: brightness(1.12) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#ic-ng .ic-gouv:hover b { color: #fff1d0; }
#ic-ng .ic-gouv.presse { transform: rotate(.7deg) translateY(.25cqw); filter: brightness(.95) drop-shadow(0 .1cqw 0 rgba(0, 0, 0, .55)); }
#ic-ng .ic-plaque.cache { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  #ic-ng, #ic-ng .ic-parole { transition: none; }
}
html.sans-ambiance #ic-ng { transition: none; }
