/* V14.41 — Central e Loja usam controles REAIS e o padrão do Salão.
   O cabeçalho da conta é movido entre as salas, nunca duplicado.
   A caminhada usa as mesmas keyframes e classes do Salão.
   Porto: um único destaque na silhueta dos barcos, não na placa. */

/* Cabeçalho compartilhado: exibir o próprio header.top do Salão sem contêiner branco. */
html body #ca-adventure-interiors > header.top.ci-shared-header {
 display:flex!important;visibility:visible!important;opacity:1!important;
 position:absolute!important;top:7px!important;right:8px!important;left:auto!important;
 width:auto!important;max-width:calc(100% - 155px)!important;height:auto!important;
 margin:0!important;padding:0!important;align-items:center!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 box-shadow:none!important;filter:none!important;backdrop-filter:none!important;
 z-index:4800!important;pointer-events:auto!important;
}
html body #ca-adventure-interiors > header.top.ci-shared-header .brand {display:none!important}
html body #ca-adventure-interiors > header.top.ci-shared-header>.flex {
 display:flex!important;visibility:visible!important;align-items:center!important;
 justify-content:flex-end!important;flex-wrap:nowrap!important;gap:4px!important;
 width:auto!important;max-width:100%!important;background:transparent!important;
}
/* Mesma moldura do Salão: V61.40 + V102.4. */
html body #ca-adventure-interiors > header.top.ci-shared-header :is(#music,#sfx,.global-online-counter,.ca-stars-counter){
 display:inline-flex!important;visibility:visible!important;opacity:1!important;
 position:static!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;height:48px!important;min-height:48px!important;max-height:48px!important;
 padding:7px 9px!important;border-width:3px!important;border-style:solid!important;
 border-radius:16px!important;white-space:nowrap!important;color:#fff!important;
 box-shadow:inset 0 0 0 1px #16486b66,inset 0 -2px 0 #103d7144,
            0 3px 0 #60402aaa,0 6px 11px #092b502d!important;
}
html body #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:radial-gradient(ellipse 90% 65% at 50% 0%,#dbffd21b,transparent),
            linear-gradient(165deg,#8be896 0%,#44bd6d 42%,#229456 75%,#17673f 100%)!important;
 border-color:#e9d28b #b29656 #79502f!important;
}
html body #ca-adventure-interiors > header.top.ci-shared-header :is(#music,#sfx)[aria-pressed='false']{
 background:radial-gradient(ellipse 90% 65% at 50% 0%,#fff0e213,transparent),
            linear-gradient(165deg,#f3969b 0%,#d85065 48%,#9e2d4c 100%)!important;
}
html body #ca-adventure-interiors > header.top.ci-shared-header :is(#music,#sfx) svg{width:27px!important;height:27px!important}
html body #ca-adventure-interiors > header.top.ci-shared-header .global-online-counter{
 min-width:68px!important;
 background:radial-gradient(ellipse 90% 65% at 50% 0%,#b8eaff16,transparent),
            linear-gradient(164deg,#72c5f7,#398fd4 55%,#175896)!important;
 border-color:#d0b16d #a68047 #79502f!important;
}
html body #ca-adventure-interiors > header.top.ci-shared-header .ca-stars-counter{
 min-width:77px!important;
 background:radial-gradient(ellipse 75% 60% at 50% 0%,#ffe7a518,transparent),
            linear-gradient(164deg,#65bef2,#348bcf 53%,#175794)!important;
 border-color:#f1d07b #c39846 #84572a!important;
}
html body #ca-adventure-interiors > header.top.ci-shared-header #logout {display:none!important}

/* Mesma barra de navegação (Hall > hall-nav > hall-exit). */
html body #ca-adventure-interiors > .ci-nav.hall-nav{
 display:flex!important;visibility:visible!important;position:absolute!important;
 top:7px!important;left:8px!important;right:auto!important;
 z-index:4801!important;width:auto!important;pointer-events:auto!important;
}
html body #ca-adventure-interiors > .ci-nav.hall-nav #ci-return{
 display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;
 pointer-events:auto!important;box-sizing:border-box!important;white-space:nowrap!important;
 width:auto!important;min-width:0!important;max-width:none!important;
 height:48px!important;min-height:48px!important;max-height:48px!important;
 padding:11px 16px!important;
 font:900 13px/1.2 'Trebuchet MS',system-ui,sans-serif!important;
 color:#fff!important;text-shadow:0 1px 2px #103f6dcc!important;
 border:3px solid!important;border-color:#e7c982 #b28a4c #79502f!important;
 border-radius:20px!important;
 background:radial-gradient(ellipse 90% 65% at 50% 0%,#b8eaff16,transparent 100%),
            linear-gradient(164deg,#72c5f7,#3a9ce0 38%,#2173ba 75%,#15548d)!important;
 box-shadow:inset 0 0 0 1px #16486b66,inset 0 -3px 0 #113f7144,
            0 3px 0 #60402aaa,0 6px 11px #092b502d!important;
}
html body #ca-adventure-interiors > .ci-nav.hall-nav #ci-return::before,
html body #ca-adventure-interiors > .ci-nav.hall-nav #ci-return::after{display:none!important;content:none!important}

/* Botões oficiais: mesma geometria/estilo da coluna inferior do Salão. */
html body #ca-adventure-interiors > .ci-controls.hall-control{
 display:flex!important;visibility:visible!important;position:absolute!important;
 flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 left:10px!important;bottom:10px!important;top:auto!important;right:auto!important;
 width:auto!important;max-width:min(100% - 20px,360px)!important;
 z-index:4802!important;gap:6px!important;pointer-events:auto!important;
}
html body #ca-adventure-interiors > .ci-controls.hall-control > :is(#ci-speak,#ci-inventory,#ci-power-toggle){
 position:relative!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;
 margin:0!important;padding:0!important;box-sizing:border-box!important;
 border:3px solid!important;border-bottom-width:5px!important;border-radius:17px!important;
 border-color:#e7cb87 #bb9554 #7d532e!important;
 background:radial-gradient(ellipse 90% 60% at 50% 0%,#b7e8ff18,transparent),
            linear-gradient(166deg,#77c7f4,#379cdf 42%,#2272b9 77%,#15538c)!important;
 box-shadow:inset 0 0 0 1px #174a7966,inset 0 -3px 0 #16467744,
            0 3px 0 #60402aaa,0 6px 10px #091e4428!important;
 color:white!important;font:700 27px/1 'Trebuchet MS',Arial,sans-serif!important;
 text-shadow:0 1px 2px #0d4170bb!important;cursor:pointer!important;
}
html body #ca-adventure-interiors > .ci-controls.hall-control > #ci-power-toggle{
 background:radial-gradient(ellipse 90% 60% at 50% 0%,#fff2be26,transparent),
            linear-gradient(166deg,#ffe38a,#f4ba51 42%,#d18b31 77%,#a86121)!important;
 border-color:#ffe2a1 #bb8c43 #77502d!important;
}
html body #ca-adventure-interiors > .ci-controls.hall-control > #ci-power-toggle[hidden]{display:none!important}
html body #ca-adventure-interiors > .ci-controls.hall-control > .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;
 background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;
}
html body #ca-adventure-interiors > .ci-controls.hall-control > .ca-map-solo-button img{
 display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
}
html body #ca-adventure-interiors :is(.ci-nav #ci-return,.ci-controls > button,header.top button.btn):hover:not(:disabled){
 filter:brightness(1.025)!important;
}
html body #ca-adventure-interiors :is(.ci-nav #ci-return,.ci-controls > button,header.top button.btn):active:not(:disabled){
 transform:translateY(2px)!important;
}
html body #ca-adventure-interiors > .ci-controls #ci-speech[hidden]{display:none!important}

