  /* ---------- 1 ▸ Page shell (desktop default) ------------- */
  body{
    margin:0;
    background:#08090a;
    color:#0ff;
    font-family:monospace;

    display:flex;
    flex-direction:column;
    align-items:center;   /* horizontal centring */
    min-height:100vh;
    overflow:hidden;      /* ⬅ desktop: no scroll */
  }

  /* ---------- 2 ▸ Sign-in wrapper -------------------------- */
  #sign-in{
    margin:auto;                 /* perfect centre */
    padding:2rem;
    background:rgba(0,0,0,.8);
    border:1px solid #0ff3;
    border-radius:10px;
    backdrop-filter:blur(12px);
    box-shadow:0 0 30px rgba(0,255,255,.2);
    width:100%;
    max-width:400px;

    display:flex;
    align-items:center;
    justify-content:center;
  }

 /* ---------- 2A ▸ Clerk widget fixes -------------------- */
  .cl-form {
    display:flex !important;
    flex-direction:column !important;
    gap:.5rem !important;
  }
  .cl-form input[type="email"] {
    flex:0 0 auto !important;
    min-width:0 !important;
    width:100% !important;
    box-sizing:border-box !important;
    background:#fff !important;
    color:#000 !important;
    border:1px solid #ccc !important;
  }

  /* ---------- 3 ▸ Footer ---------------------------------- */
  footer.site-footer{
    width:100%;
    padding:1rem;
    background:#000;
    color:#888;
    font-size:.85rem;
    text-align:center;
  }
  footer.site-footer a{color:inherit;text-decoration:underline;}

  /* ---------- 4 ▸ Canvas background ----------------------- */
  #cortex{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:-1;
  }

  /* ---------- 5 ▸ Mobile tweaks (≤600 px) ----------------- */
  @media (max-width:600px){
    /* Pin footer */
    footer.site-footer{
      position:fixed;
      inset:auto 0 0 0;   /* bottom:0; left/right:0 */
      height:4rem;
      margin:0;
      z-index:10;
    }

    /* Make room for footer & allow scroll */
    body{
      padding-bottom:calc(4rem + env(safe-area-inset-bottom));
      overflow:auto;          /* ⬅ mobile: scrolling allowed */
    }

    /* Keep card centred despite extra padding */
    #sign-in{
      margin-top:auto;
      margin-bottom:auto;
    }
  }
