/* TPT_AUTH_EXPERIENCE_V1_20261115
   Shared visual language for the Hub front door, the administrator sign-in and
   the two-factor challenge. Navy/gold Parish Trust palette, Raleway, soft
   decorative motion. All motion is decorative only and is switched off under
   prefers-reduced-motion. */
:root{
  --authx-ink:#17324d;
  --authx-ink-2:#27496b;
  --authx-muted:#627d97;
  --authx-line:#dbe6f0;
  --authx-paper:#ffffff;
  --authx-soft:#f3f8fc;
  --authx-gold:#f0b233;
  --authx-gold-soft:#f8d27a;
  --authx-green:#2f7d4f;
  --authx-navy-deep:#0b1a2b;
  --authx-navy:#17324d;
  --authx-navy-2:#24486b;
}
*{box-sizing:border-box}
[hidden]{display:none !important}

/* ---------- Page canvas ---------- */
body.authx{
  margin:0;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1rem;
  padding:clamp(1rem,3vw,2.5rem);
  font-family:'Raleway','Avenir Next',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--authx-ink);
  background:#0d2032;
  background-image:
    radial-gradient(1100px 760px at 6% -12%,rgba(58,112,155,.55),transparent 60%),
    radial-gradient(900px 620px at 106% 112%,rgba(240,178,51,.16),transparent 58%),
    radial-gradient(760px 520px at 88% -8%,rgba(47,125,79,.16),transparent 55%),
    linear-gradient(150deg,#0a1726 0%,#122a40 48%,#1d3d5c 100%);
  background-attachment:fixed;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}

/* ---------- Ambient background ---------- */
.authx-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.authx-bg .orb{position:absolute;border-radius:50%;filter:blur(56px);opacity:.5;mix-blend-mode:screen;will-change:transform}
.authx-bg .orb-1{width:46vmax;height:46vmax;left:-16vmax;top:-20vmax;background:radial-gradient(circle at 40% 40%,rgba(86,150,198,.55),transparent 66%);animation:authxDrift1 24s ease-in-out infinite alternate}
.authx-bg .orb-2{width:40vmax;height:40vmax;right:-14vmax;bottom:-16vmax;background:radial-gradient(circle at 45% 45%,rgba(240,178,51,.42),transparent 66%);animation:authxDrift2 28s ease-in-out infinite alternate}
.authx-bg .orb-3{width:34vmax;height:34vmax;right:18%;top:-18vmax;background:radial-gradient(circle at 50% 50%,rgba(47,125,79,.34),transparent 66%);animation:authxDrift3 32s ease-in-out infinite alternate}
.authx-bg .grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:radial-gradient(circle at 50% 38%,rgba(0,0,0,.5),transparent 72%);mask-image:radial-gradient(circle at 50% 38%,rgba(0,0,0,.5),transparent 72%)}
.authx-bg .spark{position:absolute;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.85);box-shadow:0 0 12px 2px rgba(240,178,51,.55);opacity:0;animation:authxTwinkle 7s ease-in-out infinite}
.authx-bg .s1{left:16%;top:24%;animation-delay:0s}
.authx-bg .s2{left:82%;top:18%;animation-delay:2.1s}
.authx-bg .s3{left:72%;top:76%;animation-delay:3.6s}
.authx-bg .s4{left:28%;top:82%;animation-delay:5.2s}

