/* collectibles.bid — built on the watch.bid stylesheet (same markup), re-skinned with the .bid v2 design system at the end of this file. */
@font-face { font-family: 'Cormorant'; src: url('/static/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/static/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07070a; --bg2: #0d0d12; --bg3: #14141b; --line: rgba(232, 214, 176, .12); --line2: rgba(232, 214, 176, .22);
  --ink: #f3efe6; --ink2: #c9c3b5; --muted: #8c8676; --faint: #5d5a51;
  --gold: #c9a45c; --gold2: #e8cf95; --gold3: #8a6a2f; --ok: #8fd19e; --bad: #f08a7a;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px; --r: 18px;
  color-scheme: dark;
}
/* Light "ivory & gold" theme — chosen with the button in the top bar (dark stays the default).
   The 3D hero is a black stage in both themes, so it and the bar floating over it keep the dark tokens. */
:root[data-theme=light] {
  --bg: #f7f3ea; --bg2: #fffdf8; --bg3: #efe9dc; --line: rgba(70, 52, 14, .14); --line2: rgba(70, 52, 14, .28);
  --ink: #17140d; --ink2: #3b3629; --muted: #675f4d; --faint: #8a826d;
  --gold: #8a641c; --gold2: #76540f; --gold3: #c9a45c; --ok: #1b7a3d; --bad: #b3261e;
  color-scheme: light;
}
:root[data-theme=light] .h3d, :root[data-theme=light] body.is-home .wtop:not(.solid) {
  --bg: #07070a; --bg2: #0d0d12; --bg3: #14141b; --line: rgba(232, 214, 176, .12); --line2: rgba(232, 214, 176, .22);
  --ink: #f3efe6; --ink2: #c9c3b5; --muted: #8c8676; --faint: #5d5a51; --gold: #c9a45c; --gold2: #e8cf95; --gold3: #8a6a2f;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: #000; padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--gold); color: #000; }

/* type */
.wchap { font: 500 11.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.wchap span { color: var(--gold2); }
.wdisplay { font: 400 clamp(52px, 8.4vw, 118px)/.92 var(--serif); letter-spacing: -.02em; margin: 0 0 26px; }
.wh1 { font: 400 clamp(40px, 5.4vw, 72px)/1 var(--serif); letter-spacing: -.015em; margin: 0 0 18px; }
.wh2 { font: 400 clamp(36px, 4.6vw, 64px)/1.02 var(--serif); letter-spacing: -.015em; margin: 0 0 20px; }
.wh3 { font: 500 26px/1.15 var(--serif); margin: 34px 0 14px; color: var(--ink); }
.wdisplay em, .wh1 em, .wh2 em { font-style: italic; color: var(--gold2); font-weight: 400; }
.wlead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: var(--ink2); max-width: 560px; margin: 0 0 26px; }
.wserif { font: 400 28px/1.2 var(--serif); margin: 0 0 8px; }
.wlabel { font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.wmuted { color: var(--muted); } .small { font-size: 13.5px; }
.wlink { color: var(--gold2); text-decoration: none; border-bottom: 1px solid var(--gold3); padding-bottom: 1px; }
.wlink:hover { color: var(--ink); border-color: var(--gold2); }

/* buttons */
.wbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.wbtn.gold { background: linear-gradient(180deg, #e9d29c, #c9a45c 55%, #a8843f); color: #120d03; box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.wbtn.gold:hover { box-shadow: 0 16px 36px -12px rgba(201, 164, 92, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
.wbtn.ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: var(--line2); }
.wbtn.ghost:hover { border-color: var(--gold); color: var(--gold2); }
.wbtn.sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.wbtn.xs { min-height: 30px; padding: 0 12px; font-size: 12px; }
.wbtn.block { width: 100%; }
.wbtn[disabled] { opacity: .45; pointer-events: none; }
.wbtn[aria-pressed="true"] { color: var(--gold2); border-color: var(--gold3); }
.wcta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 34px; }

/* header */
.wtop { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.wtop.solid, body:not(.is-home) .wtop { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.wtop-in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; gap: 28px; }
.wlogo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wlogo svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.wlogo span { font: 500 25px/1 var(--serif); letter-spacing: .01em; }
.wlogo i { font-style: italic; color: var(--gold2); }
.wnav { display: flex; gap: 4px; margin-left: auto; }
.wnav a { text-decoration: none; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); padding: 10px 14px; border-radius: 999px; transition: color .2s; }
.wnav a:hover, .wnav a.on { color: var(--gold2); }
.wtop-r { display: flex; align-items: center; gap: 10px; }
.wico { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .02); color: var(--ink2); cursor: pointer; text-decoration: none; }
.wico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wico b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #000; font: 700 10px/18px var(--sans); }
.wme { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line2); }
.wme img, .wme span { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--bg3); color: var(--gold2); font: 600 14px/1 var(--sans); }
.wme em { font-style: normal; font: 500 13px/1 var(--sans); }
.wmenu { display: none; }
.wdrawer { position: absolute; left: 12px; right: 12px; top: 76px; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r); padding: 10px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -20px #000; }
.wdrawer[hidden] { display: none; }
.wdrawer a { padding: 14px; text-decoration: none; border-radius: 12px; font: 500 15px/1 var(--sans); }
.wdrawer a:hover { background: var(--bg3); color: var(--gold2); }
.wbanner { position: relative; z-index: 40; margin-top: 72px; background: linear-gradient(90deg, rgba(201, 164, 92, .18), rgba(201, 164, 92, .06)); border-bottom: 1px solid var(--line2); padding: 12px 28px; text-align: center; font-size: 14px; color: var(--gold2); }
.wbanner.bad { background: rgba(240, 138, 122, .1); color: var(--bad); }
.wbanner + main .wsec.top { padding-top: 56px; }

