/* =========================
   CONTAINER
========================= */

.ff-container{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center; /* 🔥 centre horizontalement */
}

/* =========================
   TITRES (local uniquement)
========================= */

#contenuvariable h1,
#contenuvariable h2,
#contenuvariable h3,
#contenuvariable h4{
    background:none !important;
}

/* =========================
   CARDS
========================= */

.ff-card{
    background:#f5efe6;
    border-radius:12px;
    padding:15px;

    width:90%;          /* parfait */

    margin:10px 0;      /* plus de auto */

    border:2px solid #c2a57a;
    box-shadow:0 4px 10px rgba(0,0,0,0.25);
}

/* =========================
   ITEMS
========================= */

.ff-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:6px 0;

    flex-wrap:nowrap; /* 🔥 empêche le retour ligne */
}

/* =========================
   LEFT
========================= */

.ff-left{
    display:flex;
    align-items:center;
    gap:6px;
}

/* =========================
   ICONES
========================= */

.ff-icone{
    width:100px;
    height:100px;
    object-fit:contain;
    flex-shrink:0;
}

/* =========================
   STATS MIN MAX
========================= */

.ff-stats{
    display:flex;
    align-items:center;
    justify-content:flex-end; /* 🔥 aligné à droite */
    gap:6px;

    min-width:110px;   /* 🔥 réserve de place */
    flex-shrink:0;     /* empêche écrasement */
}

.ff-stat{
    padding:2px 6px;
    border-radius:6px;
}



.ff-sep{
    opacity:0.6;
}

/* =========================
   TOTAL
========================= */

.ff-total{
    margin-top:10px;
    padding-top:8px;
    border-top:1px solid rgba(0,0,0,0.2);
    text-align:center;
}

/* =========================
   CERBERE
========================= */

.cerbere{
    color:#c0392b;
    font-weight:bold;
}

/* =========================
   MULTIBADGE
========================= */

.ff-badge-stack{
    position:relative;
    display:inline-block;
}

.ff-badge-stack img{
    display:block;
}
.ff-badge-multi{
    position:absolute;

    bottom:6px;
    right:6px;

    background:#fff;
    color:#000;

     width:40%;
    height:40%;
    font-size:1.2em;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:bold;

    box-shadow:0 0 6px rgba(0,0,0,0.7);
}