/* Cabeçalho único do site (topo.js) e barra lateral das páginas.
   O céu (cores) vem de fases.css; aqui fica só a forma. */
/* altura do cabeçalho: topo.js grava só --topo-alt (medida); as páginas usam --topo-h, que vale 0 enquanto o cabeçalho está escondido */
html { --topo-h: var(--topo-alt, 54px); }
html.topo-oculto { --topo-h: 0px; }
header.topo {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap;
  min-height: 54px; box-sizing: border-box; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px));
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; margin: 0;
}
header.topo .marca { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; flex: 0 1 auto; }
header.topo .marca img { height: 26px; width: auto; flex: none; }
@media (min-width: 901px) { header.topo:not(.topo-cheio) .marca { min-width: max-content; } header.topo:not(.topo-cheio) .marca .topo-tit { display: none; } header.topo:not(.topo-cheio).cabe-titulo .marca .topo-tit { display: flex; } }
header.topo .marca .topo-tit { text-transform: none; letter-spacing: normal; color: inherit; font-size: inherit; }
header.topo .topo-tit b { text-transform: none; }
header.topo .topo-tit { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
header.topo .topo-tit b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
header.topo .topo-tit small { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
header.topo .topo-menu { display: flex; gap: 2px; margin-left: auto; flex: none; }
header.topo .topo-menu a, header.topo .topo-entrar, header.topo .topo-sair {
  color: var(--ceu-tx, #efe5d4); text-decoration: none; padding: 7px 11px; border-radius: 3px; border: 1px solid transparent;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; line-height: 1;
}
header.topo .topo-menu a:hover, header.topo .topo-entrar:hover, header.topo .topo-sair:hover { border-color: var(--ceu-traco, #4a3d33); }
header.topo .topo-menu a[aria-current="page"] { background: var(--ceu-ativo, #3b2e25); color: var(--ceu-ativo-tx, #efe5d4); }
header.topo .topo-fim { display: flex; align-items: center; gap: 8px; flex: none; }
header.topo .topo-mestre, header.topo .topo-conta { display: flex; align-items: center; gap: 6px; }
html header.topo .topo-fim a.topo-entrar, html header.topo .topo-fim a.topo-sair { border: 1px solid var(--ceu-traco, #4a3d33); color: var(--ceu-tx, #efe5d4); background: transparent; padding: 7px 11px; }
html header.topo .topo-fim a.topo-entrar { background: var(--ceu-tx, #efe5d4); color: var(--ceu, #15110e); border-color: var(--ceu-tx, #efe5d4); }
/* botões só de mestre: metade do tamanho, juntos dos outros */
html header.topo .topo-fim a.chip-mestre, header.topo .chip-mestre {
  color: var(--ceu-suave, #a8998a); text-decoration: none; border: 1px dashed var(--ceu-traco, #4a3d33); border-radius: 999px; padding: 3px 8px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; line-height: 1.1;
}
html header.topo .topo-fim a.chip-mestre:hover, html header.topo .topo-fim a.chip-mestre[aria-current="page"] { color: var(--ceu-tx, #efe5d4); border-style: solid; }
html header.topo .fase-sel > button { padding: 5px 8px; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); margin: 0; width: auto; font-size: 14px; }
html header.topo .fase-sel > button:hover { background: var(--ceu-ativo); color: var(--ceu-ativo-tx); }
html header.topo .topo-menu-bt { margin: 0; width: auto; }
html header.topo .topo-lado { margin: 0; }
header.topo .topo-menu-bt { display: none; }
header.topo .topo-lado[hidden] { display: none !important; }
header.topo .topo-menu a[hidden] { display: none !important; }
header.topo .topo-lado { display: none; flex: none; width: 36px; height: 34px; border: 1px solid var(--ceu-traco, #4a3d33); background: transparent; border-radius: 3px; padding: 9px 8px; flex-direction: column; justify-content: space-between; cursor: pointer; }
header.topo .topo-lado span { display: block; height: 2px; background: var(--ceu-tx, #efe5d4); border-radius: 1px; }
/* sem a caixa de busca no topo, os astros ficam no céu */
header.topo .marca .astros-marca { position: relative; flex: none; margin-left: 6px; }
header.topo .marca .astros-marca svg { height: 24px; width: 68px; }
@media (max-width: 1500px) { header.topo .marca .astros-marca { display: none; } }

@media (max-width: 1480px) {
  header.topo .topo-menu a { padding: 7px 7px; letter-spacing: .08em; }
  header.topo .topo-tit small { display: none; }
}

@media (max-width: 1000px) {
  html header.topo .topo-fim a.chip-mestre { padding: 3px 6px; font-size: 10px; letter-spacing: .05em; }
}
/* celular e tablet: o menu do site vira uma lista que abre no botão Menu */
@media (max-width: 900px) {
  header.topo { gap: 8px; flex-wrap: wrap; }
  header.topo .topo-lado { display: flex; }
  header.topo .marca { flex: 1 1 auto; }
  header.topo .topo-tit b { font-size: 19px; }
  header.topo .topo-menu-bt { display: block; order: 3; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 7px 10px; font: 600 14px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
  header.topo .topo-fim { order: 2; }
  header.topo { flex-wrap: nowrap; }
  header.topo.menu-aberto { flex-wrap: wrap; }
  html header.topo .marca { flex: 1 1 0; min-width: 0; }
  header.topo .topo-mestre, header.topo .topo-conta { display: none; }
  header.topo.menu-aberto .topo-conta { display: flex; order: 6; flex-basis: 100%; padding: 2px 0 8px; }
  header.topo.menu-aberto .topo-fim { display: contents; }
  header.topo .marca { min-width: 0; }
  header.topo .topo-tit b { overflow: hidden; text-overflow: ellipsis; }
  header.topo .topo-menu { order: 4; display: none; flex-basis: 100%; flex-direction: column; margin: 4px 0 6px; gap: 0; }
  header.topo.menu-aberto .topo-menu { display: flex; }
  header.topo.menu-aberto .topo-mestre { display: flex; order: 5; flex-basis: 100%; flex-wrap: wrap; padding: 4px 0 8px; }
  header.topo .topo-menu a { padding: 11px 6px; font-size: 16px; border-bottom: 1px solid var(--ceu-traco, #4a3d33); border-radius: 0; }
  header.topo .fase-sel .nome { display: none; }
}
@media (max-width: 420px) {
  header.topo .topo-tit b { font-size: 17px; }
  header.topo .marca img { height: 22px; }
  html header.topo .topo-fim a.chip-mestre[href="/conta.html"] { display: none; }
}

/* ---------- barra lateral das páginas (botões próprios de cada página) ---------- */
.lateral {
  box-sizing: border-box; background: var(--duna2, #241e19); color: var(--tx, #efe5d4); border-right: 1px solid var(--traco, #3a3029);
  padding: 14px 12px 30px; overflow: auto; font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}
.lateral .lat-g { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--tx-suave, #a7998a); margin: 14px 0 6px; }
.lateral .lat-g:first-child { margin-top: 0; }
.lateral .lat-bt, .lateral .grupo button, .lateral .bt-barra, .lateral .tx, html[data-fase] .lateral .bt-barra, html[data-fase] .lateral .grupo button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; box-sizing: border-box; margin: 0 0 4px;
  background: transparent; color: var(--tx, #efe5d4); border: 1px solid var(--traco, #3a3029); border-radius: 3px; padding: 7px 10px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; text-decoration: none; line-height: 1.15;
}
html .lateral .lat-bt:hover, html .lateral .grupo button:hover, html[data-fase] .lateral .bt-barra:hover, html .lateral .tx:hover { border-color: var(--tx-forte, #fff); background: transparent; color: var(--tx, #efe5d4); }
.lateral [aria-pressed="true"], .lateral [aria-selected="true"], .lateral [aria-current="page"] { background: var(--tx-forte, #efe5d4) !important; color: var(--duna, #1a1613) !important; border-color: var(--tx-forte, #efe5d4) !important; }
.lateral .grupo { display: block; border: 0; overflow: visible; }
.lateral .busca { position: relative; margin: 0 0 6px; width: 100%; max-width: none; flex: none; }
.lateral .busca input { width: 100%; box-sizing: border-box; background: var(--duna, #1a1613); color: var(--tx, #efe5d4); border: 1px solid var(--traco, #3a3029); border-radius: 3px; padding: 8px 10px; font: 15px Spectral, Georgia, serif; }
.lateral .busca #res { position: absolute; left: 0; top: calc(100% + 4px); width: min(420px, 86vw); z-index: 60; }
.lateral .lat-nota { font-family: Spectral, Georgia, serif; font-size: 13px; color: var(--tx-suave, #a7998a); line-height: 1.35; margin: 2px 0 8px; letter-spacing: 0; text-transform: none; }
.lateral label { display: block; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--tx-suave, #a7998a); margin: 10px 0 4px; }
.lateral select, .lateral input[type="search"] { width: 100%; box-sizing: border-box; background: var(--duna, #1a1613); color: var(--tx, #efe5d4); border: 1px solid var(--traco, #3a3029); border-radius: 3px; padding: 7px 8px; font: 15px Spectral, Georgia, serif; }
@media (max-width: 900px) {
  .lateral { position: fixed; left: 0; top: var(--topo-h, 54px); bottom: 0; width: min(300px, 86vw); z-index: 35; transform: translateX(-102%); transition: transform .2s; box-shadow: 10px 0 30px rgba(0,0,0,.35); }
  .lateral.aberta { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- proteção do conteúdo ---------- */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"], .copiavel, .cabecalho-ex, .hoje-lumn { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html.pode-copiar body { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img { -webkit-user-drag: none; }
@media print { body { display: none !important; } }

/* páginas com mapa: barra lateral à esquerda do mapa */
.corpo { display: flex; flex: 1; min-height: 0; }
.corpo > .lateral { width: 210px; flex: none; }
.corpo > .lateral + * { flex: 1; min-width: 0; }
.lateral #res { position: static !important; margin-top: 6px; max-height: 50vh; width: auto !important; box-shadow: none; }
.lateral .lat-zoom { display: flex; gap: 4px; }
.lateral .lat-zoom .tx { justify-content: center; }
@media (max-width: 900px) { .corpo > .lateral { width: min(300px, 86vw); } }
/* páginas que rolam (relatos, banco): barra lateral fixa ao lado do conteúdo */
.pg-lateral { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
.pg-lateral > .lateral { position: sticky; top: 54px; height: calc(100vh - 54px); }
@media (max-width: 900px) { .pg-lateral { grid-template-columns: minmax(0, 1fr); } .pg-lateral > .lateral { position: fixed; height: auto; } }

/* ---------- língua (PT | EN) e versão (celular ou computador) ---------- */
header.topo .topo-opc { display: flex; align-items: center; gap: 10px; flex: none; }
header.topo .topo-lingua { display: inline-flex; border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; overflow: hidden; }
header.topo .topo-lingua a, header.topo .topo-lingua .topo-so-pt { color: var(--ceu-suave, #a8998a); text-decoration: none; padding: 5px 7px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; line-height: 1; }
header.topo .topo-lingua a[aria-current="true"] { background: var(--ceu-ativo, #3b2e25); color: var(--ceu-ativo-tx, #efe5d4); }
header.topo .topo-lingua a:hover { color: var(--ceu-tx, #efe5d4); }
header.topo .topo-versao { display: none; align-items: center; gap: 4px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ceu-suave, #a8998a); }
html header.topo .topo-volta { display: none; margin: 0; width: auto; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 5px 8px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
html[data-toque="1"][data-pref="pc"] header.topo .topo-volta { display: inline-block; }
header.topo .topo-versao b { font-weight: 600; margin-right: 2px; }
html header.topo .topo-versao button { margin: 0; width: auto; background: transparent; color: var(--ceu-suave, #a8998a); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 5px 8px; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
html header.topo .topo-versao button[aria-pressed="true"] { background: var(--ceu-ativo, #3b2e25); color: var(--ceu-ativo-tx, #efe5d4); border-color: var(--ceu-ativo, #3b2e25); }
@media (max-width: 900px) {
  header.topo .topo-opc { display: none; }
  header.topo.menu-aberto .topo-opc { display: flex; flex-wrap: wrap; order: 7; flex-basis: 100%; padding: 6px 0 10px; gap: 12px 16px; }
  header.topo.menu-aberto .topo-versao { display: inline-flex; flex-wrap: wrap; gap: 6px; }
  header.topo.menu-aberto .topo-versao b { flex-basis: 100%; }
  html header.topo.menu-aberto .topo-volta { display: none; }
  header.topo.menu-aberto .topo-lingua a, header.topo.menu-aberto .topo-lingua .topo-so-pt { padding: 9px 14px; font-size: 14px; }
  html header.topo.menu-aberto .topo-versao button { padding: 8px 10px; font-size: 13px; }
}


/* computador com o cabeçalho cheio (muitos itens no menu): topo.js mede e, se não couber, liga .topo-cheio,
   que usa o mesmo menu do celular (botão Menu). Gerado a partir dos dois blocos de celular acima. */
header.topo.topo-cheio { gap: 8px; flex-wrap: wrap; }
header.topo.topo-cheio .marca { flex: 1 1 auto; }
header.topo.topo-cheio .topo-tit b { font-size: 19px; }
header.topo.topo-cheio .topo-menu-bt { display: block; order: 3; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 7px 10px; font: 600 14px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
header.topo.topo-cheio .topo-fim { order: 2; }
header.topo.topo-cheio { flex-wrap: nowrap; }
header.topo.topo-cheio.menu-aberto { flex-wrap: wrap; }
html header.topo.topo-cheio .marca { flex: 1 1 0; min-width: 0; }
header.topo.topo-cheio .topo-mestre, header.topo.topo-cheio .topo-conta { display: none; }
header.topo.topo-cheio.menu-aberto .topo-conta { display: flex; order: 6; flex-basis: 100%; padding: 2px 0 8px; }
header.topo.topo-cheio.menu-aberto .topo-fim { display: contents; }
header.topo.topo-cheio .marca { min-width: 0; }
header.topo.topo-cheio .topo-tit b { overflow: hidden; text-overflow: ellipsis; }
header.topo.topo-cheio .topo-menu { order: 4; display: none; flex-basis: 100%; flex-direction: column; margin: 4px 0 6px; gap: 0; }
header.topo.topo-cheio.menu-aberto .topo-menu { display: flex; }
header.topo.topo-cheio.menu-aberto .topo-mestre { display: flex; order: 5; flex-basis: 100%; flex-wrap: wrap; padding: 4px 0 8px; }
header.topo.topo-cheio .topo-menu a { padding: 11px 6px; font-size: 16px; border-bottom: 1px solid var(--ceu-traco, #4a3d33); border-radius: 0; }
/* o nome da fase (Xadrah, Lumien...) continua escrito no botão de tema mesmo com o cabeçalho cheio, como era antes da carta e do cargo
   entrarem no topo (16/11/2026); só o celular (até 900 px, fases.css) mostra o ícone sozinho */
header.topo.topo-cheio .topo-opc { display: none; }
header.topo.topo-cheio.menu-aberto .topo-opc { display: flex; flex-wrap: wrap; order: 7; flex-basis: 100%; padding: 6px 0 10px; gap: 12px 16px; }
header.topo.topo-cheio.menu-aberto .topo-versao { display: inline-flex; flex-wrap: wrap; gap: 6px; }
header.topo.topo-cheio.menu-aberto .topo-versao b { flex-basis: 100%; }
html header.topo.topo-cheio.menu-aberto .topo-volta { display: none; }
header.topo.topo-cheio.menu-aberto .topo-lingua a, header.topo.topo-cheio.menu-aberto .topo-lingua .topo-so-pt { padding: 9px 14px; font-size: 14px; }
html header.topo.topo-cheio.menu-aberto .topo-versao button { padding: 8px 10px; font-size: 13px; }

/* ---------- celular: alvos de toque, campos e tabelas ---------- */
@media (max-width: 900px) {
  /* campos com letra de 16px: o iPhone não aproxima a tela ao tocar neles */
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px !important; }
  .tab { -webkit-overflow-scrolling: touch; }
  .lateral .lat-bt, .lateral .grupo button, .lateral .bt-barra, .lateral .tx { padding: 10px 12px; font-size: 15px; }
  .so-pc { display: none !important; }
}
@media (min-width: 901px) { .so-cel { display: none !important; } }
html header.topo .topo-guardar { margin: 0; width: auto; background: transparent; color: var(--ceu-suave, #a8998a); border: 1px dashed var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 5px 8px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; display: none; }
@media (max-width: 900px) { html header.topo.menu-aberto .topo-guardar { display: block; width: 100%; white-space: normal; text-align: left; padding: 10px 12px; font-size: 13px; } }

/* ---------- menu lateral recolhível e cabeçalho que some no celular ---------- */
.lat-recolher { display: flex; align-items: center; gap: 6px; width: 100%; box-sizing: border-box; margin: 0 0 10px; background: transparent; color: var(--tx-suave, #a8998a); border: 1px dashed var(--traco, #4a3d33); border-radius: 3px; padding: 7px 10px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.lat-recolher:hover { color: var(--tx, #efe5d4); }
html.lat-recolhida .corpo > .lateral { display: none; }
html.lat-recolhida header.topo .topo-lado { display: flex; }
.lat-fundo { display: none; }
@media (max-width: 900px) {
  html.lat-recolhida .corpo > .lateral { display: block; }
  body.lateral-aberta .lat-fundo { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--topo-h, 54px); background: rgba(0, 0, 0, .45); z-index: 34; }
}
/* esconder o cabeçalho (celular): só transform, o espaço dele no fluxo não muda, então rolar nunca desloca a página (era display: none, que
   encurtava a página, empurrava o scroll e o próprio scroll trazia o cabeçalho de volta). Nas páginas com mapa (#mapa) o espaço é devolvido ao mapa. */
html[data-fase].topo-oculto header.topo.barra, html.topo-oculto header.topo { transform: translateY(calc(-100% - 16px)); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
html.topo-oculto:has(#mapa) header.topo { margin-bottom: calc(-1 * var(--topo-alt, 54px)); }
html[data-fase] header.topo.barra { transition: transform .2s ease, visibility 0s, background-color .6s, color .6s; }
.topo-puxa { display: none; position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 45; background: var(--ceu, #15110e); color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-top: 0; border-radius: 0 0 8px 8px; padding: 4px 16px 6px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
html.topo-oculto .topo-puxa { display: block; }

/* ---------- carta das Mensagens e cargo no topo (13/11/2026) ---------- */
html header.topo button.topo-cartas { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; margin: 0; width: 38px; height: 34px; padding: 0; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; cursor: pointer; }
html header.topo button.topo-cartas[hidden] { display: none; }
html header.topo button.topo-cartas:hover, html header.topo button.topo-cartas[aria-expanded="true"] { border-color: var(--ceu-tx, #efe5d4); }
header.topo .topo-cartas .topo-cont { position: absolute; top: -6px; right: -7px; min-width: 18px; height: 18px; box-sizing: border-box; padding: 0 4px; border-radius: 9px; background: var(--ceu-tx, #efe5d4); color: var(--ceu, #15110e); border: 2px solid var(--ceu, #15110e); font: 700 11px/14px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: 0; text-align: center; }
header.topo .topo-cartas .topo-cont[hidden] { display: none; }
header.topo .topo-cargo { display: inline-block; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; padding: 3px 7px; font: 600 11px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
header.topo .topo-cargo[hidden] { display: none; }
@media (max-width: 900px) { html header.topo button.topo-cartas { order: 2; width: 40px; height: 36px; } header.topo .topo-cargo { display: none; } header.topo.menu-aberto .topo-cargo:not([hidden]) { display: inline-block; order: 6; font-size: 12px; padding: 6px 9px; margin: 2px 0 6px; } }
header.topo.topo-cheio button.topo-cartas { order: 2; }
header.topo.topo-cheio .topo-cargo { order: 2; }

/* painel de mensagens e passo a passo: cores da fase (dunas), ids para não herdar o estilo de botão e lista de cada página */
#arkhi-msg { position: fixed; top: calc(var(--topo-h, 54px) + 6px); right: 12px; z-index: 70; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - var(--topo-h, 54px) - 20px); overflow: auto; overscroll-behavior: contain; box-sizing: border-box;
  background: var(--duna2, #241d18); color: var(--tx, #f4ecdc); border: 1px solid var(--traco, #4a3d33); border-radius: 6px; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); padding: 12px 14px 10px; font: 15px/1.45 Spectral, Georgia, serif; text-align: left; }
#arkhi-msg .msg-cab { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
#arkhi-msg h2, #arkhi-passo h2 { margin: 0; padding: 0; border: 0; font: 600 24px/1.1 "Cormorant Garamond", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--tx-forte, #fff); }
#arkhi-msg .msg-cargo { font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-suave, #a8998a); }
#arkhi-msg .msg-x { margin: 0 0 0 auto; width: 32px; height: 32px; padding: 0; background: transparent; color: var(--tx, #f4ecdc); border: 1px solid var(--traco, #4a3d33); border-radius: 3px; font: 20px/1 sans-serif; cursor: pointer; }
#arkhi-msg .msg-st, #arkhi-msg .msg-vazio { margin: 6px 0; color: var(--tx, #f4ecdc); }
#arkhi-msg ul.msg-lista { list-style: none; margin: 0; padding: 0; display: block; }
#arkhi-msg li.msg-item { display: block; margin: 0; padding: 10px 0 10px 12px; border: 0; border-top: 1px solid var(--traco, #4a3d33); border-left: 3px solid transparent; background: transparent; }
#arkhi-msg li.msg-item.nova { border-left-color: var(--tx-forte, #fff); }
#arkhi-msg li.msg-item.nova .msg-tx { color: var(--tx-forte, #fff); font-weight: 600; }
#arkhi-msg .msg-tx { margin: 0 0 6px; color: var(--tx, #f4ecdc); overflow-wrap: anywhere; }
#arkhi-msg .msg-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
#arkhi-msg .msg-pe small { color: var(--tx-suave, #a8998a); font-size: 13px; display: inline; margin: 0; }
#arkhi-msg a.msg-ir, #arkhi-passo .passos a { display: inline-block; background: var(--tx-forte, #fff); color: var(--duna2, #241d18); border: 1px solid var(--tx-forte, #fff); border-radius: 3px; padding: 5px 10px; text-decoration: none; font: 600 13px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
#arkhi-msg button.msg-bt, #arkhi-passo button.msg-bt { margin: 0; width: auto; background: transparent; color: var(--tx-forte, #fff); border: 1px solid var(--traco, #4a3d33); border-radius: 3px; padding: 5px 10px; font: 600 13px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
#arkhi-msg button.msg-bt:hover, #arkhi-passo button.msg-bt:hover, #arkhi-msg .msg-x:hover { border-color: var(--tx-forte, #fff); }
#arkhi-msg li.msg-item.removida { border-left-color: transparent; opacity: .8; }
#arkhi-msg button.msg-rem { margin-left: auto; }
#arkhi-msg .msg-acoes { margin: 0 0 8px; }
#arkhi-msg .msg-rodape { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--traco, #4a3d33); }
#arkhi-passo { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-start; justify-content: center; padding: max(12px, calc(var(--topo-h, 54px) + 8px)) 12px 12px; box-sizing: border-box; overflow: auto; }
#arkhi-passo .passo-caixa { width: min(560px, 100%); box-sizing: border-box; background: var(--duna2, #241d18); color: var(--tx, #f4ecdc); border: 1px solid var(--traco, #4a3d33); border-radius: 6px; padding: 18px 18px 14px; font: 15px/1.45 Spectral, Georgia, serif; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); text-align: left; }
#arkhi-passo .passo-k { margin: 0 0 4px; font: 600 12px "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-suave, #a8998a); }
#arkhi-passo ol.passos { list-style: none; counter-reset: passo; margin: 12px 0 6px; padding: 0; display: block; }
#arkhi-passo ol.passos li { counter-increment: passo; display: block; margin: 0; padding: 10px 0; border: 0; border-top: 1px solid var(--traco, #4a3d33); background: transparent; }
#arkhi-passo ol.passos li b { display: block; color: var(--tx-forte, #fff); font: 700 16px/1.2 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
#arkhi-passo ol.passos li b::before { content: counter(passo) " - "; }
#arkhi-passo ol.passos li p { margin: 4px 0 8px; color: var(--tx, #f4ecdc); }
#arkhi-passo .passo-bts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#arkhi-passo button.passo-ok { background: var(--tx-forte, #fff); color: var(--duna2, #241d18); border-color: var(--tx-forte, #fff); }
/* celular: a caixa do passo a passo mais compacta, para caber quase inteira na tela */
@media (max-width: 600px) {
  #arkhi-passo { padding: max(8px, calc(var(--topo-h, 54px) + 4px)) 8px 8px; }
  #arkhi-passo .passo-caixa { padding: 14px 14px 12px; font-size: 14px; line-height: 1.4; }
  #arkhi-passo h2 { font-size: 21px; }
  #arkhi-passo ol.passos { margin: 8px 0 4px; }
  #arkhi-passo ol.passos li { padding: 7px 0; }
  #arkhi-passo ol.passos li b { font-size: 15px; }
  #arkhi-passo ol.passos li p { margin: 2px 0 6px; }
}
/* item levado pela âncora de uma mensagem */
.alvo-msg { outline: 2px solid var(--tx-forte, #fff) !important; outline-offset: 3px; transition: outline-color .4s; }
/* chat universal (16/11/2026): ícone ao lado da carta, com o mesmo desenho */
html header.topo a.topo-chat { display: inline-flex; align-items: center; justify-content: center; flex: none; margin: 0; width: 38px; height: 34px; padding: 0; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 3px; text-decoration: none; }
html header.topo a.topo-chat[hidden] { display: none; }
html header.topo a.topo-chat:hover, html header.topo a.topo-chat[aria-current="page"] { border-color: var(--ceu-tx, #efe5d4); background: transparent; color: var(--ceu-tx, #efe5d4); }
@media (max-width: 900px) { html header.topo a.topo-chat { order: 2; width: 40px; height: 36px; } }
header.topo.topo-cheio a.topo-chat { order: 2; }

/* Menu aberto vira uma gaveta estreita na esquerda da tela (celular, tablet e cabeçalho cheio), em vez de empurrar a página para baixo.
   O próprio cabeçalho vira a gaveta; topo.js põe um vão no lugar dele para a página não pular e fecha ao tocar fora. */
@media (max-width: 900px) {
  header.topo.menu-aberto { position: fixed; top: 0; left: 0; bottom: 0; width: min(256px, 80vw); z-index: 1000; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 10px 14px 18px; overflow-y: auto; overscroll-behavior: contain; box-shadow: 4px 0 18px rgba(0,0,0,.55), 0 0 0 100vmax rgba(0,0,0,.5); }
  /* a cortina escura é sombra do próprio painel (fora dele), para não escurecer o fundo do painel nas fases claras */
  header.topo.menu-aberto > * , header.topo.menu-aberto .topo-conta, header.topo.menu-aberto .topo-mestre, header.topo.menu-aberto .topo-opc, header.topo.menu-aberto .topo-menu { flex: none !important; flex-basis: auto !important; width: auto; min-width: 0; }
  header.topo.menu-aberto .topo-lado, header.topo.menu-aberto .topo-fim > a.topo-cartas, header.topo.menu-aberto .topo-fim > button.topo-cartas, header.topo.menu-aberto .topo-fim > button.topo-musica { display: none !important; }
  header.topo.menu-aberto .marca { order: 0; padding-bottom: 8px; }
  /* o botão Menu some dentro da gaveta: tocar fora dela ou Esc fecham (Samuel Hernandez, 30/11/2026) */
  header.topo.menu-aberto .topo-menu-bt { display: none !important; }
  header.topo.menu-aberto .topo-menu { margin: 0 0 6px; }
  header.topo.menu-aberto .topo-menu a { padding: 8px 4px; font-size: 15px; }
  header.topo.menu-aberto .topo-conta, header.topo.menu-aberto .topo-mestre { padding: 6px 0; }
}
header.topo.topo-cheio.menu-aberto { position: fixed; top: 0; left: 0; bottom: 0; width: min(256px, 80vw); z-index: 1000; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 10px 14px 18px; overflow-y: auto; overscroll-behavior: contain; box-shadow: 4px 0 18px rgba(0,0,0,.55), 0 0 0 100vmax rgba(0,0,0,.5); }

header.topo.topo-cheio.menu-aberto > *, header.topo.topo-cheio.menu-aberto .topo-conta, header.topo.topo-cheio.menu-aberto .topo-mestre, header.topo.topo-cheio.menu-aberto .topo-opc, header.topo.topo-cheio.menu-aberto .topo-menu { flex: none !important; flex-basis: auto !important; width: auto; min-width: 0; }
header.topo.topo-cheio.menu-aberto .topo-lado, header.topo.topo-cheio.menu-aberto .topo-fim > a.topo-cartas, header.topo.topo-cheio.menu-aberto .topo-fim > button.topo-cartas, header.topo.topo-cheio.menu-aberto .topo-fim > button.topo-musica { display: none !important; }
header.topo.topo-cheio.menu-aberto .marca { order: 0; padding-bottom: 8px; }
header.topo.topo-cheio.menu-aberto .topo-menu-bt { display: none !important; }
header.topo.topo-cheio.menu-aberto .topo-menu { margin: 0 0 6px; }
header.topo.topo-cheio.menu-aberto .topo-menu a { padding: 8px 4px; font-size: 15px; }
header.topo.topo-cheio.menu-aberto .topo-conta, header.topo.topo-cheio.menu-aberto .topo-mestre { padding: 6px 0; }
.topo-vao { display: block; width: 100%; }
@media (max-width: 900px) { header.topo.menu-aberto .marca .topo-tit { display: none; } }
header.topo.topo-cheio.menu-aberto .marca .topo-tit { display: none; }

/* grupos do menu (18/11/2026): Brainstorm RPG, Loja e Apoia-se. Leves: sem imagem, sem script além de fechar ao tocar fora */
header.topo .topo-grupo { position: relative; }
header.topo .topo-grupo > summary { list-style: none; cursor: pointer; padding: 7px 10px; border: 1px solid var(--ceu-tx, #efe5d4); border-radius: 3px; font: inherit; letter-spacing: .08em; text-transform: uppercase; color: var(--ceu-tx, #efe5d4); white-space: nowrap; user-select: none; }
header.topo .topo-grupo > summary::-webkit-details-marker { display: none; }
header.topo .topo-grupo > summary::after { content: " ▾"; font-size: .8em; }
header.topo .topo-grupo[open] > summary, header.topo .topo-grupo > summary:hover { background: var(--ceu-ativo, #3b2e25); color: var(--ceu-ativo-tx, #efe5d4); }
header.topo .topo-grupo-lista { position: absolute; right: 0; top: calc(100% + 4px); z-index: 1001; min-width: 230px; max-width: 80vw; display: flex; flex-direction: column; background: var(--ceu-fundo, #14100d); border: 1px solid var(--ceu-traco, #4a3d33); border-radius: 4px; box-shadow: 0 8px 22px rgba(0,0,0,.55); padding: 4px; }
header.topo .topo-grupo-lista a { padding: 9px 10px; border: 0; border-radius: 3px; color: var(--ceu-tx, #efe5d4); text-decoration: none; letter-spacing: .04em; font-size: .92em; }
header.topo .topo-grupo-lista a:hover { background: var(--ceu-ativo, #3b2e25); color: var(--ceu-ativo-tx, #efe5d4); }
header.topo .topo-grupo-lista a { white-space: normal; text-align: left; }
header.topo a.topo-zap { padding: 7px 12px; border: 1px solid var(--ceu-tx, #efe5d4); border-radius: 3px; background: transparent; color: var(--ceu-tx, #efe5d4); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
header.topo a.topo-zap:hover, header.topo a.topo-zap:focus-visible { background: var(--ceu-tx, #efe5d4); color: var(--ceu, #14100d); }
/* Apoia-se em preto e branco (22/11/2026): cheio, na cor do texto da fase com a letra na cor do céu (as 4 fases já definem as duas, contraste alto), e uma moldura dupla por fora */
header.topo a.topo-apoia { padding: 7px 12px; margin: 4px; border: 1px solid var(--ceu-tx, #efe5d4); border-radius: 3px; background: var(--ceu-tx, #efe5d4); color: var(--ceu, #14100d); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; outline: 1px solid var(--ceu-tx, #efe5d4); outline-offset: 3px; }
header.topo a.topo-apoia:hover, header.topo a.topo-apoia:focus-visible { background: transparent; color: var(--ceu-tx, #efe5d4); }
header.topo .topo-menu { align-items: center; }
/* na barra lateral os links do menu são flex (o text-align não vale): Zap e Apoia-se com o ícone e o nome no centro, como os grupos (01/12/2026) */
header.topo a.topo-zap, header.topo a.topo-apoia { justify-content: center; }
@media (max-width: 900px) {
  header.topo.menu-aberto .topo-menu { align-items: stretch; }
  header.topo .topo-grupo > summary { text-align: center; display: block; }   /* nomes centralizados como Zap e Apoia-se (01/12/2026) */
  header.topo .topo-grupo, header.topo a.topo-zap, header.topo a.topo-apoia { margin: 8px 0 0; }
  header.topo .topo-grupo-lista { position: static; box-shadow: none; max-width: none; margin-top: 4px; }
  header.topo a.topo-zap, header.topo a.topo-apoia { text-align: center; padding: 10px; }
}
header.topo.topo-cheio .topo-grupo, header.topo.topo-cheio a.topo-zap, header.topo.topo-cheio a.topo-apoia { margin: 8px 0 0; }
header.topo.topo-cheio .topo-grupo-lista { position: static; box-shadow: none; max-width: none; margin-top: 4px; }
header.topo.topo-cheio a.topo-zap, header.topo.topo-cheio a.topo-apoia { text-align: center; padding: 10px; }
header.topo.topo-cheio .topo-menu { align-items: stretch; }
header.topo.topo-cheio .topo-grupo > summary { text-align: center; display: block; }

/* símbolos do menu */
/* símbolos globais (/icones.svg): traço fino, cor herdada, sempre com palavra ao lado. 18 px ao lado de texto, .g = 24 (cartões), .xg = 48 (telas vazias) */
svg.ico:not([viewBox]) { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
svg.ico.g:not([viewBox]) { width: 24px; height: 24px; }
svg.ico.xg:not([viewBox]) { width: 48px; height: 48px; }
header.topo svg.ico:not([viewBox]) { margin-right: .45em; }
/* telas vazias: símbolo das dunas em 48 px acima do texto, centralizado, cor suave */
.vazio-tela { text-align: center; color: var(--suave, var(--tx-suave, inherit)); }
.vazio-tela svg.ico.xg { display: block; margin: 0 auto 6px; }

/* ---------- foco e toque (etapa 4, 18/11/2026) ---------- */
/* Anel de foco único e visível em todo o site. Não remover outline sem pôr outra marca de foco. */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--tx-forte, currentColor); outline-offset: 2px; border-radius: inherit;
}
/* alvos de toque de 40 px no cabeçalho, nas abas e no menu em gaveta */
@media (pointer: coarse), (max-width: 900px) {
  header.topo .topo-menu a, header.topo .topo-entrar, header.topo .topo-sair, header.topo .topo-menu-bt, header.topo .topo-lado,
  html header.topo .fase-sel > button, html header.topo .topo-fim a.topo-entrar, html header.topo .topo-fim a.topo-sair, .abas button { min-height: 40px; }
  header.topo .topo-menu a, header.topo .topo-entrar, header.topo .topo-sair, html header.topo .topo-fim a.topo-entrar, html header.topo .topo-fim a.topo-sair { display: inline-flex; align-items: center; box-sizing: border-box; }
  header.topo .topo-menu-bt, header.topo .topo-lado { box-sizing: border-box; }
  header.topo .topo-menu a { min-height: 40px; }
}

/* ---------- .cartao-arkhi (etapa 6) ----------
   Espaçamento e borda comuns para cartões de listas (relatos, mesa, fichas, companheiros).
   Classe pronta, ainda não aplicada em nenhuma página: acrescente-a ao cartão quando for unificar. */
.cartao-arkhi { border: 1px solid var(--linha, var(--traco, #3a3029)); border-radius: 4px; padding: 10px 14px; box-sizing: border-box; }
/* no céu (cabeçalho) o anel usa a cor do texto do céu, para aparecer sobre o fundo escuro */
header.topo :focus-visible { outline-color: var(--ceu-tx, #efe5d4); }

/* passada visual 18/11/2026: o contorno dos botões só de ícone (cartas e chat) tinha 1,2:1 no Clarão; usa a borda de campo das fases (3:1) */
html header.topo button.topo-cartas, html header.topo a.topo-chat { border-color: var(--ceu-campo-borda, var(--ceu-traco, #4a3d33)); }
html header.topo button.topo-cartas:hover, html header.topo button.topo-cartas[aria-expanded="true"], html header.topo a.topo-chat:hover, html header.topo a.topo-chat[aria-current="page"] { border-color: var(--ceu-tx, #efe5d4); }

/* botão do tocador de música (24/11/2026, topo.js e musica/tocador.js): ícone e borda em cores do céu com contraste de 5:1 ou mais nas 4 fases
   (--ceu-tx sobre --ceu de 12,1 a 16,9; borda --ceu-suave sobre --ceu de 5,0 a 6,5); o ponto mostra que a música está tocando */
html header.topo button.topo-musica { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; margin: 0; width: 40px; height: 36px; padding: 0; background: transparent; color: var(--ceu-tx, #efe5d4); border: 1px solid var(--ceu-suave, #a8998a); border-radius: 3px; cursor: pointer; }
html header.topo button.topo-musica:hover, html header.topo button.topo-musica[aria-expanded="true"] { border-color: var(--ceu-tx, #efe5d4); }
html header.topo button.topo-musica[data-tocando="1"]::after { content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* no menu aberto (gaveta) a música some, como o chat e as mensagens: o botão fica na barra fechada, ao lado deles (Samuel Hernandez, 30/11/2026) */
@media (max-width: 900px) { html header.topo button.topo-musica { order: 2; } }
header.topo.topo-cheio button.topo-musica { order: 2; }
/* menu aberto (gaveta), 30/11/2026, Samuel Hernandez: "Retire assombro e cargo do menu lateral. eles já estão na tela principal".
   A fase sai da gaveta em qualquer largura (na barra fechada ela está sempre, como ícone no celular). O cargo sai só acima de 900 px, onde a barra
   fechada mostra o cargo; no celular a barra não tem lugar para ele, então ele continua na gaveta. */
header.topo.menu-aberto .fase-sel { display: none !important; }
@media (min-width: 901px) { header.topo.topo-cheio.menu-aberto .topo-cargo { display: none !important; } }
/* menu aberto mais confortável (30/11/2026, Samuel Hernandez: "as opções do menu lateral estão muito altos, colados no topo e em baixo espaço vazio"):
   mais respiro no alto e embaixo do logo; a lista de páginas cresce para ocupar a altura que sobra, cada link até 46 px; o grupo de baixo (Mapa do
   mestre, Sair, idioma, Versão) fica no fim da gaveta. Em tela baixa nada cresce e a gaveta rola como antes. ".menu-aberto" repetido só para
   vencer as regras de cima, que valem por largura. */
header.topo.menu-aberto.menu-aberto { padding-top: 20px; }
header.topo.menu-aberto.menu-aberto .marca { padding-bottom: 14px; }
header.topo.menu-aberto.menu-aberto > nav.topo-menu { flex: 1 0 auto !important; }
header.topo.menu-aberto.menu-aberto .topo-menu > a:not([class]) { flex: 1 0 auto; max-height: 46px; }
header.topo.menu-aberto.menu-aberto .topo-mestre { padding-top: 14px; }
/* grupo de baixo do menu aberto, compacto (30/11/2026, Samuel Hernandez: "ocupa muito espaço atoa além do que fica feio assim [...] ocupando muito
   menos espaço"). A gaveta vira uma grade de 2 colunas: logo, lista de páginas (a linha que cresce), cargo (só no celular), uma linha fina, os
   atalhos do mestre, a Versão como um seletor único de três partes (rótulos curtos em topo.js, nome inteiro no title) e, na última linha, Sair à
   esquerda e a língua à direita. .topo-fim e .topo-opc viram "contents" para os filhos entrarem direto na grade. Só cores que já existiam. */
header.topo.menu-aberto.menu-aberto { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-content: stretch; column-gap: 8px; }
header.topo.menu-aberto.menu-aberto > *, header.topo.menu-aberto.menu-aberto .topo-fim > *, header.topo.menu-aberto.menu-aberto .topo-opc > * { grid-column: 1 / -1; }
header.topo.menu-aberto.menu-aberto .topo-opc { display: contents !important; }
header.topo.menu-aberto.menu-aberto > .marca { grid-row: 1; }
header.topo.menu-aberto.menu-aberto > nav.topo-menu { grid-row: 2; }
header.topo.menu-aberto.menu-aberto .topo-cargo { grid-row: 3; justify-self: start; margin-top: 10px; }
header.topo.menu-aberto.menu-aberto .topo-mestre { grid-row: 4; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 12px 0 0 !important; border-top: 1px solid var(--ceu-traco, #4a3d33); }
header.topo.menu-aberto.menu-aberto .topo-versao { grid-row: 5; display: flex !important; flex-wrap: wrap; align-items: center; gap: 0; margin: 10px 0 0; }
header.topo.menu-aberto.menu-aberto .topo-versao b { flex: 0 0 100% !important; margin: 0 0 4px; padding: 0; font-size: 10px; letter-spacing: .08em; }
html header.topo.menu-aberto.menu-aberto .topo-versao button { flex: 1 1 0; min-width: 0; min-height: 30px; margin: 0; padding: 5px 4px; font-size: 12px; letter-spacing: .08em; border-radius: 0; white-space: nowrap; }
html header.topo.menu-aberto.menu-aberto .topo-versao button + button { border-left-width: 0; }
html header.topo.menu-aberto.menu-aberto .topo-versao button:first-of-type { border-radius: 4px 0 0 4px; }
html header.topo.menu-aberto.menu-aberto .topo-versao button:last-of-type { border-radius: 0 4px 4px 0; }
header.topo.menu-aberto.menu-aberto .topo-conta { grid-row: 6; grid-column: 1; display: flex; align-items: center; margin-top: 10px; padding: 0 !important; }
header.topo.menu-aberto.menu-aberto .topo-lingua { grid-row: 6; grid-column: 2; display: flex; align-items: center; justify-content: flex-end; margin-top: 10px; }
header.topo.menu-aberto.menu-aberto .topo-volta { grid-row: 7; }
