/* Auction House / Market — Velmora night chrome */
.market-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.market-search input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(5, 10, 18, 0.72);
  border: 1px solid rgba(99, 217, 255, 0.22);
  border-radius: 0.55rem;
  color: var(--bone);
  font: inherit;
}
.market-search input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(99, 217, 255, 0.15);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.stat-chip {
  background:
    linear-gradient(180deg, rgba(24, 47, 66, 0.35), rgba(9, 18, 28, 0.65)),
    var(--bg-card);
  border: 1px solid rgba(99, 217, 255, 0.24);
  border-radius: 0.65rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  color: var(--bone-dim);
}
.stat-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.market-table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(99, 217, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(24, 47, 66, 0.35), rgba(9, 18, 28, 0.72)),
    var(--bg-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}
.market-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.market-table th,
.market-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(99, 217, 255, 0.14);
  white-space: nowrap;
}
.market-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.market-table tr:hover td {
  background: rgba(99, 217, 255, 0.05);
}
.market-table .price {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.pager {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.pager button {
  min-width: 2.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(99, 217, 255, 0.24);
  background: rgba(8, 16, 25, 0.55);
  color: var(--bone-dim);
  cursor: pointer;
  font: inherit;
}
.pager button.active,
.pager button:hover {
  color: var(--accent-cyan);
  border-color: rgba(99, 217, 255, 0.45);
}

.hint {
  color: var(--bone-dim);
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}
.price-cell {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}
