* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #0a0f0a;
}

body {
  font-family: "Courier New", Courier, monospace;
  color: #b8e0b8;
  display: flex;
  justify-content: center;
}

#terminal {
  width: 100%;
  max-width: 820px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 16px;
}

#art {
  flex-shrink: 0;
  border: 1px solid #2a4a2a;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #0d1220;
  line-height: 0;
}

#art svg {
  width: 100%;
  height: auto;
  display: block;
}

#output {
  flex: 1;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: #2a4a2a #0a0f0a;
}

#output .room-name {
  color: #e8d88a;
  font-weight: bold;
}

#output .echo {
  color: #6a8a6a;
}

#output .error {
  color: #d09090;
}

#output .story {
  color: #a8c8e0;
  font-style: italic;
}

#output p {
  margin-bottom: 0.75em;
}

#status {
  border-top: 1px solid #2a4a2a;
  margin-top: 10px;
  padding-top: 7px;
  color: #6a8a6a;
  font-size: 13px;
  line-height: 1.4;
}

#status .status-alert {
  color: #e8d88a;
}

#input-line {
  display: flex;
  align-items: center;
  padding-top: 6px;
}

#prompt {
  color: #e8d88a;
  margin-right: 8px;
  font-size: 16px;
}

#input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #b8e0b8;
  font-family: inherit;
  font-size: 16px;
  caret-color: #e8d88a;
}
