#ca-hall[hidden],#ca-hall [hidden]{display:none!important}
#ca-hall{position:fixed;inset:0;z-index:100000;background:#173d5d;color:#fff;font-family:'Trebuchet MS',system-ui,sans-serif;overflow:hidden}
#ca-hall *{box-sizing:border-box}
#ca-hall .hall-stage{position:absolute;inset:0;overflow:hidden;touch-action:none}
#ca-hall .hall-scene{position:absolute;left:0;top:0;width:1000px;height:564px;transform-origin:top left;background:#173d5d;user-select:none;touch-action:none}
#ca-hall .hall-background{display:block;width:100%;height:100%;pointer-events:none;object-fit:fill}
#ca-hall .hall-nav{position:absolute;top:8px;left:8px;right:8px;z-index:650;display:flex;justify-content:space-between;align-items:start;gap:6px;pointer-events:none}
#ca-hall .hall-nav button{pointer-events:auto}
#ca-hall button{font:700 14px 'Trebuchet MS',system-ui,sans-serif;border:2px solid #b5d5e7;border-radius:12px;padding:9px 14px;background:#fff;color:#193e61;cursor:pointer}
#ca-hall button:focus-visible{outline:3px solid #ffca2e;outline-offset:2px}
#ca-hall .hall-nav .hall-label{background:#08213acb;border:1px solid #e7c877;color:#fff7d1;padding:7px 12px;border-radius:12px;font-weight:900;text-align:center}
#ca-hall .hall-message{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:650;background:#112b48e8;color:white;border-radius:12px;padding:9px 13px;font-size:13px;max-width:90%;pointer-events:none;text-align:center}
#ca-hall .hall-actor{position:absolute;width:4.5%;min-width:24px;pointer-events:none;transform:translate(-50%,-100%);text-align:center;z-index:300}
#ca-hall .hall-actor img{width:100%;height:auto;max-height:120px;object-fit:contain;filter:drop-shadow(0 2px 2px #000b);display:block}
#ca-hall .hall-actor .hall-name{display:block;position:absolute;top:100%;left:50%;transform:translateX(-50%);white-space:nowrap;background:#183349e0;color:#fff;font-size:12px;border-radius:6px;padding:3px 5px}
#ca-hall .hall-actor.me .hall-name{background:#fff3a5;color:#183349}
#ca-hall .hall-actor .hall-bubble{position:absolute;bottom:103%;left:50%;transform:translateX(-50%);background:#fff;border-radius:10px;color:#244562;padding:4px 8px;font-size:12px;white-space:nowrap}
#ca-hall .hall-hotspot{position:absolute;z-index:500;padding:7px 11px;border:2px solid #fce58b;background:#17375ad9;color:#fffde2;border-radius:12px;transform:translate(-50%,-50%);font-size:13px;box-shadow:0 3px 10px #0007;white-space:nowrap}
#ca-hall .hall-hotspot.near{background:#fdf0a0;color:#153654;box-shadow:0 0 15px 6px #fff5a388}
#ca-hall .hall-control{position:absolute;bottom:10px;left:10px;z-index:650;display:flex;gap:5px;flex-wrap:wrap;max-width:min(85%,550px)}
#ca-hall .hall-control button{padding:5px 9px;font-size:12px}
#ca-hall .hall-modal{position:absolute;inset:0;z-index:900;background:#10223ce8;display:flex;align-items:center;justify-content:center;padding:12px}
#ca-hall .hall-modal-content{position:relative;width:min(1100px,100%);max-height:92dvh;overflow:auto;background:#fff;color:#1d3854;border:4px solid #e9c76f;border-radius:22px;padding:16px;box-shadow:0 18px 50px #0009}
#ca-hall .hall-modal-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
#ca-hall .hall-modal h2{margin:0;font-size:clamp(19px,3vw,27px);color:#203a5b}
#ca-hall .hall-modal h3{color:#203a5b}
#ca-hall .hall-rank-modes{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
#ca-hall .hall-rank-modes button[aria-pressed=true]{background:#264f88;color:#fff}
#ca-hall .hall-rank-modes select{border-radius:10px;padding:9px;background:#fff;border:1px solid #b3c8e0}
#ca-hall .hall-ranking{overflow:auto;max-height:65dvh;padding:5px}
#ca-hall .hall-ranking .v326-tree{min-width:800px;max-width:1050px;margin:0 auto}
#ca-hall .hall-star-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
#ca-hall .hall-star-card{background:#edf5fc;border:1px solid #cbddec;border-radius:14px;padding:14px;line-height:1.5}
#ca-hall .hall-star-card strong{display:block;margin-bottom:6px}
#ca-hall .hall-star-note{background:#fff2c9;padding:11px;border-radius:12px;margin:12px 0}
@media(max-width:650px){#ca-hall .hall-label{display:none}#ca-hall .hall-hotspot{font-size:11px;padding:5px 7px}#ca-hall .hall-control{bottom:5px;max-width:100%}#ca-hall .hall-control button{font-size:11px}#ca-hall .hall-actor .hall-name{font-size:10px}#ca-hall .hall-modal-content{padding:10px}#ca-hall .hall-ranking .v326-tree{min-width:800px}}

/* V61.16 — Hall no mesmo padrão visual e de interação da Arena */
#ca-hall{background:#77c9f5 url('../imagens/ilhas/fundo-arquipelago-candido.png') center/cover fixed no-repeat!important;z-index:1100000}
#ca-hall .hall-stage{background:transparent}
#ca-hall .hall-scene{background:transparent}
#ca-hall .hall-background{object-fit:fill}
#ca-hall .hall-hotspot{border:0!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important;min-width:12%;min-height:15%;cursor:pointer;outline:none}
#ca-hall .hall-hotspot.near{background:transparent!important;box-shadow:0 0 22px 7px #fff8a566!important;border-radius:28px!important}
#ca-hall .hall-hotspot:focus-visible{outline:3px solid #ffe16d!important}
#ca-hall .hall-actor .hall-bubble:empty,#ca-hall .hall-actor .hall-bubble[hidden]{display:none!important}
#ca-hall .hall-actor .hall-name{background:#183349e9;color:#fff;border-radius:5px;padding:3px 6px;font-size:clamp(9px,.85vw,13px);font-weight:400}
#ca-hall .hall-actor.me .hall-name{background:#fff2aa;color:#17344e;font-weight:400}
#ca-hall .hall-actor.hall-walking img{animation:ca-hall-walk .34s ease-in-out infinite alternate;transform-origin:50% 90%}
@keyframes ca-hall-walk{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-5px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){#ca-hall .hall-actor.hall-walking img{animation:none}}
#ca-hall header.top.hall-shared-header{position:absolute!important;z-index:710!important;top:7px!important;right:8px!important;left:auto!important;width:auto!important;max-width:calc(100% - 170px)!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
#ca-hall header.top.hall-shared-header .brand{display:none!important}
#ca-hall header.top.hall-shared-header button,#ca-hall header.top.hall-shared-header .global-online-counter{font-size:11px!important;padding:5px 7px!important;min-width:0!important;min-height:0!important}
#ca-hall .hall-nav{right:auto;z-index:720;justify-content:flex-start}
#ca-hall .hall-nav .hall-label{display:none!important}
#ca-hall .hall-control{bottom:10px;left:10px;z-index:750}
#ca-hall #hall-talk-menu{display:flex;gap:5px;flex-wrap:wrap}
#ca-hall #hall-talk-menu[hidden]{display:none!important}
#ca-hall #hall-talk-toggle{min-width:65px}
@media(max-width:700px){#ca-hall header.top.hall-shared-header{max-width:calc(100% - 132px)!important}#ca-hall .hall-hotspot{min-width:14%;min-height:15%}}

/* V61.17 — sala centralizada, menus e falas padronizados. */
#ca-hall .hall-stage{inset:76px 0 0!important;background:transparent!important}
#ca-hall .hall-scene{box-shadow:0 9px 25px #09233c66;border-radius:3px;overflow:hidden}
#ca-hall .hall-nav{top:8px;left:12px}
#ca-hall .hall-nav #hall-exit{border:3px solid #b5d5e7!important;background:#fff!important;color:#193e61!important;border-radius:17px!important;padding:12px 18px!important;box-shadow:0 3px 5px #0002}
#ca-hall .hall-modal-top{flex-wrap:nowrap}
#ca-hall #hall-modal-close{font-size:26px!important;font-weight:700!important;border:0!important;background:transparent!important;color:#274c76!important;padding:0 10px!important;line-height:1!important}
#ca-hall .hall-control{flex-direction:column-reverse!important;align-items:flex-start!important;max-width:min(350px,90vw)!important}
#ca-hall #hall-talk-toggle{box-sizing:border-box!important;width:var(--ca-speech-w,52px)!important;min-width:var(--ca-speech-w,52px)!important;max-width:var(--ca-speech-w,52px)!important;height:var(--ca-speech-h,52px)!important;min-height:var(--ca-speech-h,52px)!important;max-height:var(--ca-speech-h,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-size:clamp(23px,2.2vw,31px)!important;display:grid!important;place-items:center!important;line-height:1!important}
#ca-hall #hall-talk-menu{box-sizing:border-box!important;display:block!important;max-height:54vh!important;overflow:auto!important;width:min(335px,87vw)!important;background:#20103eeb!important;color:white!important;padding:9px!important;border:2px solid #f6ca58!important;border-radius:14px!important}
#ca-hall #hall-talk-menu[hidden]{display:none!important}
#ca-hall .hall-speech-category{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
#ca-hall .hall-speech-category strong{width:100%;font-size:12px;color:#fff5c6}
#ca-hall .hall-speech-category button{padding:6px 8px!important;min-height:0!important;font-size:12px!important;border-radius:9px!important}
#ca-center-backdrop.hall-library-front{z-index:1500000!important}
#ca-hall .hall-rank-modes select{display:none!important}
@media(max-width:700px){#ca-hall .hall-stage{inset:62px 0 0!important}#ca-hall .hall-nav #hall-exit{padding:7px 10px!important}#ca-hall .hall-control{left:7px!important}}

/* V61.18: cabeçalho acima do cenário; sem deslocar o cenário para baixo. */
#ca-hall .hall-stage{inset:0!important}
#ca-hall header.top.hall-shared-header{z-index:1400!important;top:8px!important;right:10px!important}
#ca-hall .hall-nav{top:8px!important;left:10px!important;z-index:1450!important}
/* Botão de retorno alinhado aos controles do cabeçalho, sem estilo exclusivo. */
#ca-hall .hall-nav #hall-exit{font:700 13px 'Trebuchet MS',system-ui,sans-serif!important;padding:8px 12px!important;border:2px solid #b5d5e7!important;border-radius:12px!important;min-height:0!important;box-shadow:none!important;background:white!important;color:#193e61!important}
@media(max-width:700px){#ca-hall .hall-stage{inset:0!important}#ca-hall .hall-nav #hall-exit{padding:6px 8px!important;font-size:11px!important}}

/* V61.20 — Voltar ao mapa no mesmo estilo dos botões oficiais do jogo. */
#ca-hall .hall-nav #hall-exit{
 font:900 13px 'Trebuchet MS',system-ui,sans-serif!important;
 min-height:48px!important;
 padding:11px 16px!important;
 border:3px solid #c39b64!important;
 border-bottom:5px solid #805331!important;
 border-radius:20px!important;
 background:linear-gradient(165deg,#69bffb 0%,#2f85d3 56%,#205ca8 100%)!important;
 color:#fff!important;
 text-shadow:0 2px 2px #174c38,0 0 2px #174c38!important;
 box-shadow:inset 0 3px 0 #ffffff85,inset 0 -3px 0 #195f3799,0 5px 0 #60442d,0 9px 12px #183b4b45!important;
}
#ca-hall .hall-nav #hall-exit::before{
 content:"";position:absolute;inset:3px;border:1px solid #ffffff52;border-radius:14px;pointer-events:none;
}
#ca-hall .hall-nav #hall-exit::after{
 content:"❧";position:absolute;right:5px;bottom:-9px;font-size:24px;color:#b6ec72;
 text-shadow:1px 1px #20512c;opacity:.75;pointer-events:none;
}
@media(max-width:700px){#ca-hall .hall-nav #hall-exit{min-height:42px!important;padding:8px 11px!important;font-size:11px!important}}

/* V61.21: cabeçalho da Hall nunca cobre a Biblioteca e outros modais da sala. */
#ca-hall.hall-library-open header.top.hall-shared-header,
#ca-hall.hall-library-open .hall-nav,
#ca-hall.hall-library-open .hall-control{display:none!important}
#ca-center-backdrop.hall-library-front{z-index:2000000!important}
#ca-center-backdrop.hall-library-front #ca-center{position:relative;z-index:1}
/* Quando o menu interno da Hall aparece, os controles fixos não se sobrepõem ao botão X. */
#ca-hall:has(.hall-modal:not([hidden])) header.top.hall-shared-header,
#ca-hall:has(.hall-modal:not([hidden])) .hall-nav,
#ca-hall:has(.hall-modal:not([hidden])) .hall-control{display:none!important}
/* Mobile: retorno abaixo dos controles superiores, inclusive o botão de música. */
@media(max-width:700px){
 #ca-hall .hall-nav{top:65px!important;left:8px!important;right:auto!important;z-index:1450!important}
 #ca-hall .hall-nav #hall-exit{font-size:11px!important;min-height:39px!important;padding:7px 10px!important;max-width:156px!important;white-space:normal!important}
 #ca-hall header.top.hall-shared-header{top:7px!important;right:7px!important;max-width:calc(100% - 14px)!important}
}

/* V61.24: no mobile, Voltar ao mapa fica na mesma linha do botão de música.
   O módulo da Hall insere o botão imediatamente antes de #music no cabeçalho. */
@media(max-width:700px){
 #ca-hall header.top.hall-shared-header{left:7px!important;right:7px!important;width:calc(100% - 14px)!important;max-width:calc(100% - 14px)!important}
 #ca-hall header.top.hall-shared-header>.flex{width:100%!important;max-width:100%!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important}
 #ca-hall header.top.hall-shared-header .hall-nav.hall-nav-inline{position:static!important;top:auto!important;left:auto!important;right:auto!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;z-index:auto!important;margin:0!important;padding:0!important;pointer-events:auto!important}
 #ca-hall header.top.hall-shared-header .hall-nav.hall-nav-inline #hall-exit{height:46px!important;min-height:46px!important;max-width:none!important;white-space:nowrap!important;padding:7px 9px!important;font-size:11px!important;margin:0!important}
}

/* V61.26: Back to Map must be immediately LEFT of Music on mobile.
   Both controls share the same non-wrapping flex item even with the global
   header rules that force flex-wrap:nowrap. */
@media(max-width:700px){
 #ca-hall header.top.hall-shared-header .hall-mobile-actions{
  display:inline-flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-start!important;
  gap:5px!important;white-space:nowrap!important;min-width:0!important;
  position:relative!important;z-index:1500!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions>.hall-nav.hall-nav-inline{
  position:static!important;inset:auto!important;display:flex!important;
  flex:0 0 auto!important;align-items:center!important;
  width:auto!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;transform:none!important;
  pointer-events:auto!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #hall-exit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  font-size:10px!important;padding:5px 7px!important;white-space:nowrap!important;
  margin:0!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #music{
  position:static!important;flex:0 0 38px!important;margin:0!important;
 }
}

/* V61.31 — ajuste exclusivo do Salão no mobile: cabeçalho compacto e
   enquadramento inicial da cena completa, sem modificar colisões/câmera desktop. */
@media (max-width:700px){
 #ca-hall header.top.hall-shared-header{
   top:5px!important;left:4px!important;right:4px!important;
   width:calc(100% - 8px)!important;max-width:calc(100% - 8px)!important;
   padding:0!important;margin:0!important;overflow:visible!important;
 }
 #ca-hall header.top.hall-shared-header>.flex{
   display:flex!important;width:100%!important;max-width:100%!important;
   flex-wrap:nowrap!important;justify-content:space-between!important;
   align-items:center!important;gap:3px!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions{
   display:inline-flex!important;gap:3px!important;flex:0 1 auto!important;
   min-width:0!important;max-width:calc(100% - 168px)!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #hall-exit{
   font-size:clamp(8px,2.2vw,10px)!important;
   padding:4px 5px!important;min-width:0!important;max-width:100%!important;
   height:36px!important;min-height:36px!important;max-height:36px!important;
   border-radius:12px!important;white-space:nowrap!important;
 }
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #music,
 #ca-hall header.top.hall-shared-header #sfx{
   width:34px!important;min-width:34px!important;max-width:34px!important;
   flex:0 0 34px!important;height:36px!important;min-height:36px!important;
   max-height:36px!important;padding:5px!important;
 }
 #ca-hall header.top.hall-shared-header .global-online-counter{
   min-width:40px!important;width:40px!important;max-width:40px!important;
   flex:0 0 40px!important;height:36px!important;min-height:36px!important;
   padding:3px!important;font-size:11px!important;gap:1px!important;
 }
 #ca-hall header.top.hall-shared-header .ca-stars-counter{
   min-width:48px!important;width:48px!important;max-width:48px!important;
   flex:0 0 48px!important;height:36px!important;min-height:36px!important;
   padding:3px!important;font-size:11px!important;gap:1px!important;
 }
 #ca-hall header.top.hall-shared-header #logout{
   min-width:34px!important;width:34px!important;max-width:34px!important;
   flex:0 0 34px!important;height:36px!important;min-height:36px!important;
   padding:3px!important;font-size:10px!important;
 }
 #ca-hall header.top.hall-shared-header button.sound-toggle svg{width:19px!important;height:19px!important}
}

