/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#rp-ng { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; background: #0a0705;
  opacity: 0; transition: opacity .25s; }
#rp-ng.vu { opacity: 1; }
#rp-ng.part { opacity: 0; transition: opacity .22s; }
#rp-ng .rp-boite { position: relative; container-type: inline-size; flex: none; }
#rp-ng .rp-boite.vise { cursor: none; }
#rp-ng .rp-toile { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
#rp-ng .rp-hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
#rp-ng .rp-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; }
#rp-ng .rp-parole.vu { opacity: 1; transform: none; }
#rp-ng .rp-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); }
#rp-ng .rp-med.surpris { transform: scale(1.12); box-shadow: 0 0 0 .22cqw #5a3a14, 0 0 1.4cqw .3cqw rgba(255, 150, 40, .85); transition: transform .12s, box-shadow .12s; }
#rp-ng .rp-med img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; image-rendering: pixelated; }
#rp-ng .rp-med .emoji-seul { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3.4cqw; }
#rp-ng .rp-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); }
#rp-ng .rp-bulle b { font-size: 1.15cqw; color: #8a1e14; }
#rp-ng .rp-bulle q { font-size: 1.45cqw; font-style: italic; line-height: 1.25; color: #2a1608; quotes: none; }
#rp-ng .rp-commandes { position: absolute; left: 2%; right: 2%; bottom: 3%; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
#rp-ng .rp-plaque { --s: calc(6.6cqw / 407); position: relative; box-sizing: border-box; width: 21cqw; height: 6.6cqw; 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; }
#rp-ng .rp-feu { display: flex; align-items: center; gap: .6cqw; white-space: nowrap; transform: translateY(-.1cqw); }
#rp-ng .rp-feu kbd { font-family: inherit; font-size: max(12px, 1.05cqw); font-weight: 700; line-height: 1; padding: .25cqw .6cqw .3cqw; border-radius: .35cqw; color: #3a2412; background: #f1e2bf; box-shadow: 0 .2cqw 0 #6b4a22; }
#rp-ng .rp-feu i { font-style: normal; font-size: 1.7cqw; color: #e8d2a0; }
#rp-ng .rp-feu b { font-size: 2.15cqw; font-weight: 800; line-height: 1; color: #b8a27c; text-shadow: 0 .15cqw 0 #1a0e05; }
#rp-ng .rp-tir { cursor: default; }
#rp-ng .rp-tir.prete b { color: #fff1d0; }
#rp-ng .rp-tir.prete { filter: drop-shadow(0 0 .7cqw rgba(255, 196, 70, .6)) brightness(1.06); }
#rp-ng .rp-tir.vise b { color: #ffd23f; }
#rp-ng .rp-tir.vise { animation: rp-lueur .5s ease-in-out infinite alternate; }
#rp-ng .rp-tir.eteinte { filter: grayscale(.45) brightness(.72) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
@keyframes rp-lueur { from { filter: drop-shadow(0 0 .5cqw rgba(255, 196, 70, .55)) brightness(1.06); } to { filter: drop-shadow(0 0 1.3cqw rgba(255, 214, 90, .9)) brightness(1.16); } }
#rp-ng .rp-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; }
#rp-ng .rp-meche { position: absolute; left: 0; top: 50%; width: calc(100% * var(--reste, 0)); height: max(3px, .4cqw); transform: translateY(-50%); border-radius: .3cqw;
  background: repeating-linear-gradient(115deg, #e0bf86 0 .3cqw, #8a6232 .3cqw .45cqw); box-shadow: 0 .1cqw .15cqw rgba(0, 0, 0, .6); display: none; }
#rp-ng .rp-tir.brule .rp-meche { display: block; }
#rp-ng .rp-flamme { position: absolute; right: -.7cqw; top: 50%; width: 1.4cqw; height: 2cqw; transform: translateY(-72%); border-radius: 50% 50% 45% 45%;
  background: radial-gradient(ellipse at 50% 72%, #fffbe0 0 16%, #ffd24a 34%, rgba(255, 128, 30, .8) 58%, rgba(255, 80, 0, 0) 74%); mix-blend-mode: screen;
  animation: rp-flamme .14s steps(2) infinite alternate; }
#rp-ng .rp-flamme b { position: absolute; left: 45%; top: 30%; width: .26cqw; height: .26cqw; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 .25cqw #ff9a2a; opacity: 0;
  animation: rp-etincelle .7s linear infinite; }
