:root {
  color-scheme: dark;
  background: #0c1411;
  color: #f3eee1;
  font:
    100%/1.65 system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
main {
  max-width: 46rem;
  margin: auto;
  padding: 1.5rem clamp(1rem, 5vw, 3rem) 3rem;
}
header,
footer {
  color: #d7bf8a;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #60573f;
  padding-bottom: 1rem;
}
header span,
h1,
h2 {
  font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
}
header span {
  font-size: 1.5rem;
}
h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin: 2rem 0 0.5rem;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 0.65rem;
}
p {
  margin: 0.5rem 0;
}
a {
  color: #f0d69b;
  text-underline-offset: 0.17em;
}
section {
  padding: 1.4rem 0;
  border-bottom: 1px solid #484c3b;
}
footer {
  padding-top: 1.2rem;
  font-size: 0.9rem;
}
form {
  display: grid;
  gap: 0.35rem;
  max-width: 27rem;
}
input,
button {
  font: inherit;
  border: 1px solid #827961;
  border-radius: 0.35rem;
  padding: 0.5rem 0.8rem;
  min-height: 44px;
}
input {
  background: #151e1a;
  color: inherit;
  width: 100%;
  margin-bottom: 0.4rem;
}
button {
  background: #e3c994;
  color: #211d16;
  cursor: pointer;
  font-weight: 600;
}
button:disabled {
  opacity: 0.65;
}
#back {
  background: transparent;
  color: inherit;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
:focus-visible {
  outline: 3px solid #f9da8b;
  outline-offset: 2px;
}
#status:empty {
  margin: 0;
}
