@import "footix2.css";
@import "print_raisons.css";

/* =====================================================================
   Page d'une cagnotte — my_cagnotte_new_44.css (remplace my_cagnotte_new_43.css)
   - Colonne principale : photo, présentation, contributeurs
   - Colonne droite collante (visiteurs) : montant, partage ; espace organisateur
   - Mobile : une colonne réordonnée (montant sous la présentation),
     barre « Je participe » fixe en bas d'écran
   - Règles préfixées .ppy-cagnotte pour passer devant common.css
   ===================================================================== */

/* ---------- Variables (mêmes valeurs que la page de contribution) ---------- */
:root {
    --accent: #c8226a;
    --accent-dark: #a51b57;
    --accent-light: #fdeef5;
    --navy: #053668;
    --blue: #155588;
    --text-primary: #1f2d3d;
    --text-secondary: #4a5b72;
    --bg-page: #fbf9f3;
    --border: #d0dae8;
    --line: #eef0f4;
    --success: #0f7a55;
    --success-dark: #0b6145;
    --danger: #b42335;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(5, 54, 104, 0.06);
    --focus: rgba(107, 158, 244, 0.55);
}

body {
    background: var(--bg-page);
    width: 100%;
    margin: 0;
}

/* ---------- Conteneur et mise en page ---------- */
.ppy-cagnotte {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 24px 72px;
    box-sizing: border-box;
    text-align: left;
    color: var(--text-primary);
}

.ppy-cagnotte a:focus-visible,
.ppy-cagnotte button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.ppy-cagnotte .pg-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.ppy-cagnotte .pg-main {
    flex: 999 1 600px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ppy-cagnotte .pg-aside {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Colonne collante seulement sur un écran assez haut pour l'afficher en entier */
@media screen and (min-width: 1024px) and (min-height: 760px) {
    .ppy-cagnotte .pg-aside.is-sticky {
        position: sticky;
        top: 24px;
    }
}

/* ---------- Cartes ---------- */
.ppy-cagnotte .pg-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 28px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ppy-cagnotte .pg-card-entete {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}

.ppy-cagnotte .pg-card-titre {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
}

.ppy-cagnotte svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Bouton secondaire (Voir tout) */
.ppy-cagnotte .pg-btn-secondaire {
    align-self: center;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.ppy-cagnotte .pg-btn-secondaire:hover {
    background: #ffffff;
    border-color: var(--blue);
    color: var(--navy);
}

/* ---------- Photo ---------- */
.ppy-cagnotte #bloc01 {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.ppy-cagnotte #panoramique {
    display: block;
    width: 100%;
    max-height: 640px;
    height: auto;
    object-fit: cover;
}

/* ---------- Présentation ---------- */
.ppy-cagnotte .titre_cagnotte {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.ppy-cagnotte .orga {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.ppy-cagnotte .pg-orga-initiale {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3eefc;
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
}

.ppy-cagnotte .pg-orga-nom {
    flex: 1;
    min-width: 160px;
    font-size: 14px;
    color: var(--text-secondary);
}

.ppy-cagnotte .pg-orga-nom strong {
    font-weight: 600;
    color: var(--navy);
}

.ppy-cagnotte .pg-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.ppy-cagnotte .pg-btn-contact:hover {
    border-color: var(--blue);
    color: var(--navy);
}

/* Description saisie par l'organisateur */
.ppy-cagnotte #pitch {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.ppy-cagnotte #pitch img {
    max-width: 100%;
    height: auto;
}

.ppy-cagnotte #signal {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
}

.ppy-cagnotte #signal svg {
    width: 13px;
    height: 13px;
}

.ppy-cagnotte #signal:hover {
    color: var(--danger);
    text-decoration: underline;
}

/* ---------- Contributeurs ---------- */
.ppy-cagnotte #nb_guest {
    font-size: 13px;
    color: var(--text-secondary);
}

.ppy-cagnotte #voyez {
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f3f7fd;
    border: 1px solid #dbe6f7;
    font-size: 13px;
    color: var(--blue);
}

.ppy-cagnotte .pg-grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 12px;
}

.ppy-cagnotte .bloc3 .square,
.ppy-cagnotte .bloc3 .square_plus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 12px 4px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-page);
    text-align: center;
}

/* Au-delà des premières tuiles : masquées jusqu'au clic sur "Voir tout" */
.ppy-cagnotte .bloc3 .square_plus {
    display: none;
}

.ppy-cagnotte .pg-grille.is-open .square_plus {
    display: flex;
}