/* V61.33: compact header aligned with Arena and a navigable close-up on mobile.
   Keep the full scene, collisions and desktop behavior untouched. */
@media (max-width:700px){
 #ca-hall header.top.hall-shared-header{top:5px!important;left:5px!important;right:5px!important;width:calc(100% - 10px)!important;max-width:none!important;z-index:1450!important}
 #ca-hall header.top.hall-shared-header>.flex{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:3px!important;min-width:0!important;width:100%!important;overflow:visible!important}
 #ca-hall header.top.hall-shared-header .hall-mobile-actions{display:inline-flex!important;flex:0 0 auto!important;max-width:none!important;min-width:0!important;gap:3px!important;align-items:center!important;white-space:nowrap!important}
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #hall-exit{width:auto!important;max-width:none!important;padding:4px 5px!important;font-size:clamp(8px,2.2vw,10px)!important;white-space:nowrap!important;height:34px!important;min-height:34px!important}
 #ca-hall header.top.hall-shared-header .hall-mobile-actions #music,
 #ca-hall header.top.hall-shared-header #sfx{width:32px!important;min-width:32px!important;max-width:32px!important;flex:0 0 32px!important;height:34px!important;min-height:34px!important;padding:4px!important}
 #ca-hall header.top.hall-shared-header .global-online-counter{width:35px!important;min-width:35px!important;max-width:35px!important;flex:0 0 35px!important;height:34px!important;min-height:34px!important;padding:2px!important}
 #ca-hall header.top.hall-shared-header .ca-stars-counter{width:43px!important;min-width:43px!important;max-width:43px!important;flex:0 0 43px!important;height:34px!important;min-height:34px!important;padding:2px!important}
 #ca-hall header.top.hall-shared-header #logout{width:33px!important;min-width:33px!important;max-width:33px!important;flex:0 0 33px!important;height:34px!important;min-height:34px!important;padding:2px!important}
 #ca-hall .hall-stage{inset:0!important}
}

