/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#rp-ng.gn-ng { cursor: pointer; }
#rp-ng.gn-ng .gn-carton { position: absolute; left: 0; right: 0; top: 30%; text-align: center; pointer-events: none; opacity: 0; transform: translateY(1cqw);
  transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1); z-index: 5; }
#rp-ng.gn-ng .gn-carton.vu { opacity: 1; transform: none; }
#rp-ng.gn-ng .gn-carton h2 { margin: 0; font: normal 6.4cqw/1.05 'Pirata One', 'IM Fell English SC', Georgia, serif; color: #ffd86a; letter-spacing: .04em;
  text-shadow: 0 .25cqw 0 #5a2a06, 0 0 1.6cqw rgba(255, 180, 60, .55), 0 .5cqw 1.2cqw rgba(0, 0, 0, .8); }
#rp-ng.gn-ng .gn-carton p { margin: 1.2cqw 0 0; font: italic 600 2cqw/1.2 Alegreya, 'Palatino Linotype', Georgia, serif; color: #f3e6c8; text-shadow: 0 .2cqw .4cqw rgba(0, 0, 0, .9); }
#rp-ng.gn-ng .gn-ardoise { position: absolute; left: 50%; top: 22%; width: 30cqw; aspect-ratio: 240 / 180; margin-left: -15cqw; z-index: 7; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4cqw; box-sizing: border-box; padding: 3cqw;
  background: url(../illustrations/generique/ardoise.webp) center / 100% 100% no-repeat, #1f1d22; image-rendering: pixelated; border-radius: .4cqw;
  box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .7); opacity: 0; transform: translateY(-40cqw) rotate(-6deg); }
#rp-ng.gn-ng .gn-ardoise.vu { opacity: 1; transform: rotate(-2deg); transition: transform .45s cubic-bezier(.2, 1.3, .4, 1), opacity .2s; }
#rp-ng.gn-ng .gn-ardoise.clac { transform: rotate(-2deg) scale(1.06) translateY(.6cqw); transition: transform .06s; }
#rp-ng.gn-ng .gn-ardoise.part { opacity: 0; transform: translateY(30cqw) rotate(8deg); transition: transform .3s ease-in, opacity .3s; }
#rp-ng.gn-ng .gn-prise { font: normal 4.2cqw/1 'Pirata One', 'IM Fell English SC', Georgia, serif; color: #f4f1e6; letter-spacing: .06em;
  text-shadow: 0 0 .15cqw rgba(255, 255, 255, .5), .1cqw .1cqw 0 rgba(255, 255, 255, .15); }
#rp-ng.gn-ng .gn-titre { font: italic 600 1.7cqw/1.15 Alegreya, Georgia, serif; color: #e6e1d2; text-align: center; opacity: .92; }
#rp-ng.gn-ng.bu-ng .rp-parole.droite { left: auto; right: 0; transform: translateX(4cqw); }
#rp-ng.gn-ng.bu-ng .rp-parole.droite.vu { transform: none; }
#rp-ng.gn-ng.bu-ng .rp-parole.droite .rp-med { left: auto; right: -.6cqw; }
#rp-ng.gn-ng.bu-ng .rp-parole.droite .rp-med img { transform: scaleX(-1); animation: none; }
#rp-ng.gn-ng.bu-ng .rp-parole.droite .rp-bulle { left: auto; right: 15cqw; }
#rp-ng.gn-ng.bu-ng .rp-parole.droite .rp-bulle b { left: auto; right: -.4cqw; }
#rp-ng.gn-ng.bu-ng .rp-med.gn-ombre img { filter: brightness(.12) sepia(1) hue-rotate(220deg) saturate(2.2) drop-shadow(0 0 .8cqw rgba(150, 90, 220, .55)); }
#rp-ng.gn-ng.bu-ng .rp-med.gn-oiseau img { object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; -webkit-mask-image: none; mask-image: none; }
#rp-ng.gn-ng .gn-bas { position: absolute; right: 1.2cqw; bottom: 1cqw; display: flex; align-items: center; gap: 1.2cqw; z-index: 8; }
#rp-ng.gn-ng .gn-aide { font: italic 1.15cqw/1 Alegreya, Georgia, serif; color: rgba(243, 230, 200, .55); text-shadow: 0 1px 2px #000; }
#rp-ng.gn-ng .gn-quitter { all: unset; display: flex; align-items: center; gap: .5cqw; cursor: pointer; font: normal clamp(12px, 1.15cqw, 20px)/1 'IM Fell English SC', Georgia, serif;
  color: #f8e9c2; text-shadow: 0 2px 0 #3a1d08, 0 0 3px rgba(0, 0, 0, .7); opacity: .8; transition: opacity .15s, transform .15s; }
#rp-ng.gn-ng .gn-quitter img { width: 3.2cqw; height: 3.2cqw; object-fit: contain; filter: drop-shadow(0 .2cqw .3cqw rgba(0, 0, 0, .6)); }
#rp-ng.gn-ng .gn-quitter:is(:hover, :focus-visible) { opacity: 1; transform: translateY(-1px); }
.registre .gn-vers { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .5em; padding: .25em .9em .3em; margin-top: calc(.6 * var(--u, 8px));
  border-style: solid; border-width: .32em .9em; border-image: url(interface/ui_plaque_chene.png?v=1771689d) 22 44 fill / .32em .9em stretch;
  font: normal calc(1.5 * var(--u, 8px))/1.05 'IM Fell English SC', Georgia, serif; color: #f8e9c2; text-shadow: 0 2px 0 #3a1d08;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); transition: filter .15s, transform .15s; }
.registre .gn-vers:is(:hover, :focus-visible) { filter: drop-shadow(0 0 6px rgba(255, 200, 110, .7)); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  #rp-ng.gn-ng .gn-carton, #rp-ng.gn-ng .gn-ardoise, #rp-ng.gn-ng .gn-ardoise.vu, #rp-ng.gn-ng .gn-ardoise.part { transition: none; }
}
