/* MM4U · Únete · los dos registros con un mismo diseño: «Escenario centrado» (Propuesta 2, 16 nov 2026).
   - Arriba una franja de video a lo ancho (Influencers: mosaico del roster; Models: estudio + Postmortem) con
     «← Elegir otro camino» y las pestañas encima. Nada de texto sobre las caras.
   - Debajo una columna centrada: las 5 etapas (Contacto · Tú · Tu perfil · Fotos · Envía), una línea con lo
     clave y el formulario. Las etapas las marca unete-elige.js según la pantalla de cada formulario.
   - Influencers (postula.js) y Models (models-registro.js) se ven igual: mismos campos, botones y títulos. */
html.ue-form body { background: #0f0e0d; }
html.uf-inf :is(.uf-mod, .uf-vid--mod), html.uf-mod :is(.uf-inf, .uf-vid--inf) { display: none; }

.uf { --uf-col: 760px; --uf-ink: #f5f3ee; --uf-bg: #0f0e0d; --uf-card: #1b1917; --uf-line: rgba(245, 243, 238, .14);
  --uf-mute: rgba(245, 243, 238, .7); background: var(--uf-bg); color: var(--uf-ink); padding-bottom: clamp(48px, 7vw, 96px); }

/* ── Franja de video ── */
.uf-hero { position: relative; height: clamp(220px, 32vh, 320px); overflow: hidden; isolation: isolate; }
.uf-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.uf-vid--inf { object-position: 50% 22%; }
.uf-vid--mod { object-position: 50% 38%; }
.uf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 14, 13, .6) 0%, rgba(15, 14, 13, 0) 34%, rgba(15, 14, 13, 0) 58%, var(--uf-bg) 100%); }
.uf-top { position: absolute; top: 20px; left: clamp(16px, 4vw, 56px); right: clamp(16px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.uf-back { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(15, 14, 13, .55); color: var(--uf-ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
.uf-back:hover { background: rgba(15, 14, 13, .85); }
.uf-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(15, 14, 13, .72); }
.uf-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; color: rgba(245, 243, 238, .8); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .25s ease, color .25s ease; }
.uf-tabs a:hover { color: var(--uf-ink); }
.uf-tabs a[aria-current] { background: var(--uf-ink); color: var(--uf-bg); }
.uf-tabs a:focus-visible, .uf-back:focus-visible { outline: 2px solid var(--uf-ink); outline-offset: 2px; }

/* ── Columna centrada ── */
.uf-main { position: relative; width: min(var(--uf-col), calc(100% - 32px)); margin: -36px auto 0; display: grid; gap: 18px; }
.uf-steps { list-style: none; margin: 0 0 10px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
.uf-steps li { display: flex; align-items: center; gap: 8px; color: rgba(245, 243, 238, .5); white-space: nowrap; transition: color .3s ease; }
.uf-steps li + li { flex: 1 1 auto; }
.uf-steps li + li::before { content: ""; flex: 1 1 auto; min-width: 12px; height: 1px; margin-right: 2px; background: rgba(245, 243, 238, .2); }
.uf-steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(245, 243, 238, .45); font-size: 12px; transition: background-color .3s ease, color .3s ease; }
.uf-steps li[aria-current] { color: var(--uf-ink); }
.uf-steps li[aria-current] b { background: var(--uf-ink); color: var(--uf-bg); box-shadow: none; }
.uf-steps li.is-done { color: rgba(245, 243, 238, .82); }
.uf-steps li.is-done b { background: rgba(245, 243, 238, .16); box-shadow: none; font-size: 0; }
.uf-steps li.is-done b::after { content: "✓"; font-size: 13px; }

.uf-kicker { margin: 0; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--uf-mute); }
.uf-facts { margin: 6px auto 8px; max-width: 62ch; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--uf-mute); }

