body {
  margin: 0;
  background: black;
  color: #00ff66;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 16px;
}

#terminal {
  padding: 10px;
  height: 100vh;
  overflow-y: auto;
  white-space: pre-wrap;
}

#input-line {
  display: flex;
}

#prompt {
  margin-right: 5px;
}

#command-input {
  background: transparent;
  border: none;
  color: #00ff66;
  font-family: inherit;
  outline: none;
  flex: 1;
}

.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid #00ff66;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  color: #00ff66;
  z-index: 100;
  padding: 20px;
  overflow: auto;
}

#overlay-body {
  max-width: 800px;
  margin: auto;
}

#overlay-close {
  position: fixed;
  top: 10px;
  right: 20px;
  background: transparent;
  color: #00ff66;
  border: 1px solid #00ff66;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

#overlay embed {
  display: block;
  margin: 0 auto;
  border: none;
}