/* V61.35: same header geometry as Arena on mobile: navigation left,
   actual shared music/SFX/online/stars/exit controls right. */
@media(max-width:700px){
 #ca-hall .hall-nav{position:absolute!important;top:7px!important;left:7px!important;right:auto!important;z-index:1600!important;margin:0!important;padding:0!important;display:flex!important;pointer-events:auto!important}
 #ca-hall .hall-nav #hall-exit{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(165deg,#69bffb,#2f85d3 56%,#205ca8)!important;color:#fff!important;border:3px solid #d4ba80!important;border-radius:13px!important;padding:7px 8px!important;height:43px!important;min-height:43px!important;font-size:clamp(10px,2.5vw,12px)!important;white-space:nowrap!important}
 #ca-hall header.top.hall-shared-header{position:absolute!important;top:7px!important;left:auto!important;right:7px!important;width:auto!important;max-width:calc(100% - 143px)!important;padding:0!important;margin:0!important;background:transparent!important}
 #ca-hall header.top.hall-shared-header>.flex{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:3px!important;width:auto!important;max-width:100%!important;min-width:0!important}
 #ca-hall header.top.hall-shared-header .hall-mobile-actions{display:contents!important}
 #ca-hall header.top.hall-shared-header #music,#ca-hall header.top.hall-shared-header #sfx{height:40px!important;min-height:40px!important;width:38px!important;min-width:38px!important;max-width:38px!important;flex:0 0 38px!important;padding:5px!important}
 #ca-hall header.top.hall-shared-header .global-online-counter{height:40px!important;min-height:40px!important;width:43px!important;min-width:43px!important;max-width:43px!important;flex:0 0 43px!important;padding:3px!important;font-size:11px!important}
 #ca-hall header.top.hall-shared-header .ca-stars-counter{height:40px!important;min-height:40px!important;width:52px!important;min-width:52px!important;max-width:52px!important;flex:0 0 52px!important;padding:3px!important;font-size:11px!important}
 #ca-hall header.top.hall-shared-header #logout{height:40px!important;min-height:40px!important;width:39px!important;min-width:39px!important;max-width:39px!important;flex:0 0 39px!important;padding:3px!important;font-size:11px!important}
}
@media(max-width:380px){
 #ca-hall header.top.hall-shared-header{max-width:calc(100% - 128px)!important}
 #ca-hall header.top.hall-shared-header>.flex{gap:2px!important}
 #ca-hall header.top.hall-shared-header #music,#ca-hall header.top.hall-shared-header #sfx{width:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important}
 #ca-hall header.top.hall-shared-header .global-online-counter{width:38px!important;min-width:38px!important;max-width:38px!important;flex-basis:38px!important}
 #ca-hall header.top.hall-shared-header .ca-stars-counter{width:44px!important;min-width:44px!important;max-width:44px!important;flex-basis:44px!important}
 #ca-hall header.top.hall-shared-header #logout{width:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important}
 #ca-hall .hall-nav #hall-exit{font-size:10px!important;padding:6px!important}
}

