/* Hidden terminal (Exercise 1337 easter egg). See js/terminal.js. */
#terminal-1337 {
  display: none;
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 18px;
  background: radial-gradient(ellipse at top, #12161f 0%, #07080b 75%);
  color: #c9d1c3;
  border-radius: 4px;
  padding: 8px 10px;
  overflow: auto;
  min-height: 300px;
  cursor: text;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
#terminal-1337 .t1337-out {
  white-space: pre-wrap;
  word-break: break-word;
}
#terminal-1337 .t1337-item { margin-right: 2ch; white-space: pre; display: inline-block; }
#terminal-1337 .t1337-dir  { color: #7fb2ff; }
#terminal-1337 .t1337-err  { color: #ff8a80; }
#terminal-1337 .t1337-good { color: #8fe3a0; }
#terminal-1337 .t1337-dim  { color: #6f7a86; font-style: italic; }
#terminal-1337 .t1337-cmd  { color: #e8e8e8; }
#terminal-1337 .t1337-more { color: #07080b; background: #c9d1c3; display: inline-block; padding: 0 4px; }
#terminal-1337 .t1337-glow {
  color: #c7b8ff;
  text-shadow: 0 0 6px rgba(167, 139, 250, 0.7);
}
#terminal-1337 .t1337-line { display: flex; white-space: pre; }
#terminal-1337 .t1337-prompt { color: #8fe3a0; }
#terminal-1337 .t1337-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e8e8e8;
  font: inherit;
  padding: 0;
  caret-color: #8fe3a0;
}

/* Full-screen toggle button (top-right, stays put while the terminal scrolls) */
#terminal-1337 .t1337-fs {
  position: sticky;
  top: 0;
  float: right;
  z-index: 1;
  background: rgba(20, 24, 33, 0.85);
  color: #8fe3a0;
  border: 1px solid #2a3140;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1;
  padding: 3px 6px;
  cursor: pointer;
  opacity: 0.6;
}
#terminal-1337 .t1337-fs:hover { opacity: 1; }

/* Full screen: cover the whole window */
#terminal-1337.t1337-full {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: auto !important;
  z-index: 2000;
  border-radius: 0;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 21px;
}
body.t1337-noscroll { overflow: hidden; }
