/* Portale GamesTranslator - risultati istantanei della barra di ricerca in alto */
.gx-hs {
  position: fixed;
  z-index: 50000;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(14, 17, 26, .97);
  border: 1px solid var(--gx-line, rgba(255, 255, 255, .1));
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 212, 0, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: Montserrat, system-ui, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 212, 0, .4) transparent;
}
.gx-hs[hidden] { display: none !important; }
.gx-hs-count {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 9px 14px;
  background: rgba(14, 17, 26, .98);
  border-bottom: 1px solid var(--gx-line, rgba(255, 255, 255, .08));
  color: var(--gx-yellow, #ffd400);
  font: 700 .72rem/1.2 var(--gx-display, Rajdhani, sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gx-hs-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  color: #e9ecf3 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  transition: background .12s;
}
.gx-hs-item:hover, .gx-hs-item.is-active { background: rgba(255, 212, 0, .08); }
.gx-hs-item.is-active { box-shadow: inset 3px 0 0 var(--gx-yellow, #ffd400); }
.gx-hs-img {
  width: 64px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}
.gx-hs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-hs-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gx-hs-txt b {
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gx-hs-txt mark { background: none; color: var(--gx-yellow, #ffd400); font-weight: 800; padding: 0; }
.gx-hs-txt small { color: var(--gx-ink-3, #8a92a6); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-hs-msg { padding: 14px; color: var(--gx-ink-3, #8a92a6); font-size: .85rem; }
.gx-hs-all {
  display: block;
  padding: 11px 14px;
  color: var(--gx-blue, #3fa9ff) !important;
  font-weight: 600;
  font-size: .82rem;
  text-decoration: none !important;
}
.gx-hs-all:hover { background: rgba(63, 169, 255, .08); }
