/* Seller side (/ and /s/:token). A phone-width app: stacked screens, translucent bars, bottom sheets.
   Look: near-black and monochrome, Archivo throughout with wide headlines and money like game-day
   broadcast graphics, white pill buttons, hairline tiles. Green is the only color and it means money.
   Signature: the cert number on a label-strip chip. Dark only. */
:root {
  --bg: #000000;
  --card: #0d0d0e;
  --card-2: #18181a;
  --line: rgba(255,255,255,.09);
  --sep: rgba(255,255,255,.08);
  --text: #f5f5f4;
  --muted: #a3a3a3;
  --faint: #737373;
  --ink: #000000;
  --ink-text: #8c8c8c;
  --accent: #ffffff;           /* primary buttons: white pill, black text */
  --accent-ink: #000000;
  --money: #4cc38a;            /* the one color: offers, paid, the slabs you're selling */
  --money-on-dark: #4cc38a;
  --good: #4cc38a;
  --warn: #e0a050;
  --bad: #e5484d;
  --backdrop: #000000;
  --shadow: none;
  --float: 0 24px 48px rgba(0,0,0,.6);
  --bar: rgba(0,0,0,.72);
  --ease: cubic-bezier(.22,1,.36,1);
  --display: "Archivo", system-ui, sans-serif;   /* set wide (font-stretch 125%) for headlines and money */
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

/* ---------- shell ---------- */
body.seller { background: var(--bg); color: var(--text); font-size: 16px; overscroll-behavior: none; }
body.noscroll { overflow: hidden; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.app { position: relative; max-width: 440px; margin: 0 auto; height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg); }
@media (min-width: 600px) {
  body.seller { background: var(--backdrop); }
  .app { margin: 24px auto; height: min(900px, calc(100dvh - 48px)); border-radius: 40px; box-shadow: 0 24px 64px rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.04); }
}
.screen { position: absolute; inset: 0; background: var(--bg); will-change: transform; }
.screen[hidden] { display: none; }
.scroll { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc(64px + env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 20px 0; display: flex; align-items: center; gap: 12px; background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.bar .btn { min-height: 52px; font-size: 17px; font-weight: 600; }
.bar .btn:disabled { opacity: .32; }
.brand { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-right: auto; color: var(--text); text-decoration: none; }
.top-btn { background: none; border: 0; font-weight: 500; font-size: 15px; color: var(--text); cursor: pointer; padding: 8px 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
.back { background: none; border: 0; padding: 8px 0; font-size: 17px; font-weight: 400; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.back span { font-size: 28px; line-height: 1; margin-top: -4px; font-weight: 300; }
.large-title { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; margin: 4px 0 16px; }
.large-title .count { color: var(--faint); font-weight: 400; font-size: 24px; }
.section-title { font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
.group-label { font-size: 13px; font-weight: 500; color: var(--muted); margin: 16px 4px 8px; }
.text-link { display: inline-block; background: none; border: 0; padding: 4px 0; margin: 0 0 16px; color: var(--text); font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.text-link.center { display: block; margin: 12px auto 0; }
/* ship ⇄ meet up: the same quiet link as Change how you get paid, on its own line under it */
.hand-switch { display: block; margin: 12px 0 0; font-size: 14px; }
#hero.compact .hand-switch { margin: 12px auto 0; }
.foot-note { font-size: 13px; color: var(--muted); margin: 8px 4px 16px; line-height: 1.5; }

.btn { border-radius: 10px; font-weight: 500; transition: transform .14s var(--ease), opacity .14s var(--ease), background-color .14s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.btn.primary:hover { background: var(--accent); opacity: .92; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.link { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; cursor: pointer; font-size: inherit; }
.toast { background: var(--ink); color: #fff; border: 0; font-weight: 500; z-index: 200; border-radius: 12px; }
.err { color: var(--bad); margin: 0 0 8px; font-weight: 500; font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* status tags: small, squared, quiet; green only when money changed hands or is on the table */
.pill { flex: none; font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 6px; background: var(--card-2); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill.go { background: color-mix(in srgb, var(--money) 12%, transparent); color: var(--money); }
.pill.paid { background: color-mix(in srgb, var(--money) 12%, transparent); color: var(--money); }
.chip { background: var(--card-2); }

/* signature: the cert number set like the strip on a grading label */
.cert { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--text); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--text); border-radius: 4px; padding: 0 6px; line-height: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cert.empty { color: var(--warn); border-left-color: var(--warn); font-family: inherit; }

/* Dark segmented controls: company, grade, payment, auth mode. Selected = light surface on ink. */
.dseg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--ink); padding: 4px; border-radius: 12px; }
.dseg button { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--ink-text); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: background-color .16s var(--ease), color .16s var(--ease); }
@media (hover: hover) { .dseg button:hover { color: #fff; } }
.dseg button.on, .dseg button[aria-checked="true"] { background: #fdfcfa; color: #1f1b16; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.dseg button:active { transform: scale(.97); }
.dseg.chips button { flex: 1 1 calc(33% - 4px); }

/* iOS grouped lists */
.list { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.list .row { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 16px; min-height: 48px; position: relative; color: var(--text); font-size: 16px; width: 100%; background: none; border: 0; text-align: left; text-decoration: none; }
.list .row + .row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--sep); }
.list .row > span:first-child { width: 80px; flex: none; font-weight: 500; }
.list .row input, .list .row select { border: 0; background: transparent; padding: 12px 0; border-radius: 0; flex: 1; min-width: 0; font-weight: 400; }
.list .row input:disabled { color: var(--muted); }
.list .row input::placeholder, .list textarea::placeholder { color: var(--faint); }
.list textarea { border: 0; background: transparent; border-radius: 0; padding: 12px 16px; min-height: 0; resize: none; }
.list.notes { margin-top: 4px; }
.link-row { cursor: pointer; padding: 12px 16px !important; }
.link-row > div { flex: 1; min-width: 0; }
.link-row b { display: block; font-weight: 500; }
.link-row div > span { display: block; font-size: 13px; color: var(--muted); }
.link-row:active { background: var(--card-2); }
.chev { color: var(--faint); font-size: 20px; flex: none; }
.empty-row { color: var(--muted); font-size: 15px; padding: 16px !important; }
.danger-list { margin-top: 32px; }
.danger-list .row { color: var(--bad); font-weight: 500; justify-content: center; cursor: pointer; }
html.native body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.native input, html.native textarea, html.native [contenteditable], html.native .cert, html.native .lbl, html.native .mono, html.native .ref, html.native .copyable { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.del-link { display: block; margin: 16px auto 0; font-size: 14px; color: var(--faint); }
.legal-links { margin: 20px 0 8px; text-align: center; font-size: 13px; color: var(--faint); }
.legal-links a { color: var(--muted); text-decoration: none; }
#delacct .del-go { background: var(--bad); color: #fff; margin: 8px 0 8px; }
#delacct .del-go[disabled] { opacity: .6; }
#a-save { margin-top: 16px; }

/* ---------- home ---------- */
.flow { list-style: none; display: flex; gap: 8px; padding: 0; margin: 20px 0 0; counter-reset: f; position: relative; z-index: 1; }
.flow li { counter-increment: f; flex: 1; padding: 8px 12px; border-radius: 10px; background: rgba(239,233,222,.06); border: 1px solid rgba(239,233,222,.08); font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.flow li::before { content: counter(f); font-family: var(--mono); font-size: 12px; color: #8a847a; }

/* ---------- add slabs ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.way { display: grid; justify-items: center; gap: 4px; padding: 16px 8px 12px; margin: 0; border-radius: 16px; border: 0; background: var(--card); box-shadow: var(--shadow); color: var(--text); cursor: pointer; font: inherit; transition: transform .14s var(--ease); }
.way:first-child { background: var(--ink); color: #efe9de; }
.way:active { transform: scale(.97); }
.way svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 4px; }
.way b { font-size: 15px; font-weight: 500; }
.way span { font-size: 12px; opacity: .65; }

.sheet-wrap { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
table.xl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.xl th { font-size: 12px; font-weight: 500; color: #d6d0c4; text-align: left; padding: 8px; background: var(--ink); }
.xl th + th { border-left: 1px solid rgba(239,233,222,.1); }
.xl td { padding: 8px; border-bottom: 1px solid var(--sep); vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl td + td { border-left: 1px solid var(--sep); }
.xl .n { width: 28px; text-align: center; color: var(--faint); font-size: 12px; font-family: var(--mono); background: var(--card-2); padding-left: 0; padding-right: 0; }
.xl th.n { background: var(--ink); }
.xl .ph { width: 44px; padding: 4px 6px; }
.xl th:nth-child(3) { width: 30%; }
.xl .r { width: 68px; text-align: right; font-variant-numeric: tabular-nums; }
.xl img, .xl .ph-box { display: block; width: 32px; height: 44px; object-fit: cover; border-radius: 4px; background: var(--card-2); }
.xl .ph-box { border: 1px dashed var(--faint); background: transparent; opacity: .5; }
.xl .sheet-ico, .ed-photo .sheet-ico { border: 0; opacity: 1; background: var(--card-2); display: grid; place-items: center; }
.sheet-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.xl td b { display: block; font-weight: 500; }
.xl td small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.xl .auto { display: block; margin-top: 2px; font-size: 11px; color: var(--faint); }
.xl .todo { color: var(--warn); font-size: 12px; font-weight: 500; }
.xl .reading { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.xl .reading .spinner { --h: 12px; }
.xl tr.row { cursor: pointer; }
.xl tr.row:active td, .xl tr.row:focus-visible td { background: var(--card-2); }
.xl tr.busy { opacity: .75; }
.xl tr.ghost td:not(.n) { opacity: .5; }
.xl .ex-tag { font-style: normal; font-size: 11px; font-weight: 400; color: var(--faint); margin-left: 4px; }
.xl tr.blank td { color: var(--faint); font-size: 13px; height: 60px; }
.xl tfoot td { background: var(--card-2); font-size: 13px; font-weight: 500; border-bottom: 0; border-top: 1px solid var(--line); }
.xl tr.more td { text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- sheets ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; justify-content: center; }
/* the keyboard: the sheet rides on top of it (--kb from sell.js), moving with it */
.sheet-bg { padding-bottom: var(--kb, 0px); transition: padding-bottom .3s cubic-bezier(.32,.72,0,1); }
@media (prefers-reduced-motion: reduce) { .sheet-bg { transition: none; } }
.sheet { width: 100%; max-width: 440px; max-height: 92vh; max-height: calc(92dvh - var(--kb, 0px)); overflow-y: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 32px rgba(0,0,0,.16); }
.sheet.tall { min-height: 70dvh; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 20px; } }
.grabber { width: 36px; height: 4px; border-radius: 2px; background: var(--faint); opacity: .4; margin: 4px auto 12px; cursor: grab; touch-action: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; cursor: grab; touch-action: none; }
.sheet-head h2 { font-size: 20px; font-weight: 600; }
.sheet-sub { font-size: 15px; color: var(--muted); margin: 0 0 16px; line-height: 1.45; }
.icon-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--card-2); color: var(--muted); cursor: pointer; font-size: 14px; flex: none; }
.sheet label { font-weight: 500; color: var(--muted); }
.sheet .list .row > span:first-child { color: var(--text); }
.sheet .list { background: var(--bg); box-shadow: none; }
#auth-mode { margin-bottom: 16px; }
#auth-form .list { margin-bottom: 4px; }
#auth-form .btn { margin-top: 16px; }

/* spreadsheet import */
.drop { display: grid; justify-items: center; gap: 4px; padding: 32px 16px; border: 1px dashed var(--faint); border-radius: 16px; cursor: pointer; text-align: center; color: var(--text) !important; }
.drop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; margin-bottom: 8px; }
.drop b { font-size: 17px; font-weight: 500; }
.drop span { font-size: 13px; color: var(--muted); }
.drop:active { background: var(--card-2); }
.list.map .row > span:first-child { width: 96px; }
.list.map select { appearance: none; -webkit-appearance: none; text-align: right; color: var(--text); font-weight: 500; cursor: pointer; padding-right: 4px; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.sheet-wrap.preview { margin-bottom: 16px; }
.preview .xl th { width: auto !important; }
.preview .xl td { font-size: 13px; }

/* example */
.ex-stage { background: linear-gradient(180deg, #211f1d, #161513); border-radius: 16px; padding: 24px 0; display: grid; place-items: center; margin: 8px 0 12px; }
.ex-photo { position: relative; margin: 0; width: min(56%, 200px); }
.ex-photo img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.ex-box { position: absolute; border: 1.5px solid #fdfcfa; border-radius: 4px; }
.ex-box em { position: absolute; font-style: normal; font-size: 11px; font-weight: 500; color: #1f1b16; background: #fdfcfa; padding: 2px 6px; border-radius: 4px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ex-label { left: 5.5%; top: 2.2%; width: 89%; height: 16.4%; }
.ex-label em { right: -8px; top: -12px; }
.ex-cert { left: 64%; top: 13%; width: 26.5%; height: 4.6%; }
.ex-cert em { right: -12px; top: calc(100% + 8px); }
.ex-code { left: 10.5%; top: 13%; width: 24%; height: 4.6%; }
.ex-code em { left: -12px; top: calc(100% + 8px); }
.ex-checks { list-style: none; padding: 0; margin: 0 0 16px; }
.ex-checks li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--sep); }
.ex-checks li::before { content: "✓"; color: var(--muted); }
.ex-checks b { font-size: 15px; font-weight: 500; }
.ex-checks span { color: var(--muted); font-size: 14px; margin-left: auto; }

/* editor */
.ed-top { display: flex; gap: 16px; align-items: flex-start; margin-top: 8px; }
.ed-main { flex: 1; min-width: 0; }
.ed-photos { display: flex; flex-direction: column; gap: 8px; flex: none; }
.ed-photo { position: relative; width: 88px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); flex: none; }
.ed-photo img { width: 100%; height: 100%; object-fit: cover; }
.ed-photo .tag { position: absolute; left: 4px; bottom: 4px; background: rgba(0,0,0,.65); color: #fff; border: 0; font-size: 11px; }
.ed-photo.add { aspect-ratio: auto; height: 32px; display: grid; place-items: center; color: var(--muted); cursor: pointer; border-style: dashed; font-size: 12px; font-weight: 500; }
.ed-photo.sheet-ph { display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; font-size: 11px; color: var(--muted); padding: 8px; }
.ed-photo.sheet-ph .sheet-ico { width: 32px; height: 32px; border-radius: 8px; }
.ed-photo .x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.ed-main .field { margin-bottom: 12px; }
.cert-in { font-family: var(--mono); font-size: 20px; letter-spacing: .04em; font-weight: 500; }
.hint { margin: -4px 0 16px; font-size: 13px; color: var(--muted); min-height: 1em; }
.hint.good { color: var(--good); } .hint.warn { color: var(--warn); } .hint.bad { color: var(--bad); }
#ed-grade-other { margin-top: 8px; }
.money-in { position: relative; }
.money-in span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money-in input { padding-left: 24px; }
.sheet-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.sheet-actions .primary { flex: 1; }

/* ---------- camera (always dark) ---------- */

/* ---------- cash-out page (/s/:token) ---------- */
.cash-hero { margin: 4px 0 16px; padding: 24px 20px 20px; border-radius: 20px; color: #efe9de; background: linear-gradient(180deg, #211f1d 0%, #161513 100%); box-shadow: var(--float); }
.cash-hero .eyebrow { font-size: 13px; color: #aaa398; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cash-hero .eyebrow button { background: rgba(239,233,222,.08); color: #efe9de; border: 1px solid rgba(239,233,222,.1); border-radius: 6px; padding: 2px 8px; font-weight: 500; font-size: 12px; cursor: pointer; font-family: var(--mono); letter-spacing: .02em; }
/* accepted: the card is bind's slab mark on its side, a narrow label piece on the left and the body on the right,
   one purple light running across both. The label swings out and comes back, they click shut with a flash of purple,
   then the words come into focus and the amount counts up; a thin bar starts toward what's next.
   It lifts away at 2.7 s. Never in the way (no clicks) */
.acc-card { --cw: min(380px, calc(100vw - 32px)); --capw: calc(var(--cw) * .22); --gap: calc(var(--cw) * .065); --rad: calc(var(--cw) * .13);
  position: fixed; left: 50%; top: 40%; z-index: 400; display: flex; gap: var(--gap); width: var(--cw); height: calc(var(--cw) * .68); pointer-events: none;
  transform: translate(-50%, -50%); animation: acc-in .45s var(--ease) both, acc-out .45s var(--ease) 2.7s forwards; }
.acc-cap, .acc-body { position: relative; overflow: hidden; isolation: isolate; background: #07060d;
  box-shadow: 0 0 0 1px rgba(167,139,250,.3), 0 24px 64px rgba(0,0,0,.7); }
/* the label: rounded on the outside, square where it meets the body (like the mark) */
.acc-cap { flex: 0 0 var(--capw); border-radius: var(--rad) 3px 3px var(--rad); transform-origin: 100% 50%; animation: acc-swing .95s cubic-bezier(.45, 0, .25, 1) .25s both; }
.acc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px 22px; border-radius: 3px var(--rad) var(--rad) 3px; }
/* the click: both pieces light up at the seam */
.acc-cap::after, .acc-body::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px #c4b5fd, 0 0 22px rgba(167,139,250,.8); opacity: 0; animation: acc-flash .8s ease-out 1.05s both; }
@keyframes acc-swing { 0% { transform: none; } 38% { transform: translateX(-18px) rotate(-7deg); } 72% { transform: translateX(2px) rotate(.6deg); } 86% { transform: translateX(-1px); } 100% { transform: none; } }
@keyframes acc-flash { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }
/* one light across the whole card: each piece shows its own part of it */
.acc-light { position: absolute; top: -25%; bottom: -25%; width: calc(var(--cw) * 1.5); z-index: -2; animation: acc-drift 2.8s var(--ease) both;
  background: radial-gradient(38% 50% at 80% 30%, rgba(237,230,255,.9), transparent 70%), radial-gradient(55% 70% at 88% 62%, rgba(167,139,250,.9), transparent 72%),
    radial-gradient(60% 80% at 104% 104%, rgba(124,58,237,.95), transparent 70%), radial-gradient(45% 55% at 58% 112%, rgba(255,79,122,.32), transparent 70%),
    radial-gradient(40% 60% at 6% 60%, rgba(167,139,250,.55), transparent 70%); filter: blur(8px); }
.acc-cap .acc-light { left: calc(var(--cw) * -.25); }
.acc-body .acc-light { left: calc(var(--cw) * -.25 - var(--capw) - var(--gap)); }
.acc-light::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); opacity: .28; mix-blend-mode: overlay; }
.acc-k, .acc-amt, .acc-next { animation: acc-text .6s var(--ease) 1s both; }
.acc-amt { animation-delay: 1.08s; } .acc-next { animation-delay: 1.16s; }
/* the words come to be: out of a soft blur into focus */
@keyframes acc-text { from { opacity: 0; filter: blur(8px); transform: translateY(3px); } }
.acc-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.72); }
.acc-k i { width: 6px; height: 6px; border-radius: 50%; background: var(--cashout); }
.acc-amt { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(32px, calc(var(--cw) * .11), 42px); line-height: 1.05; letter-spacing: -0.02em; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 18px rgba(12,4,40,.55); }
.acc-next { font-size: 14px; color: rgba(255,255,255,.72); }
.acc-bar { display: block; height: 3px; margin-top: 12px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.acc-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ede6ff, #a78bfa); animation: acc-fill .7s var(--ease) 1.7s forwards; }
@keyframes acc-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } }
@keyframes acc-out { to { opacity: 0; transform: translate(-50%, -56%) scale(.98); } }
@keyframes acc-fill { to { width: 34%; } }
@keyframes acc-drift { from { transform: translateX(6%) scale(1.08); opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
  .acc-card { animation: acc-out .3s linear 2s forwards; }
  .acc-cap, .acc-k, .acc-amt, .acc-next { animation: none; }
  .acc-cap::after, .acc-body::after { display: none; }
  .acc-light { animation: none; }
  .acc-bar i { animation: none; width: 34%; }
}
/* the story bonus as a step after picking how you're paid: an offer card on the gradient, then take it or skip it */
.story-offer { position: relative; display: grid; gap: 6px; margin: 4px 0 16px; padding: 20px; border-radius: 20px; border: 1px solid rgba(167,139,250,.24); background: var(--card); }
.story-offer .so-amt { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 14px rgba(12,4,40,.6); }
.story-offer b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.story-offer .so-sub { max-width: 30em; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.so-skip { margin-top: 10px; }
#hero .so-fine { display: block; width: 100%; max-width: none; margin: 12px 0 0; font-size: 13px; color: var(--faint); text-align: center; }
/* the story card on the gradient (instead of the flat violet box) */
.story-card.gf-host { border-color: rgba(167,139,250,.22); }
.story-card.gf-host .story-ic { background: rgba(8,6,20,.6); }
.story-card.gf-host .chev { color: #fff; text-shadow: 0 1px 8px rgba(12,4,40,.8); }
/* the deal number first, then how many slabs, both on the left */
/* the deal number's tag: the whole tag is bind's purple gradient. As the deal moves on, the light slides from the
   lilac end toward deep violet (Sent the lightest, Paid the deepest). Quiet: under the number at reduced strength */
#hero #copy-ref.ref-tag { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0e0b17;
  border: 1px solid rgba(167, 139, 250, .36); border-left-width: 1px; border-radius: 6px; text-shadow: 0 1px 6px rgba(12, 4, 40, .75); }
#hero #copy-ref.ref-tag::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .62;
  background: linear-gradient(90deg, #ede6ff 0%, #c4b5fd 20%, #a78bfa 45%, #7c3aed 75%, #4c1d95 100%) 0 0 / 250% 100% no-repeat;
  background-position: calc(var(--ref-p, .2) * 100%) 0; transition: background-position .9s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { #hero #copy-ref.ref-tag::before { transition: none; } }
/* the get-paid step: say it's a step (tap one, then what's next); the saved way's button has its handle under it;
   a bank transfer, recommended, sits above a saved PayPal or wire with bind's purple edge */
#hero .pay-saved { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: auto; min-height: 56px; padding: 12px 20px; }
#hero .pay-saved small { font-size: 14px; font-weight: 400; opacity: .7; }
#hero .pay-rec { margin-top: 24px; }
#hero.compact .pay-ways { margin-top: 24px; gap: 12px; }
/* each way's mark: a white tile, like on Rates (the bank and wire drawn, PayPal its own mark in its blue) */
.pay-way .pw-mark { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 32px; border-radius: 8px; background: #fff; color: #111; }
.pay-way .pw-mark svg { margin: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pay-way .pw-mark svg.brand { margin: 0; fill: currentColor; stroke: none; width: 18px; height: 18px; }
.pay-way { gap: 16px; }
#hero .pay-saved.after-rec { margin-top: 12px; }
#hero.compact .pay-other { margin-top: 8px; }
/* the bank and wire forms: their details are locked away */
.po-safe { display: flex; align-items: flex-start; gap: 8px; margin: 16px 4px 20px; font-size: 13px; line-height: 18px; color: var(--muted); }
.po-safe svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: #a78bfa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the quiet links under a step's actions: your slabs and questions, one row, same size and color */
.step-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 24px; margin: 32px 0 0; }
.step-more:empty { display: none; }
.step-more .step-slabs, .step-more .step-help { display: inline-block; margin: 0; padding: 6px 4px; font: inherit; font-size: 14px; line-height: 20px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
@media (hover: hover) { .step-more .step-slabs:hover, .step-more .step-help:hover { color: var(--text); } }
#hero.compact .step-more + .story-card.after, #hero.compact .step-more + .story-note.after { margin-top: 24px; }
/* paid: where to look if the money isn't there yet */
/* the way we recommend (a bank transfer): a small tag by its name */
.rec { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 500; line-height: 16px; font-style: normal; color: #c4b5fd; }
#hero .pay-help { margin: 12px 0 16px; font-size: 14px; color: var(--muted); }
#hero .pay-help a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.cash-hero .eyebrow.ref-first { justify-content: flex-start; }
.cash-hero h1 { font-size: 28px; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.cash-hero .label { margin: 0; color: #aaa398; font-size: 15px; }
.cash-hero .big { font-size: 52px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 4px; font-variant-numeric: tabular-nums; color: var(--money-on-dark); }
.cash-hero p { margin: 8px 0 0; color: #d6d0c4; font-size: 15px; line-height: 1.45; }
/* The deal log: one line per stage with when it happened, like a receipt, not a progress bar. Stages it has
   reached show their time; the one it's on gets the label-strip bar (the cert chip's edge), green once it's paid;
   the next one says what it's waiting on; later ones are just their names. */
.dlog { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dlog li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--line); font-size: 15px; line-height: 20px; color: var(--faint); }
.dlog li:last-child { border-bottom: 0; }
.dlog li b { font-weight: inherit; }
.dlog li > span { min-width: 0; text-align: right; }
.dlog time { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dlog li.done { color: var(--muted); }
.dlog li.now { color: var(--text); font-weight: 500; }
.dlog li.now time { font-weight: 500; }
.dlog li.now::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--text); }
.dlog li.now.paid::before { background: var(--cashout, #4cc38a); }
.dlog li.next > span { color: var(--muted); font-size: 14px; }
/* waiting on bind: the next step's bar breathes, so they can see it's with us and moving. The iPhone app only for now
   (html.app-pulse, set by sell.js and status.js), until Shay has seen it on his phone */
@keyframes bind-wait { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
/* the waiting bar is bind's purple (the gradient's lilac into violet), with a soft glow of it; it breathes by opacity
   only, so it costs nothing to run */
html.app-pulse { --wait-light: linear-gradient(180deg, #ede6ff 0%, #c4b5fd 30%, #a78bfa 60%, #7c3aed 100%); }
html.app-pulse .dlog li.next.wait::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--wait-light);
  box-shadow: 0 0 10px rgba(167, 139, 250, .55); animation: bind-wait 1.6s ease-in-out infinite; }
html.app-pulse .pv-track li.now.wait { position: relative; border-top-color: transparent; }
html.app-pulse .pv-track li.now.wait::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #ede6ff 0%, #c4b5fd 30%, #a78bfa 60%, #7c3aed 100%); box-shadow: 0 0 10px rgba(167, 139, 250, .55); animation: bind-wait 1.6s ease-in-out infinite; }
html.app-pulse .lr-bot .dot.wait { background: radial-gradient(circle at 35% 35%, #ede6ff, #a78bfa 55%, #7c3aed); box-shadow: 0 0 8px rgba(167, 139, 250, .6); animation: bind-wait 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dlog li.next.wait::before, .lr-bot .dot.wait, .pv-track li.now.wait::before { animation: none; opacity: .8; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.choice button { background: #fdfcfa; color: #1f1b16; border: 0; border-radius: 12px; padding: 16px 12px; font: inherit; font-weight: 500; font-size: 16px; cursor: pointer; text-align: left; transition: transform .14s var(--ease); }
.choice button:active { transform: scale(.97); }
.choice button span { display: block; font-size: 12px; font-weight: 400; color: #5e554a; margin-top: 4px; }

.offer-list { display: grid; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; }
.offer-list > * { min-width: 0; }
.o-row { display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; position: relative; background: none; border: 0; width: 100%; text-align: left; font: inherit; color: var(--text); }
.o-row + .o-row::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; border-top: 1px solid var(--sep); }
.o-row img, .o-row .ph { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--card-2); flex: none; display: grid; place-items: center; }
.o-row .ph svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.o-row .info { flex: 1; min-width: 0; }
.o-row .l1 { font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.o-row .l2 { color: var(--muted); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-row .amt { font-weight: 500; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--money); }
.o-row.pick { cursor: pointer; }
.o-row .tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; display: grid; place-items: center; transition: background-color .14s var(--ease), border-color .14s var(--ease); }
.o-row .tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.5; opacity: 0; }
.o-row.on .tick { background: var(--money); border-color: var(--money); }
.o-row.on .tick svg { opacity: 1; }
.o-row.off .amt, .o-row.off .info { opacity: .45; }
.o-row.off .amt { text-decoration: line-through; color: var(--muted); }

section.panel { margin-bottom: 16px; padding: 20px; border-radius: 16px; box-shadow: var(--shadow); background: var(--card); border: 0; }
section.panel > h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.chat { display: grid; gap: 8px; margin-bottom: 16px; max-height: 420px; overflow-y: auto; padding: 2px; }
.chat > * { min-width: 0; }
.chat-empty { color: var(--muted); font-size: 14px; padding: 16px; background: var(--card-2); border-radius: 12px; margin: 0; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 16px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.msg time { display: block; font-size: 11px; margin-top: 4px; opacity: .6; }
.msg .msg-pic { display: block; width: 160px; max-width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-top: 4px; } /* a photo they texted us */
.msg.me { justify-self: end; background: var(--ink); color: #efe9de; border-bottom-right-radius: 4px; }
.msg.them { justify-self: start; background: var(--card-2); color: var(--text); border-bottom-left-radius: 4px; }
.msg .who { display: block; font-size: 12px; font-weight: 500; opacity: .7; margin-bottom: 2px; }
.composer { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { min-height: 44px; max-height: 140px; resize: none; }
.composer .btn { min-height: 44px; flex: none; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.quick button { font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; line-height: 20px; }
.decline { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 4px 8px; }
.missing { text-align: center; padding: 120px 20px; }
.missing .btn { margin-top: 16px; text-decoration: none; }
.pop { animation: rise .4s var(--ease); }
@keyframes rise { from { transform: translateY(8px); opacity: .6; } }

@media (prefers-reduced-motion: reduce) {
  .pop { animation: none; }
  .btn, .way, .dseg button, .o-row .tick { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .top, .bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .list, .sheet-wrap, .offer-list, .way { border: 1px solid var(--text); }
}

/* ======================================================================
   Dark layer: wide Archivo display type, white pills, hairline tiles
   ====================================================================== */
body.seller { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.app { background: var(--bg); }
@media (min-width: 600px) {
  body.seller { background: #050505; }
  .app { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.8); }
}
.display, .large-title, .cash-hero h1, .sheet-head h2, .section-title, section.panel > h2 {
  font-family: var(--display); font-stretch: 125%; font-weight: 600; letter-spacing: -0.015em;
}
.large-title { font-size: 30px; line-height: 1.05; }
.large-title .count { font-family: var(--sans); font-size: 20px; color: var(--faint); }
.section-title { font-size: 19px; }
.sheet-head h2 { font-size: 19px; }
section.panel > h2 { font-size: 17px; }
.brand { font-family: var(--display); font-stretch: 125%; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* buttons: white pill primary, hairline pill secondary */
.btn { border-radius: 999px; }
.btn.primary { background: #fff; border-color: #fff; color: #000; box-shadow: none; }
.btn.primary:hover { background: #e9e9e9; opacity: 1; }
.btn:not(.primary):not(.danger) { background: transparent; border: 1px solid rgba(255,255,255,.18); color: var(--text); }
.btn.danger { background: transparent; border: 1px solid rgba(229,72,77,.35); }
.top-btn { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.avatar { background: #fff; color: #000; }
.bar { border-top: 1px solid rgba(255,255,255,.06); }
.back { color: var(--text); }

/* tiles and lists: near-black with a faint top light and a hairline */
.list, .sheet-wrap, .offer-list, section.panel, .way {
  background: linear-gradient(180deg, #121214 0%, #0b0b0c 100%); border: 1px solid var(--line); box-shadow: none;
}
.list .row + .row::before { border-top-color: var(--sep); }
.sheet .list { background: #0b0b0c; }
.dseg { background: #141416; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.dseg button { border-radius: 999px; }
.dseg button.on, .dseg button[aria-checked="true"] { background: #fff; color: #000; box-shadow: none; }
.pill { border-radius: 999px; padding: 4px 10px; background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--muted); }
.pill.go, .pill.paid { background: rgba(76,195,138,.1); border-color: rgba(76,195,138,.3); color: var(--money); }
.toast { background: #161618; border: 1px solid var(--line); }
.icon-btn { background: #18181a; color: var(--muted); }
.sheet { background: #0b0b0c; border: 1px solid var(--line); border-bottom: 0; }
@media (min-width: 600px) { .sheet { border-bottom: 1px solid var(--line); } }
.grabber { background: #fff; opacity: .2; }
input, select, textarea { background: #121214; border-color: var(--line); color: var(--text); }
.xl th { background: #0b0b0c; color: var(--muted); border-bottom: 1px solid var(--line); }
.xl th + th { border-left-color: var(--sep); }
.xl .n, .xl th.n { background: #0b0b0c; }
.xl tfoot td { background: #0b0b0c; }
.cert { background: #0b0b0c; border-color: rgba(255,255,255,.12); border-left-color: #f5f5f4; }

/* home: hero */
.tag-pill { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.float { position: absolute; z-index: 2; background: rgba(24,24,26,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #f5f5f4; box-shadow: 0 16px 32px rgba(0,0,0,.6); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.stats div { padding: 4px 4px 0; }
.stats b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 26px; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.stats span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* signed-in home */

/* add slabs */
.way:first-child { background: #fff; color: #000; border-color: #fff; }
.way:first-child span { opacity: .6; }
.text-link { text-decoration-color: rgba(255,255,255,.3); }

/* cash-out page */
.cash-hero { background: radial-gradient(120% 70% at 20% 0%, #1a1a1c 0%, #000 65%); border: 1px solid var(--line); box-shadow: none; }
.cash-hero h1 { font-size: 26px; line-height: 1.08; color: #fff; }
.cash-hero .big { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 48px; letter-spacing: -0.03em; color: #fff; }
.cash-hero .label { color: #a3a3a3; }
.cash-hero .label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--money); margin-right: 8px; vertical-align: 2px; }
.choice button { border-radius: 16px; }
.msg.me { background: #fff; color: #000; }
.msg.them { background: #18181a; }
.quick button { border-radius: 999px; background: transparent; border-color: rgba(255,255,255,.16); }
.o-row .amt { color: var(--text); }
.o-row.on .amt { color: var(--money); }

/* what we buy */
.buy { margin-bottom: 16px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.buy-row span { font-size: 13px; color: #d4d4d4; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 4px 12px; }
.buy .foot-note { margin: 4px 4px 0; }

/* bank sheet */
.bank-list .row > span:first-child { width: 72px; }
.bank-list input.mono { font-family: var(--mono); letter-spacing: .04em; }

/* ======================================================================
   Glow: lavender light, used as atmosphere only. It sits behind things
   (screen tops, the hero slab, the offer total), never on text, the logo
   or as a button fill. Static, no pulsing. Green still means money.
   ====================================================================== */
:root { --glow: 167,139,250; --glow-soft: 196,181,253; }
/* (the lavender light at the top of every screen is gone: plain black tops) */
.top { background: rgba(0,0,0,.55); }

/* home hero: the slab sits in lavender light */
.float { border-color: rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.6); }

:focus-visible { outline-color: rgb(var(--glow-soft)); }

/* the deal card: a plain raised surface; the amount carries it */
.cash-hero { background: #0b0b0c; border-color: var(--line); box-shadow: none; }

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .screen::before { display: none; }
}

/* ======================================================================
   Green only when someone is cashing out: the Accept button, "Save and
   accept", and the Paid confirmation. Everything else is white or lavender.
   ====================================================================== */
:root { --money: #f5f5f4; --money-on-dark: #ffffff; --cashout: #4cc38a; --cashout-ink: #04140b; }
.o-row.on .tick { background: #fff; border-color: #fff; }
.o-row.on .tick svg { stroke: #000; }
.o-row.on .amt { color: #fff; }
.pill.go, .pill.paid { background: transparent; border-color: rgba(255,255,255,.22); color: #f5f5f4; }
.cash-hero .label::before { background: rgb(var(--glow)); }
.xl .auto { color: var(--faint); }

/* the cash-out moment */
.btn.cashout-btn, .bar .btn.cashout-btn:not(:disabled) { background: var(--cashout); border-color: var(--cashout); color: var(--cashout-ink); box-shadow: none; }
.btn.cashout-btn:hover { background: #5fd29a; }
.cash-hero.is-paid .label::before { background: var(--cashout); }
.cash-hero.is-paid .big { color: var(--cashout); }

/* camera: a read cert is good news, but not money; lavender */

/* bind logo in headers: the tight lockup, sized to the bar */
.brand .logo, h1 .logo { display: block; height: 20px; width: auto; }

/* card name + grade, filled from the cert (read-only) */
.auto-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.16); color: var(--muted); font-size: 14px; }
.auto-info .spinner { --h: 14px; }
.auto-info.found { border-style: solid; border-color: rgba(var(--glow-soft),.22); background: rgba(var(--glow),.06); color: var(--text); display: grid; gap: 2px; }
.auto-info.found b { font-weight: 600; font-size: 16px; }
.auto-info.found span { font-size: 14px; color: #d4d4d4; }
.auto-info.found small { font-size: 12px; color: var(--muted); }
.xl small.reading { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.xl small.reading .spinner { --h: 11px; }

/* balance */
.withdraw-btn { margin-top: 12px; }
.wd-amount input { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; height: 64px; padding-left: 32px; font-variant-numeric: tabular-nums; }
.wd-amount span { font-size: 22px; left: 14px; }
.balance-link { margin-top: 16px; }

/* ---------- signed-in dashboard ---------- */
/* The balance is drawn as a graded slab: clear case, printed label strip, the money in the card window. */
.dash { padding-top: 8px; }
.bal-slab { padding: 8px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, #19191b, #0c0c0d); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px rgba(0,0,0,.5); }
.bal-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 12px; border-radius: 12px; background: #ecebf2; color: #111113; font-size: 13px; font-weight: 600; }
.bal-label > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.bal-label img { display: block; height: 14px; width: auto; }
.bal-label .mono { font-size: 12px; font-weight: 500; color: #4a4a52; white-space: nowrap; }
.bal-window { margin-top: 8px; padding: 20px 20px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(90% 80% at 0% 0%, rgba(var(--glow),.16) 0%, rgba(var(--glow),0) 70%), #050506; }
.bal-window small { display: block; font-size: 13px; color: var(--muted); }
.bal-window strong { display: block; margin: 4px 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.bal-window .bal-sub { display: block; font-size: 14px; color: var(--muted); }
.bal-window .btn { margin-top: 16px; }

.live { display: grid; gap: 8px; }
.live-row { display: block; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.live-row:active { background: var(--card-2); }
.live-row.yours { border-color: rgba(var(--glow-soft),.4); }
.lr-top { display: flex; align-items: baseline; gap: 8px; }
.lr-top b { font-weight: 500; font-size: 16px; }
.lr-top .mono { font-size: 12px; color: var(--faint); }
.lr-top strong { margin-left: auto; font-family: var(--display); font-stretch: 112.5%; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
/* a deal's stage in a list row: its name and when, in words (no bar) */
.lr-stage { margin: 8px 0 12px; font-size: 13px; color: var(--muted); }
.lr-stage time { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--faint); }
.lr-bot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.live-row.yours .lr-bot { color: var(--text); font-weight: 500; }
.lr-bot .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--glow)); margin-right: 8px; vertical-align: middle; }

.act-row { padding: 12px 16px !important; }
.act-row > div { flex: 1; min-width: 0; }
.act-row b { display: block; font-weight: 500; font-size: 15px; }
.act-row b .mono { font-size: 13px; font-weight: 500; }
.act-row div > span { display: block; font-size: 13px; color: var(--muted); }
.act-row .amt, .past-row .amt { flex: none; font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; color: var(--muted); }
.act-row .amt.in, .past-row .amt { color: var(--text); }
.past-row .amt.muted { color: var(--muted); font-weight: 400; }
.act-row.void .amt { text-decoration: line-through; }
.act-row.void b { color: var(--muted); }

/* ---------- tab bar ---------- */
/* Four roots along the bottom, like an iPhone app. Page actions (Get my offer, Cash out slabs) sit above it. */
:root { --tabbar: 56px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom);
  background: rgba(0,0,0,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(255,255,255,.08); }
.tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: none; border: 0; padding: 0; color: var(--faint); font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: color .15s var(--ease), transform .1s var(--ease); }
.tabbar button:active { transform: scale(.94); }
.tabbar button.on { color: var(--text); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabbar span { font-size: 11px; font-weight: 500; line-height: 1; }
.tabbar .tab-dot { position: absolute; top: 8px; left: calc(50% + 10px); width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--glow)); box-shadow: 0 0 0 2px #000; }
.has-tabs .bar { bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: 12px; }
.has-tabs .scroll { padding-bottom: calc(176px + env(safe-area-inset-bottom)); }
.tab-empty { padding: 8px 0 0; }
.tab-empty p { margin: 0 0 24px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.section-title.first { margin-top: 8px; }
@media (prefers-reduced-transparency: reduce) { .tabbar { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Home: the selling hero ---------- */
/* The moment is the slab being read: the label locked in lavender, and what the cert told us beside it. */
.sell-hero { position: relative; margin: 4px 0 12px; padding: 24px 20px 20px; border-radius: 20px; border: 1px solid rgba(var(--glow-soft),.12);
  background: radial-gradient(120% 70% at 20% 0%, #1a1a1c 0%, #000 60%); box-shadow: inset 0 1px 0 rgba(var(--glow-soft),.18); overflow: hidden; }
.sell-hero h1 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 31px; line-height: 1.04; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.sell-hero .sub { margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.sh-stage { position: relative; height: 248px; margin: 20px -20px 0;
  background: radial-gradient(60% 70% at 50% 45%, rgba(var(--glow),.22) 0%, rgba(var(--glow),0) 70%); }
.sh-slab { position: absolute; left: 50%; top: 8px; width: 140px; transform: translateX(-62%) rotate(-4deg); }
.sh-slab img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: -24px 32px 48px rgba(0,0,0,.6); }
.sh-lock { position: absolute; left: -6px; right: -6px; top: -6px; height: 24%; border-radius: 10px; border: 2px solid rgb(var(--glow)); box-shadow: 0 0 0 4px rgba(var(--glow),.18); }
.sh-read { right: 16px; top: 112px; padding: 12px 16px; min-width: 168px; }
.sh-read small { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #d4d4d4; font-family: var(--mono); }
.sh-read small i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--glow)); }
.sh-read b { display: block; margin: 4px 0 2px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.sh-read span { display: block; font-size: 12px; color: var(--muted); max-width: 160px; }
.sh-actions { display: grid; gap: 8px; margin-top: 4px; }
.sh-actions button { font: inherit; color: var(--text); cursor: pointer; text-align: left; border-radius: 14px; -webkit-tap-highlight-color: transparent; transition: transform .1s var(--ease), background-color .15s var(--ease); }
.sh-actions button:active { transform: scale(.98); }
.sh-actions svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sh-scan { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 0; background: #fff; color: #000 !important; }
.sh-scan b { display: block; font-size: 17px; font-weight: 600; }
.sh-scan small { display: block; font-size: 13px; color: #52525b; }
.sh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-two button { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); background: var(--card); }
.sh-two button svg { margin-bottom: 8px; color: var(--muted); }
.sh-two b { font-size: 15px; font-weight: 500; }
.sh-two small { font-size: 12px; color: var(--muted); }
.home-card { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; }
.home-card > div { flex: 1; min-width: 0; }
.home-card b { display: block; font-weight: 500; }
.home-card span:not(.chev) { display: block; font-size: 13px; color: var(--muted); }
.home-card.yours { border-color: rgba(var(--glow-soft),.4); }
.home-card.yours b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: rgb(var(--glow)); vertical-align: middle; }
#wal-in { padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .sh-actions button:active { transform: none; } }

/* ---------- Home on a computer (signed in): the sheet, not the camera ---------- */
.desk { margin: 4px 0 12px; padding: 40px 24px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); display: grid; justify-items: center; text-align: center; }
.desk-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--card-2); margin-bottom: 20px; }
.desk-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.desk h1, .desk .desk-h { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.desk p { margin: 12px 0 24px; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.desk .btn { min-width: 240px; }
.desk-alt { margin-top: 16px; display: grid; gap: 4px; justify-items: center; }
.desk-alt .text-link { margin: 0; }
.desk-alt span { font-size: 13px; color: var(--faint); }

/* ---------- Home camera (signed in) ---------- */
.vf { position: relative; height: min(64dvh, 560px); min-height: 360px; margin: 4px 0 12px; border-radius: 24px; overflow: hidden; background: #0b0b0c; border: 1px solid rgba(255,255,255,.1); }
.vf video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s var(--ease); cursor: pointer; }
.vf.live video { opacity: 1; }
.vf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 132px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72)); pointer-events: none; }
.vf-box { position: absolute; left: 12%; right: 12%; top: 14%; height: 18%; border-radius: 12px; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 0 9999px rgba(0,0,0,.28); pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.vf.live .vf-box { opacity: 1; }
.vf-box em { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 500; white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: rgba(var(--glow),.9); color: #fff; }
.vf-off { position: absolute; inset: 0 0 112px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
.vf.live .vf-off { display: none; }
.vf-off svg { width: 32px; height: 32px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.vf-off b { font-size: 17px; font-weight: 600; }
.vf-off span { font-size: 14px; color: var(--muted); max-width: 260px; line-height: 1.4; }
.vf-off .btn { margin-top: 12px; min-height: 44px; padding: 0 20px; }
.vf-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px 20px; }
.vf-side { justify-self: center; display: grid; justify-items: center; gap: 4px; background: none; border: 0; color: #fff; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vf-side svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vf-side span { font-size: 12px; font-weight: 500; }
.vf-side:active svg { background: rgba(255,255,255,.24); }
.vf-shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: none; padding: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vf-shutter i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .1s var(--ease); }
.vf-shutter:active i { transform: scale(.9); }
.sheet-card { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.sheet-card svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home onboarding (signed out) ---------- */
.how { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.how li { position: relative; display: flex; gap: 16px; padding: 12px 0; }
.how li + li::before { content: ""; position: absolute; left: 15px; top: -16px; height: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.how-n { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--glow-soft),.4); color: #fff; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.how b { display: block; font-weight: 600; font-size: 16px; margin-top: 4px; }
.how div span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.how-cta { margin: 24px 0 8px; }

/* ---------- Deals: money tracker ---------- */
.tr-bar { display: flex; gap: 2px; height: 8px; margin: 16px 0 12px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.08); }
.tr-bar i { display: block; min-width: 4px; flex-basis: 0; }

/* ---------- Deals filter ---------- */
.deal-filter { margin: 0 0 4px; background: var(--card); border: 1px solid var(--line); }
.deal-filter button { font-size: 14px; padding: 8px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.deal-filter button span { font-size: 12px; font-variant-numeric: tabular-nums; color: inherit; opacity: .7; }
.deal-filter button.on { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
#deal-list > .live:first-child, #deal-list > .list:first-child { margin-top: 12px; }

/* ---------- Wallet: your funds ---------- */
.funds { margin: 12px 0 0; padding: 16px 20px 8px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.funds h2 { margin: 0; font-size: 15px; font-weight: 600; }
.funds .tr-bar { margin: 12px 0 4px; }
.tr-bar .incoming, .fund-rows .incoming i { background: rgba(255,255,255,.32); }
.tr-bar .ready, .fund-rows .ready i { background: #fff; }
.tr-bar .leaving, .fund-rows .leaving i { background: rgb(var(--glow)); }
.fund-rows .out i { background: transparent; border: 1px solid rgba(255,255,255,.32); }
.fund-rows { list-style: none; margin: 0; padding: 0; }
.fund-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.fund-rows li + li { border-top: 1px solid var(--sep); }
.fund-rows i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.fund-rows div { flex: 1; min-width: 0; }
.fund-rows span { display: block; font-size: 15px; font-weight: 500; }
.fund-rows small { display: block; font-size: 13px; color: var(--muted); }
.fund-rows b { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; }
.fund-rows li.empty span, .fund-rows li.empty b { color: var(--muted); font-weight: 400; }
.fund-rows li.ready:not(.empty) b { font-weight: 600; }

/* ---------- signed out, installed app: a short welcome ---------- */
.welcome { min-height: calc(100dvh - 300px); display: grid; align-content: center; justify-items: center; text-align: center; padding: 24px 8px; }
.welcome img { border-radius: 16px; margin-bottom: 24px; }
.welcome h1 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.welcome p { margin: 12px 0 32px; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 300px; }
.welcome .btn { width: 100%; }
.welcome .welcome-in { margin-top: 8px; background: var(--card-2); color: var(--text); border: 1px solid var(--line); }
/* website: get the app */
.get-app { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.get-app img { border-radius: 12px; flex: none; }
.get-app div { flex: 1; min-width: 0; }
.get-app b { display: block; font-weight: 500; }
.get-app span { display: block; font-size: 13px; color: var(--muted); }
/* payout sheet */
.po-methods { margin: 0 0 16px; }
.po-methods button { flex: 1 1 calc(33% - 4px); }
.po-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--card-2); color: var(--muted); font-size: 15px; }
#po-fields .field { margin-bottom: 16px; }
#po-fields .bank-list { margin-bottom: 8px; }
/* wire: where the bank is, above its details */
#po-fields .po-country { margin-bottom: 12px; }
.bank-list[data-c="CA"] .row > span:first-child { width: 88px; }
.bank-list .row select { color: var(--text); font: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; }

/* deal page: how do you want to get paid */
.choice.pay { grid-template-columns: repeat(3, 1fr); }
/* same-height cards, text from the top: a 2-line way sits level with the 3-line ones next to it */
.choice.pay button { display: flex; flex-direction: column; justify-content: flex-start; }
.choice.pay button.on { box-shadow: inset 0 0 0 2px rgb(var(--glow)); }
.pay-change { display: block; margin: 12px 0 0; font-size: 14px; }
.app-hint { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
#join .list { margin-bottom: 16px; }

/* ---------- deal page, in person: a receipt and one button ---------- */
.in-person #chat-panel, .in-person #cards-title { display: none; }
.in-person .cash-hero { background: var(--card); border: 1px solid var(--line); box-shadow: none; padding: 20px; }
.in-person .cash-hero::before, .in-person .cash-hero::after { display: none; }
.ip-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.in-person .cash-hero .big { margin: 8px 0 4px; }
.ip-sub { margin: 0; font-size: 15px; color: var(--muted); }
.in-person .cash-hero .balance-link { margin-top: 20px; }
.in-person .cash-hero.is-paid { background: var(--card); }
.in-person .offer-list { margin-top: 12px; }
.in-person .o-row .amt { font-variant-numeric: tabular-nums; }
.r-skip { font-size: 13px; color: var(--faint); white-space: nowrap; }
.r-total { display: flex; align-items: baseline; justify-content: space-between; padding: 16px; border-top: 1px dashed rgba(255,255,255,.16); font-size: 15px; color: var(--muted); }
.r-total b { font-family: var(--display); font-stretch: 112.5%; font-weight: 600; font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.in-person .bar .decline { color: var(--muted); }
/* at a show: #cards holds the account form, or the receipt and what's next, each with its own surface */
.in-person .offer-list { display: block; background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
.ip-receipt { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ip-receipt > * { min-width: 0; }
/* the deal number wears the same grading-label strip as the certs */
.in-person #copy-ref.cert { cursor: pointer; }
/* the account form: a quiet label, rows that step up while you type in them */
.ip-join .ip-ask { margin: 24px 4px 8px; font-size: 14px; color: var(--muted); }
.ip-join .list .row > span:first-child { width: 88px; }
.ip-join .list .row { transition: background-color .16s var(--ease); }
.ip-join .list .row:focus-within { background: var(--card-2); }
.ip-join .list .row input:focus, .ip-join .list .row input:focus-visible { outline: none; border: 0; box-shadow: none; background: transparent; }
.ip-join .err { margin: 12px 4px 0; }
.ip-join .ip-switch { margin-top: 16px; }
/* the slabs under the form: one line, opens into the receipt */
.ip-fold { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; margin-top: 24px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .16s var(--ease); }
.ip-fold:active { background: var(--card); }
.ip-fold .ip-fold-do { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.ip-fold[aria-expanded="true"] { margin-bottom: 8px; }
/* a slab with no photo, drawn: the grading label on top, the card window under it */
.o-row .ip-slab { position: relative; flex: none; width: 40px; height: 56px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); }
.o-row .ip-slab::before { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 12px; border-radius: 2px; background: rgba(255,255,255,.12); }
.o-row .ip-slab i { position: absolute; left: 6px; right: 6px; top: 20px; bottom: 6px; border-radius: 2px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
/* paid: a check, what they got, the deal number. The check is the one green */
.ip-check { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(76,195,138,.14); color: var(--good); }
.ip-check svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.in-person .cash-hero.is-paid .big { color: var(--text); }
.ip-head { margin: 16px 0 0; font-size: 17px; font-weight: 500; color: var(--text); }
.ip-ref { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ip-label { margin: 24px 4px 8px; font-size: 14px; color: var(--muted); }
/* the rest of bind, for next time */
.ip-next { margin-top: 32px; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ip-next h2 { margin: 0; font-family: var(--display); font-stretch: 112.5%; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.ip-next p { margin: 8px 0 20px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.ip-next .text-link.center { width: fit-content; margin: 12px auto 0; }
@media (prefers-reduced-motion: no-preference) {
  .ip-done .ip-check { animation: ip-pop .32s cubic-bezier(.22,1,.36,1) both; }
  @keyframes ip-pop { from { transform: scale(.8); opacity: 0; } }
}

/* Home camera: what it's doing, and the box turning lavender once the cert is read */
.vf-status { position: absolute; z-index: 2; left: 50%; top: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s var(--ease), background-color .2s var(--ease); pointer-events: none; }
.vf.live .vf-status { opacity: 1; }
.vf.locked .vf-status { background: rgba(88,64,170,.92); }
.vf.locked .vf-box { border-color: rgb(var(--glow)); }
.vf.locked .vf-shutter i { transform: scale(.84); transition: transform .6s var(--ease); }

/* add your sheet: the link first, a file second */
.link-form { display: flex; gap: 8px; margin: 0 0 12px; }
.link-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.link-form .btn { height: 48px; padding: 0 20px; flex: none; }
.share-hint { display: grid; gap: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #0b0b0c; font-size: 13px; color: var(--muted); line-height: 1.45; transition: border-color .2s var(--ease); }
.share-hint b { color: var(--text); font-weight: 500; }
.share-hint.warn { border-color: rgba(var(--glow), .6); }
.share-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 12px 4px 8px; border-radius: 999px; background: #1a2b1f; color: #8fdcae; font-size: 13px; font-weight: 500; }
.share-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; color: var(--faint); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.drop.drop-small { padding: 16px; }

/* ======================================================================
   The offer as a sheet: one row per slab, our price on each.
   Sideways scroll on a phone; on a computer the page widens to fit it.
   ====================================================================== */
#cards.as-sheet { display: block; background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
.ost-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #0b0b0c; }
table.ost { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.ost th { position: sticky; top: 0; padding: 8px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: #0b0b0c; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ost td { padding: 8px; height: 52px; border-bottom: 1px solid var(--sep); vertical-align: middle; white-space: nowrap; }
.ost tbody tr:last-child td { border-bottom: 0; }
.ost .r { text-align: right; font-variant-numeric: tabular-nums; }
.ost .c-pick { width: 40px; padding: 0 0 0 12px; }
.ost .c-n { width: 28px; color: var(--faint); font: 500 12px var(--mono); }
.ost .c-img { width: 40px; padding: 4px; }
.ost .c-img img, .ost .c-img .ph { display: grid; place-items: center; width: 30px; height: 42px; border-radius: 4px; object-fit: cover; background: var(--card-2); }
.ost .c-img .ph svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.ost .c-card { width: 40%; min-width: 170px; max-width: 360px; white-space: normal; }
.ost .c-card div { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.ost .c-grade { color: var(--muted); }
.ost .c-offer { width: 88px; }
.ost .c-offer .amt { font-weight: 600; font-size: 15px; color: var(--text); }
.ost .c-offer .st { font-size: 12px; color: var(--faint); }
.ost .c-ask { width: 84px; color: var(--muted); }
.ost td.c-cert { font: 500 12px var(--mono); color: var(--muted); }
.ost .c-comps a { font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.ost tr.pick { cursor: pointer; }
.ost tr.pick:focus-visible { outline: 2px solid rgb(var(--glow-soft)); outline-offset: -2px; }
.ost tr.off td:not(.c-pick):not(.c-comps) { opacity: .45; }
.ost tr.off .amt { text-decoration: line-through; }
.ost tr.out td:not(.c-comps) { opacity: .45; }
.ost .tick, .ost .pick-all .tick { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--faint); display: grid; place-items: center; transition: background-color .12s var(--ease), border-color .12s var(--ease); }
.ost .tick svg { width: 12px; height: 12px; fill: none; stroke: #000; stroke-width: 2.5; opacity: 0; }
.ost tr.on .tick, .ost .pick-all.on .tick { background: #fff; border-color: #fff; }
.ost tr.on .tick svg, .ost .pick-all.on .tick svg { opacity: 1; }
.ost .pick-all { padding: 0; border: 0; background: none; cursor: pointer; display: grid; }
.ost tfoot td { height: 44px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 0; background: #0d0d0e; }
.ost tfoot b { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .ost tr.pick:hover td { background: rgba(255,255,255,.02); } }
@media (prefers-reduced-motion: reduce) { .ost .tick { transition: none; } }

/* the offer total: a line, not the headline */
.hero-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: #a3a3a3; }
.hero-sum b { font-size: 20px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* on a computer, a deal page widens so the whole sheet fits */
@media (min-width: 900px) {
  body.wide-sheet .app { max-width: 1040px; border-radius: 24px; }
  body.wide-sheet .bar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 12px 24px 16px; }
  body.wide-sheet .bar .btn.block { width: auto; min-width: 280px; padding: 0 32px; order: 2; }
  body.wide-sheet .bar .decline { order: 1; margin: 0; }
  body.wide-sheet .bar .err { order: 0; margin: 0 auto 0 0; }
  body.wide-sheet .scroll { padding-left: 24px; padding-right: 24px; }
  body.wide-sheet #chat-panel { max-width: 720px; }
  body.wide-sheet .cash-hero > p, body.wide-sheet .cash-hero h1 { max-width: 640px; }
}
/* on a phone: card, grade and our offer fit without scrolling; their price, cert and sales are a swipe away */
@media (max-width: 599px) {
  .ost .c-n, .ost .c-img { display: none; }
  /* fixed widths: card + grade + our offer always fill the first screen */
  table.ost { table-layout: fixed; width: auto; min-width: 0; }
  .ost th.c-pick { width: 34px; padding-left: 10px; }
  .ost th.c-card { width: 160px; min-width: 0; }
  .ost th.c-grade { width: 68px; }
  .ost th.c-offer { width: 84px; }
  .ost th.c-pct { width: 76px; }
  .ost th.c-ask { width: 84px; }
  .ost th.c-cert { width: 104px; }
  .ost th.c-comps { width: 124px; }
  .ost td { overflow: hidden; text-overflow: ellipsis; }
}

/* share of market: quiet, next to the offer */
.ost .c-pct { width: 80px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* on a phone the share of market sits under each offer instead of in its own column */
.ost .pct-sub { display: none; }
@media (max-width: 599px) {
  .ost .c-pct { display: none; }
  .ost .pct-sub { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--muted); }
}

/* ---------- signed-out home: key parts of the website, phone-sized ---------- */
.m-proof { margin: 8px 0 8px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.m-proof strong { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.m-proof span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.m-lead { margin: 0 4px 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.m-pick { margin: 0 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.m-pick-head { display: flex; align-items: baseline; justify-content: space-between; padding: 16px; font-size: 14px; color: var(--muted); }
.m-pick-head strong { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-pk { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .12s var(--ease); }
.m-pk:active { transform: scale(.98); }
.m-pk-i { flex: 1; min-width: 0; }
.m-pk-i b { display: block; font-size: 15px; font-weight: 500; }
.m-pk-i small { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-pk em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.m-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.m-pk.on .m-tick { background: #fff; border-color: #fff; }
.m-pk.on .m-tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-1px) rotate(-45deg); }
.m-pk:not(.on) .m-pk-i { opacity: .4; }
.m-pk:not(.on) em { color: var(--faint); text-decoration: line-through; }
.m-pk-accept { margin: 4px 16px 16px; height: 48px; display: grid; place-items: center; border-radius: 999px; background: var(--cashout); color: var(--cashout-ink); font-weight: 600; font-size: 15px; transition: opacity .2s var(--ease); }
.m-pk-accept.off { opacity: .35; }
.m-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.m-pay div { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.m-pay b { display: block; font-size: 15px; font-weight: 500; }
.m-pay div:last-child:nth-child(odd) { grid-column: 1 / -1; } /* one way (or an odd count): the last tile spans the row */
.m-pay span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.m-pay .soon { opacity: .5; }

/* sign-in sheet: Continue with Google */
.g-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; background: var(--card-2); color: var(--text); border: 1px solid rgba(255,255,255,.14); text-decoration: none; font-weight: 500; }
.g-btn svg { width: 18px; height: 18px; flex: none; }
.g-btn:not(.hidden) + .g-btn { margin-top: 8px; }
#auth .a-btn { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
#auth .a-btn svg { margin-top: -2px; }
.auth-fine { display: grid; gap: 10px; margin: 16px 0 0; font-size: 13px; line-height: 1.45; color: var(--faint); text-align: center; text-wrap: balance; }
.auth-fine button { padding: 4px; border: 0; background: none; font: inherit; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; cursor: pointer; }
#auth-done b { color: var(--text); font-weight: 500; }
#auth-back { display: block; margin: 12px auto 0; }
.auth-fine a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }

/* signed-out home hero: real slabs fanned out, with what we'd pay for the front one */
.sh-fan { height: 260px; }
.sh-fan .fan { position: absolute; left: 50%; top: 28px; width: 108px; height: auto; border-radius: 6px; box-shadow: 0 24px 40px rgba(0,0,0,.6); }
.sh-fan .fan.l { transform: translateX(-118%) rotate(-9deg); filter: brightness(.72); }
.sh-fan .fan.r { transform: translateX(18%) rotate(9deg); filter: brightness(.72); }
.sh-fan .fan.c { top: 12px; width: 124px; transform: translateX(-50%); z-index: 1; }
.sh-price { right: 16px; bottom: 12px; padding: 10px 14px; min-width: 150px; }
.sh-price small { display: block; font-size: 12px; color: var(--muted); }
.sh-price b { display: block; margin: 2px 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
.sh-price span { display: block; font-size: 12px; color: var(--muted); }

/* the offer demo rows: the slab's photo, its name, our price and the share of market */
.m-pk img { width: 30px; height: 50px; flex: none; border-radius: 3px; object-fit: cover; transition: opacity .15s var(--ease); }
.m-pk:not(.on) img { opacity: .4; }
.m-pk-i b { font-weight: 600; }
.m-pk-p { display: grid; justify-items: end; flex: none; }
.m-pk-p small { font-size: 11px; color: var(--muted); }

/* the offer demo: a tap pops the tick, the price strikes through smoothly, the total counts to its new value */
.m-tick { transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.m-tick.pop { animation: tick-pop .32s var(--ease); }
@keyframes tick-pop { 0% { transform: scale(1); } 40% { transform: scale(.78); } 100% { transform: scale(1); } }
.m-pk em { transition: color .2s var(--ease); }
.m-pk-i { transition: opacity .2s var(--ease); }
#m-pick-total { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .m-tick.pop { animation: none; } .m-tick, .m-pk em, .m-pk-i, #m-pick-total { transition: none; } }

/* ---------- Wallet: invite a flipper (5% of a friend's first sale) ---------- */
.invite { margin: 12px 0 0; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 16px; }
.invite > * { min-width: 0; }
.inv-top { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.inv-top h2 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.inv-top p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.inv-top p b { color: var(--text); font-weight: 500; }
.lock-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--muted); }
.lock-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ref-asked { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--card-2); font-size: 14px; color: var(--muted); text-align: center; }
.inv-pct { flex: none; font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--cashout, #4cc38a); font-variant-numeric: tabular-nums; }
.inv-eg { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); font-size: 14px; color: var(--muted); }
.inv-eg > div { display: grid; gap: 2px; }
.inv-eg > div:last-child { text-align: right; }
.inv-eg > div > span:first-child { font-size: 12px; color: var(--faint); }
.inv-eg b { font-size: 17px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-eg b.in, .inv-stats b.in, .inv-friends .amt.in { color: var(--cashout, #4cc38a); }
.inv-link { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 14px; border: 1px solid var(--line); }
.inv-link .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.inv-link .btn { flex: none; height: 40px; padding: 0 16px; font-size: 15px; }
.inv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sep); padding-top: 16px; }
.inv-stats div { display: grid; gap: 2px; }
.inv-stats b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-stats span { font-size: 12px; color: var(--faint); }
.inv-friends { list-style: none; margin: -4px 0 -8px; padding: 0; }
.inv-friends:empty { display: none; }
.inv-friends li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sep); }
.inv-friends li > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.inv-friends li b { font-weight: 500; font-size: 15px; }
.inv-friends li span { font-size: 13px; color: var(--faint); }
.inv-friends .amt { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
.inv-friends .amt.void { text-decoration: line-through; color: var(--faint); }

/* ---------- Refer tab ---------- */
.ref-lead { margin: 8px 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ref-lead b { color: var(--text); font-weight: 500; }
#ref-in .invite { margin-top: 0; }
.ref-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ref-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 2px; padding: 16px 20px; }
.ref-steps li + li { border-top: 1px solid var(--sep); }
.ref-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); color: var(--text); background: var(--card-2); }
.ref-steps b { font-weight: 500; font-size: 15px; }
.ref-steps span { font-size: 13px; line-height: 1.45; color: var(--faint); }
.inv-link .btn { min-width: 112px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.inv-link .btn.done { background: var(--cashout, #4cc38a); border-color: var(--cashout, #4cc38a); color: #04140b; }

/* Home camera: no shutter, it reads by itself; "Type it" in the middle for a label that won't read */
.vf-type { height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -webkit-tap-highlight-color: transparent; }
.vf-type:active { transform: scale(.96); }
.vf-box { left: 6%; right: 6%; top: 24%; height: auto; aspect-ratio: 3.2 / 1; }

/* ---------- after a scan: read, finding, found ---------- */
.auto-info.lookup { display: grid; gap: 10px; padding: 16px; border-style: solid; border-color: var(--line); background: #0d0d0e; color: var(--text); }
.lk-step { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.lk-step i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; }
.lk-step i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lk-step.done { color: var(--muted); }
.lk-step.done i { background: rgba(76,195,138,.16); color: #4cc38a; }
.lk-step.done b { color: var(--text); font-weight: 500; }
.lk-step.now { font-weight: 600; }
.lk-step.now i { background: rgba(255,255,255,.08); }
.lk-step.now .spinner { --h: 14px; }
.lk-step.bad i { background: rgba(229,72,77,.16); color: #ff8a8e; }
.lk-step.bad { color: #ffb3b5; }
/* an indeterminate bar under "Finding your card": it's working, not stuck */
.lk-bar { position: relative; height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.lk-bar span { position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 2px; background: #fff; animation: lk-slide 1.1s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes lk-slide { from { left: -40%; } to { left: 100%; } }
.lk-card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: #151517; border: 1px solid rgba(255,255,255,.08); }
.lk-grade { justify-self: start; font: 600 12px/20px var(--mono); padding: 0 8px; border-radius: 4px; background: #ecebf2; color: #111113; }
.lk-card b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.lk-card small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4cc38a; }
.lk-card small i { display: grid; place-items: center; }
.lk-card small svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.auto-info.reveal .lk-card { animation: lk-in .28s cubic-bezier(.22,1,.36,1); }
@keyframes lk-in { from { opacity: 0; transform: translateY(6px); } }
.xl small.bad { color: #ff8a8e; font-size: 11px; }
.ed-photo .tag .spinner { --h: 11px; margin-right: 4px; vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) {
  .lk-bar span { animation: none; left: 0; width: 100%; opacity: .4; }
  .auto-info.reveal .lk-card { animation: none; }
}
.auto-info.lookup .lk-grade { color: #111113; }
.auto-info.lookup .lk-step span { color: inherit; }

.lk-step.wait i { background: rgba(224,160,80,.18); color: #f0c080; }
.lk-step.wait { color: #f3d7b0; }
.lk-retry { justify-self: start; }

/* under Get my offer: when to expect it */
.bar-note { margin: 10px 4px 0; font-size: 13px; line-height: 1.4; text-align: center; color: var(--muted); }
.wait-eta { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Shipping: numbered steps, the address card, the slip, the tracking form */
.ship-steps { list-style: none; counter-reset: ship; margin: 20px 0 0; padding: 0; display: grid; gap: 20px; text-align: left; }
.ship-steps > li { counter-increment: ship; position: relative; padding-left: 36px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ship-steps > li::before { content: counter(ship); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.ship-steps > li > b { color: var(--text); font-weight: 600; }
.ship-steps .btn.block { margin-top: 12px; }
.ship-to { margin-top: 8px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.ship-to address { font-style: normal; font-size: 17px; line-height: 1.45; color: var(--text); font-weight: 600; }
.ship-ref { display: block; margin-top: 8px; font-size: 13px; color: var(--faint); }
.ship-ref b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.ship-form { margin-top: 12px; display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.ship-form select, .ship-form input { height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 16px; min-width: 0; }
.ship-form input { font-family: var(--mono); letter-spacing: .02em; }
.ship-form .btn { grid-column: 1 / -1; height: 48px; }
.ship-paid { margin-top: 20px; font-size: 14px; color: var(--muted); }
.ship-track { margin-top: 16px; display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; }
.ship-track > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ship-track span { font-size: 13px; color: var(--muted); }
.ship-track b { font-family: var(--mono); font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ship-slip-link { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Verified on the deal page */
.vr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.hero .vr-perk-line, #hero .vr-perk-line { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.vr-then { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.vr-then .label { display: none; }
.acct-ver { margin-bottom: 24px; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }

.vr-note { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }

/* we asked for wire details on a deal (too big for Zelle and the like) */
.pay-ask-card { margin: 0 0 20px; padding: 16px; border: 1px solid rgba(239,233,222,.16); border-radius: 14px; background: rgba(255,255,255,.03); text-align: left; }
.pay-ask-card .label { margin: 0 0 4px; }
.pay-ask-card b { display: block; font-size: 17px; font-weight: 600; color: #efe9de; }
.pay-ask-card p { margin: 6px 0 14px; font-size: 14px; }

/* ---------- top bar: see-through at the top, frosted with a hairline once the page scrolls under it (like the homepage) ---------- */
.top { background: rgba(0,0,0,0); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 -1px 0 rgba(255,255,255,0);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.stuck { background: rgba(0,0,0,.6); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
@media (prefers-reduced-transparency: reduce) { .top.stuck { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- signed out on a phone (the website's phone version): the website's header ----------
   A rounded bar inset from the edges: see-through at the top, frosted glass once the page scrolls under it, with a
   Menu for the website's pages. The website only: the iPhone and Android apps (html.native) stay as they are. */
.top-menu, .top-sheet { display: none; }
html:not(.native) body.out #home > .top { top: calc(env(safe-area-inset-top) + 8px); left: 12px; right: 12px; height: 56px; padding: 0 4px 0 16px; border-radius: 18px;
  border: 1px solid transparent; box-shadow: 0 16px 40px rgba(0,0,0,0);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
html:not(.native) body.out #home > .top.stuck, html:not(.native) body.out #home > .top.menu-open { background: rgba(40,40,42,.55); border-color: rgba(255,255,255,.07); box-shadow: 0 16px 40px rgba(0,0,0,.45);
  backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px); }
html:not(.native) body.out #home > .top .top-menu { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-left: -4px; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.top-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.top-menu path { transition: transform .2s var(--ease); transform-origin: 12px 12px; }
.top.menu-open .top-menu .m1 { transform: translateY(3px) rotate(45deg); }
.top.menu-open .top-menu .m2 { transform: translateY(-3px) rotate(-45deg); }
html:not(.native) body.out #home > .top .top-sheet { position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; display: grid; padding: 8px; border-radius: 18px;
  background: rgba(28,28,30,.985); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 16px 40px rgba(0,0,0,.5);
  backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
  transform-origin: top right; opacity: 0; transform: translateY(-6px) scale(.97); visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
html:not(.native) body.out #home > .top.menu-open .top-sheet { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.top-sheet a { display: flex; align-items: center; height: 48px; padding: 0 16px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: 16px; }
.top-sheet a:active { background: rgba(255,255,255,.07); }
@media (prefers-reduced-motion: reduce) { html:not(.native) body.out #home > .top .top-sheet { transform: none; } .top-menu path { transition: none; } }
@media (prefers-reduced-transparency: reduce) { html:not(.native) body.out #home > .top.stuck, html:not(.native) body.out #home > .top.menu-open, html:not(.native) body.out #home > .top .top-sheet { background: #1c1c1e; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* the website's pages at the bottom of the signed-out home */
.out-foot { margin: 40px 4px 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.of-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.out-foot h3 { margin: 0 0 12px; font: 500 13px var(--sans); color: var(--faint, rgba(255,255,255,.4)); }
.out-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.out-foot ul a { display: block; padding: 6px 0; color: var(--muted); font-size: 15px; text-decoration: none; }
.of-bot { display: flex; justify-content: space-between; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); color: var(--faint, rgba(255,255,255,.4)); font-size: 13px; }
.of-bot span:last-child { display: flex; gap: 16px; }
.of-bot a { color: inherit; text-decoration: none; }
html.native .out-foot { display: none; }

/* ---------- Home: the deal waiting on you ---------- */
.deal-hero { display: grid; justify-items: start; margin: 4px 0 12px; padding: 20px; border-radius: 20px; border: 1px solid rgba(var(--glow-soft),.22);
  background: radial-gradient(90% 80% at 0% 0%, rgba(var(--glow),.14) 0%, rgba(var(--glow),0) 70%), var(--card); color: var(--text); text-decoration: none;
  transition: border-color .15s var(--ease); }
.deal-hero:active { border-color: rgba(var(--glow-soft),.4); }
.dh-top { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
.dh-what .dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: rgb(var(--glow)); vertical-align: middle; }
.dh-ref { font-size: 12px; color: var(--faint); }
.dh-amt { margin-top: 16px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dh-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.deal-hero .track { justify-self: stretch; margin: 16px 0 0; }
.dh-go { justify-self: stretch; margin-top: 16px; pointer-events: none; }
@media (min-width: 1024px) {
  .deal-hero { padding: 28px 32px; margin: 0 0 16px; }
  .deal-hero:hover { border-color: rgba(var(--glow-soft),.4); }
  .dh-amt { font-size: 56px; }
  .deal-hero .track { max-width: 520px; }
  .dh-go { justify-self: start; min-width: 220px; }
  /* with a deal leading, the sheet card steps back to one row */
  .desk.compact { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; column-gap: 16px; padding: 16px 20px; text-align: left; border-radius: 16px; }
  .desk.compact .desk-ic { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
  .desk.compact .desk-ic svg { width: 20px; height: 20px; }
  .desk.compact h1, .desk.compact .desk-h { font-size: 17px; font-stretch: 112.5%; letter-spacing: -0.01em; }
  .desk.compact p, .desk.compact .desk-alt { display: none; }
  .desk.compact .btn { width: auto; height: 40px; margin: 0; padding: 0 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .top, .deal-hero { transition: none; } }
/* the offer total is the moment on the deal page: set it in the wide display face */
.cash-hero .hero-sum b { font-family: var(--display); font-stretch: 125%; font-size: 28px; letter-spacing: -0.02em; }
.app-hint + .app-hint { margin-top: 4px; }
.app-hint a { color: var(--text); text-underline-offset: 2px; }

/* ---------- signed out (the server marks <body class="out">): selling only ----------
   No tab bar and no sidebar: Deals, Wallet, Refer and Account need an account. The bottom bar sits on the edge. */
.out .tabbar { display: none; }
.out .has-tabs .bar { bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.out .has-tabs .scroll { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .out .side { display: none; }
  .out .screen { left: 0; }
  .out #home { visibility: hidden; }   /* on a computer, signed out, the website is home */
}

/* ================= Lab redesign (mobile-lab), unslopped =================
   Direction: sellers cash out PSA and BGS slabs fast, a price on every slab. Direct, fair, quick. The card-show
   counter and the grading label. The moment is the slab and its price; chrome stays quiet. Signature: the cert
   in the mono label-strip chip (.cert). White marks a choice; green only at cash-out (Accept, Paid). 4px grid. */

/* ---------- the offer, one slab per row (phones) ----------
   One grouped list, hairline between rows, so nine slabs read in one screen. Price right, in the wide face. */
#cards.as-list { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; display: block; }
.sl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 24px 4px 12px; }
.sl-head h2 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--text); }
.sl-head p { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.sl-all { flex: none; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .15s var(--ease); }
.sl-all:active { background: var(--card-2); }
.sl-group { margin: 24px 4px 8px; font-size: 13px; color: var(--faint); }
.sl-list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sl { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; transition: background-color .15s var(--ease); }
.sl + .sl { border-top: 1px solid var(--sep); }
.sl:not(.pick) { grid-template-columns: 1fr auto; }
.sl:not(.pick):has(.sl-img) { grid-template-columns: auto 1fr auto; }
.sl.pick:has(.sl-img) { grid-template-columns: auto auto 1fr auto; }
.sl.pick { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sl.pick:active { background: #111113; }
.sl-tick { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.sl-tick .tick, .sl-tick svg { width: 16px; height: 16px; display: block; }
.sl-tick svg { fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .12s var(--ease); }
.sl.on .sl-tick { background: #fff; border-color: #fff; }
.sl.on .sl-tick svg { opacity: 1; }
.sl-img { width: 32px; height: 44px; object-fit: cover; border-radius: 4px; background: var(--card-2); }
.sl-main { min-width: 0; }
.sl-title { font-size: 15px; font-weight: 500; line-height: 20px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--muted); }
.sl-grade { font-weight: 500; color: var(--text); }
.sl-meta .cert { font-size: 11px; line-height: 18px; }
.sl-comps { color: var(--muted); text-decoration: none; }
.sl-price { text-align: right; white-space: nowrap; }
.sl-price b { display: block; font-family: var(--display); font-stretch: 112.5%; font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.sl-price small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sl-st { font-size: 13px; color: var(--faint); }
.sl.off .sl-title, .sl.off .sl-grade, .sl.off .sl-price b { color: var(--faint); }
.sl.off .sl-price b { text-decoration: line-through; text-decoration-thickness: 1px; }
.sl-price small.sl-keeping { margin-top: 4px; display: inline-block; padding: 0 8px; line-height: 20px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); color: var(--text); font-weight: 500; }
.sl.off { background: rgba(255,255,255,.015); }
.sl.out .sl-title, .sl.out .sl-grade { color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .sl, .sl-tick, .sl-tick svg { transition: none; } }

/* the offer hero: two figures on a hairline, then the person who priced it */
.hero-figs { display: flex; gap: 32px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-figs b { display: block; font-family: var(--display); font-stretch: 112.5%; font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-figs b small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.hero-figs span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.pricer-note { margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.03); border-radius: 0 12px 12px 0; }
.pricer-note blockquote { margin: 0; font-size: 15px; line-height: 22px; color: #e7e5e4; }
.pricer-note figcaption { margin-top: 4px; font-size: 12px; color: var(--faint); }

/* the bottom bar: a running line over Accept, and a decline that asks first */
.bar-sum { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
#decline-sheet .btn { margin-top: 8px; }
.btn.decline-go { color: var(--bad); }

/* ---------- Home: money at a glance, then what's in progress ---------- */
.glance { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gl-fig { text-align: left; padding: 16px; background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s var(--ease); }
.gl-fig + .gl-fig { border-left: 1px solid var(--sep); }
.gl-fig:active { background: #111113; }
.gl-fig span { display: block; font-size: 13px; color: var(--muted); }
.gl-fig b { display: block; margin-top: 4px; font-family: var(--display); font-stretch: 112.5%; font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.gl-live { margin-top: 24px; }
.gl-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 8px; }
.gl-head h2 { font-size: 17px; font-weight: 600; }
.gl-head .text-link { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 4px 0; }
.gl-list { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gl-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text); text-decoration: none; transition: background-color .15s var(--ease); }
.gl-row + .gl-row { border-top: 1px solid var(--sep); }
.gl-row:active { background: #111113; }
.gl-main b { display: block; font-size: 15px; line-height: 20px; font-weight: 500; }
.gl-main > span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.gl-amt { font-family: var(--display); font-stretch: 112.5%; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.gl-row .chev { color: var(--faint); }

/* ---------- Account: who you are, then settings ---------- */
.acct-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.acct-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 600; font-size: 20px; flex: none; }
.acct-head b { display: block; font-size: 17px; font-weight: 600; }
.acct-head div > span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.acct-save { margin-top: 12px; }

/* ---------- Refer: share, and money in white (green is for cash-out) ---------- */
.inv-share { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.inv-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.inv-link .btn:not(.primary) { height: 36px; padding: 0 16px; font-size: 14px; }
.invite .inv-pct, .inv-eg b.in, .inv-stats b.in, .inv-friends .amt.in { color: var(--text); }

/* ---------- choices on the deal (how you get paid, ship or meet up): dark tiles, white for the one picked ---------- */
.cash-hero .choice button { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  transition: transform .12s var(--ease), border-color .15s var(--ease), background-color .15s var(--ease); }
.cash-hero .choice button:active { background: rgba(255,255,255,.08); transform: scale(.98); }
.cash-hero .choice button span { color: var(--muted); }
.cash-hero .choice button.on { border-color: #fff; box-shadow: none; background: rgba(255,255,255,.08); }

/* ---------- Home camera fits the screen ----------
   With a deal card above it, the viewfinder takes what's left, so Photos / Type it / Sheet sit above the tab bar.
   (env(safe-area-inset-bottom) includes the native tab bar in the app.) */
/* (the deal row above the camera is one line now, so the viewfinder keeps its own height) */

/* ask about one slab's price: shows on the row you took out */
.sl-ask { display: block; margin-top: 4px; padding: 4px 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 13px; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); cursor: pointer; }

/* notifications, offered while the slabs are being priced (the iPhone app) */
.notify-ask { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 12px 12px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.notify-ask > div { flex: 1; min-width: 0; }
.notify-ask b { display: block; font-size: 15px; font-weight: 500; color: var(--text); }
.notify-ask span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.notify-ask .btn { height: 36px; padding: 0 16px; font-size: 14px; flex: none; }
.cash-hero p.notify-on { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ================= Lab: the signed-out Home in the app =================
   One screen, like any app's welcome: swipe through what bind does, the two ways in pinned at the bottom, a sheet
   one small link under them. The slab is the moment on the first page; the light-purple glow sits only behind it,
   static. Every example is the website's own. */
#home .scroll:has(#home-welcome:not(.hidden)) { padding-bottom: calc(12px + env(safe-area-inset-bottom)); overflow-x: hidden; }
#home-welcome.aw { display: flex; flex-direction: column; min-height: calc(100dvh - 56px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px); }

.aw-pager { flex: 1; display: flex; margin: 0 -16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.aw-pager::-webkit-scrollbar { display: none; }
.aw-page { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; padding: 0 20px; scroll-snap-align: start; scroll-snap-stop: always; }
.aw-vis { flex: 1; min-height: 0; display: grid; place-items: center; }
.aw-h { margin: 16px 0 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.aw-sub { margin: 8px 0 0; font-size: 15px; line-height: 22px; color: var(--muted); text-wrap: pretty; }

/* page 1: real slabs on the counter, our offer on the front one */
.aw-stage { position: relative; width: calc(100% + 40px); height: 300px; margin: 0 -20px; overflow: hidden; }
.aw-stage::before { content: ""; position: absolute; left: 50%; top: 46%; width: 440px; height: 300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(167,139,250,.28), rgba(167,139,250,.07) 60%, transparent); pointer-events: none; }
.aw-slab { position: absolute; left: 50%; top: 36px; width: 128px; height: auto; border-radius: 8px; box-shadow: 0 28px 48px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); }
.aw-slab.l { transform: translateX(-124%) rotate(-10deg); filter: brightness(.62); }
.aw-slab.r { transform: translateX(24%) rotate(10deg); filter: brightness(.62); }
.aw-slab.c { top: 12px; width: 152px; transform: translateX(-50%); z-index: 1; }
.aw-tag { right: 28px; bottom: 16px; padding: 12px 16px; min-width: 168px; }
.aw-tag small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.aw-tag b { display: block; margin-top: 4px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aw-tag span { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .aw-slab.l { animation: aw-fan-l .7s var(--ease) .1s both; }
  .aw-slab.r { animation: aw-fan-r .7s var(--ease) .1s both; }
  .aw-tag { animation: aw-rise .45s var(--ease) .55s both; }
}
@keyframes aw-fan-l { from { transform: translateX(-62%) rotate(-2deg); } }
@keyframes aw-fan-r { from { transform: translateX(-38%) rotate(2deg); } }
@keyframes aw-rise { from { opacity: 0; transform: translateY(8px); } }

/* page 2: the offer you can try (the website's picker, three slabs) */
.aw .aw-pick { width: 100%; margin: 0; }
.aw-pick .m-pick-head { padding: 12px 16px; }
.aw-pick .m-pick-head strong { font-size: 24px; line-height: 28px; }
.aw-pick .m-pk { padding: 8px 16px; }
.aw-pick .m-pk img { width: 28px; height: auto; }
.aw-pick .m-pk-accept { height: 44px; margin: 4px 12px 12px; }

/* page 3: a deal moving, the website's example */
.aw-deal { width: 100%; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.aw-deal-top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.aw-deal-amt { display: block; margin-top: 8px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aw-deal .dlog { margin-top: 16px; }

/* page 4: getting paid, the website's wallet example */
.aw-money { width: 100%; display: grid; gap: 16px; }
.aw-bal { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.aw-bal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.aw-bal small { display: block; font-size: 13px; color: var(--muted); }
.aw-bal b { display: block; margin-top: 4px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aw-bal-go { display: grid; place-items: center; height: 48px; margin-top: 16px; border-radius: 999px; background: var(--cashout); color: var(--cashout-ink); font-size: 15px; font-weight: 600; }
.aw-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.aw-pay span { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: 14px; line-height: 20px; font-weight: 500; }

/* dots, then the ways in */
.aw-dots { display: flex; justify-content: center; gap: 8px; margin: 20px 0 16px; }
.aw-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.aw-dots button.on { background: #fff; transform: scale(1.25); }
.aw-actions { display: grid; gap: 8px; }
.aw-sheet-link { margin: 4px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 14px; line-height: 20px; color: var(--muted); cursor: pointer; }
.aw-sheet-link span { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* ================= Lab: typing that feels like iOS (the app only, html.native) =================
   No focus box or ring on a field (iOS shows the caret, nothing else), 17pt text so iOS never zooms, a white caret,
   iOS placeholder grey. In a grouped list row a field is just text, like Settings; on its own it's the iOS filled
   field. The keyboard behavior (Return says Next / Go / Done, drag to close) is native (TextEntry.swift). */
html.native :is(input, textarea, select) { caret-color: #fff; -webkit-tap-highlight-color: transparent; }
html.native :is(input, textarea, select):focus,
html.native :is(input, textarea, select):focus-visible { outline: none; box-shadow: none; }
html.native :is(input, textarea)::placeholder { color: rgba(235,235,245,.3); opacity: 1; }
html.native :is(input:not([type=checkbox]):not([type=radio]), textarea, select) { font-size: 17px; }
html.native .list .row input, html.native .list .row select, html.native .list textarea { font-size: 17px; background: transparent; border: 0; }
html.native .list .row input:focus, html.native .list textarea:focus { border: 0; background: transparent; }
html.native .list label.row { min-height: 44px; }
html.native :is(.link-form input, .composer textarea, .ship-form input, .ship-form select, .field input, .field textarea) {
  background: rgba(118,118,128,.24); border: 1px solid transparent; border-radius: 10px; color: var(--text); }
html.native :is(.link-form input, .composer textarea, .ship-form input, .ship-form select, .field input, .field textarea):focus {
  border-color: transparent; background: rgba(118,118,128,.3); }
html.native .link-form input { font-size: 17px; }
html.native .cert-in { font-size: 20px; }

/* ================= Lab: the deal waiting on you, as one row on Home (phones) =================
   What's waiting, the slabs, the money, a chevron. Tap anywhere on it. Same elements as before (sell.js fills
   them); the ref, the track and the button step back. */
@media (max-width: 1023px) {
  #nudge.deal-hero { grid-template-columns: 1fr auto auto; grid-template-areas: "what amt chev" "sub amt chev"; align-items: center; justify-items: start;
    column-gap: 12px; row-gap: 4px; margin: 4px 0 12px; padding: 12px 16px; border-radius: 16px; }
  #nudge.deal-hero::after { content: "\203a"; grid-area: chev; font-size: 22px; line-height: 1; color: var(--faint); }
  #nudge .dh-top { grid-area: what; font-size: 15px; line-height: 20px; }
  #nudge .dh-sub { grid-area: sub; margin: 0; font-size: 13px; line-height: 16px; }
  #nudge .dh-amt { grid-area: amt; justify-self: end; margin: 0; font-size: 20px; line-height: 24px; letter-spacing: -0.01em; }
  #nudge .dh-ref, #nudge .dh-go { display: none; }
}

/* ================= Lab: the offer, simpler =================
   A title, one line, the slabs. No card, no paragraph, no timeline: the checks and the Accept button explain it. */
#hero.compact { margin: 8px 4px 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.ofr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#hero.compact h1 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 32px; line-height: 36px; letter-spacing: -0.02em; color: #fff; }
#hero.compact .cert { cursor: pointer; }
#hero.compact .ofr-sub { margin: 8px 0 0; font-size: 15px; line-height: 20px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sl-head { align-items: center; margin: 20px 4px 8px; }
.sl-head p { margin: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.sl-acts { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.sl-acts .sl-ask { margin: 0; }
.sl-acts .sl-comps { font-size: 13px; line-height: 20px; color: var(--muted); text-decoration: none; padding: 4px 0; }

/* Payouts: each deal on its way says where it is */
.fund-rows li { min-height: 44px; }
.cash-hero .pay-saved { margin-top: 16px; }
.cash-hero .pay-other { display: block; margin: 12px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ================= Lab: one job per page after an offer (unslop, polish) =================
   How you get paid, ship or meet up, then shipping in three pages: a title, one line (with the deal's chip), one
   thing to look at, one button at the bottom. The moments are the physical things of this step: the packing slip
   (paper, the real slabs on it) and the address label (the bind label strip down its edge). No timeline here. */
#hero.compact > h1 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 30px; line-height: 34px; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
#hero.compact .ofr-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#hero.compact .ofr-sub .cert { flex: none; }
#hero.compact .vr-head { margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 4px; margin: 0 0 24px; }
.steps i { height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); transition: background-color .3s var(--ease); }
.steps i.on { background: #fff; }

/* step 1: the packing slip, as paper */
.slip { display: grid; gap: 0; margin: 24px 12px 0; padding: 16px 16px 12px; border-radius: 8px; background: #f2f0ea; color: #141414; text-decoration: none;
  box-shadow: 0 24px 48px rgba(0,0,0,.55); transform: rotate(-1deg); transition: transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.slip:active { transform: rotate(-1deg) scale(.98); }
.slip-top { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid #141414; }
.slip-top b { font-family: var(--display); font-stretch: 125%; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.slip-top span { font-family: var(--mono); font-size: 12px; }
.slip-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(20,20,20,.12); font-size: 13px; line-height: 16px; }
.slip-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-row span:last-child { flex: none; font-weight: 600; }
.slip-more { padding: 8px 0; font-size: 12px; color: rgba(20,20,20,.55); border-bottom: 1px solid rgba(20,20,20,.12); }
.slip-foot { display: flex; justify-content: space-between; padding-top: 8px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.slip-print { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.slip-print svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-note { margin: 12px 0 0; text-align: center; font-size: 13px; line-height: 20px; color: var(--muted); }

/* step 2: the address, as a label */
.label-card { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid #fff; }
.lc-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.lc-copy { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.lc-copy:active { background: #232325; }
.label-card address { margin-top: 12px; font-style: normal; font-size: 20px; line-height: 28px; font-weight: 500; color: #fff; -webkit-user-select: text; user-select: text; }
.lc-ref { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sep); font-size: 13px; color: var(--muted); }

/* step 3: tracking, as a settings list */
.track-form { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tf-row { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 16px; font-size: 15px; color: var(--text); }
.tf-row + .tf-row { border-top: 1px solid var(--sep); }
.tf-row span { color: var(--muted); }
.track-form .tf-row :is(input, select) { width: 100%; min-width: 0; height: 52px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text); font-size: 17px; }
.track-form .tf-row input { font-family: var(--mono); letter-spacing: .02em; }
#hero.compact .pay-change { display: block; margin: 16px auto 0; }

/* shipped: the tracking, and two quiet links */
.trk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid #fff; }
.trk small { display: block; font-size: 13px; color: var(--muted); }
.trk b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .02em; color: #fff; word-break: break-all; }
.trk .btn { flex: none; height: 36px; padding: 0 16px; font-size: 14px; }
/* the story bonus: the card (deal page, Sell, Deals, Wallet), the note after it, and the share sheet.
   The card keeps a faint flat violet so it stands apart from the neutral cards around it. */
.story-card { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 16px; padding: 12px 16px 12px 12px; border: 1px solid rgba(167,139,250,.22); border-radius: 16px; background: rgba(124,92,255,.08); color: var(--text); text-align: left; font: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .16s var(--ease), background-color .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { .story-card:hover { background: rgba(124,92,255,.12); } }
.story-card:active { transform: scale(.98); }
.story-card:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.story-card > span:not(.story-ic):not(.chev) { flex: 1; min-width: 0; } /* the text (a gradient's canvas can come first) */
.story-card b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.story-card small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.story-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--card-2); }
.story-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.5; }
.story-card .chev { font-size: 20px; color: var(--muted); }
.story-promo { margin: 12px 0 0; }
#home .story-promo { margin: 0 0 12px; }
.cash-hero .story-note, .story-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.story-note.confirmed, .story-note.paid { color: #8fdcb5; border-color: rgba(76,195,138,.3); }
/* under the step they came to do (pick how to get paid, ship), not above it */
.story-card.after, .story-note.after { margin: 24px 0 0; }

/* the share sheet: four numbered steps on one left edge, the link drawn as Instagram's link sticker */
.story-sheet .sheet-sub { margin-bottom: 24px; text-wrap: pretty; }
.story-steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.story-steps > li { counter-increment: step; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; font-size: 16px; line-height: 1.4; }
.story-steps > li::before { content: counter(step); grid-column: 1; grid-row: 1; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; line-height: 22px; font-variant-numeric: tabular-nums; color: var(--faint); }
.story-steps > li > * { grid-column: 2; }
.story-steps b { font-weight: 600; }
.story-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.story-box .btn { flex: none; }
.story-cap { min-width: 0; font-size: 15px; line-height: 1.4; }
.story-sticker { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 10px; border-radius: 8px; background: #fff; color: #000; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.story-sticker svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.story-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.story-sheet .btn + .btn { margin-top: 12px; }
.story-as { margin: 16px 0 16px; font-size: 14px; color: var(--muted); }
.story-as b { color: var(--text); font-weight: 500; }
.story-as .text-link { font-size: 14px; }
.story-handle { display: grid; gap: 8px; margin: 16px 0 16px; font-size: 13px; color: var(--muted); }
.story-handle input { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 16px; }
.story-handle input:focus { outline: none; border-color: rgba(255,255,255,.4); }
/* the deal page's own tick box, not the browser's */
.story-check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-size: 14px; line-height: 1.4; color: var(--text); cursor: pointer; }
.story-check input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.story-check .tick { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--faint); display: grid; place-items: center; transition: background-color .12s var(--ease), border-color .12s var(--ease); }
.story-check .tick svg { width: 12px; height: 12px; fill: none; stroke: #000; stroke-width: 2.5; opacity: 0; }
.story-check input:checked + .tick { background: #fff; border-color: #fff; }
.story-check input:checked + .tick svg { opacity: 1; }
.story-check input:focus-visible + .tick { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.story-check b { font-weight: 500; }
.story-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .story-card, .story-check .tick { transition: none; } }
.trk-live { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.trk-live.delivered { color: #8fdcb5; }
.trk-live.out_for_delivery { color: #fff; }
.trk-live.exception { color: #f0c48a; }
/* every scan for their box, under the tracking card, lined up with the card's text (4px edge + 16px padding) */
.trk-hist { margin: 12px 0 0 20px; }
.trk-hist summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; font-size: 14px; color: var(--muted); border-radius: 4px; transition: color .15s ease; }
.trk-hist summary::-webkit-details-marker { display: none; }
.trk-hist summary:hover { color: #fff; }
.trk-hist summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.trk-hist summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.trk-hist[open] summary svg { transform: rotate(90deg); }
/* the route: a dot per scan on one line, the latest lit in its state's colour */
.trk-hist ol { position: relative; list-style: none; display: grid; gap: 16px; margin: 16px 0 0; padding: 0; }
.trk-hist li { position: relative; display: grid; gap: 4px; padding-left: 20px; font-size: 14px; color: var(--muted); }
.trk-hist li::before { content: ''; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #3a3a3e; }
/* the line runs from each dot to the next, so it ends at the oldest scan */
.trk-hist li:not(:last-child)::after { content: ''; position: absolute; left: 3px; top: 12px; bottom: -21px; width: 1px; background: var(--line); }
.trk-hist li.now { color: #fff; }
.trk-hist li.now::before { background: #fff; }
.trk-hist li.now.delivered::before { background: #8fdcb5; }
.trk-hist li.now.exception::before { background: #f0c48a; }
.trk-hist time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.trk-links { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.trk-links .text-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* how you get paid / ship or meet up: the buttons sit under the title */
#hero.compact .pay-saved, #hero.compact .choice { margin-top: 24px; }
.step-help { display: block; margin: 32px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
/* after accepting, the step pages keep the slabs one tap away */
.step-slabs { display: block; margin: 28px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 15px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); cursor: pointer; }
.step-slabs + .step-help { margin-top: 4px; }

/* touch screens have no hover: a tapped button should not stay grey */
@media (hover: none) {
  .btn.primary:hover { background: #fff; opacity: 1; }
  .btn.cashout-btn:hover { background: var(--cashout); }
}

/* ship or meet up: two tiles, each with its line icon */
.choice.hand button { padding: 20px 16px; }
.choice.hand svg { display: block; width: 24px; height: 24px; margin-bottom: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* add slabs: three quiet ways in, one word each; Get my offer is the main action */
.ways .way, .ways .way:first-child { padding: 16px 8px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; }
.ways .way svg { width: 22px; height: 22px; margin-bottom: 4px; stroke: var(--muted); }
.ways .way:active { background: var(--card-2); }

/* the slab editor: the cert note is a quiet line, not a dashed box */
.auto-info.quiet { border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--muted); }

/* ================= Lab: steps instead of one crowded sheet =================
   Sign in: Apple / Google / Discord or your email, then one page for the rest. Withdraw: how much, confirm, done.
   How you get paid: pick a way, then its details (a wire is three short pages). Sheet: the link or a file, then
   what we found. */
#auth-mode { display: none !important; }
#auth .su-x { display: none !important; }
.auth-email { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.auth-email::after { content: "Change"; flex: none; margin-left: 12px; font-size: 13px; color: var(--muted); }
.auth-email.hidden { display: none; }
.auth-switch { display: block; margin: 12px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }

/* withdraw */
.wd-big { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 24px 0 8px; color: #fff; }
.wd-big span { font-family: var(--display); font-stretch: 125%; font-size: 32px; font-weight: 600; color: var(--muted); }
.wd-big input { width: 7ch; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; font-family: var(--display); font-stretch: 125%; font-weight: 600;
  font-size: 48px !important; line-height: 56px; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.wd-all { display: block; margin: 0 auto 24px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.wd-sum { margin: 8px 0 12px; }
.wd-sum .row { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.wd-sum .row span { color: var(--muted); }
.wd-sum .row b { font-weight: 500; text-align: right; }
.wd-done { display: grid; justify-items: center; gap: 8px; margin: 24px 0 32px; text-align: center; }
.wd-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cashout); margin-bottom: 8px; }
.wd-check svg { width: 28px; height: 28px; fill: none; stroke: var(--cashout-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wd-done b { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 32px; line-height: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wd-done span:last-child { font-size: 14px; color: var(--muted); }

/* how you get paid: a list of ways, then the details */
.po-methods.list { display: grid; margin: 0 0 8px; }
.po-way { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 8px 16px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.po-way + .po-way { border-top: 1px solid var(--sep); }
.po-way:active { background: var(--card-2); }
.po-way b { display: block; font-size: 16px; font-weight: 500; }
.po-way small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.po-way.saved small { color: var(--text); }
.po-way .chev { color: var(--faint); font-size: 20px; }
.po-back { display: block; margin: 12px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.po-back.hidden { display: none; }
#po-fields [data-ws].hidden { display: none; }

/* sheet: the two quiet links under Add */
.imp-links { display: flex; justify-content: center; gap: 24px; margin-top: 12px; }
.imp-links .text-link { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.imp-links .text-link.hidden { display: none; }

/* Your slabs: the price is typed right in the sheet. Blank reads "Offer" (we price it); a dollar sign appears
   once there's a number. 16px so phones don't zoom in on focus (17px in the app, like every field there). */
.xl .r.pr-cell { padding: 0; }
#cards-table th.r, .xl:has(.pr-cell) th.r { width: 92px; }
.xl .pr { display: flex; align-items: center; justify-content: flex-end; gap: 1px; height: 100%; min-height: 52px; padding: 0 8px; cursor: text; }
.xl .pr i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.xl .pr:has(.price-in:placeholder-shown) i { display: none; }
.xl .price-in { width: 4ch; min-width: 0; max-width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; text-align: left; font-variant-numeric: tabular-nums; }
.xl .price-in::placeholder { color: var(--faint); opacity: 1; }
.xl .price-in:focus { outline: none; }
.xl .pr:focus-within { box-shadow: inset 0 -2px 0 var(--text); }
html.native .xl .price-in { font-size: 17px; background: transparent; border: 0; }

/* ================= Transitions: pages push in from the right, like Instagram and every iPhone app =================
   The new page slides in over the old one, which moves a little left and dims; back is the reverse. Same length and
   curve as the app's own screens (sell.js show()). nav.js decides when: a tap of ours pushes, our Back button goes
   back, and the phone's back swipe (its own animation) gets none of ours. Reduced motion: a short fade instead. */
@view-transition { navigation: auto; }
@keyframes bind-in-right { from { transform: translateX(100%); } }
@keyframes bind-out-left { to { transform: translateX(-28%); opacity: .5; } }
@keyframes bind-in-left { from { transform: translateX(-28%); opacity: .5; } }
@keyframes bind-out-right { to { transform: translateX(100%); } }
@keyframes bind-fade-in { from { opacity: 0; } }
@keyframes bind-fade-out { to { opacity: 0; } }
html:active-view-transition-type(push, back, fade)::view-transition-old(root),
html:active-view-transition-type(push, back, fade)::view-transition-new(root) {
  mix-blend-mode: normal; animation-duration: 460ms; animation-timing-function: cubic-bezier(.22,1,.36,1); animation-fill-mode: both;
}
html:active-view-transition-type(push)::view-transition-old(root) { animation-name: bind-out-left; }
html:active-view-transition-type(push)::view-transition-new(root) { animation-name: bind-in-right; box-shadow: -16px 0 32px rgba(0,0,0,.5); }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: bind-out-right; z-index: 1; box-shadow: -16px 0 32px rgba(0,0,0,.5); }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: bind-in-left; }
html:active-view-transition-type(fade)::view-transition-old(root) { animation-name: bind-fade-out; animation-duration: 200ms; }
html:active-view-transition-type(fade)::view-transition-new(root) { animation-name: bind-fade-in; animation-duration: 200ms; }
/* a deal's own steps: the top bar and the button at the bottom stay where they are while the page moves */
html.vt-step .screen > header.top { view-transition-name: bind-top; }
html.vt-step #step-bar { view-transition-name: bind-bar; }
html.vt-step::view-transition-group(bind-top), html.vt-step::view-transition-group(bind-bar) { animation-duration: 200ms; }

/* ================= Liquid Glass: what floats over the app =================
   Like iOS 26: the buttons and labels that float over content are glass (what's behind shows through, blurred and
   brightened, with a light rim on top and a soft shadow under), while the surfaces themselves stay the app's
   near-black. Back is a round glass button with a chevron; its name stays for VoiceOver. Bottom bars have no strip
   of their own: the page fades out under the button, like iOS's scroll edge. */
:root {
  --glass: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  --glass-dark: linear-gradient(180deg, rgba(44,44,48,.72), rgba(22,22,24,.72));
  --glass-rim: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.10);
  --glass-blur: blur(16px) saturate(180%);
}
.back, .icon-btn, .avatar, .top-btn, .vf-side svg, .vf-type, .vf-status, .toast {
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), 0 6px 20px rgba(0,0,0,.35); border: 0; color: #fff;
}
/* text that has to read over anything (the camera, a busy page) sits on darker glass */
.vf-status, .toast { background: var(--glass-dark); }
.back, .icon-btn, .avatar, .top-btn { transition: transform .12s var(--ease); -webkit-tap-highlight-color: transparent; }
.back:active, .icon-btn:active, .avatar:active, .top-btn:active { transform: scale(.92); }

/* back: a 44pt glass circle with a chevron, the label kept for VoiceOver only */
/* the label is a text node (kept for VoiceOver), so the chevron is pinned to the exact middle rather than laid out
   beside it; the path's own box is centered in its 24-unit square */
.back { position: relative; flex: none; width: 44px; height: 44px; padding: 0; margin-left: -4px; border-radius: 50%; display: block; font-size: 0; line-height: 0; color: #fff; text-decoration: none; overflow: hidden; }
.back span { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.icon-btn { width: 36px; height: 36px; font-size: 13px; }
.avatar { width: 36px; height: 36px; }
.top-btn { border-radius: 18px; padding: 8px 16px; }
.toast { border-radius: 22px; }

/* bottom bars: no strip, the page fades out under the button */
.bar { background: linear-gradient(to top, var(--bg) 45%, rgba(0,0,0,0)); -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; }

/* Reduce Transparency: solid, still raised */
@media (prefers-reduced-transparency: reduce) {
  .back, .icon-btn, .avatar, .top-btn, .vf-side svg, .vf-type, .vf-status, .toast { background: #2a2a2d; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar { background: var(--bg); }
}

/* The camera's cert text in the same typewriter mono as every cert number in the app: the label under the box is
   the cert chip, and a read cert shows in the mono with its check. No purple on the camera's chrome. */
.vf-box em { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 20px; padding: 0 6px;
  border-radius: 4px; background: rgba(11,11,12,.85); color: var(--text); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--text); }
.vf-status .mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.vf.locked .vf-status { background: var(--glass-dark); }
.vf.locked .vf-box { border-color: #fff; border-width: 3px; }

/* ---------- texts (the "Get your offers by text" sheet) ---------- */
#texts .tx-step { display: grid; gap: 12px; }
#texts .tx-step.hidden { display: none; }
#tx-go.off { opacity: .4; }
#tx-go.loading { opacity: .6; pointer-events: none; }
.tx-phone { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border-radius: 14px; background: var(--card, #0d0d0e); border: 1px solid var(--line, rgba(255,255,255,.08)); }
.tx-phone:focus-within { border-color: rgba(255,255,255,.35); }
.tx-cc { font-size: 17px; color: var(--muted, #a3a3a3); font-variant-numeric: tabular-nums; }
.tx-phone input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: inherit; font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; outline: none; padding: 0; }
.tx-why { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 14px; line-height: 1.4; color: var(--text, #f5f5f4); }
.tx-why svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--muted, #a3a3a3); }
.tx-note { margin: -4px 0 0; min-height: 0; font-size: 13px; line-height: 1.4; color: #e0a050; }
.tx-note:empty { display: none; }
#texts .tx-later.hidden, #tx-x.hidden, #tx-off.hidden { display: none; }
.tx-qr { display: grid; justify-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--card, #0d0d0e); border: 1px solid var(--line, rgba(255,255,255,.08)); }
.tx-qr.hidden { display: none; }
.tx-code { width: 168px; height: 168px; padding: 12px; border-radius: 12px; background: #fff; }
.tx-code svg { display: block; width: 100%; height: 100%; }
.tx-qr p { margin: 0; font-size: 14px; color: var(--muted, #a3a3a3); text-align: center; }
.tx-fine { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted, #a3a3a3); }
.tx-later { margin-top: 4px; }
.tx-state { display: grid; justify-items: center; gap: 6px; padding: 24px 8px 12px; text-align: center; }
.tx-state b { font-size: 18px; font-weight: 600; }
.tx-state span:not(.spinner):not(.tx-check) { font-size: 15px; line-height: 1.45; color: var(--muted, #a3a3a3); max-width: 300px; }
.tx-check { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #f5f5f4; color: #000; margin-bottom: 6px; }
.tx-state .spinner { --h: 30px; margin-bottom: 8px; }

/* While a sheet is open, nothing behind it blurs. iPhones redraw every backdrop blur under the sheet as the keyboard
   moves and the field changes, which made typing in a sheet (the phone step) lag. The dim overlay hides the difference. */
body.noscroll :not(.sheet-bg):not(.sheet-bg *) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---------- Sell: the camera, then a sheet or photos right under it ---------- */
#home-cam .vf { height: min(50dvh, 480px); }
.sell-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.sell-ways button { display: grid; justify-items: start; align-content: start; gap: 2px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s var(--ease), transform .14s var(--ease); }
.sell-ways button:active { background: var(--card-2); transform: scale(.98); }
.sell-ways svg { width: 22px; height: 22px; margin-bottom: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sell-ways b { font-size: 15px; font-weight: 500; }
.sell-ways small { font-size: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .sell-ways button:hover { background: var(--card-2); } }

/* ---------- Deals: the seller's dashboard ---------- */
.sd-hero { padding: 20px 20px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.sd-k { display: block; font-size: 13px; color: var(--muted); }
.sd-amt { display: block; margin: 4px 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.sd-sub { display: block; font-size: 14px; color: var(--muted); }
/* seller levels: a quiet "coming soon", nothing more yet */
.sd-soon { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sep); font-size: 14px; color: var(--muted); }
.sd-soon em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.sd-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sd-fig { display: block; min-width: 0; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; }
button.sd-fig { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s var(--ease); }
button.sd-fig:active { background: var(--card-2); }
@media (hover: hover) and (pointer: fine) { button.sd-fig:hover { background: var(--card-2); } }
.sd-fig span { display: block; font-size: 13px; color: var(--muted); }
.sd-fig b { display: block; margin-top: 4px; font-family: var(--display); font-stretch: 112.5%; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sd-fig small { display: block; margin-top: 2px; overflow: hidden; font-size: 12px; color: var(--faint); white-space: nowrap; text-overflow: ellipsis; }
.sd-title { margin-top: 32px; }
.section-title.sd-group { margin: 20px 4px 8px; font-family: var(--sans); font-stretch: 100%; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
@media (min-width: 900px) {
  .sd-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sd-hero { padding: 28px 32px 20px; }
  .sd-amt { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { .sell-ways button { transition: none; } }
#hero [data-renew] { margin-top: 20px; }

/* ---------- the offer's clock, right above Accept ----------
   A bar that drains over the offer's 24 hours, with time left and until when. Quiet white, amber in the last
   hour (when the reminder goes out). Tap it: the line says why offers expire. */
.exp { display: block; width: 100%; margin: 0 0 12px; padding: 4px 4px 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .14s var(--ease); }
.exp:active { transform: scale(.98); }
.exp:focus-visible { outline: 2px solid rgba(255,255,255,.5); outline-offset: 4px; border-radius: 8px; }
.exp-row { display: grid; min-height: 20px; }
.exp-now, .exp-why { grid-area: 1 / 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 20px; transition: opacity .2s ease, filter .2s ease; }
.exp-now b { font-weight: 500; font-variant-numeric: tabular-nums; }
.exp-now span { color: var(--muted); font-variant-numeric: tabular-nums; }
.exp-why { color: var(--muted); opacity: 0; filter: blur(2px); }
.exp.why .exp-now { opacity: 0; filter: blur(2px); }
.exp.why .exp-why { opacity: 1; filter: none; }
.exp-track { display: block; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: var(--line); }
.exp-track i { display: block; height: 100%; border-radius: 2px; background: rgba(255,255,255,.72); transform-origin: left center; transition: transform .7s cubic-bezier(.23,1,.32,1), background-color .2s ease; }
/* first sight: it drains from full to where it is, once, so time already gone reads at a glance */
@starting-style { .exp-track i { transform: scaleX(1); } }
.exp.soon .exp-now b { color: var(--warn); }
.exp.soon .exp-track i { background: var(--warn); }
/* the shipping clock past due: red, the bar draining over the 8 hours until the deal is cancelled */
.exp.late .exp-now b { color: var(--bad); }
.exp.late .exp-track i { background: var(--bad); }
@media (min-width: 900px) {
  body.wide-sheet .bar .exp { order: 0; width: 280px; margin: 0 auto 0 0; padding: 0; }
  body.wide-sheet #step-bar .exp { width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp, .exp-track i { transition: none; }
  .exp-now, .exp-why { transition: opacity .2s ease; filter: none; }
}
/* with the clock in it, the bar is solid behind the clock (the page fades out above it, not under the words), and
   the page scrolls far enough that its last line clears the taller bar */
.bar:has(.exp:not(.hidden)) { padding-top: 24px; background: linear-gradient(to top, var(--bg) calc(100% - 24px), rgba(0,0,0,0)); }
.app:has(.exp:not(.hidden)) .scroll { padding-bottom: calc(176px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.wide-sheet .bar:has(.exp:not(.hidden)) { padding-top: 12px; background: var(--bg); } }

/* Signing up: three steps when texting is on (your email, your details, your phone), the bar says which */
.su-steps { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.su-bar { display: flex; gap: 4px; }
.su-bar i { width: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); transition: background-color .3s var(--ease); }
.su-bar i.on { background: var(--text); }

/* ================= The website on a phone (signed out home), unslopped Nov 16, 2026 =================
   The hero runs edge to edge (no box around it), the fanned slabs with our offer are the one moment and the only
   place the lavender light sits. One primary way in (the camera), one secondary (the sheet), photos a quiet link,
   in that order at the top and the bottom. Facts and what we buy are ruled lists, not tiles and chips. */
html:not(.native) body.out #home::before { content: none; }
#home-pitch.sell-hero { margin: 0 -16px 8px; padding: 12px 20px 8px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: hidden; }
#home-pitch.sell-hero h1 { font-size: 32px; line-height: 36px; }
#home-pitch.sell-hero .sub { margin-top: 12px; font-size: 16px; line-height: 24px; }
#home-pitch .sh-fan { height: 312px; margin: 16px -20px 0; }
#home-pitch .sh-fan .fan { top: 40px; width: 128px; border-radius: 8px; }
#home-pitch .sh-fan .fan.l { transform: translateX(-122%) rotate(-9deg); }
#home-pitch .sh-fan .fan.r { transform: translateX(22%) rotate(9deg); }
#home-pitch .sh-fan .fan.c { top: 16px; width: 152px; }
#home-pitch .sh-price { right: 20px; bottom: 16px; padding: 12px 16px; min-width: 168px; }
#home-pitch .sh-price b { font-size: 28px; line-height: 32px; }
#home-pitch .sh-actions { gap: 8px; margin-top: 8px; }
#home-pitch .sh-scan { min-height: 64px; border-radius: 16px; }
#home-pitch .sh-sheet { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: var(--card); font-size: 16px; font-weight: 500; text-align: center; }
#home-pitch .sh-sheet svg { width: 20px; height: 20px; color: var(--muted); }
#home-pitch .sh-photos { justify-self: center; padding: 8px 12px; border: 0; background: none; font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.24); }
#home-pitch .sh-sheet:active, #home-pitch .sh-photos:active { transform: scale(.98); }
@media (hover: hover) { #home-pitch .sh-sheet:hover { background: #151517; } #home-pitch .sh-photos:hover { color: var(--text); } }

#home-out .section-title { margin: 32px 0 12px; font-size: 22px; line-height: 28px; text-wrap: balance; }
#home-out > .section-title:first-child { margin-top: 24px; }
#home-out .how-n { border-color: rgba(255,255,255,.18); }
#home-out .m-lead { margin: 0 0 12px; font-size: 15px; line-height: 22px; }

.facts { margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 156px 1fr; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-stretch: 112.5%; font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }

.buy-list { margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.buy-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.buy-list dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.buy-list dd { margin: 0; font-size: 15px; line-height: 20px; color: var(--text); }

#home-out .how-cta { display: grid; gap: 8px; margin: 32px 0 8px; }
#home-out .how-cta .text-link { margin-top: 8px; }

/* Before you ship: the answers a first-time seller needs before sending slabs, from the FAQ and Rates pages */
.ship-list { margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.ship-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ship-list dt { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--text); }
.ship-list dd { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }

/* What "% of market" means, under any list of slabs that shows it (offer page, phone home) */
.mkt-note { margin: 12px 4px 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.mkt-note b { font-weight: 500; color: var(--text); }

/* under Accept on an offer: no fees, ever */
.bar-fee { margin: 8px 0 0; font-size: 13px; line-height: 18px; text-align: center; color: var(--muted); }

/* ---------- Payouts: follows each deal's money to them ---------- */
.bal-window { background: #050506; } /* no lavender wash on the money */
.route { display: flex; gap: 4px; list-style: none; margin: 16px 0 0; padding: 0; }
.route li { flex: 1; min-width: 0; }
.route i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.route span { display: block; margin-top: 8px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route .done i { background: #fff; }
.route .done span { color: var(--muted); }
.route .now i { background: var(--cashout); }
.route .now span { color: var(--text); }
.pay-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 12px 0 0; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s var(--ease); }
.pay-to:hover { background: var(--card-2); }
.pay-to small { display: block; font-size: 13px; color: var(--muted); }
.pay-to b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.pay-to-act { font-size: 14px; color: var(--muted); }
.held { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.held.hidden { display: none; }
.held b { display: block; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.held small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.held .btn { flex: none; }
.funds.hidden { display: none; }
.fund-rows li i { background: rgba(255,255,255,.32); }
.fund-rows li.sending i { background: var(--cashout); }
.fund-rows .mono { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.fund-rows b { font-variant-numeric: tabular-nums; font-weight: 500; }

/* deal page: how do you want to get paid, as a list */
.pay-ways { display: grid; gap: 8px; margin-top: 16px; }
.pay-way { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.pay-way:hover { background: var(--card-2); }
.pay-way:active { transform: scale(.99); }
.pay-way.on { border-color: rgba(255,255,255,.4); }
.pay-way > span { flex: 1; min-width: 0; }
.pay-way b { display: block; font-size: 16px; font-weight: 500; }
.pay-way small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.pay-way .chev { font-style: normal; color: var(--faint); font-size: 20px; }

/* ================= Payouts: a receipt per deal =================
   Quiet chrome; each deal reads like a receipt (ref, amount, a tear line, where it's paid). White marks where a
   deal is; green only when it's paid. */
.pv-sum { margin: -8px 0 24px; font-size: 15px; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-sum.hidden { display: none; }
.pv-h { margin: 0 0 12px; font-family: var(--sans); font-stretch: 100%; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pv-h-gap { margin-top: 32px; }
.pv-deals { display: grid; gap: 12px; }
.pv-deal { display: block; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.pv-deal:hover { border-color: rgba(255,255,255,.2); }
.pv-deal:active { background: var(--card-2); }
.pv-deal:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.pv-top { display: flex; align-items: baseline; gap: 8px; }
.pv-ref { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.pv-n { font-size: 13px; color: var(--faint); }
.pv-amt { margin-left: auto; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.pv-what { margin: 16px 0 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.pv-deal.late .pv-what { color: #f5b06b; }
.pv-next { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.pv-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 16px 0 0; padding: 0; }
.pv-track li { padding-top: 8px; border-top: 3px solid rgba(255,255,255,.12); font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-track li.done { border-top-color: rgba(255,255,255,.5); color: var(--muted); }
.pv-track li.now { border-top-color: #fff; color: var(--text); }
.pv-track li.now.paid { border-top-color: var(--cashout); }
.pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.16); }
.pv-to { min-width: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-act { flex: none; padding: 8px 16px; border-radius: 10px; background: #f5f5f4; color: #0b0b0c; font-size: 14px; font-weight: 500; }
.pv-quiet { margin: 0; padding: 16px 0; font-size: 14px; color: var(--muted); }
.pv-quiet a { color: var(--text); }
.pv-quiet.hidden, .pv-how.hidden { display: none; }
.pv-how { list-style: none; counter-reset: pv; margin: 0; padding: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.pv-how li { counter-increment: pv; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 16px 20px; }
.pv-how li + li { border-top: 1px solid var(--sep); }
.pv-how li::before { content: counter(pv); grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--faint); line-height: 22px; }
.pv-how b { font-size: 15px; font-weight: 500; line-height: 22px; }
.pv-how span { font-size: 14px; color: var(--muted); }
.pv-way { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s var(--ease); }
.pv-way:hover { border-color: rgba(255,255,255,.2); }
.pv-way-to { min-width: 0; font-family: var(--mono); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-way-act { flex: none; font-size: 14px; color: var(--muted); }
.pv-note { margin: 8px 4px 0; font-size: 13px; line-height: 1.45; color: var(--faint); }
.pv-ledger { border-top: 1px solid var(--sep); }
.pv-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sep); }
.pv-date { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pv-row-what b { display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.pv-row-what small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-row-amt { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pv-row.void .pv-row-amt { text-decoration: line-through; color: var(--faint); }
.pv-total { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-total b { color: var(--text); font-weight: 500; font-size: 15px; }
.pv-promo { margin-top: 32px; }
#wal-in.pv > .col-b { margin-top: 32px; } /* phone: a clear break between the deals and how we pay you */
.pv-way-to.unset { font-family: var(--sans); color: var(--muted); }

/* bonus money (referral rewards, story bonuses): bind's purple gradient, lilac into violet, as the text color */
.bonus-txt { background: linear-gradient(90deg, #ede6ff 0%, #c4b5fd 35%, #a78bfa 70%, #8b5cf6 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent !important; text-shadow: none !important; } /* a utility: it wins over the element's own color */

/* Buying is paused: one card on bind's purple where the ways to sell were (the scan, sheet and photo buttons hide).
   The purple is the site's own light (forms.js, data-gradient), the mass on the right; the card is near-black under it */
.paused-card { display: grid; gap: 4px; padding: 20px 20px 20px 44px; position: relative; border-radius: 16px; color: #fff; text-align: left;
  background: #05060a; border: 1px solid rgba(167,139,250,.22); text-shadow: 0 1px 10px rgba(12,4,40,.7); }
.paused-card b { font-size: 16px; font-weight: 600; line-height: 22px; }
.paused-card p { margin: 0; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.82); }
.paused-card .pc-dot { position: absolute; left: 20px; top: 27px; width: 8px; height: 8px; border-radius: 50%; background: #ede6ff; box-shadow: 0 0 0 3px rgba(237,230,255,.25); }
.paused-card .pc-text { justify-self: start; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.paused-card.nudge { animation: pc-nudge .4s cubic-bezier(.2,.8,.2,1); }
@keyframes pc-nudge { 30% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .paused-card.nudge { animation: none; } }
body.out .paused-card { display: none; } /* signed out: the app as it was */
body.paused:not(.out) [data-start], body.paused:not(.out) #home-cam > :not(.paused-card), body.paused:not(.out) #home-desk > :not(.paused-card), body.paused:not(.out) #add .ways, body.paused:not(.out) #see-example,
body.paused:not(.out) #draft-card { display: none !important; }
body.paused:not(.out) #home-desk { padding: 0; border: 0; background: none; }
body.paused:not(.out) #add .paused-card { margin: 8px 0 16px; }
body.paused:not(.out) #add .scroll > :not(.large-title):not(.paused-card), body.paused:not(.out) #add > .bar { display: none !important; } /* no typing slabs in either, no send */
body.paused:not(.out) #home-pitch .paused-card, body.paused:not(.out) .how-cta .paused-card, body.paused:not(.out) #deals-out .paused-card, body.paused:not(.out) .aw-actions .paused-card { margin-bottom: 4px; }
