/* Photo d'un coup pas parti (lot 8b) : le bloc « Photo » de la fiche d'un tir — page « Gestion des tirs »
   et écran de marquage du téléphone. (La photo ne s'affiche jamais sur l'écran de la tente.) */
.photo-tir-cadre {
  display: block; width: 100%; max-width: 440px; margin: 0 0 8px; padding: 0;
  border: 1px solid var(--bordure, #c9c5b6); border-radius: 14px; overflow: hidden; background: #f3f0e7;
}
.photo-tir-cadre img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
a.photo-tir-cadre:focus-visible { outline: 3px solid var(--focus, #111111); outline-offset: 2px; }
/* Aperçu d'une photo pas encore enregistrée : cadre en pointillés. */
.photo-tir-apercu { border: 2px dashed var(--noir, #111111); }
.photo-tir-boutons { display: flex; flex-direction: column; gap: 8px; }
.photo-tir-oui-non { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.photo-tir-oui-non > * { flex: 1 1 0; }
.photo-tir-erreur, .photo-tir-avis { margin: 0 0 10px; }
.photo-tir .roue {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  border: 3px solid currentColor; border-right-color: transparent;
  animation: tourne .7s linear infinite;
}
.photo-tir button[disabled] { opacity: .6; }
/* « Supprimer la photo » : en rouge, comme les autres suppressions du site. */
.photo-tir [data-photo="supprimer"] { color: var(--rouge, #b3261e); }
/* Écran de marquage (téléphone) : mêmes marges que les autres parties de la fiche. */
.photo-tir-telephone .t-btn { gap: 10px; }
.photo-tir-telephone .t-message { white-space: normal; }
.photo-tir-telephone .t-message, .photo-tir-telephone .t-vide { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  .photo-tir .roue { animation: none; border-right-color: currentColor; opacity: .6; }
}
