/* Stable visual contract: exactly one pet renderer is visible. */
body.game-active{overflow:hidden;background:radial-gradient(circle at 25% 10%,#153e3b 0,#071a22 42%,#030c14 100%)!important}
body.game-active .pet-room{width:min(82rem,calc(100vw - 2rem))!important;height:calc(100dvh - 5.25rem)!important;min-height:34rem!important;margin:.5rem auto!important;display:grid!important;grid-template-columns:minmax(0,2.15fr) minmax(19rem,.82fr)!important;gap:.8rem!important;align-items:stretch!important}
body.game-active .room-scene,body.game-active .care-panel{height:100%!important;min-height:0!important;box-sizing:border-box!important}
body.game-active .room-scene{position:relative!important;overflow:hidden!important;border:1px solid #245e61!important;border-radius:1.35rem!important}
body.game-active .pet-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;overflow:hidden!important;transform:none!important}
body.game-active #pet-canvas,body.game-active .pet-rig-part{display:none!important}
body.game-active .egg-visual,body.game-active #sprite-canvas,body.game-active .pet-rig{opacity:0!important;pointer-events:none!important}
body.game-active .pet-viewport.pet-is-egg .egg-visual{display:block!important;position:absolute!important;z-index:12!important;left:50%!important;bottom:7%!important;width:clamp(9rem,28%,17rem)!important;height:min(72%,20rem)!important;object-fit:contain!important;object-position:center bottom!important;opacity:1!important;transform:translateX(-50%)!important;filter:drop-shadow(0 1rem 1.2rem rgba(0,0,0,.34))!important;animation:stableEggIdle 2.4s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-is-egg #sprite-canvas,body.game-active .pet-viewport.pet-is-egg .pet-rig{display:none!important}
body.game-active .pet-viewport:not(.pet-is-egg).sprite-rendering #sprite-canvas{display:block!important;position:absolute!important;inset:0!important;z-index:12!important;width:100%!important;height:100%!important;opacity:1!important}
body.game-active .pet-viewport:not(.pet-is-egg).sprite-rendering .pet-rig{display:none!important}
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig{display:block!important;position:absolute!important;inset:0!important;z-index:11!important;opacity:1!important}
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-fallback{display:block!important;position:absolute!important;left:50%!important;bottom:3%!important;width:min(48%,24rem)!important;height:82%!important;object-fit:contain!important;object-position:center bottom!important;opacity:1!important;transform:translateX(-50%)!important;filter:drop-shadow(0 1rem 1.2rem rgba(0,0,0,.34))!important}
body.game-active .scene-controls{top:1rem!important;left:1rem!important;bottom:auto!important;z-index:30!important}
body.game-active .petting-badge{top:1rem!important;right:1rem!important;bottom:auto!important;z-index:30!important}
body.game-active .speech-wrap{position:absolute!important;z-index:30!important;top:1rem!important;left:5rem!important;right:5rem!important;min-height:0!important;pointer-events:none}
body.game-active .stage-row{position:absolute!important;left:1rem!important;right:1rem!important;bottom:1rem!important;z-index:31!important;background:rgba(4,20,28,.88)!important;color:#fff!important;border:1px solid rgba(116,255,215,.22)!important;backdrop-filter:blur(10px)}
body.game-active .care-panel{overflow:auto!important;padding:.75rem!important;color:#eafff9!important;background:linear-gradient(180deg,rgba(7,40,48,.97),rgba(3,22,31,.98))!important;border:1px solid #245e61!important;border-radius:1.35rem!important;scrollbar-width:thin}
body.game-active .needs-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.35rem!important}
body.game-active .need-card{min-width:0!important;padding:.45rem!important;background:rgba(8,34,43,.8)!important;border-color:rgba(117,241,212,.18)!important}
body.game-active .actions-list{display:grid!important;grid-template-columns:1fr!important;gap:.38rem!important}
@keyframes stableEggIdle{0%,100%{transform:translateX(-50%) translateY(0) rotate(-1.2deg)}50%{transform:translateX(-50%) translateY(-.7rem) rotate(1.2deg)}}
@media (orientation:landscape) and (max-width:980px){body.game-active .pet-room{width:calc(100vw - .5rem)!important;height:calc(100dvh - 3.3rem)!important;min-height:0!important;margin:.2rem auto!important;grid-template-columns:minmax(0,1.65fr) minmax(14.5rem,.72fr)!important;gap:.35rem!important}body.game-active .room-scene,body.game-active .care-panel{border-radius:.8rem!important}body.game-active .care-panel{padding:.42rem!important;font-size:.72rem!important}body.game-active .needs-grid{gap:.22rem!important}body.game-active .need-card{padding:.28rem!important}body.game-active .actions-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.25rem!important}body.game-active .pet-viewport.pet-is-egg .egg-visual{width:clamp(7rem,25%,12rem)!important;height:58%!important;bottom:10%!important}}
@media (orientation:portrait) and (max-width:760px){body.game-active{overflow:auto}body.game-active .pet-room{width:calc(100vw - .6rem)!important;height:auto!important;min-height:0!important;grid-template-columns:1fr!important;margin:.3rem auto!important}body.game-active .room-scene{height:58dvh!important;min-height:25rem!important}body.game-active .care-panel{height:auto!important;max-height:none!important}}
/* Phone game layout, including wide logical viewports used by mobile Chrome. */
@media (orientation:landscape) and (max-width:1200px) and (max-height:600px){
body.game-active .game-shell{width:100vw!important;height:100dvh!important;padding:max(.2rem,env(safe-area-inset-top)) max(.25rem,env(safe-area-inset-right)) max(.2rem,env(safe-area-inset-bottom)) max(.25rem,env(safe-area-inset-left))!important;grid-template-rows:2.35rem minmax(0,1fr)!important;overflow:hidden!important}
body.game-active .topbar{min-height:2.15rem!important;padding:0 .35rem!important;color:#eafff9!important;background:#061722!important}
body.game-active .pet-room{width:100%!important;height:100%!important;margin:0!important;grid-template-columns:minmax(0,1fr) clamp(15rem,27vw,19rem)!important;gap:.35rem!important}
body.game-active .room-scene,body.game-active .care-panel{height:100%!important;min-height:0!important;border-radius:.7rem!important}
body.game-active .speech-wrap{top:.4rem!important;left:4rem!important;right:4rem!important}
body.game-active .speech{max-width:65%!important;margin:0 auto!important;padding:.34rem .58rem!important;border-radius:.7rem!important;font-size:.68rem!important;line-height:1.15!important}
body.game-active .scene-controls{top:.45rem!important;left:.45rem!important;gap:.2rem!important}
body.game-active .scene-controls button{width:1.9rem!important;height:1.9rem!important;border-radius:.5rem!important;font-size:.82rem!important}
body.game-active .scene-badge{display:none!important}
body.game-active .stage-row{left:50%!important;right:auto!important;bottom:.45rem!important;width:max-content!important;max-width:calc(100% - .9rem)!important;min-height:2.15rem!important;gap:.28rem!important;padding:.22rem .3rem!important;border-radius:.65rem!important;transform:translateX(-50%)!important;flex-wrap:nowrap!important;background:rgba(3,20,28,.92)!important}
body.game-active .stage-row .hatch-progress{display:none!important}
body.game-active .quiet-button{min-height:1.7rem!important;padding:.2rem .48rem!important;border-radius:.48rem!important;font-size:.61rem!important;white-space:nowrap!important}
body.game-active .scene-info-panel{z-index:40!important;top:2.65rem!important;right:.45rem!important;bottom:2.95rem!important;width:min(16rem,calc(100% - .9rem))!important;max-height:none!important;overflow:auto!important;padding:.55rem!important;color:#eafff9!important;border-color:rgba(116,255,215,.3)!important;background:rgba(4,25,34,.97)!important;box-shadow:0 1rem 2rem rgba(0,0,0,.45)!important}
body.game-active .scene-info-panel>span,body.game-active .scene-info-panel dt{color:#9ccac0!important}
body.game-active .scene-info-panel>strong,body.game-active .scene-info-panel dd{color:#fff!important}
body.game-active .scene-info-panel dl div,body.game-active .info-battle-stats>div{background:#0d3540!important}
body.game-active .care-panel{overflow-y:auto!important;overflow-x:hidden!important;padding:.42rem!important;display:block!important;scrollbar-width:thin}
body.game-active .care-panel>section,body.game-active .care-progress,body.game-active .admin-time{margin-bottom:.38rem!important}
body.game-active .request-card{display:block!important;padding:.45rem!important}
body.game-active .request-card p{display:block!important;max-width:none!important;margin:.2rem 0 0!important;white-space:normal!important;font-size:.58rem!important}
body.game-active .needs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.game-active .actions{grid-template-columns:1fr!important}
}
/* v58: batalha assistível e captura colecionável. */
.duel-panel{position:relative;overflow:hidden;color:#eafff9!important;border:1px solid rgba(109,255,221,.28)!important;background:linear-gradient(150deg,#081d2b,#16113a)!important}
.duel-arena{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 3.2rem minmax(0,1fr);align-items:end;min-height:15rem;margin:.55rem 0;padding:1.2rem .8rem .55rem;overflow:hidden;border:1px solid rgba(121,255,222,.25);border-radius:1rem;background:radial-gradient(circle at 50% 78%,rgba(116,255,197,.2),transparent 35%),linear-gradient(180deg,#09263a 0,#111b38 55%,#172b28 56%,#091913 100%);isolation:isolate}
.duel-arena::before{content:"";position:absolute;inset:auto 5% 9%;height:18%;border-radius:50%;background:rgba(104,255,200,.12);filter:blur(.45rem);transform:perspective(12rem) rotateX(68deg)}
.duel-arena-pet{position:relative;z-index:2;display:grid;align-items:end;justify-items:center;height:11rem;transform-origin:50% 100%}
.duel-arena-pet img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 .75rem .55rem rgba(0,0,0,.55))}
.duel-arena-host{transform:scaleX(-1)}.duel-arena-host img{transform:scaleX(-1)}
.duel-clash{position:relative;z-index:5;display:grid;place-items:center;align-self:center}.duel-clash b{display:grid;place-items:center;width:2.8rem;height:2.8rem;border-radius:50%;color:#071820;background:#bdfc61;box-shadow:0 0 1.4rem rgba(189,252,97,.5);font-size:.85rem}.duel-clash i{position:absolute;opacity:0;font-style:normal;font-size:2rem;filter:drop-shadow(0 0 .8rem #fff)}
.duel-round-flash{position:absolute;z-index:7;top:.55rem;left:50%;padding:.3rem .65rem;border-radius:99px;color:#efffff;background:rgba(2,14,25,.82);font-size:.72rem;letter-spacing:.04em;transform:translateX(-50%)}
.duel-stake{display:grid;gap:.25rem;margin:.5rem 0;color:#bcece1;font-size:.68rem;font-weight:850}.duel-stake select{width:100%;min-height:2.5rem;padding:.4rem .55rem;border:1px solid rgba(115,248,216,.35);border-radius:.65rem;color:#f5fffc;background:#0a2635;font:inherit}
.duel-capture{width:100%;min-height:3rem;margin-top:.45rem;border:1px solid #dfff80;border-radius:.72rem;color:#122513;background:linear-gradient(135deg,#dfff80,#69f5b6);box-shadow:0 0 1.25rem rgba(119,255,178,.42);font-weight:950;cursor:pointer;animation:capturePulse 1.1s ease-in-out infinite}
.duel-animating .duel-arena-host{animation:duelHostAdvance 1.7s ease-in-out}.duel-animating .duel-arena-guest{animation:duelGuestAdvance 1.7s ease-in-out}
.duel-host-defend .duel-arena-host,.duel-guest-defend .duel-arena-guest{filter:drop-shadow(0 0 .9rem #6fe8ff)}
.duel-host-power .duel-arena-host,.duel-guest-power .duel-arena-guest{filter:drop-shadow(0 0 1rem #ffe959) saturate(1.4)}
.duel-impact-visible .duel-clash i{animation:duelImpact .65s ease-out}.duel-impact-visible .duel-arena-pet img{animation:duelHit .42s ease 2}
.duel-capturing .duel-arena-guest{animation:petCapture 1.7s ease forwards}.duel-capturing::after{content:"✦";position:absolute;z-index:8;top:50%;left:73%;color:#dfff80;font-size:5rem;transform:translate(-50%,-50%);animation:capturePortal 1.7s ease forwards}
@keyframes duelHostAdvance{0%,100%{transform:scaleX(-1) translateX(0)}42%{transform:scaleX(-1) translateX(-24%) translateY(-8%)}60%{transform:scaleX(-1) translateX(-18%) rotate(-5deg)}}
@keyframes duelGuestAdvance{0%,100%{transform:translateX(0)}42%{transform:translateX(-24%) translateY(-8%)}60%{transform:translateX(-18%) rotate(-5deg)}}
@keyframes duelImpact{0%{opacity:0;transform:scale(.2) rotate(-30deg)}35%{opacity:1;transform:scale(1.5) rotate(8deg)}100%{opacity:0;transform:scale(2.3) rotate(28deg)}}
@keyframes duelHit{50%{transform:translateX(.45rem) rotate(3deg);filter:brightness(1.8) saturate(.4)}}
@keyframes capturePulse{50%{transform:scale(1.02);box-shadow:0 0 1.7rem rgba(119,255,178,.7)}}
@keyframes petCapture{to{opacity:0;transform:translateY(-2rem) scale(.05) rotate(1turn);filter:brightness(2)}}
@keyframes capturePortal{0%{opacity:0;transform:translate(-50%,-50%) scale(.2) rotate(0)}40%{opacity:1;transform:translate(-50%,-50%) scale(1.3) rotate(180deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(720deg)}}
@media(max-width:44rem),(orientation:landscape) and (max-height:600px){.visit-dialog.duel-open{width:min(98vw,46rem);max-height:96dvh;padding:.4rem}.duel-panel{padding:.45rem!important}.duel-arena{min-height:8.2rem;margin:.3rem 0;padding:.8rem .35rem .25rem;grid-template-columns:minmax(0,1fr) 2.3rem minmax(0,1fr)}.duel-arena-pet{height:6.5rem}.duel-clash b{width:2rem;height:2rem;font-size:.6rem}.duel-round-flash{top:.25rem;padding:.18rem .4rem;font-size:.55rem}.duel-fighters{gap:.2rem}.duel-stake{margin:.28rem 0}.duel-stake select{min-height:2rem}.duel-capture{min-height:2.3rem}.duel-moves button{min-height:2.15rem!important}}
/* v60: coleção completa e batalha automática de 15 segundos. */
.pet-collection{--collection-count:1;position:absolute;z-index:14;left:4%;right:4%;bottom:3.35rem;display:flex;align-items:end;justify-content:space-between;gap:.3rem;pointer-events:none}
.pet-collection.hidden{display:none!important}
.collection-pet{pointer-events:auto;display:grid;place-items:end center;width:var(--collection-size,5rem);max-width:22%;height:calc(var(--collection-size,5rem)*1.25);padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 .5rem .4rem rgba(0,0,0,.5));transform-origin:50% 100%;animation:collectionPetIdle calc(2.2s + var(--pet-index)*.12s) ease-in-out infinite}
.collection-pet img{display:block;width:100%;height:calc(100% - 1rem);object-fit:contain;object-position:center bottom}
.collection-pet strong{max-width:100%;padding:.12rem .3rem;overflow:hidden;border-radius:99px;color:#eafff9;background:rgba(3,20,28,.84);font-size:.52rem;text-overflow:ellipsis;white-space:nowrap}
.collection-pet:focus-visible,.collection-pet:hover{outline:2px solid #bdfc61;outline-offset:.15rem;transform:translateY(-.35rem) scale(1.08)}
@keyframes collectionPetIdle{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -.35rem;rotate:1deg}}
.duel-combatant{display:grid;gap:.22rem;margin:.45rem 0;color:#c8f8ed;font-size:.7rem;font-weight:900}
.duel-combatant select{min-height:2.5rem;padding:.4rem .55rem;border:1px solid rgba(115,248,216,.38);border-radius:.65rem;color:#fff;background:#0a2635;font:inherit}
.duel-combatant small{color:#8fbeb5;font-weight:650}
.duel-moves{display:none!important}
.duel-fighters small{display:none!important}
.duel-animating .duel-arena-host img,.duel-animating .duel-arena-guest img{animation:duelBodyAlive .72s ease-in-out infinite alternate}

/* Batalhas v27: explosão ampla, queda do derrotado e celebração do vencedor. */
.duel-arena::after,.daily-battle-arena::after{content:"";position:absolute;z-index:6;inset:4% -5%;pointer-events:none;background:url('/assets/images/battle-power-clash.png?v=20260910-72') center/contain no-repeat;opacity:0;transform:scale(.25);filter:drop-shadow(0 0 1rem #fff)}
.duel-impact-visible::after,.daily-round-1::after,.daily-round-2::after,.daily-round-3::after{animation:battleClashBurst 1.05s cubic-bezier(.2,.9,.2,1)}
.duel-finished .duel-arena-pet,.daily-battle-finished .daily-fighter{animation:none!important;transition:filter .3s ease}
.duel-winner-host .duel-arena-host{animation:duelWinnerHost 1s ease-in-out infinite!important}.duel-winner-host .duel-arena-guest{animation:duelLoserGuest .9s ease forwards!important}
.duel-winner-guest .duel-arena-guest{animation:duelWinnerGuest 1s ease-in-out infinite!important}.duel-winner-guest .duel-arena-host{animation:duelLoserHost .9s ease forwards!important}
.duel-draw .duel-arena-pet{filter:grayscale(.25) brightness(.75)}
@keyframes battleClashBurst{0%{opacity:0;transform:scale(.2) rotate(-8deg)}28%{opacity:1;transform:scale(1.08) rotate(2deg)}72%{opacity:.9;transform:scale(.96)}100%{opacity:0;transform:scale(1.35);filter:blur(.2rem) drop-shadow(0 0 1.5rem #fff)}}
@keyframes duelWinnerHost{0%,100%{transform:scaleX(-1) translateY(0) rotate(0)}45%{transform:scaleX(-1) translateY(-1.2rem) rotate(-5deg);filter:drop-shadow(0 0 1rem #bdfc61) saturate(1.45)}}
@keyframes duelWinnerGuest{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-1.2rem) rotate(5deg);filter:drop-shadow(0 0 1rem #bdfc61) saturate(1.45)}}
@keyframes duelLoserGuest{0%{transform:translateY(0) rotate(0)}72%,100%{transform:translateY(1.4rem) rotate(79deg) scale(.88);filter:grayscale(.45) brightness(.62)}}
@keyframes duelLoserHost{0%{transform:scaleX(-1) translateY(0) rotate(0)}72%,100%{transform:scaleX(-1) translateY(1.4rem) rotate(-79deg) scale(.88);filter:grayscale(.45) brightness(.62)}}

/* v74: poderes realmente visíveis durante todos os 10 segundos do duelo. */
.duel-power-stream{--power:#66f7ff;position:absolute;z-index:4;top:42%;width:43%;height:1.15rem;opacity:0;pointer-events:none;transform-origin:center;filter:drop-shadow(0 0 .55rem var(--power)) drop-shadow(0 0 1.2rem var(--power));mix-blend-mode:screen}
.duel-power-stream::before{content:"";position:absolute;inset:-.8rem 0;border-radius:50%;background:repeating-linear-gradient(90deg,transparent 0 7%,color-mix(in srgb,var(--power) 78%,white) 8% 10%,transparent 12% 17%),linear-gradient(90deg,transparent,var(--power) 18% 82%,transparent);clip-path:polygon(0 38%,82% 38%,100% 50%,82% 62%,0 62%)}
.duel-power-stream::after{content:"";position:absolute;top:50%;width:3.25rem;height:3.25rem;border:.32rem solid white;border-radius:50%;background:radial-gradient(circle,#fff 0 8%,var(--power) 22%,transparent 64%);box-shadow:0 0 .65rem #fff,0 0 1.4rem var(--power),0 0 2.8rem var(--power);transform:translateY(-50%)}
.duel-power-host{left:8%;--power:#58f9ff}.duel-power-host::after{right:-.7rem}
.duel-power-guest{right:8%;--power:#ff4ee7;transform:scaleX(-1)}.duel-power-guest::after{right:-.7rem}
.duel-host-attack .duel-power-host{--power:#ff713e}.duel-host-defend .duel-power-host{--power:#56eaff}.duel-host-power .duel-power-host{--power:#ffe84f}
.duel-guest-attack .duel-power-guest{--power:#ff315f}.duel-guest-defend .duel-power-guest{--power:#8b8dff}.duel-guest-power .duel-power-guest{--power:#d64cff}
.duel-power-core{position:absolute;z-index:6;top:43%;left:50%;width:5rem;height:5rem;opacity:0;pointer-events:none;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fff 0 7%,#fff96f 9% 18%,#ff4dd8 31%,#42eaff 51%,transparent 72%);box-shadow:0 0 .8rem #fff,0 0 2rem #fff04f,0 0 4rem #e442ff;mix-blend-mode:screen}
.duel-power-core i{position:absolute;inset:-35%;border:.16rem solid rgba(255,255,255,.9);border-radius:50%}.duel-power-core i:nth-child(2){inset:-70%;border-color:rgba(81,237,255,.65)}.duel-power-core i:nth-child(3){inset:-105%;border-color:rgba(255,66,223,.45)}
.duel-arena-pet span{position:absolute;z-index:-1;top:42%;left:50%;width:7rem;height:7rem;opacity:0;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.9) 0 4%,rgba(78,241,255,.48) 18%,transparent 67%);box-shadow:0 0 1.4rem #6ff,0 0 3rem rgba(90,239,255,.65);transform:translate(-50%,-50%)}
.duel-animating .duel-power-host{animation:duelBeamHost 3.15s ease-in-out both}.duel-animating .duel-power-guest{animation:duelBeamGuest 3.15s ease-in-out both}
.duel-animating .duel-power-core{animation:duelCoreCollision 3.15s cubic-bezier(.22,.8,.2,1) both}.duel-animating .duel-power-core i{animation:duelShockRing 1.05s ease-out 1.05s infinite}
.duel-animating .duel-arena-pet span{animation:duelChargeAura 3.15s ease-in-out both}.duel-round-2 .duel-power-stream::before{filter:hue-rotate(80deg);height:1.7rem}.duel-round-3 .duel-power-stream::before{filter:hue-rotate(170deg) brightness(1.35);height:2.25rem}
.duel-impact-visible{animation:duelArenaQuake .12s linear 8}.duel-impact-visible::before{background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.95),rgba(113,236,255,.32) 26%,transparent 64%)}
.duel-loss-rule{margin:.45rem 0;padding:.55rem .7rem;border:1px solid rgba(255,209,91,.4);border-radius:.65rem;color:#fff3c2;background:rgba(72,39,11,.56);font-size:.68rem;line-height:1.35}
@keyframes duelBeamHost{0%,8%{opacity:0;transform:translateX(-45%) scaleX(.08)}22%{opacity:1;transform:translateX(-8%) scaleX(.45)}42%,78%{opacity:1;transform:translateX(0) scaleX(1)}88%{opacity:1;transform:translateX(5%) scaleX(1.12)}100%{opacity:0;transform:translateX(20%) scaleX(.2)}}
@keyframes duelBeamGuest{0%,8%{opacity:0;transform:scaleX(-1) translateX(-45%) scaleX(.08)}22%{opacity:1;transform:scaleX(-1) translateX(-8%) scaleX(.45)}42%,78%{opacity:1;transform:scaleX(-1) translateX(0) scaleX(1)}88%{opacity:1;transform:scaleX(-1) translateX(5%) scaleX(1.12)}100%{opacity:0;transform:scaleX(-1) translateX(20%) scaleX(.2)}}
@keyframes duelCoreCollision{0%,24%{opacity:0;transform:translate(-50%,-50%) scale(.08)}38%{opacity:1;transform:translate(-50%,-50%) scale(.7)}55%{opacity:1;transform:translate(-50%,-50%) scale(1.4) rotate(70deg)}72%{opacity:1;transform:translate(-50%,-50%) scale(.95) rotate(160deg)}88%{opacity:1;transform:translate(-50%,-50%) scale(1.8) rotate(260deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(3.5) rotate(360deg);filter:blur(.18rem)}}
@keyframes duelShockRing{0%{opacity:.95;transform:scale(.15)}100%{opacity:0;transform:scale(1.8)}}
@keyframes duelChargeAura{0%,100%{opacity:0;transform:translate(-50%,-50%) scale(.2)}18%,78%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}88%{opacity:1;transform:translate(-50%,-50%) scale(1.55)}}
@keyframes duelArenaQuake{0%,100%{transform:translate(0)}25%{transform:translate(-.22rem,.12rem)}50%{transform:translate(.2rem,-.1rem)}75%{transform:translate(-.12rem,-.18rem)}}

/* Visitante diário. */
.daily-challenge{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:1rem;background:rgba(1,8,18,.82);backdrop-filter:blur(.55rem)}
.daily-challenge.hidden,.daily-challenge-actions.hidden{display:none!important}
.daily-challenge-card{width:min(94vw,44rem);padding:1rem;border:1px solid rgba(125,255,221,.38);border-radius:1.3rem;color:#effffc;background:linear-gradient(155deg,#071b2b,#181038 68%,#123327);box-shadow:0 1.5rem 5rem #000,0 0 2.5rem rgba(104,255,205,.2)}
.daily-challenge-card header{text-align:center}.daily-challenge-card header span{color:#bdfc61;font-size:.68rem;font-weight:950;letter-spacing:.16em}.daily-challenge-card h2{margin:.15rem 0;font-size:clamp(1.25rem,4vw,2rem)}
.daily-challenge-message{min-height:2.4rem;margin:.4rem 0;text-align:center;font-size:.82rem;font-weight:750}
.daily-battle-arena{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:end;min-height:18rem;overflow:hidden;border-radius:1rem;background:radial-gradient(circle at 50% 75%,rgba(108,255,202,.18),transparent 35%),linear-gradient(#071d38 0 58%,#132d28 59% 100%);isolation:isolate}
.daily-fighter{position:relative;z-index:3;display:grid;place-items:end center;height:15rem;transform-origin:50% 100%}.daily-fighter img{width:100%;height:12rem;object-fit:contain;object-position:center bottom;filter:saturate(1.5) contrast(1.2) drop-shadow(0 .8rem .6rem #000)}
.daily-trainer{transform:scaleX(-1)}.daily-trainer>*{transform:scaleX(-1)}.daily-fighter strong{max-width:80%;padding:.2rem .5rem;border-radius:99px;background:rgba(1,10,20,.8);font-size:.68rem;white-space:nowrap}
.daily-fighter i{width:75%;height:.42rem;margin:.25rem 0 .5rem;overflow:hidden;border-radius:99px;background:#351f31}.daily-fighter i b{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef355d,#d5ff68);transition:width .45s ease}
.daily-power-clash{position:absolute;z-index:5;top:48%;left:50%;width:3rem;height:3rem;border-radius:50%;background:#fff;box-shadow:0 0 2rem #bdfc61;transform:translate(-50%,-50%);opacity:.15}
.daily-battle-flash{position:absolute;z-index:8;top:.6rem;left:50%;padding:.3rem .65rem;border-radius:99px;background:rgba(2,12,24,.88);font-size:.7rem;font-style:normal;font-weight:950;letter-spacing:.08em;transform:translateX(-50%);white-space:nowrap}
.daily-challenge-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:.55rem;margin-top:.75rem}.daily-challenge-actions button{min-height:3rem;border:1px solid rgba(142,255,225,.28);border-radius:.8rem;color:#efffff;background:#132b38;font-weight:900;cursor:pointer}.daily-challenge-actions button:last-child{color:#102218;background:linear-gradient(135deg,#dfff74,#6df5b5);box-shadow:0 0 1rem rgba(115,255,188,.28)}
.daily-round-1 .daily-trainer{animation:dailyTrainerAttack 2.4s ease-in-out}.daily-round-1 .daily-visitor{animation:dailyVisitorBrace 2.4s ease-in-out}.daily-round-2 .daily-visitor{animation:dailyVisitorAttack 2.4s ease-in-out}.daily-round-2 .daily-trainer{animation:dailyTrainerBrace 2.4s ease-in-out}.daily-round-3 .daily-fighter{animation:dailyUltimate .48s ease-in-out 5 alternate}
.daily-winner-trainer .daily-trainer{animation:duelWinnerHost 1s ease-in-out infinite}.daily-winner-trainer .daily-visitor{animation:duelLoserGuest .9s ease forwards}.daily-winner-visitor .daily-visitor{animation:duelWinnerGuest 1s ease-in-out infinite}.daily-winner-visitor .daily-trainer{animation:duelLoserHost .9s ease forwards}.daily-winner-draw .daily-fighter{filter:grayscale(.25) brightness(.75)}
@keyframes dailyTrainerAttack{35%{transform:scaleX(-1) translateX(-28%) scale(1.12)}65%{transform:scaleX(-1) translateX(-10%);filter:drop-shadow(0 0 1rem #ff8b32)}}
@keyframes dailyVisitorAttack{35%{transform:translateX(-28%) scale(1.12)}65%{transform:translateX(-10%);filter:drop-shadow(0 0 1rem #6fdcff)}}
@keyframes dailyTrainerBrace{45%{transform:scaleX(-1) translateX(8%) scale(.94);filter:brightness(1.8)}}
@keyframes dailyVisitorBrace{45%{transform:translateX(8%) scale(.94);filter:brightness(1.8)}}
@keyframes dailyUltimate{to{filter:drop-shadow(0 0 1.5rem #fff) saturate(1.8);transform:translateY(-.45rem) scale(1.08)}}
@media(max-width:44rem){.daily-challenge-card{padding:.6rem}.daily-battle-arena{min-height:12rem}.daily-fighter{height:10rem}.daily-fighter img{height:7.8rem}.daily-challenge-message{font-size:.7rem}.daily-challenge-actions button{min-height:2.55rem;font-size:.72rem}}
@keyframes duelBodyAlive{from{scale:1;rotate:-1deg}to{scale:1.035;rotate:1deg}}
@media (orientation:landscape) and (max-height:600px){
.pet-collection{left:3%;right:3%;bottom:2.8rem;gap:.18rem}
.collection-pet{width:clamp(2.4rem,calc(60vw / var(--collection-count)),4.8rem);height:clamp(3.2rem,17vh,5.2rem)}
.collection-pet strong{font-size:.42rem}
.duel-combatant{margin:.2rem 0;font-size:.56rem}
.duel-combatant select{min-height:1.85rem;padding:.2rem .4rem}
.duel-combatant small{display:none}
}

/* v61: fallback centralizado e vivo em todos os estados, inclusive durante a noite. */
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important;animation:none!important;opacity:1!important;pointer-events:none!important}
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig .pet-fallback{display:block!important;position:absolute!important;top:auto!important;right:auto!important;left:50%!important;bottom:3%!important;width:min(48%,24rem)!important;height:82%!important;object-fit:contain!important;object-position:center bottom!important;opacity:1!important;transform:translateX(-50%)!important;transform-origin:50% 100%!important;filter:drop-shadow(0 1rem 1.2rem rgba(0,0,0,.38))!important;animation:stablePetAlive 2.8s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-is-adult:not(.sprite-rendering) .pet-rig .pet-fallback{width:min(58%,31rem)!important;height:88%!important}
body.game-active .pet-viewport.pet-scheduled-sleep:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-sleep:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-rest:not(.sprite-rendering) .pet-rig .pet-fallback{bottom:2%!important;animation:stablePetSleeping 2.2s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-action-feed:not(.sprite-rendering) .pet-rig .pet-fallback{animation:stablePetEating .72s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-action-bathe:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-clean:not(.sprite-rendering) .pet-rig .pet-fallback{animation:stablePetBath 1s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-action-toilet-pee:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-toilet-poop:not(.sprite-rendering) .pet-rig .pet-fallback{animation:stablePetSquat .9s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-action-wave:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-talk:not(.sprite-rendering) .pet-rig .pet-fallback{animation:stablePetTalk .62s ease-in-out infinite!important}
body.game-active .pet-viewport.pet-action-power:not(.sprite-rendering) .pet-rig .pet-fallback,body.game-active .pet-viewport.pet-action-jump:not(.sprite-rendering) .pet-rig .pet-fallback{animation:stablePetJump .9s cubic-bezier(.35,0,.3,1) infinite!important}
body.game-active .pet-viewport.sprite-rendering #sprite-canvas{transform:none!important;transform-origin:center!important;will-change:contents!important}
@keyframes stablePetAlive{0%,100%{transform:translateX(-50%) translateY(0) rotate(-1deg) scale(1)}45%{transform:translateX(-50%) translateY(-.5rem) rotate(1.3deg) scale(1.018,1.035)}70%{transform:translateX(-50%) translateY(-.2rem) rotate(0) scale(.995,1.015)}}
@keyframes stablePetSleeping{0%,100%{transform:translateX(-50%) translateY(.25rem) rotate(-5deg) scale(1.015,.965)}50%{transform:translateX(-50%) translateY(.7rem) rotate(-6.5deg) scale(.985,1.025)}}
@keyframes stablePetEating{0%,100%{transform:translateX(-50%) translateY(0) rotate(0)}50%{transform:translateX(-50%) translateY(1rem) rotate(-4deg) scale(1.02,.98)}}
@keyframes stablePetBath{0%,100%{transform:translateX(-50%) rotate(-3deg)}50%{transform:translateX(-50%) rotate(3deg) translateY(-.35rem)}}
@keyframes stablePetSquat{0%,100%{transform:translateX(-50%) translateY(0) scale(1)}50%{transform:translateX(-50%) translateY(1rem) scale(1.045,.92)}}
@keyframes stablePetTalk{0%,100%{transform:translateX(-50%) rotate(-1.8deg)}50%{transform:translateX(-50%) translateY(-.35rem) rotate(1.8deg) scale(1.018)}}
@keyframes stablePetJump{0%,100%{transform:translateX(-50%) translateY(0) rotate(-2deg)}50%{transform:translateX(-50%) translateY(-2.2rem) rotate(3deg) scale(1.035)}}
@media (orientation:landscape) and (max-height:600px){body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig .pet-fallback{width:min(43%,17rem)!important;height:76%!important;bottom:5%!important}body.game-active .pet-viewport.pet-is-adult:not(.sprite-rendering) .pet-rig .pet-fallback{width:min(51%,21rem)!important;height:82%!important}}

/* v64: motor único, personagem ancorado ao chão e interface mobile/WebView sem colisões. */
body.game-active .game-shell,body.game-active .pet-room,body.game-active .room-scene,body.game-active .care-panel{box-sizing:border-box!important;min-width:0!important}
body.game-active .pet-room{grid-template-columns:minmax(0,1fr) clamp(15rem,27vw,19rem)!important;max-width:100%!important;overflow:hidden!important}
body.game-active .room-scene,body.game-active .care-panel{width:100%!important;max-width:100%!important}
body.game-active .pet-viewport:not(.pet-is-egg).sprite-rendering #sprite-canvas{opacity:1!important;pointer-events:auto!important;touch-action:none!important;transform:none!important}
body.game-active .pet-viewport.sprite-rendering .pet-rig{display:none!important}
body.game-active .pet-viewport[data-motion="sleep"] #sprite-canvas{filter:saturate(.78) brightness(.86) drop-shadow(0 1rem 1rem rgba(0,0,0,.34))!important}

/* v83: movimento visível e ataque garantido para a nova arte única do Prismite. */
body.game-active .pet-viewport:is([data-species="prismite"],[data-species="glacilume"],[data-species="psidrak"],[data-species="drakhar"]).sprite-rendering #sprite-canvas{transform-origin:50% 78%!important;animation:prismiteAliveCanvas 1.65s ease-in-out infinite!important;will-change:translate,rotate,scale,filter!important}
body.game-active .pet-viewport:is([data-species="prismite"],[data-species="glacilume"],[data-species="psidrak"],[data-species="drakhar"])[data-motion="power"].sprite-rendering #sprite-canvas{animation:prismiteTrainingCanvas .7s cubic-bezier(.2,.8,.25,1) infinite!important}
@keyframes prismiteAliveCanvas{0%,100%{translate:0 0;rotate:-1.2deg;scale:1;filter:drop-shadow(0 1rem 1rem rgba(0,0,0,.34))}48%{translate:0 -12px;rotate:1.7deg;scale:1.018 1.035;filter:drop-shadow(0 1.25rem 1.15rem rgba(0,0,0,.28)) drop-shadow(0 0 .35rem rgba(154,105,255,.38))}72%{translate:5px -5px;rotate:.4deg;scale:.995 1.015}}
@keyframes prismiteTrainingCanvas{0%,100%{translate:-12px 4px;rotate:-4deg;scale:.95 .98;filter:brightness(.92) drop-shadow(0 1rem 1rem rgba(0,0,0,.35))}34%{translate:-3px -18px;rotate:3deg;scale:1.045 1.07;filter:brightness(1.16) drop-shadow(0 0 .8rem #945cff)}58%{translate:38px -10px;rotate:7deg;scale:1.09 .96;filter:brightness(1.3) drop-shadow(0 0 1.25rem #46f2ff)}76%{translate:15px -5px;rotate:-2deg;scale:1.025;filter:brightness(1.08) drop-shadow(0 0 .75rem #945cff)}}
@media (orientation:landscape) and (max-width:1180px), (orientation:landscape) and (max-height:720px){
  body.game-active .game-shell{width:100%!important;max-width:100vw!important;height:100dvh!important;padding:max(.18rem,env(safe-area-inset-top)) max(.22rem,env(safe-area-inset-right)) max(.18rem,env(safe-area-inset-bottom)) max(.22rem,env(safe-area-inset-left))!important;overflow:hidden!important}
  body.game-active .pet-room{width:100%!important;height:calc(100dvh - 2.65rem)!important;margin:0!important;grid-template-columns:minmax(0,1fr) clamp(13.25rem,31vw,17rem)!important;gap:.3rem!important}
  body.game-active .room-scene,body.game-active .care-panel{height:100%!important;min-height:0!important;border-radius:.72rem!important}
  body.game-active .care-panel{padding:.34rem!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}
  body.game-active .scene-actions{left:.35rem!important;right:.35rem!important;bottom:.35rem!important;max-width:calc(100% - .7rem)!important;display:flex!important;justify-content:center!important;gap:.25rem!important;flex-wrap:nowrap!important}
  body.game-active .scene-actions button{min-width:0!important;padding:.36rem .48rem!important;font-size:clamp(.55rem,1.4vw,.72rem)!important;white-space:nowrap!important}
  body.game-active .pet-viewport:not(.pet-is-egg) #sprite-canvas{max-width:100%!important;max-height:100%!important}
  body.game-active .request-card{padding:.38rem!important}.game-active .request-card p{font-size:.62rem!important}
  body.game-active .needs{gap:.18rem!important}.game-active .need-row{min-height:2.45rem!important;padding:.2rem!important}
  body.game-active .actions{gap:.18rem!important}.game-active .care-action{min-height:2.35rem!important;padding:.2rem .26rem!important}
}
@media (orientation:landscape) and (max-height:500px){
  body.game-active .topbar{min-height:1.65rem!important}.game-active .game-shell{grid-template-rows:1.85rem minmax(0,1fr)!important}
  body.game-active .pet-room{height:calc(100dvh - 2rem)!important;grid-template-columns:minmax(0,1fr) clamp(12rem,30vw,15rem)!important}
  body.game-active .care-panel{font-size:.62rem!important}.game-active .section-heading{display:none!important}
  body.game-active .need-row{min-height:2rem!important}.game-active .care-action{min-height:2rem!important}
}

/* v86: encontro público e arena cinematográfica com combate corpo a corpo. */
.visit-dialog.duel-open{width:min(98vw,76rem)!important;max-width:none!important;max-height:98dvh!important}
.duel-panel{padding:clamp(.55rem,1.4vw,1rem)!important}
.duel-arena{min-height:clamp(20rem,57vh,34rem)!important;grid-template-columns:minmax(0,1fr) 1.2rem minmax(0,1fr)!important;padding:2rem .5rem .7rem!important}
.duel-arena-pet{height:clamp(16rem,49vh,29rem)!important}
.duel-arena-host{translate:23% 0}.duel-arena-guest{translate:-23% 0}
.duel-arena-pet img,.duel-fighter-canvas{width:112%!important;height:112%!important}
.duel-fighter-canvas{display:none;object-fit:contain;filter:drop-shadow(0 .75rem .55rem rgba(0,0,0,.55))}.duel-battle-running .duel-arena-pet.duel-sprite-ready .duel-fighter-canvas{display:block}.duel-battle-running .duel-arena-pet.duel-sprite-ready>img{display:none!important}
.duel-battle-running .duel-controls{display:none!important}
.visit-dialog.duel-running .visit-actions{visibility:hidden!important;pointer-events:none!important}
.duel-battle-running .duel-arena-host img,.duel-battle-running .duel-arena-host canvas{animation:duelHostTrainingPose .68s cubic-bezier(.3,.05,.25,1) infinite!important}
.duel-battle-running .duel-arena-guest img,.duel-battle-running .duel-arena-guest canvas{animation:duelGuestTrainingPose .68s cubic-bezier(.3,.05,.25,1) infinite!important}
.duel-battle-running .duel-arena-host canvas{animation-name:duelHostTrainingSprite!important}
.duel-battle-running .duel-arena-pet span{animation:duelChargeAura 3.15s ease-in-out both!important}
@keyframes duelHostTrainingPose{0%,100%{transform:scaleX(-1) translate(0,0) rotate(0)}28%{transform:scaleX(-1) translate(-3%,-4%) rotate(-3deg) scale(1.025,.98)}52%{transform:scaleX(-1) translate(-12%,-7%) rotate(7deg) scale(1.08,.94)}72%{transform:scaleX(-1) translate(-5%,-2%) rotate(-2deg) scale(.98,1.04)}}
@keyframes duelHostTrainingSprite{0%,100%{transform:translate(0,0) rotate(0)}28%{transform:translate(-3%,-4%) rotate(3deg) scale(1.025,.98)}52%{transform:translate(-12%,-7%) rotate(-7deg) scale(1.08,.94)}72%{transform:translate(-5%,-2%) rotate(2deg) scale(.98,1.04)}}
@keyframes duelGuestTrainingPose{0%,100%{transform:translate(0,0) rotate(0)}28%{transform:translate(-3%,-4%) rotate(3deg) scale(1.025,.98)}52%{transform:translate(-12%,-7%) rotate(-7deg) scale(1.08,.94)}72%{transform:translate(-5%,-2%) rotate(2deg) scale(.98,1.04)}}

.trainer-meeting-dialog{width:min(96vw,76rem);max-width:none;max-height:94dvh;padding:0;overflow:hidden;border:1px solid rgba(108,255,220,.42);border-radius:1.3rem;color:#edfffa;background:linear-gradient(155deg,#061a29,#111b3d 58%,#123627);box-shadow:0 2rem 7rem #000,0 0 3rem rgba(88,245,214,.2)}
.trainer-meeting-dialog::backdrop{background:rgba(1,8,17,.86);backdrop-filter:blur(.55rem)}
.trainer-meeting-heading{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.1rem .55rem}.trainer-meeting-heading h2{margin:.1rem 0 0;font-size:clamp(1.35rem,3vw,2.25rem)}
.trainer-meeting-heading>button{display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid rgba(255,255,255,.22);border-radius:50%;color:#fff;background:rgba(4,18,29,.72);font-size:1.4rem;cursor:pointer}
.trainer-meeting-statusbar{display:flex;align-items:center;gap:.55rem;margin:0 1.1rem;padding:.5rem .75rem;border:1px solid rgba(113,255,215,.25);border-radius:.75rem;background:rgba(3,20,32,.7)}
.trainer-meeting-statusbar strong{color:#dfff80}.trainer-meeting-statusbar span{margin-right:auto;color:#a7d9d1}.trainer-meeting-statusbar i{width:.55rem;height:.55rem;border-radius:50%;background:#63ffaf;box-shadow:0 0 .7rem #63ffaf;animation:meetingOnline 1.25s ease-in-out infinite}.trainer-meeting-statusbar small{font-weight:850}
.trainer-meeting-copy{margin:.6rem 1.1rem;color:#baddd7;font-size:.78rem}
.trainer-meeting-world{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));align-content:start;gap:.65rem;min-height:55vh;max-height:68vh;padding:1rem;overflow:auto;background:radial-gradient(ellipse at 50% 100%,rgba(109,255,190,.22),transparent 47%),linear-gradient(180deg,rgba(8,35,58,.92) 0 62%,rgba(10,49,38,.95) 63%);border-block:1px solid rgba(102,255,217,.2)}
.trainer-meeting-world::before{content:"";position:absolute;inset:auto 2% 3%;height:30%;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 9%,rgba(113,255,202,.045) 10% 11%);transform:perspective(25rem) rotateX(62deg);transform-origin:bottom}
.trainer-meeting-pet{position:relative;z-index:1;display:grid;grid-template-rows:7rem auto;align-items:end;min-width:0;min-height:10.5rem;padding:.35rem;border:1px solid transparent;border-radius:.9rem;color:#effffc;background:rgba(3,20,32,.38);cursor:pointer;animation:meetingPetAlive calc(2.2s + var(--meeting-index)*.055s) ease-in-out infinite;transform-origin:50% 100%}
.trainer-meeting-pet:hover,.trainer-meeting-pet:focus-visible{border-color:#dfff80;background:rgba(34,77,64,.78);outline:none;filter:drop-shadow(0 0 .8rem rgba(194,255,112,.55))}.trainer-meeting-pet.mine{border-color:rgba(102,247,255,.45);cursor:default;opacity:1}
.trainer-meeting-pet img{width:100%;height:7.5rem;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 .55rem .4rem rgba(0,0,0,.58))}.trainer-meeting-pet span{display:grid;min-width:0;padding:.3rem .4rem;border-radius:.55rem;background:rgba(2,15,25,.82)}.trainer-meeting-pet strong,.trainer-meeting-pet small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trainer-meeting-pet small{color:#9ed6cc;font-size:.58rem}
.trainer-meeting-empty{z-index:1;grid-column:1/-1;place-self:center;max-width:25rem;text-align:center;color:#bfe4dc}
.trainer-meeting-feedback{min-height:1.3rem;margin:.55rem 1rem .75rem;color:#dfff80;font-size:.74rem;font-weight:800;text-align:center}
@keyframes meetingOnline{50%{opacity:.45;transform:scale(.7)}}@keyframes meetingPetAlive{0%,100%{translate:0 0;rotate:-.7deg}50%{translate:0 -.38rem;rotate:.8deg}}
@media(max-width:44rem),(orientation:landscape) and (max-height:600px){.visit-dialog.duel-open{width:99vw!important;max-height:99dvh!important}.duel-panel{padding:.3rem!important}.duel-arena{min-height:13rem!important;height:54dvh!important;padding:1rem .2rem .25rem!important}.duel-arena-pet{height:12rem!important}.duel-arena-host{translate:26% 0}.duel-arena-guest{translate:-26% 0}.trainer-meeting-dialog{width:99vw;max-height:98dvh}.trainer-meeting-heading{padding:.45rem .65rem .25rem}.trainer-meeting-copy{margin:.3rem .65rem}.trainer-meeting-statusbar{margin:0 .65rem;padding:.3rem .5rem}.trainer-meeting-world{min-height:57vh;max-height:70vh;grid-template-columns:repeat(auto-fill,minmax(6.6rem,1fr));gap:.3rem;padding:.45rem}.trainer-meeting-pet{grid-template-rows:5rem auto;min-height:7.6rem;padding:.2rem}.trainer-meeting-pet img{height:5.25rem}.trainer-meeting-feedback{margin:.25rem .5rem .4rem}}
/* v67: nunca bloqueia o jogo em retrato; tenta paisagem e mantém fallback jogável. */
@media (orientation:portrait) and (max-width:760px){
  body.game-active{width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;background:#030c14!important}
  body.game-active .rotate-device{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.game-active .game-shell{visibility:visible!important;pointer-events:auto!important;width:100vw!important;height:100dvh!important;min-height:0!important;padding:max(.2rem,env(safe-area-inset-top)) max(.25rem,env(safe-area-inset-right)) max(.25rem,env(safe-area-inset-bottom)) max(.25rem,env(safe-area-inset-left))!important;grid-template-rows:2.15rem minmax(0,1fr)!important;overflow:hidden!important}
  body.game-active .pet-room{width:100%!important;height:100%!important;margin:0!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,58fr) minmax(0,42fr)!important;gap:.3rem!important;overflow:hidden!important}
  body.game-active .room-scene{width:100%!important;height:100%!important;min-height:0!important;border-radius:.75rem!important}
  body.game-active .care-panel{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:.32rem!important;border-radius:.75rem!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  body.game-active .scene-actions{left:.25rem!important;right:.25rem!important;bottom:.25rem!important;max-width:calc(100% - .5rem)!important;gap:.18rem!important;flex-wrap:nowrap!important}
  body.game-active .scene-actions button{min-width:0!important;padding:.32rem .38rem!important;font-size:clamp(.48rem,2.25vw,.68rem)!important;white-space:nowrap!important}
  body.game-active .speech-wrap{top:.3rem!important;max-width:76%!important}.game-active .speech{padding:.35rem .5rem!important;font-size:.65rem!important}
  body.game-active .needs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.16rem!important}.game-active .need-row{min-height:2.2rem!important;padding:.18rem!important}
  body.game-active .actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.16rem!important}.game-active .care-action{min-height:2.2rem!important;padding:.18rem .24rem!important}
  body.game-active .request-card{padding:.3rem!important}.game-active .section-heading{padding-bottom:.18rem!important}.game-active .admin-time{padding:.3rem!important}
}
/* v68: menu compacto substitui a barra de comandos e libera o topo. */
body.game-active .stage-row{left:auto!important;right:.55rem!important;bottom:.55rem!important;width:auto!important;max-width:calc(100% - 1.1rem)!important;min-height:0!important;padding:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important;overflow:visible!important}
body.game-active .stage-row .hatch-progress:not(.hidden){position:absolute;right:calc(100% + .5rem);bottom:.1rem;display:block!important;width:min(12rem,38vw)!important;margin:0!important;padding:.28rem .42rem;border:1px solid rgba(116,255,215,.25);border-radius:.55rem;color:#eafff9;background:rgba(3,20,28,.9);backdrop-filter:blur(10px)}
.game-options{position:relative;z-index:80}
.game-options-toggle{display:flex;align-items:center;justify-content:center;gap:.35rem;min-height:2.35rem;padding:.48rem .8rem;border:1px solid rgba(126,255,221,.42);border-radius:.72rem;color:#f3fffc;background:linear-gradient(145deg,rgba(10,75,72,.97),rgba(11,29,45,.98));box-shadow:0 .6rem 1.4rem rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.1);font:900 .72rem/1 inherit;letter-spacing:.02em;cursor:pointer}
.game-options-toggle span{font-size:1rem}.game-options.open .game-options-toggle{border-color:#b7f55b;color:#071913;background:#b7f55b}
.game-options-menu{position:absolute;right:0;bottom:calc(100% + .42rem);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;width:min(19rem,calc(100vw - 1rem));padding:.48rem;border:1px solid rgba(126,255,221,.34);border-radius:.9rem;background:linear-gradient(155deg,rgba(8,38,48,.98),rgba(4,15,27,.99));box-shadow:0 1rem 2.4rem rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(16px)}
.game-options-menu.hidden{display:none!important}.game-options-menu button{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:2.65rem!important;margin:0!important;padding:.55rem .62rem!important;border:1px solid rgba(157,232,218,.2)!important;border-radius:.62rem!important;color:#ecfffb!important;background:rgba(17,58,67,.78)!important;box-shadow:none!important;font:850 .67rem/1.15 inherit!important;text-align:left!important;white-space:normal!important;cursor:pointer}
.game-options-menu button:hover,.game-options-menu button:focus-visible{border-color:#b7f55b!important;background:rgba(34,91,79,.95)!important;outline:none}.game-options-menu button:disabled{opacity:.48!important;cursor:not-allowed!important}.game-options-menu .logout{background:rgba(54,68,82,.86)!important}.game-options-menu .delete-account{color:#ffd9df!important;border-color:rgba(255,105,131,.34)!important;background:rgba(98,24,43,.82)!important}
body.game-active .topbar .player-summary{gap:.35rem!important}
@media (max-width:760px){body.game-active .stage-row{right:.32rem!important;bottom:.32rem!important;max-width:calc(100% - .64rem)!important}.game-options-toggle{min-height:2rem;padding:.38rem .62rem;font-size:.62rem}.game-options-menu{width:min(18rem,calc(100vw - .64rem));gap:.26rem;padding:.36rem;border-radius:.72rem}.game-options-menu button{min-height:2.25rem!important;padding:.42rem .48rem!important;font-size:.59rem!important}}
/* v70: opções no cabeçalho, totalmente fora do ambiente do pet. */
body:not(.game-active) .topbar .game-options{display:none!important}
body:not(.game-active) .top-manage-pets{display:none!important}.top-manage-pets{min-height:2.35rem;padding:.48rem .72rem;border:1px solid rgba(183,245,91,.42);border-radius:.72rem;color:#effffb;background:linear-gradient(145deg,rgba(31,82,61,.97),rgba(11,29,45,.98));font:900 .68rem/1 inherit;cursor:pointer}

.direct-invite-row{display:flex;gap:.45rem;margin:.7rem 0}.direct-invite-row input,.pet-management-dialog input,.pet-management-dialog select,.admin-default-stats input{min-width:0;padding:.65rem;border:1px solid rgba(126,255,221,.35);border-radius:.55rem;background:rgba(4,27,34,.85);color:#fff}.direct-invite-status{min-height:1.2em;color:#b7f55b}.admin-default-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;padding:.55rem;border:1px solid rgba(183,245,91,.28);border-radius:.7rem}.admin-default-stats>strong{grid-column:1/-1}.admin-default-stats label{display:grid;gap:.2rem;font-size:.65rem}.admin-default-stats button{grid-column:1/-1}.pet-management-dialog,.battle-invitation-dialog{width:min(31rem,calc(100vw - 2rem));padding:1.25rem;border:1px solid rgba(126,255,221,.45);border-radius:1rem;color:#effffb;background:linear-gradient(155deg,#0b3038,#07131f);box-shadow:0 2rem 5rem #000a}.pet-management-dialog::backdrop,.battle-invitation-dialog::backdrop{background:#001018c7;backdrop-filter:blur(6px)}.pet-management-dialog{display:none;gap:.65rem}.pet-management-dialog[open]{display:grid}.pet-management-dialog>div,.battle-invitation-dialog>div{display:flex;gap:.5rem;justify-content:flex-end}.pm-close{position:absolute;right:.7rem;top:.7rem}.pet-management-dialog button,.battle-invitation-dialog button,.direct-invite-row button,.admin-default-stats button{padding:.65rem .8rem;border:0;border-radius:.55rem;font-weight:800;cursor:pointer}.battle-invitation-dialog button[data-answer=true],#pm-donate,#direct-invite-send,#admin-save-defaults{background:#b7f55b;color:#102018}#pm-release{background:#8a263e;color:#fff}
body.game-active .topbar{position:relative!important;z-index:200!important;overflow:visible!important}
body.game-active .topbar .player-summary{overflow:visible!important}
body.game-active .topbar .game-options{display:block!important;position:relative!important;z-index:210!important}
body.game-active .topbar .game-options-menu{top:calc(100% + .38rem)!important;right:0!important;bottom:auto!important}

/* v76: com quatro ou mais pets, os companheiros formam uma fila lateral rolável. */
.pet-collection.collection-side-queue{position:absolute;z-index:28;top:3.4rem;right:auto;bottom:3.4rem;left:.55rem;display:flex;width:clamp(4.4rem,15%,7.5rem);padding:1.45rem .28rem .35rem;overflow-x:hidden;overflow-y:auto;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:.28rem;border:1px solid rgba(138,255,226,.3);border-radius:.85rem;background:linear-gradient(180deg,rgba(3,30,39,.78),rgba(3,18,28,.9));box-shadow:0 .7rem 1.8rem rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(9px);scrollbar-width:thin;scrollbar-color:#72e8c7 rgba(2,18,25,.6);pointer-events:auto}
.pet-collection.collection-side-queue::before{content:"Coleção · " attr(data-count);position:absolute;top:.3rem;right:.25rem;left:.25rem;color:#cffff1;font:900 .52rem/1.1 inherit;letter-spacing:.03em;text-align:center;white-space:nowrap}
.collection-side-queue .collection-pet{flex:0 0 auto;display:grid;grid-template-columns:2.55rem minmax(0,1fr);grid-template-rows:3.15rem;place-items:center start;width:100%;max-width:none;height:3.15rem;min-height:3.15rem;padding:.08rem .18rem;border:1px solid rgba(142,244,219,.14);border-radius:.58rem;background:rgba(8,45,52,.58);filter:none;animation:collectionQueueEnter .36s ease both;animation-delay:calc(var(--queue-order)*.035s);transform:none}
.collection-side-queue .collection-pet img{grid-column:1;width:2.45rem;height:3rem;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 .28rem .25rem rgba(0,0,0,.5))}
.collection-side-queue .collection-pet strong{grid-column:2;max-width:100%;padding:.14rem .22rem;color:#effffb;background:transparent;font-size:clamp(.42rem,.72vw,.56rem);text-align:left}
.collection-side-queue .collection-pet:hover,.collection-side-queue .collection-pet:focus-visible{z-index:2;border-color:#bdfc61;outline:none;background:rgba(27,83,72,.92);transform:translateX(.16rem) scale(1.025)}
@keyframes collectionQueueEnter{from{opacity:0;transform:translateX(-1.2rem)}to{opacity:1;transform:translateX(0)}}
@media(max-width:760px){.pet-collection.collection-side-queue{top:2.7rem;bottom:2.65rem;left:.3rem;width:4.5rem;padding:1.25rem .2rem .25rem;gap:.2rem;border-radius:.62rem}.collection-side-queue .collection-pet{display:grid;grid-template-columns:1fr;grid-template-rows:2.75rem .58rem;height:3.42rem;min-height:3.42rem;padding:.04rem}.collection-side-queue .collection-pet img{grid-column:1;grid-row:1;width:100%;height:2.8rem}.collection-side-queue .collection-pet strong{grid-column:1;grid-row:2;width:100%;padding:0 .1rem;font-size:.38rem;text-align:center}.pet-collection.collection-side-queue::before{font-size:.42rem}}
@media(orientation:landscape) and (max-height:600px){.pet-collection.collection-side-queue{top:2.35rem;bottom:2.35rem;left:.28rem;width:4.25rem;padding-top:1.15rem}.collection-side-queue .collection-pet{grid-template-columns:2rem minmax(0,1fr);grid-template-rows:2.25rem;height:2.25rem;min-height:2.25rem}.collection-side-queue .collection-pet img{grid-column:1;grid-row:1;width:2rem;height:2.2rem}.collection-side-queue .collection-pet strong{grid-column:2;grid-row:1;font-size:.36rem;text-align:left}}

/* v88: combatentes sempre visiveis e centralizados na area util. */
.duel-arena{display:block!important}
.duel-arena-pet{position:absolute!important;top:12%!important;bottom:8%!important;width:47%!important;height:auto!important;align-items:center!important;overflow:visible!important}
.duel-arena-host{left:1%!important;right:auto!important;translate:13% 0!important}
.duel-arena-guest{right:1%!important;left:auto!important;translate:-13% 0!important}
.duel-arena-pet>img,.duel-fighter-canvas{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
.duel-clash{position:absolute!important;z-index:8!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}
.duel-fighters article{border:1px solid rgba(119,255,221,.3)!important;color:#effffb!important;background:linear-gradient(145deg,rgba(7,38,50,.96),rgba(14,27,52,.96))!important}
.duel-fighters article strong{color:#effffb!important}
.duel-fighters .duel-hp{background:rgba(0,0,0,.45)!important}
@media(max-width:44rem),(orientation:landscape) and (max-height:600px){
  .duel-arena-pet{top:8%!important;bottom:5%!important;width:49%!important}
  .duel-arena-host{left:0!important;translate:14% 0!important}
  .duel-arena-guest{right:0!important;translate:-14% 0!important}
}

/* v90: status completo do treinador dentro de Opcoes > Infos. */
body.game-active #info-rank{display:block!important;max-width:72%!important;padding:.18rem .34rem!important;overflow:visible!important;border-radius:.38rem!important;color:#050907!important;background:#f4ffe1!important;font-weight:900!important;line-height:1.3!important;text-align:right!important;text-overflow:clip!important;white-space:normal!important}
body.game-active .scene-info-panel dl div:has(#info-rank){align-items:flex-start!important}

/* v95: seletores visuais de bichinhos com foto. */
.pet-native-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.pet-photo-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(7.2rem,1fr));gap:.42rem;max-height:10.5rem;padding:.28rem;overflow:auto;border:1px solid rgba(126,255,221,.22);border-radius:.72rem;background:rgba(2,19,30,.56);scrollbar-width:thin;scrollbar-color:#74e7c8 #071723}
.pet-photo-option{display:grid!important;grid-template-columns:3.2rem minmax(0,1fr)!important;align-items:center!important;gap:.4rem!important;min-width:0!important;min-height:3.65rem!important;padding:.2rem .35rem!important;border:1px solid rgba(145,231,213,.22)!important;border-radius:.62rem!important;color:#effffb!important;background:rgba(13,50,61,.9)!important;box-shadow:none!important;text-align:left!important;cursor:pointer!important}
.pet-photo-option img{display:block;width:3.05rem;height:3.15rem;object-fit:contain;object-position:center;filter:drop-shadow(0 .25rem .25rem rgba(0,0,0,.55))}
.pet-photo-option span{display:grid;min-width:0;gap:.08rem}.pet-photo-option strong,.pet-photo-option small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-photo-option strong{font-size:.7rem}.pet-photo-option small{color:#a8d8d0;font-size:.55rem;font-weight:650}
.pet-photo-option:hover,.pet-photo-option:focus-visible,.pet-photo-option.selected{border-color:#c8ff6b!important;outline:none!important;background:linear-gradient(135deg,rgba(43,111,89,.98),rgba(20,63,72,.98))!important;box-shadow:0 0 0 2px rgba(200,255,107,.2)!important}.pet-photo-option.selected::after{content:'✓';align-self:start;color:#c8ff6b;font-weight:950}.pet-photo-option:disabled{opacity:.52;cursor:not-allowed!important}
.daily-pet-choice.hidden{display:none!important}.daily-pet-choice{display:grid;gap:.28rem;margin:.5rem 0}.daily-pet-choice>strong{color:#dfffc1;font-size:.72rem;text-align:center}.daily-challenge-card{max-height:96dvh;overflow:auto}.daily-pet-choice .pet-photo-picker{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));max-height:8.25rem}
.duel-pet-picker{grid-template-columns:repeat(auto-fit,minmax(7.6rem,1fr));max-height:8.4rem}.management-pet-picker{max-height:15rem}
.info-roster-pet{display:grid!important;grid-template-columns:3.2rem minmax(0,1fr)!important;align-items:center!important;gap:.45rem!important;text-align:left!important}.info-roster-pet img{width:3rem;height:3.2rem;object-fit:contain}.info-roster-pet span{display:grid;min-width:0}.info-roster-pet strong,.info-roster-pet small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-roster-pet small{opacity:.76;font-size:.58rem}
@media(max-width:44rem){.pet-photo-picker{display:flex;max-height:none;overflow-x:auto;overflow-y:hidden}.pet-photo-option{flex:0 0 8.25rem;grid-template-columns:2.7rem minmax(0,1fr)!important;min-height:3.2rem!important}.pet-photo-option img{width:2.55rem;height:2.7rem}.daily-pet-choice .pet-photo-picker,.duel-pet-picker{max-height:none}.daily-battle-arena{min-height:10rem}.daily-fighter{height:8.5rem}.daily-fighter img{height:6.5rem}}
.admin-pet-switch{grid-template-columns:4rem minmax(0,1fr) auto!important;align-items:center}.admin-pet-switch>label{grid-column:1/-1}.admin-pet-species-preview{display:block;width:3.8rem;height:3.8rem;object-fit:contain;object-position:center;filter:drop-shadow(0 .25rem .3rem rgba(0,0,0,.5))}

/* v96: resultado do desafio sempre clicavel. */
.daily-result-ready .daily-challenge-actions{position:relative;z-index:30;pointer-events:auto!important}.daily-result-ready .daily-challenge-actions button:not(.hidden){pointer-events:auto!important;opacity:1!important;cursor:pointer!important}

/* v99: seletores de bichinhos com rolagem lateral destravada. */
.pet-management-dialog>.pet-photo-picker,.daily-pet-choice>.pet-photo-picker,.duel-combatant>.pet-photo-picker{justify-content:flex-start!important;min-width:0;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
@media(max-width:44rem){.pet-photo-picker{display:flex!important;flex-flow:row nowrap!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;padding:.3rem!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x!important;scroll-snap-type:x proximity;scroll-padding:.3rem}.pet-photo-option{flex:0 0 8.25rem!important;scroll-snap-align:start;touch-action:pan-x!important;user-select:none;-webkit-user-select:none}.management-pet-picker{min-height:4rem}}
/* v105: apresentação do criador do universo BurblePet. */
.about-dialog{position:relative;width:min(92vw,48rem);max-width:none;padding:0;overflow:hidden;border:1px solid rgba(169,255,230,.52);border-radius:1.6rem;color:#f4fffc;background:radial-gradient(circle at 50% 10%,rgba(89,255,211,.2),transparent 34%),linear-gradient(145deg,#03131d 0%,#0d1836 52%,#092a27 100%);box-shadow:0 2.5rem 8rem rgba(0,0,0,.88),0 0 4rem rgba(83,255,211,.18),inset 0 1px rgba(255,255,255,.15)}
.about-dialog[open]{animation:aboutReveal .65s cubic-bezier(.18,.88,.25,1) both}.about-dialog::backdrop{background:radial-gradient(circle at 50% 40%,rgba(35,96,96,.38),rgba(0,4,10,.92));backdrop-filter:blur(.8rem)}
.about-close{position:absolute;z-index:8;top:.75rem;right:.8rem;width:2.5rem;height:2.5rem;border:1px solid rgba(208,255,244,.32);border-radius:50%;color:#effffc;background:rgba(2,18,29,.72);font:800 1.35rem/1 inherit;cursor:pointer;transition:.2s ease}.about-close:hover,.about-close:focus-visible{color:#071811;background:#caff75;outline:none;transform:rotate(90deg) scale(1.06)}
.about-content{position:relative;z-index:2;display:grid;justify-items:center;padding:clamp(2.4rem,7vw,4.8rem) clamp(1.25rem,6vw,4.5rem) clamp(1.4rem,4vw,2.8rem);text-align:center}.about-kicker{color:#9fffe1;font-size:clamp(.58rem,1.7vw,.76rem);font-weight:950;letter-spacing:.28em;text-shadow:0 0 1rem rgba(104,255,220,.8)}
.about-emblem{position:relative;display:grid;place-items:center;width:clamp(7rem,22vw,10.5rem);aspect-ratio:1;margin:1.15rem 0 .85rem;border:1px solid rgba(193,255,238,.55);border-radius:50%;background:radial-gradient(circle,#1d4351 0 35%,#081822 36% 58%,rgba(5,20,30,.25) 59%);box-shadow:0 0 0 .55rem rgba(111,255,217,.05),0 0 2.8rem rgba(100,255,219,.4),inset 0 0 2rem rgba(116,255,220,.25);animation:aboutEmblem 4s ease-in-out infinite}
.about-emblem::before,.about-emblem::after{content:"";position:absolute;inset:-12%;border:1px solid rgba(147,255,227,.3);border-radius:50%;animation:aboutOrbit 9s linear infinite}.about-emblem::after{inset:-23%;border-style:dashed;animation-duration:15s;animation-direction:reverse}.about-emblem>i{position:absolute;inset:9%;border:.14rem solid rgba(211,255,244,.7);clip-path:polygon(50% 0,61% 34%,98% 35%,69% 56%,80% 94%,50% 72%,20% 94%,31% 56%,2% 35%,39% 34%)}
.about-emblem strong{z-index:2;font:950 clamp(2rem,7vw,3.5rem)/1 inherit;letter-spacing:-.08em;background:linear-gradient(145deg,#fff,#a4ffe5 45%,#caff6b);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 .65rem rgba(152,255,224,.6))}.about-emblem span{position:absolute;right:11%;bottom:9%;display:grid;place-items:center;width:1.65rem;height:1.65rem;border-radius:50%;color:#092019;background:#caff70;font-weight:950;box-shadow:0 0 1rem rgba(202,255,112,.75)}
.about-created{margin:.15rem 0;color:#a9c9c3;font-size:.72rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.about-content h2{margin:.15rem 0;font-size:clamp(2rem,7vw,4.3rem);line-height:.94;letter-spacing:-.055em;text-shadow:0 .4rem 1.5rem rgba(0,0,0,.65)}.about-content h2 span{color:#caff70}.about-role{margin:.65rem 0 0;color:#b8fff0;font-size:clamp(.82rem,2.4vw,1.05rem);letter-spacing:.08em;text-transform:uppercase}
.about-manifesto{max-width:36rem;margin:1.15rem auto;color:#d7ece8;font-size:clamp(.78rem,2vw,.98rem);line-height:1.7}.about-signature{display:flex;align-items:center;justify-content:center;gap:.65rem;flex-wrap:wrap;color:#8edbc9;font-size:.58rem;font-weight:900;letter-spacing:.15em}.about-signature i{width:.28rem;height:.28rem;border-radius:50%;background:#caff70;box-shadow:0 0 .65rem #caff70}
.about-return{margin-top:1.35rem;min-height:2.8rem;padding:.7rem 1.2rem;border:0;border-radius:.75rem;color:#071913;background:linear-gradient(135deg,#dfff78,#6ff5c2);box-shadow:0 .7rem 1.6rem rgba(55,236,177,.22);font-weight:950;cursor:pointer;transition:.2s ease}.about-return:hover,.about-return:focus-visible{outline:none;transform:translateY(-.12rem) scale(1.025);box-shadow:0 .9rem 2rem rgba(85,255,197,.34)}
.about-cosmos{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}.about-cosmos::before,.about-cosmos::after{content:"";position:absolute;width:22rem;height:22rem;border-radius:50%;filter:blur(3rem);opacity:.28;animation:aboutNebula 8s ease-in-out infinite alternate}.about-cosmos::before{top:-12rem;left:-8rem;background:#23ffd0}.about-cosmos::after{right:-9rem;bottom:-13rem;background:#784cff;animation-delay:-4s}.about-cosmos i{position:absolute;width:.3rem;height:.3rem;border-radius:50%;background:#fff;box-shadow:0 0 .75rem #9fffe6;animation:aboutStar 2.8s ease-in-out infinite}.about-cosmos i:nth-child(1){top:16%;left:12%}.about-cosmos i:nth-child(2){top:28%;right:14%;animation-delay:-.6s}.about-cosmos i:nth-child(3){top:62%;left:8%;animation-delay:-1.2s}.about-cosmos i:nth-child(4){right:9%;bottom:24%;animation-delay:-1.8s}.about-cosmos i:nth-child(5){top:10%;left:70%;animation-delay:-2.2s}.about-cosmos i:nth-child(6){bottom:10%;left:28%;animation-delay:-.9s}
@keyframes aboutReveal{from{opacity:0;transform:translateY(2rem) scale(.9);filter:blur(.35rem)}to{opacity:1;transform:none;filter:none}}@keyframes aboutOrbit{to{transform:rotate(1turn)}}@keyframes aboutEmblem{50%{transform:translateY(-.35rem) scale(1.025);box-shadow:0 0 0 .75rem rgba(111,255,217,.04),0 0 3.8rem rgba(100,255,219,.52),inset 0 0 2.5rem rgba(116,255,220,.3)}}@keyframes aboutNebula{to{transform:translate(4rem,2rem) scale(1.25)}}@keyframes aboutStar{0%,100%{opacity:.25;transform:scale(.6)}50%{opacity:1;transform:scale(1.6)}}
@media(max-width:44rem){.about-dialog{width:96vw;max-height:94dvh;overflow:auto;border-radius:1.1rem}.about-content{padding:2.5rem .9rem 1.2rem}.about-emblem{width:7.5rem;margin:.8rem 0 .55rem}.about-manifesto{margin:.8rem auto;font-size:.74rem;line-height:1.5}.about-return{margin-top:.9rem}.about-close{top:.45rem;right:.5rem}}
@media(prefers-reduced-motion:reduce){.about-dialog[open],.about-emblem,.about-emblem::before,.about-emblem::after,.about-cosmos::before,.about-cosmos::after,.about-cosmos i{animation:none!important}}
/* v106: gaveta lateral recolhível para coleções com mais de três bichinhos. */
.pet-viewport{--collection-drawer-width:clamp(5.5rem,15%,7.5rem)}
.pet-collection.collection-side-queue{width:var(--collection-drawer-width)!important;transform:translateX(calc(-100% - 1rem));opacity:0;visibility:hidden;pointer-events:none!important;transition:transform .34s cubic-bezier(.2,.82,.24,1),opacity .22s ease,visibility 0s linear .34s;will-change:transform,opacity}
.pet-collection.collection-side-queue.collection-drawer-open{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto!important;transition:transform .34s cubic-bezier(.2,.82,.24,1),opacity .22s ease,visibility 0s}
.collection-drawer-tab{position:absolute;z-index:31;top:50%;left:.12rem;display:grid;grid-template-rows:auto auto auto;place-items:center;width:2.05rem;min-width:0;height:4.2rem;padding:.32rem .15rem;border:1px solid rgba(152,255,226,.42);border-left:0;border-radius:0 .75rem .75rem 0;color:#eafff9;background:linear-gradient(180deg,rgba(8,55,62,.92),rgba(3,23,34,.96));box-shadow:.4rem .45rem 1rem rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.1);backdrop-filter:blur(.5rem);transform:translateY(-50%);transition:left .34s cubic-bezier(.2,.82,.24,1),background .2s ease;cursor:pointer}
.collection-drawer-tab.hidden{display:none!important}.collection-drawer-tab span{font-size:.9rem;line-height:1}.collection-drawer-tab strong{display:grid;place-items:center;min-width:1.15rem;height:1.15rem;padding:0 .16rem;border-radius:99px;color:#092019;background:#caff70;font-size:.54rem;line-height:1}.collection-drawer-tab i{font:900 1rem/1 inherit;transition:transform .25s ease}.collection-drawer-tab:hover,.collection-drawer-tab:focus-visible{color:#071913;background:#bdfc61;outline:none}.collection-drawer-tab.open{left:calc(.7rem + var(--collection-drawer-width));background:linear-gradient(180deg,#367c6c,#123947)}.collection-drawer-tab.open i{transform:rotate(180deg)}
.collection-side-queue:not(.collection-drawer-open) .collection-pet{pointer-events:none!important}.collection-side-queue.collection-drawer-open .collection-pet{pointer-events:auto!important}
@media(max-width:760px){.pet-viewport{--collection-drawer-width:clamp(5.25rem,25vw,7rem)}.pet-collection.collection-side-queue{width:var(--collection-drawer-width)!important}.collection-drawer-tab{width:1.85rem;height:3.8rem}.collection-drawer-tab.open{left:calc(.48rem + var(--collection-drawer-width))}}
@media(orientation:landscape) and (max-height:600px){.pet-viewport{--collection-drawer-width:clamp(5rem,13vw,6.5rem)}.collection-drawer-tab{top:48%;width:1.75rem;height:3.45rem}.collection-drawer-tab.open{left:calc(.45rem + var(--collection-drawer-width))}}
@media(prefers-reduced-motion:reduce){.pet-collection.collection-side-queue,.collection-drawer-tab{transition:none!important}}
/* v107: Floresta Burble — território de caça cinematográfico. */
.burble-forest-dialog{width:min(98vw,92rem);height:min(96dvh,58rem);max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid rgba(255,220,140,.48);border-radius:1.35rem;color:#fff5dc;background:#130d07;box-shadow:0 2rem 8rem #000,0 0 3rem rgba(255,156,52,.2)}
.burble-forest-dialog::backdrop{background:rgba(3,5,4,.94);backdrop-filter:blur(.55rem)}
.burble-forest-world{--forest-power:#ff9c32;--forest-power-rgb:255,156,50;position:relative;display:grid;grid-template-rows:auto auto minmax(18rem,1fr) auto;width:100%;height:100%;overflow:hidden;background-image:linear-gradient(180deg,rgba(7,8,5,.12),rgba(18,9,3,.22) 45%,rgba(8,5,2,.82)),url('/assets/images/burble-forest-hunting-ground.png?v=20260913-107');background-position:center;background-size:cover;isolation:isolate}
.burble-forest-world::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 50% 55%,rgba(var(--forest-power-rgb),.12),transparent 38%),linear-gradient(110deg,rgba(var(--forest-power-rgb),.1),transparent 30% 70%,rgba(var(--forest-power-rgb),.08));mix-blend-mode:screen;transition:background .6s ease}
.burble-forest-world[data-habitat=fire]{--forest-power:#ff4b18;--forest-power-rgb:255,69,20}.burble-forest-world[data-habitat=water]{--forest-power:#39d9ff;--forest-power-rgb:40,203,255}.burble-forest-world[data-habitat=psychic]{--forest-power:#d85cff;--forest-power-rgb:197,76,255}.burble-forest-world[data-habitat=ice]{--forest-power:#aaf6ff;--forest-power-rgb:150,239,255}.burble-forest-world[data-habitat=cosmic]{--forest-power:#846eff;--forest-power-rgb:126,92,255}.burble-forest-world[data-habitat=nature]{--forest-power:#8dff55;--forest-power-rgb:126,245,75}.burble-forest-world[data-habitat=air]{--forest-power:#fff4bd;--forest-power-rgb:245,240,190}.burble-forest-world[data-habitat=sand]{--forest-power:#ffc34e;--forest-power-rgb:255,190,64}
.burble-forest-heading{position:relative;z-index:20;display:flex;align-items:flex-start;justify-content:space-between;padding:.8rem 1rem .5rem;background:linear-gradient(180deg,rgba(5,7,5,.9),rgba(5,7,5,.1));text-shadow:0 .2rem .7rem #000}.burble-forest-heading div{display:grid;gap:.05rem}.burble-forest-heading span{color:var(--forest-power);font-size:.58rem;font-weight:950;letter-spacing:.25em}.burble-forest-heading h2{margin:0;font-size:clamp(1.6rem,4vw,3.2rem);line-height:1}.burble-forest-heading strong{margin-top:.2rem;color:#ffe7b3;font-size:.72rem;letter-spacing:.05em}.burble-forest-heading button{width:2.65rem;height:2.65rem;border:1px solid rgba(255,245,217,.42);border-radius:50%;color:#fff;background:rgba(14,9,4,.75);font:900 1.5rem/1 inherit;cursor:pointer}.burble-forest-heading button:hover,.burble-forest-heading button:focus-visible{outline:none;color:#1b0d04;background:var(--forest-power);transform:rotate(90deg)}
.burble-forest-rule{position:relative;z-index:18;display:flex;align-items:center;justify-content:center;gap:clamp(.45rem,2vw,1.3rem);margin:0 auto .3rem;padding:.42rem .75rem;border:1px solid rgba(var(--forest-power-rgb),.4);border-radius:99px;background:rgba(10,7,3,.72);box-shadow:0 .5rem 1.5rem rgba(0,0,0,.35);backdrop-filter:blur(.4rem);font-size:.65rem}.burble-forest-rule span{color:var(--forest-power);font-weight:950}.burble-forest-rule small{color:#ddcba5}
.burble-forest-arena{position:relative;z-index:5;min-height:18rem;overflow:hidden}.burble-forest-arena::before{content:"";position:absolute;left:50%;bottom:3%;width:62%;height:22%;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--forest-power-rgb),.25),rgba(0,0,0,.38) 62%,transparent 70%);filter:blur(.3rem);transform:translateX(-50%) perspective(20rem) rotateX(55deg)}
.forest-fighter{position:absolute;z-index:5;top:2%;bottom:3%;display:grid;width:45%;grid-template-rows:minmax(0,1fr) auto auto auto;place-items:end center;transition:filter .3s ease,transform .5s cubic-bezier(.2,.8,.25,1)}.forest-trainer{left:4%;transform:translateX(7%)}.forest-wild{right:4%;transform:translateX(-7%)}.forest-fighter img{position:relative;z-index:3;display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 1rem .75rem rgba(0,0,0,.85));transform-origin:center bottom}.forest-fighter strong{position:relative;z-index:7;max-width:95%;padding:.18rem .45rem;border-radius:.4rem;color:#fff;background:rgba(7,5,3,.72);font-size:.7rem;text-align:center}.forest-fighter small{position:relative;z-index:7;color:#ffe5ad;font-size:.55rem}.forest-aura{position:absolute;z-index:1;left:50%;bottom:12%;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(var(--forest-power-rgb),.32),transparent 66%);filter:blur(1rem);transform:translateX(-50%);animation:forestAura 2.6s ease-in-out infinite}
.forest-hp{position:relative;z-index:8;width:min(85%,15rem);height:.42rem;margin-top:.22rem;overflow:hidden;border:1px solid rgba(255,255,255,.28);border-radius:99px;background:rgba(0,0,0,.72)}.forest-hp i{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff4a32,#ffe769,#baff67);transition:width .65s ease}
#burble-forest-flash{position:absolute;z-index:14;top:44%;left:50%;padding:.35rem .65rem;border:1px solid rgba(var(--forest-power-rgb),.55);border-radius:99px;color:#fff6d8;background:rgba(8,5,2,.75);box-shadow:0 0 1.7rem rgba(var(--forest-power-rgb),.32);font:950 clamp(.55rem,1.4vw,.82rem)/1 inherit;letter-spacing:.12em;text-align:center;transform:translate(-50%,-50%)}
.forest-ground-energy{position:absolute;z-index:2;right:12%;bottom:4%;left:12%;height:.22rem;background:linear-gradient(90deg,transparent,var(--forest-power),#fff,var(--forest-power),transparent);box-shadow:0 0 1.5rem var(--forest-power);opacity:.35}.forest-power{position:absolute;z-index:8;top:48%;width:0;height:.65rem;border-radius:99px;background:linear-gradient(90deg,var(--forest-power),#fff);box-shadow:0 0 .7rem var(--forest-power),0 0 2rem var(--forest-power);opacity:0}.forest-power-trainer{left:39%;transform:rotate(-5deg);transform-origin:left}.forest-power-wild{right:39%;background:linear-gradient(270deg,var(--forest-power),#fff);transform:rotate(5deg);transform-origin:right}.forest-impact{position:absolute;z-index:12;top:48%;left:50%;width:1rem;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 0 1rem #fff,0 0 3rem var(--forest-power),0 0 8rem var(--forest-power);opacity:0;transform:translate(-50%,-50%) scale(.2)}
.forest-atmosphere{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}.forest-atmosphere::before{content:"";position:absolute;inset:-30%;background:repeating-radial-gradient(circle at 50% 70%,transparent 0 5rem,rgba(var(--forest-power-rgb),.08) 5.2rem 5.3rem);animation:forestPulse 9s linear infinite}.forest-atmosphere i{position:absolute;bottom:-1rem;width:.28rem;height:.28rem;border-radius:50%;background:var(--forest-power);box-shadow:0 0 1rem var(--forest-power);animation:forestParticle 5s linear infinite}.forest-atmosphere i:nth-child(1){left:8%}.forest-atmosphere i:nth-child(2){left:24%;animation-delay:-1s}.forest-atmosphere i:nth-child(3){left:42%;animation-delay:-3s}.forest-atmosphere i:nth-child(4){left:61%;animation-delay:-2s}.forest-atmosphere i:nth-child(5){left:78%;animation-delay:-4s}.forest-atmosphere i:nth-child(6){left:92%;animation-delay:-.5s}
.burble-forest-console{position:relative;z-index:20;display:grid;grid-template-columns:minmax(12rem,1fr) auto minmax(15rem,1.2fr);align-items:center;gap:.6rem;padding:.55rem .8rem .75rem;border-top:1px solid rgba(var(--forest-power-rgb),.28);background:linear-gradient(180deg,rgba(12,7,3,.75),rgba(5,4,2,.96));backdrop-filter:blur(.7rem)}#burble-forest-message{grid-column:1/-1;margin:0;color:#fff2cf;font-size:.72rem;font-weight:800;text-align:center}.burble-forest-stats{display:flex;justify-content:center;gap:.35rem;flex-wrap:wrap}.burble-forest-stats span{display:grid;min-width:4.4rem;padding:.3rem .42rem;border:1px solid rgba(var(--forest-power-rgb),.3);border-radius:.45rem;color:#ceb98f;background:rgba(255,255,255,.05);font-size:.48rem;text-align:center}.burble-forest-stats b{color:#fff;font-size:.77rem}.burble-forest-selection{display:grid;gap:.2rem;min-width:0}.burble-forest-selection>strong{color:#ffe5ae;font-size:.58rem;text-align:center}.burble-forest-picker{display:flex;max-width:34rem;padding:.2rem;gap:.25rem;overflow-x:auto;border:1px solid rgba(var(--forest-power-rgb),.24);border-radius:.55rem;background:rgba(0,0,0,.32);scrollbar-width:thin}.forest-pet-option{flex:0 0 7.3rem;display:grid;grid-template-columns:2.35rem minmax(0,1fr);align-items:center;gap:.25rem;min-width:0;padding:.12rem .25rem;border:1px solid rgba(255,255,255,.13);border-radius:.45rem;color:#fff;background:rgba(39,27,14,.86);cursor:pointer}.forest-pet-option img{width:2.25rem;height:2.5rem;object-fit:contain}.forest-pet-option span{display:grid;min-width:0}.forest-pet-option strong,.forest-pet-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forest-pet-option strong{font-size:.58rem}.forest-pet-option small{color:#cbb98f;font-size:.43rem}.forest-pet-option.selected{border-color:var(--forest-power);background:rgba(var(--forest-power-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--forest-power-rgb),.2),0 0 .8rem rgba(var(--forest-power-rgb),.16)}.forest-picker-locked{pointer-events:none;opacity:.45}
.burble-forest-actions{display:flex;justify-content:flex-end;gap:.35rem;flex-wrap:wrap}.burble-forest-actions button{min-height:2.45rem;padding:.55rem .75rem;border:1px solid rgba(var(--forest-power-rgb),.42);border-radius:.55rem;color:#1a0d03;background:linear-gradient(135deg,#ffe391,var(--forest-power));font-size:.62rem;font-weight:950;cursor:pointer}.burble-forest-actions button:nth-child(2){color:#fff;background:linear-gradient(135deg,#ba2818,#6d0805);box-shadow:0 0 1.3rem rgba(255,62,24,.26)}.burble-forest-actions button:disabled{opacity:.45;cursor:wait}
.forest-searching .forest-wild{animation:forestTrack 1.2s ease-in-out infinite}.forest-searching #burble-forest-flash{animation:forestFlash .65s ease-in-out infinite}.forest-battle-running .forest-power{opacity:1;animation:forestBeam .72s ease-in-out infinite}.forest-battle-running .forest-impact{opacity:1;animation:forestImpact .72s ease-in-out infinite}.forest-battle-running .forest-trainer img{animation:forestAttackLeft .82s cubic-bezier(.2,.8,.3,1) infinite}.forest-battle-running .forest-wild img{animation:forestAttackRight .82s cubic-bezier(.2,.8,.3,1) infinite}.forest-battle-running.forest-round-2{filter:saturate(1.35)}.forest-battle-running.forest-round-3 .forest-power{height:1rem}.forest-battle-running.forest-round-4 .forest-impact{animation-duration:.28s}.forest-battle-running.forest-round-4::after{content:"";position:absolute;z-index:13;inset:0;background:radial-gradient(circle at 50% 48%,#fff,rgba(var(--forest-power-rgb),.82) 6%,transparent 36%);animation:forestUltimate .65s ease-in-out infinite}
.forest-battle-finished.forest-winner-trainer .forest-wild{transform:translate(-7%,18%) rotate(82deg);filter:grayscale(.5) brightness(.55)}.forest-battle-finished.forest-winner-trainer .forest-trainer img{animation:forestVictory .7s ease-in-out infinite alternate}.forest-battle-finished.forest-winner-wild .forest-trainer{transform:translate(7%,18%) rotate(-82deg);filter:grayscale(.5) brightness(.55)}.forest-battle-finished.forest-winner-wild .forest-wild img{animation:forestVictory .7s ease-in-out infinite alternate}
@keyframes forestAura{50%{opacity:.55;transform:translateX(-50%) scale(1.16)}}@keyframes forestParticle{0%{opacity:0;transform:translateY(0) scale(.4)}20%{opacity:.8}100%{opacity:0;transform:translateY(-85dvh) translateX(2rem) scale(1.4)}}@keyframes forestPulse{to{transform:rotate(8deg) scale(1.05)}}@keyframes forestTrack{50%{opacity:.2;transform:translateX(10%) scale(.82)}}@keyframes forestFlash{50%{box-shadow:0 0 3rem var(--forest-power);transform:translate(-50%,-50%) scale(1.08)}}@keyframes forestBeam{0%,100%{width:1%;opacity:.35}50%{width:13%;opacity:1}}@keyframes forestImpact{50%{transform:translate(-50%,-50%) scale(3.6)}}@keyframes forestAttackLeft{0%,100%{transform:translateX(-2%) rotate(-1deg)}45%{transform:translateX(24%) rotate(5deg) scale(1.08)}70%{transform:translateX(4%) rotate(-4deg)}}@keyframes forestAttackRight{0%,100%{transform:translateX(2%) rotate(1deg)}45%{transform:translateX(-24%) rotate(-5deg) scale(1.08)}70%{transform:translateX(-4%) rotate(4deg)}}@keyframes forestUltimate{50%{opacity:.4;transform:scale(1.18)}}@keyframes forestVictory{to{transform:translateY(-4%) scale(1.05);filter:drop-shadow(0 0 1.3rem var(--forest-power))}}
@media(max-width:52rem){.burble-forest-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.burble-forest-world{grid-template-rows:auto auto minmax(12rem,1fr) auto}.burble-forest-heading{padding:.45rem .55rem .2rem}.burble-forest-heading h2{font-size:1.45rem}.burble-forest-heading strong{font-size:.56rem}.burble-forest-rule{margin:0 .35rem .1rem;padding:.3rem .45rem;font-size:.5rem}.burble-forest-rule small{display:none}.burble-forest-console{grid-template-columns:1fr auto;padding:.35rem .45rem .45rem;gap:.32rem}.burble-forest-stats{grid-column:1}.burble-forest-selection{grid-column:1/-1;grid-row:2}.burble-forest-actions{grid-column:2;grid-row:1}.burble-forest-actions button{min-height:2.1rem;padding:.38rem .5rem;font-size:.52rem}.burble-forest-picker{max-width:none}.forest-fighter{top:0;bottom:1%;width:49%}.forest-trainer{left:0;transform:translateX(10%)}.forest-wild{right:0;transform:translateX(-10%)}#burble-forest-message{font-size:.58rem}.burble-forest-stats span{min-width:3.6rem;padding:.18rem}.burble-forest-stats b{font-size:.65rem}}
@media(orientation:portrait) and (max-width:52rem){.burble-forest-world{grid-template-rows:auto auto minmax(20rem,1fr) auto}.burble-forest-console{grid-template-columns:1fr}.burble-forest-actions,.burble-forest-stats,.burble-forest-selection{grid-column:1;grid-row:auto}.burble-forest-actions{justify-content:center}.forest-fighter{top:5%;bottom:5%;width:53%}.forest-trainer{left:-5%}.forest-wild{right:-5%}}
@media(prefers-reduced-motion:reduce){.forest-atmosphere *,.forest-atmosphere::before,.forest-aura,.forest-fighter img,.forest-power,.forest-impact,.burble-forest-arena::after{animation-duration:1.5s!important}}

/* v109: batalha da Floresta usa o mesmo movimento e impacto dos duelos reais. */
.forest-fighter-canvas{position:relative;z-index:4;display:none;grid-row:1;width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 1rem .75rem rgba(0,0,0,.88))}
.forest-fighter>img{grid-row:1}.forest-battle-running .forest-fighter.forest-sprite-ready .forest-fighter-canvas{display:block}.forest-battle-running .forest-fighter.forest-sprite-ready>img{display:none}
.forest-power{top:43%;width:43%;height:1.15rem;border-radius:50%;background:transparent;box-shadow:none;filter:drop-shadow(0 0 .6rem var(--forest-power)) drop-shadow(0 0 1.5rem var(--forest-power));mix-blend-mode:screen;transform-origin:center}
.forest-power::before{content:"";position:absolute;inset:-.9rem 0;border-radius:50%;background:repeating-linear-gradient(90deg,transparent 0 7%,color-mix(in srgb,var(--forest-power) 78%,white) 8% 10%,transparent 12% 17%),linear-gradient(90deg,transparent,var(--forest-power) 18% 82%,transparent);clip-path:polygon(0 36%,80% 36%,100% 50%,80% 64%,0 64%)}
.forest-power::after{content:"";position:absolute;top:50%;right:-.7rem;width:3.4rem;height:3.4rem;border:.34rem solid #fff;border-radius:50%;background:radial-gradient(circle,#fff 0 8%,var(--forest-power) 23%,transparent 66%);box-shadow:0 0 .7rem #fff,0 0 1.7rem var(--forest-power),0 0 3.5rem var(--forest-power);transform:translateY(-50%)}
.forest-power-trainer{left:7%;transform:none}.forest-power-wild{right:7%;transform:scaleX(-1)}
.forest-impact{top:43%;width:5.2rem;background:radial-gradient(circle,#fff 0 7%,#fff87a 10% 18%,var(--forest-power) 34%,#8f4aff 52%,transparent 72%);box-shadow:0 0 1rem #fff,0 0 2.5rem var(--forest-power),0 0 5.5rem var(--forest-power);mix-blend-mode:screen}
.forest-impact::before,.forest-impact::after{content:"";position:absolute;inset:-45%;border:.18rem solid rgba(255,255,255,.9);border-radius:50%}.forest-impact::after{inset:-95%;border-color:rgba(var(--forest-power-rgb),.7)}
.forest-battle-running .forest-power-trainer{animation:forestDuelBeamLeft 2.5s ease-in-out both}.forest-battle-running .forest-power-wild{animation:forestDuelBeamRight 2.5s ease-in-out both}.forest-battle-running .forest-impact{animation:forestDuelCore 2.5s cubic-bezier(.22,.8,.2,1) both}.forest-battle-running .forest-impact::before,.forest-battle-running .forest-impact::after{animation:forestDuelRing .72s ease-out .75s infinite}
.forest-battle-running .forest-fighter img,.forest-battle-running .forest-fighter canvas{animation:forestCombatBody .34s ease-in-out infinite alternate!important}
.forest-battle-running.forest-round-1 .forest-trainer{animation:forestCombatAdvanceLeft 2.5s ease-in-out both}.forest-battle-running.forest-round-2 .forest-wild{animation:forestCombatAdvanceRight 2.5s ease-in-out both}.forest-battle-running.forest-round-3 .forest-trainer{animation:forestCombatAdvanceLeft 1.25s ease-in-out 2}.forest-battle-running.forest-round-3 .forest-wild{animation:forestCombatAdvanceRight 1.25s ease-in-out 2}.forest-battle-running.forest-round-4 .forest-trainer{animation:forestUltimateLeft 2.5s cubic-bezier(.2,.85,.2,1) both}.forest-battle-running.forest-round-4 .forest-wild{animation:forestUltimateRight 2.5s cubic-bezier(.2,.85,.2,1) both}
.forest-battle-running.forest-round-2 .forest-power::before{filter:hue-rotate(75deg);height:1.7rem}.forest-battle-running.forest-round-3 .forest-power::before{filter:hue-rotate(155deg) brightness(1.4);height:2.2rem}.forest-battle-running.forest-round-4 .forest-power{height:2rem;filter:drop-shadow(0 0 1rem #fff) drop-shadow(0 0 2.5rem var(--forest-power))}.forest-battle-running.forest-round-4 .forest-impact{width:7rem}
.forest-battle-running::before{animation:forestArenaQuake .12s linear infinite}
@keyframes forestDuelBeamLeft{0%,7%{opacity:0;transform:translateX(-45%) scaleX(.08)}20%{opacity:1;transform:translateX(-8%) scaleX(.45)}40%,78%{opacity:1;transform:translateX(0) scaleX(1)}89%{opacity:1;transform:translateX(7%) scaleX(1.15)}100%{opacity:0;transform:translateX(22%) scaleX(.2)}}
@keyframes forestDuelBeamRight{0%,7%{opacity:0;transform:scaleX(-1) translateX(-45%) scaleX(.08)}20%{opacity:1;transform:scaleX(-1) translateX(-8%) scaleX(.45)}40%,78%{opacity:1;transform:scaleX(-1) translateX(0) scaleX(1)}89%{opacity:1;transform:scaleX(-1) translateX(7%) scaleX(1.15)}100%{opacity:0;transform:scaleX(-1) translateX(22%) scaleX(.2)}}
@keyframes forestDuelCore{0%,23%{opacity:0;transform:translate(-50%,-50%) scale(.08)}38%{opacity:1;transform:translate(-50%,-50%) scale(.7)}56%{opacity:1;transform:translate(-50%,-50%) scale(1.5) rotate(80deg)}73%{opacity:1;transform:translate(-50%,-50%) scale(.95) rotate(170deg)}89%{opacity:1;transform:translate(-50%,-50%) scale(2) rotate(270deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(4) rotate(360deg);filter:blur(.2rem)}}
@keyframes forestDuelRing{0%{opacity:1;transform:scale(.12)}100%{opacity:0;transform:scale(1.75)}}@keyframes forestCombatBody{from{filter:drop-shadow(0 .7rem .6rem rgba(0,0,0,.8)) brightness(1);translate:0 0}to{filter:drop-shadow(0 0 1rem var(--forest-power)) brightness(1.25);translate:0 -.35rem}}
@keyframes forestCombatAdvanceLeft{0%,100%{transform:translateX(7%)}34%{transform:translateX(28%) translateY(-5%) rotate(4deg) scale(1.06)}58%{transform:translateX(34%) translateY(-2%) rotate(-3deg) scale(1.1)}76%{transform:translateX(12%) translateY(2%)}}
@keyframes forestCombatAdvanceRight{0%,100%{transform:translateX(-7%)}34%{transform:translateX(-28%) translateY(-5%) rotate(-4deg) scale(1.06)}58%{transform:translateX(-34%) translateY(-2%) rotate(3deg) scale(1.1)}76%{transform:translateX(-12%) translateY(2%)}}
@keyframes forestUltimateLeft{0%{transform:translateX(7%)}24%{transform:translateX(-3%) translateY(-8%) scale(.92)}48%{transform:translateX(38%) translateY(-5%) scale(1.17) rotate(7deg)}72%{transform:translateX(27%) scale(1.1)}100%{transform:translateX(7%)}}
@keyframes forestUltimateRight{0%{transform:translateX(-7%)}24%{transform:translateX(3%) translateY(-8%) scale(.92)}48%{transform:translateX(-38%) translateY(-5%) scale(1.17) rotate(-7deg)}72%{transform:translateX(-27%) scale(1.1)}100%{transform:translateX(-7%)}}
@keyframes forestArenaQuake{0%,100%{translate:0 0}25%{translate:-.16rem .08rem}50%{translate:.14rem -.08rem}75%{translate:-.08rem -.12rem}}
@media(max-width:52rem){.forest-power{top:42%;width:46%}.forest-power-trainer{left:3%}.forest-power-wild{right:3%}.forest-impact{top:42%;width:4rem}.forest-power::after{width:2.7rem;height:2.7rem}}

/* v112: campanha Ilha Floresta Burble — mapa, fases de 60 segundos e guardiões. */
.forest-campaign{display:grid;grid-template-rows:auto minmax(0,1fr);background:#100b07!important}
.forest-map-view,.forest-run-view,.forest-boss-view{position:relative;min-width:0;min-height:0;height:100%;overflow:hidden}
.forest-map-view{background:linear-gradient(180deg,rgba(12,7,3,.05),rgba(12,7,3,.18)),url('/assets/images/burble-forest-island-map.png?v=20260914-112') center/cover no-repeat}
.forest-map-view::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 35%,rgba(5,3,2,.5) 100%),linear-gradient(180deg,rgba(255,184,87,.08),transparent 30% 75%,rgba(14,7,3,.45))}
.forest-map-mist{position:absolute;z-index:2;inset:-20%;pointer-events:none;background:repeating-radial-gradient(ellipse at 50% 60%,transparent 0 9%,rgba(255,231,190,.12) 10% 11%,transparent 12% 18%);animation:forestMapMist 18s linear infinite}
.forest-stage-nodes{position:absolute;z-index:5;inset:0}.forest-stage-node{position:absolute;display:grid;grid-template-columns:2.4rem auto;grid-template-rows:auto auto;align-items:center;min-width:8.2rem;padding:.3rem .55rem .3rem .3rem;border:.14rem solid rgba(255,246,205,.78);border-radius:99px;color:#fff;background:linear-gradient(135deg,rgba(54,31,13,.92),rgba(13,25,24,.93));box-shadow:0 .6rem 1.2rem rgba(0,0,0,.55),0 0 0 .25rem rgba(255,175,62,.13),0 0 1.25rem rgba(255,181,62,.45);transform:translate(-50%,-50%);cursor:pointer;transition:.2s ease;backdrop-filter:blur(.35rem)}
.forest-stage-node i{grid-row:1/3;display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;color:#271408;background:radial-gradient(circle,#fff9bc,#ffb834);font-style:normal;font-size:1.05rem;box-shadow:0 0 1rem #ffb83d}.forest-stage-node strong{font-size:.72rem;line-height:1}.forest-stage-node span{max-width:8rem;font-size:.48rem;font-weight:850;white-space:nowrap}.forest-stage-node:hover,.forest-stage-node:focus-visible{z-index:8;outline:none;transform:translate(-50%,-50%) scale(1.11);filter:brightness(1.2)}.forest-stage-node.current{animation:forestCurrentNode 1.25s ease-in-out infinite}.forest-stage-node.complete{border-color:#b8ff79;background:linear-gradient(135deg,rgba(34,89,51,.95),rgba(8,39,36,.94));box-shadow:0 0 1.5rem rgba(125,255,132,.62)}.forest-stage-node.locked{filter:grayscale(.9) brightness(.58);box-shadow:0 .4rem 1rem rgba(0,0,0,.6);cursor:not-allowed}.forest-stage-node.locked i{background:#79736a;box-shadow:none}
.forest-map-legend{position:absolute;z-index:7;right:.8rem;bottom:.7rem;display:grid;gap:.2rem;max-width:16rem;padding:.65rem .8rem;border:1px solid rgba(255,221,155,.48);border-radius:.75rem;color:#ecd8ae;background:rgba(15,9,4,.82);box-shadow:0 .8rem 2rem rgba(0,0,0,.46);backdrop-filter:blur(.5rem);font-size:.52rem}.forest-map-legend strong{color:#ffc65d;font-size:.7rem;letter-spacing:.14em}.forest-map-legend span::before{content:"›";margin-right:.35rem;color:#ffbd4d;font-weight:950}
.forest-run-view{display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#191006}.forest-run-view.hidden,.forest-map-view.hidden,.forest-boss-view.hidden{display:none!important}.forest-run-hud{position:relative;z-index:5;display:flex;align-items:center;gap:.45rem;padding:.42rem .55rem;color:#fff;background:linear-gradient(90deg,#15100bea,#2b1b0fe8);box-shadow:0 .3rem 1rem rgba(0,0,0,.55)}.forest-run-hud button{padding:.4rem .65rem;border:1px solid #ffe3a3;border-radius:.45rem;color:#fff;background:#402912;font-weight:850;cursor:pointer}.forest-run-hud strong{margin-right:auto;color:#ffe9b5}.forest-run-hud span{min-width:3.5rem;padding:.3rem .45rem;border-radius:.4rem;background:rgba(255,255,255,.09);font-size:.7rem;text-align:center}
#forest-run-canvas{display:block;width:100%;height:100%;min-height:16rem;background:#183d35;touch-action:none}.forest-run-message{position:absolute;z-index:5;top:3.7rem;left:50%;max-width:80%;padding:.35rem .7rem;border:1px solid rgba(255,239,187,.36);border-radius:99px;color:#fff1c8;background:rgba(12,7,3,.72);font-size:.58rem;font-weight:800;text-align:center;transform:translateX(-50%);pointer-events:none}
.forest-touch-controls{position:absolute;z-index:8;right:.65rem;bottom:.7rem;left:.65rem;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.forest-touch-controls button{display:grid;place-items:center;width:3.4rem;height:3.4rem;border:.12rem solid rgba(255,244,202,.65);border-radius:50%;color:#2c1708;background:linear-gradient(145deg,#fff2a8,#ff9e37);box-shadow:0 .45rem 1rem rgba(0,0,0,.45),inset 0 .12rem rgba(255,255,255,.6);font-size:1rem;font-weight:950;pointer-events:auto;touch-action:none;user-select:none}.forest-touch-controls #forest-jump{margin-left:auto;margin-right:.35rem}.forest-touch-controls #forest-attack{color:#fff;background:linear-gradient(145deg,#c44cff,#5729c7)}
.forest-boss-view{display:grid;grid-template-rows:auto minmax(13rem,1fr) auto;background-image:linear-gradient(180deg,rgba(7,8,5,.12),rgba(18,9,3,.22) 45%,rgba(8,5,2,.82)),url('/assets/images/burble-forest-hunting-ground.png?v=20260914-112');background-position:center;background-size:cover}.forest-boss-view .burble-forest-rule{margin-top:.25rem}.forest-boss-view #forest-back-map{padding:.25rem .5rem;border:1px solid rgba(255,255,255,.3);border-radius:.4rem;color:#fff;background:#38200f;font-weight:850;cursor:pointer}
@keyframes forestMapMist{to{transform:translate(8%,3%) rotate(5deg)}}@keyframes forestCurrentNode{50%{box-shadow:0 .6rem 1.2rem rgba(0,0,0,.55),0 0 0 .55rem rgba(255,198,79,.2),0 0 2.5rem #ffc14d;transform:translate(-50%,-50%) scale(1.07)}}
@media(max-width:52rem){.forest-stage-node{grid-template-columns:1.8rem auto;min-width:5rem;padding:.2rem .35rem .2rem .2rem}.forest-stage-node i{width:1.7rem;height:1.7rem;font-size:.72rem}.forest-stage-node strong{font-size:.56rem}.forest-stage-node span{max-width:5.4rem;font-size:.34rem}.forest-map-legend{right:.3rem;bottom:.3rem;max-width:11rem;padding:.35rem .45rem;font-size:.4rem}.forest-map-legend strong{font-size:.5rem}.forest-run-hud{gap:.22rem;padding:.25rem}.forest-run-hud strong{font-size:.55rem}.forest-run-hud span{min-width:2.7rem;padding:.22rem;font-size:.52rem}.forest-touch-controls button{width:2.8rem;height:2.8rem}.forest-run-message{top:2.9rem;font-size:.46rem}.forest-boss-view{grid-template-rows:auto minmax(10rem,1fr) auto}}
@media(orientation:portrait) and (max-width:52rem){.forest-map-view{background-position:center}.forest-stage-node span{display:none}.forest-stage-node{min-width:0;padding:.18rem}.forest-stage-node i{grid-row:auto}.forest-stage-node strong{display:none}.forest-map-legend{max-width:9rem}.forest-touch-controls{bottom:.45rem}}

/* v114: movimento permanente e quadros reais na Floresta Burble. */
.forest-fighter>img{animation:forestHunterAlive 1.35s ease-in-out infinite;transform-origin:50% 100%}.forest-battle-running .forest-fighter.forest-sprite-ready .forest-fighter-canvas{display:block!important}.forest-battle-running .forest-fighter.forest-sprite-ready>img{display:none!important}.forest-battle-running .forest-power{visibility:visible!important;opacity:1}.forest-battle-running .forest-impact{visibility:visible!important}@keyframes forestHunterAlive{0%,100%{transform:translateY(0) rotate(-1deg) scale(1)}50%{transform:translateY(-3.5%) rotate(1.5deg) scale(1.025)}}

/* v116: acesso à central administrativa. */
.game-options-menu .admin-dashboard{align-items:center;width:100%;padding:.56rem .65rem;border:0;border-radius:.55rem;color:#102018;background:linear-gradient(135deg,#c7ff63,#7fffd2);font-weight:900;text-align:left;text-decoration:none;cursor:pointer}.game-options-menu .admin-dashboard.hidden{display:none!important}
/* v127: visitante diário usa os quadros reais da folha de ações durante a luta. */
.daily-fighter-canvas{display:none;width:100%;height:12rem;object-fit:contain;object-position:center bottom;filter:saturate(1.5) contrast(1.2) drop-shadow(0 .8rem .6rem #000)}
.daily-battle-running .daily-fighter.daily-sprite-ready .daily-fighter-canvas{display:block!important}
.daily-battle-running .daily-fighter.daily-sprite-ready>img{display:none!important}
.daily-battle-running .daily-fighter-canvas,.daily-battle-running .daily-fighter>img{animation:dailyCombatAlive .32s ease-in-out infinite alternate}
@keyframes dailyCombatAlive{from{translate:0 0;filter:saturate(1.45) contrast(1.18) drop-shadow(0 .8rem .6rem #000)}to{translate:0 -.35rem;filter:saturate(1.7) contrast(1.25) brightness(1.12) drop-shadow(0 0 .85rem #8fffe0)}}
@media(max-width:44rem){.daily-fighter-canvas{height:6.5rem}}
/* v128: atributos reais revelados antes das batalhas selvagens. */
.daily-opponent-stats{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:.4rem;margin:.55rem 0;padding:.5rem;border:1px solid rgba(189,252,97,.3);border-radius:.75rem;background:linear-gradient(135deg,rgba(11,39,48,.94),rgba(31,20,63,.94))}.daily-opponent-stats>strong{color:#bdfc61;font-size:.58rem;letter-spacing:.1em}.daily-opponent-stats span{display:flex;align-items:center;justify-content:space-between;gap:.35rem;padding:.42rem .5rem;border:1px solid rgba(255,255,255,.12);border-radius:.55rem;color:#bfe8df;font-size:.62rem}.daily-opponent-stats b{color:#fff;font-size:.78rem}.burble-forest-stats b{color:#fff4a8;text-shadow:0 0 .7rem var(--forest-power)}
@media(max-width:44rem){.daily-opponent-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem}.daily-opponent-stats>strong{grid-column:1/-1;text-align:center}.daily-opponent-stats span{display:grid;justify-content:center;padding:.35rem .2rem;text-align:center;font-size:.52rem}.daily-opponent-stats b{font-size:.72rem}}

/* v132: catálogo de casas personalizadas, sem substituir a casa original. */
.room-scene::before{background-image:var(--burble-house-image,url('/assets/images/rooms/jungle-home-v1.png'))!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.houses-dialog{width:min(68rem,calc(100vw - 1rem));max-height:min(90dvh,48rem);padding:0;overflow:hidden;border:1px solid rgba(255,196,239,.58);border-radius:1.35rem;color:#fff;background:linear-gradient(155deg,#30152f,#101827 62%,#08151b);box-shadow:0 2rem 7rem #000b,0 0 3rem rgba(255,91,207,.25)}
.houses-dialog::backdrop{background:rgba(3,7,12,.76);backdrop-filter:blur(.45rem)}
.houses-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:1rem;padding:1rem 1.1rem;border-bottom:1px solid rgba(255,216,245,.2);background:radial-gradient(circle at 70% 0,rgba(255,126,221,.2),transparent 24rem)}
.houses-heading>div:first-child{display:grid}.houses-heading span{color:#ff9ee5;font-size:.58rem;font-weight:950;letter-spacing:.16em}.houses-heading h2{margin:.16rem 0;font-size:clamp(1.4rem,3vw,2.1rem)}.houses-heading p{margin:.1rem 0;color:#dbc6d8;font-size:.75rem}.houses-wallet{padding:.55rem .75rem;border:1px solid #75eaff69;border-radius:99px;color:#061a20;background:linear-gradient(135deg,#dfffff,#72dcff);font-weight:950}
#houses-close{display:grid;place-items:center;width:2.3rem;height:2.3rem;border:1px solid #ffffff45;border-radius:50%;color:#fff;background:#ffffff12;font-size:1.1rem;cursor:pointer}
.houses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:.8rem;max-height:calc(90dvh - 10rem);padding:1rem;overflow:auto}
.house-card{display:grid;grid-template-rows:minmax(10rem,17rem) auto auto;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:1rem;background:#ffffff0a;box-shadow:0 .8rem 2rem #0005}.house-card.equipped{border-color:#bdff67;box-shadow:0 0 0 .14rem #bdff6733,0 .8rem 2rem #0005}.house-card-visual{min-height:10rem;background-position:center;background-size:cover}.house-card>div:nth-child(2){display:grid;gap:.35rem;padding:.75rem .8rem}.house-card strong{font-size:1rem}.house-card p{margin:0;color:#cdbfca;font-size:.7rem;line-height:1.4}.house-card span{justify-self:start;padding:.25rem .45rem;border-radius:99px;color:#15210d;background:#caff71;font-size:.6rem;font-weight:950}.house-card>button{margin:0 .8rem .8rem;padding:.65rem;border:0;border-radius:.65rem;color:#1b1020;background:linear-gradient(135deg,#ff91dc,#c9ff69);font-weight:950;cursor:pointer}.house-card>button:disabled{color:#dff9ec;background:#31554a;cursor:default}.houses-feedback{min-height:1.4rem;margin:0;padding:0 1rem .8rem;color:#caff71;font-size:.72rem}
@media(max-width:44rem){.houses-dialog{width:100vw;max-height:100dvh;border:0;border-radius:0}.houses-heading{grid-template-columns:1fr auto;gap:.5rem;padding:.7rem}.houses-heading p{font-size:.6rem}.houses-wallet{grid-column:1}.houses-grid{grid-template-columns:1fr;max-height:calc(100dvh - 9.5rem);padding:.55rem}.house-card{grid-template-columns:42% 1fr;grid-template-rows:auto auto}.house-card-visual{grid-row:1/3;min-height:8rem}.house-card>button{margin:.25rem .55rem .55rem}.house-card>div:nth-child(2){padding:.55rem}}


/* v134: luz noturna visual que não interrompe o sono programado. */
.room-scene>.night-light-toggle{position:absolute!important;z-index:18!important;right:.75rem;bottom:.75rem;display:grid;grid-template-columns:auto auto;align-items:center;gap:.28rem;min-width:0;padding:.38rem .5rem;border:1px solid rgba(255,243,166,.82);border-radius:99px;color:#fff8c8;background:linear-gradient(145deg,rgba(25,31,52,.94),rgba(43,34,56,.96));box-shadow:0 .4rem 1.1rem rgba(0,0,0,.4),0 0 1rem rgba(255,225,105,.18);cursor:pointer;transition:transform .2s ease,background .3s ease,box-shadow .3s ease}
.night-light-toggle span{font-size:1rem;line-height:1}.night-light-toggle small{font-size:.55rem;font-weight:900}.night-light-toggle:hover,.night-light-toggle:focus-visible{outline:none;transform:translateY(-.1rem);box-shadow:0 .55rem 1.3rem rgba(0,0,0,.45),0 0 1.4rem rgba(255,225,105,.4)}.night-light-toggle.active{color:#382800;background:linear-gradient(145deg,#fffbd0,#ffd951);box-shadow:0 0 1.2rem rgba(255,231,99,.9),0 0 3rem rgba(255,204,59,.48)}
.room-scene.night-mode.night-light-on::before{filter:brightness(1.08) saturate(1.05) hue-rotate(0deg)!important}.room-scene.night-mode.night-light-on::after{background:radial-gradient(circle at 72% 35%,rgba(255,246,190,.28),transparent 34%),linear-gradient(180deg,rgba(255,250,215,.08),rgba(255,236,160,.04))!important}.room-scene.night-mode.night-light-on .scene-moon{opacity:.45}.room-scene.night-mode.night-light-on .pet-scheduled-sleep{filter:none}
@media(max-width:44rem){.room-scene>.night-light-toggle{right:.38rem;bottom:.35rem;padding:.3rem}.night-light-toggle small{display:none}.night-light-toggle span{font-size:.9rem}}


/* v135: cores mais vivas e profundidade nas artes originais das casas. */
.room-scene:not(.night-mode)::before{filter:saturate(1.28) contrast(1.09) brightness(1.035)!important}
.room-scene.night-mode.night-light-on::before{filter:brightness(1.12) saturate(1.25) contrast(1.08) hue-rotate(0deg)!important}
.house-card-visual{filter:saturate(1.3) contrast(1.1) brightness(1.04);box-shadow:inset 0 -2.4rem 2.8rem -2.2rem rgba(0,0,0,.55);image-rendering:auto}


/* v137: brilho confortável exclusivo da Floresta das Nuvens. */
.room-scene[data-house="cloud-forest-home"]:not(.night-mode)::before{filter:brightness(.72) saturate(1.16) contrast(1.11)!important}
.room-scene[data-house="cloud-forest-home"].night-mode.night-light-on::before{filter:brightness(.78) saturate(1.14) contrast(1.1)!important}
.house-card[data-house="cloud-forest-home"] .house-card-visual{filter:brightness(.76) saturate(1.18) contrast(1.1)}
.room-scene[data-house="cloud-forest-home"]::after{background:linear-gradient(180deg,rgba(18,46,92,.13),rgba(5,26,66,.12) 62%,rgba(3,19,48,.26))!important}
.room-scene[data-house="cloud-forest-home"].night-mode::after{background:linear-gradient(180deg,rgba(3,14,48,.64),rgba(5,23,63,.46) 58%,rgba(2,12,36,.62))!important}
.room-scene[data-house="cloud-forest-home"].night-mode.night-light-on::after{background:radial-gradient(circle at 72% 35%,rgba(255,220,114,.13),transparent 30%),linear-gradient(180deg,rgba(12,37,83,.2),rgba(4,25,61,.3))!important}


/* v138: brilho confortável exclusivo da Casa Oca Rosa. */
.room-scene[data-house="pink-hollow-home"]:not(.night-mode)::before{filter:brightness(.74) saturate(1.17) contrast(1.1)!important}
.room-scene[data-house="pink-hollow-home"].night-mode.night-light-on::before{filter:brightness(.8) saturate(1.15) contrast(1.09)!important}
.house-card[data-house="pink-hollow-home"] .house-card-visual{filter:brightness(.77) saturate(1.18) contrast(1.1)}
.room-scene[data-house="pink-hollow-home"]::after{background:linear-gradient(180deg,rgba(70,13,66,.15),rgba(46,10,54,.1) 60%,rgba(29,6,38,.28))!important}
.room-scene[data-house="pink-hollow-home"].night-mode::after{background:linear-gradient(180deg,rgba(28,4,47,.66),rgba(35,7,54,.46) 58%,rgba(18,3,31,.64))!important}
.room-scene[data-house="pink-hollow-home"].night-mode.night-light-on::after{background:radial-gradient(circle at 70% 35%,rgba(255,203,124,.14),transparent 31%),linear-gradient(180deg,rgba(63,16,73,.22),rgba(37,9,51,.3))!important}

/* v139: campanha de 50 fases, paginação e Caverna de Lava animada. */
.forest-map-pages{position:absolute;z-index:12;top:.55rem;left:50%;display:flex;align-items:center;gap:.45rem;padding:.28rem .42rem;border:1px solid rgba(255,239,184,.45);border-radius:99px;background:rgba(13,10,7,.78);box-shadow:0 .45rem 1rem rgba(0,0,0,.35);transform:translateX(-50%);backdrop-filter:blur(.4rem)}
.forest-map-pages button{display:grid;place-items:center;width:1.8rem;height:1.8rem;border:1px solid rgba(255,237,172,.55);border-radius:50%;color:#221509;background:linear-gradient(145deg,#fff0a1,#f49a31);font-size:1.2rem;font-weight:950}
.forest-map-pages button:disabled{opacity:.32;filter:grayscale(1)}.forest-map-pages strong{min-width:9.5rem;color:#fff0c1;font-size:.58rem;text-align:center}
.forest-touch-controls{gap:.35rem}.forest-touch-controls #forest-left{margin-right:auto}.forest-touch-controls #forest-jump{margin-left:0!important;margin-right:0!important}.forest-touch-controls #forest-right{margin-left:0}
.room-scene[data-house="obsidian-lava-home"]:not(.night-mode)::before{filter:brightness(.78) saturate(1.28) contrast(1.16)!important}
.room-scene[data-house="obsidian-lava-home"]::after{background:radial-gradient(circle at 50% 77%,rgba(255,110,20,.18),transparent 36%),linear-gradient(180deg,rgba(15,2,2,.08),rgba(34,4,1,.12) 65%,rgba(0,0,0,.18))!important;animation:lavaRoomPulse 2.6s ease-in-out infinite}
.room-scene[data-house="obsidian-lava-home"].night-mode::after{background:radial-gradient(circle at 50% 75%,rgba(255,89,9,.3),transparent 39%),linear-gradient(180deg,rgba(0,0,0,.52),rgba(36,4,1,.3))!important}
.room-scene[data-house="obsidian-lava-home"].night-mode.night-light-on::before{filter:brightness(.88) saturate(1.32) contrast(1.14)!important}
.house-card[data-house="obsidian-lava-home"] .house-card-visual{filter:brightness(.82) saturate(1.35) contrast(1.15)}
.room-scene[data-house="obsidian-lava-home"] .jungle-ambient span{display:block!important;width:.32rem!important;height:1.65rem!important;border:0!important;border-radius:50% 50% 60% 60%!important;background:linear-gradient(180deg,#fff4a3 0,#ff9d20 28%,#f2320e 80%,transparent)!important;box-shadow:0 0 .8rem #ff4c0c,0 0 1.6rem rgba(255,135,21,.8)!important;opacity:.85!important;animation:lavaFall 1.65s linear infinite!important}
.room-scene[data-house="obsidian-lava-home"] .jungle-ambient span:nth-child(2n){animation-duration:2.15s!important;animation-delay:-.7s!important}.room-scene[data-house="obsidian-lava-home"] .jungle-ambient span:nth-child(3n){animation-duration:1.3s!important;animation-delay:-1.1s!important}
@keyframes lavaFall{0%{transform:translateY(-8vh) scaleY(.45);opacity:0}18%{opacity:.9}78%{opacity:.75}100%{transform:translateY(67vh) scaleY(1.25);opacity:0}}
@keyframes lavaRoomPulse{0%,100%{opacity:.76;filter:brightness(.95)}50%{opacity:1;filter:brightness(1.13)}}
@media(max-width:52rem){.forest-map-pages{top:.3rem}.forest-map-pages strong{min-width:7.5rem;font-size:.48rem}.forest-touch-controls{gap:.18rem}.forest-touch-controls button{width:2.75rem!important;height:2.75rem!important}}
/* v141: navegação com profundidade dentro das casas. */
body.game-active .pet-viewport{--home-pet-x:0%;--home-pet-y:0%;--home-pet-depth-scale:1}
body.game-active .home-movement-controls{position:absolute;z-index:36;left:50%;bottom:.55rem;display:grid;grid-template-columns:2.15rem 2.15rem 2.15rem;grid-template-rows:2.15rem 2.15rem 2.15rem;gap:.12rem;transform:translateX(-50%);pointer-events:none}
body.game-active .home-movement-controls button{display:grid;place-items:center;width:2.15rem;height:2.15rem;padding:0;border:1px solid rgba(255,255,255,.24);border-radius:.62rem;color:rgba(255,255,255,.68);background:rgba(4,16,19,.16);box-shadow:inset 0 1px rgba(255,255,255,.08);font-size:.72rem;font-weight:950;opacity:.34;backdrop-filter:blur(.16rem);pointer-events:auto;touch-action:none;user-select:none;transition:opacity .16s,background .16s,transform .16s}
body.game-active .home-movement-controls button:hover,body.game-active .home-movement-controls button:focus-visible,body.game-active .home-movement-controls button:active{opacity:.88;color:#fff;background:rgba(8,34,37,.54);outline:none;transform:scale(1.06)}
body.game-active .home-movement-controls .move-back{grid-column:2;grid-row:1}body.game-active .home-movement-controls .move-left{grid-column:1;grid-row:2}body.game-active .home-movement-controls .move-right{grid-column:3;grid-row:2}body.game-active .home-movement-controls .move-forward{grid-column:2;grid-row:3}
body.game-active .pet-viewport.pet-is-egg .home-movement-controls{display:none}
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig{transform:translate(var(--home-pet-x),var(--home-pet-y)) scale(var(--home-pet-depth-scale))!important;transform-origin:50% 100%!important;transition:transform .18s linear!important}
body.game-active .pet-viewport.home-pet-walking:not(.sprite-rendering) .pet-rig .pet-fallback{animation:homePetWalking .38s ease-in-out infinite!important}
body.game-active .pet-viewport[data-home-depth="far"] .speech-wrap{opacity:.84}
@keyframes homePetWalking{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -.7rem;rotate:1.5deg}}
@media(orientation:landscape) and (max-height:600px){body.game-active .home-movement-controls{left:45%;bottom:.25rem;grid-template-columns:1.72rem 1.72rem 1.72rem;grid-template-rows:1.72rem 1.72rem 1.72rem}body.game-active .home-movement-controls button{width:1.72rem;height:1.72rem;border-radius:.48rem;font-size:.58rem}}
/* v142: Refúgio da Cachoeira com água e pássaros vivos. */
.room-scene[data-house="waterfall-haven-home"]:not(.night-mode)::before{filter:brightness(.82) saturate(1.18) contrast(1.1)!important}
.room-scene[data-house="waterfall-haven-home"]::after{background:linear-gradient(180deg,rgba(7,42,46,.08),transparent 45%,rgba(2,31,38,.17))!important}
.room-scene[data-house="waterfall-haven-home"].night-mode::after{background:linear-gradient(180deg,rgba(2,15,37,.62),rgba(4,30,49,.42) 55%,rgba(1,15,31,.58))!important}
.room-scene[data-house="waterfall-haven-home"].night-mode.night-light-on::before{filter:brightness(.88) saturate(1.15) contrast(1.08)!important}
.house-card[data-house="waterfall-haven-home"] .house-card-visual{filter:brightness(.86) saturate(1.22) contrast(1.1)}
.room-scene[data-house="waterfall-haven-home"] .jungle-ambient::before{content:"";position:absolute;z-index:0;top:-10%;left:25%;width:58%;height:66%;background:repeating-linear-gradient(92deg,transparent 0 7px,rgba(225,251,255,.2) 8px 12px,rgba(255,255,255,.5) 13px 15px,transparent 16px 25px);filter:blur(.8px) drop-shadow(0 .8rem .55rem rgba(165,241,255,.42));mask-image:linear-gradient(180deg,transparent,#000 12%,#000 82%,transparent);animation:waterfallLivingWater 1.05s linear infinite}
.room-scene[data-house="waterfall-haven-home"] .jungle-ambient::after{content:"";position:absolute;z-index:0;left:19%;right:12%;bottom:19%;height:12%;border-radius:50%;background:repeating-radial-gradient(ellipse at center,rgba(230,255,255,.28) 0 2px,transparent 4px 13px);filter:blur(1px);opacity:.72;animation:waterfallPoolShimmer 2.1s ease-in-out infinite}
.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span{display:block!important;left:-9%!important;width:1.45rem!important;height:.58rem!important;border:0!important;border-radius:60% 10% 60% 10%!important;background:linear-gradient(135deg,#163b50 0 34%,#84e9ff 35% 47%,#f8c84e 48% 58%,#173a4d 59%)!important;box-shadow:0 .12rem .18rem rgba(0,0,0,.35)!important;clip-path:polygon(0 50%,30% 10%,48% 42%,67% 0,100% 45%,68% 65%,50% 54%,28% 88%)!important;opacity:.82!important;animation:waterfallBirdFlight 8.5s linear infinite!important}
.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(1){top:14%!important;animation-delay:-1s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(2){top:23%!important;animation-delay:-5.2s!important;animation-duration:10.5s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(3){top:35%!important;animation-delay:-3.4s!important;animation-duration:7.7s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(4){top:18%!important;animation-delay:-7.1s!important;animation-duration:12s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(5){top:42%!important;animation-delay:-8.3s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(6){top:29%!important;animation-delay:-2.5s!important;animation-duration:11s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(7){top:10%!important;animation-delay:-6.8s!important;animation-duration:9.4s!important}.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span:nth-child(8){top:38%!important;animation-delay:-4.6s!important;animation-duration:13s!important}
@keyframes waterfallLivingWater{0%{background-position:0 -70px;opacity:.58}50%{opacity:.92}100%{background-position:6px 80px;opacity:.62}}
@keyframes waterfallPoolShimmer{0%,100%{transform:scaleX(.94);opacity:.48}50%{transform:scaleX(1.04);opacity:.85}}
@keyframes waterfallBirdFlight{0%{transform:translate3d(-5vw,0,0) scale(.72) rotate(-3deg)}25%{transform:translate3d(31vw,-2.5vh,0) scale(.9) rotate(4deg)}50%{transform:translate3d(65vw,1vh,0) scale(1) rotate(-2deg)}75%{transform:translate3d(96vw,-3vh,0) scale(.86) rotate(3deg)}100%{transform:translate3d(125vw,0,0) scale(.72) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){.room-scene[data-house="waterfall-haven-home"] .jungle-ambient::before,.room-scene[data-house="waterfall-haven-home"] .jungle-ambient::after,.room-scene[data-house="waterfall-haven-home"] .jungle-ambient span{animation-duration:18s!important}}
/* v143: direcional no canto direito e lâmpada elevada. */
body.game-active .home-movement-controls{right:.65rem!important;bottom:.65rem!important;left:auto!important;transform:none!important}
body.game-active .room-scene>.night-light-toggle{top:.75rem!important;right:.75rem!important;bottom:auto!important}
@media(max-width:44rem){body.game-active .home-movement-controls{right:.35rem!important;bottom:.35rem!important}body.game-active .room-scene>.night-light-toggle{top:.38rem!important;right:.38rem!important;bottom:auto!important}}
@media(orientation:landscape) and (max-height:600px){body.game-active .home-movement-controls{right:.32rem!important;bottom:.25rem!important;left:auto!important;transform:none!important}body.game-active .room-scene>.night-light-toggle{top:.32rem!important;right:.32rem!important;bottom:auto!important}}
/* v145: Caverna Cristalina totalmente interna e animada. */
.room-scene[data-house="crystal-cavern-home"]:not(.night-mode)::before{filter:brightness(.77) saturate(1.28) contrast(1.16)!important}
.room-scene[data-house="crystal-cavern-home"]::after{background:radial-gradient(circle at 18% 53%,rgba(25,241,255,.18),transparent 19%),radial-gradient(circle at 82% 42%,rgba(159,74,255,.2),transparent 22%),radial-gradient(circle at 49% 30%,rgba(31,180,255,.13),transparent 28%),linear-gradient(180deg,rgba(1,5,17,.18),transparent 55%,rgba(4,3,19,.24))!important;animation:cavernCrystalGlow 3.2s ease-in-out infinite}
.room-scene[data-house="crystal-cavern-home"].night-mode::after{background:radial-gradient(circle at 18% 53%,rgba(12,201,232,.14),transparent 20%),radial-gradient(circle at 82% 42%,rgba(126,49,241,.18),transparent 23%),linear-gradient(180deg,rgba(0,2,13,.6),rgba(4,7,28,.48) 62%,rgba(0,1,9,.64))!important}
.room-scene[data-house="crystal-cavern-home"].night-mode.night-light-on::before{filter:brightness(.86) saturate(1.25) contrast(1.14)!important}
.house-card[data-house="crystal-cavern-home"] .house-card-visual{filter:brightness(.8) saturate(1.32) contrast(1.15)}
.room-scene[data-house="crystal-cavern-home"] .jungle-ambient::before{content:"";position:absolute;z-index:0;inset:-12% 0 42%;background:repeating-linear-gradient(92deg,transparent 0 38px,rgba(126,237,255,.46) 39px 41px,transparent 42px 76px);filter:drop-shadow(0 .5rem .45rem rgba(80,218,255,.45));mask-image:linear-gradient(180deg,#000,transparent 78%);animation:cavernMineralDrips 1.4s linear infinite}
.room-scene[data-house="crystal-cavern-home"] .jungle-ambient::after{content:"";position:absolute;z-index:0;left:20%;right:18%;top:47%;height:14%;border-radius:50%;background:repeating-radial-gradient(ellipse at center,rgba(95,229,255,.2) 0 2px,transparent 4px 15px);filter:blur(1.2px);animation:cavernUndergroundWater 2.4s ease-in-out infinite}
.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span{display:block!important;left:-12%!important;width:1.5rem!important;height:.62rem!important;border:0!important;border-radius:0!important;background:#090716!important;box-shadow:0 .15rem .25rem rgba(0,0,0,.55),0 0 .35rem rgba(121,82,255,.35)!important;clip-path:polygon(0 40%,29% 8%,47% 38%,53% 38%,72% 8%,100% 40%,72% 63%,53% 52%,50% 86%,47% 52%,28% 63%)!important;opacity:.7!important;animation:cavernBatFlight 9s linear infinite!important}
.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(1){top:12%!important;animation-delay:-1s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(2){top:20%!important;animation-delay:-6.2s!important;animation-duration:12s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(3){top:31%!important;animation-delay:-3.5s!important;animation-duration:8s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(4){top:16%!important;animation-delay:-8.1s!important;animation-duration:14s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(5){top:38%!important;animation-delay:-4.3s!important;animation-duration:10.4s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(6){top:25%!important;animation-delay:-2.5s!important;animation-duration:13s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(7){top:9%!important;animation-delay:-7.8s!important;animation-duration:11s!important}.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span:nth-child(8){top:34%!important;animation-delay:-5.6s!important;animation-duration:15s!important}
@keyframes cavernCrystalGlow{0%,100%{opacity:.75;filter:brightness(.94)}50%{opacity:1;filter:brightness(1.18)}}
@keyframes cavernMineralDrips{0%{background-position:0 -70px;opacity:.35}55%{opacity:.82}100%{background-position:4px 95px;opacity:.38}}
@keyframes cavernUndergroundWater{0%,100%{transform:scaleX(.94);opacity:.4}50%{transform:scaleX(1.06);opacity:.8}}
@keyframes cavernBatFlight{0%{transform:translate3d(-5vw,1vh,0) scale(.62) rotate(-8deg)}25%{transform:translate3d(34vw,-3vh,0) scale(.9) rotate(6deg)}50%{transform:translate3d(66vw,2vh,0) scale(1) rotate(-5deg)}75%{transform:translate3d(98vw,-2vh,0) scale(.82) rotate(7deg)}100%{transform:translate3d(126vw,1vh,0) scale(.6) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){.room-scene[data-house="crystal-cavern-home"]::after,.room-scene[data-house="crystal-cavern-home"] .jungle-ambient::before,.room-scene[data-house="crystal-cavern-home"] .jungle-ambient::after,.room-scene[data-house="crystal-cavern-home"] .jungle-ambient span{animation-duration:18s!important}}
/* v160: duelo do visitante — aproximação, rajadas e colisão de poderes sem trocar os sprites. */
.daily-battle-running .daily-trainer{margin-right:-16%}.daily-battle-running .daily-visitor{margin-left:-16%}
.daily-power-wave,.daily-impact-ring{position:absolute;z-index:4;pointer-events:none;opacity:0}.daily-power-wave{top:47%;width:2.5rem;height:2.5rem;border-radius:50%;filter:blur(.05rem) drop-shadow(0 0 1rem currentColor)}.daily-power-trainer{left:22%;color:#ffb347;background:radial-gradient(circle,#fff9bd 0 14%,#ff9b2f 28%,#e94622 56%,transparent 72%)}.daily-power-visitor{right:22%;color:#7ee9ff;background:radial-gradient(circle,#edffff 0 14%,#62dfff 30%,#8159ff 57%,transparent 72%)}.daily-impact-ring{top:48%;left:50%;width:3.5rem;height:3.5rem;border:.18rem solid #fff3ad;border-radius:50%;box-shadow:0 0 1.3rem .5rem #ffcf56,0 0 2.2rem 1rem #9b62ff;transform:translate(-50%,-50%) scale(.15)}
.daily-round-1 .daily-power-trainer{animation:dailyShotRight 1.55s cubic-bezier(.16,.78,.2,1) both}.daily-round-2 .daily-power-visitor{animation:dailyShotLeft 1.55s cubic-bezier(.16,.78,.2,1) both}.daily-round-3 .daily-power-trainer,.daily-round-3 .daily-power-visitor{animation-duration:1.6s}.daily-round-3 .daily-power-trainer{animation-name:dailyShotRight}.daily-round-3 .daily-power-visitor{animation-name:dailyShotLeft}.daily-round-1 .daily-impact-ring,.daily-round-2 .daily-impact-ring,.daily-round-3 .daily-impact-ring{animation:dailyImpactBurst 1.55s ease-out both}.daily-round-3{animation:dailyArenaShake .16s linear 6}
@keyframes dailyShotRight{0%{opacity:0;transform:translate(0,-50%) scale(.2)}18%{opacity:1;transform:translate(15%,-50%) scale(1)}72%{opacity:1;transform:translate(350%,-50%) scale(1.35)}100%{opacity:0;transform:translate(410%,-50%) scale(.3)}}@keyframes dailyShotLeft{0%{opacity:0;transform:translate(0,-50%) scale(.2)}18%{opacity:1;transform:translate(-15%,-50%) scale(1)}72%{opacity:1;transform:translate(-350%,-50%) scale(1.35)}100%{opacity:0;transform:translate(-410%,-50%) scale(.3)}}@keyframes dailyImpactBurst{0%,44%{opacity:0;transform:translate(-50%,-50%) scale(.12)}54%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}78%{opacity:.85;transform:translate(-50%,-50%) scale(2.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(3.6)}}@keyframes dailyArenaShake{0%,100%{translate:0}25%{translate:-.3rem .08rem}75%{translate:.3rem -.08rem}}
@media(max-width:44rem){.daily-battle-running .daily-trainer{margin-right:-11%}.daily-battle-running .daily-visitor{margin-left:-11%}.daily-power-wave{width:1.7rem;height:1.7rem}.daily-impact-ring{width:2.5rem;height:2.5rem}}
/* v165: arena cinematográfica do visitante — mesma leitura visual do duelo entre treinadores. */
.daily-duel-cinematic{min-height:clamp(23rem,62vh,37rem)!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:2rem .45rem .7rem!important;background:radial-gradient(circle at 50% 66%,rgba(255,214,86,.24),transparent 20%),radial-gradient(circle at 50% 18%,rgba(111,126,255,.25),transparent 47%),linear-gradient(#04152d 0 58%,#102f2a 59% 100%)!important}.daily-duel-cinematic .daily-fighter{height:clamp(19rem,54vh,31rem)!important;align-content:end;overflow:visible}.daily-duel-cinematic .daily-fighter img,.daily-duel-cinematic .daily-fighter-canvas{width:116%!important;height:clamp(16rem,48vh,29rem)!important;max-width:none;filter:saturate(1.55) contrast(1.2) drop-shadow(0 1rem .75rem rgba(0,0,0,.72))}.daily-duel-cinematic .daily-trainer{transform:scaleX(-1) translateX(24%);transform-origin:50% 100%}.daily-duel-cinematic .daily-visitor{transform:translateX(-24%);transform-origin:50% 100%}.daily-duel-cinematic .daily-trainer>*{transform:scaleX(-1)}.daily-duel-cinematic .daily-fighter strong{position:relative;z-index:10;margin-top:-.8rem}.daily-duel-cinematic .daily-fighter i{position:relative;z-index:10;width:86%}.daily-duel-cinematic .daily-power-wave{z-index:9;top:49%;width:4.5rem;height:4.5rem}.daily-duel-cinematic .daily-power-trainer{left:26%}.daily-duel-cinematic .daily-power-visitor{right:26%}.daily-duel-cinematic .daily-impact-ring{z-index:10;top:49%;width:5.6rem;height:5.6rem;border-width:.28rem}.daily-duel-cinematic .daily-power-clash{z-index:8;top:49%;width:6rem;height:6rem;opacity:.28;box-shadow:0 0 3.5rem 1rem #dfff74}.daily-duel-cinematic .daily-battle-flash{z-index:12;top:1rem;font-size:.82rem;letter-spacing:.12em;box-shadow:0 0 1.3rem rgba(222,255,114,.38)}.daily-duel-cinematic.daily-round-1 .daily-trainer{animation:dailyCinemaTrainerStrike 2.7s cubic-bezier(.2,.05,.18,1) both!important}.daily-duel-cinematic.daily-round-1 .daily-visitor{animation:dailyCinemaVisitorBlock 2.7s ease both!important}.daily-duel-cinematic.daily-round-2 .daily-visitor{animation:dailyCinemaVisitorStrike 2.7s cubic-bezier(.2,.05,.18,1) both!important}.daily-duel-cinematic.daily-round-2 .daily-trainer{animation:dailyCinemaTrainerBlock 2.7s ease both!important}.daily-duel-cinematic.daily-round-3 .daily-trainer{animation:dailyCinemaTrainerUltimate 3.25s cubic-bezier(.16,.7,.15,1) both!important}.daily-duel-cinematic.daily-round-3 .daily-visitor{animation:dailyCinemaVisitorUltimate 3.25s cubic-bezier(.16,.7,.15,1) both!important}.daily-duel-cinematic.daily-round-3 .daily-power-clash{animation:dailyCinemaClash 2.5s ease-out both}.daily-battle-finished.daily-winner-trainer .daily-trainer{animation:dailyWinnerTrainerCinema 1s ease-in-out infinite!important}.daily-battle-finished.daily-winner-trainer .daily-visitor{animation:dailyLoserVisitorCinema .95s ease forwards!important}.daily-battle-finished.daily-winner-visitor .daily-visitor{animation:dailyWinnerVisitorCinema 1s ease-in-out infinite!important}.daily-battle-finished.daily-winner-visitor .daily-trainer{animation:dailyLoserTrainerCinema .95s ease forwards!important}@keyframes dailyCinemaTrainerStrike{0%,12%{transform:scaleX(-1) translateX(24%) translateY(0) rotate(0)}32%{transform:scaleX(-1) translateX(8%) translateY(-4%) rotate(-4deg) scale(1.07)}55%{transform:scaleX(-1) translateX(-17%) translateY(-8%) rotate(7deg) scale(1.17);filter:drop-shadow(0 0 1.8rem #ffad38) saturate(1.8)}77%{transform:scaleX(-1) translateX(8%) translateY(-2%) rotate(-3deg)}100%{transform:scaleX(-1) translateX(24%) translateY(0)}}@keyframes dailyCinemaVisitorStrike{0%,12%{transform:translateX(-24%) translateY(0) rotate(0)}32%{transform:translateX(-8%) translateY(-4%) rotate(4deg) scale(1.07)}55%{transform:translateX(17%) translateY(-8%) rotate(-7deg) scale(1.17);filter:drop-shadow(0 0 1.8rem #70dfff) saturate(1.8)}77%{transform:translateX(-8%) translateY(-2%) rotate(3deg)}100%{transform:translateX(-24%) translateY(0)}}@keyframes dailyCinemaVisitorBlock{0%,36%{transform:translateX(-24%)}54%{transform:translateX(-35%) translateY(.7rem) rotate(7deg) scale(.91);filter:brightness(1.9) drop-shadow(0 0 1.1rem #fff)}100%{transform:translateX(-24%)}}@keyframes dailyCinemaTrainerBlock{0%,36%{transform:scaleX(-1) translateX(24%)}54%{transform:scaleX(-1) translateX(35%) translateY(.7rem) rotate(-7deg) scale(.91);filter:brightness(1.9) drop-shadow(0 0 1.1rem #fff)}100%{transform:scaleX(-1) translateX(24%)}}@keyframes dailyCinemaTrainerUltimate{0%,15%{transform:scaleX(-1) translateX(24%)}42%{transform:scaleX(-1) translateX(-2%) translateY(-1.2rem) scale(1.2);filter:drop-shadow(0 0 2rem #fff36c) saturate(2)}62%{transform:scaleX(-1) translateX(-23%) translateY(-.5rem) rotate(10deg) scale(1.25)}100%{transform:scaleX(-1) translateX(24%)}}@keyframes dailyCinemaVisitorUltimate{0%,15%{transform:translateX(-24%)}42%{transform:translateX(2%) translateY(-1.2rem) scale(1.2);filter:drop-shadow(0 0 2rem #8fddff) saturate(2)}62%{transform:translateX(23%) translateY(-.5rem) rotate(-10deg) scale(1.25)}100%{transform:translateX(-24%)}}@keyframes dailyCinemaClash{0%,35%{opacity:.12;transform:translate(-50%,-50%) scale(.2)}55%{opacity:1;transform:translate(-50%,-50%) scale(1.5)}77%{opacity:.9;transform:translate(-50%,-50%) scale(2.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(3.5)}}@keyframes dailyWinnerTrainerCinema{0%,100%{transform:scaleX(-1) translateX(24%) translateY(0)}48%{transform:scaleX(-1) translateX(24%) translateY(-1.3rem) rotate(-6deg);filter:drop-shadow(0 0 1.4rem #dfff74) saturate(1.5)}}@keyframes dailyWinnerVisitorCinema{0%,100%{transform:translateX(-24%) translateY(0)}48%{transform:translateX(-24%) translateY(-1.3rem) rotate(6deg);filter:drop-shadow(0 0 1.4rem #dfff74) saturate(1.5)}}@keyframes dailyLoserVisitorCinema{0%{transform:translateX(-24%)}75%,100%{transform:translateX(-8%) translateY(1.7rem) rotate(78deg) scale(.82);filter:grayscale(.55) brightness(.55)}}@keyframes dailyLoserTrainerCinema{0%{transform:scaleX(-1) translateX(24%)}75%,100%{transform:scaleX(-1) translateX(8%) translateY(1.7rem) rotate(-78deg) scale(.82);filter:grayscale(.55) brightness(.55)}}@media(max-width:44rem){.daily-duel-cinematic{min-height:17.5rem!important;padding:.9rem .2rem .25rem!important}.daily-duel-cinematic .daily-fighter{height:14rem!important}.daily-duel-cinematic .daily-fighter img,.daily-duel-cinematic .daily-fighter-canvas{height:11.5rem!important;width:125%!important}.daily-duel-cinematic .daily-trainer{transform:scaleX(-1) translateX(17%)}.daily-duel-cinematic .daily-visitor{transform:translateX(-17%)}.daily-duel-cinematic .daily-power-wave{width:2.6rem;height:2.6rem}.daily-duel-cinematic .daily-impact-ring{width:3.3rem;height:3.3rem}}
/* v166: até cinco bichinhos ficam no cenário; a gaveta inicia no sexto. */
.pet-collection:not(.collection-side-queue)[data-count="5"]{left:3%;right:3%;gap:.18rem}.pet-collection:not(.collection-side-queue)[data-count="5"] .collection-pet{width:clamp(3.6rem,15vw,5.8rem);max-width:20%;height:clamp(4.5rem,20vh,7.2rem)}.pet-collection:not(.collection-side-queue)[data-count="5"] .collection-pet img{height:calc(100% - .85rem)}@media(max-width:44rem){.pet-collection:not(.collection-side-queue)[data-count="5"]{bottom:2.8rem;gap:.1rem}.pet-collection:not(.collection-side-queue)[data-count="5"] .collection-pet{width:clamp(2.65rem,14vw,4.1rem);height:clamp(3.4rem,16vh,5rem)}.pet-collection:not(.collection-side-queue)[data-count="5"] .collection-pet strong{font-size:.38rem}}

/* v167: o pet ativo ocupa o centro; os companheiros aguardam nas laterais. */
.pet-collection.collection-stage-companions{position:absolute;z-index:14;inset:0;display:block;pointer-events:none}.pet-collection.collection-stage-companions .collection-pet{position:absolute;z-index:2;display:grid;place-items:end center;width:clamp(3.35rem,10vw,6rem);max-width:none;height:clamp(4.2rem,19vh,7.4rem;margin:0;padding:0;pointer-events:auto;filter:drop-shadow(0 .55rem .45rem rgba(0,0,0,.58));transition:transform .22s ease,filter .22s ease}.pet-collection.collection-stage-companions .collection-pet img{height:calc(100% - .9rem)}.pet-collection.collection-stage-companions .collection-pet strong{font-size:clamp(.38rem,.8vw,.56rem);max-width:110%}.pet-collection.collection-stage-companions .collection-pet:hover,.pet-collection.collection-stage-companions .collection-pet:focus-visible{transform:translateY(-.35rem) scale(1.08);filter:drop-shadow(0 0 .7rem #caff70)}.pet-collection.collection-stage-companions[data-count="2"] .collection-companion-0{left:4%;bottom:12%}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-0{left:4%;bottom:13%}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-1{right:4%;bottom:13%}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-0{left:4%;top:30%}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-1{left:4%;bottom:12%}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-2{right:4%;bottom:13%}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-0{left:4%;top:25%}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-1{left:4%;bottom:12%}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-2{right:4%;top:25%}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-3{right:4%;bottom:12%}@media(max-width:44rem){.pet-collection.collection-stage-companions .collection-pet{width:clamp(2.45rem,13vw,3.8rem);height:clamp(3.15rem,15vh,4.7rem)}.pet-collection.collection-stage-companions[data-count="2"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-1,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-1{left:1.5%}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-1,.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-2,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-2,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-3{right:1.5%}}
/* v168: espalhamento visível — os companheiros aguardam como guarda-costas nos quatro cantos. */
.pet-collection.collection-stage-companions{z-index:12!important}.pet-collection.collection-stage-companions .collection-pet{z-index:2!important;width:clamp(3.8rem,12vw,7.2rem)!important;height:clamp(5rem,23vh,8.7rem)!important;opacity:.96}.pet-collection.collection-stage-companions .collection-pet::before{content:"AGUARDANDO";position:absolute;top:-.45rem;left:50%;padding:.12rem .28rem;border:1px solid rgba(199,255,105,.4);border-radius:99px;color:#e8ffd3;background:rgba(4,28,34,.86);font:900 clamp(.32rem,.55vw,.46rem)/1 inherit;letter-spacing:.06em;transform:translateX(-50%);white-space:nowrap}.pet-collection.collection-stage-companions .collection-pet img{height:calc(100% - 1.05rem)!important}.pet-collection.collection-stage-companions[data-count="2"] .collection-companion-0{left:1.5%!important;top:20%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-0{left:1.5%!important;top:18%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-1{right:1.5%!important;top:18%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-0{left:1.5%!important;top:13%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-1{left:1.5%!important;right:auto!important;top:auto!important;bottom:4%!important}.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-2{right:1.5%!important;top:13%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-0{left:1.5%!important;top:13%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-1{left:1.5%!important;right:auto!important;top:auto!important;bottom:4%!important}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-2{right:1.5%!important;top:13%!important;bottom:auto!important}.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-3{right:1.5%!important;top:auto!important;bottom:4%!important}@media(max-width:44rem){.pet-collection.collection-stage-companions .collection-pet{width:clamp(2.65rem,14vw,4.5rem)!important;height:clamp(3.6rem,17vh,5.6rem)!important}.pet-collection.collection-stage-companions .collection-pet::before{display:none}.pet-collection.collection-stage-companions[data-count="2"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-0,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-0{left:.5%!important}.pet-collection.collection-stage-companions[data-count="3"] .collection-companion-1,.pet-collection.collection-stage-companions[data-count="4"] .collection-companion-2,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-2,.pet-collection.collection-stage-companions[data-count="5"] .collection-companion-3{right:.5%!important}}

/* v170: acompanhantes sem ocupar o canto superior esquerdo. */
.pet-collection.collection-stage-companions .collection-companion-0{left:1.25%!important;right:auto!important;top:auto!important;bottom:3%!important}
.pet-collection.collection-stage-companions .collection-companion-1{right:1.25%!important;left:auto!important;top:12%!important;bottom:auto!important}
.pet-collection.collection-stage-companions .collection-companion-2{right:1.25%!important;left:auto!important;top:auto!important;bottom:3%!important}
.pet-collection.collection-stage-companions .collection-companion-3{right:1.25%!important;left:auto!important;top:46%!important;bottom:auto!important}
@media(max-width:44rem){
 .pet-collection.collection-stage-companions .collection-companion-0{left:.4%!important;bottom:3%!important}
 .pet-collection.collection-stage-companions .collection-companion-1{right:.4%!important;top:16%!important}
 .pet-collection.collection-stage-companions .collection-companion-2{right:.4%!important;bottom:3%!important}
 .pet-collection.collection-stage-companions .collection-companion-3{right:.4%!important;top:48%!important}
}
/* v172: acompanhantes em espera maiores, ainda separados do pet em cuidado. */
.pet-collection.collection-stage-companions .collection-pet{
  width:clamp(4.8rem,14.5vw,8.6rem)!important;
  height:clamp(6rem,27vh,10.2rem)!important;
}
.pet-collection.collection-stage-companions .collection-pet img{height:calc(100% - 1.05rem)!important}
@media(max-width:44rem){
  .pet-collection.collection-stage-companions .collection-pet{
    width:clamp(3.2rem,17vw,5.4rem)!important;
    height:clamp(4.2rem,20vh,6.6rem)!important;
  }
}
/* v173: ranking dos dez bichinhos mais fortes. */
body:not(.game-active) .top-ranking-pets{display:none!important}
.top-ranking-pets{min-height:2.35rem;padding:.48rem .72rem;border:1px solid rgba(255,209,93,.56);border-radius:.72rem;color:#fff8dc;background:linear-gradient(145deg,rgba(116,75,19,.96),rgba(48,28,8,.98));font:900 .68rem/1 inherit;cursor:pointer;box-shadow:0 .35rem .9rem rgba(0,0,0,.25)}
.pet-ranking-dialog{position:relative;width:min(94vw,56rem);max-width:none;max-height:min(92dvh,48rem);padding:0;overflow:hidden;border:1px solid rgba(255,222,122,.54);border-radius:1.25rem;color:#fffaf0;background:radial-gradient(circle at 76% 0,rgba(255,204,75,.2),transparent 22rem),linear-gradient(145deg,#1d1606,#102433 58%,#111228);box-shadow:0 2rem 6rem #000d,0 0 3rem rgba(255,202,74,.18)}
.pet-ranking-dialog::backdrop{background:rgba(1,8,14,.82);backdrop-filter:blur(.5rem)}
.pet-ranking-dialog header{padding:1.15rem 1.35rem .85rem;border-bottom:1px solid rgba(255,233,166,.18)}
.pet-ranking-dialog header>span{color:#ffe17a;font-size:.6rem;font-weight:950;letter-spacing:.18em}.pet-ranking-dialog h2{margin:.2rem 0;font-size:clamp(1.35rem,3vw,2.25rem)}.pet-ranking-dialog header p{margin:0;color:#cbd8d0;font-size:.76rem}
.ranking-close{position:absolute;z-index:2;top:.65rem;right:.75rem;display:grid;place-items:center;width:2.4rem;height:2.4rem;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;background:rgba(7,20,29,.7);font-size:1.25rem;cursor:pointer}
.ranking-head,.ranking-row{display:grid;grid-template-columns:4.2rem minmax(11rem,1fr) minmax(4.5rem,.55fr) minmax(4.5rem,.55fr) minmax(4.5rem,.55fr);align-items:center;gap:.55rem}.ranking-head{padding:.65rem 1.25rem;color:#ffe58d;font-size:.61rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.ranking-list{max-height:min(60dvh,32rem);padding:0 .8rem .7rem;overflow:auto}.ranking-row{min-height:4.45rem;margin:.32rem 0;padding:.38rem .5rem;border:1px solid rgba(202,239,225,.13);border-radius:.72rem;background:rgba(255,255,255,.045)}.ranking-row> b{justify-self:center;font-size:1rem}.ranking-row>output{padding:.38rem .42rem;border-radius:.48rem;color:#eefff7;background:rgba(4,21,32,.75);font:.8rem/1 inherit;text-align:center}.ranking-pet{display:flex;align-items:center;min-width:0;gap:.55rem}.ranking-pet img{width:3.35rem;height:3.35rem;object-fit:contain;filter:drop-shadow(0 .3rem .3rem rgba(0,0,0,.55))}.ranking-pet span{display:grid;min-width:0;gap:.14rem}.ranking-pet strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranking-pet small{overflow:hidden;color:#a9c5bd;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.ranking-place-1{border-color:#ffe36f;background:linear-gradient(90deg,rgba(255,206,64,.17),rgba(255,255,255,.045))}.ranking-place-2{border-color:rgba(222,237,245,.5)}.ranking-place-3{border-color:rgba(237,165,97,.55)}.ranking-status{min-height:1.35rem;margin:0;padding:0 1.25rem .9rem;color:#c8ffd4;font-size:.7rem;text-align:center}
@media(max-width:44rem){.top-ranking-pets{min-height:2rem;padding:.38rem .5rem;font-size:.58rem}.pet-ranking-dialog{width:100vw;max-height:100dvh;border:0;border-radius:0}.pet-ranking-dialog header{padding:.8rem 3.4rem .65rem .8rem}.pet-ranking-dialog h2{font-size:1.35rem}.ranking-head,.ranking-row{grid-template-columns:2.35rem minmax(7.5rem,1fr) minmax(3.5rem,.48fr) minmax(3.5rem,.48fr) minmax(3.5rem,.48fr);gap:.2rem}.ranking-head{padding:.5rem .35rem;font-size:.45rem}.ranking-list{max-height:calc(100dvh - 10rem);padding:0 .3rem .4rem}.ranking-row{min-height:3.7rem;padding:.25rem}.ranking-row>output{padding:.28rem .12rem;font-size:.58rem}.ranking-pet{gap:.25rem}.ranking-pet img{width:2.7rem;height:2.7rem}.ranking-pet strong{font-size:.66rem}.ranking-pet small{font-size:.48rem}.ranking-status{padding:0 .5rem .5rem;font-size:.58rem}}
/* v174: ranking compacto e legível em navegador de celular. */
.pet-ranking-dialog{width:min(96vw,40rem)!important;max-height:min(86dvh,35rem)!important}.pet-ranking-dialog header{padding:.9rem 3.4rem .65rem 1rem!important}.pet-ranking-dialog header>span{font-size:.54rem!important}.pet-ranking-dialog h2{font-size:clamp(1.15rem,4vw,1.65rem)!important}.pet-ranking-dialog header p{font-size:.66rem!important}.ranking-head,.ranking-row{grid-template-columns:2.8rem minmax(8.5rem,1fr) minmax(3.8rem,.54fr) minmax(3.8rem,.54fr) minmax(3.8rem,.54fr)!important;gap:.3rem!important}.ranking-head{padding:.48rem .65rem!important;font-size:.49rem!important}.ranking-list{max-height:min(61dvh,25rem)!important;padding:0 .45rem .45rem!important}.ranking-row{min-height:3.8rem!important;margin:.22rem 0!important;padding:.26rem .35rem!important}.ranking-row>output{padding:.28rem .15rem!important;font-size:.64rem!important}.ranking-pet{gap:.32rem!important}.ranking-pet img{width:2.9rem!important;height:2.9rem!important}.ranking-pet strong{font-size:.7rem!important}.ranking-pet small{font-size:.52rem!important}.ranking-status{padding:0 .65rem .6rem!important;font-size:.61rem!important}
@media (pointer:coarse){.pet-ranking-dialog{width:98vw!important;max-height:90dvh!important;border-radius:1rem!important}.ranking-list{max-height:calc(90dvh - 9.2rem)!important}.ranking-close{top:.42rem!important;right:.45rem!important;width:2.1rem!important;height:2.1rem!important}.ranking-head,.ranking-row{grid-template-columns:2.15rem minmax(7.2rem,1fr) minmax(3.25rem,.48fr) minmax(3.25rem,.48fr) minmax(3.25rem,.48fr)!important}.ranking-head{font-size:.43rem!important}.ranking-row{min-height:3.45rem!important}.ranking-row>output{font-size:.56rem!important}.ranking-pet img{width:2.55rem!important;height:2.55rem!important}.ranking-pet strong{font-size:.63rem!important}.ranking-pet small{font-size:.47rem!important}}
/* v175: ranking em grade — dez bichinhos visíveis sem rolagem. */
.pet-ranking-dialog{width:min(98vw,43rem)!important;max-height:94dvh!important;overflow:visible!important}.pet-ranking-dialog header{padding:.65rem 3.2rem .42rem .75rem!important}.pet-ranking-dialog header>span{font-size:.48rem!important}.pet-ranking-dialog h2{margin:.08rem 0!important;font-size:clamp(1rem,3vw,1.35rem)!important}.pet-ranking-dialog header p{font-size:.57rem!important}.ranking-close{position:absolute!important;z-index:20!important;top:.45rem!important;right:.5rem!important;display:grid!important;width:2rem!important;height:2rem!important;color:#fff!important;background:#24384b!important;font-size:1.2rem!important;line-height:1!important}.ranking-head{display:none!important}.ranking-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:.22rem!important;max-height:none!important;height:auto!important;padding:0 .42rem .25rem!important;overflow:hidden!important}.ranking-row{display:grid!important;grid-template-columns:1.35rem minmax(0,1fr) 2.5rem 2.5rem 2.5rem!important;align-items:center!important;min-height:2.85rem!important;height:2.85rem!important;margin:0!important;padding:.16rem .22rem!important;gap:.12rem!important;border-radius:.5rem!important}.ranking-row> b{font-size:.72rem!important}.ranking-row>output{padding:.19rem .04rem!important;border-radius:.3rem!important;font-size:.45rem!important;white-space:nowrap}.ranking-pet{gap:.18rem!important;min-width:0!important}.ranking-pet img{width:2.15rem!important;height:2.15rem!important}.ranking-pet strong{font-size:.54rem!important}.ranking-pet small{font-size:.4rem!important}.ranking-status{min-height:.85rem!important;padding:0 .45rem .4rem!important;font-size:.49rem!important}
@media(max-width:44rem),(pointer:coarse){.pet-ranking-dialog{width:99vw!important;max-height:96dvh!important;border-radius:.75rem!important}.pet-ranking-dialog header{padding:.55rem 2.8rem .32rem .55rem!important}.ranking-list{gap:.14rem!important;padding:0 .2rem .15rem!important}.ranking-row{grid-template-columns:1.15rem minmax(0,1fr) 2.05rem 2.05rem 2.05rem!important;min-height:2.5rem!important;height:2.5rem!important;padding:.1rem!important}.ranking-row> b{font-size:.6rem!important}.ranking-row>output{font-size:.38rem!important}.ranking-pet img{width:1.85rem!important;height:1.85rem!important}.ranking-pet strong{font-size:.47rem!important}.ranking-pet small{font-size:.36rem!important}.ranking-status{font-size:.43rem!important}}
/* v177: Ranking no padrão verde do BurblePet e fotos compactas. */
.top-ranking-pets{border-color:rgba(183,245,91,.62)!important;color:#102018!important;background:linear-gradient(135deg,#dfff78,#6ff5c2)!important;box-shadow:0 .35rem .9rem rgba(55,236,177,.22)!important}
.pet-ranking-dialog{border-color:rgba(126,255,221,.48)!important;background:radial-gradient(circle at 76% 0,rgba(111,245,194,.18),transparent 22rem),linear-gradient(145deg,#0a3033,#071a28 60%,#0a3328)!important;box-shadow:0 2rem 6rem #000d,0 0 3rem rgba(83,255,211,.17)!important}.pet-ranking-dialog header{border-bottom-color:rgba(126,255,221,.18)!important}.pet-ranking-dialog header>span,.ranking-head{color:#9fffe1!important}.ranking-close{border-color:rgba(126,255,221,.48)!important;color:#092019!important;background:linear-gradient(135deg,#dfff78,#6ff5c2)!important}.ranking-row{border-color:rgba(126,255,221,.16)!important;background:rgba(6,42,42,.62)!important}.ranking-place-1{border-color:#dfff78!important;background:linear-gradient(90deg,rgba(183,245,91,.18),rgba(6,42,42,.62))!important}.ranking-place-2{border-color:rgba(126,255,221,.42)!important}.ranking-place-3{border-color:rgba(115,234,193,.52)!important}.ranking-row>output{color:#eafff7!important;background:#061f29!important}.ranking-pet img{width:2rem!important;height:2rem!important;max-width:2rem!important;max-height:2rem!important;object-fit:contain!important}.ranking-pet small,.ranking-status{color:#bfe7da!important}
/* v178: ranking cinza-claro e botão verde garantido. */
.pet-ranking-dialog{background:linear-gradient(145deg,#f7faf8,#dce6e1 58%,#cfdcd6)!important;color:#17362e!important;border-color:#83b9a2!important;box-shadow:0 1.5rem 4rem rgba(0,0,0,.42)!important}.pet-ranking-dialog::backdrop{background:rgba(5,21,17,.66)!important}.pet-ranking-dialog header{border-bottom-color:#aac6b8!important;background:rgba(255,255,255,.48)!important}.pet-ranking-dialog header>span,.ranking-head{color:#27745b!important}.pet-ranking-dialog header p{color:#40645a!important}.ranking-close{color:#103426!important;background:linear-gradient(135deg,#dfff78,#6ff5c2)!important;border-color:#6baf8f!important}.ranking-row{background:rgba(255,255,255,.78)!important;border-color:#b7d0c4!important;box-shadow:0 .16rem .35rem rgba(16,64,49,.08)}.ranking-place-1{background:linear-gradient(90deg,#efffc9,#ffffff)!important;border-color:#b4d862!important}.ranking-place-2{border-color:#a9bfc3!important}.ranking-place-3{border-color:#d4ad81!important}.ranking-row>output{color:#144234!important;background:#e3f0e9!important}.ranking-pet strong{color:#17362e!important}.ranking-pet small,.ranking-status{color:#426b5e!important}
/* v180: menu de opções compacto e profissional. */
.game-options-menu{width:min(16.4rem,calc(100vw - .8rem))!important;gap:.24rem!important;padding:.34rem!important;border-radius:.78rem!important;background:linear-gradient(150deg,rgba(7,42,49,.985),rgba(3,18,31,.99))!important;box-shadow:0 .85rem 2rem rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.1)!important}.game-options-menu button,.game-options-menu .admin-dashboard{min-height:2.05rem!important;padding:.35rem .42rem!important;border-radius:.48rem!important;font-size:.58rem!important;line-height:1.05!important;letter-spacing:0!important}.game-options-menu button{gap:.26rem!important;border-color:rgba(157,232,218,.18)!important;background:rgba(15,58,66,.7)!important}.game-options-menu button:hover,.game-options-menu button:focus-visible{background:rgba(33,89,78,.96)!important}.game-options-menu .admin-dashboard{display:flex!important;align-items:center!important;min-height:2.05rem!important;padding:.35rem .42rem!important;border-radius:.48rem!important;font-size:.58rem!important;line-height:1.05!important}.game-options-menu .delete-account{background:rgba(109,23,46,.84)!important}.game-options-menu .logout{background:rgba(52,70,84,.88)!important}
@media(max-width:44rem){.game-options-menu{width:min(15.2rem,calc(100vw - .55rem))!important;gap:.18rem!important;padding:.26rem!important;border-radius:.65rem!important}.game-options-menu button,.game-options-menu .admin-dashboard{min-height:1.78rem!important;padding:.27rem .34rem!important;border-radius:.4rem!important;font-size:.52rem!important}.game-options-menu .admin-dashboard{min-height:1.78rem!important;font-size:.52rem!important}}
/* v182: tamanho individual e área segura para patas na casa. */
.home-pet-size-control{display:grid;grid-template-columns:1fr auto;gap:.28rem .45rem;align-items:center;margin:.5rem 0;padding:.45rem .55rem;border:1px solid rgba(116,255,215,.24);border-radius:.7rem;color:#dffff6;background:rgba(6,35,44,.8);font-size:.64rem;font-weight:800}.home-pet-size-control input{grid-column:1/-1;width:100%;accent-color:#9bff68}.home-pet-size-control output{min-width:2.3rem;color:#caff70;text-align:right;font-size:.62rem;font-weight:950}

/* v183: lâmpada discreta no canto superior, livre de controles e do bichinho. */
.room-scene>.night-light-toggle,body.game-active .room-scene>.night-light-toggle{top:.42rem!important;right:.42rem!important;bottom:auto!important;left:auto!important;display:grid!important;place-items:center!important;width:2rem!important;height:2rem!important;min-width:2rem!important;padding:0!important;border-radius:50%!important}.room-scene>.night-light-toggle small{display:none!important}.room-scene>.night-light-toggle span{font-size:.92rem!important}
@media(max-width:44rem){.room-scene>.night-light-toggle,body.game-active .room-scene>.night-light-toggle{top:.3rem!important;right:.3rem!important;width:1.8rem!important;height:1.8rem!important;min-width:1.8rem!important}}

/* v184: reserva visual também respeita o tamanho e nunca fica atrás da faixa inferior. */
body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-fallback{bottom:12%!important;width:min(43%,21rem)!important;height:70%!important;max-height:70%!important;object-position:center bottom!important;transform:translateX(-50%) scale(var(--home-pet-user-scale,1))!important;transform-origin:50% 100%!important}body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-rig{overflow:visible!important}
@media(max-width:44rem){body.game-active .pet-viewport:not(.pet-is-egg):not(.sprite-rendering) .pet-fallback{bottom:13%!important;width:min(50%,18rem)!important;height:67%!important;max-height:67%!important}}

/* v192: Hall da Força — painel escuro, compacto e legível. */
.top-ranking-pets{border:1px solid #69e7b4!important;color:#06231d!important;background:linear-gradient(135deg,#baff75,#6ff5c2)!important;box-shadow:0 .28rem .7rem #10271c55!important}
.pet-ranking-dialog{width:min(96vw,46rem)!important;max-width:46rem!important;max-height:min(90dvh,42rem)!important;padding:0!important;overflow:hidden!important;border:1px solid #58d4ad99!important;border-radius:1.1rem!important;color:#ecfff8!important;background:radial-gradient(circle at 88% 0,#49d6aa30,transparent 35%),linear-gradient(145deg,#071f29,#06141e 56%,#082a25)!important;box-shadow:0 2rem 5rem #000b!important}
.pet-ranking-dialog::backdrop{background:#02090dd1!important;backdrop-filter:blur(.35rem)}
.pet-ranking-dialog header{padding:.85rem 3rem .65rem 1rem!important;border-bottom:1px solid #6ee2b62e!important;background:linear-gradient(90deg,#0d3440c9,#0a201ecc)!important}.pet-ranking-dialog header>span{color:#85ffd4!important;font-size:.55rem!important;font-weight:950!important;letter-spacing:.16em!important}.pet-ranking-dialog h2{margin:.12rem 0!important;color:#f1fff9!important;font-size:clamp(1.1rem,3vw,1.55rem)!important}.pet-ranking-dialog header p{margin:0!important;color:#b2d8cf!important;font-size:.63rem!important}.ranking-close{top:.5rem!important;right:.6rem!important;width:2rem!important;height:2rem!important;border:1px solid #76e4bd99!important;border-radius:.6rem!important;color:#08241e!important;background:linear-gradient(135deg,#d8ff7b,#68efbb)!important;font-size:1.22rem!important;line-height:1!important}
.ranking-head{display:none!important}.ranking-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.42rem!important;max-height:calc(90dvh - 7.2rem)!important;padding:.58rem!important;overflow:auto!important}.ranking-row{display:grid!important;grid-template-columns:1.42rem minmax(0,1fr) repeat(3,2.55rem)!important;align-items:center!important;min-height:3.65rem!important;margin:0!important;padding:.3rem!important;gap:.2rem!important;border:1px solid #75dbbf2e!important;border-radius:.72rem!important;background:linear-gradient(135deg,#0b2b35,#092027)!important;box-shadow:inset 0 1px #ffffff08!important}.ranking-row> b{justify-self:center!important;color:#f5da74!important;font-size:.68rem!important}.ranking-row>output{min-width:0!important;padding:.3rem .08rem!important;border:1px solid #7dedd140!important;border-radius:.4rem!important;color:#d8fff2!important;background:#04171d!important;font-size:.5rem!important;font-weight:850!important;line-height:1.05!important;text-align:center!important}.ranking-pet{min-width:0!important;gap:.32rem!important}.ranking-pet img{width:2.35rem!important;height:2.35rem!important;max-width:2.35rem!important;max-height:2.35rem!important;object-fit:contain!important}.ranking-pet span{min-width:0!important}.ranking-pet strong{color:#f2fffa!important;font-size:.63rem!important}.ranking-pet small{color:#9bcfc0!important;font-size:.47rem!important}.ranking-place-1{border-color:#f6dd708f!important;background:linear-gradient(135deg,#513f0c55,#0b2b35)!important}.ranking-place-2{border-color:#bde9ed65!important}.ranking-place-3{border-color:#e6a76c70!important}.ranking-status{min-height:1rem!important;margin:0!important;padding:0 .65rem .5rem!important;color:#99d7c4!important;font-size:.54rem!important}
@media(max-width:44rem),(pointer:coarse){.pet-ranking-dialog{width:min(97vw,27rem)!important;max-height:88dvh!important;border-radius:.85rem!important}.pet-ranking-dialog header{padding:.7rem 2.75rem .5rem .72rem!important}.pet-ranking-dialog h2{font-size:1.1rem!important}.pet-ranking-dialog header p{font-size:.55rem!important}.ranking-list{grid-template-columns:1fr!important;gap:.22rem!important;max-height:calc(88dvh - 6.45rem)!important;padding:.35rem!important}.ranking-row{grid-template-columns:1.2rem minmax(0,1fr) repeat(3,2.32rem)!important;min-height:2.95rem!important;padding:.16rem .18rem!important}.ranking-row> b{font-size:.59rem!important}.ranking-row>output{font-size:.43rem!important}.ranking-pet img{width:2rem!important;height:2rem!important;max-width:2rem!important;max-height:2rem!important}.ranking-pet strong{font-size:.55rem!important}.ranking-pet small{font-size:.42rem!important}.ranking-status{font-size:.47rem!important}}