/* Soft curtain on arrival and veil on departure */
.authx-curtain{position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:0;visibility:hidden;background:linear-gradient(150deg,#0a1726,#122a40 48%,#1d3d5c);animation:authxCurtainOut .55s ease-out both}
.authx-veil{position:fixed;inset:0;z-index:9999;pointer-events:none;opacity:0;transition:opacity .42s ease;background:radial-gradient(900px 620px at 20% 10%,rgba(58,112,155,.55),transparent 60%),linear-gradient(150deg,#0a1726,#122a40 48%,#1d3d5c)}
body.authx-leaving .authx-veil{opacity:1}
body.authx-leaving .authx-shell{transform:scale(.985);opacity:.35;transition:transform .42s ease,opacity .42s ease}

/* ---------- Shell ---------- */
.authx-shell{position:relative;z-index:1;width:min(1000px,100%);display:grid;grid-template-columns:.9fr 1.1fr;background:var(--authx-paper);border-radius:32px;overflow:hidden;border:1px solid rgba(255,255,255,.32);box-shadow:0 42px 110px rgba(3,12,22,.55),0 0 0 1px rgba(240,178,51,.1),inset 0 1px 0 rgba(255,255,255,.6);animation:authxIn .7s cubic-bezier(.2,.7,.2,1) both}
.authx-shell-wide{width:min(1060px,100%);grid-template-columns:.82fr 1.18fr}

/* ---------- Branded side ---------- */
.authx-side{position:relative;overflow:hidden;isolation:isolate;padding:clamp(1.6rem,3vw,2.6rem);color:#fff;background:linear-gradient(158deg,#122e49 0%,#1d3d5c 56%,#2f5d84 100%);display:flex;flex-direction:column;justify-content:space-between;gap:1.8rem}
.authx-side::before{content:"";position:absolute;z-index:-1;inset:-45% -35% auto auto;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(240,178,51,.4),transparent 62%);animation:authxGlowPulse 10s ease-in-out infinite alternate}
.authx-side::after{content:"";position:absolute;z-index:-1;inset:auto auto -35% -30%;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(47,125,79,.3),transparent 64%);animation:authxGlowPulse 13s ease-in-out infinite alternate-reverse}
.authx-rings{position:absolute;inset:0;z-index:-1;pointer-events:none}
.authx-rings span{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.1)}
.authx-rings span:nth-child(1){width:300px;height:300px;right:-120px;top:-90px;animation:authxSpin 46s linear infinite}
.authx-rings span:nth-child(2){width:200px;height:200px;right:-70px;top:-40px;border-style:dashed;border-color:rgba(240,178,51,.22);animation:authxSpin 34s linear infinite reverse}
.authx-rings span:nth-child(3){width:420px;height:420px;left:-200px;bottom:-220px;border-color:rgba(255,255,255,.07);animation:authxSpin 60s linear infinite}

.authx-brand{position:relative;z-index:1;display:flex;align-items:center}
.authx-logo{width:142px;height:auto;max-height:118px;object-fit:contain;padding:0;border:0;background:transparent;filter:drop-shadow(0 14px 26px rgba(3,12,22,.5));animation:authxLogoFloat 6.5s ease-in-out infinite}
.authx-brand-text{display:grid;gap:.1rem;line-height:1.05}
.authx-brand-name{font-size:.95rem;font-weight:900;letter-spacing:-.01em}
.authx-brand-sub{font-size:.7rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.62);margin-bottom:.55rem;white-space:nowrap}

.authx-side-body{position:relative;z-index:1}
.authx-side-badge{display:inline-flex;align-items:center;gap:.45rem;padding:.36rem .7rem;border-radius:999px;background:rgba(240,178,51,.14);border:1px solid rgba(240,178,51,.34);font-size:.7rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--authx-gold-soft);margin-bottom:.95rem}
.authx-side-badge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.authx-side h1{margin:0;font-size:clamp(1.6rem,2.8vw,2.25rem);line-height:1.04;letter-spacing:-.04em;font-weight:900}
.authx-side-copy{margin:.75rem 0 0;max-width:36ch;font-size:.9rem;line-height:1.6;color:rgba(255,255,255,.78)}
.authx-side-points{list-style:none;margin:1.15rem 0 0;padding:0;display:grid;gap:.5rem;font-size:.83rem;color:rgba(255,255,255,.86)}
.authx-side-points li{display:flex;align-items:center;gap:.55rem}
.authx-side-points svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:#8fdcae;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.authx-side-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.15rem}
.authx-side-tag{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);font-size:.72rem;font-weight:800;color:rgba(255,255,255,.86)}
.authx-side-foot{position:relative;z-index:1;font-size:.72rem;letter-spacing:.03em;color:rgba(255,255,255,.5)}