/* V61.37 — destaque das três áreas interativas no desktop.
   A camada continua transparente fora do hover, preservando a arte do salão,
   os destinos de caminhada e as interações por toque. */
@media (hover:hover) and (pointer:fine){
  #ca-hall .hall-scene .hall-hotspot:hover{
    background:rgba(255,231,117,.19)!important;
    border:2px solid rgba(255,232,139,.92)!important;
    border-radius:24px!important;
    box-shadow:0 0 0 4px rgba(255,210,80,.24),0 0 24px 10px rgba(255,222,113,.62)!important;
    filter:brightness(1.08);
    transition:background-color .15s ease,box-shadow .15s ease,filter .15s ease;
  }
}

/* V61.38: poderes puramente visuais, desacoplados da movimentacao e do Firestore. */
#ca-hall #hall-power-toggle{
 box-sizing:border-box!important;width:var(--ca-speech-w,52px)!important;
 min-width:var(--ca-speech-w,52px)!important;height:var(--ca-speech-h,52px)!important;
 min-height:var(--ca-speech-h,52px)!important;border-radius:17px!important;
 border:3px solid #ffe1a1!important;border-bottom-width:5px!important;
 background:linear-gradient(#f9dc78,#bc6c24)!important;color:white!important;
 font-size:clamp(23px,2.2vw,30px)!important;display:grid!important;
 place-items:center!important;padding:0!important;cursor:pointer!important;
}
#ca-hall #hall-power-toggle[hidden]{display:none!important}
#ca-hall .hall-power-effect{position:absolute;inset:-60% -95% 0;pointer-events:none;z-index:25;overflow:visible}
#ca-hall .hall-power-effect span{
 position:absolute;left:50%;top:32%;font-size:clamp(13px,1.7vw,22px);
 transform:translate(-50%,-50%);opacity:0;
 animation:ca-hall-power-float 2.2s ease-out forwards;
 animation-delay:calc(var(--i) * 80ms);
 --angle:calc((var(--i) - 3) * 42deg);
}
#ca-hall .hall-power-heart span{font-size:clamp(12px,1.5vw,19px)}
@keyframes ca-hall-power-float{
 0%{opacity:0;transform:translate(-50%,0) scale(.35)}
 15%{opacity:1}
 80%{opacity:1}
 100%{opacity:0;transform:translate(calc(-50% + var(--shift)),-100px) scale(1.15)}
}
@media(prefers-reduced-motion:reduce){
 #ca-hall .hall-power-effect span{animation:none!important;opacity:1!important;transform:translate(calc(-50% + var(--shift)),-25px)!important}
}


