/* VER-29: search suggestions */
.vrs-host { position: relative; }
.vrs-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1200;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  font-family: var(--font-sans, inherit);
  text-align: left;
}
.vrs-box[hidden] { display: none; }
.vrs-box.is-loading { opacity: .75; }
.vrs-section + .vrs-section { border-top: 1px solid var(--slate-100, #f1f5f9); margin-top: 4px; padding-top: 4px; }
.vrs-title {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-500, #64748b);
}
.vrs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: var(--slate-900, #0f172a);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}
.vrs-item:hover, .vrs-item.is-active { background: var(--slate-50, #f8fafc); color: var(--slate-900, #0f172a); text-decoration: none; }
.vrs-item mark { background: none; color: inherit; font-weight: 800; padding: 0; }
.vrs-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--slate-100, #f1f5f9);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vrs-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vrs-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vrs-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.vrs-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--slate-500, #64748b); }
.vrs-meta strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--slate-700, #334155); }
.vrs-item--link { justify-content: space-between; }
.vrs-empty { padding: 12px 16px; font-size: 14px; color: var(--slate-500, #64748b); }
.vrs-all {
  margin-top: 4px;
  border-top: 1px solid var(--slate-100, #f1f5f9);
  padding-top: 12px;
  padding-bottom: 10px;
  font-weight: 700;
  color: var(--accent, #EE881A);
}
.vrs-all:hover, .vrs-all.is-active { color: var(--accent-hover, #d97706); }
@media (max-width: 767px) {
  .vrs-box { position: fixed; top: auto; left: 8px; right: 8px; max-height: 65vh; margin-top: 6px; }
}
