/* Acessibilidade: foco do teclado, atalho para o conteúdo e pausa do destaque. Vale nos dois temas. */
:root { --foco: #f1ede6; --foco-halo: #14120f; }
html.claro { --foco: #14120f; --foco-halo: #f7f6f3; }
:where(a, button, input, select, textarea, summary, [tabindex="0"]):focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; scroll-margin: 110px 0 40px; }
html body .topo a:focus-visible, html body .tema-bt:focus-visible, html body .redes a:focus-visible, html body .botao:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; box-shadow: 0 0 0 3px var(--foco-halo); }
main:focus { outline: none; }
html body .pular { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 12px 18px; border-radius: 10px; background: var(--foco); color: var(--foco-halo) !important; font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", "Noto Sans", Roboto, sans-serif; text-decoration: none; transform: translateY(-200%); }
html body .pular:focus { transform: none; }
.habil-bt { all: unset; cursor: pointer; border-radius: 4px; }
.habil-bt:focus-visible { outline: 3px solid var(--foco); outline-offset: 4px; }
.pausa { display: inline-flex; align-items: center; min-height: 32px; margin: 0 0 12px; padding: 4px 14px; border: 1px solid currentColor; border-radius: 999px; background: none; color: var(--texto-claro); font: 600 13px/1.2 var(--fonte); cursor: pointer; width: fit-content; }
.pausa .retomar, .pausa.parado .pausar { display: none; }
.pausa.parado .retomar { display: inline; }
@media (prefers-reduced-motion: reduce) { .pausa { display: none; } }
html body .hl-item:focus-visible, html body .hl-busca input:focus-visible { outline: 2px solid var(--foco); outline-offset: -2px; }
html body .hl-st, html body .hl-rot { font-size: 12px; }
@media (max-width: 1000px) { .pausa { margin: 10px 0 12px; } }
/* Retorno imediato ao apertar; `scale` não briga com o transform de cada peça */
html body :is(.botao, .lab-cartao, .tema-bt, .idioma, .pausa):active { scale: .97; }
/* Toque: área de até 44 px sem mudar o desenho (os dois botões do topo não se sobrepõem) */
@media (pointer: coarse) {
	.topo .tema-bt, .topo .idioma, .pausa { position: relative; }
	.topo .tema-bt::after, .topo .idioma::after { content: ""; position: absolute; inset: -6px -4px; }
	.pausa::after { content: ""; position: absolute; inset: -7px 0; }
}
