/* Base: elementos HTML, foco e movimento reduzido. */

html,
body {
  height: 100%;
}

/* O JS mostra e esconde tudo pelo atributo hidden; esta regra vale para qualquer componente. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font: 15px/1.45 var(--font-ui);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 2px;
}

kbd {
  font: 500 11px/1 var(--font-mono);
  padding: 2px 5px 3px;
  border: 1px solid var(--seam-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--bone-2);
  background: var(--hull-2);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
