#md-search-suggestions[hidden] { display: none !important; }
#md-search-suggestions { position: fixed; z-index: 26000; box-sizing: border-box; overflow: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid #ffffff12; border-radius: 12px; background: #252630; color: #e9eaf0; box-shadow: 0 12px 36px #0005; font: 14px/1.6 system-ui, sans-serif; scrollbar-width: thin; }
#md-search-suggestions h2 { margin: 0; font-size: 13px; font-weight: 600; color: #a5a7b6; }
.md-suggest-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#md-search-suggestions button { cursor: pointer; font: inherit; border: 0; }
.md-suggest-heading button { background: none; padding: 0; font-size: 12px !important; color: #a5a7b6; }
.md-suggest-heading button:disabled { opacity: .4; cursor: default; }
.md-suggest-history { display: flex; flex-wrap: wrap; gap: 7px; max-height: 100px; overflow: auto; }
.md-suggest-history button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 9px; border-radius: 5px; background: #373843; color: #e4e5ed; font-size: 12px !important; }
#md-search-suggestions button:hover, #md-search-suggestions button:focus-visible { color: #fff; background: #ffffff13; outline: 1px solid #ffffff28; outline-offset: 1px; }
#md-search-suggestions .md-suggest-hot-title { margin: 20px 0 8px; }
.md-suggest-hot { list-style: none; padding: 0; margin: 0; }
.md-suggest-hot li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.md-suggest-rank { width: 16px; flex: none; color: #9093a5; font-size: 12px; text-align: center; }
.md-suggest-hot li:nth-child(1) .md-suggest-rank { color: #ff5978; }
.md-suggest-hot li:nth-child(2) .md-suggest-rank { color: #ffab66; }
.md-suggest-hot li:nth-child(3) .md-suggest-rank { color: #e0c082; }
.md-suggest-hot button { min-width: 0; flex: 1; padding: 7px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; color: #e9eaf0; background: transparent; text-align: left; }
#md-search-suggestions .md-suggest-muted { margin: 4px 0; color: #9194a3; font-size: 12px; }
.md-suggest-error { display: flex; align-items: center; gap: 10px; color: #a7a9b6; font-size: 12px; }
.md-suggest-error button { background: #373843; color: #e9eaf0; border-radius: 5px; padding: 4px 8px; }
@media(min-width:768px){
 #md-desktop-bar .md-desktop-search { border-radius: 9px; }
 #md-desktop-bar .md-desktop-search > button[type=submit] { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 80px; padding: 0 15px; border: 0; background: #fafafa; color: #1b1c22; }
 #md-desktop-bar .md-desktop-search > button[type=submit] span { color: inherit; font-size: 14px; }
}
@media(max-width:767px){#md-search-suggestions { display: none !important; }}
