/* Games listing page */
.games-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
  background: rgba(15,15,17,0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.games-filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-muted);
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.filter-chip:hover { color: var(--text); border-color: var(--hairline-strong); }
.filter-chip.is-active { color: #241a02; background: var(--grad-gold); border-color: transparent; font-weight: 600; }
.filter-chip .count { font-size: var(--fs-xs); opacity: 0.75; }

.games-search {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}
.games-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: 0.92rem;
}
.games-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.14); }
.games-search input::placeholder { color: var(--text-faint); }
.games-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gold); pointer-events: none; }

.games-empty { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--text-muted); }
.games-empty svg { width: 46px; height: 46px; color: var(--gold); margin: 0 auto var(--sp-4); opacity: 0.7; }

@media (max-width: 620px) {
  .games-search { max-width: none; order: -1; width: 100%; }
}
