/* V14.40 — reutilizar a interface real do Salão; sem um segundo cabeçalho. */
#ca-adventure-interiors header.top.ci-shared-header{
 position:absolute!important;z-index:4600!important;top:7px!important;right:8px!important;left:auto!important;
 width:auto!important;max-width:calc(100% - 155px)!important;margin:0!important;padding:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
}
#ca-adventure-interiors header.top.ci-shared-header .brand{display:none!important}
#ca-adventure-interiors header.top.ci-shared-header>.flex{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;
 width:auto!important;max-width:100%!important;gap:4px!important;
}
/* Mesma geometria do Salão; aparência vinda das classes globais .btn e .sound-toggle. */
#ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx,.global-online-counter,.ca-stars-counter){
 display:inline-flex!important;position:static!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
 height:48px!important;min-height:48px!important;max-height:48px!important;
 padding:7px 9px!important;border:3px solid #bd9c66!important;border-radius:16px!important;
 box-shadow:inset 0 2px 0 #ffffff85,0 4px 0 #60442d!important;white-space:nowrap!important;
 font-size:11px!important;color:#fff!important;
}
#ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx){
 width:48px!important;min-width:48px!important;max-width:48px!important;flex:0 0 48px!important;
 background:linear-gradient(165deg,#83e884,#36ad55 65%,#19783a)!important;
}
#ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx)[aria-pressed=false]{background:linear-gradient(165deg,#ff8992,#d94354 65%,#9c283c)!important}
#ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx) svg{width:27px!important;height:27px!important}
#ca-adventure-interiors header.top.ci-shared-header .global-online-counter,#ca-adventure-interiors header.top.ci-shared-header .ca-stars-counter{
 background:linear-gradient(#68baf2,#287cc2)!important;
}
#ca-adventure-interiors header.top.ci-shared-header .global-online-counter{min-width:68px!important}
#ca-adventure-interiors header.top.ci-shared-header .ca-stars-counter{min-width:77px!important}
#ca-adventure-interiors header.top.ci-shared-header #logout{display:none!important}
#ca-adventure-interiors .ci-nav{top:7px!important;left:8px!important;z-index:4610!important;right:auto!important}
#ca-adventure-interiors .ci-nav #ci-return{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:0!important;height:43px!important;min-height:43px!important;max-height:43px!important;
 padding:7px 8px!important;border:3px solid #d4ba80!important;border-radius:13px!important;
 background:linear-gradient(165deg,#69bffb,#2f85d3 56%,#205ca8)!important;color:#fff!important;
 font:700 11px/1.15 'Trebuchet MS',system-ui,sans-serif!important;white-space:nowrap!important;
 text-shadow:0 1px 2px #061737!important;box-shadow:inset 0 2px 0 #ffffff77,0 3px 6px #0003!important;
}
#ca-adventure-interiors .ci-nav #ci-return::before,#ca-adventure-interiors .ci-nav #ci-return::after{display:none!important;content:none!important}
/* Salão: botões inferiores na mesma paleta e dimensões, não os ícones antigos inflados. */
#ca-adventure-interiors .ci-controls{left:10px!important;bottom:10px!important;display:flex!important;flex-flow:row nowrap!important;align-items:flex-end!important;gap:5px!important;z-index:4610!important}
#ca-adventure-interiors .ci-controls>button:is(#ci-speak,#ci-inventory,#ci-power-toggle){
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
 flex:0 0 52px!important;width:52px!important;min-width:52px!important;max-width:52px!important;
 height:52px!important;min-height:52px!important;max-height:52px!important;
 padding:0!important;border-radius:17px!important;border:3px solid #d9b76c!important;border-bottom-width:5px!important;
 background:linear-gradient(#4db4ee,#1763ae)!important;color:white!important;
 font:700 27px/1 'Trebuchet MS',Arial,sans-serif!important;box-shadow:0 4px 7px #0004!important;
}
#ca-adventure-interiors .ci-controls>#ci-power-toggle{background:linear-gradient(#f9dc78,#bc6c24)!important}
#ca-adventure-interiors .ci-controls>#ci-power-toggle[hidden]{display:none!important}
#ca-adventure-interiors .ci-controls>.ca-map-solo-button{
 display:grid!important;place-items:center!important;flex:0 0 52px!important;
 width:52px!important;min-width:52px!important;max-width:52px!important;height:52px!important;min-height:52px!important;max-height:52px!important;
 padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
