.gs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.gs-modal {
  width: min(640px, 92vw);
  background: #1f2232;
  border: 1px solid #2d3145;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gs-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #2d3145;
}

.gs-search-icon { color: #6b7280; flex-shrink: 0; }

.gs-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e5e7eb;
  font-size: 1rem;

  &::placeholder { color: #6b7280; }
}

.gs-kbd,
.gs-hints kbd {
  background: #2d3145;
  color: #9ca3af;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #3a3f55;
  font-family: inherit;
}

.gs-results {
  max-height: 50vh;
  overflow-y: auto;
}

.gs-result {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: #e5e7eb;
  width: 100%;
  text-align: left;
  cursor: pointer;

  &.active { background: rgba(99, 102, 241, 0.18); }
}

.gs-result-icon { color: #9ca3af; margin-top: 2px; flex-shrink: 0; }

.gs-result-body {
  flex: 1;
  min-width: 0;
}

.gs-result-title { font-weight: 600; color: #e5e7eb; }
.gs-result-subtitle {
  color: #9ca3af;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-result-tag {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.gs-empty {
  padding: 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

.gs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid #2d3145;
  font-size: 0.75rem;
  color: #9ca3af;
}

.gs-hints {
  display: flex;
  gap: 1rem;

  span { display: flex; align-items: center; gap: 0.3rem; }
}
