/* ARES Signature · Réglages iOS V5.1 */

/* Bouton de retour visible même après défilement */
#espace .ares-ios-detailbar:not([hidden]) {
  display: flex !important;
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 12px 4px;
  background: rgba(9,12,23,.96);
  border-bottom: 1px solid rgba(180,194,255,.10);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

#espace .ares-ios-back {
  flex: 0 0 auto;
  min-height: 44px;
  color: #b5c7ff;
  font-weight: 650;
}

#espace .ares-ios-detailname {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Pas de défilement horizontal de la page */
#espace .espace-defilement,
#espace .espace-corps {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Respecter les panneaux masqués */
#espace .ares-ios-home[hidden],
#espace .ares-ios-detailbar[hidden],
#espace .espace-panneau[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  #espace .ares-ios-detailbar:not([hidden]) {
    padding: 10px 0 12px;
  }

  #espace .ares-ios-back {
    font-size: 15px;
    border-radius: 13px;
  }
}
