/* ==========================================================================
   Game ID — Search Page
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.search-hero {
  padding: 40px 0 24px;
}

.search-hero h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.search-hero p {
  font-size: 13px;
  color: var(--fg-tertiary);
  margin-bottom: 16px;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--stroke-divider);
  border-radius: var(--r-circular);
  padding: 4px 12px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.search-chip:hover {
  background: var(--bg-layer-hover);
  border-color: var(--stroke-subtle);
  color: var(--fg-primary);
}

/* ---- Results header ------------------------------------------------------- */
.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--stroke-divider);
}

.result-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.clear-search-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-rest);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}

.clear-search-btn:hover {
  background: rgba(15,108,189,0.08);
}

/* ---- Table ---------------------------------------------------------------- */
.search-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.search-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--stroke-divider);
  white-space: nowrap;
}

.search-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--stroke-divider);
  color: var(--fg-secondary);
  vertical-align: middle;
}

.search-table tr:last-child td { border-bottom: none; }

.search-table tr.clickable { cursor: pointer; }
.search-table tr.clickable:hover td { background: var(--bg-layer-hover); }

.td-title {
  color: var(--fg-primary);
  font-weight: 500;
}

/* ---- No results ----------------------------------------------------------- */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px;
  text-align: center;
}

.no-results p:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.no-results p:last-child {
  font-size: 13px;
  color: var(--fg-tertiary);
}
