/* Wealth Atelier V31 · motion login: frontend-only enhancement */
#wa31-login-gate.wa31-motion-gate{background:radial-gradient(ellipse at 18% 48%,#10513b 0%,transparent 45%),radial-gradient(ellipse at 94% 12%,#163b2f 0%,transparent 46%),#051e17;padding:24px;isolation:isolate;overflow:auto}
#wa31-login-gate.wa31-motion-gate::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.20;background-image:linear-gradient(90deg,#acddac0d 1px,transparent 1px),linear-gradient(#acddac0d 1px,transparent 1px);background-size:56px 56px}
#wa31-login-gate.wa31-motion-gate .wa31-stage{width:min(1120px,100%);min-height:min(650px,88vh);display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,450px);align-items:center;gap:36px;position:relative;z-index:1;direction:ltr}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card{direction:rtl;z-index:5;max-width:unset;width:100%;padding:35px;border-radius:24px;background:linear-gradient(152deg,#123c2edb,#08251ddf);backdrop-filter:blur(22px);border:1px solid #bd9b618c;box-shadow:0 30px 75px #0009,inset 0 1px 0 #d5f0d01e;position:relative}
#wa31-login-gate.wa31-motion-gate .wa31-brand{font:700 19px Georgia,serif;letter-spacing:2px;color:#f0cd8e;text-align:center}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card h1{font-size:27px;line-height:1.6;text-align:center;margin:18px 0 6px;color:#f5ead1}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card>p:first-of-type{text-align:center;font-size:13px;color:#b8d0c0;margin:0 0 20px}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card #wa31-main-login{margin:20px 0}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card label{font-size:13px;color:#e2eadd}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card input{min-height:53px;padding:13px 15px;background:#061e18c9;border-color:#66897789;border-radius:12px;direction:ltr;text-align:left;color:#fff0dc}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card input:focus{outline:2px solid #e3c087;outline-offset:1px}
#wa31-login-gate.wa31-motion-gate #wa31-main-login button{background:linear-gradient(105deg,#f3dba6,#c9974b);height:51px;color:#102b21;border:0;margin-top:8px;font-size:15px;width:100%}
#wa31-login-gate.wa31-motion-gate .wa31-gate-links{display:none!important}
#wa31-login-gate.wa31-motion-gate .wa31-auth-help{margin:8px 0 0;text-align:center;color:#a5c1ad;font-size:11px;line-height:1.8}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card details{margin-top:22px}
#wa31-login-gate.wa31-motion-gate .wa31-gate-card summary{font-size:13px;text-align:center}
#wa31-login-gate.wa31-motion-gate .wa31-wealth-scene{direction:rtl;position:relative;height:560px;min-width:0;pointer-events:none;overflow:visible}
#wa31-login-gate.wa31-motion-gate .wa31-scene-caption{position:absolute;top:4%;right:9%;display:flex;gap:9px;align-items:center;font:700 13px Tahoma,sans-serif;color:#ecc78b;letter-spacing:1px}
#wa31-login-gate.wa31-motion-gate .wa31-scene-caption::before{content:'✧';font-size:22px}
#wa31-login-gate.wa31-motion-gate .wa31-orbit{position:absolute;left:50%;top:51%;border-radius:50%;border:1px solid #deb16a52;transform:translate(-50%,-50%) rotate(-18deg);box-shadow:0 0 24px #e3b86911;animation:wa31-orbit-spin 38s linear infinite}
#wa31-login-gate.wa31-motion-gate .wa31-orbit.a{width:430px;height:255px}
#wa31-login-gate.wa31-motion-gate .wa31-orbit.b{width:360px;height:340px;animation-duration:52s;animation-direction:reverse;border-color:#c2f0c429}
#wa31-login-gate.wa31-motion-gate .wa31-orbit.c{width:520px;height:160px;animation-duration:66s;border-color:#dfc18c30}
#wa31-login-gate.wa31-motion-gate .wa31-orbit::after{content:'';position:absolute;top:50%;left:0;width:7px;height:7px;border-radius:50%;background:#ffe1a0;box-shadow:0 0 15px #ffc466}
#wa31-login-gate.wa31-motion-gate .wa31-bubble{position:absolute;border:1px solid #d9eac28a;border-radius:50%;background:radial-gradient(circle at 27% 23%,#f7fff18e 0%,#ddfff525 15%,transparent 38%),radial-gradient(circle at 74% 78%,#e8bc644b,#0b574534 64%,#0b312b79);box-shadow:inset -8px -10px 28px #021f1b9b,inset 5px 7px 19px #daffcf69,0 14px 30px #0007,0 0 22px #e1c07824;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#eed2a0;animation:wa31-bubble-float var(--dur,8s) ease-in-out infinite;animation-delay:var(--delay,0s);text-align:center;backdrop-filter:blur(3px)}
#wa31-login-gate.wa31-motion-gate .wa31-bubble .wa31-bubble-symbol{font-size:clamp(25px,4vw,48px);line-height:1.1;text-shadow:0 2px 17px #edc07899}
#wa31-login-gate.wa31-motion-gate .wa31-bubble .wa31-bubble-title{font:700 12px Tahoma,sans-serif;color:#f9e3bf;white-space:nowrap}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.main{width:236px;height:236px;left:31%;top:29%;--dur:9s;--delay:-2s;z-index:3;border-color:#e9d3a8a8}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.main .wa31-bubble-symbol{font-size:78px}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.top{width:134px;height:134px;left:10%;top:4%;--dur:7.5s;--delay:-3s}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.left{width:114px;height:114px;left:0%;top:41%;--dur:10s;--delay:-5s}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.bottom{width:120px;height:120px;left:13%;bottom:0%;--dur:8s;--delay:-1s}
#wa31-login-gate.wa31-motion-gate .wa31-bubble.right{width:112px;height:112px;right:1%;top:13%;--dur:9.5s;--delay:-4s}
#wa31-login-gate.wa31-motion-gate .wa31-spark{position:absolute;width:6px;height:6px;border-radius:50%;background:#ffe6ad;box-shadow:0 0 12px 4px #dfb05f8a;animation:wa31-twinkle 3s ease-in-out infinite alternate}
#wa31-login-gate.wa31-motion-gate .wa31-spark.s1{left:20%;top:31%}
#wa31-login-gate.wa31-motion-gate .wa31-spark.s2{left:66%;top:20%;animation-delay:1s}
#wa31-login-gate.wa31-motion-gate .wa31-spark.s3{left:76%;bottom:10%;animation-delay:2s}
#wa31-login-gate.wa31-motion-gate .wa31-spark.s4{left:9%;bottom:26%;animation-delay:.5s}
@keyframes wa31-bubble-float{0%,100%{transform:translate3d(0,0,0) rotate(-2deg)}33%{transform:translate3d(10px,-22px,0) rotate(2deg)}66%{transform:translate3d(-10px,11px,0) rotate(-1deg)}}
@keyframes wa31-orbit-spin{from{transform:translate(-50%,-50%) rotate(-18deg)}to{transform:translate(-50%,-50%) rotate(342deg)}}
@keyframes wa31-twinkle{from{opacity:.4;transform:scale(.6)}to{opacity:1;transform:scale(1.4)}}
@media(max-width:850px){#wa31-login-gate.wa31-motion-gate .wa31-stage{grid-template-columns:1fr;max-width:530px;gap:10px}#wa31-login-gate.wa31-motion-gate .wa31-wealth-scene{height:245px;order:-1;overflow:hidden}#wa31-login-gate.wa31-motion-gate .wa31-bubble.main{width:155px;height:155px;left:37%;top:26%}#wa31-login-gate.wa31-motion-gate .wa31-bubble.main .wa31-bubble-symbol{font-size:44px}#wa31-login-gate.wa31-motion-gate .wa31-bubble{transform-origin:center;zoom:.70}#wa31-login-gate.wa31-motion-gate .wa31-scene-caption{top:0;right:2%}#wa31-login-gate.wa31-motion-gate .wa31-orbit.a{width:310px;height:190px}#wa31-login-gate.wa31-motion-gate .wa31-orbit.b{width:230px;height:240px}#wa31-login-gate.wa31-motion-gate .wa31-orbit.c{width:350px;height:130px}#wa31-login-gate.wa31-motion-gate .wa31-gate-card{padding:27px}}
@media(max-width:450px){#wa31-login-gate.wa31-motion-gate{padding:12px}#wa31-login-gate.wa31-motion-gate .wa31-gate-card{padding:24px 17px}#wa31-login-gate.wa31-motion-gate .wa31-wealth-scene{height:190px}#wa31-login-gate.wa31-motion-gate .wa31-bubble.main{left:34%;top:20%}}
@media(prefers-reduced-motion:reduce){#wa31-login-gate.wa31-motion-gate .wa31-bubble,#wa31-login-gate.wa31-motion-gate .wa31-orbit,#wa31-login-gate.wa31-motion-gate .wa31-spark{animation:none!important}}
