/* V5 · ÉCRAN DE CONNEXION (PC) — un formulaire de compte sobre et lisible, centré sur le fond de la fenêtre :
   marque, champs, action principale et accès aux fournisseurs alignés sur les contrôles V5. Le balisage et la logique restent intacts. */

html.v5 .auth-screen{
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; overflow: auto;
  background: var(--v5-fond-lateral); font-family: var(--v5-police); color: var(--v5-texte);
}
html.v5 .auth-screen.hidden{ display: none; }
html.v5 .auth-box{
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; box-sizing: border-box; width: 100%; max-width: 316px; margin: 0; padding: 28px 24px 20px;
  border: 1px solid var(--v5-separateur); border-radius: var(--v5-r-groupe); background: var(--v5-surface-elevee);
  box-shadow: var(--v5-ombre-popover); text-align: center; animation: v5-alerte 220ms var(--v5-courbe);
}
html.v5 .auth-box.hidden{ display: none; }
/* le logo de BDRD, en violet, posé directement sur le fond (demande de Lucas, 11/10 : plus de tuile) */
html.v5 .auth-logo{ display: grid; place-items: center; width: 72px; height: auto; margin: 4px auto 8px; border-radius: 0; background: none; box-shadow: none; color: var(--v5-violet); }
html.v5 .auth-logo svg{ width: 100%; height: auto; }
html.v5 .auth-title{ margin: 0 0 10px; font-size: var(--v5-t-17); font-weight: var(--v5-g-gras); line-height: var(--v5-i-17); letter-spacing: -.01em; color: var(--v5-texte); }
html.v5 .auth-sub{ margin: -6px 0 8px; font-size: var(--v5-t-13); line-height: 1.4; color: var(--v5-texte-2); }
html.v5 .auth-box input:is([type=email], [type=password], [type=text]){ height: var(--v5-ctrl-l); margin: 0; padding: 0 9px; text-align: left; }
html.v5 .auth-box button.primary{ width: 100%; height: var(--v5-ctrl-l); margin: 4px 0 0; padding: 0 16px; border-radius: var(--v5-r-bouton); }
html.v5 .auth-accept{ display: flex; align-items: flex-start; gap: 7px; margin: 2px 0; text-align: left; font-size: var(--v5-t-12); line-height: 15px; color: var(--v5-texte-2); }
html.v5 .auth-accept.hidden{ display: none; }
html.v5 .auth-accept input{ margin-top: 0; }
html.v5 .auth-ou{ display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: var(--v5-t-11); color: var(--v5-texte-3); }
html.v5 .auth-ou span{ flex: 1; height: 1px; background: var(--v5-separateur); }
/* « Continuer avec Google » : bouton bordé Large en capsule */
html.v5 .auth-google{
  display: flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; width: 100%; height: var(--v5-ctrl-l); margin: 0; padding: 0 16px;
  border: 0; border-radius: var(--v5-r-bouton); background: var(--v5-bouton); box-shadow: none; color: var(--v5-texte);
  font: var(--v5-g-moyen) var(--v5-t-13)/16px var(--v5-police); cursor: default;
}
html.v5 .auth-google:hover{ filter: brightness(.96); }
html.v5 .auth-google:active{ background: var(--v5-bouton-presse); filter: none; }
html.v5 .auth-google svg{ width: 15px; height: 15px; flex: none; }
html.v5 .auth-box .link-btn{ align-self: center; height: var(--v5-ctrl-s); margin: 2px 0 0; padding: 0 6px; border-radius: var(--v5-r-petit); font-size: var(--v5-t-13); }
html.v5 .auth-box .status-line{ min-height: 0; margin: 2px 0 0; font-size: var(--v5-t-12); line-height: 15px; color: var(--v5-texte-2); }
html.v5 .auth-box .status-line:empty{ display: none; }
html.v5 .auth-legal{ margin: 8px 0 0; font-size: var(--v5-t-11); line-height: 14px; color: var(--v5-texte-3); }
html.v5 .auth-legal a{ color: var(--v5-texte-2); text-decoration: none; }
html.v5 .auth-legal a:hover{ text-decoration: underline; }

