/* Special-number tags (lib/serial-tags.js) and the grid's "Show values" mode. Site tokens only, light and dark. */
.st-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 12px/1.5 var(--body); border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); white-space: nowrap; }
.st-chip.st-one, .st-chip.st-first, .st-k.st-first { border-color: var(--gold); color: var(--gold); }
.st-chip.st-last, .st-k.st-last { border-color: var(--blue); color: var(--blue); }
.st-chip.st-jersey, .st-k.st-jersey { border-color: var(--purple); color: var(--purple); }
.st-row { margin: 0 0 10px; }
.st-src { display: block; margin-top: 4px; }
/* Grid: a corner mark on the cell, the number stays centred. */
.grid .cell { position: relative; }
.cell .st { position: absolute; top: 1px; right: 2px; font: 700 8px/1 var(--body); letter-spacing: -.02em; padding: 1px 2px; border-radius: 3px; background: var(--surface); border: 1px solid currentColor; }
.cell .st.st-first { color: var(--gold); } .cell .st.st-last { color: var(--blue); } .cell .st.st-jersey { color: var(--purple); }
.cell.hit .st { background: var(--surface); }
.legend .st-k { display: inline-block; width: auto; height: auto; padding: 0 3px; font: 700 9px/14px var(--body); border-radius: 3px; border: 1px solid; background: var(--surface); margin-right: 6px; vertical-align: 0; }
/* Show values: last verified sale of that number, small, under it. */
.grid.vals .cell { align-content: center; gap: 1px; line-height: 1.05; }
.cell .cv { display: block; font: 600 9px/1 var(--body); color: var(--fg); letter-spacing: -.02em; }
.cell.hit .cv { color: var(--hit-fg); }
.gv-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
/* Per-serial value box. */
.sv { display: grid; gap: 6px; margin: 4px 0 10px; }
.sv p { margin: 0; }
.sv-last b, .sv-par b { font-size: 1.1em; }
.sv-vs .pr-up { color: var(--ok); } .sv-vs .pr-down { color: var(--warn); }
