/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche,
html:not(.mobile) #modal-box .regate-intro .btn,
html:not(.mobile) #modal-box .regate .btn {
  --s: calc(var(--h, 50px) / 407); box-sizing: border-box; min-height: var(--h, 50px); min-width: 0 !important; margin: 0; padding: 0 4px 1px !important; cursor: pointer;
  border-style: solid !important; border-color: transparent !important; border-radius: 0 !important;
  border-width: calc(100 * var(--s)) calc(170 * var(--s)) calc(66 * var(--s)) !important;
  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 !important;
  background: none !important; box-shadow: none !important; outline: 0 !important;
  font-family: Alegreya, 'Palatino Linotype', Georgia, serif; font-weight: 800; line-height: 1.05; color: #f3e6c8;
  text-shadow: 0 2px 0 #1a0e05, 1px 0 0 #1a0e05, -1px 0 0 #1a0e05, 0 0 5px rgba(0, 0, 0, .6);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: filter .15s, transform .15s; animation: none; }
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche:hover, html:not(.mobile) #modal-box .face-a-face .btn.ff-planche:focus-visible,
html:not(.mobile) #modal-box .regate-intro .btn:hover:not([disabled]), html:not(.mobile) #modal-box .regate-intro .btn:focus-visible,
html:not(.mobile) #modal-box .regate .btn:hover:not([disabled]) {
  color: #fff1d0; transform: rotate(0deg) translateY(calc(var(--y, 0px) - 2px));
  filter: drop-shadow(0 0 8px rgba(255, 196, 70, .75)) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)) brightness(1.08); }
html:not(.mobile) #modal-box .regate-intro .btn[disabled], html:not(.mobile) #modal-box .regate .btn[disabled] {
  cursor: default; color: #cbb694; filter: grayscale(.45) brightness(.72) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
