:root{
  --bg: #0b0e14;
  --panel: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.10);
  --text: #d7dce2;
  --muted: rgba(215,220,226,0.7);
  --accent: #7aa2f7;
  --ok: #7CFFB2;
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
}

body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", monospace;
  color: var(--text);
}

.frame{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.titlebar{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

.title-left{
  display:flex;
  align-items:center;
  gap:10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.dot{
  width:9px; height:9px;
  border-radius:50%;
  background: var(--ok);
  box-shadow: 0 0 18px rgba(124,255,178,0.6);
}

.title{
  color: var(--text);
  opacity: .9;
}

.title-right .tag{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.terminal {
  flex: 1;
  padding: 22px 16px 18px;
  box-sizing: border-box;
}

.output {
  white-space: pre-wrap;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.input-line {
  display: flex;
  align-items: center;
}

.prompt {
  margin-right: 8px;
  color: var(--accent);
}

input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
}

/* Highlight line (we print ANSI-like markers, styled via spans) */
.hl-ok{
  color: var(--ok);
  font-weight: 700;
  letter-spacing: .06em;
}