/* Cercle de l'avatar : dimensions d'origine (les réglages par avatar plus bas en dépendent) */
.ppy-cagnotte .bloc3 .avatar {
    width: 105px;
    height: 105px;
    padding: 5px;
    margin: 0 auto 6px auto;
    border: 1px solid #e3e9f2;
    border-radius: 50%;
    background: #ffffff;
    box-sizing: content-box;
    font-size: 9.6px; /* base des réglages en em (ex. .square à 0.6em) */
    cursor: default;
}

.ppy-cagnotte .bloc3 .avatar img {
    image-rendering: optimizeQuality;
    -ms-interpolation-mode: bicubic;
}

.ppy-cagnotte .pg-nom {
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ppy-cagnotte .pg-statut {
    font-size: 12px;
    color: var(--text-secondary);
}

.ppy-cagnotte .pg-statut.is-ok {
    color: var(--success);
}

.ppy-cagnotte .pg-statut.is-montant {
    font-weight: 600;
    color: var(--navy);
}

.ppy-cagnotte .editer {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.ppy-cagnotte .editer:hover {
    color: var(--accent-dark);
}

/* ---------- Espace organisateur ---------- */
.ppy-cagnotte #bloc02 {
    padding: 22px;
    gap: 14px;
}

.ppy-cagnotte #bloc02 .pg-card-titre {
    font-size: 16px;
}

/* Casser ma tirelire : bouton vert, sans montant */
.ppy-cagnotte .pg-btn-tirelire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border-radius: 12px;
    background: var(--success);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 122, 85, 0.25);
    transition: background 0.2s ease;
}

.ppy-cagnotte .pg-btn-tirelire:hover {
    background: var(--success-dark);
    color: #ffffff;
}

.ppy-cagnotte .pg-btn-tirelire svg {
    width: 20px;
    height: 20px;
}

.ppy-cagnotte .pg-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.ppy-cagnotte .pg-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 10px;
    box-sizing: border-box;
    border: 1px solid #e3e9f2;
    border-radius: 10px;
    background: #fafcff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--blue);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ppy-cagnotte .pg-actions a:hover {
    border-color: var(--blue);
    background: #ffffff;
}

.ppy-cagnotte .pg-actions a.is-danger {
    color: var(--danger);
}

.ppy-cagnotte .pg-actions a.is-danger:hover {
    border-color: var(--danger);
}

/* ---------- Montant ---------- */
.ppy-cagnotte .bloc_montant {
    gap: 14px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(5, 54, 104, 0.08);
}

.ppy-cagnotte .pg-collecte-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.ppy-cagnotte .pg-collecte-somme {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

/* Barre de progression vers l'objectif */
.ppy-cagnotte .progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #f1ecef;
}

.ppy-cagnotte .progress-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--accent);
    transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

.ppy-cagnotte .progress-cible-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: -6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.ppy-cagnotte .progress-pct {
    font-weight: 700;
    color: var(--accent);
}

.ppy-cagnotte .progress-cible-row strong {
    color: var(--navy);
}

/* Chiffres clés : jours restants, contributions, panier moyen */
.ppy-cagnotte .pg-stats {
    display: flex;
    gap: 8px;
}

.ppy-cagnotte .pg-stats > div {
    flex: 1;
    min-width: 0;
    padding: 10px 6px;
    border-radius: 12px;
    background: #f6f8fb;
    text-align: center;
}

.ppy-cagnotte .pg-stats strong {
    display: block;
    font-size: 18px;
    color: var(--navy);
}

.ppy-cagnotte .pg-stats span {
    display: block;
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--text-secondary);
}

/* Bouton Je participe */
.ppy-cagnotte .pg-cta-resume {
    display: none;
}

.ppy-cagnotte .pg-cta form {
    width: auto;
    margin: 0;
}

.ppy-cagnotte .participe {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 6px 18px rgba(200, 34, 106, 0.3);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ppy-cagnotte .participe:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Cagnotte terminée */
.ppy-cagnotte .participe:disabled {
    background: #c5cdd8;
    color: #2b3a4d;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Partage ---------- */
.ppy-cagnotte #bloc13 {
    padding: 22px;
    gap: 12px;
    text-align: center;
}

.ppy-cagnotte #bloc13 .pg-card-titre {
    font-size: 16px;
}

.ppy-cagnotte .pg-lien {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ppy-cagnotte #copy {
    flex: 1;
    min-width: 0;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1.5px solid #e3e9f2;
    border-radius: 10px;
    background: #f6f8fb;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    cursor: pointer;
}