/* sections */
.wwrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wnarrow { max-width: 860px; }
.wsec { padding: 110px 0; position: relative; }
.wsec.top { padding-top: 140px; }
.wsec.dark2 { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wsec-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.wsec-head .wchap { width: 100%; margin-bottom: 0; }
.wsec-head .wh2 { margin: 0; }
.wsec-head .wlink { margin-left: auto; margin-bottom: 12px; }
.wsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

/* ---------- 3D hero (scrollytelling) ---------- */
.h3d { position: relative; }
.h3d-stage { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; z-index: 0;
  background: radial-gradient(70% 60% at 68% 45%, rgba(201, 164, 92, .10), transparent 60%), radial-gradient(120% 90% at 50% 120%, #15120c, transparent 60%), var(--bg); }
.h3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
.h3d.ready .h3d-canvas { opacity: 1; }
.h3d-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, transparent 55%, rgba(0, 0, 0, .65)), linear-gradient(180deg, rgba(7, 7, 10, .55), transparent 18%, transparent 80%, var(--bg)); }
.h3d-fallback { position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 4vw; transition: opacity .8s; }
.h3d-fallback img { width: min(60vw, 720px); height: auto; opacity: .95; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.h3d.ready .h3d-fallback { opacity: 0; }
.h3d-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.h3d-step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: var(--wrap); margin: 0 auto; padding: 120px 28px 80px; }
.h3d-step > * { max-width: 560px; }
.h3d-step[data-step="1"], .h3d-step[data-step="3"] { align-items: flex-end; text-align: right; }
.h3d-step[data-step="1"] .wlead, .h3d-step[data-step="3"] .wlead { margin-left: auto; }
.h3d-step[data-step="3"] .wcta { justify-content: flex-end; }
.h3d-step .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.h3d-step.in .reveal { opacity: 1; transform: none; }
.wfig { display: flex; gap: 0; margin: 0; border-top: 1px solid var(--line2); padding-top: 22px; }
.wfig div { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.wfig div:last-child { border: 0; }
.wfig dt { font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.wfig dd { margin: 0; font: 400 46px/1 var(--serif); color: var(--gold2); }
.wticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.wticks li { padding-left: 30px; position: relative; color: var(--ink2); line-height: 1.6; }
.wticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 1px; background: var(--gold); }
.wticks b { color: var(--ink); font-weight: 600; }
.h3d-step[data-step="1"] .wticks li, .h3d-step[data-step="3"] .wticks li { text-align: left; }
.h3d-progress { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 14px; transition: opacity .4s; }
.h3d-progress i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--gold3); transition: background .3s, transform .3s; }
.h3d-progress i.on { background: var(--gold); transform: scale(1.4); }
.h3d-progress.off { opacity: 0; }

