/* Recherche globale : liste sous la barre du haut (search.js). */
.search { position: relative; }
.gs { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: min(70vh, 640px); overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16, 32, 48, .16); padding: 6px 0; }
.gs[hidden] { display: none; }
.gs.gs-stale .gs-row, .gs.gs-stale .gs-more { opacity: .45; }
.gs-group + .gs-group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.gs-row, .gs-more, .gs-none { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; color: var(--ink); text-decoration: none !important; }
.gs-row.on, .gs-row:hover, .gs-more.on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.gs-tag { flex: none; min-width: 92px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray-soft);
  font-size: 12px; font-weight: 600; color: var(--ink); text-align: center; white-space: nowrap; }
.gs-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-off { cursor: default; }
.gs-more { min-height: 40px; color: var(--accent); font-size: 13px; }
a.gs-more:hover { text-decoration: underline !important; }
div.gs-more { color: var(--muted); }
.gs-none { color: var(--muted); }
@media (max-width: 720px) {
  .gs { position: fixed; left: 8px; right: 8px; top: 58px; max-height: calc(100vh - 70px); }
  .gs-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .gs-tag { min-width: 0; }
}