.ppy-cagnotte #pg-copier {
    flex-shrink: 0;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: none;
    border-radius: 10px;
    background: var(--navy);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.ppy-cagnotte #pg-copier:hover {
    background: var(--blue);
}

.ppy-cagnotte .pg-rzo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Boutons ronds des réseaux (icônes Font Awesome), couleur de chaque réseau */
.ppy-cagnotte .rs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(5, 54, 104, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ppy-cagnotte .rs:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 54, 104, 0.2);
    filter: brightness(1.08);
}

.ppy-cagnotte .rs--facebook { background: #1877f2; }
.ppy-cagnotte .rs--linkedin { background: #0a66c2; }
.ppy-cagnotte .rs--x        { background: #000000; }
.ppy-cagnotte .rs--whatsapp { background: #1fa855; } /* vert un peu foncé : icône blanche lisible */
.ppy-cagnotte .rs--email    { background: var(--navy); }

/* Partage natif : mobile uniquement */
.ppy-cagnotte .pg-partage-natif {
    display: none;
}

.ppy-cagnotte #qr_div {
    display: flex;
    justify-content: center;
    margin: 0;
}

.ppy-cagnotte #qr_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 6px 2px;
    border: none;
    background: none;
    box-shadow: none;
    color: var(--accent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}

.ppy-cagnotte #qr_button:hover {
    background: none;
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Modale du QR code */
#popupQrCode {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
}

#popupQrCode .pg-qr-boite {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 36px 24px 24px;
    border-radius: 16px;
    background: #ffffff;
}

#popupQrCode .pg-qr-fermer {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    color: var(--accent);
    font-size: 18px;
    cursor: pointer;
}

/* ---------- Infobulle de l'avatar (bulle au survol, jQuery UI) ---------- */
.ui-tooltip, .arrow:after
{
    background: white;
    border: 2px solid white;
}

.ui-tooltip
{
    padding: 10px 20px;
    color: black;
    border-radius: 20px;
    font: normal 12px 'Open Sans', Sans-Serif !important;
    box-shadow: 0 0 7px black;
}

.arrow
{
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
    font-size: 10px;
}

.arrow.top { top: -196px; bottom: auto; }
.arrow.left { left: 20%; }
.arrow:after
{
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    transform: rotate(45deg);
    font-size: 9px;
}

.arrow.top:after { bottom: -20px; top: auto; }

/* ---------- Réglages par avatar (repris tels quels de my_cagnotte_new_43.css) ---------- */
#couple { margin-top:-3px; margin-left:-5px; width: 80px; }
#couple2 { margin-left:0px; width: 115px; }
#working { margin-top:-2px; width: 80px; }
#lectrice { width:99px; }
#body { width:100px; }
#dark { width: 110px; }
#bitch { width:70px; margin-top:-10px; }
#swan { width: 96px; margin-top: -4px; }
#rap { width: 72px; }
#wonder { width:105px; margin-left:8px; }
#geek { width:112px; margin-top:8px; }
#grunge { width:125px; margin-top:-8px; }
#flic { margin-top:3px; width:130px; }
#clodo { width:100px; margin-top:2px; margin-left:5px; }
#clubeuse { width:67px; margin-top:-2px; }
#boxeur { margin-top:-2px; margin-right:1px; width:93px; }
#karateka { margin-top:-2px; margin-right:0px; width:91px; }
#astro { width: 97px; margin-top:5px; }
#nurse { margin-top:-4px; margin-right:3px; width:76px; }
#matrix { width:102px; margin-top:5px; }
#mario { width: 72px; margin-top:-1px; }
#confine { width:110px; margin-left:-2px; margin-top:3px; }
#chabal { width:110px; margin-top:10px; }
#confinee { width:80px; }
#greta { width:80px; margin-top:-3px; }
#jackson { width:62px; margin-top:-5px; }
#cat { width:105px; margin-top:-5px; }
#gay { width:80px; }
#gouds { margin-top:3px; width:90px; }
#hetero { margin-top:0px; width:82px; }
#hippie { width:78px; }
#avocate { width: 62px; margin-top: 0px; }
#foot { width: 80px; margin-top: -3px; }
#vendetta { width:107px; margin-left:-12px; margin-top:3px; }
#voyage { width:97px; }
#colblanc { width: 65px; }
#bagnard { margin-left:0px; margin-top:-2px; width:105px; }
#doc { margin-top:0px; width:100px; }
#star { width:110px; }
#super { margin-left:4px; margin-top:12px; width:99px; }
#marathon { margin-left:-8px; width:105px; }
#rambo { margin-left:3px; width:92px; }
#yoga { margin-top: 6px; margin-left: 2px; width: 85px; }
#ski { margin-top: 6px; margin-left: -10px; width: 140px; }
#gilet { margin-top: 0px; margin-left: 0px; width: 78px; }
#surf { margin-top: 0px; margin-left: -22px; width: 130px; }
#batman { margin-top: -2px; margin-left: 10px; width: 100px; }
#cuisto { margin-top: 0px; margin-left: 3px; width: 90px; }
#jordan { margin-top: 0px; margin-left: 4px; width: 82px; }
#elvis { margin-top: 3px; margin-left: 0px; width: 88px; }
#neutral,#neutre2, #neutre_pink,#neutre_blue, .bloc3 .anonyme img { width:100px; }
#harry { width: 132px; margin-left: -10px; margin-top: 14px; }
#leia { width:77px; }
#indiana { width:95px; }
#tennis { width:100px; margin-top:4px; }
#diver { width:100px; margin-top:5px; }
#hulk { width:100px; margin-top:4px; }
#mum { width:104px; margin-top:2px; }
#fireman { width:87px; margin-top:-8px; }
#dj { width:100px; margin-top:0px; }
#friends { width:107px; margin-top:0px; }
#wed_rock { width:100px; margin-top:0px; }
#prof { width:115px; margin-top:0px; }
#profe { width:115px; margin-top:0px; }
#chandler { width:115px; margin-top:0px; }
#gothic { width:110px; margin-top:0px; }
#acteur { width:115px; margin-top:0px; }
#james { width:115px; margin-top:-3px; }

