.sr-dropdown {
  position: fixed;
  top: calc(56px + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dbeafe;
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  max-height: 480px;
  overflow-y: auto;
  z-index: 200;
  padding: 0.5rem 1rem 1rem;
}
body.dark-mode .sr-dropdown {
  background: #0d1330;
  border-color: #1e2a5a;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.sr-dropdown::-webkit-scrollbar { width: 6px; }
.sr-dropdown::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
body.dark-mode .sr-dropdown::-webkit-scrollbar-thumb { background: #1e2a5a; }
.sr-result-item {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.sr-result-item:hover { background: #dbeafe; }
body.dark-mode .sr-result-item:hover { background: #060918; }
.sr-result-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1f2937;
  margin-bottom: 0.125rem;
}
body.dark-mode .sr-result-title { color: #dbeafe; }
.sr-result-excerpt {
  font-size: 0.8125rem;
  color: #3b82f6;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.dark-mode .sr-result-excerpt { color: #93c5fd; }
.sr-result-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3b82f6;
  background: #dbeafe;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  margin-top: 0.375rem;
}
body.dark-mode .sr-result-cat { background: rgba(59,130,246,0.2); color: #93c5fd; }
.sr-no-results {
  padding: 2rem 1rem;
  text-align: center;
  color: #3b82f6;
}
.sr-no-results-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.sr-no-results-icon i { display: block; }
.sr-no-results-text { font-weight: 600; color: #374151; }
.sr-no-results-sub { font-size: 0.8125rem; margin-top: 0.25rem; }
body.dark-mode .sr-no-results-text { color: #dbeafe; }
.srh-hl {
  background: #fde68a;
  color: #92400e;
  padding: 0 0.125rem;
  border-radius: 2px;
}
body.dark-mode .srh-hl { background: #1e3a8a; color: #fbbf24; }
.topbar-search-wrap { position: relative; flex: 1; max-width: 480px; }
.topbar-search-wrap .topbar-search { width: 100%; }
