/* Zones de la place multijoueur (v8.50, mp/zones.js) : étiquette d'action « [F] … », barre de la piñata,
   panneaux indicateurs, compteur en haut (lave, karting), grand texte au centre, couronnes au-dessus des têtes. */
.mpz { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 21; font-family: var(--pixel); word-spacing: 0.15em; }
.mpz .hidden { display: none !important; }
.mpz-prompt, .mpz-pnbar, .mpz-pnnext, .mpz-sign, .mpz-crown { position: absolute; left: 0; top: 0; will-change: transform; white-space: nowrap; }
.mpz-prompt { display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 7px; font-size: 13px;
  background: var(--card-bg, #fff8e6); color: var(--ink, #3a2418); box-shadow: var(--card-frame, 0 0 0 2px #4e2716); }
.mpz-prompt kbd { font-size: 11px; padding: 0 5px; min-width: 16px; text-align: center; }
.mpz-pnbar { width: 64px; height: 8px; border-radius: 4px; background: rgba(30, 20, 14, 0.7); box-shadow: 0 0 0 2px #4a2f3c; overflow: hidden; }
.mpz-pnbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff7ab0, #ffd23a); transition: width 0.15s; }
.mpz-pnnext, .mpz-sign { padding: 3px 9px; border-radius: 6px; font-size: 12px; color: #fff; background: rgba(46, 30, 20, 0.72); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8); }
.mpz-sign { background: #8a5a34; box-shadow: inset 0 0 0 2px #5a3a20, 0 2px 0 rgba(0, 0, 0, 0.35); }
.mpz-hud { position: absolute; left: 50%; top: 78px; transform: translateX(-50%); padding: 6px 16px; border-radius: 9px; font-size: 15px;
  color: #fff; background: rgba(28, 18, 26, 0.78); box-shadow: 0 0 0 2px rgba(255, 200, 90, 0.55); text-shadow: 0 1px 1px #000; white-space: nowrap; }
/* nom de la zone, en haut au centre (le coin gauche est pris par les classements du salon) */
.mpz-zone { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 18px 8px; border-radius: 10px; background: var(--card-bg, #fff8e6); color: var(--ink, #3a2418); box-shadow: var(--card-frame, 0 0 0 2px #4e2716); white-space: nowrap; }
.mpz-zone b { font-size: 17px; font-weight: normal; }
.mpz-zone small { font-size: 12px; color: var(--ink-soft, #7a5a44); }
.mpz-zone.in { animation: mpz-zone 3.6s ease both; }
@keyframes mpz-zone { 0% { opacity: 0; margin-top: -12px; } 10%, 82% { opacity: 1; margin-top: 0; } 100% { opacity: 0; } }
.mpz-big { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); font-size: 40px; color: #ffe070; white-space: nowrap;
  text-shadow: 3px 3px 0 #4a2f3c, -2px -2px 0 #4a2f3c, 2px -2px 0 #4a2f3c, -2px 2px 0 #4a2f3c; }
.mpz-big.in { animation: mpz-pop 0.45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes mpz-pop { from { transform: translate(-50%, -50%) scale(0.4); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.mpz-crowns { position: absolute; inset: 0; }
.mpz-crown { font-size: 18px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)); animation: mpz-bob 1.6s ease-in-out infinite; }
@keyframes mpz-bob { 50% { margin-top: -3px; } }
#ui.panel-open .mpz-prompt, #ui.panel-open .mpz-sign { opacity: 0; }
body.touch .mpz-hud { top: calc(54px + env(safe-area-inset-top)); font-size: 13px; }
body.touch .mpz-big { font-size: 30px; }