/* =====================================================================
   Tablette et mobile (< 1024 px) : une seule colonne, blocs réordonnés
   (les deux colonnes "s'effacent" avec display: contents, l'ordre est donné par order)
   ===================================================================== */
@media screen and (max-width: 1023px)
{
    .ppy-cagnotte .pg-layout {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 16px;
    }

    .ppy-cagnotte .pg-main,
    .ppy-cagnotte .pg-aside {
        display: contents;
    }

    .ppy-cagnotte #bloc01      { order: 1; }  /* photo */
    .ppy-cagnotte #bloc1       { order: 2; }  /* présentation */
    .ppy-cagnotte .bloc_montant { order: 3; } /* montant, juste sous la présentation */
    .ppy-cagnotte .bloc3       { order: 4; }  /* contributeurs */
    .ppy-cagnotte #bloc02      { order: 5; }  /* espace organisateur */
    .ppy-cagnotte #bloc13      { order: 6; }  /* partage */
}

/* =====================================================================
   Mobile (< 768 px) : barre « Je participe » fixe, avatars plus petits
   ===================================================================== */
@media screen and (max-width: 767px)
{
    .ppy-cagnotte {
        padding: 10px 12px 24px;
    }

    .ppy-cagnotte .pg-layout {
        gap: 12px;
    }

    .ppy-cagnotte .pg-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .ppy-cagnotte #bloc01 {
        border-radius: 14px;
    }

    .ppy-cagnotte .titre_cagnotte {
        font-size: 22px;
    }

    .ppy-cagnotte .bloc_montant {
        padding: 20px 16px;
    }

    .ppy-cagnotte .pg-collecte-somme {
        font-size: 32px;
    }

    .ppy-cagnotte .pg-stats strong {
        font-size: 16px;
    }

    /* Barre fixe : montant collecté + bouton toujours à portée de pouce */
    .ppy-cagnotte .pg-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 20px rgba(5, 54, 104, 0.08);
    }

    .ppy-cagnotte .pg-cta-resume {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .ppy-cagnotte .pg-cta-resume span {
        display: block;
        font-size: 12px;
        color: var(--text-secondary);
    }

    .ppy-cagnotte .pg-cta-resume span::first-letter {
        text-transform: uppercase; /* "collectés" -> "Collectés" */
    }

    .ppy-cagnotte .pg-cta-resume strong {
        font-size: 19px;
        color: var(--navy);
    }

    .ppy-cagnotte .pg-cta form {
        flex-shrink: 0;
    }

    .ppy-cagnotte .participe {
        width: auto;
        min-height: 50px;
        padding: 0 24px;
        font-size: 16px;
    }

    /* Place réservée sous le pied de page pour la barre fixe */
    body {
        padding-bottom: 84px;
    }

    /* Partage : bouton de partage natif à la place des réseaux sociaux */
    .ppy-cagnotte #pg-t-partage,
    .ppy-cagnotte .pg-rzo {
        display: none;
    }

    .ppy-cagnotte .pg-partage-natif {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
        margin: 0;
        border: 1.5px solid var(--blue);
        border-radius: 12px;
        background: #ffffff;
        color: var(--blue);
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        text-transform: none;
        box-shadow: none;
        cursor: pointer;
    }

    /* Navigateur sans partage natif : on remet le titre et les réseaux */
    .ppy-cagnotte #bloc13.sans-partage #pg-t-partage {
        display: block;
    }

    .ppy-cagnotte #bloc13.sans-partage .pg-rzo {
        display: flex;
    }

    /* Contributeurs : 3 par ligne, cercles de 80 px comme avant */
    .ppy-cagnotte .pg-grille {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .ppy-cagnotte .bloc3 .avatar {
        width: 80px;
        height: 80px;
    }

    .ppy-cagnotte .bloc3 .avatar img {
        width: 6em;
    }

    .ui-tooltip {
        max-width: 100px;
    }

    /* Réglages par avatar en mobile (repris tels quels de my_cagnotte_new_43.css) */
    #confine { width:90px; }
    #confinee { width:7em; margin-left:0px; margin-top:-5px; }
    #chabal { width:9em; margin-left:0px; margin-top:5px; }
    #bitch { width: 55px; }
    #clubeuse { width: 55px; }
    #couple { width: 68px; margin-left: -8px; }
    #couple2 { width: 90px; }
    #vendetta { width: 85px; margin-left: -10px; }
    #swan { width: 73px; margin-top: -3px; }
    #marathon { width:86px; }
    #matrix { width: 80px; margin-left: -5px; }
    #dark { width: 90px; margin-left:-12px; }
    #hippie { width: 62px; }
    #clodo { margin-top:0px; width: 82px; }
    #doc { width: 80px; }
    #rambo { width: 70px; }
    #flic { width:100px; }
    #boxeur { width:72px; margin-top:-5px; }
    #karateka { width: 74px; margin-top: -5px; }
    #astro { width: 87px; margin:0; }
    #nurse { width: 60px; margin-top: -5px; }
    #colblanc { width: 50px; }
    #foot { width: 60px; }
    #lectrice { width: 78px; margin-top:4px; }
    #avocate { width: 50px; margin-top:-1px; }
    #star { width:85px; }
    #leia { width: 66px; margin-left: -8px; margin-top:-1px; }
    #voyage { margin-top:-3px; width: 85px; margin-left: -5px; }
    #rap { width: 62px; }
    #mario { width: 59px; }
    #bagnard { width: 85px; margin-right: 0px; }
    #wonder { width: 88px; margin-top: -2px; }
    #working { width: 70px; margin-top: -3px; }
    #body { width: 8.5em; }
    #grunge { width: 100px; }
    #super { margin-top: 6px; margin-left:-3px; }
    #harry { width:110px; margin-left:-10px; margin-top:10px; }
    #jackson { width:52px; }
    #yoga { margin-top: 6px; margin-left: 2px; width: 75px; }
    #ski { margin-top: 0px; margin-left: -10px; width: 130px; }
    #gilet { margin-top: 0px; margin-left: 0px; width: 62px; }
    #surf { margin-top: -5px; margin-left: -22px; width: 115px; }
    #batman { margin-top: -2px; margin-left: 10px; width: 85px; }
    #cuisto { margin-top: -2px; margin-left: 3px; width: 78px; }
    #jordan { margin-top: 0px; margin-left: 4px; width: 68px; }
    #elvis { margin-top: 3px; margin-left: 0px; width: 80px; }
    #geek { margin-top:5px; margin-left:-4px; width:95px; }
    #greta { width:65px; }
    #cat { width:80px; }
    #gay { width:65px; }
    #gouds { width:72px; }
    #hetero { width:65px; }
    #indiana { width:80px; margin-top:-3px; }
    #tennis { width:80px; }
    #hulk { width:80px; }
    #diver { width:80px; margin-top:-1px; }
    #mum { width:80px; margin-top:0px; }
    #fireman { width:68px; margin-top:-9px; }
    #dj { width:80px; margin-top:0px; }
    #friends { width:87px; margin-top:-4px; }
    #wed_rock { width:80px; margin-top:0px; }
    #prof { width:80px; margin-top:0px; }
    #profe { width:80px; margin-top:0px; }
    #gothic { width:80px; margin-top:0px; }
    #james { width:80px; margin-top:0px; }
    #chandler { width:80px; margin-top:0px; }
    #acteur { width:80px; margin-top:0px; }
    #neutre2,#neutre_pink,#neutre_blue { width:90px; margin-top:-7px; margin-left:-6px; }
    .bloc3 .anonyme img { width:90px; margin-top:-7px; margin-left:-6px; }
}