@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

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

body {
  background: #000;
  color: #00ff41;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 14px;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

#terminal {
  width: 800px;
  height: 600px;
  margin: 40px auto;
  border: 3px solid #00ff41;
  padding: 8px;
  position: relative;
  background: #000;
}

.hard-border {
  border: 2px solid #00ff41;
  padding: 4px 8px;
  margin: 2px 0;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

#loop-clock {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#integrity {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sweep-lane-hard {
  width: 200px;
  height: 12px;
  background: #00ff41;
  display: inline-block;
  margin: 0 10px;
  animation: sweep-pulse 11ms infinite;
}

@keyframes sweep-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

#ontology-graph {
  width: 784px;
  height: 300px;
  border: 2px solid #00ff41;
  margin: 4px auto;
  display: block;
  background: #000;
}

#stencil-layer {
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  height: 300px;
  pointer-events: none;
  mix-blend-mode: difference;
}

#command-picture {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#ship-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#footer {
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 2px;
}

#edge-display {
  font-weight: bold;
}

.cascade-active .sweep-lane-hard {
  animation: cascade-flash 60ms infinite;
}

@keyframes cascade-flash {
  0% { opacity: 1; height: 12px; }
  50% { opacity: 0.3; height: 4px; }
  100% { opacity: 1; height: 12px; }
}

.blackout #terminal {
  background: #000;
  opacity: 0.1;
}