#rp-ng .rp-flamme b:nth-child(2) { animation-delay: .23s; --dx: -.9cqw; }
#rp-ng .rp-flamme b:nth-child(3) { animation-delay: .47s; --dx: .7cqw; }
@keyframes rp-flamme { from { transform: translateY(-72%) scale(1, 1); } to { transform: translateY(-76%) scale(.86, 1.12); } }
@keyframes rp-etincelle { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx, .3cqw), -2cqw); } }
#rp-ng .rp-tir { border-image: none; border: 0; width: 23cqw; height: auto; padding: 0; flex-direction: column; gap: .5cqw; transform: none; filter: none; cursor: default; }
#rp-ng .rp-tir .rp-rail { position: relative; left: auto; right: auto; top: auto; width: 100%; height: .9cqw; border-radius: .45cqw;
  background: linear-gradient(180deg, #f3dc9a 0, #c09040 45%, #6e4a18 100%); box-shadow: 0 .15cqw 0 #2a1606, 0 0 0 .12cqw #2a1606; }
#rp-ng .rp-tir .rp-meche { height: .45cqw; }
#rp-ng .rp-tir .rp-feu { transform: none; gap: .7cqw; padding: .15cqw .9cqw .25cqw; background: radial-gradient(ellipse at 50% 55%, rgba(10, 6, 3, .6), rgba(10, 6, 3, 0) 72%); }
#rp-ng .rp-tir .rp-feu b { font-size: 1.9cqw; letter-spacing: .02em; text-shadow: 0 .15cqw 0 #1a0e05, 0 0 .6cqw rgba(0, 0, 0, .8); }
#rp-ng .rp-mire { position: relative; flex: none; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; box-sizing: border-box; border: .22cqw solid currentColor; color: #c9a85a; filter: drop-shadow(0 .12cqw 0 #1a0e05); }
#rp-ng .rp-mire::before, #rp-ng .rp-mire::after { content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; translate: -50% -50%; }
#rp-ng .rp-mire::before { width: .2cqw; height: 2.5cqw; }
#rp-ng .rp-mire::after { width: 2.5cqw; height: .2cqw; }
#rp-ng .rp-tir.prete, #rp-ng .rp-tir.vise { animation: none; filter: none; }
#rp-ng .rp-tir.prete .rp-mire { color: #ffd23f; animation: rp-mire 1.2s ease-in-out infinite alternate; }
#rp-ng .rp-tir.eteinte { filter: grayscale(.5) brightness(.75); }
#rp-ng .rp-tir.refus { animation: rp-refus .4s ease-in-out; }
@keyframes rp-mire { from { scale: 1; } to { scale: 1.18; } }
@keyframes rp-refus { 0%, 100% { translate: 0 0; } 25% { translate: -.4cqw 0; } 50% { translate: .35cqw 0; } 75% { translate: -.2cqw 0; } }
#rp-ng .rp-quand { font-size: max(13px, 1.15cqw); font-style: italic; font-weight: 700; color: #7a1a10; letter-spacing: .02em; }
#rp-ng .rp-effet { display: flex; align-items: center; justify-content: center; gap: .35cqw; min-height: 3.4cqw; }
#rp-ng .rp-effet img { height: 2.6cqw; width: auto; image-rendering: pixelated; filter: drop-shadow(0 .1cqw 0 rgba(0, 0, 0, .35)); display: block; }
#rp-ng .rp-c { position: relative; display: block; }
#rp-ng .rp-c.rp-barre img { opacity: .45; }
#rp-ng .rp-c svg { position: absolute; inset: -6% -4%; width: 108%; height: 112%; overflow: visible; }
#rp-ng .rp-c svg path { fill: none; stroke: #b0201a; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-width: .38cqw; filter: drop-shadow(0 0 .06cqw #3a0a06); }
#rp-ng .rp-mini { position: relative; width: 6cqw; height: 1.2cqw; border-radius: .6cqw; background: #2a140c; box-shadow: 0 0 0 .15cqw #7a5530; overflow: hidden; display: flex; }
#rp-ng .rp-mini i { flex: 1; }
#rp-ng .rp-mini .perdu { background: linear-gradient(180deg, #e0483a, #7a1a10); }
#rp-ng .rp-mini .sauve { background: repeating-linear-gradient(135deg, #6aa84a 0 .3cqw, #3d6a2a .3cqw .6cqw); }
#rp-ng .rp-effet-jauge em { font-size: 1.2cqw; font-weight: 800; font-style: normal; color: #3d6a2a; }
#rp-ng .rp-ordres.vu .rp-carte.conseil { box-shadow: inset 0 0 0 .3cqw #efe2c2, inset 0 0 0 .45cqw #b89a66, 0 0 1.4cqw .3cqw rgba(255, 206, 80, .85), .35cqw .45cqw 0 rgba(0, 0, 0, .45); }
#rp-ng .rp-jauge-apercu { position: absolute; top: 0; bottom: 0; display: none; }
#rp-ng .rp-jauge-apercu.vu { display: block; left: calc(100% * (var(--f, 1) - var(--un, .1))); width: calc(100% * var(--un, .1)); animation: rp-apercu .7s ease-in-out infinite alternate;
  background: rgba(255, 60, 40, .8); box-shadow: inset 0 0 0 .1cqw #ffd0b0; }
#rp-ng .rp-jauge-apercu.vu.porte { background: linear-gradient(90deg, transparent 0 50%, rgba(255, 60, 40, .85) 50%), repeating-linear-gradient(135deg, rgba(120, 200, 90, .9) 0 .3cqw, rgba(40, 90, 30, .9) .3cqw .6cqw); }
@keyframes rp-apercu { from { opacity: .55; } to { opacity: 1; } }
#rp-ng .rp-gouv { width: 31cqw; cursor: pointer; transform: rotate(.7deg); }
#rp-ng .rp-gouv b { font-size: 1.5cqw; color: #e8d6b0; }
#rp-ng .rp-gouv:hover { filter: brightness(1.12) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#rp-ng .rp-gouv:hover b { color: #fff1d0; }
#rp-ng .rp-gouv.presse { transform: rotate(.7deg) translateY(.25cqw); filter: brightness(.95) drop-shadow(0 .1cqw 0 rgba(0, 0, 0, .55)); }
#rp-ng .rp-plaque.cache { visibility: hidden; }
#rp-ng.suivi .rp-commandes { visibility: hidden; }
#rp-ng .rp-ordres { position: absolute; left: 50%; top: 30%; display: flex; gap: 3cqw; transform: translateX(-50%); pointer-events: none; }
#rp-ng .rp-carte { position: relative; width: 17cqw; min-height: 17cqw; box-sizing: border-box; padding: 1.4cqw 1.4cqw 3.2cqw; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .7cqw; text-align: center;
  background: #efe2c2; border: .35cqw solid #7a5530; box-shadow: inset 0 0 0 .3cqw #efe2c2, inset 0 0 0 .45cqw #b89a66, .35cqw .45cqw 0 rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(6cqw) rotate(-3deg); transition: transform .3s cubic-bezier(.2, .8, .3, 1.2), opacity .22s, visibility .22s, filter .12s; }
#rp-ng .rp-carte + .rp-carte { transform: translateY(6cqw) rotate(2.4deg); transition-delay: .06s; }
#rp-ng .rp-ordres.vu { pointer-events: auto; }
#rp-ng .rp-ordres.vu .rp-carte { opacity: 1; visibility: visible; transform: rotate(-3deg); }
#rp-ng .rp-ordres.vu .rp-carte + .rp-carte { transform: rotate(2.4deg) translateY(.8cqw); }
#rp-ng .rp-ordres.vu .rp-carte:hover { transform: rotate(0) translateY(-.8cqw); filter: brightness(1.06); }
#rp-ng .rp-ordres.vu .rp-carte.presse { transform: rotate(0) translateY(.4cqw); filter: brightness(.94); }
#rp-ng .rp-carte-ico { width: 5.4cqw; height: 5.4cqw; object-fit: contain; filter: drop-shadow(0 .2cqw .2cqw rgba(0, 0, 0, .35)); }
#rp-ng .rp-carte b { font-size: 1.75cqw; font-weight: 800; line-height: 1.1; color: #2e1d0e; }
#rp-ng .rp-carte i { font-size: 1.2cqw; line-height: 1.3; color: #5a3e22; }
#rp-ng .rp-cire { position: absolute; right: .8cqw; bottom: .6cqw; width: 2.8cqw; height: 2.8cqw; background: center / contain no-repeat; image-rendering: pixelated; }
@media (prefers-reduced-motion: reduce) {
  #rp-ng, #rp-ng .rp-parole, #rp-ng .rp-carte { transition: none; }
  #rp-ng .rp-flamme, #rp-ng .rp-flamme b, #rp-ng .rp-tir.vise { animation: none; }
}
html.sans-ambiance #rp-ng, html.sans-ambiance #rp-ng .rp-carte { transition: none; }
#rp-ng .rp-jauge { position: absolute; right: 1.6cqw; top: 4.4cqw; width: 27cqw; height: 3.8cqw; pointer-events: none; z-index: 3; }
#rp-ng.suivi .rp-jauge { visibility: hidden; }
#rp-ng .rp-jauge-tour { position: absolute; left: 0; top: 50%; height: 4.6cqw; width: auto; transform: translateY(-58%); filter: drop-shadow(0 .2cqw .25cqw rgba(0, 0, 0, .7)); z-index: 2; }
#rp-ng .rp-jauge-barre { position: absolute; left: 3cqw; right: 0; top: 0; height: 3.7cqw; background: url(interface/canon_barre_jauge.png?v=4c33a047) center / 100% 100% no-repeat;
  filter: drop-shadow(0 .25cqw .3cqw rgba(0, 0, 0, .6)); }
