.h3d{perspective:1300px;perspective-origin:50% 30%;--px:0;--py:0;flex:1 1 0;min-height:170px;max-height:420px;position:relative}.h3d-tilt,.h3d-spin,.h3d-world,.h3d .cx3,.h3d .f3,.h3d .tree3,.h3d .tree3 .tp{transform-style:preserve-3d;position:absolute}.h3d-tilt{transform:rotateX(calc(-21deg - var(--py) * 8deg)) rotateY(calc(var(--px) * 14deg));transition:transform .9s cubic-bezier(.2,.8,.2,1);top:76%;left:50%}.h3d-spin{animation:18s ease-in-out infinite alternate h3d-sway}.h3d-world{transform:scale3d(var(--s3,1), var(--s3,1), var(--s3,1));animation:6s ease-in-out infinite h3d-bob}.h3d[data-parado] :is(.h3d-spin,.h3d-world){animation-play-state:paused}.h3d[data-parado] .h3d-tilt{transition:none}@keyframes h3d-sway{0%{transform:rotateY(-42deg)}to{transform:rotateY(-14deg)}}@keyframes h3d-bob{0%,to{translate:0}50%{translate:0 -8px}}.h3d .f3{backface-visibility:hidden;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--predio-tinta) 12%, transparent);top:0;left:0}.h3d .f-front{background:var(--predio-frente)}.h3d .f-right{background:var(--predio-direita)}.h3d .f-left{background:var(--predio-esquerda)}.h3d .f-top{background:var(--predio-topo)}.h3d .f-back{background:var(--predio-fundo)}.h3d .slab .f-top{background:var(--predio-laje-topo)}.h3d .slab .f-front,.h3d .slab .f-right{background:var(--predio-laje-frente)}.h3d .slab .f-left,.h3d .slab .f-back{background:var(--predio-laje-lado)}.h3d .pl3{position:absolute}.h3d .sh3{background:radial-gradient(closest-side, color-mix(in srgb, var(--predio-tinta) 32%, transparent), transparent)}.h3d .roofbox .f-front,.h3d .roofbox .f-right{background:var(--predio-caixa)}.h3d .tower .f-top,.h3d .wing .f-top{background:var(--predio-topo);box-shadow:inset 0 0 0 6px var(--predio-parapeito), inset 0 0 0 7px color-mix(in srgb, var(--predio-tinta) 12%, transparent)}.h3d .wins3{grid-template-columns:repeat(var(--c), 1fr);gap:12px 10px;display:grid;position:absolute;inset:14px 14px 12px}.h3d .tower .f-front .wins3{inset:58px 16px 16px}.h3d .wins3 i{background:var(--predio-janela);box-shadow:inset 0 -5px 0 color-mix(in srgb, var(--predio-topo) 8%, transparent);border-radius:3px;transition:background .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s cubic-bezier(.2,.8,.2,1);display:block}.h3d .wins3 i.on{background:var(--predio-luz);box-shadow:0 0 14px color-mix(in srgb, var(--predio-brilho) 85%, transparent), inset 0 -5px 0 color-mix(in srgb, var(--predio-luz-borda) 35%, transparent)}.h3d .sign3{aspect-ratio:72/50.5;width:50px;color:var(--marca);position:absolute;top:12px;left:50%;translate:-50%}.h3d .row3{grid-template-columns:1fr 44px 1fr;gap:10px;display:grid;position:absolute;inset:12px 12px 0}.h3d .row3 .wins3{grid-template-rows:30px;height:30px;position:static}.h3d .lobby3{background:linear-gradient(180deg, var(--predio-saguao), var(--predio-saguao-2));height:44px;box-shadow:0 0 18px color-mix(in srgb, var(--predio-brilho) 75%, transparent);border-radius:4px 4px 0 0;align-self:end;place-items:center;display:grid}.h3d .lobby3 span{background:color-mix(in srgb, var(--predio-tinta) 35%, transparent);width:2px;height:100%}.h3d .awning3{background:var(--primary-foreground);border-radius:3px;width:60px;height:7px;position:absolute;top:18px;left:calc(50% - 30px)}.h3d .tree3 .tp{inset:0}.h3d .tree3 .copa{background:var(--arvore);height:72%;box-shadow:inset -6px -6px 0 color-mix(in srgb, var(--foreground) 12%, transparent);border-radius:50% 50% 46% 46%;position:absolute;top:0;left:0;right:0}.h3d .tree3 .tronco{background:var(--arvore-tronco);width:6px;height:32%;position:absolute;bottom:0;left:calc(50% - 3px)}@media (max-width:980px){.h3d{flex:0 150px;height:112px;min-height:0;margin:-10px -8px -8px 0}}@media (prefers-reduced-motion:reduce){.h3d-spin{transform:rotateY(-28deg);animation:none!important}.h3d-world{animation:none!important}}