/* cards */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.wcard { display: flex; flex-direction: column; text-decoration: none; background: linear-gradient(180deg, var(--bg3), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .35s; }
.wcard:hover { border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(201, 164, 92, .35); }
.wcard-img { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #1d1b16, #0b0b0e); overflow: hidden; }
.wcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.wcard:hover .wcard-img img { transform: scale(1.04); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; font: 400 60px/1 var(--serif); color: var(--faint); }
.wcard-time { position: absolute; left: 12px; bottom: 12px; background: rgba(7, 7, 10, .78); backdrop-filter: blur(6px); border: 1px solid rgba(232, 214, 176, .22); color: #e8cf95; font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 8px 11px; border-radius: 999px; }
.wcard-time.done { color: var(--ink2); }
.wcard-tag { position: absolute; right: 12px; top: 12px; background: var(--gold); color: #000; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.wcard-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 20px; }
.wcard-brand { font: 600 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.wcard-body b { font: 500 24px/1.15 var(--serif); }
.wcard-meta { color: var(--muted); font-size: 13px; min-height: 20px; }
.wcard-price { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 10px; font: 600 19px/1 var(--sans); }
.wcard-price small:first-child { grid-column: 1 / -1; }
.wcard-price small { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wcard-price .bids { letter-spacing: 0; text-transform: none; }
.wempty { border: 1px dashed var(--line2); border-radius: var(--r); padding: 56px 28px; text-align: center; color: var(--ink2); }
.wempty .wbtn { margin-top: 16px; }

/* steps, tools, faq */
.wsteps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 2px; }
.wsteps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.wsteps li::before { content: counter(s, upper-roman); grid-row: span 2; font: 400 30px/1 var(--serif); color: var(--gold); }
.wsteps b { font: 500 22px/1.2 var(--serif); }
.wsteps span { color: var(--ink2); }
.wtools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wtools a { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; background: rgba(255, 255, 255, .015); transition: border-color .3s, transform .3s; }
.wtools a:hover { border-color: var(--gold3); }
.wtools b { font: 500 24px/1.15 var(--serif); }
.wtools span { color: var(--ink2); font-size: 14.5px; }
.wfaq details { border-bottom: 1px solid var(--line); }
.wfaq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 500 22px/1.3 var(--serif); }
.wfaq summary::-webkit-details-marker { display: none; }
.wfaq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 var(--sans); color: var(--gold); transition: transform .3s; }
.wfaq details[open] summary::after { transform: rotate(45deg); }
.wfaq p { margin: 0 0 22px; color: var(--ink2); max-width: 680px; }

/* filters, forms */
.wfilter { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 34px; align-items: center; }
.wfilter input[type=search] { flex: 1 1 260px; }
input, select, textarea { font: 400 15px/1.4 var(--sans); color: var(--ink); background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; min-height: 46px; width: 100%; }
.wfilter input, .wfilter select { width: auto; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
.wcheck { display: inline-flex; align-items: center; gap: 9px; color: var(--ink2); font-size: 14.5px; cursor: pointer; }
.wcheck input { width: 18px; height: 18px; min-height: 0; accent-color: var(--gold); }
.wform { display: grid; gap: 18px; max-width: 900px; }
.wform label { display: grid; gap: 8px; font: 500 14px/1.3 var(--sans); color: var(--ink); }
.wform label small { font-weight: 400; color: var(--muted); }
.wform label.wcheck { display: inline-flex; }
.wform fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0; display: grid; gap: 16px; background: rgba(255, 255, 255, .012); }
.wform legend { font: 500 22px/1 var(--serif); padding: 0 8px; color: var(--gold2); }
.wform legend small { font: 400 13px var(--sans); color: var(--muted); }
.wform-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wform-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wform-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.filebtn { position: relative; width: fit-content; }
.ph-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ph-grid li { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg3); }
.ph-grid li:first-child { border-color: var(--gold); }
.ph-grid img { width: 100%; height: 100%; object-fit: cover; }
.ph-progress { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .6); font: 600 13px var(--sans); color: #e8cf95; }
.ph-tools { position: absolute; inset: auto 6px 6px; display: flex; gap: 4px; justify-content: flex-end; }
.ph-tools button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.proof { display: flex; gap: 14px; align-items: center; }
.proof img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line2); }
.form-msg { min-height: 1em; margin: 0; font-size: 14px; color: var(--ink2); }
.form-msg.err { color: var(--bad); } .form-msg.good { color: var(--ok); }
.wflash { padding: 14px 18px; border-radius: 12px; margin: 0 0 22px; font-size: 14.5px; }
.wflash.ok { background: rgba(143, 209, 158, .08); border: 1px solid rgba(143, 209, 158, .3); color: var(--ok); }
.wflash.bad { background: rgba(240, 138, 122, .08); border: 1px solid rgba(240, 138, 122, .3); color: var(--bad); }
.wnote { border: 1px solid var(--line2); background: rgba(201, 164, 92, .06); border-radius: 14px; padding: 16px 18px; color: var(--ink2); margin: 0 0 22px; }
.wnote.bad { border-color: rgba(240, 138, 122, .35); background: rgba(240, 138, 122, .06); }
.wnote ul { margin: 8px 0 0; padding-left: 18px; }
.wnote a { color: var(--gold2); }
.wdev { display: grid; gap: 8px; max-width: 320px; margin-top: 18px; padding: 16px; border: 1px dashed var(--line2); border-radius: 14px; }

