html, body {
  height: 100%;
  margin: 0;
  background: #0b0c0a;
  color: #c8c4b0;
  font-family: "Cascadia Mono", "Consolas", "Courier New", monospace;
}

#app {
  max-width: 640px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem 1rem;
  box-sizing: border-box;
}

#turn {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: 1rem 0 2rem;
}

#command {
  color: #8a8670;
  min-height: 1.3em;
  font-size: 0.92rem;
}

#reply {
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: 1.02rem;
  color: #e8e4d4;
}

#prompt-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  border-top: 1px solid rgba(200, 196, 176, 0.15);
  padding-top: 0.75rem;
}

#prompt-form label {
  color: #8a8670;
}

#cmd {
  flex: 1;
  background: transparent;
  border: none;
  color: #e8e4d4;
  font: inherit;
  font-size: 16px;
  outline: none;
}

#prompt-form.hidden {
  visibility: hidden;
}

#start {
  position: fixed;
  inset: 0;
  background: #0b0c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#start.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-inner {
  text-align: center;
  padding: 2rem;
}

#start h1 {
  font-weight: 400;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin: 0;
}

#start-sub {
  margin: 1.4rem 0 0;
  color: #8a8670;
  min-height: 1.4em;
}

#begin {
  margin-top: 2rem;
  background: transparent;
  border: 1px solid rgba(200, 196, 176, 0.25);
  color: #c8c4b0;
  font: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.3rem;
  cursor: pointer;
}

#begin:hover {
  border-color: #c8c4b0;
}
