/* V50.75: the original Halloween Mysteries layout and controls, scoped to Imagination. */
/* Halloween Mysteries — alterações isoladas da sala; sem regras para a Cândido Arena. */
#ca-dream-rooms[hidden],#ca-dream-rooms [hidden]{display:none!important}
#ca-dream-rooms{position:fixed;inset:0;z-index:1200000;overflow:hidden;background:#77c9f5 url('../imagens/ilhas/fundo-arquipelago-candido.png') center/cover fixed no-repeat;color:#fff;font-family:Trebuchet MS,Arial,sans-serif}
body.ca-imagination-open{overflow:hidden}
#ca-dream-rooms .ha-viewport{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;touch-action:none}
#ca-dream-rooms .ha-scene{position:absolute;top:0;left:0;width:1670px;height:942px;max-width:none;min-height:0;transform-origin:top left;background:#20365a url('sala.png') center/100% 100% no-repeat;overflow:hidden;touch-action:manipulation}
/* Cabeçalho autêntico compartilhado com as demais telas, no layout da Arena. */
#ca-dream-rooms header.top{position:absolute!important;top:7px!important;left:auto!important;right:8px!important;width:auto!important;max-width:calc(100% - 155px)!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:4000;backdrop-filter:none!important}
#ca-dream-rooms header.top .brand{display:none!important}
#ca-dream-rooms header.top .flex{display:flex!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:nowrap!important;background:transparent!important}
#ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:11px!important;padding:5px 7px!important;min-width:0!important;min-height:0!important}
#ca-dream-rooms .ha-island-nav{position:absolute;z-index:4100;top:8px;left:8px;right:8px;min-height:34px;display:flex;align-items:center;justify-content:center;pointer-events:none}
#ca-dream-rooms .ha-island-nav #ca-room-exit{position:absolute;left:0;top:0;pointer-events:auto}
#ca-dream-rooms .ha-nav-title{font-size:clamp(12px,1.4vw,21px);font-weight:900;text-shadow:0 2px 3px #000b;white-space:nowrap}
#ca-dream-rooms button:not(.sound-toggle):not(#logout){cursor:pointer}
#ca-dream-rooms .ha-pad button,#ca-dream-rooms .ha-dialog button,#ca-dream-rooms .ha-candy{background:linear-gradient(#4db4ee,#1763ae);border:3px solid #d9b76c;border-bottom-width:6px;border-radius:22px;color:white;font-weight:900;padding:9px 14px;text-shadow:0 2px #17477a;box-shadow:0 5px 9px #0003}
#ca-dream-rooms .ha-actor{position:absolute;top:0;left:0;width:4.5%;text-align:center;pointer-events:none;z-index:1400;will-change:transform}
#ca-dream-rooms .ha-puppet{position:relative;transform-origin:50% 90%}
#ca-dream-rooms .ha-actor img{width:100%;max-height:140px;object-fit:contain;filter:drop-shadow(0 4px 3px #0007)}
#ca-dream-rooms .ha-actor span{display:block;background:#1e3159d9;border-radius:9px;padding:2px;font-size:11px;white-space:nowrap;overflow:visible}
/* Clique/toque e WASD compartilham a animação idêntica de caminhada. */
#ca-dream-rooms .ha-actor.walk .ha-puppet{animation:ha-walk-v8 .34s ease-in-out infinite alternate}
#ca-dream-rooms .ha-actor.walk .ha-puppet>img{animation:ha-walk-tilt .34s ease-in-out infinite alternate}
@keyframes ha-walk-v8{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes ha-walk-tilt{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
/* Posições preservadas; só o botão do minigame é movido para a bandeira na árvore direita. */
#ca-dream-rooms .ha-pumpkin{position:absolute;left:47%;top:40%;width:9%;height:19%;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;z-index:1300;cursor:pointer}
#ca-dream-rooms .ha-pumpkin img{width:100%;height:100%;object-fit:contain}
#ca-dream-rooms .ha-candy{position:absolute;left:85.5%;top:48.5%;width:10.2%;z-index:1400;transform:rotate(-3deg);font-size:11px;padding:5px 4px;line-height:1.15;white-space:nowrap}
#ca-dream-rooms .ha-dialog{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(600px,94vw);background:#fff9ed;border:4px solid #d9b76c;border-radius:20px;color:#20365a;padding:20px;z-index:5000;box-shadow:0 12px 40px #0008}
#ca-dream-rooms .ha-dialog p{line-height:1.5}
#ca-dream-rooms .ha-pad{position:absolute;z-index:4200;bottom:0;left:50%;transform:translateX(-50%);display:none;gap:8px;justify-content:center;padding:12px;pointer-events:auto}
#ca-dream-rooms .ha-pad button{min-width:55px;touch-action:none}
#ca-dream-rooms #ha-candy-toast{position:fixed;z-index:5500;left:50%;bottom:24px;transform:translateX(-50%);width:min(600px,90vw);padding:14px 18px;border:3px solid #fbd76b;border-radius:14px;background:#24104e;color:white;text-align:center;font-weight:800;box-shadow:0 10px 25px #0007}
#ca-dream-roomslloween-transition{position:fixed;inset:0;z-index:1200001;display:none;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:24px;background:#164b80 url('../imagens/ilhas/fundo-arquipelago-candido.png') center/cover no-repeat;color:#fff;font:700 19px Trebuchet MS,Arial,sans-serif}
#ca-dream-roomslloween-transition.ca-show{display:flex}
#ca-dream-roomslloween-transition img{width:min(80vw,320px);max-height:38vh;object-fit:contain;filter:drop-shadow(0 8px 18px #0005)}
#ca-dream-roomslloween-transition .ha-spinner{width:66px;height:66px;border:6px solid #ffffff50;border-top-color:#fff6a8;border-radius:50%;animation:ha-spin .85s linear infinite}
@keyframes ha-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){#ca-dream-rooms header.top{max-width:calc(100% - 120px)!important}#ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:10px!important;padding:4px!important}#ca-dream-rooms .ha-island-nav{top:4px;left:4px;right:4px;justify-content:flex-start}#ca-dream-rooms #ca-room-exit{font-size:11px!important;padding:5px 8px!important}#ca-dream-rooms .ha-nav-title{position:absolute;top:40px;left:50%;transform:translateX(-50%);font-size:14px;max-width:85vw;overflow:hidden;text-overflow:ellipsis}#ca-dream-rooms .ha-pad{display:flex}#ca-dream-rooms .ha-candy{font-size:10px}}
@media(prefers-reduced-motion:reduce){#ca-dream-rooms .ha-actor.walk .ha-puppet,#ca-dream-rooms .ha-actor.walk .ha-puppet>img,#ca-dream-roomslloween-transition .ha-spinner{animation:none!important}}

/* V50.35 — somente ajustes solicitados na sala de Halloween */
#ca-dream-rooms .ha-island-nav{justify-content:flex-start;right:auto;z-index:4500}
#ca-dream-rooms .ha-actor span{position:absolute;top:100%;left:50%;transform:translateX(-50%);display:block;width:max-content;max-width:180px;background:#fff2aa!important;color:#17344e!important;font-size:clamp(8px,.85vw,13px)!important;font-weight:800!important;padding:3px 6px!important;border-radius:5px!important;line-height:1.15!important;white-space:nowrap}
#ca-dream-rooms .ha-bubble:not(:empty){position:absolute;bottom:105%;left:50%;transform:translateX(-50%);padding:6px 10px;white-space:nowrap;color:#17344e;background:white;border:2px solid #d9b76c;border-radius:12px;font-size:12px;z-index:1700;box-shadow:0 4px 12px #0004}
#ca-dream-rooms .ha-speech{position:absolute;z-index:4500;bottom:14px;left:14px;pointer-events:auto;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px}
#ca-dream-rooms #ca-room-speech-toggle,#ca-dream-rooms .ha-speech-menu button{background:linear-gradient(#4db4ee,#1763ae);border:3px solid #d9b76c;border-bottom-width:5px;border-radius:17px;color:white;font-weight:900;padding:7px 12px;text-shadow:none!important;box-shadow:0 5px 9px #0003;cursor:pointer}
#ca-dream-rooms .ha-speech-menu{width:min(310px,80vw);max-height:55vh;overflow-y:auto;display:flex;gap:5px;flex-wrap:wrap;padding:8px;border-radius:14px;background:#20103eea;border:2px solid #f6ca58}
#ca-dream-rooms .ha-speech-menu[hidden]{display:none!important}
#ca-dream-rooms .ha-speech-menu button{font-size:12px;padding:6px 9px;border-width:2px}
@media(max-width:700px){#ca-dream-rooms .ha-speech{left:7px;bottom:63px}#ca-dream-rooms #ca-room-speech-toggle{padding:5px 8px;font-size:11px}#ca-dream-rooms .ha-actor span{font-size:10px!important}}

/* V50.36: controle Voltar idêntico ao da Arena; deixa estilos da classe global .btn prevalecerem. */
#ca-dream-rooms .ha-island-nav #ca-room-exit{background:linear-gradient(165deg,#69bffb 0%,#2f85d3 56%,#205ca8 100%)!important;border:3px solid #c39b64!important;border-bottom:5px solid #805331!important;border-radius:20px!important;font-family:Trebuchet MS,system-ui,sans-serif;font-weight:900;white-space:nowrap!important;text-shadow:0 2px 2px #174c38,0 0 2px #174c38;box-shadow:inset 0 3px 0 #ffffff85,inset 0 -3px 0 #195f3799,0 5px 0 #60442d,0 9px 12px #183b4b45!important;box-sizing:border-box!important;min-height:48px;padding:12px 17px!important;line-height:1.25!important}
/* Os mesmos ajustes de posição/tamanho do botão Falas já aplicado na Arena. */
#ca-dream-rooms .ha-speech{bottom:14px!important;left:14px!important;gap:6px!important}
#ca-dream-rooms #ca-room-speech-toggle{border-bottom-width:5px!important;padding:7px 12px!important;border-radius:17px!important}
#ca-dream-rooms .ha-speech-menu{width:min(320px,85vw)!important;max-height:54vh!important;align-items:center!important;justify-content:flex-start!important}
#ca-dream-rooms .ha-speech-menu button{font-size:12px!important;padding:5px 8px!important;min-height:0!important;border-radius:12px!important}
@media(max-width:700px){
 #ca-dream-rooms .ha-speech{left:7px!important;bottom:12px!important}
 #ca-dream-rooms #ca-room-speech-toggle{font-size:11px!important;padding:5px 8px!important}
 #ca-dream-rooms .ha-island-nav #ca-room-exit{padding:7px 9px!important;font-size:12px!important;min-height:0!important}
}
@media(max-width:520px){#ca-dream-rooms .ha-island-nav #ca-room-exit{font-size:11px!important;padding:5px!important}}

/* V50.38: remover apenas sombras de letras e emojis das Falas de Halloween. */
#ca-dream-rooms .ha-speech,#ca-dream-rooms .ha-speech *{text-shadow:none!important;}

/* V50.39 — somente layout mobile de Halloween Mysteries.
   A Arena não apresenta setas sobrepostas para toque: o cenário aceita toques/cliques. */
#ca-dream-rooms .ha-pad{display:none!important}
/* Mesmo ponto de corte da Arena: entre 521 e 700 px não compactar cedo demais. */
@media (min-width:521px) and (max-width:700px){
 #ca-dream-rooms header.top{max-width:calc(100% - 155px)!important}
 #ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:11px!important;padding:5px 7px!important}
}
/* Na Arena, a compactação extra dos controles começa em 520 px. */
@media (max-width:520px){
 #ca-dream-rooms header.top{max-width:calc(100% - 120px)!important}
 #ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:10px!important;padding:4px!important}
}

/* V50.41 — outros aventureiros de Halloween, sobre a mesma cena da Arena. */
#ca-dream-rooms .ha-other-actors{position:absolute;inset:0;z-index:1360;pointer-events:none;overflow:visible}
#ca-dream-rooms .ha-other-actors .ha-peer{position:absolute;top:0;left:0;z-index:1360;width:4.5%;transition-property:transform;transition-timing-function:linear;pointer-events:none}
#ca-dream-rooms .ha-other-actors .ha-peer .ha-peer-art{width:100%;height:75px;max-height:140px;background-position:center bottom;background-repeat:no-repeat;background-size:contain;filter:drop-shadow(0 4px 3px #0007)}
#ca-dream-rooms .ha-other-actors .ha-peer span{background:#fff2aa!important;color:#17344e!important;max-width:150px;overflow:hidden;text-overflow:ellipsis}

/* V50.50: somente botão Falas e alinhamento do Voltar no celular. */
#ca-dream-rooms #ca-room-speech-toggle{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:var(--ha-speech-w,52px)!important;min-width:var(--ha-speech-w,52px)!important;max-width:var(--ha-speech-w,52px)!important;height:var(--ha-speech-h,52px)!important;min-height:var(--ha-speech-h,52px)!important;max-height:var(--ha-speech-h,52px)!important;font-size:clamp(23px,2.2vw,31px)!important;line-height:1!important;padding:0!important}
@media(max-width:700px){
 #ca-dream-rooms .ha-island-nav{top:var(--ha-back-top,4px)!important}
 #ca-dream-rooms .ha-island-nav #ca-room-exit{box-sizing:border-box!important;height:var(--ha-back-height,44px)!important;min-height:var(--ha-back-height,44px)!important;max-height:var(--ha-back-height,44px)!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:center!important}
}

/* V50.52: categorias de Falas com o mesmo padrão visual da Cândido Arena. */
#ca-dream-rooms .ha-speech-menu{box-sizing:border-box;display:block!important;color:white;padding:9px!important}
#ca-dream-rooms .ha-speech-category{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
#ca-dream-rooms .ha-speech-category strong{width:100%;font-size:12px;color:#fff5c6}
#ca-dream-rooms .ha-speech-category button{padding:6px 8px!important;min-height:0!important;font-size:12px!important;border-radius:9px!important}

/* V50.56 — clicar diretamente nas barracas, com sombra de interação ao se aproximar. */
#ca-dream-rooms .ha-booth{position:absolute;display:block;background:transparent!important;border:0!important;border-radius:20%!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;cursor:pointer;z-index:1300;color:transparent!important;font-size:0!important;touch-action:manipulation;transition:background .2s,box-shadow .2s,filter .2s}
#ca-dream-rooms .ha-carved.ha-booth{left:11.2%;top:25.5%;width:25%;height:31%}
#ca-dream-rooms .ha-candy.ha-booth{left:75.5%;top:36%;width:19.5%;height:32%}
#ca-dream-rooms .ha-booth:is(:hover,:focus-visible,.ha-near):not(.ha-cooldown){background:radial-gradient(ellipse,#ffe28905 36%,#ffe08c25 75%,#ffe08c50 100%)!important;box-shadow:0 0 22px 7px #ffe8a77c,inset 0 0 17px 5px #ffe8a755!important;filter:drop-shadow(0 0 7px #ffdf8b)}
#ca-dream-rooms .ha-booth:focus-visible{outline:3px solid #ffe07e!important;outline-offset:3px}
#ca-dream-rooms .ha-booth.ha-cooldown{cursor:not-allowed}
@media(prefers-reduced-motion:reduce){#ca-dream-rooms .ha-booth{transition:none}}

/* V50.58 — apenas o emoji ▶️, sem círculo, borda, fundo ou sombra de botão.
   O alvo de toque permanece acessível, e o limite diário oculta o emoji por completo. */
#ca-dream-rooms .ha-scene-play{
 position:absolute;z-index:1550;display:flex;justify-content:center;align-items:center;
 width:4.8%;aspect-ratio:1;border:0!important;border-radius:0!important;
 padding:0!important;margin:0!important;line-height:1!important;
 background:transparent!important;color:inherit!important;
 font-size:clamp(20px,2.8vw,30px)!important;text-shadow:0 1px 4px #140729!important;
 box-shadow:none!important;filter:none!important;
 transform:translate(-50%,-50%);cursor:pointer;touch-action:manipulation;
 transition:transform .15s,filter .15s;
}
#ca-dream-rooms .ha-scene-play[hidden]{display:none!important}
#ca-dream-rooms .ha-carved-play{left:25.2%;top:47.1%}
#ca-dream-rooms .ha-candy-play{left:89.4%;top:54.2%}
#ca-dream-rooms .ha-scene-play:is(:hover,:focus-visible){transform:translate(-50%,-50%) scale(1.12);filter:brightness(1.18)!important;box-shadow:none!important}
#ca-dream-rooms .ha-scene-play:focus-visible{outline:2px solid #fff5ac!important;outline-offset:1px}
#ca-dream-rooms .ha-scene-play.ha-cooldown{opacity:.7;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){#ca-dream-rooms .ha-scene-play{transition:none}}

/* V50.62 — Guardião Pumpkin: sem brilho; respiração leve sem mover a área clicável. */
#ca-dream-rooms .ha-pumpkin{border-radius:46%!important;touch-action:manipulation}
#ca-dream-rooms .ha-pumpkin img{
 display:block;
 transform-origin:50% 85%;
 animation:ha-pumpkin-breathe 3.8s ease-in-out infinite;
}
@keyframes ha-pumpkin-breathe{
 0%,100%{transform:translateY(0) scale(1)}
 50%{transform:translateY(-1px) scaleX(1.015) scaleY(1.03)}
}
/* A indicação de foco pelo teclado é discreta e não produz brilho ou sombra. */
#ca-dream-rooms .ha-pumpkin:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
@media(prefers-reduced-motion:reduce){#ca-dream-rooms .ha-pumpkin img{animation:none!important}}

/* Only the three scene assets and their clickable objects are new. */
#ca-dream-rooms{z-index:1200000!important}
#ca-dream-rooms[hidden]{display:none!important}
#ca-dream-rooms .ha-scene{background-size:100% 100%;background-repeat:no-repeat;background-position:center}
#ca-dream-rooms .ha-viewport,#ca-dream-rooms .ha-scene{cursor:default;}
#ca-dream-rooms .ha-other-actors{position:absolute;inset:0;pointer-events:none;z-index:1360}
#ca-dream-rooms .ha-peer{position:absolute;top:0;left:0;width:4.5%;z-index:1360;pointer-events:none;transition:transform 2200ms linear}
#ca-dream-rooms .ca-room-hotspot{position:absolute;z-index:1300;cursor:pointer;appearance:none;background:transparent;border:0;border-radius:20%;padding:0;outline:0;transition:filter .15s,box-shadow .15s}
#ca-dream-rooms .ca-room-hotspot:is(:hover,:focus-visible),#ca-dream-rooms .ca-room-hotspot.near{box-shadow:0 0 14px 5px #ffe17880;outline:2px solid #ffdf8888}
#ca-dream-rooms .ca-room-hotspot::after{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);content:attr(data-hint);font:800 11px Trebuchet MS,Arial,sans-serif;white-space:nowrap;padding:5px 8px;border-radius:9px;background:#14365bee;color:white;display:none}
#ca-dream-rooms .ca-room-hotspot:is(:hover,:focus-visible)::after{display:block}
#ca-dream-rooms .ha-actor span{font-weight:800!important;text-align:center!important}
#ca-dream-rooms .ha-speech-category{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
#ca-dream-rooms .ha-speech-category strong{width:100%;font-size:12px;color:#fff5c6}
#ca-dream-rooms .ha-speech-menu{display:block!important;color:white;padding:9px!important}
#ca-dream-rooms .ha-speech-menu[hidden]{display:none!important}
#ca-dream-rooms .ha-speech-menu button{font-size:12px!important;padding:6px 8px!important;border-radius:9px!important}
#ca-dream-rooms .ha-pad{display:none!important}
#ca-dream-rooms #ca-room-exit{pointer-events:auto}
#ca-dream-rooms .ca-room-image-error{position:absolute;z-index:6000;left:50%;top:45%;transform:translate(-50%,-50%);max-width:min(90vw,550px);padding:16px 22px;border-radius:16px;background:#561f37f5;border:2px solid #ffd78d;color:white;text-align:center;font:600 14px system-ui}
/* Sky Journey and existing competition cover remain outside the room UI. */
#ca-sky-overlay[hidden],#ca-team-return-movie[hidden],#ca-team-intro[hidden]{display:none!important}
#ca-sky-overlay{position:fixed;inset:0;z-index:1500001;background:#061e4afa;display:flex;flex-direction:column;padding:8px;align-items:center;justify-content:center;color:#fff;font-family:system-ui,Arial}
#ca-sky-canvas{width:min(100%,620px);height:min(72dvh,710px);border:3px solid #d8b353;border-radius:16px;background:linear-gradient(#297dd5,#9ae7ff);touch-action:none}
.ca-sky-ui{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;text-align:center;margin:5px 0}
.ca-sky-ui button,.ca-sky-start{background:linear-gradient(#4db4ee,#1763ae);color:white;border:2px solid #d8b353;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}
.ca-sky-cover-mode{background:radial-gradient(circle at center,#315fa0,#101c49 85%)!important}
.ca-sky-cover{position:relative;display:flex;flex-direction:column;align-items:center;max-width:540px;max-height:95dvh;overflow:auto;gap:10px;background:#152f61f0;border:3px solid #d5b35b;border-radius:20px;padding:20px 24px;text-align:center;box-shadow:0 12px 40px #0008}
.ca-sky-cover-balloon{max-height:180px;max-width:180px;object-fit:contain}
.ca-sky-cover h2{font-size:29px;margin:0;color:#fff0b0}
.ca-sky-rules{background:#081e49aa;border-radius:12px;padding:12px;text-align:left;font-size:14px}
.ca-sky-close{position:absolute;right:10px;top:10px;border:2px solid #e3c06b;border-radius:10px;background:#225e9c;color:white;font-size:20px;cursor:pointer;min-width:42px;min-height:42px}
#ca-team-return-movie{position:fixed;z-index:1400000;top:12px;left:12px;background:linear-gradient(#69bffb,#205ca8);border:3px solid #c39b64;border-radius:18px;padding:12px;color:#fff;font-weight:900;cursor:pointer}
#ca-team-intro{position:fixed;inset:0;z-index:1400001;display:grid;place-items:center;background:#071c38d9;padding:18px}
#ca-team-intro>div{max-width:540px;border:4px solid #ecc45a;background:#fff6df;color:#19395f;border-radius:22px;padding:25px;text-align:center;position:relative}
#ca-team-intro button{border-radius:14px;border:2px solid #c39b64;padding:10px 16px;background:linear-gradient(#69bffb,#205ca8);color:#fff;font-weight:800;cursor:pointer}
#ca-team-intro-close{position:absolute;right:8px;top:8px}
@media(max-width:700px){.ca-sky-cover{padding:15px 14px}.ca-sky-cover-balloon{max-height:125px}.ca-sky-cover h2{font-size:23px}#ca-sky-canvas{height:min(68dvh,580px)}}

/* V50.77: somente setas recebem o brilho de passagem. */
#ca-dream-rooms .ha-scene[data-room="center"] .ca-room-hotspot[data-spot="left"],
#ca-dream-rooms .ha-scene[data-room="center"] .ca-room-hotspot[data-spot="right"]{border-radius:9px}
/* V50.77: emoji sem círculo, borda ou fundo, na rosa dos ventos do cesto. */
#ca-dream-rooms .ca-room-sky-play{
 position:absolute;left:50.4%;top:51.4%;z-index:1550;
 display:flex;align-items:center;justify-content:center;
 transform:translate(-50%,-50%);width:5%;aspect-ratio:1;
 border:0!important;border-radius:0!important;padding:0!important;margin:0!important;
 background:transparent!important;box-shadow:none!important;color:inherit!important;
 font-size:clamp(20px,2.8vw,30px)!important;line-height:1!important;
 text-shadow:0 1px 4px #140729!important;
 cursor:pointer;touch-action:manipulation;transition:transform .15s;
}
#ca-dream-rooms .ca-room-sky-play[hidden]{display:none!important}
#ca-dream-rooms .ca-room-sky-play:is(:hover,:focus-visible){transform:translate(-50%,-50%) scale(1.12)}
#ca-dream-rooms .ca-room-sky-play:focus-visible{outline:2px solid #fff5ac!important;outline-offset:1px}
#ca-dream-rooms #ca-sky-toast{position:absolute;z-index:5500;left:50%;bottom:24px;
 transform:translateX(-50%);width:min(600px,90vw);padding:14px 18px;
 border:3px solid #fbd76b;border-radius:14px;background:#24104e;color:#fff;
 text-align:center;font-weight:800;box-shadow:0 10px 25px #0007;pointer-events:none}
@media(prefers-reduced-motion:reduce){#ca-dream-rooms .ca-room-sky-play{transition:none}}

/* V50.78 — only Sky Journey / Movie Clash interface adjustments. */
#ca-sky-overlay{overflow:auto;box-sizing:border-box}
#ca-sky-overlay .ca-sky-cover{width:min(540px,96vw);max-height:95dvh;box-sizing:border-box}
#ca-sky-overlay .ca-sky-cover-logo{width:min(440px,100%);max-height:205px;object-fit:contain}
#ca-sky-canvas{box-sizing:border-box;width:min(440px,calc(100vw - 28px),calc((100dvh - 185px)*0.6875));height:auto;aspect-ratio:440/640;max-height:calc(100dvh - 170px);object-fit:contain;flex:0 1 auto}
#ca-sky-overlay .ca-sky-ui{width:min(440px,100%);box-sizing:border-box;gap:7px}
#ca-sky-overlay .ca-sky-ui button{touch-action:none}
#ca-sky-overlay #sky-lives{font-weight:800;color:#ffe59c}
#ca-team-intro{background:linear-gradient(145deg,#091343eb,#20275ae8)!important;overflow:auto}
#ca-team-intro .ca-team-cover-card{background:#142c63ef;color:white;border:3px solid #f4c85d;border-radius:22px;padding:20px 22px;box-shadow:0 12px 35px #0009;width:min(560px,96vw);box-sizing:border-box;max-height:95dvh;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:10px}
#ca-team-intro .ca-team-cover-logo{width:min(430px,100%);max-height:220px;object-fit:contain}
#ca-team-intro .ca-team-cover-rules{background:#0b214fc9;border-radius:14px;padding:12px 16px;text-align:left;font-size:14px;width:100%;box-sizing:border-box}
#ca-team-intro .ca-team-cover-rules p{margin:8px 0}
#ca-team-intro .ca-team-cover-card h2{color:#ffda71;margin:0;font-size:24px}
#ca-team-intro #ca-team-intro-close{position:absolute;top:10px;right:10px;min-width:42px;min-height:42px;font-size:21px}
@media(max-width:700px){#ca-sky-canvas{width:min(440px,calc(100vw - 20px),calc((100dvh - 190px)*0.6875));max-height:calc(100dvh - 185px)}#ca-sky-overlay .ca-sky-ui{font-size:12px}#ca-team-intro .ca-team-cover-logo{max-height:145px}}

/* V50.79 — Halloween minigame cover dimensions, reused for both Imagination games. */
#ca-sky-overlay,#ca-team-intro{padding:12px;box-sizing:border-box;overflow-y:auto}
#ca-sky-overlay .ca-sky-cover,#ca-team-intro .ca-team-cover-card{
 position:relative;width:min(940px,100%)!important;max-width:none!important;
 min-height:min(650px,calc(100dvh - 130px));max-height:calc(100dvh - 24px)!important;
 box-sizing:border-box;padding:35px 26px 38px!important;
 border:4px solid #dcad66!important;border-radius:24px!important;
 box-shadow:0 18px 50px #120427a3!important;
 background:radial-gradient(ellipse at center,#7640b4,#25103f)!important;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
 text-align:center;color:#fff2cb!important;overflow-y:auto;
}
#ca-sky-overlay .ca-sky-cover-logo,#ca-team-intro .ca-team-cover-logo{
 display:block;width:100%!important;max-width:min(690px,92%)!important;
 height:min(38dvh,360px)!important;max-height:min(38dvh,360px)!important;
 object-fit:contain;flex-shrink:1;
}
#ca-sky-overlay .ca-sky-close,#ca-team-intro #ca-team-intro-close{
 position:absolute!important;top:12px!important;right:14px!important;
 width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:0!important;line-height:1!important;font-size:20px!important;
 border-radius:11px!important;z-index:6;
}
#ca-sky-overlay .ca-sky-rules,#ca-team-intro .ca-team-cover-rules{
 width:min(630px,100%)!important;background:#25103fb5!important;
 text-align:left;border-radius:14px;padding:12px 16px;line-height:1.45;font-size:14px;
}
#ca-sky-overlay #sky-cover-start,#ca-team-intro #ca-team-intro-start{
 padding:12px 28px!important;border-radius:16px!important;font-size:17px!important;
 font-weight:900!important;box-shadow:0 6px 0 #3b155a;
}
@media(max-width:700px){
 #ca-sky-overlay,#ca-team-intro{padding:5px}
 #ca-sky-overlay .ca-sky-cover,#ca-team-intro .ca-team-cover-card{
  width:100%!important;min-height:calc(100dvh - 80px);max-height:calc(100dvh - 12px)!important;
  padding:60px 14px 24px!important;gap:12px;border-width:3px!important;border-radius:16px!important;
 }
 #ca-sky-overlay .ca-sky-cover-logo,#ca-team-intro .ca-team-cover-logo{
  width:95%!important;height:auto!important;max-height:40dvh!important;min-height:130px;
 }
 #ca-sky-overlay .ca-sky-close,#ca-team-intro #ca-team-intro-close{right:9px!important;top:9px!important}
}

/* V50.80: menus com aro branco como a apresentação de Trick or Treat. */
#ca-sky-overlay .ca-sky-cover,
#ca-team-intro .ca-team-cover-card {border:4px solid #fff!important;box-shadow:0 0 0 3px #d5ab67,0 16px 40px #0009!important;}
/* Scroll da competição: somente quando o jogo original está aberto. */
#ca-team-legacy:not([hidden]) {overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:auto;-webkit-overflow-scrolling:touch;}
@media(max-width:700px){#ca-team-intro .ca-team-cover-card,#ca-sky-overlay .ca-sky-cover{border-width:3px!important;} }


/* V50.82 — os menus seguem o painel do Trick or Treat: moldura clara EXTERNA e painel roxo INTERNO. */
#ca-sky-overlay .ca-sky-menu-frame,
#ca-team-intro .ca-team-cover-frame{
 width:min(940px,100%);max-width:940px;box-sizing:border-box;
 margin:auto;padding:30px;background:#fffaf0;
 border:3px solid #b88af0;border-radius:26px;
 box-shadow:0 18px 50px #120427a3;
 flex:none;
}
#ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover,
#ca-team-intro .ca-team-cover-frame .ca-team-cover-card{
 width:100%!important;max-width:none!important;
 min-height:min(600px,calc(100dvh - 145px))!important;
 max-height:none!important;overflow:visible!important;
 border:0!important;box-shadow:none!important;
 border-radius:18px!important;
 background:radial-gradient(ellipse at center,#7640b4,#25103f)!important;
 margin:0!important;
 padding:32px 20px!important;
}
#ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover{gap:9px!important}
/* Mesmo botão X da capa Trick or Treat. */
#ca-sky-overlay #sky-cover-close,
#ca-team-intro #ca-team-intro-close{
 position:absolute!important;top:12px!important;right:14px!important;
 width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 margin:0!important;padding:0!important;
 border:0!important;border-radius:11px!important;
 background:#f4e9ff!important;color:#382b6e!important;
 font-size:20px!important;font-weight:900!important;
 line-height:1!important;text-align:center!important;
 box-shadow:0 4px #c6b1df!important;
}
/* Mesmo botão primário Iniciar jogo do Trick or Treat. */
#ca-sky-overlay #sky-cover-start,
#ca-team-intro #ca-team-intro-start{
 display:inline-block!important;flex:none!important;
 background:#3e80c5!important;color:#fff!important;
 border:0!important;border-radius:14px!important;
 box-shadow:0 4px #2d5f9d!important;
 font-size:1.15rem!important;font-weight:900!important;
 padding:12px 35px!important;margin:8px!important;
 cursor:pointer;
}
#ca-sky-overlay #sky-cover-start:active,
#ca-team-intro #ca-team-intro-start:active,
#ca-sky-overlay #sky-cover-close:active,
#ca-team-intro #ca-team-intro-close:active{transform:translateY(2px);box-shadow:0 2px #c6b1df!important}
@media(max-width:700px){
 #ca-sky-overlay .ca-sky-menu-frame,#ca-team-intro .ca-team-cover-frame{padding:12px;width:100%;border-radius:20px}
 #ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover,
 #ca-team-intro .ca-team-cover-frame .ca-team-cover-card{
  min-height:min(590px,calc(100dvh - 50px))!important;
  padding:60px 14px 24px!important;
  gap:8px!important;border-radius:14px!important;
 }
 #ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover-logo,
 #ca-team-intro .ca-team-cover-frame .ca-team-cover-logo{
  max-height:min(32dvh,250px)!important;min-height:0!important;
 }
}
/* V50.82: menu Sky sem título duplicado e sem rolagem no desktop comum. */
#ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover-logo{
 height:min(28dvh,240px)!important;
 max-height:min(28dvh,240px)!important;
}
/* Botões de saída e início seguindo a mesma aparência azul e dourada da tela Trick or Treat. */
#ca-sky-overlay #sky-cover-close,
#ca-team-intro #ca-team-intro-close,
#ca-sky-overlay #sky-close{
 background:linear-gradient(#58baf4,#267abd)!important;
 color:#fff!important;border:3px solid #c9a565!important;
 border-radius:13px!important;box-shadow:0 5px 0 #755327!important;
 text-shadow:0 2px 2px #1f4b75!important;
}
#ca-sky-overlay #sky-cover-start,
#ca-team-intro #ca-team-intro-start{
 background:linear-gradient(#58baf4,#267abd)!important;
 border:3px solid #c9a565!important;
 border-radius:16px!important;
 box-shadow:0 6px 0 #755327!important;
 text-shadow:0 2px 2px #1f4b75!important;
}
#ca-sky-overlay #sky-close{width:46px;min-width:46px;height:46px;min-height:46px;padding:0;display:inline-grid;place-items:center}
@media(max-width:700px){
 #ca-sky-overlay .ca-sky-menu-frame .ca-sky-cover-logo{
  height:auto!important;max-height:min(27dvh,225px)!important;
 }
}


/* V61.40 — mesmos limites e dimensões do cabeçalho da Cândido Arena. */
#ca-dream-rooms header.top{position:absolute!important;z-index:4600!important;top:7px!important;left:auto!important;right:8px!important;width:auto!important;max-width:calc(100% - 155px)!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
#ca-dream-rooms header.top .brand,#ca-dream-rooms header.top .brand[hidden],#ca-dream-rooms header.top .logo{display:none!important}
#ca-dream-rooms header.top>.flex{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:nowrap!important;width:auto!important;max-width:100%!important;min-width:0!important;background:transparent!important}
#ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:11px!important;padding:5px 7px!important;min-width:0!important;min-height:0!important}
@media(max-width:520px){
 #ca-dream-rooms header.top{max-width:calc(100% - 120px)!important}
 #ca-dream-rooms header.top>.flex{gap:3px!important}
 #ca-dream-rooms header.top button,#ca-dream-rooms header.top .global-online-counter{font-size:10px!important;padding:4px!important}
}
#ca-dream-rooms .ha-speech{display:flex!important;align-items:center!important;gap:5px!important}
#ca-dream-rooms #ca-room-power-toggle{pointer-events:auto!important}
#ca-dream-rooms #ca-room-power-toggle[hidden]{display:none!important}

/* V102.5 — identificação da turma PROFESSORES, idêntica à Arena/Halloween/Hall.
   O HTML da Ilha da Imaginação usa a mesma função setTeacherLabel dessas salas,
   porém os seletores históricos '.ha-actor span' atingiam também o selo interno.
   Limitar os ajustes às etiquetas do próprio personagem e dos colegas, em todos
   os ambientes (Dream Plaza, Movie Arena e Star Gallery). */
#ca-dream-rooms .ha-actor > :is(.ca-room-self-name,.ca-room-peer-name):has(> .ca-professores-label){
  display:block!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  max-width:none!important;
}
#ca-dream-rooms .ha-actor > :is(.ca-room-self-name,.ca-room-peer-name) > .ca-professores-label{
  /* Neutraliza a posição absoluta, o deslocamento e o fundo de nome comuns a spans. */
  position:static!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;
  float:none!important;
  display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  margin:0 1px 0 0!important;
  padding:1px 3px!important;
  vertical-align:baseline!important;
  white-space:nowrap!important;
  line-height:1.1!important;
  font-size:inherit!important;
  font-weight:900!important;
  text-align:center!important;
  color:#533208!important;
  background:linear-gradient(135deg,#ffe7a0,#e6a83b)!important;
  border:2px solid #fff0b9!important;
  border-radius:8px!important;
  box-shadow:0 0 9px #ffd64a99!important;
  text-shadow:none!important;
}


/* V103.1 — Sky Journey: responsive play layout and Cândido site background.
   Cover/menu uses existing artwork. The actual game canvas is never changed. */
#ca-sky-overlay:not(.ca-sky-cover-mode){
 background:linear-gradient(#102f5580,#102f5570),url('../imagens/ilhas/fundo-arquipelago-candido.png') center/cover fixed no-repeat!important;
 display:flex;flex-direction:column;justify-content:center;align-items:center;
 gap:clamp(5px,1.1dvh,11px);padding:clamp(7px,1.5dvh,15px)!important;
 overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
}
#ca-sky-overlay.ca-sky-cover-mode{
 background:linear-gradient(#102f5580,#102f5570),url('../imagens/ilhas/fundo-arquipelago-candido.png') center/cover fixed no-repeat!important;
}
#ca-sky-overlay .ca-sky-play-header,
#ca-sky-overlay .ca-sky-play-controls{width:min(100%,560px);box-sizing:border-box;flex:0 0 auto}
#ca-sky-overlay .ca-sky-play-header{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
#ca-sky-overlay .ca-sky-play-header h2{font-size:clamp(19px,3vw,31px);line-height:1.12;margin:0;color:#fff7e5;text-shadow:0 2px 4px #092447}
#ca-sky-overlay .ca-sky-theme{width:100%;border-radius:13px;padding:7px 12px;
 background:linear-gradient(150deg,#ffebaf,#eebd60);color:#35245d;border:2px solid #fff3d1;
 box-shadow:0 3px 0 #996b33;font-weight:900;font-size:clamp(13px,2vw,20px);
 white-space:normal;overflow-wrap:anywhere}
#ca-sky-overlay .ca-sky-play-meta{width:100%;display:flex;align-items:center;gap:8px;justify-content:space-between;
 background:#14396ccf;border:2px solid #d6b66b;border-radius:14px;
 padding:4px 7px;color:#f7f2e4;font-size:clamp(11px,1.5vw,16px);font-weight:800}
#ca-sky-overlay #sky-info{white-space:nowrap}
#ca-sky-overlay #sky-lives{white-space:nowrap;color:#ffdf91}
#ca-sky-overlay #sky-close{flex:none;min-width:36px!important;width:38px!important;
 min-height:36px!important;height:38px!important;padding:0!important;
 border:2px solid #c9a565!important;box-shadow:0 2px 0 #755327!important;
 display:grid!important;place-items:center!important}
#ca-sky-overlay #ca-sky-canvas{display:block;
 width:min(540px,calc(100vw - 24px),calc((100dvh - 255px)*0.6875))!important;
 height:auto!important;max-height:calc(100dvh - 255px)!important;
 aspect-ratio:440/640;max-width:100%;flex:0 1 auto;
 border:3px solid #e4bf69;border-radius:18px;box-shadow:0 7px 18px #0a22566e}
#ca-sky-overlay .ca-sky-play-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#ca-sky-overlay .ca-sky-play-controls strong{flex:1;min-width:0;text-align:center;
 font-size:clamp(11px,1.5vw,16px);line-height:1.15;color:#fff;text-shadow:0 1px 3px #072453}
#ca-sky-overlay .ca-sky-play-controls .ca-sky-btn{flex:none;width:clamp(40px,6vw,58px);height:clamp(39px,5.5vw,53px);
 padding:0!important;touch-action:none;font-size:clamp(19px,2.5vw,26px)}
