:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  padding: 1.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

.target-label {
  margin-bottom: 0;
  color: gray;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.target-number {
  margin-top: 0;
  font-size: 3.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

form {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
}

input[type="text"] {
  font-size: 1.5rem;
  width: 6rem;
  padding: 0.4rem;
}

button {
  font-size: 1rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

#status-message:empty {
  display: none;
}

#claim-history,
#banked-list {
  padding-left: 1.5rem;
}

.empty-message {
  color: gray;
  font-size: 0.9rem;
}

#won-panel {
  border: 2px solid #2a9d3d;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