/* ---- entrée : le formulaire est là tout de suite. L’ancienne mise en scène (logo qui se trace, puis les champs un par un)
   laissait une carte vide pendant 2 à 3 secondes avant qu’on puisse taper son adresse. Un fondu bref, sans délai. */
html.v5 #auth-screen .auth-box > *:not(.auth-logo){ animation: v5-fondu 160ms ease-out both; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce){ html.v5 #auth-screen .auth-box > *:not(.auth-logo){ animation: none; } }

/* ---- le logo de BDRD est là tout de suite, en violet plein. L'ancienne animation le traçait en
   3 secondes puis le remplissait : pendant ce temps on ne voyait qu'un carré violet vide. */
html.v5 #auth-screen .auth-logo path{ animation: none; fill: var(--v5-violet); fill-opacity: 1; stroke: var(--v5-violet); stroke-opacity: 0; stroke-dashoffset: 0; }
html.v5 #auth-screen .auth-logo::before{ content: none; }

/* ---- sous la carte : la mascotte qui flotte et une phrase qui s'écrit (js/v5/pages/connexion.js) */
html.v5 .auth-screen{ grid-auto-flow: row; align-content: center; justify-items: center; gap: 22px; }
html.v5 .cx-vitrine{ display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 316px; min-height: 48px; padding: 0 6px; }
html.v5 .cx-vitrine .as-mascotte{ flex: none; width: 44px; height: 44px; margin: 0; }
html.v5 .cx-vitrine p{ flex: 1; min-width: 0; margin: 0; text-align: left; font: var(--v5-g-normal) var(--v5-t-13)/18px var(--v5-police); color: var(--v5-texte-2); }
html.v5 .cx-vitrine b{ font-weight: var(--v5-g-fort); color: var(--v5-texte); }
html.v5 .cx-curseur{ display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; border-radius: 1px; background: var(--v5-violet); animation: cx-clignote 1s steps(1) infinite; }
html.v5 .cx-calme .cx-curseur{ display: none; }
@keyframes cx-clignote{ 50%{ visibility: hidden; } }

/* ---- bas de la carte, remis en ordre (11/10) : « Mot de passe oublié ? » discret sous le mot de passe, le message d'erreur
   juste au-dessus du bouton, puis Google, puis une seule ligne « Pas de compte ? Créer un compte » (seule l'action est en
   couleur), et les mentions en note de bas de carte derrière un filet. L'ordre vient de « order » : le balisage ne bouge pas. */
html.v5 #login-box > .auth-logo{ order: 0; }
html.v5 #login-box > .auth-title{ order: 1; }
html.v5 #login-box > #auth-email{ order: 2; }
html.v5 #login-box > #auth-password{ order: 3; }
html.v5 #login-box > #forgot-password-btn{ order: 4; align-self: flex-end; height: auto; margin: -2px 0 2px; padding: 0 2px; width: auto; font-size: var(--v5-t-12); line-height: 15px; font-weight: var(--v5-g-normal); color: var(--v5-texte-2); }
html.v5 #login-box > #forgot-password-btn:hover{ color: var(--v5-texte); background: none; text-decoration: underline; }
html.v5 #login-box > #auth-status{ order: 5; text-align: left; }
html.v5 #login-box > #auth-submit{ order: 6; }
html.v5 #login-box > .auth-ou{ order: 7; }
html.v5 #login-box > #auth-google{ order: 8; }
html.v5 #login-box > #auth-toggle{ order: 9; height: auto; margin: 10px 0 0; padding: 2px 6px; font-size: var(--v5-t-13); line-height: 16px; font-weight: var(--v5-g-normal); color: var(--v5-texte-2); }
html.v5 #login-box > #auth-toggle b{ font-weight: var(--v5-g-moyen); color: var(--v5-violet-texte); }
html.v5 #login-box > #auth-toggle:hover{ background: none; }
html.v5 #login-box > #auth-toggle:hover b{ text-decoration: underline; }
html.v5 #login-box > .auth-legal{ order: 10; width: auto; margin: 14px 0 0; padding: 12px 0 0; box-shadow: inset 0 var(--v5-trait-fort) 0 var(--v5-separateur); font-size: var(--v5-t-11); line-height: 15px; color: var(--v5-texte-3); }
html.v5 #login-box > .auth-legal a{ color: var(--v5-texte-2); text-decoration: none; }
html.v5 #login-box > .auth-legal a:hover{ color: var(--v5-texte); text-decoration: underline; }
html.v5 #login-box > .auth-legal #auth-legal-phrase{ display: block; margin-bottom: 4px; }
html.v5 #login-box > .auth-legal br{ display: none; }
html.v5 .auth-box{ padding-bottom: 14px; }

