/* Live auctions (auctions.html). Prefix ahp-; never use ad/ads/banner/sponsor in class names. */
.ahp { max-width: 1100px; }
.ahp-head h1 { margin: 0 0 6px; }
.ahp-lede { margin: 0 0 18px; color: var(--muted); font-size: 14px; max-width: var(--measure); }
.ahp-status, .ahp-empty { color: var(--muted); }
.ahp-empty { max-width: var(--measure); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }

.ahp-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.ahp-field { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.ahp-field select, .ahp-field input {
  font: inherit; font-size: 14px; color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 10px; min-width: 0;
}
.ahp-grow { flex: 1 1 220px; }
.ahp-check { display: flex; align-items: center; gap: 6px; font-size: 13.5px; padding-bottom: 8px; cursor: pointer; }
.ahp-meta { margin: 0 0 10px; color: var(--muted); font-size: 13px; }

.ahp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.ahp-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.ahp-t th { position: sticky; top: 0; background: var(--panel); text-align: left; border-bottom: 1px solid var(--line); padding: 0; }
.ahp-t th button {
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 9px 12px; width: 100%; text-align: inherit;
}
.ahp-t th button:hover { color: var(--text); }
.ahp-t th button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ahp-t th.num, .ahp-t td.num { text-align: right; }
.ahp-t td { padding: 6px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ahp-t tbody tr:last-child td { border-bottom: 0; }
.ahp-t tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.ahp-name a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ahp-name a:hover span { text-decoration: underline; }
.ahp-name .ic { border-radius: 4px; flex: none; }
.ahp-below { box-shadow: inset 3px 0 0 var(--gold); }
.ahp-none { color: var(--muted); text-align: center; padding: 18px; }

.ahp-more-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.ahp-more {
  font: 600 14px var(--ui); color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 14px; cursor: pointer;
}
.ahp-more:hover { border-color: var(--gold); }
.ahp-count { color: var(--muted); font-size: 13px; }
.ahp-how { color: var(--muted); font-size: 13px; max-width: var(--measure); }

@media (max-width: 700px) {
  .ahp-t td, .ahp-t th button { padding-left: 8px; padding-right: 8px; }
  .ahp-check { padding-bottom: 0; }
}
.ahp-err { color: #f08a78; }
.ahp-api {
  align-self: end; height: 34px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); font: 600 13px var(--ui);
}
.ahp-api:hover { border-color: var(--gold); }
.ahp-my { margin: 0 0 10px; font-size: 13.5px; }
.ahp-my summary { cursor: pointer; color: var(--muted); width: max-content; }
.ahp-my summary:hover { color: var(--text); }
.ahp-my-hint { margin: 6px 0; color: var(--muted); font-size: 13px; max-width: var(--measure); }
.ahp-my textarea {
  display: block; width: 100%; max-width: 640px; box-sizing: border-box; font: 13.5px/1.5 var(--mono, ui-monospace, monospace);
  color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; resize: vertical;
}
.ahp-my .ahp-err { margin: 4px 0 0; font-size: 13px; min-height: 1em; }
.ahp-how code { font-size: 12.5px; }

/* Best sellers (sales.html): the note that these are estimates, and rougher numbers a little lighter */
.sl-note {
  max-width: var(--measure); margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 10px; background: var(--panel); font-size: 14px;
}
.sl-note p { margin: 4px 0 0; color: var(--muted); }
.ahp-t td.sl-rough { color: var(--muted); }