#rp-ng .rp-jauge-rainure { position: absolute; left: 14.5%; right: 14.5%; top: 29%; bottom: 29%; border-radius: .9cqw; overflow: hidden; background: #2a140c; }
#rp-ng .rp-jauge-rempli { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% * var(--f, 1)); transition: width .45s ease-out, filter .3s; border-radius: 0 .9cqw .9cqw 0;
  background: repeating-linear-gradient(90deg, var(--c1) 0 1.1cqw, var(--c2) 1.1cqw 1.25cqw);
  box-shadow: inset 0 .25cqw .15cqw rgba(255, 255, 220, .45), inset 0 -.3cqw .25cqw rgba(0, 0, 0, .45); --c1: #7cc24a; --c2: #3f6a22; }
#rp-ng .rp-jauge.moyenne .rp-jauge-rempli { --c1: #f0a43a; --c2: #8a5410; }
#rp-ng .rp-jauge.basse .rp-jauge-rempli { --c1: #e0483a; --c2: #7a1a10; }
#rp-ng .rp-jauge-nom { position: absolute; left: 50%; top: 100%; transform: translate(-40%, -.3cqw) rotate(-1deg); padding: .1cqw .9cqw .2cqw; white-space: nowrap;
  font-size: 1.35cqw; font-weight: 800; color: #3a2412; background: #f1e2bf; box-shadow: 0 .15cqw .3cqw rgba(0, 0, 0, .6); }
#rp-ng .rp-jauge.touchee { animation: rp-jauge-coup .45s steps(6) both; }
#rp-ng .rp-jauge.touchee .rp-jauge-rempli { filter: brightness(1.6) saturate(1.4); }
#rp-ng .rp-jauge.prise .rp-jauge-tour { filter: grayscale(1) brightness(.6) drop-shadow(0 .2cqw .25cqw rgba(0, 0, 0, .7)); }
@keyframes rp-jauge-coup { 0% { translate: 0 0; } 20% { translate: -.35cqw .1cqw; } 40% { translate: .3cqw -.1cqw; } 60% { translate: -.2cqw 0; } 80% { translate: .15cqw 0; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { #rp-ng .rp-jauge.touchee { animation: none; } }
#rp-ng .rd-icone.rp-regle-ico { left: 1.6cqw; bottom: 10cqw; width: 3.4cqw; height: 3.4cqw; }
#rp-ng .rd-icone.rp-regle-ico img { inset: 12%; width: 76%; height: 76%; }