/* ---- la mascotte parle, au-dessus de la carte : bulle avec une pointe vers elle, bouche qui s'ouvre et se ferme pendant
   que la phrase s'écrit, petit hochement en même temps */
html.v5 .cx-vitrine{ order: -1; align-items: flex-end; gap: 10px; min-height: 56px; padding: 0 2px; }
html.v5 .cx-vitrine .as-mascotte{ width: 48px; height: 48px; }
html.v5 .cx-vitrine .cx-bulle{ position: relative; flex: 0 1 auto; margin: 0 0 12px; padding: 8px 12px; border-radius: 14px; background: var(--v5-fond-groupe); box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur); min-height: 18px; }
html.v5 .cx-vitrine .cx-bulle::before{ content: ""; position: absolute; left: -5px; bottom: 9px; width: 10px; height: 10px; border-radius: 2px; background: var(--v5-fond-groupe); box-shadow: inset var(--v5-trait-fort) calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur); transform: rotate(45deg); }
html.v5 .cx-bouche{ transform-box: fill-box; transform-origin: center; transform: scaleY(.22); }
html.v5 .cx-parle .cx-bouche{ animation: cx-parle 260ms steps(2) infinite; }
html.v5 .cx-parle .as-mascotte{ animation: cx-hoche 520ms ease-in-out infinite; }
@keyframes cx-parle{ 0%{ transform: scaleY(.22); } 50%{ transform: scaleY(1); } 100%{ transform: scaleY(.22); } }
@keyframes cx-hoche{ 50%{ transform: translateY(-2px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce){ html.v5 .cx-parle .cx-bouche, html.v5 .cx-parle .as-mascotte{ animation: none; } }

/* ---- page d'entrée à la manière de Cursor et de Claude (11/10) : plus de carte. La marque (logo violet + nom) en haut à
   gauche de la page ; au centre une colonne : la mascotte qui parle, un grand titre sur deux tons, Google d'abord, « ou »,
   l'adresse, le mot de passe, le bouton ; les mentions tout en bas de la page. Contrôles en taille XL (36), comme une page
   d'accueil et non un formulaire de réglages. */
html.v5 .auth-screen{ background: var(--v5-fond); gap: 28px; padding: 72px 24px 64px; }
html.v5 #login-box{ max-width: 360px; padding: 0; gap: 10px; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; text-align: left; animation: none; }
html.v5 #login-box > .auth-logo{ position: fixed; left: 28px; top: 22px; width: 30px; margin: 0; }
html.v5 #login-box > .auth-title{ position: fixed; left: 68px; top: 24px; width: auto; margin: 0; font: var(--v5-g-gras) var(--v5-t-17)/24px var(--v5-police); letter-spacing: .01em; color: var(--v5-texte); }
html.v5 .cx-accueil{ order: 1; margin: 0 0 14px; }
html.v5 .cx-accueil h1{ margin: 0; font: var(--v5-g-moyen) var(--v5-t-26)/32px var(--v5-police); letter-spacing: -.02em; color: var(--v5-texte); }
html.v5 .cx-accueil p{ margin: 0; font: var(--v5-g-moyen) var(--v5-t-26)/32px var(--v5-police); letter-spacing: -.02em; color: var(--v5-texte-3); }
html.v5 #login-box > #auth-google{ order: 2; height: var(--v5-ctrl-xl); border-radius: var(--v5-r-bouton); }
html.v5 #login-box > .auth-ou{ order: 3; margin: 8px 0; }
html.v5 #login-box > #auth-email{ order: 4; }
html.v5 #login-box > #auth-password{ order: 5; }
html.v5 #login-box > #forgot-password-btn{ order: 6; }
html.v5 #login-box > #auth-status{ order: 7; }
html.v5 #login-box > #auth-submit{ order: 8; height: var(--v5-ctrl-xl); margin-top: 2px; font-size: var(--v5-t-13); }
html.v5 #login-box input:is([type=email], [type=password], [type=text]){ height: var(--v5-ctrl-xl); padding: 0 12px; border-radius: var(--v5-r-bouton); }
html.v5 #login-box > .auth-legal{ order: 10; position: fixed; left: 0; right: 0; bottom: 18px; width: min(360px, calc(100vw - 48px)); margin: 0 auto; padding: 0; box-shadow: none; text-align: center; }   /* à la largeur du formulaire : en pleine largeur, la phrase faisait une seule ligne interminable */
html.v5 #login-box > .auth-legal #auth-legal-phrase{ display: block; margin: 0 0 6px; text-wrap: balance; }
html.v5 .cx-vitrine{ max-width: 360px; padding: 0; }

/* ---- d'après les modèles (Supabase, Vercel, Cursor, Claude) : libellés au-dessus des champs, œil du mot de passe, Google
   en bouton à contour, ligne « Pas de compte ? » sous le bouton, bouton de bascule en haut à droite de la page */
html.v5 .cx-libelle{ display: block; margin: 6px 0 -4px; font: var(--v5-g-moyen) var(--v5-t-12)/15px var(--v5-police); color: var(--v5-texte-2); text-align: left; }
html.v5 #login-box > .cx-libelle[for="auth-email"]{ order: 4; }
html.v5 #login-box > #auth-email{ order: 4; }
html.v5 #login-box > .cx-libelle[for="auth-password"]{ order: 5; }
html.v5 #login-box > .cx-mdp{ order: 5; position: relative; display: block; }
html.v5 #login-box .cx-mdp input{ width: 100%; box-sizing: border-box; padding-right: 40px; }
/* z-index : le champ actif prend z-index 1 (anneau de focus) et passait par-dessus l’œil, qui disparaissait pendant la saisie (16/10) */
html.v5 .cx-oeil{ position: absolute; z-index: 2; right: 5px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; padding: 0; border: 0; border-radius: var(--v5-r-ctrl); background: none; color: var(--v5-texte-3); cursor: default; }
html.v5 .cx-oeil:hover{ background: var(--v5-rempli-3); color: var(--v5-texte); }
html.v5 .cx-oeil[aria-pressed="true"]{ color: var(--v5-violet-texte); }
html.v5 .cx-oeil svg{ width: 16px; height: 16px; }
html.v5 #login-box > #auth-google{ background: none; box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur-fort); }
html.v5 #login-box > #auth-google:hover{ background: var(--v5-rempli-3); filter: none; }
html.v5 #login-box > #forgot-password-btn[hidden]{ display: none; }
html.v5 #login-box > #auth-toggle{ order: 9; display: block; align-self: center; height: auto; margin: 12px 0 0; padding: 2px 6px; font-size: var(--v5-t-13); line-height: 16px; font-weight: var(--v5-g-normal); color: var(--v5-texte-2); }
html.v5 .cx-haut{ position: fixed; right: 24px; top: 20px; height: var(--v5-ctrl-l); padding: 0 12px; border: 0; border-radius: var(--v5-r-bouton); background: none; box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur-fort); color: var(--v5-texte); font: var(--v5-g-moyen) var(--v5-t-13)/16px var(--v5-police); cursor: default; }
html.v5 .cx-haut:hover{ background: var(--v5-rempli-3); }
html.v5 .cx-haut:focus-visible, html.v5 .cx-oeil:focus-visible{ outline: var(--v5-focus-l) solid var(--v5-focus); outline-offset: 1px; }
html.v5 .cx-accueil p:empty{ display: none; }

/* ---- fenêtre basse : la ligne des conditions n'est plus collée au bas de la fenêtre (elle passait sur le formulaire) ;
   elle suit le formulaire, et la page défile si besoin */
@media (max-height: 800px){
  html.v5 .auth-screen{ padding-top: 64px; padding-bottom: 24px; }
  html.v5 #login-box > .auth-legal{ position: static; margin: 28px 0 0; padding: 0; text-align: left; }
}

/* ---- la vitrine : des bulles qui s'empilent (la dernière, nette, s'écrit en direct ; les précédentes pâlissent) et la
   mascotte qui bouge. D'abord la version compacte (fenêtre étroite) : bulle courante seule, à droite de la mascotte. */
html.v5 .cx-vitrine{ order: -1; display: flex; align-items: flex-end; gap: 10px; min-height: 56px; }
html.v5 .cx-bulles{ order: 2; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html.v5 .cx-bulles .cx-bulle{ align-self: flex-start; margin: 0 0 12px; font: var(--v5-g-normal) var(--v5-t-13)/18px var(--v5-police); color: var(--v5-texte); animation: cx-arrive 240ms var(--v5-courbe) both; }
html.v5 .cx-bulles .cx-bulle:not(.cx-courante){ display: none; }
html.v5 .cx-bulles .cx-bulle:not(.cx-courante) .cx-curseur{ display: none; }
html.v5 .cx-vitrine .as-mascotte{ order: 1; animation: cx-balade 9s ease-in-out infinite; }
html.v5 .cx-parle .as-mascotte{ animation: cx-hoche 520ms ease-in-out infinite; }
@keyframes cx-arrive{ from{ transform: translateY(8px) scale(.96); } }
@keyframes cx-balade{ 0%, 100%{ transform: translate(0, 0) rotate(0); } 20%{ transform: translate(6px, -5px) rotate(3deg); } 45%{ transform: translate(-4px, -2px) rotate(-2deg); } 70%{ transform: translate(3px, -6px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce){ html.v5 .cx-vitrine .as-mascotte, html.v5 .cx-bulles .cx-bulle{ animation: none; } }

/* ---- grand écran : deux moitiés, comme Supabase et Claude sur ordinateur. À gauche le formulaire ; à droite la vitrine,
   sur un fond un peu différent : les bulles en colonne (trois au plus), la mascotte en grand dessous. */
@media (min-width: 1000px){
  html.v5 .auth-screen{ grid-template-columns: minmax(440px, 46%) 1fr; grid-auto-flow: column; align-content: stretch; align-items: center; justify-items: center; gap: 0; padding: 0; }
  html.v5 #login-box, html.v5 #reset-password-box{ grid-column: 1; grid-row: 1; margin: 72px 40px; }
  html.v5 .cx-vitrine{ grid-column: 2; grid-row: 1; order: 0; flex-direction: column; align-items: center; justify-content: center; gap: 26px; align-self: stretch; justify-self: stretch; max-width: none; min-height: 100vh; padding: 48px; box-sizing: border-box; background: var(--v5-fond-lateral); box-shadow: inset var(--v5-trait-fort) 0 0 var(--v5-separateur); }
  html.v5 .cx-bulles{ order: 1; align-items: center; justify-content: flex-end; gap: 10px; width: min(420px, 100%); min-height: 190px; }
  html.v5 .cx-bulles .cx-bulle{ display: block; align-self: center; margin: 0; padding: 11px 16px; border-radius: 18px; max-width: 100%; font-size: var(--v5-t-17); line-height: 24px; text-align: left; }
  html.v5 .cx-bulles .cx-bulle:not(.cx-courante){ display: block; color: var(--v5-texte-3); background: none; box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur); }
  html.v5 .cx-bulles .cx-bulle::before{ display: none; }
  html.v5 .cx-bulles .cx-bulle.cx-courante::before{ display: block; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 0 0 4px 0; box-shadow: inset calc(-1 * var(--v5-trait-fort)) calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur); clip-path: polygon(80% 0, 100% 0, 100% 100%, 0 100%, 0 80%); }   /* seule la pointe du bas dépasse : sans la découpe, on voyait un losange entier posé sous la bulle */
  html.v5 .cx-vitrine .as-mascotte{ order: 2; width: 132px; height: 132px; }
  html.v5 .cx-curseur{ height: 18px; vertical-align: -3px; }
  html.v5 #login-box > .auth-legal{ left: 0; right: auto; width: max(440px, 46vw); box-sizing: border-box; padding: 0 40px; }
  html.v5 #login-box > .auth-legal #auth-legal-phrase{ display: block; }
  html.v5 #login-box > .auth-legal #auth-legal-phrase::after{ content: none; }
}
@media (min-width: 1000px) and (max-height: 800px){
  html.v5 #login-box > .auth-legal{ width: auto; padding: 0; }
}

/* ---- le bonhomme bouge « en pixels » : pas de glissement ni de rotation, seulement des sauts d'un demi-bloc, comme un
   personnage de jeu. Le corps se décale par à-coups, les yeux regardent à gauche, à droite, en bas, les bras se lèvent
   l'un après l'autre. « --pas » = un demi-bloc à la taille affichée (le dessin fait 9 unités par bloc sur 96). */
html.v5 .cx-vitrine{ --pas: 2px; }
html.v5 .cx-vitrine .as-mascotte{ animation: cx-corps 3.2s steps(1) infinite; }
html.v5 .cx-parle .as-mascotte{ animation: cx-corps-parle .5s steps(1) infinite; }
html.v5 .cx-vitrine .as-m-yeux{ transition: none; animation: cx-yeux 7s steps(1) infinite; }
html.v5 .cx-vitrine .as-m-bras-d{ animation: cx-bras 3.2s steps(1) infinite; }
html.v5 .cx-vitrine .as-m-bras-g{ animation: cx-bras 3.2s steps(1) 1.6s infinite; }
html.v5 .cx-parle .as-m-bras-d{ animation: cx-bras .5s steps(1) infinite; }
@keyframes cx-corps{ 0%{ transform: translate(0, 0); } 25%{ transform: translate(0, calc(-1 * var(--pas))); } 50%{ transform: translate(var(--pas), calc(-1 * var(--pas))); } 75%{ transform: translate(var(--pas), 0); } }
@keyframes cx-corps-parle{ 0%{ transform: translate(0, 0); } 50%{ transform: translate(0, calc(-1 * var(--pas))); } }
@keyframes cx-yeux{ 0%{ transform: translate(0, 0); } 22%{ transform: translate(3px, 0); } 36%{ transform: translate(0, 0); } 54%{ transform: translate(-3px, 0); } 66%{ transform: translate(0, 0); } 82%{ transform: translate(0, 3px); } 92%{ transform: translate(0, 0); } }
@keyframes cx-bras{ 0%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
@media (min-width: 1000px){ html.v5 .cx-vitrine{ --pas: 4px; } }
@media (prefers-reduced-motion: reduce){ html.v5 .cx-vitrine .as-mascotte, html.v5 .cx-vitrine .as-m-yeux, html.v5 .cx-vitrine .as-m-bras-d, html.v5 .cx-vitrine .as-m-bras-g{ animation: none; } }

/* ---- pixels nets (11/10) : tailles où un bloc du dessin tombe sur un nombre entier de points (64 → 6, 128 → 12) */
html.v5 .cx-vitrine .as-mascotte{ width: 64px; height: 64px; }
html.v5 .cx-vitrine .as-m-bouche{ display: block; }
@media (min-width: 1000px){ html.v5 .cx-vitrine .as-mascotte{ width: 128px; height: 128px; } }

/* ---- la bulle et sa pointe ne font qu'une seule forme (11/10) : même fond OPAQUE pour les deux (le fond de groupe, translucide,
   posé sur la couleur de la page). Avec un fond translucide, la pointe se superposait à la bulle et se voyait comme un losange à part.
   Seule la bulle qui parle a la pointe ; elle la perd quand la suivante arrive. */
html.v5 .cx-vitrine{ --cx-sous: var(--v5-fond); }
@media (min-width: 1000px){ html.v5 .cx-vitrine{ --cx-sous: var(--v5-fond-lateral); } }
html.v5 .cx-vitrine .cx-bulle, html.v5 .cx-vitrine .cx-bulle::before{ background: linear-gradient(var(--v5-fond-groupe), var(--v5-fond-groupe)), var(--cx-sous); }

/* ---- grand écran (11/10, demande de Lucas) : la colonne du formulaire est un peu moins large (46 %), mais son contenu est agrandi
   de 14 % pour ne pas paraître perdu au milieu. Le logo et le pied légal, fixés aux bords, gardent leur taille. */
@media (min-width: 1400px) and (min-height: 800px){
  html.v5 #login-box, html.v5 #reset-password-box{ max-width: 410px; }
  html.v5 :is(#login-box, #reset-password-box) > :not(.auth-logo):not(.auth-legal){ zoom: 1.14; }
}

