:root { color-scheme: dark; }

body {
  margin: 0;
  background: #000;
  color: #e6e9ef;
  font: 15px ui-monospace, Menlo, monospace;
}

main {
  max-width: 22rem;
  margin: 12vh auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

section[hidden], input[hidden] { display: none; }

h1 { font-size: 1.1rem; font-weight: 600; margin: 0 0 1rem; }

p { margin: 0; color: #8b93a7; line-height: 1.5; }

.or { margin-top: 1rem; }

input, button, .button {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 4px;
  border: 1px solid #2a3140;
  background: #161a22;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

button, .button { cursor: pointer; background: #7aa2f7; color: #000;
  border-color: #7aa2f7; }

button.quiet { background: #161a22; color: #e6e9ef; border-color: #2a3140; }

#msg { color: #f7768e; min-height: 1.5em; }

#msg.ok { color: #9ece6a; }
