/* ============================================================
   troncon-credit.css
   Crédit @pseudo · label affiché en bas des tronçons publics.
   Lien discret, fixed bottom centré, accessible sans gêner la lecture.
   ============================================================ */

.troncon-credit {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
  transition: background 0.2s, transform 0.2s;
  font-weight:bold;
  letter-spacing: 1px
}


.troncon-credit .cred-name,
.troncon-credit .cred-label {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.troncon-credit .cred-sep {
  color: #000;
  margin: 0 2px;
}

.troncon-credit .cred-pseudo {
  color: #000;
  font-weight: 600;
  letter-spacing: 1px
}

/* Sur petit écran, on réduit un peu */
@media (max-width: 480px) {
  .troncon-credit {
    font-size: 12px;
    padding: 6px 12px;
    bottom: 16px;
  }
}

/* ============================================================
   Boutons d'action (partager / signaler) en bas à droite
   ============================================================ */
.troncon-actions {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 25;
  display: flex;
  gap: 8px;
}

.troncon-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.15s;
  border:none;
  background:none;
} 

.troncon-action-btn:hover {
  transform: scale(1.05);
}

.troncon-action-btn .material-symbols-outlined {
  font-size: 18px;
}

@media (max-width: 480px) {
  .troncon-actions { right: 12px; bottom: 16px; gap: 6px; }
  .troncon-action-btn { width: 32px; height: 32px; }
  .troncon-action-btn .material-symbols-outlined { font-size: 16px; }
}
