/* v255r1 — Guloseimas têm um único destino visível: o painel rápido de Família.
   Manter o seletor original no DOM para renderCandy/saveHouse e fallback legado. */
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="config"]
  #family-config .family-candy-block{display:none!important}

/* v254r1 — painel operacional, não cartão de navegação. */
#familyCandyQuickPanel[hidden],#familyCandyQuickControls[hidden],#familyCandyQuickPosition[hidden],
#familyCandyQuickTestWarning[hidden]{display:none!important}
.nav-candy-quick{display:none;min-width:0;box-sizing:border-box;width:100%;margin:13px 0 0;
  padding:15px;border:1px solid rgba(255,174,76,.55);border-radius:16px;
  background:linear-gradient(150deg,#233944,#152b38);color:#f5f7fa}
html.nav-hub-ready #screen-house.nav-hub-root .nav-candy-quick:not([hidden]){display:block}
html.nav-hub-ready #screen-house.nav-hub-root .nav-candy-quick:not([hidden]) + .nav-hub-home{margin-top:10px}
.nav-candy-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 14px}
.nav-candy-head strong{font-size:1.05rem;line-height:1.3;overflow-wrap:break-word}
.nav-candy-head span{font-size:.78rem;line-height:1.35;color:#b9f1c9;
  font-weight:800;overflow-wrap:break-word}
.nav-candy-intro{font-size:.84rem;line-height:1.4;color:#d3deeb;margin:9px 0 12px}
.nav-candy-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.nav-candy-main button{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;min-width:0;min-height:83px;padding:10px 5px;border:2px solid rgba(201,217,229,.3);
  border-radius:12px;background:#142c3c;color:#f7faff;font:inherit;line-height:1.25;
  text-align:center;cursor:pointer;white-space:normal;overflow-wrap:break-word}
.nav-candy-main button>span{font-size:1.4rem;line-height:1.1}
.nav-candy-main button>b{font-size:.84rem;line-height:1.28;overflow-wrap:break-word}
.nav-candy-main button.active,.nav-candy-pause.active{border-color:#ffa946;
  background:#554027;box-shadow:inset 0 0 0 1px rgba(255,187,104,.22)}
.nav-candy-pause{display:block;box-sizing:border-box;width:100%;min-height:44px;margin:10px 0 0;
  padding:9px 12px;border:1px solid rgba(189,207,221,.42);border-radius:10px;
  color:#e7edf5;background:#25394a;font:800 .85rem/1.35 system-ui,sans-serif;
  white-space:normal;overflow-wrap:break-word;cursor:pointer}
.nav-candy-main button:focus-visible,.nav-candy-pause:focus-visible,
.nav-candy-position button:focus-visible{outline:3px solid #ffbc63;outline-offset:2px}
.nav-candy-main button:disabled,.nav-candy-pause:disabled{cursor:wait;opacity:.72}
.nav-candy-feedback{margin:11px 0 0;font-size:.84rem;font-weight:750;line-height:1.4;color:#ffdaaa}
.nav-candy-warning{display:block;margin-top:9px;color:#ffcd98;font-size:.78rem;line-height:1.4}
.nav-candy-position{display:grid;gap:9px}.nav-candy-position strong{font-size:1.02rem}
.nav-candy-position p{margin:0;color:#d2ddea;font-size:.86rem;line-height:1.45}
.nav-candy-position button{min-height:48px;padding:10px 12px;border:2px solid #ffa946;
  border-radius:11px;background:#4d351f;color:#ffe0b0;font:850 .89rem/1.3 system-ui,sans-serif;cursor:pointer}
@media(max-width:350px){.nav-candy-main{gap:5px}.nav-candy-main button{padding:10px 3px}}

/* v247r3: navegação por objetivos — Cadastro, Participação, Convites e alvos de assombração. */
/* v247r2: todas as opções de cada nível têm tamanho igual; 1 coluna mobile, 3 desktop. */
/* v247: navegação por destinos, progressiva. */
html.nav-hub-ready #screen-house .family-tabs,
html.nav-hub-ready #screen-album .fun-tabs{display:none!important}
html.nav-hub-ready #screen-house.nav-hub-root .family-tab-pane,
html.nav-hub-ready #screen-album.nav-hub-root .fun-pane,
html.nav-hub-ready #screen-album.nav-hub-explore-state .fun-pane{display:none!important}
.nav-hub{display:none;min-width:0}
html.nav-hub-ready #screen-house.nav-hub-root .nav-hub-home,
html.nav-hub-ready #screen-album.nav-hub-root .nav-hub-home,
html.nav-hub-ready #screen-album.nav-hub-explore-state .nav-hub-explore{
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:9px;margin:13px 0 18px
}
.nav-hub-card{
  display:flex;align-items:center;gap:10px;min-width:0;width:100%;min-height:86px;
  padding:14px 12px;border:1px solid rgba(186,204,222,.29);border-radius:14px;
  background:linear-gradient(180deg,#183047,#102236);color:#f3f7ff;
  font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;
  box-shadow:0 3px 12px rgba(0,0,0,.13)
}
.nav-hub-card:first-of-type{grid-column:auto;min-height:86px}
.nav-hub-card:hover,.nav-hub-card:focus-visible{
  border-color:#ffab4d;background:#213b52;
  outline:2px solid rgba(255,170,68,.55);outline-offset:1px
}
.nav-hub-card:active{transform:translateY(1px)}
.nav-hub-primary{border-color:rgba(255,155,49,.70);background:linear-gradient(115deg,#243b4c,#172c3e)}
.nav-hub-icon{font-size:1.6rem;line-height:1.2;flex:0 0 auto}
.nav-hub-copy{display:grid;gap:5px;min-width:0;flex:1}
.nav-hub-copy strong{font-size:.94rem;font-weight:900;line-height:1.2;overflow-wrap:anywhere}
.nav-hub-copy small{color:#c8d6e5;font-size:.73rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.nav-hub-arrow{color:#ffa94b;flex:0 0 auto;font-size:1.12rem;font-weight:900}
.nav-hub-detail-bar{display:none;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 14px;
  padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.12)}
html.nav-hub-ready #screen-house.nav-hub-detail .nav-hub-detail-bar,
html.nav-hub-ready #screen-album.nav-hub-detail .nav-hub-detail-bar{display:flex}
.nav-hub-back{display:inline-flex;align-items:center;justify-content:center;min-width:105px;
  min-height:44px;padding:9px 12px;border:1px solid rgba(255,255,255,.24);border-radius:10px;
  background:#142b40;color:#f2f6fb;font:800 .78rem/1.2 system-ui,sans-serif;cursor:pointer}
.nav-hub-back:focus-visible,.nav-hub-shortcut:focus-visible{outline:2px solid #ffad3e;outline-offset:2px}
.nav-hub-location{color:#d5e0eb;font-size:.79rem;font-weight:850;line-height:1.3}
.nav-hub-explore-back{grid-column:1/-1;justify-self:start}
.nav-hub-shortcut{display:none;width:100%;min-height:46px;box-sizing:border-box;margin:0 0 12px;
  padding:10px 12px;border:1px solid rgba(255,168,60,.54);border-radius:11px;
  background:#1d3547;color:#ffce91;font:850 .84rem/1.2 system-ui,sans-serif;cursor:pointer}
html.nav-hub-ready #screen-house.nav-hub-detail #family-config.active .nav-hub-shortcut{display:block}
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-card[data-nav-family="config"],
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-card[data-nav-family="participation"],
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-card[data-nav-family="guests"],
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-card[data-nav-family="communication"],
html.nav-hub-ready #screen-house.nav-hub-fantasies-only .nav-hub-card[data-nav-family="config"]{display:none!important}
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-home{grid-template-columns:minmax(0,1fr)}
html.nav-hub-ready #screen-house.nav-hub-guest .nav-hub-card:first-of-type{grid-column:auto}
html.nav-hub-ready #screen-album.nav-hub-root .fun-section-title-separator,
html.nav-hub-ready #screen-album.nav-hub-root #funSectionCurrent{display:none}
@media(min-width:760px){
  html.nav-hub-ready #screen-house.nav-hub-root .nav-hub-home,
  html.nav-hub-ready #screen-album.nav-hub-root .nav-hub-home,
  html.nav-hub-ready #screen-album.nav-hub-explore-state .nav-hub-explore{
    grid-template-columns:repeat(3,minmax(0,1fr))}
  .nav-hub-card{min-height:112px}
  .nav-hub-explore-back{grid-column:1/-1}
}
@media(max-width:390px){
  html.nav-hub-ready #screen-house.nav-hub-root .nav-hub-home,
  html.nav-hub-ready #screen-album.nav-hub-root .nav-hub-home,
  html.nav-hub-ready #screen-album.nav-hub-explore-state .nav-hub-explore{gap:7px}
  .nav-hub-card{padding:11px 9px;gap:7px}
  .nav-hub-copy strong{font-size:.85rem}
  .nav-hub-copy small{font-size:.69rem}
  .nav-hub-icon{font-size:1.3rem}
}


/* v247r3 — Os controles antigos continuam no DOM; somente o destino ativo é exibido.
   CSS guardado por nav-hub-ready: sem JS, o formulário legado permanece funcional. */
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="cadastro"] #familyParticipationCard,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="cadastro"] #familyGuestInviteCard,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyGuestInviteCard,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #guestAccountCard,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #familyParticipationCard,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #guestAccountCard{
  display:none!important;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > label,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > small,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > .family-account-fields,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > .structured-address,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > .family-save-btn,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #family-cadastro > .family-password-btn,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > label,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > small,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > .family-account-fields,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > .structured-address,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > .family-save-btn,
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="guests"] #family-cadastro > .family-password-btn{
  display:none!important;
}
/* Assombrar casas/famílias abre diretamente seu alvo, sem mais um submenu. */
html.nav-hub-ready #screen-album.nav-hub-detail #fun-votes.active .haunt-target-tabs{
  display:none!important;
}


/* v247r6 — Carteira focada no alvo selecionado.
   Assombrar casas: somente saldo de Geléias; Assombrar famílias:
   somente saldo de Gasparzinhos (atribuídos às fantasias).
   QR e promoção de créditos permanecem no help/Ranking; dados intactos. */
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="houses"] #fun-votes .wallet-balanced-grid,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"slimer"!important;
  gap:0!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid{
  grid-template-areas:"boo"!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="houses"] #fun-votes .wallet-balanced-grid > .wallet-earn-more,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="houses"] #fun-votes .wallet-balanced-grid > .stat-qr,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="houses"] #fun-votes .wallet-balanced-grid > .stat-boo,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid > .wallet-earn-more,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid > .stat-qr,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid > .stat-slimer{
  display:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="houses"] #fun-votes .wallet-balanced-grid > .stat-slimer,
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid > .stat-boo{
  grid-area:slimer!important;
  width:100%!important;
  height:auto!important;
  min-height:104px!important;
  max-height:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target="fantasies"] #fun-votes .wallet-balanced-grid > .stat-boo{
  grid-area:boo!important;
}


/* v248r1 — Voltar é uma ação inequívoca, inclusive no PWA mobile. */
html.nav-hub-ready .nav-hub-back{
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px;
  min-width:178px;
  min-height:50px!important;
  padding:11px 17px!important;
  border:2px solid #ffd092!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#ffb653,#f58a14)!important;
  color:#172030!important;
  font:900 .87rem/1.2 system-ui,sans-serif!important;
  text-align:center;
  box-shadow:0 4px 0 rgba(112,50,0,.52),0 7px 18px rgba(0,0,0,.22)!important;
  cursor:pointer;
}
html.nav-hub-ready .nav-hub-back:hover,
html.nav-hub-ready .nav-hub-back:focus-visible{
  background:linear-gradient(180deg,#ffd18d,#ffa32e)!important;
  border-color:#fff3d6!important;
  outline:3px solid rgba(255,193,93,.42)!important;
  outline-offset:2px!important;
}
html.nav-hub-ready .nav-hub-back:active{
  transform:translateY(2px);
  box-shadow:0 2px 0 rgba(112,50,0,.52)!important;
}
html.nav-hub-ready .nav-hub-detail-bar{
  align-items:center;
  gap:10px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,171,65,.25);
}
html.nav-hub-ready .nav-hub-explore-back{width:100%;justify-self:stretch}
@media(max-width:700px){
  html.nav-hub-ready .nav-hub-detail-bar .nav-hub-back{width:100%}
  html.nav-hub-ready .nav-hub-detail-bar .nav-hub-location{width:100%;font-size:.82rem}
}
/* v248r1 — Posicionamento da casa dentro de "Como participar".
   Os mesmos elementos DOM permanecem no #houseForm; salvar chama saveHouse. */
.nav-participation-setup{
  display:none;
  margin:12px 0 16px;
  padding:14px 12px;
  border:1px solid rgba(255,164,64,.4);
  border-radius:15px;
  background:rgba(255,153,52,.055);
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] .nav-participation-setup{
  display:grid;gap:10px;
}
html.nav-hub-ready.family-fantasies-only #screen-house .nav-participation-setup,
html.nav-hub-ready.guest-account #screen-house .nav-participation-setup{
  display:none!important;
}
.nav-participation-head{display:grid;gap:5px}
.nav-participation-head strong{font-size:.99rem;line-height:1.3}
.nav-participation-head span,.nav-participation-save-note{color:#c6d3df;font-size:.79rem;line-height:1.45}
.nav-participation-save-note{margin:0}
.nav-participation-setup .family-config-block{padding:12px 0;border-top:1px solid rgba(255,255,255,.1)}
.nav-participation-setup .family-position-actions button{min-height:48px}
.nav-participation-setup .icon-picker button{min-width:43px;min-height:43px}
html.nav-hub-ready #screen-house .nav-participation-shortcut{display:block}
html.nav-hub-ready #screen-house.nav-hub-guest .nav-participation-shortcut,
html.nav-hub-ready #screen-house.nav-hub-fantasies-only .nav-participation-shortcut{display:none!important}


/* v249r1 — Assombrar: cabeçalho sem corte horizontal e saldo realmente legível.
   Apenas o modo novo: não alterar as carteiras de Ranking, mapa ou fallback. */
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-head{
  box-sizing:border-box;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%;
  min-width:0;
  gap:5px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-brand{
  min-width:0;
  max-width:100%;
  margin:0;
  font-size:.65rem;
  letter-spacing:.065em;
}
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-heading{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-items:start;
  min-width:0;
  width:100%;
  max-width:100%;
  gap:8px;
}
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-title{
  display:block!important;
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  width:100%;
  margin:0!important;
  font-size:clamp(1.18rem,4.6vw,1.55rem)!important;
  line-height:1.23!important;
  white-space:normal!important;
  overflow-wrap:break-word;
  word-break:normal;
  text-align:left;
  letter-spacing:-.015em;
}
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-title>span:first-child,
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-title-separator{
  display:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail #funSectionCurrent{
  display:block!important;
  min-width:0;
  width:100%;
  max-width:100%;
  white-space:normal!important;
  overflow-wrap:break-word;
  word-break:normal;
}
html.nav-hub-ready #screen-album.nav-hub-detail .fun-section-status{
  align-self:flex-start;
  justify-self:start;
  max-width:100%;
  white-space:normal;
  font-size:.69rem!important;
  line-height:1.2!important;
}

/* Carteira contextual: de quatro cartões pequenos para um cartão espaçoso.
   A seleção de .stat-slimer/.stat-boo NÃO altera display, preservando o
   filtro que oculta o crédito da modalidade oposta e o QR. */
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid{
  width:100%!important;
  min-width:0;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid > :is(.stat-slimer,.stat-boo){
  box-sizing:border-box;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:150px!important;
  max-height:none!important;
  padding:16px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  column-gap:12px!important;
  row-gap:14px!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.24);
  border-radius:15px!important;
  background:linear-gradient(135deg,#142a3c,#0b1e2b)!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-head{
  min-width:0!important;
  overflow:visible!important;
  gap:10px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-head>span:last-child{
  overflow:visible!important;
  min-width:0!important;
  gap:5px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-token{
  width:44px!important;
  height:44px!important;
  flex:0 0 44px!important;
  object-fit:contain!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-head b{
  max-width:100%!important;
  font-size:1.13rem!important;
  line-height:1.22!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-head small{
  max-width:100%!important;
  font-size:.78rem!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline{
  min-width:0!important;
  max-width:none!important;
  width:auto!important;
  gap:4px!important;
  overflow:visible!important;
  white-space:normal!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline strong{
  width:auto!important;
  font-size:2.2rem!important;
  line-height:1.05!important;
  font-variant-numeric:tabular-nums;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline em{
  max-width:100%!important;
  font-size:.77rem!important;
  line-height:1.25!important;
  font-weight:750!important;
  overflow-wrap:break-word;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-foot{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding-top:11px!important;
  gap:7px 20px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  white-space:normal!important;
  font-size:.8rem!important;
  line-height:1.4!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-foot > span{
  white-space:normal!important;
  overflow:visible!important;
  font-size:inherit!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-foot b{
  font-size:.88rem!important;
  line-height:1.35!important;
}
@media(max-width:390px){
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid > :is(.stat-slimer,.stat-boo){
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    min-height:0!important;
    row-gap:12px!important;
    padding:14px!important;
  }
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline{
    grid-column:1!important;
    grid-row:2!important;
    flex-direction:row!important;
    align-items:baseline!important;
    justify-self:start!important;
    text-align:left!important;
    gap:9px!important;
  }
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline strong,
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-mainline em{
    text-align:left!important;
  }
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-target] #fun-votes .wallet-balanced-grid :is(.stat-slimer,.stat-boo) .wallet-stat-foot{
    grid-column:1!important;
    grid-row:3!important;
  }
}


/* v250r1 — Escolha guiada: modalidade primeiro, localização como etapa filha.
   Apenas no roteador novo; o fluxo legadο continua disponível como fallback. */
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationCard{
  display:grid;
  gap:12px;
  padding:15px;
  margin:0 0 14px;
  background:linear-gradient(180deg,rgba(255,155,43,.08),rgba(16,37,53,.9));
  border:1px solid rgba(255,169,79,.36);
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationCard .participation-card-copy h4{
  font-size:1.12rem;
  line-height:1.25;
  overflow-wrap:break-word;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationChange{
  display:none!important;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions.hidden{
  display:grid!important;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  align-items:stretch;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  min-height:98px;
  height:auto!important;
  gap:7px;
  padding:13px 12px!important;
  border:2px solid rgba(196,215,232,.25)!important;
  border-radius:13px;
  background:#14293c!important;
  color:#f1f6fc!important;
  white-space:normal!important;
  text-align:left;
  box-shadow:none!important;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button[aria-pressed="true"]{
  border-color:#ffad48!important;
  background:linear-gradient(135deg,#334653,#182e40)!important;
  box-shadow:inset 0 0 0 1px rgba(255,167,66,.28)!important;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button:focus-visible{
  outline:3px solid #ffb64c!important;
  outline-offset:2px;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button strong{
  font-size:.94rem;
  line-height:1.25;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button small{
  color:#c4d4e2!important;
  font-size:.74rem;
  font-weight:600;
  line-height:1.42;
}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] .nav-participation-mode-hint{
  margin:0;
  color:#c6d5e2;
  font-size:.77rem;
  line-height:1.4;
}
.nav-participation-mode-hint{display:none}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] .nav-participation-mode-hint{display:block}
#familyParticipationSetup[hidden]{display:none!important}
html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] .nav-participation-setup{
  padding:0;
  margin-top:0;
  background:transparent;
  border:0;
  min-width:0;
}
.nav-position-details{
  width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(172,198,221,.32);
  border-radius:15px;
  background:linear-gradient(180deg,#112b40,#0c1d2d);
}
.nav-position-summary{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:86px;
  padding:14px 15px;
  cursor:pointer;
  list-style:none;
  touch-action:manipulation;
}
.nav-position-summary::-webkit-details-marker{display:none}
.nav-position-summary:focus-visible{
  outline:3px solid #ffb64c;
  outline-offset:-3px;
}
.nav-position-summary-copy{
  display:grid;
  flex:1;
  min-width:0;
  gap:5px;
}
.nav-position-summary-copy strong{
  font-size:.98rem;
  line-height:1.3;
  overflow-wrap:break-word;
}
.nav-position-summary-copy small{
  color:#c3d2e1;
  font-size:.78rem;
  line-height:1.35;
  overflow-wrap:break-word;
}
.nav-position-status{
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(244,163,53,.12);
  color:#ffcd8c;
  font-size:.74rem;
  font-weight:800;
  line-height:1.3;
  overflow-wrap:break-word;
}
.nav-position-complete .nav-position-status{
  background:rgba(79,201,133,.11);
  color:#a8efc5;
}
.nav-position-chevron{
  font-size:1.45rem;
  font-weight:900;
  line-height:1;
  color:#ffb24d;
  transition:transform .18s;
}
.nav-position-details[open] .nav-position-chevron{transform:rotate(180deg)}
/* v253r1 — o resumo é clicável por inteiro e a ação tem aparência explícita de expansão. */
.nav-position-summary{flex-direction:column;align-items:stretch;gap:12px}
.nav-position-summary-copy{width:100%}
.nav-position-action{
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
  gap:12px;width:100%;min-width:0;min-height:48px;padding:10px 14px;
  border:2px solid #ffad48;border-radius:11px;
  background:linear-gradient(110deg,#543518,#3b2b20);color:#ffdfae;
  font-size:.91rem;font-weight:850;line-height:1.25;
  box-shadow:0 3px 10px rgba(0,0,0,.2)
}
.nav-position-action>span:first-child{min-width:0;overflow-wrap:break-word}
.nav-position-action .nav-position-chevron{
  flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;
  border-radius:50%;background:rgba(255,189,89,.19);color:#ffcf82;font-size:1.45rem
}
.nav-position-summary:hover .nav-position-action,
.nav-position-summary:focus-visible .nav-position-action{border-color:#ffd096;background:#60401e}
.nav-position-details[open] .nav-position-action{
  background:#20394c;border-color:rgba(255,173,72,.65);color:#ffe0b0
}
.nav-position-body{
  display:grid;
  gap:9px;
  padding:15px;
  border-top:1px solid rgba(172,198,221,.22);
  min-width:0;
}
.nav-position-step{
  display:flex;
  align-items:center;
  gap:9px;
  margin:9px 0 0;
  font-size:.93rem;
  line-height:1.3;
}
.nav-position-step>span{
  flex:0 0 27px;
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,170,70,.65);
  border-radius:50%;
  color:#ffc581;
  font-size:.8rem;
  font-weight:900;
}
.nav-position-hint{
  margin:0;
  color:#c4d2df;
  font-size:.78rem;
  line-height:1.4;
}
.nav-position-body .family-config-block{
  min-width:0;
  padding:9px 0;
  border:0;
}
.nav-position-body .family-config-block .field-title{
  margin:0 0 10px;
  font-size:.85rem;
}
.nav-position-body .family-position-actions button{
  min-width:0;
  min-height:50px!important;
  font-size:.81rem;
  line-height:1.2;
  white-space:normal;
}
.nav-position-body .icon-picker{min-width:0}
.nav-position-body .icon-picker button{
  min-width:44px;
  min-height:44px;
}
.nav-position-body .nav-participation-save{
  min-height:50px;
  font-size:.9rem;
  white-space:normal;
}
@media(max-width:520px){
  html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html.nav-hub-ready #screen-house.nav-hub-detail[data-nav-family-view="participation"] #familyParticipationOptions button{
    min-height:82px;
  }
  .nav-position-summary,.nav-position-body{padding:13px}
  .nav-position-summary-copy strong{font-size:.92rem}
  .nav-position-body .family-position-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v256r1 — Família: tarefas organizadas sob um título, 2×2 + Conversas plena.
   Mesmos data-nav-family e roteamento. Título é informativo, não botão. */
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;align-items:stretch;max-width:780px;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-family-menu-heading{
  grid-column:1/-1;display:grid;gap:4px;min-width:0;padding:5px 2px 1px;
}
#familyNavHome .nav-family-menu-heading strong{
  font-size:1.08rem;font-weight:900;line-height:1.35;color:#f5f7fd;
  overflow-wrap:break-word;
}
#familyNavHome .nav-family-menu-heading small{
  font-size:.82rem;line-height:1.4;color:#c7d5e4;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-house.nav-hub-root
  .nav-candy-quick:not([hidden]) + #familyNavHome .nav-family-menu-heading{
  border-top:1px solid rgba(203,220,233,.2);padding-top:15px;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-card{
  position:relative;box-sizing:border-box;display:grid;
  grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;
  align-content:start;justify-items:start;align-items:start;
  gap:8px;width:100%;min-width:0;min-height:140px;height:100%;
  padding:14px 12px;border-radius:14px;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-icon{
  font-size:1.6rem;line-height:1.1;grid-row:1;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-copy{
  grid-row:2/span 2;width:100%;min-width:0;gap:5px;align-self:start;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-copy strong{
  font-size:.94rem;line-height:1.3;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-copy small{
  font-size:.77rem;line-height:1.38;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-arrow{
  position:absolute;top:12px;right:12px;display:grid;place-items:center;
  width:29px;height:29px;border:1px solid rgba(255,177,81,.45);
  border-radius:50%;background:rgba(255,172,73,.10);
}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome
  .nav-hub-card[data-nav-family="communication"]{grid-column:1/-1;}
html.nav-hub-ready #screen-house.nav-hub-root.nav-hub-fantasies-only #familyNavHome
  .nav-hub-card[data-nav-family="communication"]{grid-column:auto;}
html.nav-hub-ready #screen-house.nav-hub-root.nav-hub-guest #familyNavHome{
  grid-template-columns:minmax(0,1fr);
}
html.nav-hub-ready #screen-house.nav-hub-root.nav-hub-guest #familyNavHome
  .nav-hub-card[data-nav-family="cadastro"]{grid-column:1/-1;}
@media(max-width:350px){
  html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome{gap:8px;}
  html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-card{
    padding:12px 9px;min-height:148px;gap:7px;
  }
}

/* v258r1 — Diversão: mesma linguagem de Família, com Explorar em destaque
   e as duas formas de Assombrar lado a lado. Somente apresentação. */
html.nav-hub-ready #screen-album.nav-hub-root #funNavHome,
html.nav-hub-ready #screen-album.nav-hub-explore-state #funNavExplore{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;gap:10px;max-width:780px;
}
html.nav-hub-ready #screen-album :is(#funNavHome,#funNavExplore)
  :is(.nav-fun-menu-heading,.nav-fun-explore-heading){
  grid-column:1/-1;display:grid;gap:4px;min-width:0;padding:5px 2px 2px;
}
html.nav-hub-ready #screen-album :is(#funNavHome,#funNavExplore)
  :is(.nav-fun-menu-heading,.nav-fun-explore-heading) strong{
  font-size:1.08rem;font-weight:900;line-height:1.35;color:#f5f7fd;
  overflow-wrap:break-word;
}
html.nav-hub-ready #screen-album :is(#funNavHome,#funNavExplore)
  :is(.nav-fun-menu-heading,.nav-fun-explore-heading) small{
  font-size:.82rem;line-height:1.4;color:#c7d5e4;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-album #funNavExplore #funNavExploreBack{
  grid-column:1/-1;min-height:48px;
}
html.nav-hub-ready #screen-album :is(#funNavHome,#funNavExplore) .nav-hub-card{
  box-sizing:border-box;min-width:0;width:100%;height:100%;
  border-radius:14px;padding:14px 12px;white-space:normal;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"],
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="ranking"],
html.nav-hub-ready #screen-album #funNavExplore .nav-hub-card[data-nav-fun="album"]{
  grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:97px;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"]{
  border:2px solid #ffa94b;background:linear-gradient(120deg,#39424a,#243c4a);
  box-shadow:0 4px 15px rgba(0,0,0,.2);
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"] .nav-hub-icon{
  font-size:2rem;
}
html.nav-hub-ready #screen-album #funNavHome
  .nav-hub-card[data-nav-fun="explore"] .nav-hub-copy strong{
  font-size:1.12rem;
}
html.nav-hub-ready #screen-album #funNavHome
  :is(.nav-hub-card[data-nav-fun="votes-houses"],.nav-hub-card[data-nav-fun="votes-fantasies"]),
html.nav-hub-ready #screen-album #funNavExplore
  :is(.nav-hub-card[data-nav-fun="houses"],.nav-hub-card[data-nav-fun="families"]){
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr;align-items:start;align-content:start;
  justify-items:start;min-height:145px;gap:9px;padding:14px 12px;
}
html.nav-hub-ready #screen-album #funNavHome
  :is(.nav-hub-card[data-nav-fun="votes-houses"],.nav-hub-card[data-nav-fun="votes-fantasies"]) .nav-hub-icon,
html.nav-hub-ready #screen-album #funNavExplore
  :is(.nav-hub-card[data-nav-fun="houses"],.nav-hub-card[data-nav-fun="families"]) .nav-hub-icon{
  font-size:1.65rem;line-height:1.1;
}
html.nav-hub-ready #screen-album
  :is(#funNavHome,#funNavExplore) .nav-hub-copy{
  min-width:0;gap:5px;
}
html.nav-hub-ready #screen-album
  :is(#funNavHome,#funNavExplore) .nav-hub-copy strong{
  font-size:.95rem;line-height:1.3;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-album
  :is(#funNavHome,#funNavExplore) .nav-hub-copy small{
  font-size:.78rem;line-height:1.38;overflow-wrap:break-word;
}
html.nav-hub-ready #screen-album #funNavHome
  :is(.nav-hub-card[data-nav-fun="votes-houses"],.nav-hub-card[data-nav-fun="votes-fantasies"]) .nav-hub-arrow,
html.nav-hub-ready #screen-album #funNavExplore
  :is(.nav-hub-card[data-nav-fun="houses"],.nav-hub-card[data-nav-fun="families"]) .nav-hub-arrow{
  position:absolute;right:12px;top:12px;display:grid;place-items:center;
  width:28px;height:28px;border:1px solid rgba(255,177,81,.45);
  border-radius:50%;background:rgba(255,172,73,.1);
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card:focus-visible,
html.nav-hub-ready #screen-album #funNavExplore .nav-hub-card:focus-visible{
  outline:3px solid #ffbf6a;outline-offset:2px;
}
@media(max-width:350px){
  html.nav-hub-ready #screen-album.nav-hub-root #funNavHome,
  html.nav-hub-ready #screen-album.nav-hub-explore-state #funNavExplore{gap:8px;}
  html.nav-hub-ready #screen-album #funNavHome
    :is(.nav-hub-card[data-nav-fun="votes-houses"],.nav-hub-card[data-nav-fun="votes-fantasies"]),
  html.nav-hub-ready #screen-album #funNavExplore
    :is(.nav-hub-card[data-nav-fun="houses"],.nav-hub-card[data-nav-fun="families"]){
    padding:12px 9px;min-height:153px;
  }
}

/* v259r1 — Explorar → Casas/Famílias: conteúdo antes de cabeçalhos duplicados.
   Somente o destino ativo; ranking, assombrações e fallback não são afetados. */
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-head{
  padding:0 0 7px!important;gap:0!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-brand{display:none!important;}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-heading{
  flex-flow:row wrap!important;align-items:center!important;gap:6px 10px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-title{
  flex:0 1 auto;width:auto!important;max-width:100%!important;margin:0!important;
  font-size:1.16rem!important;line-height:1.25!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) #funSectionCurrent{
  width:auto!important;font-size:inherit!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-status{
  margin:0 0 0 auto!important;align-self:center!important;
  padding:5px 9px!important;font-size:.64rem!important;line-height:1.2!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .nav-hub-detail-bar{
  margin:0 0 9px!important;padding:0!important;gap:0!important;border:0!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .nav-hub-detail-bar .nav-hub-location{display:none!important;}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .nav-hub-detail-bar .nav-hub-back{
  box-sizing:border-box;width:auto!important;min-width:0!important;max-width:100%;
  min-height:44px!important;padding:9px 14px!important;margin:0!important;
  border:1px solid #e6a356!important;border-radius:11px!important;
  background:#24394a!important;color:#ffe0b2!important;
  font:850 .87rem/1.28 system-ui,sans-serif!important;
  text-align:center;white-space:normal;box-shadow:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .nav-hub-detail-bar .nav-hub-back:focus-visible{
  outline:3px solid #ffba62!important;outline-offset:2px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families)>.participant-directory-card{
  margin:0!important;padding:0!important;background:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families) .compact-head{
  margin:0 0 8px!important;min-width:0;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families) .compact-head>div:first-child{display:none!important;}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families) .participant-directory-head-actions{
  display:flex!important;flex-flow:row wrap!important;
  align-items:center!important;justify-content:space-between!important;
  gap:7px!important;width:100%;min-width:0;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families) .participant-share-btn{
  min-width:0;min-height:44px!important;padding:9px 12px!important;
  font-size:.85rem!important;line-height:1.3!important;white-space:normal;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #participantDirectoryViewSwitch{
  margin:0 0 9px!important;padding:3px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #participantDirectoryViewSwitch button{
  min-height:44px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="families"] .participant-family-legend{
  margin:0 0 9px!important;gap:5px!important;
}
@media(max-width:350px){
  html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .participant-directory-head-actions{
    align-items:stretch!important;
  }
}

/* v260r1 — Explorar: Voltar+selo na primeira linha, título+contador na segunda.
   O DOM real é reposicionado só em Casas/Famílias; nenhum ID duplicado. */
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"back status" "title count";
  align-items:center!important;column-gap:9px!important;row-gap:7px!important;
  margin:0 0 8px!important;padding:0 0 8px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-heading{display:contents!important;}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-title{
  grid-area:title;justify-self:start;min-width:0;width:auto!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-status{
  grid-area:status;justify-self:end;margin:0!important;
  max-width:100%;font-size:.65rem!important;text-align:center;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-head>.nav-hub-detail-bar{
  grid-area:back;display:flex!important;justify-self:start;
  width:auto!important;min-width:0;min-height:44px;margin:0!important;padding:0!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-head>:is(#participantHouseTotal,#participantFamilyTotal){
  grid-area:count;justify-self:end;margin:0;white-space:normal;
  max-width:100%;font-size:.72rem!important;line-height:1.2;text-align:center;
}
html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) :is(#fun-houses,#fun-families)>.participant-directory-card>.compact-head{
  display:none!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #houseDirectoryTools{
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr);
  align-items:stretch;gap:7px;min-width:0;margin:0 0 10px;
  padding:7px;border:1px solid rgba(160,189,213,.22);border-radius:12px;
  background:#182d3e;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #houseDirectoryTools #participantDirectoryViewSwitch{
  min-width:0;min-height:44px;margin:0!important;padding:3px!important;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #houseDirectoryTools #shareHouseListBtn{
  box-sizing:border-box;width:100%;min-width:0;min-height:44px!important;
  padding:7px 5px!important;margin:0;border:1px solid rgba(239,178,104,.45);
  background:#263e50!important;color:#ffdaaf;font-size:.75rem!important;
  line-height:1.2!important;white-space:normal;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="families"] #familyDirectoryTools{
  display:flex;align-items:center;justify-content:flex-end;
  min-height:44px;margin:0 0 8px;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="families"] #familyDirectoryTools #shareFamilyListBtn{
  width:auto;min-width:0;min-height:44px!important;
  padding:8px 12px!important;font-size:.84rem!important;
  background:#263e50!important;border:1px solid rgba(239,178,104,.45);
  color:#ffdaaf;white-space:normal;
}
html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="families"] .participant-family-legend{
  padding:7px;border:1px solid rgba(160,189,213,.2);
  border-radius:11px;background:#182d3e;
}
@media(max-width:350px){
  html.nav-hub-ready #screen-album.nav-hub-detail:is([data-nav-fun-view="houses"],[data-nav-fun-view="families"]) .fun-section-head{
    column-gap:5px!important;
  }
  html.nav-hub-ready #screen-album.nav-hub-detail[data-nav-fun-view="houses"] #houseDirectoryTools{
    gap:4px;padding:5px;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  }
}

/* v261r1 — o menu principal precisa ser identificável no TESTE e apresentar
   Explorar inequivocamente como ação de entrada (sem mudar links ou handlers). */
html.nav-hub-ready #screen-album .nav-fun-test-version{
  display:inline-flex;align-items:center;justify-self:start;align-self:start;
  padding:4px 8px;border:1px solid rgba(255,175,72,.55);
  border-radius:999px;background:#3b2e25;color:#ffcb8d;
  font:850 .67rem/1.2 system-ui,sans-serif;letter-spacing:.02em;
}
html.nav-hub-ready #screen-album.nav-hub-root #funNavHome,
html.nav-hub-ready #screen-album.nav-hub-explore-state #funNavExplore{
  gap:9px;margin-top:8px;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"]{
  min-height:86px;border:2px solid #ffda9e;
  background:linear-gradient(120deg,#ffbd60,#f49b21);
  box-shadow:0 6px 20px rgba(0,0,0,.32);
  color:#142333;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"] .nav-hub-copy :is(strong,small),
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"] .nav-hub-arrow{
  color:#142333;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="explore"]:focus-visible{
  outline:3px solid #ffdfa2;outline-offset:3px;
}
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="votes-houses"],
html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="votes-fantasies"]{
  min-height:126px;
}
@media(max-width:350px){
  html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="votes-houses"],
  html.nav-hub-ready #screen-album #funNavHome .nav-hub-card[data-nav-fun="votes-fantasies"]{
    min-height:133px;
  }
}
