/* Pagina de acceso (blanco/morado, ADN de unete) */
    /* LOGIN — blanco y morado monocromo (ADN de unete.html) con la
       contención y el feedback físico de Apple */
    #loginView {
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 28px 24px;
      background: #ffffff;
      color: var(--uw);
      font-family: 'Barlow', 'DM Sans', sans-serif;
      position: relative;
      overflow: hidden
    }

    /* Marca de agua gigante, como los numerales de unete */
    #loginView::before {
      content: 'MANOS';
      position: absolute;
      top: 2px;
      left: 50%;
      transform: translateX(-50%);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(120px, 30vw, 260px);
      font-weight: 900;
      color: var(--uw-faint);
      line-height: 1;
      letter-spacing: -2px;
      pointer-events: none;
      user-select: none
    }

    .l-logo {
      width: 66px;
      height: 66px;
      border-radius: 16px;
      overflow: hidden;
      margin: 0 auto 18px;
      box-shadow: 0 10px 26px rgba(124, 58, 237, .22);
      position: relative;
      z-index: 1;
      animation: loginRise .55s cubic-bezier(.22, 1, .36, 1) backwards
    }

    .l-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .l-eyebrow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--uw);
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
      animation: loginRise .55s cubic-bezier(.22, 1, .36, 1) .04s backwards
    }

    .l-eyebrow i {
      display: none
    }

    .l-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(3rem, 12vw, 4.6rem);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -1px;
      color: var(--uw);
      text-align: center;
      line-height: .92;
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
      animation: loginRise .55s cubic-bezier(.22, 1, .36, 1) .07s backwards
    }

    .l-title span {
      color: var(--uw)
    }

    .l-sub {
      text-align: center;
      color: var(--uw-soft);
      font-size: .82rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 30px;
      position: relative;
      z-index: 1;
      animation: loginRise .55s cubic-bezier(.22, 1, .36, 1) .1s backwards
    }

    .l-box {
      background: #ffffff;
      border: 1.5px solid var(--uw-mid);
      border-radius: 20px;
      padding: 26px 24px;
      width: 100%;
      max-width: 400px;
      position: relative;
      z-index: 1;
      box-shadow: 0 18px 50px rgba(124, 58, 237, .1);
      animation: loginRise .55s cubic-bezier(.22, 1, .36, 1) .14s backwards
    }

    @keyframes loginRise {
      from { opacity: 0; transform: translateY(14px) }
      to { opacity: 1; transform: translateY(0) }
    }

    .l-lbl {
      font-size: .78rem;
      font-weight: 700;
      color: var(--uw);
      margin-bottom: 6px;
      display: block
    }

    .l-inp {
      width: 100%;
      background: var(--uw-faint);
      border: 1.5px solid var(--uw-border);
      border-radius: 11px;
      color: var(--uw-dark);
      font-size: 1rem;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      padding: 12px 14px;
      text-transform: uppercase;
      letter-spacing: 2px;
      outline: none;
      transition: border-color .2s, background .2s, box-shadow .2s;
      margin-bottom: 5px
    }

    .l-inp:focus {
      border-color: var(--uw);
      background: var(--uw-light);
      box-shadow: 0 0 0 3.5px rgba(124, 58, 237, .16)
    }

    .l-inp::placeholder {
      color: var(--uw-muted);
      text-transform: none;
      letter-spacing: .5px;
      font-weight: 400;
      font-family: 'Barlow', 'DM Sans', sans-serif
    }

    .l-hint {
      font-size: .76rem;
      color: var(--uw-soft);
      margin-bottom: 14px;
      display: flex;
      gap: 6px;
      align-items: flex-start;
      line-height: 1.5
    }

    .l-hint i {
      color: var(--uw-muted);
      flex-shrink: 0;
      margin-top: 2px
    }

    .l-btn {
      width: 100%;
      background: var(--uw);
      color: white;
      border: none;
      border-radius: 12px;
      padding: 14px;
      font-family: 'Barlow', 'DM Sans', sans-serif;
      font-size: .95rem;
      font-weight: 700;
      letter-spacing: .02em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background .2s, transform .1s ease-out
    }

    .l-btn:hover {
      background: var(--uw-dark)
    }

    .l-btn:active {
      transform: scale(.97)
    }

    .l-btn:disabled {
      opacity: .55;
      cursor: not-allowed;
      transform: none
    }

    /* Separador "o" entre correo y Google */
    .l-or {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 16px 0 14px;
      color: var(--uw-muted);
      font-size: .74rem;
      text-transform: uppercase;
      letter-spacing: .08em
    }

    .l-or::before,
    .l-or::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--uw-light)
    }

    /* Entrar con Google — botón blanco, contorno de marca */
    .l-btn-google {
      width: 100%;
      background: var(--w);
      color: var(--tx);
      border: 1.5px solid var(--uw-border);
      border-radius: 12px;
      padding: 13px;
      font-family: 'Barlow', 'DM Sans', sans-serif;
      font-size: .95rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: border-color .2s, background .2s, transform .1s ease-out
    }

    .l-btn-google svg {
      width: 19px;
      height: 19px;
      flex-shrink: 0
    }

    .l-btn-google:hover {
      border-color: var(--uw);
      background: var(--uw-faint)
    }

    .l-btn-google:active {
      transform: scale(.97)
    }

    .l-btn-google:disabled {
      opacity: .55;
      cursor: not-allowed;
      transform: none
    }

    .l-err {
      background: rgba(220, 38, 38, .06);
      border: 1px solid rgba(220, 38, 38, .18);
      border-radius: 10px;
      padding: 9px 11px;
      font-size: .8rem;
      color: #b91c1c;
      margin-top: 9px;
      display: none
    }

    /* Selector Iniciar sesión / Crear cuenta — control segmentado tipo iOS */
    .auth-seg {
      display: flex;
      gap: 4px;
      background: var(--uw-faint);
      padding: 4px;
      border-radius: 12px;
      margin-bottom: 18px
    }

    .auth-tab {
      flex: 1;
      background: transparent;
      border: none;
      border-radius: 9px;
      color: var(--uw-soft);
      font-family: 'Barlow', 'DM Sans', sans-serif;
      font-size: .88rem;
      font-weight: 700;
      padding: 9px;
      cursor: pointer;
      transition: background .2s, color .2s
    }

    .auth-tab:hover {
      color: var(--uw)
    }

    .auth-tab:active {
      transform: scale(.98)
    }

    .auth-tab.on {
      background: var(--uw);
      color: white
    }

    /* Variante para correo/contraseña/apodo (sin mayúsculas forzadas del código) */
    .l-inp-txt {
      text-transform: none;
      letter-spacing: .3px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      font-size: .95rem
    }

