/* Responsive des pages « appli » (inscription, fil, carte, profil) : AJOUT à la maquette de Grok (1440 px).
   Rien ne s'applique au-dessus de 1100 px. Crochets « ra-… » posés dans gabarits/. */
@media (max-width:1259px){
  html body .topbar{padding:0 16px;gap:12px;height:72px;min-width:0}
  html body .topbar > *{min-width:0}
  html body .recherche{min-width:0;white-space:nowrap;overflow:hidden}
  /* fil */
  html body .ra-shell{grid-template-columns:minmax(0,1fr);padding:0 16px;gap:0;min-height:0}
  html body .ra-menu{display:flex;flex-wrap:wrap;gap:6px;padding-top:16px}
  html body .ra-menu a{height:48px;padding:0 14px}
  html body .ra-puces{flex-wrap:wrap}
  html body .ra-shell > aside:last-child{padding-bottom:40px}
  /* carte */
  html body .ra-carte{height:auto;min-height:816px;padding:16px}
  html body .ra-panneau{position:relative;left:auto;top:auto;width:auto;max-width:420px}
  html body .ra-zoom{right:16px;top:auto;bottom:64px}
  html body .ra-zoom{z-index:2}
  /* profil */
  html body .ra-profil{grid-template-columns:minmax(0,1fr);gap:24px}
  html body .ra-contenu{padding-top:0}
  /* inscription */
  html body .ra-ins{grid-template-columns:minmax(0,1fr);min-height:0}
  html body .ra-ins > *{min-width:0}
  html body .ra-ins .s1f5745{white-space:normal}
  html body .ra-ins-form{overflow-wrap:anywhere}
  html body .ra-ins-form{padding:32px 24px 40px}
  html body .ra-ins-img{min-height:440px}
  html body .ra-ins-legende{left:24px;right:24px;bottom:32px}
}
@media (max-width:700px){
  /* reflow 320 px : la barre du haut passe à la ligne (pastille Fantôme sous le logo), rien ne dépasse */
  html body .topbar{height:auto;flex-wrap:wrap;gap:8px 12px;padding:8px 16px;justify-content:space-between}
  html body .topbar .sda5cd6{display:none}
  html body .recherche,html body .ra-cloche{display:none}
  html body .ra-chip{height:44px;padding:0 14px}
  html body .ra-deco,html body .ra-zoom{display:none}
  html body .ra-carte{min-height:760px;padding:12px}
  html body .ra-panneau{max-width:none}
  html body .s3d2074{left:12px;right:12px;bottom:12px}
  html body .ra-grille{grid-template-columns:1fr 1fr;gap:12px}
  html body .ra-photo{height:170px}
  html body .ra-ins-h1{font-size:38px;line-height:44px;margin-top:36px}
  html body .ra-ins-roles{grid-template-columns:1fr}
  html body .ra-ins-img{min-height:380px}
  html body .s212fd2{font-size:32px;line-height:40px}
  html body .ra-shell .champ{display:block;min-width:0;line-height:53px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .puce{white-space:nowrap}
  html body .ra-contenu > div:first-child{flex-wrap:wrap}
}
