/* --- chips / badges --------------------------------------------------- */ .chip, .badge { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--ink); font: 700 11px/1 var(--mono); letter-spacing: 0.4px; text-transform: uppercase; cursor: pointer; text-decoration: none; /* Some chips/badges carry live counts (pending edits, confidence %); fixed- width digits stop them nudging their row when the number changes. */ font-variant-numeric: tabular-nums; } .chip { padding: 6px 11px; box-shadow: var(--shadow-xs); } .badge { padding: 3px 7px; font-size: 9px; cursor: default; } .chip--ink, .badge--ink { background: var(--ink); color: var(--surface); } .chip--owned, .badge--owned { background: var(--owned); color: var(--cream-fixed); } .chip--wanted, .badge--wanted { background: var(--wanted); color: var(--cream-fixed); } .chip--accent, .badge--accent { background: var(--accent); color: var(--ink-fixed); } .chip--surface, .badge--surface { background: var(--surface); color: var(--ink); } .chip--alert, .badge--alert { background: var(--danger); color: var(--cream-fixed); } /* a muted, unselected filter chip */ .chip--off { background: var(--surface); color: var(--ink-muted); box-shadow: none; } /* --- card ------------------------------------------------------------- */ .card { background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); padding: 16px; margin-bottom: 16px; } /* --- buttons ---------------------------------------------------------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); padding: 13px 16px; font: 700 13px/1 var(--mono); letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; color: var(--ink); background: var(--surface); transition: transform 0.04s ease, box-shadow 0.04s ease; } .btn:active { transform: translate(2px, 2px); box-shadow: var(--shadow-xs); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn--primary { background: var(--accent); color: var(--ink-fixed); } .btn--danger { background: var(--wanted); color: var(--cream-fixed); } .btn--dark { background: var(--ink); color: var(--surface); } .btn--ghost { box-shadow: none; background: transparent; } .btn--block { width: 100%; }