/* Walking comes from Hall V61.16, **not** from the V14.38 feet-rig. */
html body #ca-adventure-interiors .ci-actor .ci-puppet {animation:none!important}
html body #ca-adventure-interiors .ci-actor .ci-puppet img{
 display:block!important;width:100%!important;height:auto!important;
 clip-path:none!important;animation:none!important;transform:none!important;transform-origin:50% 90%!important;
}
html body #ca-adventure-interiors .ci-actor .ci-leg{display:none!important;animation:none!important}
html body #ca-adventure-interiors .ci-actor.hall-walking .ci-puppet img{
 animation:ca-hall-walk .34s ease-in-out infinite alternate!important;transform-origin:50% 90%!important;
}
/* Exact original keyframes from hall-of-achievements/hall.css. */
@keyframes ca-hall-walk{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-5px) rotate(2deg)}}

/* Porto: NÃO renderizar realce na placa, apenas um único efeito nos barcos. */
html body #ca-adventure-plaza .plaza-scene #plaza-port-sign,
html body #ca-adventure-plaza .plaza-scene #plaza-port-sign::after{
 background:transparent!important;box-shadow:none!important;filter:none!important;
}
html body #ca-adventure-plaza .plaza-scene #plaza-port-sign::after{opacity:0!important;display:none!important}
html body #ca-adventure-plaza .ca-official-mask[data-mask-for='plaza-port-sign']{display:none!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{
 opacity:1!important;visibility:visible!important;cursor:pointer!important;
 background:transparent!important;box-shadow:none!important;
}
html body #ca-adventure-plaza .plaza-scene button#plaza-port-boats::after{
 display:block!important;visibility:visible!important;content:''!important;
 position:absolute!important;inset:0!important;pointer-events:none!important;
 opacity:0!important;transition:opacity .18s ease!important;
 background:linear-gradient(135deg,rgba(255,250,194,.38),rgba(255,210,79,.59))!important;
 box-shadow:inset 0 0 0 2px rgba(255,239,153,.75),inset 0 0 16px 3px rgba(255,218,103,.55)!important;
}
html body #ca-adventure-plaza .plaza-scene button#plaza-port-boats:is(:hover,.near,:focus-visible)::after{
 display:block!important;visibility:visible!important;opacity:1!important;
}
/* A silhueta de três barcos já é definida pelo mask-image do destaques-v1431.css. */

