.qs_main {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
  font-family: Consolas, monospace;
  font-size: 14px;
  border: 2px solid white;
  border-radius: 15px;
  position: absolute;

  box-shadow: none;
  user-select: none;
  -webkit-user-select: none;
  padding: 10px;
  box-sizing: border-box;
}

.qs_content {
  background-color: transparent;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.qs_title_bar {
  background-color: transparent;
  color: white;
  font-weight: normal;
  padding: 6px 0;
  cursor: pointer;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
}

.qs_container,
.qs_container_selected {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 6px;
  margin: 6px 0;
  box-sizing: border-box; /* ← критически важно */
  width: calc(100% - 25px);
}

.qs_select {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
  border: 2px solid white;
  font-family: Consolas, monospace;
  font-size: 14px;
  border-radius: 10px;
  padding: 6px 10px;
  box-sizing: border-box;
  width: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* WebKit (Chrome, Edge, Safari) */
.qs_content::-webkit-scrollbar {
  width: 14px; /* ширина скроллбара */
}
.qs_content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  margin: 4px 0; /* отступ сверху и снизу */
}
.qs_content::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 15px;
  border: 4px solid rgba(0, 0, 0, 0.25); /* отступ внутри, чтобы выглядело как "вставка" */
}
.qs_content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Firefox */
.qs_content {
  scrollbar-width: thin; /* или "auto", "thin" */
  scrollbar-color: white rgba(0, 0, 0, 0.25);
}