.game-console-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 35vh; /* Займає третину екрана знизу */
  background: rgba(10, 15, 20, 0.95);
  border-top: 2px solid #00ffaa;
  display: flex;
  flex-direction: column;
  z-index: 10000;
  font-family: "Consolas", "Monaco", monospace;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.console-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 13px;
  color: #e0e0e0;
}

.console-line {
  margin-bottom: 4px;
  border-left: 2px solid transparent;
  padding-left: 8px;
}

.console-line:contains(">") {
  color: #00ffaa;
}

/* Підказки випливають ВГОРУ */
.console-suggestions-upward {
  position: absolute;
  bottom: 45px; /* Над полем вводу */
  left: 0;
  width: 100%;
  background: #151a20;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  max-height: 100px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 3px 10px;
  background: #252a30;
  color: #888;
  font-size: 12px;
  border-radius: 4px;
}

.suggestion-item.selected {
  background: #00ffaa;
  color: #000;
  font-weight: bold;
}

.console-input-form {
  display: flex;
  align-items: center;
  background: #000;
  padding: 5px 15px;
  height: 40px;
}

.console-prompt {
  color: #00ffaa;
  margin-right: 10px;
  font-weight: bold;
}

.console-input-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}
