:root {
  color-scheme: dark;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #1a1423;
  color: #f5e8c7;
  font-family: "VT323", monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  padding: 24px 16px;
  box-sizing: border-box;
}

.card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  color: #e6b800;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}

.tagline {
  margin: 0 0 24px;
  font-size: 1.3rem;
  color: #e4b7a0;
}

.notice {
  background: #372549;
  border: 1px solid #4a4e69;
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 24px;
  text-align: left;
}

.notice-title {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #e6b800;
}

.notice p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.notice p + p {
  margin-top: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

label {
  text-align: left;
  font-size: 1.15rem;
}

input {
  font-family: inherit;
  font-size: 1.2rem;
  background: #1a1423;
  border: 1px solid #4a4e69;
  border-radius: 4px;
  color: #f5e8c7;
  padding: 8px 10px;
}

input:focus {
  outline: 2px solid #e6b800;
  outline-offset: 1px;
}

button {
  font-family: inherit;
  font-size: 1.3rem;
  background: #e6b800;
  color: #1a1423;
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #f2c72e;
}

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

.error {
  margin: 0;
  color: #ff8787;
  font-size: 1.1rem;
  text-align: left;
}

footer {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #9a8c98;
}

footer a {
  color: #e4b7a0;
}
