@font-face {
  font-family: "VT323";
  src: url("fonts/vt323.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0; padding: 0; height: 100%;
  background: #0a0600;
  overflow: hidden;
}
#term {
  position: fixed; inset: 0;
  padding: 6px 8px;
  box-sizing: border-box;
}
#term .xterm { height: 100%; }
#term .xterm-viewport { background: transparent !important; }

/* subtle scanlines over the terminal, purely decorative */
#scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 10;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.14) 3px, rgba(0, 0, 0, 0.14) 4px
  );
  opacity: 0.5;
}

/* small status indicators, top-right only */
#status {
  position: fixed; top: 8px; right: 12px; z-index: 20;
  display: flex; gap: 12px;
  font: 11px/1.4 ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  color: rgba(255, 176, 0, 0.75);
  background: rgba(10, 6, 0, 0.55);
  padding: 3px 8px; border-radius: 3px;
  pointer-events: none; user-select: none;
}
#status .ind { display: inline-flex; align-items: center; gap: 5px; }
#status .ind i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6b4e00; display: inline-block;
}
#status .ind.ok i { background: #ffb000; box-shadow: 0 0 6px rgba(255, 176, 0, 0.9); }
#status .ind.err i { background: #ff5722; box-shadow: 0 0 6px rgba(255, 87, 34, 0.9); }
#status .ind.busy i { background: #ffdf80; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: 0.35; } to { opacity: 1; } }
