/* ================= V1.67 : 10 packs bonus d'un coup (public/js/30-multipack.js) ================= */

/* V1.68 : pendant l'ouverture, un écran d'attente ; puis un flash blanc qui s'efface sur la pile */
.mp-intro { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); background: var(--cacao); }
.mp-label { margin: 0; font-family: var(--f-titre); font-size: var(--t-xl); text-align: center; color: var(--creme); }
.mp-intro.flash { animation: mp-flash .7s ease-out forwards; pointer-events: none; }
.mp-intro.flash .mp-label { opacity: 0; }
@keyframes mp-flash { 0% { background: var(--papier); opacity: 1; } 100% { background: var(--papier); opacity: 0; } }

/* La pile : barre de progression, spéciale qui s'annonce */
.mp-progress { height: 6px; margin: 2px 0 0; border-radius: var(--r-pill); background: var(--trait);
  background-image: linear-gradient(var(--moutarde), var(--moutarde)); background-size: var(--p, 0%) 100%; background-repeat: no-repeat; transition: background-size .3s; }
#mp-fast { margin-left: auto; margin-right: 12px; }
.card.tease-special .face.back { animation: mp-tease-special 1.4s ease-in-out infinite; }
@keyframes mp-tease-special { 50% { box-shadow: 0 6px 0 var(--cacao), 0 0 0 6px color-mix(in srgb, var(--electrique) 45%, transparent); } }

/* Le butin */
.mp-loot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 4px 0 16px; }
.mp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.mp-stat { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border: var(--contour); border-radius: var(--r-md); background: var(--papier); box-shadow: var(--ombre-sm); }
.mp-stat b { font-family: var(--f-chiffres); font-size: var(--t-xl); line-height: 1.1; }
.mp-stat small { font-size: var(--t-xs); color: var(--texte-doux); }
.mp-best { display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(220px, 60vw); }
.mp-best small { font-weight: 700; color: var(--texte-doux); }
.mp-best .slot { width: 100%; aspect-ratio: 3 / 4; }
.mp-modes { margin: 4px 0 10px; }

@media (prefers-reduced-motion: reduce) {
  .mp-intro.flash, .card.tease-special .face.back { animation: none; }
}

/* V1.81 : les 10 packs d'un coup, visibles avant d'y avoir droit (grisés, « encore N ») */
.mp-modes .chip.off { opacity: .5; border-style: dashed; }
.mp-modes .chip small { font-weight: 600; }
.stock-bonus .mp-hint { margin-left: 4px; padding-left: 6px; border-left: 1.5px solid currentColor; font-size: var(--t-xs); font-weight: 600; opacity: .75; white-space: nowrap; }
.stock-bonus .mp-hint.ready { opacity: 1; }
