body {
  background: #0b0f15;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 0;
}

h1 {
  color: #6ae;
  margin-top: 30px;
  font-weight: normal;
}

em {
  color: #999;
}

input[type="text"] {
  background: #1c2128;
  color: #eee;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 4px;
  width: 60%;
}

button {
  background: #222;
  color: #ccc;
  padding: 10px 16px;
  margin-left: 5px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #444;
}

#glyph-status {
  font-family: monospace;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: -10px;
  text-align: center;
}
#ollama-status {
  font-weight: bold;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #48ff00; /* Vibrant green */
  border-radius: 4px;
  color: #48ff00;
  background-color: #0b0f15;
  box-shadow: 0 0 10px #48ff00, 0 0 20px #48ff00;
  animation: glyphPulse 1.6s infinite ease-in-out;
  transition: all 0.3s ease;
}

@keyframes glyphPulse {
  0%   { box-shadow: 0 0 6px #48ff00, 0 0 12px #48ff00; transform: scale(1);   opacity: 0.9; }
  50%  { box-shadow: 0 0 14px #5dff33, 0 0 24px #5dff33; transform: scale(1.05); opacity: 1; }
  100% { box-shadow: 0 0 6px #48ff00, 0 0 12px #48ff00; transform: scale(1);   opacity: 0.9; }
}

#chat-stream {
  background: #161a20;
  border: 1px solid #333;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
  min-height: 200px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.glyph-reply {
  background: #1e242c;
  padding: 12px;
  margin-bottom: 12px;
  border-left: 4px solid #6ae;
  animation: fadeIn 0.5s ease;
  color: #d0d0d0;
  white-space: pre-wrap;
  line-height: 1.4;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
    background: #111 url('../glyphgrid.png') repeat;
    color: #eee;
    font-family: monospace;
    padding: 2em;
    line-height: 1.6;
    position: relative;
  }
  html, body {
  min-height: 100%;
}
.glyph {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: url('https://luumyn.space/assets/luumyn-logo.png') no-repeat center center;
    background-size: contain;
    animation: pulse 3s infinite ease-in-out;
    opacity: 0.8;
  }

  @keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    50%  { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1);   opacity: 0.8; }
  }