@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

body {
  background: #000;
  color: #ffd400;
  font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  user-select: none;
  -webkit-user-select: none;
}

#app {
  min-height: 100vh;
}

.terminal {
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 40px 20px 18px 40px;
  background: #000;
  color: #ffd400;
  outline: none;
  white-space: pre-wrap;
  text-shadow: 0 0 4px rgba(255, 212, 0, 0.18);
  scroll-behavior: smooth;
  transition: opacity 420ms ease;
  caret-color: transparent;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.terminal-fading {
  opacity: 0;
}

.terminal-line,
.terminal-input-line {
  min-height: 1.32em;
  line-height: 1.32;
}

.terminal-prompt {
  color: #ffd400;
}

.terminal-input {
  color: #ffd400;
}

.terminal-line-ok {
  color: #00ff66;
}

.terminal-line-fail {
  color: #ff3030;
}

.terminal-line-warning {
  color: #ff9d00;
}

.terminal-line-progress,
.terminal-line-spinner,
.terminal-line-question {
  color: #ffd400;
}

.terminal-cursor {
  display: inline-block;
  width: 0.72em;
  height: 1.05em;
  margin-left: 1px;
  background: #ffd400;
  vertical-align: -0.18em;
  animation: terminal-cursor-blink 1s steps(1, end) infinite;
}

@keyframes terminal-cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

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


#director-panel {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  width: min(320px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #ffd400;
  background: rgba(0, 0, 0, .94);
  color: #ffd400;
  font: 12px 'JetBrains Mono', Consolas, monospace;
}
.director-heading { display: flex; justify-content: space-between; margin-bottom: 10px; }
.director-status { color: #ffd400; }
.scene-label { display: block; margin-bottom: 5px; font-size: 10px; }
#scene-select, #director-panel button {
  min-height: 34px;
  border: 1px solid #ffd400;
  border-radius: 0;
  background: #000;
  color: #ffd400;
  font: inherit;
}
#scene-select { width: 100%; margin-bottom: 8px; }
.director-actions, .director-footer { display: flex; gap: 6px; flex-wrap: wrap; }
#director-panel button { padding: 0 9px; cursor: pointer; }
#director-panel button:hover:not(:disabled), #scene-select:focus { background: #ffd400; color: #000; }
#director-panel button:disabled { opacity: .45; cursor: default; }
.clean-playback #director-panel, .fullscreen-playback #director-panel { display: none; }
@media (max-width: 600px) {
  #director-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); }
}