/* V61.40 — mesmos limites e dimensões do cabeçalho da Cândido Arena. */
#ca-hall header.top.hall-shared-header{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-hall header.top.hall-shared-header .brand,#ca-hall header.top.hall-shared-header .brand[hidden],#ca-hall header.top.hall-shared-header .logo{display:none!important}
#ca-hall header.top.hall-shared-header>.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-hall header.top.hall-shared-header button,#ca-hall header.top.hall-shared-header .global-online-counter{font-size:11px!important;padding:5px 7px!important;min-width:0!important;min-height:0!important}
@media(max-width:520px){
 #ca-hall header.top.hall-shared-header{max-width:calc(100% - 120px)!important}
 #ca-hall header.top.hall-shared-header>.flex{gap:3px!important}
 #ca-hall header.top.hall-shared-header button,#ca-hall header.top.hall-shared-header .global-online-counter{font-size:10px!important;padding:4px!important}
}
#ca-hall header.top.hall-shared-header .hall-mobile-actions{display:contents!important}
#ca-hall .hall-nav{position:absolute!important;top:7px!important;left:8px!important;right:auto!important;width:auto!important;z-index:4601!important}
#ca-hall .hall-nav #hall-exit{white-space:nowrap!important;max-width:none!important;font-size:11px!important}
@media(max-width:520px){#ca-hall .hall-nav{left:4px!important;top:4px!important}#ca-hall .hall-nav #hall-exit{font-size:11px!important;padding:5px!important}}

/* V9.9.44 — clique/destaque nos três emblemas do novo Salão. */
#ca-hall #hall-stars{clip-path:polygon(13% 0,87% 0,100% 28%,99% 80%,84% 100%,16% 100%,0 81%,0 28%)!important;}
#ca-hall #hall-tree{clip-path:polygon(22% 0,79% 0,100% 12%,96% 71%,81% 96%,48% 100%,19% 96%,1% 72%,0 17%)!important;}
#ca-hall #hall-library{clip-path:polygon(14% 0,85% 0,100% 27%,98% 81%,82% 100%,16% 99%,0 82%,0 27%)!important;}
#ca-hall .hall-scene .hall-hotspot{padding:0!important;min-width:0!important;min-height:0!important;}
#ca-hall .hall-scene .hall-hotspot:is(:hover,:focus-visible,.near){border-radius:26px!important;}

/* V9.9.46 — interact with the whole Guide and Library zones, not only their plaques. */
#ca-hall #hall-stars,#ca-hall #hall-library{
 clip-path:inset(0 round 18px)!important;
 border-radius:18px!important;
}


/* V9.9.49 — destaque ancorado pelo canto superior esquerdo.
   Guia = lousa e mesa, Árvore = tronco/troféu, Biblioteca = estante.
   Evita o deslocamento vertical produzido por translate(-50%,-50%). */
#ca-hall .hall-scene .hall-hotspot{
 transform:none!important;
 box-sizing:border-box!important;
 padding:0!important;margin:0!important;
 min-width:0!important;min-height:0!important;
}
#ca-hall #hall-stars{
 clip-path:polygon(7% 4%,90% 1%,100% 12%,99% 82%,83% 98%,20% 100%,0 87%,0 17%)!important;
 border-radius:18px!important;
}
#ca-hall #hall-tree{
 clip-path:polygon(15% 0,83% 0,99% 18%,100% 79%,83% 99%,15% 100%,0 82%,1% 18%)!important;
 border-radius:25px!important;
}
#ca-hall #hall-library{
 clip-path:polygon(11% 1%,92% 0,100% 19%,99% 90%,86% 100%,13% 100%,0 88%,0 21%)!important;
 border-radius:18px!important;
}


