.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  width: 100%;
}
#search-slot-desktop,
#search-slot-mobile {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
}
#search-slot-mobile { display: none; }

.drawer-search-slot {
  display: none;
  flex-shrink: 0;
  padding: 12px 12px 10px;
  border-bottom: 1px solid #222;
}
.drawer-search-slot .search-bar {
  width: 100%;
}
.drawer-search-slot .search-wrap {
  max-width: none;
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.search-wrap svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  pointer-events: none;
}
#search {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  color: #e5e5e5;
  outline: none;
  transition: border-color .15s;
}
#search::placeholder { color: #555; }
#search:focus { border-color: #444; }

.search-count {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
}
.search-count.visible { opacity: 1; }