/* ── Títulos de cada pantalla, centrados y del mismo tamaño en los dos ── */
.uf .ps-step > h2, .uf .mdl-step > legend { width: 100%; text-align: center; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.uf .ps-step > .ps-sub, .uf .mdl-help { text-align: center; margin-inline: auto; }

/* ── Models: sin columna de fotos (ya está la franja de arriba) ── */
.uf .mdl-join { display: block; margin: 0; background: none; border-radius: 0; overflow: visible; min-height: 0; }
.uf .mdl-join-side { display: none; }
.uf .mdl-form { padding: 0; background: none; }
.uf .mdl-rhead .mdl-prog { visibility: hidden; }

/* ── Influencers con los mismos campos que Models ── */
.uf .ps {
  --ps-ink: #f5f3ee; --ps-ivory: #0f0e0d; --ps-muted: rgba(245, 243, 238, .66);
  --ps-line: rgba(245, 243, 238, .16); --ps-field: rgba(245, 243, 238, .06); --ps-ok: #7fcf9b; --ps-err: #ff8f80;
  padding: 0; border-radius: 0; background: none; box-shadow: none; gap: 18px;
}
.uf .ps :is(.ps-f input, .ps-f select, .ps-f textarea, .ps-other select, .ps-other input, .ps-drop, .ps-slot, .ps-sum, .ps-chip) { background: var(--ps-field); }
.uf .ps .ps-f select option { background: #141312; color: #f5f3ee; }
.uf .ps :is(.ps-x, .ps-guide, .ps-drop i, .ps-slot.is-req::after, .ps-card.is-soft) { background: rgba(245, 243, 238, .08); }
.uf .ps :is(.ps-bar, .ps-pos) { display: none; }
.uf .ps.is-start .ps-head { display: flex; visibility: hidden; }
.uf .ps .ps-btn { min-height: 56px; font-weight: 800; }
.uf .ps .ps-btn.is-ghost:hover { background: rgba(245, 243, 238, .1); }
.uf .ps .ps-btn:not(.is-ghost):not(:disabled):hover { background: #fff; }
.uf .ps .ps-check input { accent-color: #f5f3ee; }
.uf .ps .ps-step, .uf .ps.is-start .ps-step, .uf .ps.is-end .ps-step { justify-items: stretch; text-align: left; }
.uf .ps.is-end .ps-step > :is(h2, .ps-sub, .ps-done) { text-align: center; justify-self: center; }
/* «Ya soy de MM4U»: tarjeta arriba de los campos, igual a «Ya soy creador de MM4U» de Models */
.uf .ps-foot [data-ps-ya] { display: none; }
.uf .ps-ya-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; height: 64px; padding: 0 12px 0 18px; border: 0; border-radius: 18px; background: var(--uf-card); box-shadow: inset 0 0 0 1px var(--uf-line); color: var(--uf-ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s ease; }
.uf .ps-ya-card:hover { box-shadow: inset 0 0 0 1px rgba(245, 243, 238, .4); }
.uf .ps-ya-card span { display: grid; gap: 3px; }
.uf .ps-ya-card b { font-size: 15px; font-weight: 700; }
.uf .ps-ya-card small { font-size: 12.5px; color: var(--uf-mute); }
.uf .ps-ya-card i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--uf-ink); color: var(--uf-bg); font-style: normal; }
.uf .ps-ya-card:focus-visible { outline: 2px solid var(--uf-ink); outline-offset: 3px; }
.uf .mdl-rhead .mdl-rcount { visibility: hidden; }

/* Entrada al cambiar de registro */
@media (prefers-reduced-motion: no-preference) {
  html.uf-inf .uf-inf, html.uf-mod .uf-mod { animation: uf-in 600ms cubic-bezier(.16, 1, .3, 1) backwards; }
}
@keyframes uf-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }

/* ── Celular ── */
@media (max-width: 640px) {
  .uf-hero { height: 220px; }
  .uf-top { top: 10px; grid-template-columns: 1fr; justify-items: stretch; gap: 8px; }
  .uf-back { justify-self: start; min-height: 36px; padding: 0 12px; font-size: 13px; }
  .uf-tabs a { flex: 1; justify-content: center; padding: 0 10px; }
  .uf-main { margin-top: -28px; gap: 14px; }
  .uf-steps { gap: 6px; }
  .uf-steps span { display: none; }
  .uf-steps li[aria-current] span { display: inline; }
  .uf-steps b { width: 26px; height: 26px; }
  .uf-facts { font-size: 12.5px; }
}
