/* L'arene du duel (2.98) : plein ecran, par-dessus tout. Le score au centre en haut. */
.chf { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: var(--bois-1); padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.chf-arene { position: relative; flex: 1; overflow: hidden; background-size: cover;
  background-position: center; }
.chf-arene::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(10,16,8,.78), rgba(10,16,8,.15) 35%, rgba(10,16,8,.25) 60%, rgba(10,16,8,.9)); }
.chf-haut { position: relative; text-align: center; padding: 14px 16px 0; }
.chf-score { display: flex; justify-content: center; align-items: baseline; gap: 14px;
  font-size: 15px; color: #eee4c9; }
.chf-score b { font-size: 34px; color: var(--gold); margin: 0 4px; }
.chf-sep { font-size: 28px; opacity: .6; }
.chf-manche { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75;
  margin-top: 2px; color: #eee4c9; }
.chf-mains { position: absolute; left: 0; right: 0; top: 26%; display: flex;
  justify-content: space-between; padding: 0 4%; }
.chf-main { width: 42%; max-width: 190px; transform-origin: 50% 90%; }
.chf-main.moi { transform: rotate(12deg); }
.chf-main.eux { transform: rotate(-12deg) scaleX(-1); }
.chf-main.moi.bat { animation: chf-bat-g .55s cubic-bezier(.45,0,.4,1); }
.chf-main.eux.bat { animation: chf-bat-d .55s cubic-bezier(.45,0,.4,1); }
@keyframes chf-bat-g { 40% { transform: rotate(-9deg) translateY(-25px); }
  78% { transform: rotate(18deg) translateY(13px); } }
@keyframes chf-bat-d { 40% { transform: rotate(9deg) translateY(-25px) scaleX(-1); }
  78% { transform: rotate(-18deg) translateY(13px) scaleX(-1); } }
.chf-rythme { position: absolute; left: 0; right: 0; top: 18%; text-align: center;
  font: 700 30px Georgia, serif; color: #eee4c9; text-shadow: 0 2px 10px #000; }
.chf-issue { position: absolute; left: 50%; top: 22%; width: 56%; max-width: 260px;
  transform: translateX(-50%); animation: chf-issue .65s cubic-bezier(.2,.7,.2,1); }
.chf-issue img { width: 100%; filter: drop-shadow(0 10px 22px rgba(0,0,0,.6)); }
@keyframes chf-issue { from { opacity: 0; transform: translateX(-50%) translateY(16px) scale(.55) rotate(-8deg); } }
.chf-legende { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; }
.chf-legende h2 { margin: 0 0 4px; }
.chf-legende p { margin: 0; color: #eee4c9; }
.chf-choix { display: flex; gap: 8px; padding: 12px 16px; background: var(--bois-grad); }
.chf-geste { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 12px; border: 1px solid rgba(226,201,141,.35);
  background: rgba(0,0,0,.2); color: inherit; font: inherit; }
.chf-geste img { width: 64px; height: 64px; object-fit: contain; }
.chf-geste:disabled { opacity: .5; }
.chf > [data-act="chf-plustard"] { margin: 0 16px 12px; width: auto; }
@media (prefers-reduced-motion: reduce) {
  .chf-main.bat, .chf-issue { animation: none; }
}