/* ---------- Panel ---------- */
.authx-panel{position:relative;padding:clamp(1.5rem,3.2vw,2.8rem);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}

/* Step trail links the password step and the code step. */
.authx-steps{display:flex;align-items:center;gap:.5rem;margin:0 0 1.2rem;padding:0;list-style:none;font-size:.68rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#8aa2b8}
.authx-step{display:inline-flex;align-items:center;gap:.42rem;padding:.3rem .6rem;border-radius:999px;background:#eef4f9;border:1px solid transparent;white-space:nowrap;transition:background .2s,color .2s}
.authx-step .num{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dbe6f0;color:#4a657d;font-size:.62rem;font-weight:900}
.authx-step-line{flex:1;height:2px;border-radius:2px;background:linear-gradient(90deg,#dbe6f0,#eef4f9)}
.authx-step.is-active{background:var(--authx-navy);color:#fff;box-shadow:0 10px 20px rgba(23,50,77,.2)}
.authx-step.is-active .num{background:rgba(255,255,255,.22);color:#fff}
.authx-step.is-done{background:#eaf7ef;color:#1f5c3b}
.authx-step.is-done .num{background:var(--authx-green);color:#fff}

.authx-eyebrow{font-size:.68rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#5a7894;margin-bottom:.45rem}
.authx-title{margin:0;font-size:clamp(1.45rem,2.4vw,1.9rem);line-height:1.1;letter-spacing:-.035em;font-weight:900}
.authx-sub{margin:.5rem 0 0;font-size:.9rem;line-height:1.55;color:var(--authx-muted)}
.authx-sub strong{color:var(--authx-ink);font-weight:900;word-break:break-word}

/* ---------- Messages ---------- */
.authx-flash{display:flex;gap:.6rem;align-items:flex-start;border:1px solid #f0d49a;background:linear-gradient(180deg,#fffaf0,#fdf3e0);color:#7a5b12;border-radius:16px;padding:.75rem .9rem;font-size:.84rem;line-height:1.45;margin:0 0 .85rem;animation:authxRise .45s cubic-bezier(.2,.7,.2,1) both}
.authx-flash::before{content:"!";flex:0 0 auto;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#d9a514;color:#fff;font-size:.72rem;font-weight:900;margin-top:.02rem}
.authx-flash.is-success{border-color:#bfe3cc;background:#f1fbf5;color:#1f5c3b}
.authx-flash.is-success::before{content:"\2713";background:#2f7d4f}
.authx-flash.is-info{border-color:#c9dff1;background:#f2f9ff;color:#24506f}
.authx-flash.is-info::before{content:"i";background:#3d6f9b}

/* ---------- Sign-in method switch ---------- */
.authx-seg{display:grid;grid-template-columns:1fr 1fr;gap:.3rem;background:#eef4f9;border:1px solid var(--authx-line);border-radius:14px;padding:.3rem;margin:1rem 0 .2rem}
body.authx .authx-seg button{border:0;background:transparent;border-radius:11px;padding:.55rem .6rem;font:inherit;font-size:.83rem;font-weight:900;color:#5d7891;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}
body.authx .authx-seg button:hover{color:var(--authx-navy)}
body.authx .authx-seg button.is-active{background:#fff;color:var(--authx-navy);box-shadow:0 6px 14px rgba(23,50,77,.12)}

/* ---------- Forms ---------- */
.authx-form{display:grid;gap:1rem;margin-top:1.15rem}
.authx-field{display:grid;gap:.42rem}
.authx-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.authx-label{font-size:.78rem;font-weight:900;color:var(--authx-ink-2)}
.authx-assist{font-size:.75rem;font-weight:800;color:#4b6b88;text-decoration:none;transition:color .15s}
.authx-assist:hover{color:var(--authx-navy);text-decoration:underline}
body.authx .authx-assist-btn{border:0;background:none;padding:0;font:inherit;font-size:.75rem;font-weight:800;color:#4b6b88;cursor:pointer;text-align:right}
body.authx .authx-assist-btn:hover{color:var(--authx-navy);text-decoration:underline}
.authx-control{position:relative;display:block}
.authx-control .icon{position:absolute;z-index:2;left:15px;top:50%;transform:translateY(-50%);width:19px;height:19px;fill:none;stroke:#8fa8bd;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transition:stroke .18s}
.authx-control:focus-within .icon{stroke:var(--authx-navy)}
body.authx .authx-control input{width:100%;min-height:56px;padding:.82rem 1rem .82rem 2.95rem;border:1.5px solid var(--authx-line);border-radius:16px;font:inherit;font-size:.96rem;color:var(--authx-ink);background:#fbfdff;transition:border-color .18s,box-shadow .18s,background .18s}
body.authx .authx-control input:hover{border-color:#c6d8e7}
body.authx .authx-control input:focus{outline:none;border-color:#3d6f9b;background:#fff;box-shadow:0 0 0 4px rgba(61,111,155,.15),0 1px 2px rgba(23,50,77,.05)}
.authx-control--plain .icon{display:none}
body.authx .authx-control--plain input{padding-left:1rem;text-align:center;font-size:1.32rem;font-weight:900;letter-spacing:.3em;text-indent:.3em;font-variant-numeric:tabular-nums}
.password-wrap{position:relative;display:block;width:100%}
body.authx .password-wrap input{padding-right:3.1em}
body.authx .pw-toggle{position:absolute;right:.45rem;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;color:#5d7891;cursor:pointer;opacity:.7;transition:opacity .15s,background .15s;box-shadow:none;min-width:0;min-height:0}
body.authx .pw-toggle:hover{opacity:1;background:#eef4f9}
body.authx .pw-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.authx-caps{display:inline-flex;align-items:center;gap:.35rem;margin:.05rem 0 0;font-size:.72rem;font-weight:800;color:#8a5b00;background:#fff6e2;border:1px solid #f3d69a;border-radius:999px;padding:.22rem .55rem;width:max-content}
.authx-hint{margin:.4rem 0 0;font-size:.74rem;line-height:1.45;color:var(--authx-muted)}

.authx-note{display:flex;gap:.7rem;align-items:flex-start;border:1px solid #cfe4d8;background:linear-gradient(180deg,#f4fbf6,#eef8f2);border-radius:16px;padding:.78rem .9rem;font-size:.8rem;line-height:1.5;color:#245c3d}
.authx-note svg{flex:0 0 auto;width:19px;height:19px;margin-top:.05rem;fill:none;stroke:#2f7d4f;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.authx-note strong{color:#173f2a;font-weight:900}
.authx-note.is-plain{border-color:#dbe6f0;background:#f7fbfe;color:#4b657d}
.authx-note.is-plain svg{stroke:#5d7891}

/* ---------- Buttons ---------- */
.authx-actions{display:grid;gap:.6rem;margin-top:.15rem}
body.authx .authx-btn{position:relative;overflow:hidden;width:100%;min-height:56px;padding:.8rem 1.1rem;border:0;border-radius:16px;font:inherit;font-size:.98rem;font-weight:900;letter-spacing:.01em;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;background:linear-gradient(135deg,#17324d 0%,#2c5378 58%,#35678f 100%);box-shadow:0 16px 30px rgba(23,50,77,.26);transition:transform .18s,box-shadow .18s,filter .18s}
body.authx .authx-btn::after{content:"";position:absolute;top:-20%;bottom:-20%;left:-70%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.3),transparent);transform:skewX(-18deg);transition:left .55s ease}
body.authx .authx-btn:hover::after{left:130%}
body.authx .authx-btn:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(23,50,77,.32);filter:brightness(1.05)}
body.authx .authx-btn:active{transform:translateY(0) scale(.995)}
body.authx .authx-btn:disabled{opacity:.8;cursor:progress;transform:none}
.authx-btn svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.authx-btn .spinner{display:none;width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:authxSpin .7s linear infinite}
body.authx.is-submitting .authx-btn .spinner{display:inline-block}
body.authx.is-submitting .authx-btn .btn-icon{display:none}
body.authx .authx-btn-soft{width:100%;min-height:50px;padding:.7rem 1rem;border:1.5px solid #dbe6f0;border-radius:16px;background:#eef4f9;color:var(--authx-ink);font:inherit;font-size:.9rem;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:background .18s,border-color .18s,transform .18s;box-shadow:none}
body.authx .authx-btn-soft:hover{background:#e4eff8;border-color:#c7dbea}
body.authx .authx-btn-soft:disabled{opacity:.6;cursor:default}

/* ---------- One-time-code boxes ---------- */
.authx-otp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem}
body.authx .authx-otp input{width:100%;min-width:0;height:clamp(56px,12vw,66px);padding:0;border:1.5px solid var(--authx-line);border-radius:16px;background:#fbfdff;text-align:center;font:inherit;font-size:clamp(1.35rem,4vw,1.7rem);font-weight:900;color:var(--authx-ink);transition:border-color .15s,box-shadow .15s,background .15s;caret-color:transparent}
body.authx .authx-otp input:hover{border-color:#c6d8e7}
body.authx .authx-otp input:focus{outline:none;border-color:#3d6f9b;background:#fff;box-shadow:0 0 0 4px rgba(61,111,155,.15)}
body.authx .authx-otp input.filled{border-color:#a9c4da;background:#f3f9fd;animation:authxPop .2s ease}

/* ---------- Choice cards (front door) ---------- */
.authx-choices{display:grid;gap:.85rem;margin-top:1.25rem}
.authx-choice{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:1.05rem 1.1rem;border-radius:22px;border:1.5px solid var(--authx-line);background:linear-gradient(180deg,#fff,#f9fbfd);text-decoration:none;color:var(--authx-ink);box-shadow:0 12px 26px rgba(23,50,77,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;overflow:hidden}
.authx-choice::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(120deg,transparent 30%,rgba(240,178,51,.12),transparent 70%);opacity:0;transition:opacity .25s;pointer-events:none}
.authx-choice:hover{transform:translateY(-3px);border-color:#e2c07a;box-shadow:0 22px 44px rgba(23,50,77,.13)}
.authx-choice:hover::after{opacity:1}
.authx-choice:focus-visible{outline:3px solid rgba(61,111,155,.35);outline-offset:2px}
.authx-choice-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:linear-gradient(150deg,#e5f0fa,#f4f9fd);color:var(--authx-navy);border:1px solid #d7e5f1;transition:transform .18s,background .18s,color .18s}
.authx-choice-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.authx-choice:hover .authx-choice-icon{transform:scale(1.06) rotate(-2deg)}
.authx-choice-admin .authx-choice-icon{background:linear-gradient(150deg,#17324d,#2f5d84);color:#fff;border-color:#17324d}
.authx-choice-body{display:grid;gap:.28rem;min-width:0}
.authx-choice-body strong{font-size:1.08rem;font-weight:900;letter-spacing:-.01em}
.authx-choice-body>span{font-size:.84rem;line-height:1.45;color:#567089}
.authx-pills{display:flex;flex-wrap:wrap;gap:.32rem;margin-top:.35rem}
.authx-pill{display:inline-flex;padding:.22rem .5rem;border-radius:999px;background:#eef4f9;color:#3a5d7b;font-size:.68rem;font-weight:800}
.authx-choice-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eef4f9;color:var(--authx-navy);transition:transform .18s,background .18s,color .18s;flex:0 0 auto}
.authx-choice-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.authx-choice:hover .authx-choice-arrow{background:var(--authx-navy);color:#fff;transform:translateX(3px)}
.authx-fineprint{margin:1.1rem 0 0;font-size:.74rem;line-height:1.5;color:#7b93aa}

/* ---------- Footer ---------- */
.authx-links{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1.05rem;font-size:.8rem}
.authx-links a,body.authx .authx-links button{color:#4b6b88;font-weight:800;text-decoration:none;background:none;border:0;padding:0;font-size:.8rem;cursor:pointer;font-family:inherit}
.authx-links a:hover,body.authx .authx-links button:hover{color:var(--authx-navy);text-decoration:underline}
.authx-linktoggle{margin-top:.7rem;border:0;background:none;padding:0;font:inherit;font-size:.79rem;font-weight:800;color:#5d7891;cursor:pointer;text-align:left}
.authx-linktoggle:hover{color:var(--authx-navy);text-decoration:underline}
.authx-resend-status{margin:.35rem 0 0;text-align:center;font-size:.75rem;color:var(--authx-muted)}
.authx-foot{margin:1.2rem 0 0;font-size:.72rem;color:#93a9bd;text-align:center}
.authx-pagefoot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:.4rem;flex-wrap:wrap;color:rgba(255,255,255,.58);font-size:.72rem;text-align:center;max-width:min(1060px,100%)}
.authx-pagefoot a{color:rgba(255,255,255,.78)}

/* ---------- Motion ---------- */
.authx-reveal{animation:authxRise .62s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0s)}
.authx-shake{animation:authxShake .45s ease}
@keyframes authxIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@keyframes authxRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes authxLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes authxGlowPulse{from{opacity:.65;transform:scale(1)}to{opacity:1;transform:scale(1.12)}}
@keyframes authxDrift1{from{transform:translate3d(0,0,0)}to{transform:translate3d(6vw,4vh,0)}}
@keyframes authxDrift2{from{transform:translate3d(0,0,0)}to{transform:translate3d(-5vw,-4vh,0)}}
@keyframes authxDrift3{from{transform:translate3d(0,0,0)}to{transform:translate3d(3vw,5vh,0)}}
@keyframes authxSpin{to{transform:rotate(360deg)}}
@keyframes authxPop{0%{transform:scale(.92)}60%{transform:scale(1.04)}100%{transform:scale(1)}}
@keyframes authxTwinkle{0%,100%{opacity:0;transform:scale(.6)}45%{opacity:.9;transform:scale(1)}}
@keyframes authxShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(5px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
@keyframes authxCurtainOut{0%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}

/* ---------- Responsive ---------- */
@media (max-width:820px){
  body.authx{padding:.75rem;justify-content:flex-start;gap:.8rem}
  .authx-shell{grid-template-columns:1fr;border-radius:26px}
  .authx-shell-wide{grid-template-columns:1fr}
  .authx-side{padding:1.4rem 1.25rem 2.5rem;gap:.8rem}
  .authx-logo{width:112px;max-height:94px}
  .authx-side h1{font-size:1.5rem}
  .authx-side-copy{font-size:.85rem}
  .authx-side-points,.authx-side-tags,.authx-side-foot{display:none}
  .authx-rings span:nth-child(3){display:none}
  .authx-panel{padding:0 1.25rem calc(1.4rem + env(safe-area-inset-bottom));margin-top:-1.35rem;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -16px 34px rgba(3,12,22,.18);position:relative;z-index:2;justify-content:flex-start}
  .authx-eyebrow{margin-top:1.2rem}
  .authx-choices{margin-top:1rem}
  .authx-choice{grid-template-columns:auto 1fr;gap:.8rem;padding:1rem;align-items:flex-start}
  .authx-choice-icon{margin-top:.15rem}
  .authx-choice-arrow{display:none}
  .authx-bg .orb{filter:blur(42px)}
}
@media (max-width:430px){
  .authx-shell{border-radius:20px}
  .authx-panel{padding-left:1rem;padding-right:1rem}
  .authx-otp{gap:.34rem}
  body.authx .authx-otp input{height:54px;font-size:1.25rem;border-radius:13px}
  .authx-steps{font-size:.62rem;gap:.35rem}
  .authx-step{padding:.26rem .45rem}
  .authx-choice-icon{width:48px;height:48px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  .authx-curtain{display:none}
}
