.search-suggest-root {
  position: relative;
}

.search-suggest-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  left: 0;
  z-index: 1050;
  display: none;
  color: #f8fafc;
  background: #101528;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.85rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.search-suggest-panel.is-open {
  display: block;
}

.search-suggest-list {
  max-height: min(430px, 70vh);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  overflow-y: auto;
}

.search-suggest-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.65rem;
  width: 100%;
  min-height: 56px;
  padding: 0.58rem 0.65rem;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0.65rem;
  cursor: pointer;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: rgba(64, 196, 255, 0.14);
}

.search-suggest-thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #40c4ff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  overflow: hidden;
}

.search-suggest-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.search-suggest-body {
  min-width: 0;
}

.search-suggest-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.12rem;
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

.search-suggest-label,
.search-suggest-meta {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.search-suggest-meta {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
}

.search-suggest-empty {
  margin: 0;
  padding: 0.95rem 1rem;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.88rem;
}

@media (max-width: 575.98px) {
  .search-suggest-panel {
    border-radius: 0.7rem;
  }

  .search-suggest-list {
    max-height: 62vh;
  }

  .search-suggest-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .search-suggest-thumb {
    width: 40px;
    height: 40px;
  }
}
