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

body {
  background-color: #050805;
  color: #00ff66;
  font-family: 'Courier New', Courier, monospace;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

/* Outer Minimalist Elements */
.outer-meta {
  width: 100%;
  max-width: 950px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #008833;
  letter-spacing: 0.5px;
  user-select: none;
}

.top-bar {
  border-bottom: 1px solid #003311;
  padding-bottom: 8px;
}

.bottom-bar {
  border-top: 1px solid #003311;
  padding-top: 8px;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #00ff66;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px #00ff66;
}

/* Terminal Container */
#terminal {
  width: 100%;
  max-width: 950px;
  height: calc(100vh - 80px);
  background-color: #000000;
  border: 1px solid #005522;
  border-radius: 4px;
  padding: 16px;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  margin: 10px 0;
}

#output {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.line {
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.9rem;
}

.ascii-title {
  color: #00ff66;
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 10px;
}

.system { color: #008833; }
.success { color: #00ff66; font-weight: bold; }
.error { color: #ff3333; }
.warning { color: #ffff33; }
.highlight { color: #00ffff; font-weight: bold; }
.prompt { color: #00ff66; margin-right: 8px; font-weight: bold; }

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #005522;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.gui-link {
  color: #00ffff;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid #00ffff;
  padding: 2px 8px;
  border-radius: 3px;
  transition: all 0.15s ease;
}

.gui-link:hover, .gui-link:active {
  background-color: #00ffff;
  color: #000000;
}

.input-line {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

#cli-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  flex: 1;
  caret-color: #00ff66;
}

/* Scrollbar */
#terminal::-webkit-scrollbar { width: 6px; }
#terminal::-webkit-scrollbar-thumb { background: #004411; }