html:not(.mobile) #modal-box .regate-intro .btn img.emo, html:not(.mobile) #modal-box .regate .btn img.emo {
  filter: drop-shadow(1px 0 0 #1a0e05) drop-shadow(-1px 0 0 #1a0e05) drop-shadow(0 1px 0 #1a0e05) drop-shadow(0 -1px 0 #1a0e05) !important; }
html:not(.mobile) #modal-box .regate .btn kbd, html:not(.mobile) #modal-box .regate-intro kbd {
  font-family: inherit; font-size: 11.5px; font-weight: 700; line-height: 1; padding: 2px 5px 3px; margin-left: 3px; border: 0; border-radius: 4px; color: #3a2412 !important; background: #f1e2bf;
  text-shadow: none; box-shadow: 0 2px 0 #6b4a22, 0 3px 3px rgba(0, 0, 0, .45); }
html:not(.mobile) #modal-box .regate .btn.danger, html:not(.mobile) #modal-box .regate .btn.danger:hover,
html:not(.mobile) #modal-box .regate-intro > .boutons .btn {
  --h: 44px; font-size: 13.5px; font-weight: 700; color: #cdb48e !important; text-shadow: 0 1px 0 #120a04 !important; animation: none !important;
  filter: saturate(.5) brightness(.7) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
html:not(.mobile) #modal-box .regate .btn.danger:hover, html:not(.mobile) #modal-box .regate-intro > .boutons .btn:hover {
  color: #f6dcc4 !important; filter: saturate(.65) brightness(.88) drop-shadow(0 0 6px rgba(200, 80, 50, .55)) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
html:not(.mobile) #modal-box .regate .btn.danger img.emo, html:not(.mobile) #modal-box .regate-intro > .boutons .btn img.emo { width: 20px; height: 20px; }
html:not(.mobile) #modal-box .face-a-face .ff-actions { gap: 22px; padding: 6px 24px 8px; align-items: center; }
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche { --h: 80px; height: var(--h); justify-content: center; gap: 12px; font-size: 22px; }
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche:nth-child(1) { --r: -1deg; }
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche:nth-child(2) { --r: .7deg; --y: 2px; }
html:not(.mobile) #modal-box .face-a-face .btn.ff-planche:nth-child(3) { --r: -.5deg; --y: -1px; }
html:not(.mobile) #modal-box .face-a-face .ff-planche img { width: 42px; height: 42px; flex: none; filter: brightness(1.18) drop-shadow(0 2px 1px rgba(0, 0, 0, .6)); }
html:not(.mobile) #modal-box .face-a-face .ff-planche span { gap: 3px; }
html:not(.mobile) #modal-box .face-a-face .ff-passer { color: #e2cfa6; }
html:not(.mobile) #modal-box .face-a-face .ff-planche .ff-pieces { gap: 4px; margin: 0; }
html:not(.mobile) #modal-box .face-a-face .ff-planche .ff-pieces img { width: 19px; height: 19px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
html:not(.mobile) #modal-box .face-a-face .ff-planche .ff-pieces img[src*="piece_vide"] { filter: grayscale(1) brightness(.62) contrast(1.1); opacity: .7; }
html #modal-box > .face-a-face { container-type: inline-size; gap: 6px; }
html #modal-box .face-a-face .ff-scene { border: 3px solid #8a6a3a; outline: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .6); }
.face-a-face .ff-hud { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 1.2cqw; padding: .4cqw .4cqw 0;
  font-family: Alegreya, 'Palatino Linotype', Georgia, serif; color: #f3e6c8; }
.face-a-face .ff-cote { position: relative; height: 12.2cqw; min-width: 0; }
.face-a-face .ff-roue { position: absolute; top: 0; width: 9.6cqw; aspect-ratio: 420 / 428; filter: drop-shadow(0 .3cqw .4cqw rgba(0, 0, 0, .6)); }
.face-a-face .ff-c-moi .ff-roue { left: 0; transform: rotate(-2deg); }
.face-a-face .ff-c-lui .ff-roue { right: 0; transform: rotate(1.5deg); }
.face-a-face .ff-roue-img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.face-a-face .ff-disque { position: absolute; z-index: 1; left: 27%; top: 26.6%; width: 46%; height: 45.2%; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #2c3a66, #141c38); box-shadow: inset 0 0 0 .2cqw #6e4a14, inset 0 .3cqw .6cqw rgba(0, 0, 0, .6); }
.face-a-face .ff-visage { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.face-a-face .ff-pavillon { width: 74%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 .15cqw .2cqw rgba(0, 0, 0, .6)); }
.face-a-face .ff-barre { position: absolute; top: 1.4cqw; height: 3.3cqw; aspect-ratio: 780 / 110; background: url(interface/canon_barre_jauge.png?v=4c33a047) center / 100% 100% no-repeat;
  filter: drop-shadow(0 .25cqw .3cqw rgba(0, 0, 0, .55)); }
.face-a-face .ff-c-moi .ff-barre { left: 7cqw; }
.face-a-face .ff-c-lui .ff-barre { right: 7cqw; }
.face-a-face .ff-rainure { position: absolute; left: 14.5%; right: 14.5%; top: 29%; bottom: 29%; border-radius: .9cqw; overflow: hidden; background: #2a140c; }
.face-a-face .ff-corde { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% * var(--f, 1)); border-radius: 0 .9cqw .9cqw 0;
  background: repeating-linear-gradient(118deg, #d8443a 0 .42cqw, #a02420 .42cqw .62cqw, #6e1412 .62cqw .7cqw);
  box-shadow: inset 0 .25cqw .15cqw rgba(255, 190, 170, .45), inset 0 -.3cqw .25cqw rgba(60, 0, 0, .55); }
.face-a-face .ff-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.6cqw; font-weight: 800; line-height: 1; color: #fff3d6;
  text-shadow: 0 .1cqw 0 #1a0e05, .1cqw 0 0 #1a0e05, -.1cqw 0 0 #1a0e05, 0 -.1cqw 0 #1a0e05, 0 0 .4cqw rgba(0, 0, 0, .7); }
.face-a-face .ff-nom { position: absolute; top: 4.6cqw; filter: drop-shadow(0 .25cqw .3cqw rgba(0, 0, 0, .5)); }
.face-a-face .ff-c-moi .ff-nom { left: 9.4cqw; }
.face-a-face .ff-c-lui .ff-nom { right: 9.4cqw; }
.face-a-face .ff-nom span, .face-a-face .ff-ruban span { display: block; white-space: nowrap; font-weight: 800; color: #3b2612;
  background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0; box-shadow: inset 0 .2cqw 0 rgba(255, 248, 225, .7), inset 0 -.2cqw 0 rgba(120, 85, 40, .45); }
.face-a-face .ff-nom span { padding: .25cqw 1.9cqw .35cqw 1.6cqw; font-size: 1.65cqw; }
.face-a-face .ff-c-moi .ff-nom span { clip-path: polygon(0 0, 100% 0, calc(100% - 1.1cqw) 50%, 100% 100%, 0 100%); }
.face-a-face .ff-c-lui .ff-nom span { padding: .25cqw 1.6cqw .35cqw 1.9cqw; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 1.1cqw 50%); }
.face-a-face .ff-etiq { position: absolute; top: 7.75cqw; display: flex; flex-wrap: wrap; gap: .45cqw .6cqw; width: 24cqw; }
.face-a-face .ff-c-moi .ff-etiq { left: 10cqw; }
.face-a-face .ff-c-lui .ff-etiq { right: 10cqw; justify-content: flex-end; }
.face-a-face .ff-etiq > span { padding: .15cqw .7cqw .2cqw; font-size: 1.4cqw; line-height: 1.25; color: #3b2612; white-space: nowrap;
  background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #e4d0a2; box-shadow: 0 .2cqw .35cqw rgba(0, 0, 0, .5), inset 0 0 0 .08cqw rgba(120, 85, 40, .5); transform: rotate(-.8deg); }
.face-a-face .ff-etiq > span:nth-child(2) { transform: rotate(.7deg) translateY(.1cqw); }
.face-a-face .ff-etiq > span:nth-child(3) { transform: rotate(-.4deg); }
.face-a-face .ff-etiq > span.ff-cout { margin: 0; padding: .15cqw .7cqw .2cqw 2cqw; font-size: 1.2cqw; color: #fff3e0; border-radius: 0;
  background: #8a1f17 url(interface/kit_sceau_dur.png?v=5f697817) .35cqw 50% / 1.4cqw no-repeat; box-shadow: 0 .2cqw .35cqw rgba(0, 0, 0, .5), inset 0 0 0 .08cqw #e0a07a; }
.face-a-face .ff-etiq i { font-style: normal; font-weight: 700; }
.face-a-face .ff-centre { display: flex; flex-direction: column; align-items: center; gap: .7cqw; padding-top: .6cqw; width: 28cqw; }
.face-a-face .ff-ruban { filter: drop-shadow(0 .3cqw .35cqw rgba(0, 0, 0, .55)); transform: rotate(-.5deg); }
.face-a-face .ff-ruban span { padding: .35cqw 3cqw .45cqw; font-size: 2cqw; clip-path: polygon(0 0, 100% 0, calc(100% - 1.4cqw) 50%, 100% 100%, 0 100%, 1.4cqw 50%); }
.face-a-face .ff-ruban i { font-style: normal; }
html #modal-box .face-a-face .ff-jauge { width: 22cqw; height: 1.1cqw; margin: .2cqw 0; border: .2cqw solid #b08a4a; border-radius: .6cqw; box-shadow: 0 .2cqw .3cqw rgba(0, 0, 0, .6), inset 0 .1cqw .2cqw rgba(0, 0, 0, .4); }
html #modal-box .face-a-face .ff-jauge i { top: -.55cqw; height: 1.9cqw; width: .45cqw; background: #f3e6c8; border: .1cqw solid #2b1a0e; }
.face-a-face .ff-centre .ff-etiq { position: static; width: auto; justify-content: center; }
.face-a-face .ff-centre .ff-etiq > span { font-size: 1.4cqw; transform: rotate(.6deg); }
.face-a-face .ff-centre .ff-etiq.regles-couverture { flex-direction: column; align-items: center; width: 28cqw; }
.face-a-face .ff-centre .ff-etiq.regles-couverture > span { white-space: normal; text-align: center; max-width: 28cqw; box-sizing: border-box; font-size: 1.25cqw; }
.face-a-face i.bon { color: #2f7a2a; } .face-a-face i.moyen { color: #9a6a08; } .face-a-face i.mal { color: #a8281d; }
html:not(.mobile) #modal:has(> #modal-box > .regate-intro), html:not(.mobile) #modal:has(> #modal-box > .regate), html:not(.mobile) #modal:has(> #modal-box > .face-a-face) { background: rgba(4, 8, 16, .88); }
html:not(.mobile) #modal:not(.accueil) > #modal-box:has(> .regate-intro), html:not(.mobile) #modal:not(.accueil) > #modal-box:has(> .regate),
html:not(.mobile) #modal:not(.accueil) > #modal-box:has(> .face-a-face) {
  border: 3px solid #8a6a3a !important; border-image: none !important; border-radius: 0 !important;
  background: radial-gradient(ellipse at 50% -10%, #2c1e12 0%, #170f09 55%, #0e0906 100%) !important; box-shadow: 0 10px 40px rgba(0, 0, 0, .7) !important; color: #f3e6c8; }
html:not(.mobile) #modal:not(.accueil) > #modal-box.large:has(> .regate #regate-canvas) { width: max(min(1440px, 94vw), min(calc((100vh - 240px) * 1.837 + 270px), 96vw)); }
html:not(.mobile) #modal:not(.accueil) > #modal-box > .regate-intro, html:not(.mobile) #modal:not(.accueil) > #modal-box > .regate,
html:not(.mobile) #modal:not(.accueil) > #modal-box > .face-a-face {
  border: 0 !important; border-image: none !important; background: none !important; padding: 4px 6px !important; color: #f3e6c8; font-family: Alegreya, 'Palatino Linotype', Georgia, serif; }
html:not(.mobile) #modal-box > .regate-intro > h2 { display: table; margin: 0 auto 12px; padding: 5px 40px 7px; font-family: Alegreya, Georgia, serif; font-size: 25px; font-weight: 800; line-height: 1.1;
  color: #3b2612; text-shadow: none; background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .55));
  box-shadow: inset 0 3px 0 rgba(255, 248, 225, .7), inset 0 -3px 0 rgba(120, 85, 40, .45); transform: rotate(-.6deg); }
html:not(.mobile) #modal-box > .regate-intro > h2 img.emo { width: 30px; height: 30px; vertical-align: -6px; }
html:not(.mobile) #modal-box .regate-intro .illu.illu-entiere { border: 3px solid #8a6a3a !important; border-image: none !important; border-radius: 0 !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .6) !important; }
html:not(.mobile) #modal-box .regate-intro .regles-regate { color: #f3e6c8; font-size: 15px; }
html:not(.mobile) #modal-box .regate-intro .regles-regate b { color: #f2d58a; }
html:not(.mobile) #modal-box .regate-intro p.muet, html:not(.mobile) #modal-box .regate-intro .regate-gains { color: #d8c49c; }
html:not(.mobile) #modal-box .regate-intro h4 { margin: 12px 0 5px; font-family: Alegreya, Georgia, serif; font-size: 16px; font-weight: 800; color: #e8c46a; text-shadow: 0 2px 2px rgba(0, 0, 0, .7); }
html:not(.mobile) #modal-box .regate-intro .regate-champ, html:not(.mobile) #modal-box .regate-intro .regate-lettre {
  border: 0; border-radius: 0; color: #3b2612; background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(120, 85, 40, .45); }
html:not(.mobile) #modal-box .regate-intro .regate-champ { transform: rotate(-.5deg); }
html:not(.mobile) #modal-box .regate-intro .regate-lettre { transform: rotate(.45deg); }
html:not(.mobile) #modal-box .regate-intro .boutons-ligne { gap: 10px; align-items: center; }
html:not(.mobile) #modal-box .regate-intro .boutons-ligne .btn { --h: 50px; font-size: 15px; }
html:not(.mobile) #modal-box .regate-intro .boutons-ligne .btn:nth-child(3n+1) { --r: -.9deg; }
html:not(.mobile) #modal-box .regate-intro .boutons-ligne .btn:nth-child(3n+2) { --r: .7deg; --y: 1px; }
html:not(.mobile) #modal-box .regate-intro .boutons-ligne .btn:nth-child(3n) { --r: -.4deg; --y: -1px; }
html:not(.mobile) #modal-box .regate-intro .regate-modes .btn:not(.primaire) { color: #d8c49c; }
html:not(.mobile) #modal-box .regate-intro .regate-modes .btn.primaire, html:not(.mobile) #modal-box .regate-intro .btn.primaire[data-op="lecon"] {
  color: #fff1d0; filter: drop-shadow(0 0 7px rgba(255, 196, 70, .7)) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)) brightness(1.08); }
html:not(.mobile) #modal-box .regate-intro > .boutons { justify-content: flex-start; margin-top: 4px; }
html:not(.mobile) #modal-box .regate .regate-scene { border: 3px solid #8a6a3a; border-radius: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .6); }
html:not(.mobile) #modal-box .regate #regate-carte, html:not(.mobile) #modal-box .regate #regate-classement {
  box-sizing: border-box; border: 13px solid transparent; border-radius: 0; border-image: url(../illustrations/carte_cadre_minicarte.png) 24 / 13px stretch;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
html:not(.mobile) #modal-box .regate #regate-carte { background: #e8d6a8; }
html:not(.mobile) #modal-box .regate .regate-cote .lecon-panneau { border: 13px solid transparent; border-radius: 0; border-image: url(../illustrations/carte_cadre_minicarte.png) 24 / 13px stretch;
  background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0; background-clip: padding-box; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
html:not(.mobile) #modal-box .regate #regate-classement { margin: 0; padding: 4px 8px 4px 28px; color: #3b2612; background: url(interface/ui_papier.png?v=66fa38b6) center / 256px 256px, #ead9b0;
  background-clip: padding-box; box-shadow: none; transform: rotate(.5deg); }
html:not(.mobile) #modal-box .regate .regate-commandes { gap: 8px; padding-top: 4px; }
html:not(.mobile) #modal-box .regate .regate-commandes .btn { --h: 50px; font-size: 15px; gap: 6px; }
html:not(.mobile) #modal-box .regate .regate-commandes [data-maintien="gauche"] { --r: -1deg; }
html:not(.mobile) #modal-box .regate .regate-commandes [data-maintien="droite"] { --r: .8deg; --y: 1px; }
html:not(.mobile) #modal-box .regate .regate-commandes [data-maintien="border"] { --r: -.5deg; }
html:not(.mobile) #modal-box .regate .regate-commandes [data-maintien="choquer"] { --r: .7deg; --y: 1px; }
html:not(.mobile) #modal-box .regate .regate-commandes .regate-objet { --r: -.6deg; }
html:not(.mobile) #modal-box .regate .regate-commandes .btn.danger { --r: .5deg; margin-left: 6px; }
html:not(.mobile) #modal-box .regate .regate-commandes .btn.tuto-cible { animation: tuto-luit .5s ease-in-out infinite alternate !important; }
html:not(.mobile) #modal-box .regate .regate-objet.plein { animation: objet-pret .9s ease-in-out infinite !important; }
html:not(.mobile) #modal-box .regate .regate-ecoute { color: #e8d6ae; text-shadow: 0 1px 1px #000; }
html:not(.mobile) #modal-box .regate .regate-ecoute .jauge { border: 2px solid #8a6a3a; box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
html:not(.mobile) #modal-box .regate .regate-scene .regate-vue { --h: 40px; padding: 0 2px !important; font-size: 16px; opacity: .92; }
html:not(.mobile) #modal-box .regate .regate-scene .regate-vue img.emo { width: 22px; height: 22px; }
