/* ============ ID 数据查询页 ============ */
.ids-page { padding: 120px 0 80px; }

.ids-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
}
.ids-search {
  flex: 1 1 240px;
  max-width: 420px;
  padding: 12px 16px;
  background: rgba(28, 31, 36, .7);
  border: 1px solid rgba(201, 162, 92, .35);
  border-radius: 3px;
  color: var(--paper);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.ids-search:focus { border-color: var(--gold); }
.ids-search::placeholder { color: rgba(245, 241, 232, .35); }
.ids-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.ids-cat {
  padding: 8px 16px;
  background: rgba(28, 31, 36, .6);
  border: 1px solid rgba(201, 162, 92, .28);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .85rem;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.ids-cat:hover { color: var(--gold-soft); border-color: rgba(201, 162, 92, .5); }
.ids-cat.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}
.ids-count {
  width: 100%;
  font-size: .8rem;
  letter-spacing: .05em;
  color: rgba(201, 162, 92, .75);
}

.ids-table-wrap {
  background: rgba(28, 31, 36, .55);
  border: 1px solid rgba(201, 162, 92, .16);
  border-radius: 4px;
  overflow: hidden;
}
.ids-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ids-table th {
  position: sticky;
  top: 0;
  background: rgba(20, 22, 26, .97);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .12em;
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(201, 162, 92, .3);
}
.ids-table td {
  padding: 10px 18px;
  color: var(--text);
  border-bottom: 1px dashed rgba(245, 241, 232, .06);
}
.ids-table tbody tr:hover { background: rgba(201, 162, 92, .07); }
.ids-table td.id-num {
  font-family: Consolas, "Courier New", monospace;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
}
.ids-table td.cat { color: var(--text-dim); font-size: .82rem; }
.ids-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: .9rem;
}

@media (max-width: 640px) {
  .ids-page { padding: 104px 0 60px; }
  .ids-table th, .ids-table td { padding: 9px 12px; }
  .ids-table { font-size: .85rem; }
}
