/* Navegação no celular: os títulos ficam à vista e deslizam; o ativo se centraliza sozinho */
.tema-bt { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgb(241 237 230 / .14); border-radius: 999px; background: transparent; color: var(--texto-claro); cursor: pointer; padding: 0; }
.tema-bt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tema-bt .lua, html.claro .tema-bt .sol { display: none; }
html.claro .tema-bt .lua { display: block; }
.topo .tema-bt { margin-right: -14px; }
.topo a:focus-visible, .tema-bt:focus-visible { outline: 2px solid var(--areia, #cdbda3); outline-offset: 2px; }
@media (max-width: 640px) {
	body .topo.topo { gap: 8px; padding: 7px 9px; border-radius: 999px; width: calc(100% - 24px); margin-top: 10px; top: 10px; }
	.topo .marca img { width: 34px; height: 34px; border-radius: 999px; }
	.topo nav { display: flex; flex: 1 1 0; min-width: 0; gap: 2px; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 14px;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%); }
	.topo nav::-webkit-scrollbar { display: none; }
	body .topo nav a { flex: none; font-size: 14px; padding: 8px 12px; white-space: nowrap; transition: background .2s, color .2s; }
	.topo .idioma { margin-left: 0 !important; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; font-size: 12px; border-radius: 999px; flex: none; }
	.topo .tema-bt { margin-right: -4px; }
}
@supports (top: env(safe-area-inset-top)) {
	.h3d .topo, .sub .topo { top: calc(14px + env(safe-area-inset-top)); }
	@media (max-width: 640px) { body .topo.topo { top: calc(10px + env(safe-area-inset-top)); } }
}
