/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#peche { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; background: #120a05;
  opacity: 0; transition: opacity .25s; font-family: Alegreya, Georgia, serif; color: #2e1d0e; user-select: none; -webkit-user-select: none; touch-action: none; cursor: default; }
#peche.vu { opacity: 1; }
#peche .pc-boite { position: relative; container-type: inline-size; flex: none; outline: 6px solid #3a2414; box-shadow: 0 0 0 9px #1c1008; }
#peche .pc-toile { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
#peche .pc-hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
#peche .pc-titre { position: absolute; left: 50%; top: 24%; transform: translateX(-50%) rotate(-.6deg); pointer-events: none; transition: opacity .6s; }
#peche .pc-titre b { font-size: 3.6cqw; font-weight: 800; color: #fbecc8; white-space: nowrap; text-shadow: 0 .25cqw 0 #3a2210, .2cqw 0 0 #3a2210, -.2cqw 0 0 #3a2210, 0 -.2cqw 0 #3a2210; }
#peche .pc-titre.part { opacity: 0; }
#peche .pc-commandes { position: absolute; left: 2.2%; bottom: 2.5%; display: flex; flex-direction: column; align-items: center; gap: .5cqw;
  opacity: 0; transition: opacity .25s; }
#peche .pc-commandes.vu { opacity: 1; }
#peche .pc-plaque { --s: calc(6.6cqw / 407); position: relative; box-sizing: border-box; width: 18.6cqw; height: 6.6cqw; cursor: pointer;
  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(.9deg); filter: drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); transition: filter .12s, transform .08s; }
#peche .pc-feu { display: flex; align-items: center; gap: .6cqw; white-space: nowrap; transform: translateY(-.1cqw); }
#peche .pc-feu kbd { font-family: inherit; font-size: 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; }
#peche .pc-feu i { font-style: normal; font-size: 1.7cqw; color: #e8d2a0; }
#peche .pc-feu b { font-size: 2.15cqw; font-weight: 800; line-height: 1; color: #b8a27c; text-shadow: 0 .15cqw 0 #1a0e05; }
#peche .pc-plaque.eteinte { filter: grayscale(.45) brightness(.72) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#peche .pc-plaque.prete b { color: #fff1d0; }
#peche .pc-plaque.prete { filter: brightness(1.06) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#peche .pc-plaque.vise b { color: #ffd23f; }
#peche .pc-plaque.vise { filter: brightness(1.18) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); outline: .25cqw solid #ffc847; outline-offset: -.9cqw; }
#peche .pc-plaque.rue b { color: #ff6a50; }
#peche .pc-plaque.rue { outline: .25cqw solid #d0281e; outline-offset: -.9cqw; }
#peche .pc-plaque:hover { filter: brightness(1.12) drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .55)); }
#peche .pc-plaque.presse { transform: rotate(.9deg) translateY(.25cqw); }
#peche .pc-jauge { display: flex; gap: .45cqw; padding: .35cqw .6cqw; background: #5a3a1e; border: .2cqw solid #2a1a0c; box-shadow: inset 0 .2cqw 0 #7a5530, 0 .2cqw 0 rgba(0, 0, 0, .5);
  transform: rotate(-.6deg); opacity: 0; transition: opacity .15s; }
#peche .pc-jauge i { display: block; width: 2.6cqw; height: .9cqw; background: #2a1a0c; border: .2cqw solid #b88a3e; }
#peche .pc-jauge.c1, #peche .pc-jauge.c2, #peche .pc-jauge.c3 { opacity: 1; }
#peche .pc-jauge.c1 i:nth-child(1), #peche .pc-jauge.c2 i:nth-child(-n+2), #peche .pc-jauge.c3 i { background: #ffd23f; }
#peche .pc-jauge.c3 i:nth-child(3) { background: #fff4b8; border-color: #ffe08a; }
#peche .pc-carte { position: absolute; left: 2.2%; bottom: 17%; width: 11.5cqw; height: 13.2cqw; box-sizing: border-box; padding: 1.3cqw 1.2cqw; cursor: pointer;
  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);
  transform: rotate(-3deg) translateY(8cqw); opacity: 0; visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .3, 1.2), opacity .25s, visibility .25s, filter .12s; display: flex; flex-direction: column; gap: .8cqw; }
