/* Gate (Auth Screen) */
#gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease-out;
}

#gate.hidden {
  animation: fadeOut 0.4s ease-out forwards;
}

#token-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 24px;
  outline: none;
  caret-color: #ffffff;
  width: 300px;
  text-align: center;
  letter-spacing: 2px;
  padding: 0.5rem;
  transition: border-color 0.3s ease;
  animation: cursorBlink 1s step-end infinite;
}

#token-input:focus {
  border-bottom-color: transparent;
}

#token-input::selection {
  background: rgba(0,255,0,0.2);
}