/* V9.9.81 — novo menu The Global Tree com arte dedicada e funções preservadas */
#ca-hall .hall-ranking{overflow:auto;max-height:70dvh;padding:4px}
#ca-hall .hall-tree-board{
 position:relative;
 width:min(100%,1100px);
 min-width:960px;
 aspect-ratio:1536/865;
 margin:0 auto;
 background:var(--ca-global-tree-image,url('./the-global-tree-v1465.png')) center/100% 100% no-repeat;
}
#ca-hall .hall-tree-podium-slot{
 position:absolute;
 display:flex;
 flex-direction:column;
 align-items:center;
 text-align:center;
 gap:4px;
}
#ca-hall .hall-tree-podium-slot.place-1{left:31.8%;top:36.5%;width:15.5%}
#ca-hall .hall-tree-podium-slot.place-2{left:18.8%;top:48.2%;width:13.2%}
#ca-hall .hall-tree-podium-slot.place-3{left:46.4%;top:48.8%;width:13.2%}
#ca-hall .hall-tree-avatar-shell{
 width:min(7.2vw,78px);
 height:min(7.2vw,78px);
 min-width:52px;
 min-height:52px;
 border-radius:50%;
 background:radial-gradient(circle at 35% 30%,#fff7d7 0%,#fce08f 45%,#e4a93f 100%);
 border:3px solid #fff1b7;
 box-shadow:0 4px 12px #0005;
 display:grid;
 place-items:center;
 padding:5px;
 overflow:hidden;
}
#ca-hall .hall-tree-avatar-shell img,
#ca-hall .hall-tree-avatar-shell .rank-avatar,
#ca-hall .hall-tree-avatar-shell .rank-avatar-empty{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important}
#ca-hall .hall-tree-avatar-shell .rank-avatar-empty,
#ca-hall .hall-tree-avatar-empty{display:grid!important;place-items:center!important;font-size:26px!important;background:transparent!important;border:0!important}
#ca-hall .hall-tree-podium-name{
 max-width:100%;
 padding:3px 8px;
 border-radius:999px;
 background:#0c2c56e0;
 color:#fff8d2;
 font-weight:900;
 font-size:clamp(11px,1vw,15px);
 line-height:1.1;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
#ca-hall .hall-tree-podium-class{
 max-width:100%;
 padding:2px 7px;
 border-radius:999px;
 background:#ffffffd9;
 color:#25486f;
 font-weight:800;
 font-size:clamp(10px,.82vw,12px);
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
#ca-hall .hall-tree-podium-score{
 padding:2px 8px;
 border-radius:999px;
 background:#fff2b9e6;
 color:#6e3d08;
 font-weight:900;
 font-size:clamp(11px,.95vw,14px);
 box-shadow:0 2px 5px #0002;
}
#ca-hall .hall-tree-list{
 position:absolute;
 left:67.1%;
 top:25.4%;
 width:27.5%;
 height:56.2%;
 padding:0 0.4% 0 0;
 overflow:auto;
 display:flex;
 flex-direction:column;
 gap:8px;
}
#ca-hall .hall-tree-row{
 display:grid;
 grid-template-columns:10% 42% 26% 18%;
 align-items:center;
 gap:4px;
 min-height:52px;
 padding:6px 12px;
 border:2px solid #8c6333;
 border-radius:18px;
 background:rgba(255,250,237,.94);
 color:#173959;
 box-shadow:0 2px 7px #0001;
 font-size:clamp(11px,.95vw,14px);
 font-weight:800;
}
#ca-hall .hall-tree-row.top-1{border-color:#d7a725;background:linear-gradient(180deg,rgba(255,244,200,.96),rgba(255,233,161,.95))}
#ca-hall .hall-tree-row.top-2{border-color:#a6a9b4;background:linear-gradient(180deg,rgba(248,248,252,.97),rgba(230,234,242,.96))}
#ca-hall .hall-tree-row.top-3{border-color:#bf7a34;background:linear-gradient(180deg,rgba(255,235,216,.97),rgba(240,205,172,.96))}
#ca-hall .hall-tree-col{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ca-hall .hall-tree-col-pos{text-align:center;font-size:clamp(13px,1.1vw,16px);color:#7a4b12}
#ca-hall .hall-tree-col-name{font-weight:900}
#ca-hall .hall-tree-col-class{font-size:clamp(10px,.85vw,13px);color:#325a86}
#ca-hall .hall-tree-col-score{text-align:right;font-variant-numeric:tabular-nums;color:#7a4b12}
#ca-hall .hall-tree-empty{
 margin:auto 0;
 padding:16px;
 border-radius:18px;
 background:rgba(255,250,237,.94);
 border:2px solid #8c6333;
 color:#173959;
 font-weight:800;
 text-align:center;
}
#ca-hall .hall-rank-info{margin:0 0 10px;color:#294a71;font-weight:800}
@media (max-width:900px){
 #ca-hall .hall-modal-content{width:min(100%,98vw)}
 #ca-hall .hall-tree-board{min-width:920px}
}
@media (max-width:650px){
 #ca-hall .hall-tree-board{min-width:900px}
 #ca-hall .hall-tree-list{gap:6px}
 #ca-hall .hall-tree-row{min-height:48px;padding:5px 10px}
}


/* V14.1 — The Global Tree é a tela ilustrada integral de 1670 × 942.
   O modal tradicional branco permanece intacto para o Guia das Estrelas.
   O fundo deve estar no servidor como ./the-global-tree-v1465.png; nome alternativo ./the-global-tree.png.
   As posições, cliques, atualização em tempo real e scroll dos 32 participantes
   continuam sendo produzidos pelo módulo hall.js (sem rasterizar dados). */
