/* =====================================================================
   ESPACE MEMBRES · ce qui s'ajoute à la maquette validée (maquette.css)
   La maquette reste telle quelle. Ici seulement :
   - le bandeau « Maquette » disparaît (il servait à la relecture)
   - le numéro de membre par-dessus la vidéo et le bouton plein écran
   - l'étape « Supprimer mon compte » de la fenêtre
   - les 2 liens discrets en bas de l'espace
   ===================================================================== */

/* Plus de bandeau de maquette en ligne : la navigation remonte tout en haut */
html:root{--strip-h:0px}
@media (max-width:640px){html:root{--strip-h:0px}}

/* Le numéro de la membre, par-dessus l'image pendant toute la lecture */
.hm-wm{position:absolute;z-index:3;left:var(--wx,62%);top:var(--wy,22%);display:none;padding:6px 11px;border-radius:30px;background:rgba(22,22,31,.34);color:rgba(255,255,255,.78);font:700 .7rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.6);pointer-events:none;user-select:none;-webkit-user-select:none;transition:left 1.6s var(--ease),top 1.6s var(--ease)}
.hm-player.is-playing .hm-wm{display:block}
html.hm-reduced .hm-wm{transition:none}

/* Plein écran : c'est tout le lecteur qui passe en grand, avec le numéro */
.hm-vfull{position:absolute;z-index:4;top:12px;right:12px;display:none;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:rgba(22,22,31,.78);color:#fff;cursor:pointer}
.hm-vfull svg{width:20px;height:20px}
.hm-player.is-playing.can-full .hm-vfull{display:grid}
.hm-player:fullscreen{width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:#111;transform:none!important}
.hm-player:-webkit-full-screen{width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:#111;transform:none!important}
.hm-player:fullscreen .hm-wm{font-size:1rem}

/* Bouton occupé pendant un envoi */
.hm-btn[aria-busy="true"]{opacity:.7;cursor:progress}

/* Étape « Supprimer mon compte » de la fenêtre */
html[data-hm-step="delete"] .hm-step[data-step="delete"]{display:block}
html[data-hm-step="delete"] .hm-prog{visibility:hidden}
.hm-step[data-step="delete"] .hm-btn{margin-top:14px}
.hm-step .hm-help{text-align:center}

/* Les 2 liens discrets en bas de l'espace */
.hm-compte{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:34px}
.hm-compte button,.hm-compte a{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;cursor:pointer;font:400 .72rem/1.6 var(--mono);letter-spacing:.08em;color:var(--dim);text-decoration:underline;text-underline-offset:4px}
.hm-compte button:hover,.hm-compte a:hover{color:var(--lin)}

/* Les affiches, quand les fichiers arrivent */
.hm-poster.is-real{padding:0;border-style:solid;background:var(--ink);overflow:hidden}
.hm-poster.is-real img{width:100%;height:100%;object-fit:cover}
.hm-aff-dl{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}

/* La page du lien reçu par e-mail (même fenêtre que l'inscription) */
.hm-porte{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:40px var(--pad)}
.hm-porte-box{position:relative;z-index:1;width:min(100%,520px);padding:30px 30px 28px;border-radius:28px;border:1px solid rgba(227,137,232,.38);background:linear-gradient(180deg,#2b2b47,#232339 44%,#1b1b2a);box-shadow:0 44px 120px rgba(0,0,0,.62),0 0 90px -30px rgba(227,137,232,.5);text-align:center}
.hm-porte-logo{width:76px;height:auto;margin:0 auto 18px;border-radius:16px}
.hm-porte .hm-kicker{margin-bottom:10px}
.hm-porte form{margin-top:24px}
.hm-porte .hm-btn{width:100%}
.hm-porte .hm-btn svg{width:18px;height:18px}

/* Le menu du site, le même que sur toutes les pages (19 novembre 2026) : il prend la place de l'ancienne barre.
   Il garde ce que faisait la barre de l'espace : se cacher quand on descend, la barre de lecture, et passer sous la fenêtre d'inscription. */
html:root{--nav-h:84px}
@media (max-width:700px){html:root{--nav-h:74px}}
#hym.hm-nav{z-index:90;transition:transform .5s var(--ease)}
html.hm-nav-off #hym.hm-nav{transform:translateY(-102%)}
html.hym-tiroir #hym.hm-nav{transform:none}
#hym .hm-progress{position:absolute;z-index:2;left:0;top:0;width:100%;height:3px;transform-origin:left center;transform:scaleX(var(--hm-scroll,0));background:linear-gradient(90deg,var(--citron),var(--rose),var(--lilas))}
