/* Sign-in / sign-up — exchange layout matched to the site palette (zx). */
.auth{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:calc(100vh - 120px);border-bottom:1px solid var(--line)}
.auth__aside{position:relative;overflow:hidden;padding:56px clamp(28px,5vw,76px);display:flex;flex-direction:column;gap:30px;color:#eef1f5;
  background:radial-gradient(760px 420px at 0% 0%,rgba(0,212,255,.14),transparent 62%),radial-gradient(620px 420px at 100% 100%,rgba(0,212,255,.07),transparent 60%),#07090d;
  border-right:1px solid var(--line)}
.auth__aside::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse at 30% 20%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse at 30% 20%,#000 20%,transparent 75%)}
.auth__aside>*{position:relative}
.auth__glow{position:absolute!important;right:-140px;bottom:-180px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(0,212,255,.16),transparent 65%);pointer-events:none;animation:authGlow 9s ease-in-out infinite alternate}
@keyframes authGlow{to{transform:translate(-40px,-30px) scale(1.08)}}
.auth__brand img{height:30px}
.auth__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#00d4ff;background:rgba(0,212,255,.08);border:1px solid rgba(0,212,255,.24);padding:6px 12px;border-radius:30px}
.auth__eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#00d4ff;box-shadow:0 0 0 0 rgba(0,212,255,.6);animation:authPing 2s infinite}
@keyframes authPing{70%{box-shadow:0 0 0 8px rgba(0,212,255,0)}100%{box-shadow:0 0 0 0 rgba(0,212,255,0)}}
.auth__pitch h1{font-size:clamp(32px,3.3vw,50px);line-height:1.05;margin:18px 0 14px;letter-spacing:-.035em;font-weight:800;color:#fff}
.auth__pitch p{color:#9aa4b5;max-width:450px;font-size:15.5px;line-height:1.6;margin:0}
.auth__feats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:580px}
.auth__feats li{display:flex;gap:12px;align-items:flex-start;padding:15px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);transition:border-color .25s,transform .25s,background .25s;animation:authIn .6s cubic-bezier(.2,.7,.2,1) both}
.auth__feats li:nth-child(2){animation-delay:.08s}.auth__feats li:nth-child(3){animation-delay:.16s}.auth__feats li:nth-child(4){animation-delay:.24s}
.auth__feats li:hover{border-color:rgba(0,212,255,.35);background:rgba(0,212,255,.04);transform:translateY(-2px)}
@keyframes authIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.auth__feats i{font-style:normal;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(0,212,255,.1);color:#00d4ff;flex:none}
.auth__feats b{display:block;font-size:14px;color:#fff}.auth__feats span{display:block;font-size:12.5px;color:#8f9aac;margin-top:3px;line-height:1.4}
.auth__trust{display:flex;flex-wrap:wrap;gap:8px}
.auth__trust span{display:inline-flex;align-items:center;gap:7px;font-size:12px;padding:7px 12px;border-radius:30px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#c6cedb}
.auth__trust svg{color:#00d4ff}
.auth__chart{margin-top:auto;height:120px}.auth__chart svg{width:100%;height:100%}
.auth__chart path:last-child{stroke-dasharray:900;stroke-dashoffset:900;animation:authDraw 2.4s cubic-bezier(.2,.7,.2,1) .2s forwards}
@keyframes authDraw{to{stroke-dashoffset:0}}
.auth__main{display:flex;justify-content:center;align-items:flex-start;padding:56px 20px 60px;background:var(--bg)}
.auth__inner{width:100%;max-width:440px;animation:authIn .5s cubic-bezier(.2,.7,.2,1) both}
.auth__inner > .tc h2{font-size:30px;letter-spacing:-.03em;font-weight:800}
.auth .card{border-radius:18px!important;padding:26px 24px;background:var(--bg-raised);border:1px solid var(--line);box-shadow:0 24px 60px -28px rgba(0,0,0,.55);clip-path:none}
[data-theme="light"] .auth .card{box-shadow:0 24px 60px -30px rgba(12,19,32,.25)}
.auth .input{border-radius:12px;clip-path:none;height:48px;background:var(--bg-inset);border:1px solid var(--line)}
.auth .btn{border-radius:12px;clip-path:none;min-height:48px}
.auth .btn--ghost{background:transparent;border:1px solid var(--line);clip-path:none;color:var(--ink)}
.auth .btn--ghost:hover{border-color:var(--brand);background:rgba(0,212,255,.06)}
.auth-seg{display:flex;gap:4px;padding:4px;margin:0 0 14px;border-radius:13px;background:var(--bg-inset);border:1px solid var(--line)}
.auth-seg a{flex:1;text-align:center;padding:9px 6px;border-radius:10px;font-weight:600;font-size:14px;color:var(--ink-3);text-decoration:none;transition:color .2s,background .2s}
.auth-seg a:hover{color:var(--ink)}.auth-seg a.is-active{background:var(--brand);color:#00121a;box-shadow:0 6px 18px -8px rgba(0,212,255,.7)}
.auth .or-line,.auth .lg-or{margin:18px 0}
.auth .zel-gis{width:100%;max-width:100%;overflow:hidden;margin:0 0 10px!important}
.auth .zel-gis > div{max-width:100%}
.auth-social{display:grid;grid-template-columns:1fr;gap:8px}
.auth-foot{margin-top:18px;text-align:center;font-size:12px;color:var(--ink-3)}
.auth-foot a{color:inherit;text-decoration:underline}
/* QR sign-in */
.zx-qrwrap{position:relative;width:264px;height:264px;max-width:calc(100vw - 64px);max-height:calc(100vw - 64px);margin:18px auto 14px;padding:12px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line),0 18px 40px -18px rgba(0,212,255,.45);overflow:hidden}
.zx-qrwrap::before,.zx-qrwrap::after{content:"";position:absolute;width:26px;height:26px;border:3px solid #00d4ff;pointer-events:none}
.zx-qrwrap::before{left:6px;top:6px;border-right:0;border-bottom:0;border-radius:8px 0 0 0}
.zx-qrwrap::after{right:6px;bottom:6px;border-left:0;border-top:0;border-radius:0 0 8px 0}
.zx-qrbox{width:100%;height:100%;display:grid;place-items:center}
.zx-qrbox canvas,.zx-qrbox img,.zx-qrbox svg{width:100%!important;height:100%!important;display:block;image-rendering:pixelated}
.zx-qrbox .qr-loading{color:#5b6576;font-size:13px;font-weight:600}
.zx-qrwrap{overflow:visible;isolation:isolate}
.zx-qrwrap>.zx-qrbox{position:relative;z-index:1;background:#fff;border-radius:8px}
/* U47: the scan line ran across the code and broke phone scanning. The motion
   now lives OUTSIDE the code: a soft breathing ring around the white frame. */
.zx-qrwrap{animation:qrBreath 3.2s ease-in-out infinite}
@keyframes qrBreath{0%,100%{box-shadow:0 0 0 1px var(--line),0 0 0 0 rgba(0,212,255,.0),0 18px 40px -18px rgba(0,212,255,.45)}50%{box-shadow:0 0 0 1px rgba(0,212,255,.55),0 0 0 7px rgba(0,212,255,.10),0 18px 40px -18px rgba(0,212,255,.6)}}
.zx-qrwrap.is-expired .zx-qrbox{filter:blur(5px);opacity:.35;transition:filter .3s,opacity .3s}
.zx-qrwrap.is-expired,.zx-qrwrap.is-scanned{animation:none}
.zx-qrwrap.is-scanned .zx-qrbox{opacity:.25;filter:grayscale(1)}
.zx-qrrefresh{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:0;border-radius:999px;background:#0b0e11;color:#fff;font:600 13px/1 inherit;cursor:pointer;box-shadow:0 10px 30px -8px rgba(0,0,0,.5);animation:qrPop .25s ease-out}
.zx-qrrefresh[hidden]{display:none}
.zx-qrrefresh svg{width:16px;height:16px;color:#00d4ff}
.zx-qrrefresh:hover svg{transform:rotate(-120deg);transition:transform .35s}
@keyframes qrPop{from{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.zx-qrstatus{color:var(--muted,#8a94a6);transition:color .2s}.zx-qrstatus.is-ok{color:#16c784;font-weight:600}.zx-qrstatus.is-warn{color:#f0b90b;font-weight:600}
@media (max-width:960px){.auth{grid-template-columns:1fr;min-height:0}.auth__aside{display:none}.auth__main{padding:28px 16px 40px}}
@media (max-width:420px){.auth .card{padding:20px 16px}}
@media (prefers-reduced-motion:reduce){.zx-qrwrap,.auth__glow{animation:none}}
