/* ===== Colour schemes (chosen in Settings) ===== */

/* Platinum - dark charcoal with a platinum metallic finish (brand v2, 13 Nov 2026) */
:root, [data-theme="gold"] {
  --bg: #0e1116; --surface: #171b22; --surface-2: #1f252e; --line: #2a313c;
  --text: #eef1f5; --muted: #8b95a5;
  --accent: #c9cfd8; --accent-ink: #12161c; --glow: rgba(201,207,216,.22);
  --accent-grad: linear-gradient(135deg,#f7f9fc 0%,#d5dae1 28%,#a9b1bc 55%,#8a929e 75%,#e6e9ee 100%);
  --up: #3ecf8e; --down: #ff6b6b; --warn: #f5a524;
  --hero-a: #1d2430; --hero-b: #141920;
  --warn-bg: #2a2210; --warn-line: #4d3d14; --warn-text: #f3d9a2;
  --info-bg: #142233; --info-line: #22405f; --info-text: #b9d6f5;
  --bar-bg: rgba(14,17,22,.92); --toast-bg: #2b323d; --chip-bg: rgba(0,0,0,.65); --chip-text: #fff;
  color-scheme: dark;
}

:root {
  --radius: 14px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  overscroll-behavior-y: contain;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }

.wrap { max-width: 760px; margin: 0 auto; padding: calc(12px + var(--safe-top)) 16px calc(110px + var(--safe-bottom)); }

/* ---------- header / summary ---------- */
.brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.brand h1 { font-size: 22px; margin: 0; letter-spacing: .2px; }
.brand h1 { font-family: Montserrat, -apple-system, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.3px; display: flex; align-items: center; gap: 6px; }
.brand h1 span { background: var(--accent-grad); color: var(--accent-ink); border-radius: 6px; padding: 1px 7px 3px; }
.icon-btn { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; }

.summary { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.summary .label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }
.summary .total { font-size: 34px; font-weight: 700; margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.summary .sub { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.summary .sub b { color: var(--text); font-weight: 600; }
.spark { width: 100%; height: 56px; margin-top: 10px; display: block; }
.up { color: var(--up) !important; } .down { color: var(--down) !important; }

.banner { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-bottom: 10px; }
.banner.info { background: var(--info-bg); border-color: var(--info-line); color: var(--info-text); }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 8px; margin-bottom: 12px; position: sticky; top: 0; z-index: 5; padding: 8px 0; background: var(--bg); }
.search { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.select { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }

/* ---------- grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; text-align: left; padding: 0; }
.tile .img { aspect-ratio: 5 / 7; background: var(--surface-2); position: relative; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .meta { padding: 8px 10px 10px; }
.tile .name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .set { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .val { font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile .val small { color: var(--muted); font-weight: 500; font-size: 11px; margin-left: 4px; }
.chip { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-text); backdrop-filter: blur(4px); }
.chip.gold { background: var(--accent-grad); color: var(--accent-ink); }
.chip.right { left: auto; right: 8px; }
.chip.warn { background: var(--warn); color: #1d1300; }

.shimmer { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); background-size: 200% 100%; animation: sh 1.2s infinite linear; }
@keyframes sh { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.empty { text-align: center; color: var(--muted); padding: 50px 20px; }
.empty .big { font-size: 48px; }
.empty h2 { color: var(--text); margin: 8px 0; }

/* ---------- bottom tab bar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: 6px 16px calc(8px + var(--safe-bottom)); background: var(--bar-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tab { background: none; border: 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; padding: 6px 0; cursor: pointer; }
.tab span { font-size: 21px; filter: grayscale(1); opacity: .7; }
.tab.on { color: var(--accent); }
.tab.on span { filter: none; opacity: 1; }
.tab-scan { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--bg); background: var(--accent-grad); color: var(--accent-ink); font-size: 26px; margin-top: -26px; box-shadow: 0 8px 24px var(--glow); cursor: pointer; }

/* ---------- portfolio ---------- */
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-b { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.seg-b.on { background: var(--accent-grad); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pf-chart { width: 100%; height: auto; display: block; margin-top: 10px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pf-chart .ax { fill: var(--muted); font-size: 11px; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pf-stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; min-width: 0; }
.pf-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.pf-stats b { font-size: 15px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.pf-stats small { font-size: 11px; color: var(--muted); }
.bd-row { padding: 8px 0; border-top: 1px solid var(--line); }
.bd-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.bd-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-bar { height: 6px; background: var(--surface-2); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.bd-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.pick-list { max-height: 360px; overflow-y: auto; margin-top: 8px; border-top: 1px solid var(--line); }
.pick { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pick img, .pick .ph { width: 32px; height: 45px; object-fit: cover; border-radius: 4px; background: var(--surface-2); flex: none; }
.pick .pt { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.pick .pt small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .pv { margin-left: auto; font-weight: 600; white-space: nowrap; }
.pick input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }

/* ---------- floating scan button ---------- */
.fab-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(14px + var(--safe-bottom)); display: flex; gap: 10px; justify-content: center; background: linear-gradient(transparent, var(--bg) 40%); z-index: 10; }
.fab { background: var(--accent-grad); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 15px 28px; font-weight: 700; font-size: 17px; box-shadow: 0 8px 24px var(--glow); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.fab.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: none; padding: 15px 18px; font-weight: 600; }

/* ---------- detail ---------- */
.back-link { background: none; border: 0; color: var(--accent); padding: 6px 0; font-size: 16px; cursor: pointer; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .hero { grid-template-columns: 260px minmax(0, 1fr); } }
.card-img { position: relative; aspect-ratio: 5 / 7; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); max-width: 320px; margin: 0 auto; width: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.flip-hint { position: absolute; bottom: 8px; right: 8px; }
.title { font-size: 20px; font-weight: 700; margin: 4px 0; }
.muted { color: var(--muted); }
.value-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.value-box .v { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.basis { font-size: 13px; color: var(--muted); }
.sale { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.sale img { width: 44px; height: 60px; object-fit: cover; border-radius: 6px; background: var(--surface-2); flex: none; }
.sale .t { font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sale .p { margin-left: auto; font-weight: 700; white-space: nowrap; padding-left: 8px; text-align: right; }
.sale .p small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }

.section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.section h3 { margin: 0 0 10px; font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.form input, .form select, .form textarea { width: 100%; }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--text); font-size: 16px; min-width: 0; }
.checks { grid-column: 1 / -1; display: flex; gap: 16px; flex-wrap: wrap; }
.checks label { flex-direction: row; align-items: center; gap: 6px; font-size: 14px; color: var(--text); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.btn.primary { background: var(--accent-grad); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.btn.danger { color: var(--down); }
.btn:disabled { opacity: .5; }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-bottom)); transform: translateX(-50%) translateY(20px); background: var(--toast-bg); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; opacity: 0; transition: .25s; pointer-events: none; z-index: 20; font-size: 14px; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.install { text-align: center; padding: 40px 10px; }
.install ol { text-align: left; display: inline-block; line-height: 1.9; }

/* ---------- settings ---------- */
.themes { display: grid; gap: 10px; }
.theme { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 2px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; text-align: left; }
.theme.on { border-color: var(--accent); }
.theme .sw { display: grid; grid-template-columns: 1fr 1fr; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.theme .sw i { display: block; }
.theme .tn { display: flex; flex-direction: column; min-width: 0; }
.theme .tn small { color: var(--muted); font-size: 13px; }
.theme .tick { margin-left: auto; color: var(--accent); font-weight: 800; font-size: 18px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv span { color: var(--muted); }
.kv b { text-align: right; font-weight: 600; }

/* ---------- header menu, alerts, watchlist ---------- */
.bell { position: relative; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--down); color: #fff; font: 700 11px/18px -apple-system, sans-serif; font-style: normal; text-align: center; }
/* sign-up */
.signup-cta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.signup-cta b { font-size: 17px; }
.signup-cta .muted { font-size: 13px; }
.signup-cta .btn { margin-top: 6px; }
.val .lock { font-size: 11px; font-weight: 600; color: var(--muted); }
.code-in { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 800; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); }
.form label.check input { width: auto; margin-top: 2px; }
.auth .up { color: var(--up); } .auth .down { color: var(--down); }

/* help & support conversations */
.sup summary { cursor: pointer; list-style: none; }
.sup summary::-webkit-details-marker { display: none; }
.sup-st { float: right; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.sup-st.replied { background: var(--accent-grad); color: var(--accent-ink); }
.sup-msg { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); max-width: 92%; }
.sup-msg.me { margin-left: auto; border: 1px solid var(--line); background: transparent; }
.sup-msg small { color: var(--muted); font-size: 11px; }
.sup-msg p { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.menu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: -2px 0 12px; overflow: hidden; }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.menu button:first-child { border-top: 0; }
.menu small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.view-seg { margin-bottom: 12px; }
.view-seg .seg-b { flex: 1; padding: 9px 12px; font-size: 14px; }
.sale.unseen { background: linear-gradient(90deg, var(--glow), transparent 60%); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
a.btn { text-decoration: none; color: var(--text); display: inline-block; }
.sale .t.free { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* ---------- binder-page crops ---------- */
.crop { position: absolute; inset: 0; margin: auto; overflow: hidden; }
.crop img { position: absolute; max-width: none; object-fit: fill; }
.card-img .crop img, .tile .crop img { width: auto; }
.thumb { position: relative; width: 44px; height: 60px; border-radius: 6px; overflow: hidden; background: var(--surface-2); flex: none; display: block; }
.thumb.sm { width: 32px; height: 45px; border-radius: 4px; }
.thumb > img { width: 100%; height: 100%; object-fit: cover; }
#cimgWrap { position: absolute; inset: 0; }
#cimgWrap > img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- grading advisor ---------- */
.grading.gem { border-color: var(--accent); background: linear-gradient(160deg, var(--glow), var(--surface) 45%); }
.grading.warn { border-color: var(--warn-line); }
.banner.gem { display: block; width: 100%; text-align: left; cursor: pointer; background: linear-gradient(90deg, var(--glow), var(--surface)); border-color: var(--accent); color: var(--text); font: inherit; font-size: 14px; }
.scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.score { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 6px; text-align: center; min-width: 0; }
.score span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score b { display: block; font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar { display: grid; grid-template-columns: 74px 1fr 40px; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0; }
.pbar div { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 99px; }
.pbar i.p10 { background: var(--accent); } .pbar i.p9 { background: var(--up); } .pbar i.p8 { background: var(--muted); }
.pbar b { text-align: right; }
@media (max-width: 380px) { .scores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- grading cost settings ---------- */
.estimate { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 12px; transition: opacity .2s; }
.estimate.dim { opacity: .45; }
.est-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.est-top b { font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums; }
.tick { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; font-weight: 600; cursor: pointer; }
.tick input { width: 22px; height: 22px; accent-color: var(--accent); }
details.gtable { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
details.gtable summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.grow { padding: 9px 0; border-top: 1px solid var(--line); }
.grow.me { background: linear-gradient(90deg, var(--glow), transparent 70%); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.gt { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.gt small { color: var(--muted); }

/* ---------- currency picker (top right) ---------- */
.cur-pick { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; height: 38px; padding: 0 22px 0 10px; font-size: 13px; max-width: 74px; font-weight: 600; color: var(--text);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 16px, calc(100% - 8px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
.brand .back-link { padding: 0; }
@media (max-width: 400px) { .brand h1 { font-size: 20px; } }

/* ---------- monetisation (always labelled) ---------- */
.ebay-btn { display: block; text-align: center; margin-top: 12px; }
.disclose { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.disclose a { color: var(--muted); text-decoration: underline; }
.support h3 span { color: var(--accent); }

/* first-open welcome */
.welcome { max-width: 520px; padding-top: max(48px, env(safe-area-inset-top)); padding-bottom: 32px; text-align: center; }
.welcome h2 { margin: 18px 0 20px; font-size: 22px; }
.welcome .steps { display: grid; gap: 10px; text-align: left; }
.welcome .step { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.welcome .step span { font-size: 24px; line-height: 1; flex: none; }
.welcome .step b { color: var(--text); font-size: 15px; }
.welcome .free { color: var(--muted); margin: 18px 0 6px; }
.welcome .free b { color: var(--text); }
.welcome-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin: 14px auto 0; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px; cursor: pointer; font-size: 14px; }

/* app tour */
.tour { position: fixed; inset: 0; z-index: 100; }
.tour-hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0,0,0,.74), 0 0 0 2px var(--accent); transition: all .25s ease; pointer-events: none; }
.tour-card { position: fixed; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: top .25s ease; }
.tour-card h3 { margin: 2px 0 6px; font-size: 17px; }
.tour-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.tour-count { font-size: 12px; color: var(--muted); min-height: 14px; }
.tour-btns { display: flex; gap: 8px; align-items: center; margin-top: 12px; justify-content: flex-end; }
.tour-btns .link-btn { padding-left: 0; }

/* valuation method: range and confidence on the card details screen */
.vrange { font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.vconf { display: inline-block; font-size: 12px; margin: 6px 0 4px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.vconf.high { color: var(--up); border-color: var(--up); }
.vconf.low { color: var(--warn); border-color: var(--warn); }

/* category buttons on My collection (any sport, 15 Nov 2026): one scrolling row, max 8 */
.cats { display: flex; gap: 8px; overflow-x: auto; margin: 2px -16px 12px; padding: 2px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cat small { color: var(--muted); font-weight: 500; }
.cat.on { background: var(--accent-grad); color: var(--accent-ink); border-color: transparent; }
.cat.on small { color: var(--accent-ink); opacity: .7; }