/* lot page */
.wcrumbs { display: flex; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.wcrumbs a { text-decoration: none; } .wcrumbs a:hover { color: var(--gold2); }
.lot { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: start; }
.lot-main { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1d1b16, #0b0b0e); border: 1px solid var(--line); }
.lot-main img { width: 100%; height: 100%; object-fit: cover; }
.lot-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.lot-thumbs button { flex: 0 0 82px; height: 82px; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.lot-thumbs button.on, .lot-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.lot-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lot-side { position: sticky; top: 96px; }
.wbrand { font: 600 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.lot-title { margin-bottom: 8px; }
.lot-sub { color: var(--ink2); margin: 0 0 24px; }
.bidbox { border: 1px solid var(--line2); border-radius: 22px; padding: 24px; background: linear-gradient(180deg, rgba(201, 164, 92, .07), rgba(255, 255, 255, .01)); }
.bb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-row small { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bb-row b { font: 400 40px/1 var(--serif); color: var(--gold2); }
.bb-row div + div b { color: var(--ink); }
.bb-meta { color: var(--muted); font-size: 13.5px; margin: 16px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.bb-meta .ok { color: var(--ok); }
.bb-form { display: grid; gap: 10px; }
.bb-input { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; background: var(--bg); padding-left: 18px; }
.bb-input span { color: var(--gold2); font: 500 18px var(--sans); }
.bb-input input { border: 0; background: transparent; font: 600 20px/1 var(--sans); min-height: 54px; }
.bb-input input:focus { box-shadow: none; }
.bb-hint, .bb-note { color: var(--muted); font-size: 13px; margin: 0; }
.bb-won { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.bb-won > b { color: var(--ok); }
.wcontact { display: grid; gap: 6px; margin: 10px 0 0; }
.wcontact div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; font-size: 14px; }
.wcontact dt { color: var(--muted); } .wcontact dd { margin: 0; word-break: break-word; }
.lot-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.lot-actions form { margin: 0; }
.seller { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.seller > div { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--ink2); }
.seller small { font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.seller a { text-decoration: none; } .seller b { font: 500 21px/1.1 var(--serif); color: var(--ink); }
.gv { color: var(--gold2); font-size: 12.5px; }
.av { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg3); border: 1px solid var(--line2); color: var(--gold2); font: 500 20px/1 var(--serif); text-transform: uppercase; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.xl { width: 96px; height: 96px; font-size: 40px; }
.lot-lower { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; margin-top: 30px; }
.wprose p { color: var(--ink2); line-height: 1.8; margin: 0 0 16px; white-space: pre-line; }
.wspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.wspecs div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.wspecs dt { color: var(--muted); } .wspecs dd { margin: 0; text-align: right; }
.whist { list-style: none; padding: 0; margin: 0 0 22px; }
.whist li { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
.whist b { font-weight: 600; color: var(--gold2); }
.whist small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.wreport { margin-top: 18px; color: var(--muted); font-size: 13.5px; }
.wreport summary { cursor: pointer; }
.wreport form { display: grid; gap: 8px; margin-top: 10px; }

/* member area */
.mehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.mehead .wh1 { margin-bottom: 8px; }
.mehead-r { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.mehead-r form { margin: 0; }
.wstatus { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink2); }
.wstatus.approved, .wstatus.live { color: var(--ok); border-color: rgba(143, 209, 158, .35); }
.wstatus.pending { color: var(--gold2); border-color: var(--gold3); }
.wstatus.rejected, .wstatus.suspended { color: var(--bad); border-color: rgba(240, 138, 122, .35); }
.metabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 22px 0 30px; }
.metabs a { text-decoration: none; padding: 14px 16px; font: 500 14px/1 var(--sans); color: var(--ink2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.metabs a.on { color: var(--gold2); border-color: var(--gold); }
.metabs a b { background: var(--gold); color: #000; border-radius: 9px; padding: 1px 6px; font-size: 11px; }
.metabs .metabs-cta { margin-left: auto; color: var(--gold2); }
.mestats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 30px; }
.mestats div { border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.mestats small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.mestats b { font: 400 38px/1 var(--serif); color: var(--gold2); }
.metwo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; }
.metwo .wh3 { margin-top: 0; }
.mlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mlist li { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.mlist-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--bg3); color: var(--faint); text-decoration: none; }
.mlist-img img { width: 100%; height: 100%; object-fit: cover; }
.mlist li > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.mlist a { text-decoration: none; } .mlist b { font: 500 21px/1.15 var(--serif); }
.mlist small { color: var(--muted); font-size: 13px; } .mlist small.bad { color: var(--bad); }
.mlist-act { display: flex; gap: 8px; flex-direction: row !important; }
.mlist-act form { margin: 0; }
.mthreads { list-style: none; padding: 0; margin: 0; }
.mthreads a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mthreads b { font: 500 18px/1.2 var(--serif); }
.mthreads span { grid-column: 1; color: var(--gold); font-size: 12.5px; letter-spacing: .04em; }
.mthreads small { grid-column: 1; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mthreads em { grid-column: 2; grid-row: 1; font-style: normal; color: var(--muted); font-size: 12px; }
.mthreads .unread small { color: var(--ink); }
.chat { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg2); }
.chat-head { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chat-head > div:nth-child(2) { display: flex; flex-direction: column; }
.chat-head b { font: 500 21px/1.1 var(--serif); }
.chat-head a { color: var(--gold); font-size: 13px; text-decoration: none; }
.chat-tools { margin-left: auto; display: flex; gap: 8px; }
.chat-tools form { margin: 0; }
.chat-list { list-style: none; margin: 0; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; max-height: 58vh; min-height: 260px; overflow-y: auto; }
.chat-list li { max-width: 78%; padding: 12px 15px; border-radius: 18px; background: var(--bg3); border: 1px solid var(--line); }
.chat-list li p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.chat-list li small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 6px; }
.chat-list li.me { align-self: flex-end; background: linear-gradient(180deg, rgba(201, 164, 92, .22), rgba(201, 164, 92, .12)); border-color: var(--gold3); border-bottom-right-radius: 6px; }
.chat-list li.them { border-bottom-left-radius: 6px; }
.chat-list li.sys { align-self: center; max-width: 92%; background: none; border: 1px dashed var(--line2); color: var(--ink2); font-size: 13.5px; text-align: center; }
.chat-list li.contact b { color: var(--gold2); }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { border-radius: 18px; min-height: 52px; }
.chat-blocked { padding: 18px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); margin: 0; }
.chat-rate { padding: 16px 18px; border-top: 1px solid var(--line); max-width: none; }
.stars { display: flex; gap: 10px; flex-wrap: wrap; color: var(--gold2); }
.chat .wreport { padding: 0 18px 16px; }
.wprofile { display: flex; gap: 26px; align-items: center; margin-bottom: 20px; }
.wrev { list-style: none; padding: 0; display: grid; gap: 12px; }
.wrev li { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.wrev b { color: var(--gold2); } .wrev p { margin: 6px 0; } .wrev small { color: var(--muted); }
.wauth { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.winfo section { border-top: 1px solid var(--line); }
.winfo p { color: var(--ink2); line-height: 1.8; margin: 0 0 22px; }

/* footer */
.wfoot { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg); position: relative; z-index: 3; }
.wfoot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.wfoot-in > div { display: flex; flex-direction: column; gap: 10px; }
.wfoot-in p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 10px 0 0; }
.wfoot-in a:not(.wlogo) { color: var(--ink2); text-decoration: none; font-size: 14px; }
.wfoot-in a:not(.wlogo):hover { color: var(--gold2); }
.wfoot-bottom { max-width: var(--wrap); margin: 50px auto 0; padding: 22px 28px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; letter-spacing: .08em; }

/* responsive */
@media (max-width: 1000px) {
  .wnav { display: none; } .wmenu { display: grid; } .wtop-r { margin-left: auto; }
  .lot, .lot-lower, .wsplit, .metwo, .wauth { grid-template-columns: 1fr; gap: 30px; }
  .lot-side { position: static; }
  .mestats { grid-template-columns: repeat(3, 1fr); }
  .wtools { grid-template-columns: 1fr; }
  .wfoot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wtop-in { padding: 0 16px; height: 64px; gap: 12px; }
  .wme em { display: none; } .wme { padding: 4px; }
  .wwrap { padding: 0 16px; }
  .wsec { padding: 76px 0; } .wsec.top { padding-top: 104px; }
  .h3d-step { padding: 90px 16px 60px; justify-content: flex-end; }
  .h3d-step[data-step="1"], .h3d-step[data-step="3"] { align-items: flex-start; text-align: left; }
  .h3d-step[data-step="1"] .wlead, .h3d-step[data-step="3"] .wlead { margin-left: 0; }
  .h3d-step[data-step="3"] .wcta { justify-content: flex-start; }
  .h3d-step > * { position: relative; }
  .h3d-step::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 7, 10, .85) 70%); pointer-events: none; }
  .h3d-step { position: relative; }
  .h3d-progress { display: none; }
  .wfig dd { font-size: 34px; } .wfig div { padding-right: 18px; margin-right: 18px; }
  .wgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wcard-body { padding: 12px; } .wcard-body b { font-size: 18px; } .wcard-meta { display: none; } .wcard-price { font-size: 15px; }
  .wform-2, .wform-3, .wspecs { grid-template-columns: 1fr; }
  .mestats { grid-template-columns: 1fr 1fr; }
  .mlist li { grid-template-columns: 60px 1fr; } .mlist-img { width: 60px; height: 60px; } .mlist-act { grid-column: 1 / -1; }
  .chat-list li { max-width: 90%; }
  .wfoot-in { grid-template-columns: 1fr; }
  .bb-row b { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .h3d-step .reveal { opacity: 1; transform: none; } }

/* theme button (sun / moon) */
.wico .moon { display: none; } [data-theme=light] .wico .sun { display: none; } [data-theme=light] .wico .moon { display: block; }
[data-theme=light] .wbtn.ghost, [data-theme=light] .wico { background: rgba(255, 255, 255, .6); }
[data-theme=light] .wtools a, [data-theme=light] .wform fieldset { background: var(--bg2); }
[data-theme=light] .wcard:hover { box-shadow: 0 30px 60px -30px rgba(120, 90, 30, .35); }
:root[data-theme=light] .h3d { background: #07070a; }
.wfoot-bottom { color: var(--muted); }
.wcard-tag { background: #c9a45c; }
.wcard-time.done { color: #c9c3b5; }
[data-theme=light] .h3d .wbtn.ghost, [data-theme=light] body.is-home .wtop:not(.solid) .wbtn.ghost, [data-theme=light] body.is-home .wtop:not(.solid) .wico { background: rgba(255, 255, 255, .04); }


/* ==========================================================================
   used.bid skin — .bid v2: warm paper + ink, one blue accent, Bricolage Grotesque display,
   Inter text, JetBrains Mono labels. Light by default; dark from the button or the device.
   ========================================================================== */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/static/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/static/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
:root, :root[data-theme=light] {
  --bg: #f6f2ea; --bg2: #efe8db; --bg3: #fffdf8; --card: #fffdf8; --line: #e3dacb; --line2: #cfc3ad;
  --ink: #0d0f12; --ink2: #2c3038; --muted: #5a606c; --faint: #6b7180;
  --gold: #8a5d1c; --gold2: #6d4a14; --gold3: #e5c98f; --ok: #157f3b; --bad: #b42318;
  --inv: #0d0f12; --inv-ink: #f5f3ee;
  --serif: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wrap: 1180px; --r: 18px; color-scheme: light;
}
:root[data-theme=dark] {
  --bg: #0a0b0e; --bg2: #101217; --bg3: #14161c; --card: #14161c; --line: #24272f; --line2: #363a45;
  --ink: #f2f0ea; --ink2: #d5d2ca; --muted: #a0a6b3; --faint: #8b91a0;
  --gold: #e0b464; --gold2: #f0cf8e; --gold3: #4a3612; --ok: #5dd58a; --bad: #ff8f80;
  --inv: #f2f0ea; --inv-ink: #0a0b0e; color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); font-feature-settings: "cv11", "ss01"; }
::selection { background: var(--gold); color: #fff; }
/* type */
.wdisplay { font: 800 clamp(48px, 8.8vw, 132px)/.9 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.wh1 { font: 800 clamp(36px, 5.4vw, 68px)/.98 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.wh2 { font: 700 clamp(30px, 4.2vw, 54px)/1 var(--serif); letter-spacing: -.04em; text-wrap: balance; }
.wh3 { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; }
.wdisplay em, .wh1 em, .wh2 em { font-style: normal; font-weight: inherit; color: var(--gold); }
.wserif { font-family: var(--serif); font-style: normal; font-weight: 700; letter-spacing: -.03em; }
.wchap, .wlabel, .wcard-brand, .wbrand, .wspecs dt, .bb-row small, .wcard-price small, .mestats small { font-family: var(--mono) !important; font-weight: 500 !important; letter-spacing: .09em !important; text-transform: uppercase; }
.wchap { font-size: 12px; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.wchap span { color: var(--gold); font-weight: 700; }
.wchap .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.wlead { color: var(--ink2); }
/* header: floating pill, always solid */
.wtop, .wtop.solid, body:not(.is-home) .wtop { background: transparent; border: 0; backdrop-filter: none; }
.wtop-in { margin: 10px auto 0; max-width: calc(var(--wrap) + 24px); width: calc(100% - 24px); padding: 7px 8px 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--card) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.wlogo { gap: 10px; color: var(--ink); }
.wlogo > i { width: 28px; height: 28px; border-radius: 8px; background: var(--gold); color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--serif); font-style: normal; }
[data-theme=dark] .wlogo > i { color: #0a0b0e; }
.wlogo span { font: 700 17px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.wlogo span i { font-style: normal; color: var(--muted); font-weight: 500; }
.wnav a { font: 500 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink2); padding: 9px 12px; border-radius: 999px; }
.wnav a:hover, .wnav a.on { color: var(--ink); background: var(--bg2); }
.wnav a.on::after { display: none; }
.wico { background: transparent; color: var(--ink); border-color: var(--line); }
.wico:hover { background: var(--bg2); }
.wme { color: var(--ink); }
.wdrawer { background: var(--card); }
@media (max-width: 720px) { .hide-s { display: none !important; } }
/* buttons: ink pill (primary), outline pill (secondary) */
.wbtn { font: 600 15px/1 var(--sans); letter-spacing: 0; text-transform: none; border-radius: 999px; }
.wbtn.gold { background: var(--inv); color: var(--inv-ink); border-color: var(--inv); box-shadow: none; }
.wbtn.gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: none; }
[data-theme=dark] .wbtn.gold:hover { color: #0a0b0e; }
.wbtn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.wbtn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.wbtn[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.wlink { color: var(--gold); }
.wlink:hover { color: var(--ink); }
/* sections */
.wsec { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.wsec.top { padding-top: clamp(40px, 6vw, 72px); border-top: 0; }
.wsec.dark2 { background: var(--bg2); }
.wsplit { gap: 24px 56px; }
/* hero */
.uhero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.uhero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 0, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.uhero > .wwrap { position: relative; }
.uhero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); }
.uhero-meta .wchap { margin: 0; color: var(--ink); }
.uhero .wdisplay { margin-bottom: clamp(20px, 3vw, 32px); }
.uhero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; border-top: 1px solid var(--ink); padding-top: 22px; }
.uhero-row .wlead { margin: 0; font: 500 clamp(18px, 2vw, 22px)/1.4 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.uhero-row .wcta { justify-content: flex-end; margin: 0; }
.usearch { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr) auto; gap: 8px; margin-top: 28px; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 18px 40px -28px rgba(13, 15, 18, .35); }
.usearch input { border: 0 !important; background: transparent !important; min-height: 48px; padding: 0 16px; font-size: 16px; box-shadow: none !important; }
.usearch input + input { border-left: 1px solid var(--line) !important; border-radius: 0; }
@media (max-width: 820px) { .uhero-row { grid-template-columns: 1fr; } .uhero-row .wcta { justify-content: flex-start; } .usearch { grid-template-columns: 1fr; border-radius: 22px; } .usearch input + input { border-left: 0 !important; border-top: 1px solid var(--line) !important; } }
/* categories */
.ucats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.ucats a { display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; gap: 4px 12px; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .2s, background .2s; }
.ucats a:nth-child(3n+2), .ucats a:nth-child(3n) { padding-left: 18px; border-left: 1px solid var(--line); }
.ucats a:hover { background: var(--card); }
.ucats small { grid-row: 1 / 3; font: 500 12px/1.6 var(--mono); color: var(--gold); }
.ucats b { font: 700 clamp(19px, 2vw, 24px)/1.15 var(--serif); letter-spacing: -.025em; }
.ucats span { grid-column: 2; color: var(--muted); font-size: 14px; }
.ucats em { grid-row: 1; grid-column: 3; font: 500 11px/1.6 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .ucats { grid-template-columns: 1fr 1fr; } .ucats a:nth-child(n) { padding-left: 0; border-left: 0; } .ucats a:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .ucats { grid-template-columns: 1fr; } .ucats a:nth-child(2n) { padding-left: 0; border-left: 0; } }
.uchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.uchips a { padding: 9px 14px; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; color: var(--ink2); font-size: 14px; font-weight: 500; }
.uchips a:hover { border-color: var(--ink); color: var(--ink); }
.uchips a.on { background: var(--inv); color: var(--inv-ink); border-color: var(--inv); }
/* cards */
.wcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.wcard:hover { border-color: var(--ink); box-shadow: none; }
.wcard-img { background: var(--bg2); }
.wcard-tag { background: var(--card); color: var(--ink); font-family: var(--mono); letter-spacing: .06em; border: 1px solid var(--line); }
.wcard-time { background: rgba(13, 15, 18, .78); border-color: transparent; color: #f5f3ee; font-family: var(--mono); letter-spacing: .02em; }
.wcard-time.done { color: #f5f3ee; }
.wcard b { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
.wcard-brand i { font-style: normal; color: var(--muted); }
.wcard-price { font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums; }
.wcard-meta { color: var(--muted); }
.noimg { color: var(--line2); }
/* forms */
input, select, textarea { background: var(--card); color: var(--ink); border-color: var(--line2); border-radius: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.wform fieldset { background: var(--card); border-color: var(--line); }
.wform legend { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wform label { color: var(--ink2); }
.wfilter { background: var(--card); border-color: var(--line); }
/* ad page */
.lot-main { background: var(--bg2); }
.bidbox { background: var(--card); border-color: var(--line); }
.bb-row b { font-family: var(--serif); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bb-input { background: var(--bg); border-color: var(--line2); }
.wspecs div { border-color: var(--line); }
.whist li b { font-variant-numeric: tabular-nums; }
.wnote { background: color-mix(in srgb, var(--gold) 7%, var(--card)); border-color: var(--line); color: var(--ink2); }
.wbanner { background: color-mix(in srgb, var(--gold) 12%, var(--bg)); color: var(--ink); }
/* steps, faq, tools */
.wsteps li { border-color: var(--line); }
.wsteps li b { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; }
.wfaq details { border-color: var(--line); }
.wfaq summary { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.wtools a { background: var(--card); border-color: var(--line); }
.wtools a:hover { border-color: var(--ink); }
.wtools b { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
.wempty { background: var(--card); border-color: var(--line); }
/* dashboard */
.metabs a.on { background: var(--inv); color: var(--inv-ink); }
.mestats div { background: var(--card); border-color: var(--line); }
.chat-list li.me { background: color-mix(in srgb, var(--gold) 14%, var(--card)); border-color: var(--gold3); }
/* footer: dark slab in both themes */
.wfoot { background: #0d0f12; color: #f5f3ee; border-top: 0; --ink: #f5f3ee; --ink2: #d5d2ca; --muted: #a9aebb; --faint: #a9aebb; --line: #2a2e36; --gold: #a9bfff; --gold2: #c7d4ff; }
.wfoot .wlogo span { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.045em; color: #f5f3ee; }
.wfoot-bottom { color: #a9aebb; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
[hidden] { display: none !important; }
/* the header floats over the page: leave room for it */
.uhero { padding-top: clamp(96px, 11vw, 128px); }
.wsec.top { padding-top: clamp(100px, 11vw, 132px); }
.wsplit .wtools, .wtools { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.wsteps li::before { font-family: var(--mono); font-size: 12px; color: var(--gold); }
/* radios and checkboxes must not take the text-field size (rating stars in chat were drawn as big circles) */
input[type=radio], input[type=checkbox] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--gold); }
.stars label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }

/* deep build: brand pages, saved searches */
.wbrand-facts { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 24px; }
.wbrand-facts div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; min-width: 140px; }
.wbrand-facts b { display: block; font: 500 28px/1.1 var(--serif); }
.wbrand-facts span { font-size: 13px; color: var(--muted); }
.wchecks { margin: 0 0 18px; padding-left: 20px; color: var(--ink2); line-height: 1.8; max-width: 720px; }
.wbrands { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.wbrands a { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; text-decoration: none; }
.wbrands a:hover { border-color: var(--gold); }
.wbrands b { display: block; font: 500 22px/1.2 var(--serif); }
.wbrands span { font-size: 13px; color: var(--muted); }
.wsaved { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -8px 0 22px; font-size: 14px; }
.wsaved:empty { display: none; }
.wsaved-l { color: var(--muted); }
.wsaved-c { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 12px; }
.wsaved-c a { text-decoration: none; }
.wsaved-c button { border: 0; background: none; color: var(--muted); font-size: 17px; cursor: pointer; padding: 0 6px; }
/* SAMPLE ads (examples only): impossible to mistake for real ones */
.wcard.sample { outline: 2px dashed currentColor; outline-offset: -2px; opacity: .97; }
.wcard.sample .wcard-img { position: relative; }
.sbadge { position: absolute; top: 8px; left: 8px; z-index: 2; background: #ffd400; color: #111; font: 800 13px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .07em; padding: 6px 8px; border-radius: 6px; border: 2px solid #111; box-shadow: 0 2px 0 #111; }
.sbanner { background: #ffd400; color: #111; border: 2px solid #111; border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 0 0 22px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; }
.sbanner b { background: #111; color: #ffd400; padding: 3px 7px; border-radius: 5px; margin-right: 8px; letter-spacing: .07em; }
.sfig { margin: 18px 0 0; } .sfig img { width: 100%; max-width: 720px; border-radius: 14px; display: block; } .sfig figcaption { font-size: 12.5px; opacity: .75; margin-top: 6px; }
.wcard.sample .wcard-tag { top: auto; bottom: 10px; right: 10px; }

/* Language menu (English + Google Translate) */
.langs { position: relative; } .langs summary { list-style: none; cursor: pointer; font: 600 13.5px/1 var(--sans); padding: 9px 10px; border-radius: 10px; color: var(--ink2); white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; } .langs[open] summary { background: var(--bg2); }
.langs-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; width: 210px; max-height: 70vh; overflow: auto; background: var(--bg3); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); padding: 6px; display: grid; }
.langs-menu a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 400 14.5px/1.3 var(--sans); } .langs-menu a:hover, .langs-menu a.on { background: var(--bg2); font-weight: 650; }
.langs-menu small { padding: 8px 10px 2px; color: var(--muted); font: 600 11px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em; border-top: 1px solid var(--line); margin-top: 4px; }
@media (max-width: 700px) { .langs-menu { right: -70px; } .langs summary { padding: 9px 6px; } }
/* Typical-price table */
.mprices { margin: 26px 0 6px; border: 1px solid var(--line2); border-radius: 14px; padding: 16px 18px; background: var(--bg3); }
.mprices > b { display: block; font: 700 16px/1.3 var(--sans); margin-bottom: 8px; }
.mprices table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.4 var(--sans); }
.mprices td { padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; } .mprices td.r { font-weight: 700; white-space: nowrap; }
.mprices td.src { color: var(--muted); font-size: 12.5px; } .mprices td.src a { color: var(--muted); }
.mprices small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; } .mprices small a { color: var(--muted); }
@media (max-width: 600px) { .mprices td.src { display: none; } }
.wsec.tight { padding-top: 10px; }
.wh1.small { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
/* OLX-style home */
.uhome { padding: 100px 0 8px; } .uh1 { font: 800 clamp(26px, 4vw, 40px)/1.1 var(--serif); letter-spacing: -.03em; margin: 0 0 16px; }
.usearch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; } .usearch input { flex: 1 1 200px; min-width: 0; padding: 13px 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg3); color: var(--ink); font: 400 16px var(--sans); } .usearch input[name=city] { flex: 0 1 160px; }
.utiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.utiles a { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg3); text-decoration: none; color: var(--ink); text-align: center; }
.utiles a:hover { border-color: var(--gold); } .utiles span { font-size: 30px; line-height: 1; } .utiles b { font: 600 13.5px/1.2 var(--sans); } .utiles small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 700px) { .utiles { grid-template-columns: repeat(3, 1fr); gap: 8px; } .uhome { padding-top: 84px; } .usearch input[name=city] { flex: 1 1 100%; } }
@media (max-width: 700px) { .langs .lt { display: none; } }
/* Section titles sit inside their box (not on the border) */
.wform fieldset > legend { float: left; width: 100%; padding: 0; margin: 0 0 2px; line-height: 1.3; }
.wform fieldset > legend + * { clear: both; }
.mprices table { table-layout: fixed; } .mprices td { overflow-wrap: anywhere; } .mprices td.r { white-space: normal; }
.wphone { display: flex; gap: 6px; min-width: 0; } .wphone select { flex: 0 0 96px; width: 96px; min-width: 0; padding-left: 8px; padding-right: 4px; } .wphone input { flex: 1 1 auto; min-width: 0; }
.wform-3 > * { min-width: 0; }
.mprices ul { list-style: none; margin: 6px 0; padding: 0; } .mprices li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font: 400 14.5px/1.4 var(--sans); }
.mprices li span { min-width: 0; } .mprices li b { flex: none; max-width: 50%; text-align: right; font-weight: 700; }
.mprices .src { display: block; font-size: 12px; color: var(--muted); font-style: normal; margin-top: 2px; } a.src { text-decoration: underline; }
.sfig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg2); }
.wmore { text-align: center; margin: 22px 0 6px; }

/* collectibles.bid — fashion-house headings: Cormorant display over the same grid */
.uh1, .wh1, .wh2 { font-family: 'Cormorant', Georgia, serif; font-weight: 600; letter-spacing: -.02em; }
.uh1 em, .wh1 em { font-style: italic; color: var(--gold); }
.wlogo img { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 2px 3px rgba(60,40,10,.35)); }
.wlogo small { font: 500 12px/1 var(--mono); color: var(--muted); }

/* long addresses (e.g. the assistant URL) wrap on phones */
code { overflow-wrap: anywhere; }