#ca-hall .hall-modal.hall-tree-fullscreen {
  inset:0!important;
  box-sizing:border-box!important;
  padding:0!important;
  background:rgba(8,19,45,.96)!important;
  overflow:hidden!important;
  justify-content:center!important;align-items:center!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-modal-content {
  position:relative!important;box-sizing:border-box!important;
  width:min(100vw,calc(100dvh * 1670 / 942))!important;
  max-width:none!important;min-width:0!important;
  height:auto!important;max-height:100dvh!important;min-height:0!important;
  aspect-ratio:1670 / 942!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;
  overflow:hidden!important;box-shadow:none!important;
  color:#fff!important;isolation:isolate!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-modal-body {
  position:absolute!important;inset:0!important;
  padding:0!important;margin:0!important;width:100%!important;height:100%!important;
  overflow:hidden!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-interface {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  aspect-ratio:1670 / 942!important;container-type:inline-size;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-ranking,
#ca-hall .hall-modal.hall-tree-fullscreen #hall-rank-content {
  position:absolute!important;inset:0!important;box-sizing:border-box!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board {
  position:absolute!important;inset:0!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  aspect-ratio:1670 / 942!important;margin:0!important;padding:0!important;
  background:#0e3560 var(--ca-global-tree-image,url('./the-global-tree-v1465.png')) center / 100% 100% no-repeat!important;
  overflow:hidden!important;
}
/* O título está desenhado na arte. Só o X oficial é mantido, clicável. */
#ca-hall .hall-modal.hall-tree-fullscreen .hall-modal-top {
  position:absolute!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;height:100%!important;margin:0!important;padding:0!important;
  z-index:20!important;pointer-events:none!important;display:block!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-modal-title {display:none!important}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-modal-close {
  position:absolute!important;right:1.65%!important;top:2%!important;left:auto!important;bottom:auto!important;
  box-sizing:border-box!important;width:4.65%!important;height:6.5%!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  padding:0!important;margin:0!important;pointer-events:auto!important;cursor:pointer!important;
  background:transparent url('../ca-x-mapa-oficial-v9955.png') center / contain no-repeat!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  font-size:0!important;line-height:0!important;color:transparent!important;text-shadow:none!important;
  z-index:30!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-modal-close:hover {filter:brightness(1.16)!important}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-modal-close:focus-visible {outline:3px solid #ffe586!important;outline-offset:2px!important}
/* Os dois filtros são controles sobre a arte, sem um cabeçalho branco. */
#ca-hall .hall-modal.hall-tree-fullscreen .hall-rank-modes {
  position:absolute!important;top:19.6%!important;left:66.8%!important;
  width:29.2%!important;height:5.3%!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  display:flex!important;align-items:stretch!important;justify-content:center!important;
  flex-wrap:nowrap!important;gap:.55cqw!important;z-index:6!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-rank-modes button {
  flex:1 1 0!important;min-width:0!important;min-height:0!important;
  margin:0!important;padding:0 .25cqw!important;border-radius:999px!important;
  border:max(1px,.11cqw) solid #f2c65c!important;
  background:linear-gradient(180deg,#163f83e8,#10244eea)!important;color:#fff2bf!important;
  font:900 clamp(7px,1.05cqw,17px)/1.1 'Trebuchet MS',sans-serif!important;
  white-space:nowrap!important;text-shadow:0 1px 2px #061737!important;
  box-shadow:0 .15cqw .4cqw #07152f88!important;cursor:pointer!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-rank-modes button[aria-pressed=true] {
  background:linear-gradient(180deg,#fff5c7,#f5c558)!important;
  color:#1e3561!important;text-shadow:none!important;border-color:#fff7db!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-rank-modes button:focus-visible {outline:3px solid #fff2ab!important;outline-offset:2px!important}
#ca-hall .hall-modal.hall-tree-fullscreen #hall-rank-info {
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;
  padding:0!important;margin:0!important;border:0!important;
}
/* O pódio e a lista ocupam as áreas vazias previstas na nova ilustração. */
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-1 {left:31.8%!important;top:36.5%!important;width:15.5%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-2 {left:18.8%!important;top:48.2%!important;width:13.2%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-3 {left:46.4%!important;top:48.8%!important;width:13.2%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot {gap:.30cqw!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-avatar-shell {
  width:6.1cqw!important;height:6.1cqw!important;min-width:0!important;min-height:0!important;
  border-width:max(1px,.17cqw)!important;padding:.30cqw!important;box-sizing:border-box!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-name {
  max-width:100%!important;font-size:clamp(6px,1.05cqw,18px)!important;
  padding:.25cqw .65cqw!important;box-sizing:border-box!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-class,
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-score {
  max-width:100%!important;box-sizing:border-box!important;
  font-size:clamp(6px,.88cqw,15px)!important;padding:.2cqw .55cqw!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list {
  position:absolute!important;left:67.1%!important;top:32.7%!important;
  width:27.7%!important;height:49.3%!important;max-height:none!important;
  box-sizing:border-box!important;padding:0 .4cqw 0 0!important;margin:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  scrollbar-width:thin!important;scrollbar-color:#e6ae4e #152d50aa!important;
  display:flex!important;flex-direction:column!important;gap:.45cqw!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list:focus-visible{outline:2px solid #f1d486!important;outline-offset:2px!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-row {
  flex:0 0 auto!important;box-sizing:border-box!important;display:grid!important;align-items:center!important;
  grid-template-columns:9% minmax(0,1fr) 20% 26%!important;gap:.2cqw!important;
  width:100%!important;height:3.25cqw!important;min-height:0!important;max-height:none!important;
  border:max(1px,.11cqw) solid #aa7735!important;border-radius:1cqw!important;
  padding:.22cqw .48cqw!important;margin:0!important;overflow:hidden!important;
  font:800 clamp(6px,.94cqw,16px)/1.15 'Trebuchet MS',Arial,sans-serif!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board.is-class .hall-tree-row {
  grid-template-columns:9% minmax(0,1fr) 27%!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board.is-class .hall-tree-col-class {display:none!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-pos {font-size:clamp(7px,1.07cqw,17px)!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-name {overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-class {font-size:.75em!important;overflow:hidden!important;text-overflow:ellipsis!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-score {font-variant-numeric:tabular-nums!important;overflow:visible!important;text-align:right!important;white-space:nowrap!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-empty {margin:auto 0!important;font-size:1.1cqw!important}
@media (max-width:800px) {
  #ca-hall .hall-modal.hall-tree-fullscreen .hall-rank-modes button {font-size:clamp(6px,.97cqw,10px)!important}
  #ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-row {font-size:clamp(5px,.88cqw,9px)!important}
}


/* V14.2 — align functions to the 1670×942 illustration, fix header overlap,
   and show the existing real-time online indicator without extra Firebase reads. */
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-1{left:36.5%!important;top:35.0%!important;width:15.5%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-2{left:23.5%!important;top:46.5%!important;width:13.2%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-slot.place-3{left:51.2%!important;top:47.1%!important;width:13.2%!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list-heading{
  display:grid!important;position:absolute!important;
  top:29.4%!important;left:67.2%!important;width:26.8%!important;height:4.5%!important;
  padding:0 .55cqw!important;margin:0!important;box-sizing:border-box!important;
  grid-template-columns:10% minmax(0,1fr) 19% 26%!important;gap:.2cqw!important;
  align-items:center!important;z-index:5!important;color:#fff4ce!important;
  font:900 clamp(6px,.86cqw,14px)/1.15 'Trebuchet MS',sans-serif!important;
  text-shadow:0 1px 2px #081c43!important;white-space:nowrap!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list-heading span:last-child{text-align:right!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board.is-class .hall-tree-list-heading{
  grid-template-columns:10% minmax(0,1fr) 26%!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board.is-class .hall-tree-list-heading span:nth-child(3){display:none!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list{
  left:67.2%!important;top:34.0%!important;width:27.2%!important;height:45.6%!important;
  z-index:6!important;gap:.43cqw!important;
  padding:0 .35cqw 0 0!important;
  scrollbar-gutter:stable!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-row{
  grid-template-columns:10% minmax(0,1fr) 19% 26%!important;
  height:3.25cqw!important;padding:.18cqw .33cqw!important;gap:.15cqw!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-board.is-class .hall-tree-row{
  grid-template-columns:10% minmax(0,1fr) 26%!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-name,
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-podium-name{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:.3cqw!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-name{justify-content:flex-start!important}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-player-name{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-online{
  width:.78cqw!important;height:.78cqw!important;min-width:.78cqw!important;min-height:.78cqw!important;
  flex:0 0 .78cqw!important;display:inline-block!important;
  margin:0!important;border-radius:50%!important;
  background:#98a2ae!important;box-shadow:0 0 0 max(1px,.09cqw) #fff8d0!important;
  vertical-align:middle!important;opacity:.85!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-online.is-online{
  background:#13d56b!important;box-shadow:0 0 0 max(1px,.1cqw) #efffd9,0 0 .45cqw .16cqw #25df7aaa!important;
  opacity:1!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-col-score{
  font-size:clamp(6px,.87cqw,15px)!important;
  letter-spacing:-.02em!important;
}
#ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-list{overscroll-behavior:contain!important;}
@media (prefers-reduced-motion:reduce){
 #ca-hall .hall-modal.hall-tree-fullscreen .hall-tree-online{transition:none!important}
}


/* V14.23 — botão Sair pertence exclusivamente à Adventure Plaza.
   Salão preserva "Voltar à Adventure Plaza" e o mapa, sem logout no cabeçalho herdado. */
#ca-hall header.top.hall-shared-header #logout{display:none!important;visibility:hidden!important;pointer-events:none!important}


/* V14.65 — The Global Tree: colunas Posição | Ícone | Nome | Online/Offline | Turma | Estrelas nos DOIS rankings.
   (A geometria sobre a arte nova está em ca-v14-7-classic-ranking.css, que é a última camada aplicada.) */
#ca-hall .hall-tree-board{--ht-cols:11% 9% minmax(0,1fr) 15% 10% 13%}
#ca-hall .hall-tree-row{grid-template-columns:var(--ht-cols)}
#ca-hall .hall-tree-row-avatar{
  width:2.5cqw;height:2.5cqw;min-width:20px;min-height:20px;box-sizing:border-box;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff7d7 0%,#fce08f 50%,#e4a93f 100%);
  border:max(1px,.12cqw) solid #fff1b7;box-shadow:0 .1cqw .35cqw #0004;
  display:grid;place-items:center;padding:.14cqw;overflow:hidden;
}
#ca-hall .hall-tree-row-avatar img,
#ca-hall .hall-tree-row-avatar .rank-avatar,
#ca-hall .hall-tree-row-avatar .rank-avatar-empty{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important}
#ca-hall .hall-tree-row-avatar .hall-tree-avatar-empty,
#ca-hall .hall-tree-row-avatar .rank-avatar-empty{display:grid!important;place-items:center!important;font-size:1.25cqw!important;background:transparent!important;border:0!important}
#ca-hall .hall-tree-status-text{color:#5f6a78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ca-hall .hall-tree-status-text.is-online{color:#0b8a43}
/* o texto vem da classe is-online (a mesma que o ouvinte de presença liga/desliga): Online/Offline sempre em sincronia com a bolinha */
#ca-hall .hall-tree-status-text::before{content:'Offline'}
#ca-hall .hall-tree-status-text.is-online::before{content:'Online'}
