/* Vinhetas de carregamento da Nimbo (nimbo-carregando.js) */
.nimbo-carregando{position:relative;display:grid!important;justify-items:center;align-content:start;min-height:132px;padding:100px 12px 12px!important;text-align:center;color:var(--n-muted,var(--muted,#9fb0a8));font-size:14px;font-weight:600;letter-spacing:.01em;overflow:visible}
.nimbo-carregando::before{content:'';position:absolute;top:8px;left:50%;width:78px;height:78px;margin-left:-39px;background:url(nimbo-logo.svg) center/contain no-repeat;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35));animation:nimbo-flutua 2.4s ease-in-out infinite;pointer-events:none}
.nimbo-carregando::after{content:'';position:absolute;top:18px;left:calc(50% + 30px);width:38px;height:38px;background:center/contain no-repeat;pointer-events:none}
@keyframes nimbo-flutua{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes nimbo-pula{0%,100%{translate:0 0;scale:1 1}30%{translate:0 0;scale:1.06 .94}55%{translate:0 -16px;scale:.97 1.04}80%{translate:0 0;scale:1.03 .97}}
@keyframes nimbo-acena{0%,100%{rotate:-5deg}50%{rotate:5deg}}
@keyframes nimbo-olha{0%,40%{scale:1 1}50%,90%{scale:-1 1}100%{scale:1 1}}
.nimbo-carregando[data-cena=obra]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 12c-5-4-12-4-18-2v26c6-2 13-2 18 2 5-4 12-4 18-2V10c-6-2-13-2-18 2z' fill='%23f3ead2' stroke='%2386e3bd' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M24 12v26' stroke='%2386e3bd' stroke-width='2.5'/%3E%3Cpath d='M11 18h8M11 23h8M29 18h8M29 23h8' stroke='%23b9c7c0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=capitulo]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M12 6h18l8 8v28H12z' fill='%23f3ead2' stroke='%2386e3bd' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M30 6v8h8' fill='none' stroke='%2386e3bd' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M17 22h15M17 28h15M17 34h10' stroke='%23b9c7c0' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=comentarios]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M8 10h32a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H22l-9 8v-8H8a4 4 0 0 1-4-4V14a4 4 0 0 1 4-4z' fill='%23f3ead2' stroke='%2386e3bd' stroke-width='2.5' stroke-linejoin='round'/%3E%3Ccircle cx='15' cy='22' r='2.6' fill='%2386e3bd'/%3E%3Ccircle cx='24' cy='22' r='2.6' fill='%2386e3bd'/%3E%3Ccircle cx='33' cy='22' r='2.6' fill='%2386e3bd'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=ranking]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M15 6h18v10a9 9 0 0 1-18 0z' fill='%23ffd36b' stroke='%23b9822c' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M15 9H8a7 7 0 0 0 8 9M33 9h7a7 7 0 0 1-8 9' fill='none' stroke='%23b9822c' stroke-width='2.2'/%3E%3Cpath d='M24 25v8M16 42h16l-2-9H18z' fill='%23ffd36b' stroke='%23b9822c' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M20 12l2 3 3-5' fill='none' stroke='%23fff6cf' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=perfil]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4l4.5 15.5L44 24l-15.5 4.5L24 44l-4.5-15.5L4 24l15.5-4.5z' fill='%23ffd36b' stroke='%23fff6cf' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=estante]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='8' y='30' width='32' height='9' rx='2' fill='%23e48a8a' stroke='%238a3b3b' stroke-width='2'/%3E%3Crect x='11' y='20' width='28' height='9' rx='2' fill='%2386e3bd' stroke='%232f9e6f' stroke-width='2'/%3E%3Crect x='9' y='10' width='26' height='9' rx='2' fill='%23ffd36b' stroke='%23b9822c' stroke-width='2'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=pergaminho]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='10' y='12' width='28' height='24' fill='%23f3ead2' stroke='%23b9822c' stroke-width='2'/%3E%3Crect x='5' y='9' width='7' height='30' rx='3.5' fill='%23c98a3c' stroke='%238a5a12' stroke-width='2'/%3E%3Crect x='36' y='9' width='7' height='30' rx='3.5' fill='%23c98a3c' stroke='%238a5a12' stroke-width='2'/%3E%3Cpath d='M16 19h16M16 24h16M16 29h10' stroke='%23b9822c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=salvando]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M14 36h-2a9 9 0 0 1-1-18 12 12 0 0 1 23-2 9 9 0 0 1 3 18' fill='%23f3ead2' stroke='%2386e3bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M24 40V24m0 0-6 6m6-6 6 6' fill='none' stroke='%232f9e6f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=busca]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='20' cy='20' r='12' fill='rgba%28160%2C230%2C255%2C.35%29' stroke='%2386e3bd' stroke-width='3.5'/%3E%3Cpath d='M29 29l12 12' stroke='%23c98a3c' stroke-width='5.5' stroke-linecap='round'/%3E%3Cpath d='M14 16a7 7 0 0 1 6-4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=nuvem]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 40'%3E%3Cpath d='M14 34a9 9 0 0 1 0-18 13 13 0 0 1 24 3 7.5 7.5 0 0 1 2 15z' fill='%23e9f7f1' stroke='%2386e3bd' stroke-width='2'/%3E%3C/svg%3E")}
.nimbo-carregando[data-cena=nuvem]::after{top:66px;left:50%;width:96px;height:30px;margin-left:-48px;animation:nimbo-nuvem 2.4s ease-in-out infinite;z-index:-1}
@keyframes nimbo-nuvem{0%,100%{translate:-6px 0}50%{translate:6px 2px}}
.nimbo-carregando[data-cena=obra]::before{animation:nimbo-acena 1.6s ease-in-out infinite}
.nimbo-carregando[data-cena=obra]::after{left:calc(50% - 76px);animation:nimbo-folheia 1.2s ease-in-out infinite}
@keyframes nimbo-folheia{0%,100%{scale:1 1;translate:0 0}50%{scale:-1 1;translate:0 -6px}}
.nimbo-carregando[data-cena=capitulo]::before{animation:nimbo-pula .9s ease-in-out infinite}
.nimbo-carregando[data-cena=capitulo]::after{animation:nimbo-pagina 1.8s linear infinite}
@keyframes nimbo-pagina{0%{translate:40px 10px;rotate:20deg;opacity:0}15%{opacity:1}85%{opacity:1}100%{translate:-130px -4px;rotate:-25deg;opacity:0}}
.nimbo-carregando[data-cena=comentarios]::before{animation:nimbo-acena 1.2s ease-in-out infinite}
.nimbo-carregando[data-cena=comentarios]::after{top:2px;transform-origin:0 100%;animation:nimbo-balao 1.6s ease-in-out infinite}
@keyframes nimbo-balao{0%,100%{scale:.2;opacity:0}25%,75%{scale:1;opacity:1}}
.nimbo-carregando[data-cena=ranking]::before{animation:nimbo-pula 1.1s ease-in-out infinite}
.nimbo-carregando[data-cena=ranking]::after{left:calc(50% - 78px);animation:nimbo-trofeu 1.1s ease-in-out infinite;filter:drop-shadow(0 0 6px rgba(255,211,107,.6))}
@keyframes nimbo-trofeu{0%,100%{translate:0 0;rotate:-8deg}50%{translate:0 -10px;rotate:8deg}}
.nimbo-carregando[data-cena=cultivo]::before{animation:nimbo-flutua 3s ease-in-out infinite,nimbo-qi 3s ease-in-out infinite}
@keyframes nimbo-qi{0%,100%{filter:drop-shadow(0 0 4px rgba(134,227,189,.3))}50%{filter:drop-shadow(0 0 16px rgba(134,227,189,.9))}}
.nimbo-carregando[data-cena=cultivo]::after{top:40px;left:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:radial-gradient(circle,#fff,#86e3bd 45%,rgba(134,227,189,0) 72%);box-shadow:0 0 12px #86e3bd;animation:nimbo-orbita 2.2s linear infinite}
@keyframes nimbo-orbita{from{transform:rotate(0) translateX(52px) scale(1)}50%{transform:rotate(180deg) translateX(52px) scale(.6)}to{transform:rotate(360deg) translateX(52px) scale(1)}}
.nimbo-carregando[data-cena=perfil]::before{animation:nimbo-acena 2s ease-in-out infinite}
.nimbo-carregando[data-cena=perfil]::after{top:6px;width:26px;height:26px;animation:nimbo-brilho 1.4s ease-in-out infinite}
@keyframes nimbo-brilho{0%,100%{scale:.3;rotate:0deg;opacity:.2}50%{scale:1;rotate:90deg;opacity:1}}
.nimbo-carregando[data-cena=estante]::before{animation:nimbo-flutua 1.6s ease-in-out infinite}
.nimbo-carregando[data-cena=estante]::after{top:40px;left:calc(50% + 26px);animation:nimbo-pilha 1.6s ease-in-out infinite;transform-origin:50% 100%}
@keyframes nimbo-pilha{0%,100%{rotate:-6deg}50%{rotate:6deg}}
.nimbo-carregando[data-cena=pergaminho]::after{left:calc(50% - 80px);width:44px;animation:nimbo-desenrola 1.8s ease-in-out infinite}
@keyframes nimbo-desenrola{0%,100%{scale:.25 1}50%{scale:1 1}}
.nimbo-carregando[data-cena=salvando]::before{animation:nimbo-acena 1s ease-in-out infinite}
.nimbo-carregando[data-cena=salvando]::after{animation:nimbo-sobe 1.3s ease-in-out infinite}
@keyframes nimbo-sobe{0%{translate:0 8px;opacity:.3}50%{translate:0 -4px;opacity:1}100%{translate:0 8px;opacity:.3}}
.nimbo-carregando[data-cena=busca]::before{animation:nimbo-olha 2.4s steps(1) infinite}
.nimbo-carregando[data-cena=busca]::after{top:40px;left:50%;margin:-19px 0 0 -19px;animation:nimbo-lupa 2.4s ease-in-out infinite}
@keyframes nimbo-lupa{0%,100%{transform:translate(46px,0) rotate(0)}50%{transform:translate(-46px,0) rotate(-20deg)}}
.nimbo-carregando[data-cena=compra]::before{animation:nimbo-pula 1s ease-in-out infinite}
.nimbo-carregando[data-cena=compra]::after{background-image:url(moeda/pedra-128.webp);animation:nimbo-pedra 1.4s linear infinite}
@keyframes nimbo-pedra{from{transform:rotateY(0)}to{transform:rotateY(360deg)}}
.discussion-composer .nimbo-carregando,.home-status.nimbo-carregando{min-height:120px}
@media (prefers-reduced-motion:reduce){.nimbo-carregando::before,.nimbo-carregando::after{animation:none!important}}
html.anim-reduzidas .nimbo-carregando::before,html.anim-reduzidas .nimbo-carregando::after{animation-duration:6s!important}
.nimbo-offline{position:fixed;left:50%;top:calc(76px + env(safe-area-inset-top));translate:-50% 0;z-index:9500;display:flex;align-items:center;gap:12px;width:min(420px,calc(100vw - 24px));padding:10px 14px 10px 10px;border-radius:14px;background:#151d1a;border:1px solid rgba(160,190,180,.3);box-shadow:0 14px 34px rgba(0,0,0,.5);color:#e8f2ed;animation:passou-entra .4s ease-out}
.nimbo-offline[data-voltou]{border-color:rgba(134,227,189,.6)}
.nimbo-offline[data-saindo]{opacity:0;transition:opacity .4s}
.nimbo-offline-arte{position:relative;flex:none;width:54px;height:54px;background:url(nimbo-logo.svg) center/contain no-repeat;filter:grayscale(.5) brightness(.85);animation:nimbo-respira 3.2s ease-in-out infinite}
.nimbo-offline[data-voltou] .nimbo-offline-arte{filter:none;animation:nimbo-pula 1s ease-in-out 2}
.nimbo-offline-arte::after{content:'z';position:absolute;right:-4px;top:-2px;font:800 14px/1 Inter,sans-serif;color:#9fd8ff;animation:nimbo-zz 2.4s ease-out infinite}
.nimbo-offline[data-voltou] .nimbo-offline-arte::after{content:none}
@keyframes nimbo-respira{0%,100%{scale:1}50%{scale:1.04 .97}}
@keyframes nimbo-zz{0%{translate:0 0;opacity:0;font-size:11px}30%{opacity:1}100%{translate:10px -20px;opacity:0;font-size:18px}}
.nimbo-offline-texto{display:grid;gap:2px}.nimbo-offline-texto strong{font-size:15px}.nimbo-offline-texto small{font-size:12.5px;color:#b8c8c1}
.nimbo-carregando[hidden]{display:none!important}