@media(max-width:700px){
 html body #ca-adventure-interiors > header.top.ci-shared-header{top:5px!important;right:5px!important;max-width:calc(100% - 126px)!important}
 html body #ca-adventure-interiors > header.top.ci-shared-header>.flex{gap:3px!important}
 html body #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}
 html body #ca-adventure-interiors > header.top.ci-shared-header :is(#music,#sfx){
  width:38px!important;min-width:38px!important;max-width:38px!important;flex:0 0 38px!important}
 html body #ca-adventure-interiors > header.top.ci-shared-header .global-online-counter{min-width:48px!important}
 html body #ca-adventure-interiors > header.top.ci-shared-header .ca-stars-counter{min-width:52px!important}
 html body #ca-adventure-interiors > .ci-nav.hall-nav{top:5px!important;left:5px!important}
 html body #ca-adventure-interiors > .ci-nav.hall-nav #ci-return{
  height:38px!important;min-height:38px!important;max-height:38px!important;
  padding:5px 8px!important;font-size:10px!important;border-radius:13px!important}
 html body #ca-adventure-interiors > .ci-controls.hall-control{left:6px!important;bottom:6px!important;gap:4px!important}
 html body #ca-adventure-interiors > .ci-controls.hall-control > :is(#ci-speak,#ci-inventory,#ci-power-toggle,.ca-map-solo-button){
  width:36px!important;min-width:36px!important;max-width:36px!important;flex:0 0 36px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;font-size:19px!important}
}
@media(prefers-reduced-motion:reduce){
 html body #ca-adventure-interiors .ci-actor.hall-walking .ci-puppet img{animation:none!important}
}
