:root {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fafafa;
  color: #111;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 16px;
}

.prompt {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 4em;
  display: flex;
  align-items: center;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

button {
  font: inherit;
  font-size: 13px;
  padding: 10px 28px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  border-radius: 2px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.35;
  cursor: default;
}

button:hover:not(:disabled) {
  background: #111;
  color: #fff;
}

.streak {
  margin-top: 14px;
  font-size: 11px;
  color: #767676;
  min-height: 1em;
}

section {
  margin-top: 48px;
  width: 100%;
  text-align: left;
}

#history {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #555;
}

#history li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
