/* PubliCash · Etapa 13 · Ornamentos animados de acesso e cadastro.
   Estritamente decorativos, sem interação, leves e respeitando movimento reduzido. */
html body.publicash-auth-page .pc-auth-shell{isolation:isolate;}
html body.publicash-auth-page .pc-auth-panel{z-index:2;}
html body.publicash-auth-page .pc13-motion{position:absolute;z-index:0;pointer-events:none;user-select:none;inset:auto;width:clamp(200px,27vw,350px);aspect-ratio:1;filter:drop-shadow(0 8px 38px rgba(170,80,250,.14));}
html body.publicash-auth-page .pc13-motion-left{left:-12px;top:15%;}
html body.publicash-auth-page .pc13-motion-right{right:-12px;bottom:9%;}
html body.publicash-auth-page .pc13-motion-left:before{content:"";position:absolute;inset:5%;background:radial-gradient(circle,rgba(195,84,255,.16),transparent 70%);border-radius:50%;filter:blur(15px);animation:pc13-glow 8s ease-in-out infinite alternate;}
html body.publicash-auth-page .pc13-orbit{position:absolute;inset:12%;border:1px solid rgba(216,157,254,.33);border-radius:50%;background:radial-gradient(circle at 48% 50%,rgba(185,90,252,.065),transparent 66%);transform:rotate(-20deg);animation:pc13-turn 23s linear infinite;}
html body.publicash-auth-page .pc13-orbit:before{content:"";position:absolute;inset:8%;border-radius:50%;border:1px dashed rgba(249,195,96,.28);}
html body.publicash-auth-page .pc13-orbit-a{box-shadow:0 0 36px rgba(155,66,225,.08),inset 0 0 30px rgba(134,52,190,.08);}
html body.publicash-auth-page .pc13-orbit-b{inset:27%;border:2px solid rgba(249,199,109,.5);animation-direction:reverse;animation-duration:16s;}
html body.publicash-auth-page .pc13-orbit i{position:absolute;width:10px;height:10px;border:2px solid #ffe3a6;background:#b35bf2;border-radius:50%;box-shadow:0 0 15px #c48bfa;}
html body.publicash-auth-page .pc13-orbit-a i:nth-child(1){left:6%;top:14%;}
html body.publicash-auth-page .pc13-orbit-a i:nth-child(2){right:0;top:45%;background:#ffcf62;}
html body.publicash-auth-page .pc13-orbit-a i:nth-child(3){left:38%;bottom:-4px;}
html body.publicash-auth-page .pc13-orbit-b i:nth-child(1){right:12%;top:4%;width:7px;height:7px;}
html body.publicash-auth-page .pc13-orbit-b i:nth-child(2){left:5%;bottom:15%;width:6px;height:6px;}
html body.publicash-auth-page .pc13-center{position:absolute;inset:39%;display:grid;place-items:center;border:1px solid rgba(255,211,137,.66);border-radius:20px;transform:rotate(-16deg);background:linear-gradient(135deg,#9e38e4,#4a137f);box-shadow:0 0 35px rgba(210,124,255,.3),inset 0 1px rgba(255,250,210,.2);}
html body.publicash-auth-page .pc13-center span{font:900 clamp(18px,3vw,32px)/1 system-ui;color:#ffe8a3;transform:rotate(16deg);}
html body.publicash-auth-page .pc13-spark{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffd981;box-shadow:0 0 14px 4px rgba(255,206,97,.45);animation:pc13-glow 5s ease-in-out infinite alternate;}
html body.publicash-auth-page .pc13-spark-1{top:12%;right:16%;}
html body.publicash-auth-page .pc13-spark-2{left:11%;bottom:17%;animation-delay:-3s;}
html body.publicash-auth-page .pc13-glass{position:absolute;inset:20% 6% 24%;border:1px solid rgba(218,167,251,.4);border-radius:26px;background:linear-gradient(145deg,rgba(62,27,78,.83),rgba(20,12,34,.88));box-shadow:inset 0 1px rgba(255,255,255,.1),0 16px 50px rgba(0,0,0,.23);transform:rotate(-7deg);animation:pc13-float 9s ease-in-out infinite;overflow:hidden;}
html body.publicash-auth-page .pc13-glass-top{display:flex;gap:5px;align-items:center;padding:17px 18px 9px;border-bottom:1px solid rgba(202,151,234,.12);}
html body.publicash-auth-page .pc13-glass-top span{width:5px;height:5px;border-radius:50%;background:#d3a0ec;}
html body.publicash-auth-page .pc13-glass-top span:nth-child(2){background:#ffda78;}
html body.publicash-auth-page .pc13-glass-top span:nth-child(3){background:#9e69c6;}
html body.publicash-auth-page .pc13-bars{position:absolute;inset:35% 8% 14%;display:flex;align-items:flex-end;justify-content:space-around;gap:6px;}
html body.publicash-auth-page .pc13-bars i{width:12%;height:25%;border:1px solid rgba(254,215,142,.35);border-radius:5px 5px 0 0;background:linear-gradient(#eccb7a,#9537c8);animation:pc13-chart 6s ease-in-out infinite alternate;}
html body.publicash-auth-page .pc13-bars i:nth-child(2){height:44%;animation-delay:-2s;}
html body.publicash-auth-page .pc13-bars i:nth-child(3){height:34%;animation-delay:-4s;}
html body.publicash-auth-page .pc13-bars i:nth-child(4){height:60%;animation-delay:-1s;}
html body.publicash-auth-page .pc13-bars i:nth-child(5){height:52%;animation-delay:-3s;}
html body.publicash-auth-page .pc13-bars i:nth-child(6){height:77%;animation-delay:-5s;}
html body.publicash-auth-page .pc13-bars i:nth-child(7){height:85%;animation-delay:-1.5s;}
html body.publicash-auth-page .pc13-glass svg{position:absolute;left:8%;right:8%;top:30%;width:84%;height:34%;overflow:visible;}
html body.publicash-auth-page .pc13-glass svg path{fill:none;stroke:#fff2b8;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:270;stroke-dashoffset:270;animation:pc13-draw 9s ease-in-out infinite;filter:drop-shadow(0 0 4px rgba(255,208,113,.55));}
html body.publicash-auth-page .pc13-small-orbit{position:absolute;inset:3% 0;border:1px dashed rgba(222,166,255,.27);border-radius:50%;transform:rotate(25deg);animation:pc13-turn 38s linear infinite reverse;}
html body.publicash-auth-page .pc13-small-orbit:after{content:"";position:absolute;left:8%;top:13%;width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff0ad,#e8a437);box-shadow:0 0 20px rgba(252,200,74,.35);}
/* Cadastro: os ornamentos trocam de posição e dão espaço ao formulário mais alto. */
html body.publicash-auth-page .pc-auth-shell:has(.pc-auth-panel--register) .pc13-motion-left{top:23%;left:-36px;opacity:.76;transform:scale(.86);}
html body.publicash-auth-page .pc-auth-shell:has(.pc-auth-panel--register) .pc13-motion-right{bottom:17%;right:-34px;opacity:.78;transform:scale(.86);}
/* Campo identificador aceita tanto email quanto username. */
/* Login: identifier e um input text, nao email. Reservar espaco ao icone como na senha. */
html body.publicash-auth-page .pc-auth-login-form input[name="identifier"]{font-size:17px!important;letter-spacing:0;}
html body.publicash-auth-page.publicash-auth-v3 .pc-auth-login-form .pc-auth-input-wrap input[name="identifier"]{padding-left:78px!important;padding-right:22px!important;}
@media(max-width:640px){html body.publicash-auth-page.publicash-auth-v3 .pc-auth-login-form .pc-auth-input-wrap input[name="identifier"]{padding-left:68px!important;}}
html body.publicash-auth-page .pc-auth-login-form input[name="identifier"]::placeholder{font-size:clamp(13px,1.3vw,16px);}
@keyframes pc13-turn{to{transform:rotate(340deg)}}
@keyframes pc13-glow{from{opacity:.36;transform:scale(.94)}to{opacity:1;transform:scale(1.06)}}
@keyframes pc13-float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-12px) rotate(-4deg)}}
@keyframes pc13-chart{0%{opacity:.68;transform:scaleY(.76);transform-origin:bottom}100%{opacity:1;transform:scaleY(1.08);transform-origin:bottom}}
@keyframes pc13-draw{0%,10%{stroke-dashoffset:270}52%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-270}}
@media(max-width:1080px){html body.publicash-auth-page .pc13-motion{width:245px;opacity:.63}html body.publicash-auth-page .pc13-motion-left{left:-76px}html body.publicash-auth-page .pc13-motion-right{right:-76px}}
@media(max-width:780px){html body.publicash-auth-page .pc13-motion{width:170px;opacity:.18;filter:none;}html body.publicash-auth-page .pc13-motion-left{left:-65px;top:8%;}html body.publicash-auth-page .pc13-motion-right{right:-72px;bottom:4%;}html body.publicash-auth-page .pc-auth-shell:has(.pc-auth-panel--register) .pc13-motion-left{left:-70px;top:17%;}html body.publicash-auth-page .pc-auth-shell:has(.pc-auth-panel--register) .pc13-motion-right{right:-75px;bottom:12%;}}
@media(max-width:420px){html body.publicash-auth-page .pc13-motion{opacity:.12;width:140px}html body.publicash-auth-page .pc-auth-login-form input[name="identifier"]{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){html body.publicash-auth-page .pc13-motion *,html body.publicash-auth-page .pc13-motion *:before,html body.publicash-auth-page .pc13-motion *:after{animation:none!important;transition:none!important}html body.publicash-auth-page .pc13-glass svg path{stroke-dashoffset:0}}
