*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-system);
  font-size: var(--font-md);
  color: var(--os-text);
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

input, textarea {
  font-family: var(--font-mono);
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

textarea {
  resize: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--os-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--os-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--os-accent);
}

::selection {
  background: var(--os-accent);
  color: var(--os-text-bright);
}