#peche .pc-carte.vu { transform: rotate(-3deg); opacity: 1; visibility: visible; }
#peche .pc-carte.vu:hover { transform: rotate(-1.5deg) translateY(-.8cqw); filter: brightness(1.06); }
#peche .pc-carte.presse { transform: rotate(-1deg) translateY(.4cqw) !important; filter: brightness(.94); }
#peche .pc-carte b { font-size: 1.8cqw; font-weight: 800; line-height: 1.05; color: #2e1d0e; }
#peche .pc-carte i { font-size: 1.15cqw; line-height: 1.25; color: #5a3e22; }
#peche .pc-cire { position: absolute; right: .7cqw; bottom: .5cqw; width: 2.8cqw; height: 2.8cqw; background: url(interface/kit_sceau_tendre.png?v=27180016) center / contain no-repeat; image-rendering: pixelated; }
#peche .pc-parole { position: absolute; right: 1.6%; top: 20%; display: flex; align-items: center; gap: 1cqw; pointer-events: none; }
#peche .pc-bulle { max-width: 29cqw; min-width: 16cqw; box-sizing: border-box; padding: .9cqw 1.4cqw 1cqw; background: #efe2c2; border: .3cqw solid #7a5530;
  box-shadow: inset 0 0 0 .25cqw #efe2c2, inset 0 0 0 .38cqw #b89a66, .3cqw .4cqw 0 rgba(0, 0, 0, .45); transform: rotate(-.6deg) scale(.9); opacity: 0; transition: opacity .2s, transform .2s; }
#peche .pc-parole.vu .pc-bulle { opacity: 1; transform: rotate(-.6deg); }
#peche.pc-vante .pc-parole { top: auto; bottom: 27%; }
#peche .pc-bulle b { display: block; font-size: 1.2cqw; font-weight: 700; color: #8a1f12; margin-bottom: .25cqw; }
#peche .pc-dit { display: block; font-size: 1.65cqw; font-style: italic; line-height: 1.25; color: #2e1d0e; }
#peche .pc-medaillon { flex: none; width: 8cqw; height: 8cqw; border-radius: 50%; overflow: hidden; background: #1c2440;
  border: .55cqw solid #c99a3e; box-shadow: 0 0 0 .25cqw #5a3a14, inset 0 0 0 .25cqw #7a5a20, .3cqw .4cqw 0 rgba(0, 0, 0, .5); }
#peche .pc-medaillon .illu, #peche .pc-medaillon img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; margin: 0; border: 0; border-radius: 0; box-shadow: none; animation: none; image-rendering: pixelated; }
#peche .pc-choix { position: absolute; right: 2%; bottom: 3%; display: flex; flex-direction: column; align-items: flex-end; gap: 1.2cqw; opacity: 0; pointer-events: none; transition: opacity .2s; }
#peche .pc-choix.vu { opacity: 1; pointer-events: auto; }
#peche .pc-choix-c { box-sizing: border-box; padding: 1.4cqw 2cqw; font-size: 2.1cqw; font-weight: 700; font-style: italic; color: #2e1d0e; cursor: pointer; white-space: nowrap;
  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); transition: transform .12s, filter .12s; }
#peche .pc-choix-c:nth-child(1) { transform: rotate(2.6deg) translateX(-1.4cqw); }
#peche .pc-choix-c:nth-child(2) { transform: rotate(-2.2deg); }
#peche .pc-choix-c:hover { filter: brightness(1.07); transform: rotate(0) translateY(-.6cqw); }
#peche .pc-choix-c:active { filter: brightness(.94); transform: rotate(0) translateY(.3cqw); }
#peche .pc-fin { position: absolute; left: 2.5%; bottom: 4%; opacity: 0; pointer-events: none; transition: opacity .25s; }
#peche .pc-fin.vu { opacity: 1; pointer-events: auto; }
#peche .pc-sceau { display: flex; align-items: center; gap: .8cqw; cursor: pointer; padding: .6cqw 1.8cqw .6cqw .8cqw; background: #efe2c2; border: .3cqw solid #7a5530;
  box-shadow: .3cqw .4cqw 0 rgba(0, 0, 0, .45); transform: rotate(1.4deg); transition: transform .12s, filter .12s; }
#peche .pc-sceau:hover { filter: brightness(1.07); transform: rotate(0) translateY(-.4cqw); }
#peche .pc-sceau:active { filter: brightness(.94); transform: rotate(0) translateY(.25cqw); }
#peche .pc-sceau-cire { width: 3.6cqw; height: 3.6cqw; background: url(interface/kit_sceau_neutre.png?v=9fb70335) center / contain no-repeat; image-rendering: pixelated; }
#peche .pc-sceau b { font-size: 2.2cqw; font-weight: 800; color: #2e1d0e; }
@media (prefers-reduced-motion: reduce) {
  #peche, #peche .pc-commandes, #peche .pc-carte, #peche .pc-bulle, #peche .pc-choix, #peche .pc-fin, #peche .pc-titre { transition: none; }
}
html.sans-ambiance #peche, html.sans-ambiance #peche .pc-carte, html.sans-ambiance #peche .pc-bulle { transition: none; }