#ca-adventure-interiors .ci-controls>.ca-map-solo-button img{width:100%!important;height:100%!important;object-fit:contain!important}
#ca-adventure-interiors .ci-logo{display:none!important}
/* Animação IDÊNTICA à hall-actor.hall-walking do Salão: corpo inteiro, sem novas pernas. */
#ca-adventure-interiors .ci-actor .ci-leg{display:none!important;animation:none!important}
#ca-adventure-interiors .ci-actor .ci-puppet{animation:none!important;transform-origin:50% 90%!important}
#ca-adventure-interiors .ci-actor .ci-puppet>img{clip-path:none!important;animation:none!important;transform-origin:50% 90%!important}
#ca-adventure-interiors .ci-actor.ci-moving .ci-puppet>img{
 clip-path:none!important;animation:ca-hall-walk .34s ease-in-out infinite alternate!important;
 transform-origin:50% 90%!important;
}
@keyframes ca-hall-walk{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-5px) rotate(2deg)}}
/* Porto: um único brilho mascarado no hotspot dos barcos, placa sem brilho. */
html body #ca-adventure-plaza .plaza-scene #plaza-port-sign::after,
html body #ca-adventure-plaza .ca-official-mask[data-mask-for="plaza-port-sign"]{display:none!important;opacity:0!important}
html body #ca-adventure-plaza .ca-official-mask[data-mask-for="plaza-port-boats"]{display:none!important}
html body #ca-adventure-plaza .plaza-scene #plaza-port-boats::after{
 display:block!important;content:''!important;opacity:0!important;
 background:linear-gradient(135deg,rgba(255,250,178,.32),rgba(255,210,74,.55))!important;
 box-shadow:inset 0 0 0 2px rgba(255,243,170,.8),inset 0 0 13px 2px rgba(255,219,101,.54)!important;
 transition:opacity .18s ease!important;
}
html body #ca-adventure-plaza .plaza-scene #plaza-port-boats:is(:hover,.near,:focus-visible)::after{opacity:1!important}
@media(max-width:700px){
 #ca-adventure-interiors header.top.ci-shared-header{top:5px!important;right:5px!important;max-width:calc(100% - 128px)!important}
 #ca-adventure-interiors header.top.ci-shared-header>.flex{gap:3px!important}
 #ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx,.global-online-counter,.ca-stars-counter){height:38px!important;min-height:38px!important;max-height:38px!important;padding:4px 5px!important;font-size:11px!important}
 #ca-adventure-interiors header.top.ci-shared-header :is(#music,#sfx){width:38px!important;min-width:38px!important;max-width:38px!important;flex-basis:38px!important}
 #ca-adventure-interiors header.top.ci-shared-header .global-online-counter{min-width:48px!important}
 #ca-adventure-interiors header.top.ci-shared-header .ca-stars-counter{min-width:52px!important}
 #ca-adventure-interiors .ci-nav #ci-return{height:38px!important;min-height:38px!important;max-height:38px!important;font-size:10px!important;padding:5px 8px!important}
 #ca-adventure-interiors .ci-controls>button:is(#ci-speak,#ci-inventory,#ci-power-toggle),#ca-adventure-interiors .ci-controls>.ca-map-solo-button{width:36px!important;min-width:36px!important;max-width:36px!important;flex-basis:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;font-size:19px!important}
}
@media(prefers-reduced-motion:reduce){#ca-adventure-interiors .ci-actor.ci-moving .ci-puppet>img{animation:none!important}}
