/* Gestion des listes cadeaux — ajustements de lisibilité demandés le 06/11.
   Sélecteurs propres à l’écran manage(), pas d’effet sur les listes partagées. */

.ubc-page #ubc-app .ubc-manage-share,
.ubc-page #ubc-app .ubc-manage-add{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.ubc-page #ubc-app .ubc-manage-share>h2,
.ubc-page #ubc-app .ubc-manage-add>h2,
.ubc-page #ubc-app>.ubc-manage-ideas-title,
.ubc-page #ubc-app>.ubc-manage-gifts-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.5rem,2.6vw,1.85rem);
  font-weight:700;
  line-height:1.22;
  letter-spacing:-.012em;
  margin:0 0 14px;
  overflow-wrap:anywhere;
}
.ubc-page #ubc-app>.ubc-manage-ideas-title,
.ubc-page #ubc-app>.ubc-manage-gifts-title{
  margin:28px 0 12px;
}
.ubc-page #ubc-app .ubc-manage-gifts>.ubc-card>h3{
  font-size:clamp(1.3rem,2vw,1.55rem);
  line-height:1.3;
  font-weight:750;
  letter-spacing:-.012em;
  overflow-wrap:anywhere;
  margin:10px 0 9px;
}
.ubc-page #ubc-app .ubc-manage-share-actions{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  align-items:stretch;
  justify-content:stretch;
}
.ubc-page #ubc-app .ubc-manage-share-actions>button{
  width:100%;
  min-width:0;
  min-height:48px;
  margin:0;
  padding:10px 9px;
  white-space:normal;
  overflow-wrap:normal;
  hyphens:auto;
  text-align:center;
  line-height:1.25;
}

@media(max-width:600px){
  .ubc-page #ubc-app .ubc-manage-share>h2,
  .ubc-page #ubc-app .ubc-manage-add>h2,
  .ubc-page #ubc-app>.ubc-manage-ideas-title,
  .ubc-page #ubc-app>.ubc-manage-gifts-title{
    font-size:1.55rem;
    line-height:1.2;
  }
  .ubc-page #ubc-app .ubc-manage-gifts>.ubc-card>h3{
    font-size:1.35rem;
    line-height:1.28;
  }
  .ubc-page #ubc-app .ubc-manage-share-actions{
    grid-template-columns:minmax(0,1.75fr) minmax(0,1fr) minmax(0,1fr);
    gap:5px;
  }
  .ubc-page #ubc-app .ubc-manage-share-actions>button{
    font-size:clamp(11px,3.1vw,13px);
    font-weight:700;
    min-height:46px;
    padding:8px 5px;
    margin:0;
    border-radius:9px;
  }
  .ubc-page #ubc-app .ubc-manage-share #extend>button{
    display:block;
    width:100%;
    margin:8px 0 0;
    min-height:46px;
    white-space:normal;
  }
  .ubc-page #ubc-app .ubc-manage-add{
    margin-top:18px;
  }
  .ubc-page #ubc-app>.ubc-manage-ideas-title,
  .ubc-page #ubc-app>.ubc-manage-gifts-title{
    margin-top:26px;
    margin-bottom:13px;
  }
}
