:root {
  --black: #141414;
  --white: #fafafa;
  --muted:#00E5FF;
  --dim: #00E5FF;
  --tron: #00E5FF;

  --font-mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --measure: 92ch;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/texture.webp");
  background-size: 250px 250px;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
}
body {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.64;
  letter-spacing: 0;
  overflow: hidden;

  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "kern" 1, "liga" 0, "calt" 0, "tnum" 1, "lnum" 1;
  font-synthesis: none;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background: transparent;
  padding: 28px;
  overflow: hidden;
}

.terminal {
  width: 100%;
  height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}

.terminal-screen {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 20px;
}

.terminal-screen::-webkit-scrollbar {
  display: none;
}

.boot {
  color: var(--white);
  margin: 0 0 30px;
  max-width: var(--measure);
}

.boot p,
.entry p {
  margin: 0 0 4px;
}

.boot-line {
  min-height: 1.64em;
  color: var(--muted);
  white-space: pre-wrap;
}

.boot-line.primary {
  color: var(--white);
  font-weight: 500;
}

.boot-line .key {
  color: var(--dim);
}

.boot-line .value {
  color: var(--white);
}

.boot-line .ok {
  color: var(--tron);
}

.boot-line .no {
  color: var(--dim);
}

.boot-line .pending {
  color: var(--muted);
}

.output {
  flex: 0 0 auto;
}

.entry {
  margin: 0 0 20px;
}

.entry-command {
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 500;
}

.entry-response {
  color: var(--white);
  line-height: 1.64;
  max-width: var(--measure);
  white-space: pre-wrap;
  font-weight: 400;
}

.entry-response strong {
  color: var(--white);
  font-weight: 500;
}

.cmd {
  color: var(--white);
  font-weight: 500;
}

.prompt-line {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  padding: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.prompt-line.is-locked {
  opacity: 0.35;
  pointer-events: none;
}

.prompt {
  color: var(--white);
  white-space: nowrap;
  flex: 0 0 auto;
  font-weight: 500;
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
  caret-color: var(--tron);
  text-rendering: optimizeLegibility;
}

input::placeholder {
  color: var(--dim);
}

.boot-cursor::after {
  content: "_";
  display: inline-block;
  margin-left: 2px;
  color: var(--tron);
  animation: cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 48% {
    opacity: 1;
  }

  49%, 100% {
    opacity: 0;
  }
}

input::selection,
::selection {
  background: var(--white);
  color: var(--black);
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
    line-height: 1.58;
  }

  .shell {
    padding: 18px;
  }

  .terminal {
    height: calc(100vh - 36px);
  }

  .terminal-screen {
    padding-bottom: 14px;
  }

  .prompt-line {
    min-height: 24px;
    padding: 0;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    border-radius: 0;
  }

  input {
    font-size: 16px;
  }
}

body {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.64;
  letter-spacing: 0;
  overflow: hidden;
  background: var(--black);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);

  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "kern" 1, "liga" 0, "calt" 0, "tnum" 1, "lnum" 1;
  font-synthesis: none;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.boot-line .ok,
.boot-cursor::after {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 0 8px rgba(0, 229, 255, 0.16);
}