@media(max-width:700px){
 #ca-sky-overlay:not(.ca-sky-cover-mode){gap:6px;padding:6px!important;justify-content:center}
 #ca-sky-overlay .ca-sky-play-header{gap:4px}
 #ca-sky-overlay .ca-sky-theme{padding:5px 7px;border-radius:10px}
 #ca-sky-overlay .ca-sky-play-meta{gap:4px;padding:3px 5px}
 #ca-sky-overlay #sky-close{width:35px!important;min-width:35px!important;height:35px!important;min-height:35px!important}
 #ca-sky-overlay #ca-sky-canvas{width:min(440px,calc(100vw - 18px),calc((100dvh - 172px)*0.6875))!important;
   max-height:calc(100dvh - 172px)!important}
}
@media(max-height:520px) and (orientation:landscape){
 #ca-sky-overlay:not(.ca-sky-cover-mode){justify-content:flex-start}
 #ca-sky-overlay #ca-sky-canvas{max-height:none!important;width:min(350px,calc(100vw - 25px))!important}
}

/* V103.2 — Tela Sky Journey compacta: tema no alto, nenhum controle duplicado embaixo. */
#ca-sky-overlay:not(.ca-sky-cover-mode){gap:clamp(3px,.65vh,8px)!important;padding:clamp(5px,1vh,12px)!important;overflow-y:auto;justify-content:flex-start!important}
#ca-sky-overlay .ca-sky-play-header,#ca-sky-overlay #ca-sky-canvas{margin-left:auto!important;margin-right:auto!important}
#ca-sky-overlay .ca-sky-play-header{width:min(96vw,560px)!important;gap:4px!important}
#ca-sky-overlay .ca-sky-play-header h2{margin:0!important;font-size:clamp(18px,3vh,31px)!important;line-height:1.08!important}
#ca-sky-overlay .ca-sky-theme{padding:5px 9px!important;font-size:clamp(13px,2.15vh,22px)!important;line-height:1.15!important}
#ca-sky-overlay .ca-sky-play-meta{padding:4px 7px!important;min-height:46px;gap:6px!important}
#ca-sky-overlay .ca-sky-actions{display:flex;align-items:center;gap:5px;flex:none}
#ca-sky-overlay .ca-sky-actions button{box-sizing:border-box;width:clamp(32px,5vh,45px)!important;min-width:0!important;height:clamp(32px,5vh,45px)!important;min-height:0!important;border:2px solid #8dc3e7!important;border-radius:12px!important;background:linear-gradient(#e8f8ff,#93d3f6)!important;color:#21537c!important;font-size:clamp(18px,2.8vh,29px)!important;font-weight:900;cursor:pointer;box-shadow:0 2px 0 #547ba6!important;display:inline-grid;place-items:center;padding:0!important;line-height:1!important}
#ca-sky-overlay .ca-sky-play-controls{display:none!important}
#ca-sky-overlay #ca-sky-canvas{display:block!important;width:min(440px,95vw,calc((100dvh - 158px)*0.6875))!important;max-width:100%!important;max-height:calc(100dvh - 155px)!important;height:auto!important;aspect-ratio:440/640!important;flex:0 1 auto!important;border-radius:17px!important;touch-action:none}
#ca-sky-overlay.ca-sky-paused #ca-sky-canvas{filter:brightness(.70) saturate(.8)}
@media(max-width:600px){#ca-sky-overlay:not(.ca-sky-cover-mode){padding:5px!important}#ca-sky-overlay .ca-sky-play-header{width:100%!important}#ca-sky-overlay .ca-sky-play-meta{min-height:39px}#ca-sky-overlay #sky-info,#ca-sky-overlay #sky-lives{font-size:clamp(12px,3vw,15px)!important}#ca-sky-overlay #ca-sky-canvas{width:min(98vw,calc((100dvh - 145px)*0.6875))!important;max-height:calc(100dvh - 138px)!important}}
/* V103.2 mobile: evitar que a caixa do tema e o placar ultrapassem a largura da tela. */
#ca-sky-overlay .ca-sky-theme,#ca-sky-overlay .ca-sky-play-meta{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}

/* V103.5 — Sky Journey: usar área liberada pelo título removido para ampliar
   o canvas sem recortar a arte, no desktop, tablet ou celular. */
#ca-sky-overlay:not(.ca-sky-cover-mode){
  gap:clamp(3px,.55dvh,7px)!important;
  padding:clamp(4px,.7dvh,9px)!important;
}
#ca-sky-overlay .ca-sky-play-header{
  width:min(100%,570px)!important;
  gap:3px!important;
}
#ca-sky-overlay #ca-sky-canvas{
  width:min(570px,calc(100vw - 18px),calc((100dvh - 122px)*0.6875))!important;
  max-width:100%!important;
  max-height:calc(100dvh - 118px)!important;
  height:auto!important;
  aspect-ratio:440/640!important;
  object-fit:contain;
}
@media(max-width:600px){
  #ca-sky-overlay .ca-sky-play-header{width:100%!important}
  #ca-sky-overlay #ca-sky-canvas{
    width:min(calc(100vw - 12px),calc((100dvh - 110px)*0.6875))!important;
    max-height:calc(100dvh - 105px)!important;
  }
}
@media(max-height:520px) and (orientation:landscape){
  #ca-sky-overlay #ca-sky-canvas{
    width:min(calc(100vw - 18px),calc((100dvh - 115px)*0.6875))!important;
    max-height:calc(100dvh - 110px)!important;
  }
}

