.search-category-group > div:first-child > a {
    color:var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
}

.search-category-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.search-category-chips > a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border:1px solid var(--line);
    border-radius: 13px;
    background:var(--color-surface);
    color:var(--ink);
    font-size: 10px;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.search-category-chips > a:hover {
    border-color:var(--gold);
    background:var(--surface);
    color:var(--gold-dark);
}

.search-category-chips > a > i:first-child {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background:var(--surface);
    color:var(--gold-dark);
}

.search-category-chips > a > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-category-chips .bi-chevron-left {
    color:var(--muted);
    font-size: 9px;
}

.search-discovery-loading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-discovery-loading span {
    width: 112px;
    height: 32px;
    border-radius: 18px;
    background:linear-gradient(90deg, var(--color-surface) 25%, var(--color-surface) 50%, var(--color-surface) 75%);
    background-size: 200% 100%;
    animation: search-skeleton 1.1s infinite linear;
}

.search-discovery-loading span:nth-child(2),
.search-discovery-loading span:nth-child(5) {
    width: 155px;
}

.search-discovery-error {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color:var(--muted);
    font-size: 11px;
}

.search-discovery-error i {
    font-size: 25px;
    color:var(--gold-dark);
}

.search-discovery-error button {
    border:1px solid var(--gold);
    border-radius: 10px;
    background:var(--surface);
    padding: 5px 12px;
    cursor: pointer;
}

@keyframes search-skeleton {
    to { background-position: -200% 0; }
}

@media (max-width: 767px) {
    .search-category-chips { grid-template-columns: 1fr; }
    .drawer-search .quick-search-results { z-index: 120; }
}
