/* Règles STRUCTURELLES uniquement — jamais de valeurs qui changent d'un
   bouton à l'autre ici (taille, couleur, espacement...). Ces valeurs sont
   désormais générées directement dans la page (voir class-obf-affichage.php),
   pour ne jamais dépendre d'un cache externe (CDN, hébergeur, etc.) qui
   empêcherait un changement de réglage d'être visible immédiatement. */
.obf-bouton-flottant {
    position: fixed;
    z-index: 99998;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 6px;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
    transition: filter .15s ease;
    box-sizing: border-box;
}
.obf-bouton-flottant:hover { filter: brightness(1.06); }
.obf-bouton-flottant:active { filter: brightness(0.96); }

.obf-cadre-icone {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}
.obf-bouton-flottant .obf-icone { line-height: 1; }
.obf-bouton-flottant .obf-texte { word-break: break-word; }

@media (max-width: 768px) {
    .obf-bouton-flottant {
        top: auto !important;
        bottom: 0 !important;
        right: auto !important;
        transform: none !important;
        padding: 8px 6px;
        border-radius: 10px 10px 0 0 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,.18);
        gap: 2px;
    }
}