/* V9.2 — Coral e Jurema com tamanho corrigido e respiração igual a Peter. */
#ca-dream-rooms .ca-v9-npc{display:flex;align-items:flex-end;justify-content:center;overflow:visible}
#ca-dream-rooms .ca-v9-npc img,#ca-dream-rooms .ca-room-peter img{height:100%;width:auto;max-width:100%;object-fit:contain;transform-origin:center bottom;animation:caNpcBreath 2.4s ease-in-out infinite}
#ca-dream-rooms .ca-v9-npc img{max-height:100%;filter:drop-shadow(0 6px 8px #0007)}
@keyframes caNpcBreath{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1.5%) scale(1.018)}}

/* V9.9.7 — NPCs sobre as marcas azuis dos cenários; brilho apenas nos alvos. */
#ca-dream-rooms .ca-room-hotspot.ca-v9-npc,
#ca-dream-rooms .ca-room-hotspot.ca-room-peter{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#ca-dream-rooms .ca-room-hotspot.ca-v9-npc img,
#ca-dream-rooms .ca-room-hotspot.ca-room-peter img{object-fit:contain!important;object-position:center bottom!important;
 max-width:100%!important;max-height:100%!important;animation:caNpcBreath 2.4s ease-in-out infinite}
#ca-dream-rooms .ca-room-hotspot.ca-v9-npc:hover img,
#ca-dream-rooms .ca-room-hotspot.ca-room-peter:hover img{filter:drop-shadow(0 0 10px #ffe37d)!important}

/* V9.9.8: plaques and Movie Clash trophy, precise clickable geometry. */
#ca-dream-rooms .ca-room-hotspot{
 min-width:0!important;min-height:0!important;padding:0!important;
 box-sizing:border-box!important;transform:none!important;
}
#ca-dream-rooms .ha-scene[data-room="center"] .ca-room-hotspot:is([data-spot="left"],[data-spot="right"]),
#ca-dream-rooms .ha-scene[data-room="right"] .ca-room-hotspot[data-spot="contest"]{
 border-radius:12px!important;
}
