:root {
  --bg: #0e0f12;
  --ink: #f6f3ec;
  --muted: #a7a196;
  --line: rgba(246, 243, 236, 0.14);
  --hot: #ff4d1a;
  --lime: #d6f25c;
  --card: #17191e;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(255, 77, 26, 0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 0%, rgba(214, 242, 92, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.35;
}

.top, main {
  width: min(1200px, calc(100% - 24px));
  margin-inline: auto;
}

.top { padding: 14px 0 6px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 12vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(214, 242, 92, 0.1);
  border: 1px solid rgba(214, 242, 92, 0.35);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 800;
}

.live b { color: var(--lime); font-size: 1.25em; }

.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 242, 92, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(214, 242, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 242, 92, 0); }
}

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

.lede {
  max-width: 40rem;
  margin: 16px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 600;
}

.price-line { margin: 14px 0 0; font-size: 1.02rem; color: var(--muted); }
.price { color: var(--ink); font-size: 1.35rem; font-weight: 800; }

.states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.states li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.states b { color: var(--hot); margin-right: 2px; }

.sort-note {
  margin: 26px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Grid: 2-up on phones (marketplace feel), 3-up tablet, 4-up desktop */
.grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: row dense;
}

@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}

.card.is-open { grid-column: 1 / -1; border-color: rgba(214, 242, 92, 0.45); }
@media (min-width: 640px) { .card.is-open { grid-column: span 2; } }

/* Photo with colored-block fallback underneath */
.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: end start;
  padding: 12px;
  overflow: hidden;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-atv {
  background:
    linear-gradient(145deg, transparent 40%, rgba(0, 0, 0, 0.28) 40% 58%, transparent 58%),
    linear-gradient(160deg, #ff6a2c 0%, #9a2d12 46%, #2a140e 100%);
}

.photo-utv {
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(214, 242, 92, 0.85) 46% 54%, transparent 54%),
    linear-gradient(200deg, #1f6b52 0%, #12382c 42%, #10151a 100%);
}

.photo-boat {
  background:
    linear-gradient(170deg, transparent 0 55%, rgba(255, 255, 255, 0.18) 55% 60%, transparent 60%),
    linear-gradient(200deg, #2c7be5 0%, #143a6b 46%, #0c1424 100%);
}

.photo-mark {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(246, 243, 236, 0.92);
}

.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.82);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 12px;
  flex: 1;
}

.kind {
  margin: 0;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.title {
  margin: 0 0 4px;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  flex: 1;
}

.reveal {
  align-self: stretch;
  border: 0;
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 11px 12px;
  min-height: 44px;
}

.reveal:focus-visible, .auction:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.card.is-open .reveal {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Members-only block: blurred teaser until "See the bid" (demo toggle, not a paywall) */
.lock {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 10px 12px 14px;
}

.lock-label {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lock.is-locked { max-height: 118px; overflow: hidden; }

.lock.is-locked .lock-body,
.lock.is-locked .auction {
  filter: blur(6px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

.lock.is-locked::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40px;
  background: linear-gradient(transparent, var(--card));
}

dl { display: grid; gap: 8px; margin: 0; }

dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

dt {
  flex: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: right;
}

dd small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.card.is-open dl div:first-child dd { color: var(--lime); font-size: 1.5rem; }

.auction {
  display: inline-block;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--lime);
  color: #14160a;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.note {
  margin: 26px 0 40px;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===================== Seller feature + filters + near me ===================== */
[hidden] { display: none !important; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bar .eyebrow { margin: 0; min-width: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #14160a;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.cta:focus-visible, .chip:focus-visible, .seg button:focus-visible, .sort button:focus-visible,
.near-btn:focus-visible, .buy:focus-visible, .linkish:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.cta-sm {
  flex: none;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.86rem;
  box-shadow: 0 0 0 4px rgba(214, 242, 92, 0.14);
}

/* Filters */
.filters { display: grid; gap: 10px; margin: 26px 0 14px; }
.seg {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.3fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.seg button {
  min-height: 42px;
  padding: 6px 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.chips, .near, .dist-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #14160a; }

.near-btn {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--hot);
  border-radius: 999px;
  background: rgba(255, 77, 26, 0.14);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}
.near-btn.is-on { background: var(--hot); color: #fff; }
.linkish {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sort {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.sort button {
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}
.sort button[aria-pressed="true"] { background: rgba(246, 243, 236, 0.14); color: var(--ink); }

.near-msg {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 77, 26, 0.12);
  font-size: 0.92rem;
  font-weight: 700;
}
.zip-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zip-form label { width: 100%; color: var(--muted); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.zip-form input { flex: 1; min-width: 0; }
.zip-form button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--lime); color: #14160a; font: inherit; font-weight: 800; cursor: pointer; }
.near-where { font-weight: 800; margin-right: 4px; }
.dist-note { width: 100%; color: var(--muted); font-size: 0.78rem; }
.showing {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.empty { padding: 30px 0; text-align: center; color: var(--muted); font-weight: 700; }

@media (min-width: 820px) {
  .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .seg { width: 400px; }
  .near { flex: 1; }
  .near-msg, .zip-form, .dist-row, .showing { flex-basis: 100%; }
  .zip-form { max-width: 520px; }
}

/* Cards: distance + private seller */
.dist { margin: 0 0 2px; font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.dist::before { content: "\1F4CD\00a0"; }
.card-seller { border-color: rgba(214, 242, 92, 0.35); }
.card.is-example { border: 2px dashed rgba(255, 210, 63, 0.75); }
.example-tag {
  margin: 0;
  padding: 6px 8px;
  background: #ffd23f;
  color: #141414;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.badge-seller { background: var(--lime); color: #14160a; }
.ask {
  margin: 0 0 2px;
  color: var(--lime);
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ask span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.buy {
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #14160a;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
}
.reveal-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.86rem; }
.card-seller dd small { text-align: right; }

/* "Sell your machine" tile inside the grid */
.sell-tile {
  grid-column: 1 / -1;
  padding: 22px 18px;
  border: 1px solid rgba(214, 242, 92, 0.4);
  border-radius: 18px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(255, 77, 26, 0.28), transparent 65%),
    linear-gradient(160deg, #1d2414 0%, #17191e 70%);
}
.sell-tile h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.sell-line { margin: 12px 0 0; font-size: 1.08rem; font-weight: 600; }
.sell-line b { color: var(--lime); }
.sell-line.big { font-size: clamp(1.15rem, 3vw, 1.4rem); max-width: 36rem; }
.steps { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 12px; }
.steps b {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hot);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}
.steps span { color: var(--muted); font-size: 0.95rem; }
.steps strong { display: block; color: var(--ink); font-size: 1.1rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Checkout coming soon dialog */
.checkout {
  width: min(420px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid rgba(214, 242, 92, 0.4);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
}
.checkout::backdrop { background: rgba(0, 0, 0, 0.7); }
.checkout h2 { margin: 0 0 10px; font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1; }
.checkout p { color: var(--muted); }
.co-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-block: 1px solid var(--line); }
.co-item span { color: var(--ink); font-weight: 700; }
.co-item b { color: var(--lime); font-size: 1.2rem; }
.checkout .cta { width: 100%; }

/* ===================== sell.html ===================== */
.back { color: var(--ink); font-weight: 800; text-decoration: none; font-size: 0.95rem; }
.back:hover { text-decoration: underline; }
.sell-page h1 { font-size: clamp(3rem, 13vw, 6rem); }
.sell-main { width: min(720px, calc(100% - 24px)); }
.sell-page .top { width: min(720px, calc(100% - 24px)); }
.sell-form { display: grid; gap: 18px; margin: 8px 0 50px; }
.step {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
}
.step legend b {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--hot); color: #fff; font-size: 1rem;
}
.field { display: grid; gap: 6px; min-width: 0; }
.lbl { font-size: 0.9rem; font-weight: 800; }
.lbl i, .agree i, .hint i { color: var(--hot); font-style: normal; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(246, 243, 236, 0.22);
  border-radius: 14px;
  background: #0e0f12;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;   /* >=16px: no iOS zoom */
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(214, 242, 92, 0.6); outline-offset: 1px; border-color: transparent; }
input::placeholder, textarea::placeholder { color: #6e6a62; }
.row2, .row3 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 0.6fr 1fr 1.4fr; } }
.money { position: relative; display: block; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 1.3rem; font-weight: 800; }
.money input { padding-left: 32px !important; font-size: 1.35rem !important; font-weight: 800; }
.hint { margin: 0; color: var(--muted); font-size: 0.86rem; }
.hint.center { text-align: center; }

.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picks-4 { grid-template-columns: repeat(4, 1fr); }
.picks-2 { grid-template-columns: repeat(2, 1fr); }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px 6px;
  border: 1px solid rgba(246, 243, 236, 0.22);
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}
.pick input:checked + span { background: var(--lime); border-color: var(--lime); color: #14160a; }
.pick input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.drop {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 26px 14px;
  border: 2px dashed rgba(214, 242, 92, 0.5);
  border-radius: 16px;
  background: rgba(214, 242, 92, 0.06);
  cursor: pointer;
  text-align: center;
}
.drop-big { font-size: 1.35rem; font-weight: 800; }
.drop-small { color: var(--muted); font-size: 0.9rem; }
.file { width: 100%; color: var(--muted); font-size: 0.85rem; }
.file::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs span { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #14160a; font-size: 0.7rem; font-weight: 800; }

.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fees div { display: grid; gap: 2px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.fees span { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fees b { color: var(--lime); font-size: 1.6rem; letter-spacing: -0.02em; }
.fees small { color: var(--muted); font-size: 0.74rem; line-height: 1.2; }

.terms { padding: 16px; border-radius: 16px; background: rgba(246, 243, 236, 0.05); }
.terms h2 { margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.terms ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; display: grid; gap: 6px; }
.agree { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; cursor: pointer; }
.agree input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: var(--lime); }
.pay { width: 100%; min-height: 60px; font-size: 1.2rem; background: var(--hot); color: #fff; }
.pay:disabled { opacity: 0.7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { display: grid; gap: 14px; margin: 10px 0 60px; }
.done-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0; border-radius: 50%; background: var(--lime); color: #14160a; font-size: 2rem; font-weight: 900; }
.done h2 { margin: 0; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -0.04em; line-height: 0.95; outline: none; }
.done-lede { margin: 0; font-size: 1.1rem; font-weight: 600; }
.done .eyebrow { margin: 10px 0 0; }
.card.preview { width: min(260px, 100%); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ======================= v2: header, nav, sell strip ======================= */
a { color: var(--lime); }
button { font: inherit; }
[hidden] { display: none !important; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand b {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--hot); color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: -0.04em;
}
.brand span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; text-transform: uppercase; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--hot); color: #fff; cursor: pointer;
  font-size: 1.05rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 77, 26, 0.3);
}
.cta:hover { filter: brightness(1.08); }
.cta:focus-visible, .chip:focus-visible, .nav a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.cta-sm { min-height: 40px; padding: 8px 14px; font-size: 0.88rem; box-shadow: none; white-space: nowrap; }
.cta-sm span { font-size: 1.15em; line-height: 1; }

.nav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  margin: 14px 0 20px; padding: 4px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(23, 25, 30, 0.75);
}
.nav a {
  display: grid; place-items: center; min-height: 42px; border-radius: 12px;
  color: var(--muted); font-size: 0.95rem; font-weight: 800; text-decoration: none;
}
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.nav .nav-sell:not([aria-current]) { color: var(--hot); }
@media (min-width: 720px) { .nav { display: inline-grid; min-width: 520px; } }

.h1-mid { font-size: clamp(2.8rem, 11vw, 6rem); }
.h2-big { margin: 0 0 8px; font-size: clamp(2.2rem, 8vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; text-transform: uppercase; }

.sell-strip {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  margin: 20px 0 6px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 77, 26, 0.18), rgba(255, 77, 26, 0.05));
  border: 1px solid rgba(255, 77, 26, 0.45); color: var(--ink); text-decoration: none;
}
.sell-strip-h { color: var(--hot); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.sell-strip-t { font-size: 0.98rem; }
.sell-strip-go { margin-top: 4px; color: var(--hot); font-weight: 800; }
.sell-strip-row { grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px 16px; }
.sell-strip-row .sell-strip-go { margin: 0; white-space: nowrap; }
.sell-strip-t b { color: var(--hot); }
.mech-page .h1-mid { font-size: clamp(2.6rem, 11vw, 6rem); }
.mech-page .lede { font-size: clamp(1.02rem, 2.4vw, 1.3rem); }
@media (min-width: 720px) {
  .sell-strip { grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
  .sell-strip-go { margin: 0; }
}

/* ======================= filters ======================= */
.filters { display: grid; gap: 12px; margin: 22px 0 16px; }
.seg, .sort {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
}
.seg button, .sort button {
  min-height: 42px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; font-size: 0.95rem; white-space: nowrap;
}
.seg button[aria-pressed="true"], .sort button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg { width: 100%; }
@media (min-width: 720px) { .seg { width: auto; justify-self: start; } }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; flex-wrap: nowrap; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { flex-wrap: wrap; } }
.chip {
  flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; font-weight: 800; font-size: 0.92rem;
}
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #14160a; }

.near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.near-btn {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--lime); background: rgba(214, 242, 92, 0.1); color: var(--lime); font-weight: 800; font-size: 1rem;
}
.near-btn.is-on { background: var(--lime); color: #14160a; }
.linkish { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px 2px; font-size: 0.92rem; }
.near .sort { margin-left: auto; }
@media (max-width: 430px) { .near .sort { margin-left: 0; width: 100%; } }

.near-msg {
  margin: 0; padding: 10px 14px; border-radius: 12px;
  background: rgba(214, 242, 92, 0.08); border: 1px solid rgba(214, 242, 92, 0.3); font-weight: 600;
}
.zip-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zip-form label { width: 100%; color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.zip-form input { flex: 1; min-width: 0; }
.zip-form button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--lime); color: #14160a; font-weight: 800; cursor: pointer; }

.dist-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.near-where { width: 100%; font-weight: 800; color: var(--lime); }
.dist-note { width: 100%; color: var(--muted); font-size: 0.8rem; }
.showing { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.empty { padding: 30px 0; text-align: center; color: var(--muted); font-weight: 700; }

/* ======================= cards v2 ======================= */
.photo-parts {
  background:
    radial-gradient(circle at 78% 30%, transparent 0 16%, rgba(0, 0, 0, 0.3) 16% 22%, transparent 22%),
    linear-gradient(200deg, #8a6a12 0%, #4a3a10 46%, #16140e 100%);
}
.card .title { flex: none; }
.card .public > .reveal:first-of-type, .card .public > .buy { margin-top: auto; }
.dist {
  margin: 0; align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  background: rgba(214, 242, 92, 0.14); color: var(--lime); font-size: 0.8rem; font-weight: 800;
}
.dist-ok { background: var(--lime); color: #14160a; }

.card-seller { border-color: rgba(255, 77, 26, 0.45); }
.badge-seller { background: var(--hot); color: #fff; }
.example-tag {
  margin: 0; padding: 6px 12px; background: repeating-linear-gradient(135deg, #2b2410 0 10px, #241e0d 10px 20px);
  color: #ffd76a; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.ask { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.ask span { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.buy {
  min-height: 44px; padding: 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lime); color: #14160a; font-weight: 800; font-size: 0.92rem;
}
.reveal-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card-seller .auction { background: var(--hot); color: #fff; }

/* in-grid "Sell your machine" tile */
.sell-tile {
  grid-column: 1 / -1; padding: 22px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #ff4d1a 0%, #b8300c 100%); color: #fff;
}
.sell-tile .eyebrow { color: #ffe9a8; }
.sell-tile h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; text-transform: uppercase; }
.sell-tile .cta { margin-top: 14px; background: #fff; color: #b8300c; box-shadow: none; }
.sell-line { margin: 0; font-size: 1.02rem; }
.sell-line.big { margin-top: 12px; font-size: clamp(1.1rem, 3.6vw, 1.35rem); }
.steps { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 10px; align-items: flex-start; }
.steps b {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #b8300c; font-weight: 900;
}
.steps strong { display: block; font-size: 1.05rem; }
.steps span { font-size: 0.95rem; opacity: 0.92; }
.top .steps b { background: var(--hot); color: #fff; }

/* checkout dialog */
.checkout {
  width: min(420px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); color: var(--ink);
}
.checkout::backdrop { background: rgba(0, 0, 0, 0.7); }
.checkout h2 { margin: 0 0 10px; font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; }
.co-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-weight: 700; }
.co-item b { color: var(--lime); }
.checkout .cta { width: 100%; margin-top: 8px; }

/* ======================= forms (sell + list your shop) ======================= */
.sell-main, .list-shop { max-width: 720px; }
.list-shop { margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.sell-form { display: grid; gap: 18px; margin: 16px 0 50px; }
.step { margin: 0; padding: 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); display: grid; gap: 14px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-size: 1.15rem; font-weight: 800; }
.step legend b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--hot); color: #fff; font-size: 0.95rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.lbl { font-size: 0.9rem; font-weight: 800; }
.lbl i, .agree i, .hint i { color: var(--hot); font-style: normal; }
.lbl small { color: var(--muted); font-weight: 600; }
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(246, 243, 236, 0.22); background: #0b0c0f; color: var(--ink);
  font: inherit; font-size: 1.05rem;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: transparent; }
.row2, .row3 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 0.7fr 1fr 1.3fr; }
@media (max-width: 480px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 > :last-child { grid-column: 1 / -1; } }
.hint { margin: 0; color: var(--muted); font-size: 0.86rem; }
.hint.center { text-align: center; }
.hint.err { color: #ff8a6a; font-weight: 800; }
.hp { position: absolute; left: -9999px; }

.drop {
  display: grid; place-items: center; gap: 4px; padding: 28px 16px; border-radius: 16px; cursor: pointer;
  border: 2px dashed rgba(214, 242, 92, 0.5); background: rgba(214, 242, 92, 0.06); text-align: center;
}
.drop-big { font-size: 1.3rem; font-weight: 900; color: var(--lime); }
.drop-small { color: var(--muted); font-size: 0.9rem; }
.file-plain { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs span { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: #14160a; font-size: 0.7rem; font-weight: 800; }

.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 520px) { .picks { grid-template-columns: repeat(4, 1fr); } }
.picks-4 { grid-template-columns: repeat(4, 1fr); }
.picks-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 520px) { .picks-svc { grid-template-columns: repeat(3, 1fr); } }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span {
  display: grid; place-items: center; min-height: 50px; padding: 8px; border-radius: 12px; text-align: center;
  border: 1px solid rgba(246, 243, 236, 0.22); font-weight: 800; cursor: pointer;
}
.pick input:checked + span { background: var(--lime); border-color: var(--lime); color: #14160a; }
.pick input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fees-2 { grid-template-columns: repeat(2, 1fr); }
.fees div { display: grid; gap: 2px; padding: 14px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.fees span { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fees b { font-size: 1.8rem; font-weight: 900; color: var(--lime); }
.fees small { color: var(--muted); font-size: 0.75rem; line-height: 1.2; }

.terms { padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.terms h2 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }
.terms ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--lime); }
.pay { width: 100%; min-height: 58px; font-size: 1.2rem; }
.pay:disabled { opacity: 0.6; }

.done { margin: 20px 0 50px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.done-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0; border-radius: 50%; background: var(--lime); color: #14160a; font-size: 2.4rem; font-weight: 900; }
.done h2 { margin: 0; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.done-lede { margin: 0; max-width: 32rem; font-size: 1.05rem; }
.done .preview { width: min(280px, 100%); text-align: left; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ======================= mechanics board ======================= */
.shops { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .shops { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .shops { grid-template-columns: repeat(3, 1fr); } }
.shop {
  display: flex; flex-direction: column; gap: 12px; padding: 0 0 16px; border-radius: 18px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
}
.shop > :not(.example-tag) { margin-inline: 16px; }
.shop > .shop-head { margin-top: 16px; }
.shop.is-example > .shop-head { margin-top: 4px; }
.shop-head { display: flex; gap: 14px; align-items: flex-start; }
.shop-logo {
  position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #2c7be5, #143a6b); font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em;
}
.shop:nth-child(3n+2) .shop-logo { background: linear-gradient(160deg, #ff6a2c, #9a2d12); }
.shop:nth-child(3n) .shop-logo { background: linear-gradient(160deg, #1f6b52, #12382c); }
.shop-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-name { margin: 0; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.shop-town { margin: 4px 0 6px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.shop-reach { color: var(--ink); }
.shop .dist { display: inline-block; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.svc-tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(214, 242, 92, 0.4); color: var(--lime); font-size: 0.78rem; font-weight: 800; }
.shop-blurb { margin: 0; font-size: 0.98rem; }
.shop-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.shop-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 999px;
  background: var(--lime); color: #14160a; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.shop-btn-ghost { flex: 0 0 auto; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* ======================= payments + members (Oct 2026) ======================= */
.bar-r { display: flex; align-items: center; gap: 8px; }
.acct-btn {
  min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); font: inherit; font-size: 0.82rem; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.acct-btn.is-member { border-color: rgba(214, 242, 92, 0.5); color: var(--lime); }
.acct-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 380px) { .brand span { display: none; } }
.join-link { color: var(--lime); font-size: inherit; padding: 0; }
.checkout { position: fixed; }
.checkout .dlg-x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.checkout h2 { padding-right: 36px; }
.join-list { margin: 6px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.join-list li { padding-left: 28px; position: relative; font-weight: 600; }
.join-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 900; }
.join-fine { margin: 10px 0 4px; font-size: 0.85rem; text-align: center; }
.join-alt { margin: 4px 0 0; text-align: center; }
.join-alt .linkish { color: var(--ink); font-size: 0.95rem; }
.signin-help p { margin: 0 0 12px; color: var(--ink) !important; font-size: 0.95rem; }
.signin-help a { color: var(--lime); font-weight: 800; }
.signin-form { display: grid; gap: 10px; margin-bottom: 14px; }
.signin-form input, .device-out input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); color: var(--ink); font: inherit;
}
#member .cta, #member .chip { width: 100%; margin-top: 8px; }
.device-out { margin-top: 12px; display: grid; gap: 8px; }
.device-out p { margin: 0; color: var(--ink) !important; }
.toast {
  position: fixed; left: 50%; bottom: 18px; z-index: 50; transform: translateX(-50%); width: min(520px, calc(100% - 24px));
  margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--lime); color: #111; font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); cursor: pointer;
}
.banner { margin: 0 0 16px; padding: 16px; border: 1px solid rgba(214, 242, 92, 0.4); border-radius: 18px; background: rgba(214, 242, 92, 0.08); }
.banner p { margin: 0 0 10px; }
.banner .cta { width: 100%; }
.form-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 77, 26, 0.15); border: 1px solid rgba(255, 77, 26, 0.5); font-weight: 700; }
.adm-group h2 { margin: 26px 0 10px; font-size: 1.2rem; }
.adm-group h2 small { color: var(--muted); font-weight: 600; }
.adm-card { margin: 0 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.adm-card h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.adm-pay { margin: 0 0 10px; color: #ffb199; font-weight: 700; }
.adm-pay.is-paid { color: var(--lime); }
.adm-pics { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 12px; }
.adm-pics img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.adm-card dl { margin-bottom: 12px; }
.adm-card dd { overflow-wrap: anywhere; }

/* ---------- Grid | Map toggle and the map (Leaflet + OpenStreetMap) ---------- */
.viewseg { width: 100%; }
.viewseg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 1rem; }
@media (min-width: 720px) { .viewseg { width: 260px; } }
.mapwrap { margin: 0 0 18px; }
@media (max-width: 719px) { .mapwrap { margin-inline: calc(50% - 50vw); } .mapwrap .map { border-radius: 0; border-inline: 0; } }
.mapwrap .map {
  width: 100%; height: 70vh; min-height: 360px; max-height: 820px;
  border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: #dfe6e9; z-index: 0;
}
.map-msg { margin: 8px 12px 0; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.leaflet-container { font: inherit; }
.leaflet-control-attribution { font-size: 11px; }
.leaflet-bar a, .leaflet-touch .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; font-size: 20px; color: #14160a; }
/* pins: round photo thumbnail with a ring in the category colour (44 px = easy to tap) */
.pin { border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); background: #17191e; border: 3px solid var(--hot); box-sizing: border-box; }
.pin-atv { border-color: #ff4d1a; } .pin-utv { border-color: #d6f25c; } .pin-boat { border-color: #3fb6ff; } .pin-parts { border-color: #ffd23f; }
.pin-shop { border-color: #2c7be5; background: linear-gradient(160deg, #2c7be5, #143a6b); }
.pin-img { display: block; width: 100%; height: 100%; border-radius: 50%; background: #333 center / cover no-repeat; }
.pin-mark { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font: 900 11px/1 system-ui, sans-serif; letter-spacing: -0.02em; }
.pin-cluster { display: grid; place-items: center; border-radius: 50%; background: var(--hot); color: #fff; border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); font: 900 16px/1 system-ui, sans-serif; box-sizing: border-box; }
.pin-cluster span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.you-tip { background: #1a73e8; color: #fff; border: 0; border-radius: 999px; font-weight: 800; padding: 2px 9px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.you-tip::before { display: none; }
/* popups */
.pop-wrap .leaflet-popup-content-wrapper { background: var(--card); color: var(--ink); border-radius: 16px; border: 1px solid var(--line); }
.pop-wrap .leaflet-popup-tip { background: var(--card); }
.pop-wrap .leaflet-popup-content { margin: 12px; font-size: 0.92rem; line-height: 1.3; }
.pop-wrap a.leaflet-popup-close-button { color: var(--ink); width: 32px; height: 32px; font-size: 24px; line-height: 30px; }
.pop-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: #222; }
.pop-kind { margin: 0 0 3px; color: var(--lime); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.pop-title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 900; line-height: 1.15; padding-right: 18px; }
.pop-dist, .pop-ask { margin: 0 0 8px; color: var(--muted); font-size: 0.85rem; }
.pop-ask b { color: var(--ink); font-size: 1.05rem; }
.pop-ex { margin: 0 0 6px; color: #ffd23f; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.pop-dl { margin: 0 0 10px; display: grid; gap: 4px; }
.pop-dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.pop-dl dt { color: var(--muted); font-size: 0.8rem; }
.pop-dl dd { margin: 0; text-align: right; font-weight: 700; }
.pop-dl dd small { display: block; color: var(--muted); font-weight: 500; }
.pop-actions { display: grid; gap: 8px; }
.pop-btn, .leaflet-container a.pop-btn {
  display: block; width: 100%; min-height: 44px; padding: 11px 14px; border: 0; border-radius: 999px; box-sizing: border-box;
  background: var(--hot); color: #fff; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer;
}
.leaflet-container a.pop-ghost, .pop-ghost { background: var(--lime); color: #14160a; }
/* Directions in member card details */
.lock .dir {
  display: inline-block; margin: 14px 8px 0 0; padding: 11px 16px; border-radius: 999px; background: #1a73e8; color: #fff;
  font-weight: 800; text-decoration: none;
}
.lock.is-locked .dir { filter: blur(6px); opacity: 0.6; pointer-events: none; }
.pop-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.pop-thumb { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #222; }
.pop-head .pop-title { margin: 0; font-size: 0.95rem; }
.pop-member .pop-dl { margin-bottom: 8px; }
.pop-member .pop-dl dd small { font-size: 0.75rem; }
.pop-member .pop-actions { grid-template-columns: 1fr 1fr; }
.pop-member .pop-actions .pop-btn { padding: 10px 8px; font-size: 0.88rem; }

/* ======================= v4: alerts, steal, dealers, haulers, sold ======================= */
/* nav: 8 links -> 2 rows of 4 on phones, one row on wide screens */
.nav a { min-height: 40px; padding: 0 2px; font-size: 0.86rem; text-align: center; line-height: 1.1; }
@media (min-width: 720px) { .nav { grid-template-columns: repeat(8, auto); min-width: 0; } .nav a { padding: 0 12px; font-size: 0.9rem; } }

/* Steal of the week */
.steal { position: relative; display: grid; margin: 0 0 18px; border: 2px solid var(--hot); border-radius: 22px; overflow: hidden; background: var(--card);
  box-shadow: 0 10px 40px rgba(255, 77, 26, 0.18); }
.steal[hidden] { display: none; }
.steal-photo { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: #222; overflow: hidden; }
.steal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steal-photo .photo-mark { font-size: 3rem; font-weight: 900; color: rgba(255, 255, 255, 0.35); }
.steal-flag { position: absolute; top: 12px; left: 12px; padding: 7px 13px; border-radius: 999px; background: var(--hot); color: #fff;
  font-size: 0.82rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.steal-body { padding: 14px 16px 16px; }
.steal-kind { margin: 0 0 4px; color: var(--lime); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.steal-title { margin: 0 0 8px; font-size: clamp(1.25rem, 5vw, 1.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.steal-why { margin: 0 0 12px; color: var(--muted); }
.steal-dl { grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 10px; }
.steal-dl[hidden] { display: none; }
.steal-dl div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.steal-dl dt { color: var(--muted); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.steal-dl dd { margin: 2px 0 0; font-weight: 800; }
.steal-dl .big { color: var(--lime); font-size: 1.35rem; }
.steal-sold { margin: 0 0 12px; padding: 8px 10px; border-radius: 12px; background: rgba(214, 242, 92, 0.08); font-size: 0.9rem; }
.steal-actions { display: grid; gap: 8px; }
.steal-actions .cta { width: 100%; }
.steal.is-member .steal-actions { grid-template-columns: 1fr 1fr; }
.steal.is-member .steal-actions > :first-child { grid-column: 1 / -1; }
.steal-actions .dir { display: grid; place-items: center; min-height: 48px; padding: 10px; border-radius: 999px; background: #1a73e8; color: #fff; font-weight: 800; text-decoration: none; text-align: center; }
.steal-actions .haul-btn { display: grid; place-items: center; min-height: 48px; padding: 10px; border-radius: 999px; background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; text-decoration: none; text-align: center; }
.steal-how { margin: 10px 0 0; font-size: 0.88rem; }
.steal-how-text { margin: 6px 0 0; color: var(--muted); font-size: 0.86rem; }
.linkish { padding: 0; border: 0; background: none; color: var(--lime); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (min-width: 760px) {
  .steal { grid-template-columns: 1.1fr 1fr; }
  .steal-photo { aspect-ratio: auto; min-height: 300px; }
  .steal-body { padding: 20px 22px; align-self: center; }
}

/* map: dealer pins (purple squares) + hauler pins */
.map-toggle { display: flex; align-items: center; gap: 8px; margin: 8px 2px 0; color: var(--muted); font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.map-toggle input { width: 20px; height: 20px; accent-color: var(--lime); }
.pin-key { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.pin-key-dealer { background: #8b5cf6; border: 2px solid #fff; }
.pin.pin-dealer { border-radius: 9px; border-color: #c4b5fd; background: linear-gradient(160deg, #8b5cf6, #4c1d95); }
.pin.pin-hauler { border-radius: 9px; border-color: #fdba74; background: linear-gradient(160deg, #f97316, #7c2d12); }
.pin.pin-dealer .pin-mark, .pin.pin-hauler .pin-mark { font-size: 15px; }
.pop-actions-2 { grid-template-columns: 1fr 1fr; }
.pop-more { margin: 6px 0 0; font-size: 0.82rem; text-align: center; }
.pop-more a { color: #c4b5fd; font-weight: 700; }

/* member lot card extras */
.lock .haul { display: inline-block; margin: 14px 8px 0 0; padding: 11px 16px; border-radius: 999px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 800; text-decoration: none; }
.sold-line { margin: 12px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(214, 242, 92, 0.08); font-size: 0.86rem; }
.lock.is-locked .haul, .lock.is-locked .sold-line { filter: blur(6px); opacity: 0.6; pointer-events: none; user-select: none; }

/* dealers & haulers pages */
.shop-logo-dealer { background: linear-gradient(160deg, #8b5cf6, #4c1d95); }
.shop-logo-hauler { background: linear-gradient(160deg, #f97316, #7c2d12); }
.ad-line { margin: 2px 0 8px; color: var(--muted); font-size: 0.88rem; }
.ad-line strong { color: var(--ink); }
.lot-banner { margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(249, 115, 22, 0.5); border-radius: 16px; background: rgba(249, 115, 22, 0.1); }
.lot-banner p { margin: 0; }
.lot-banner[hidden] { display: none; }

/* locked teasers (alerts, sold prices) */
.teaser { margin: 0 0 20px; }
.teaser[hidden] { display: none; }
.lockbox { position: relative; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.lockbox .m-fake { filter: blur(5px); opacity: 0.7; user-select: none; pointer-events: none; }
.lockbox-tag { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 10px 16px; border: 0; border-radius: 999px; background: var(--hot); color: #fff;
  font: inherit; font-weight: 900; white-space: nowrap; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
.m-fake { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.m-fake:last-of-type { border-bottom: 0; }
.m-fake i { display: block; flex: 0 0 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, #3a3f49, #22252c); }
.m-fake b { display: block; height: 12px; margin: 4px 0; border-radius: 6px; background: #3a3f49; }

/* Your matches */
.q { margin: 0 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.q-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.q-head h3 { margin: 0; font-size: 1.08rem; }
.q-desc { margin: 2px 0 0; color: var(--muted); font-size: 0.86rem; }
.q-count { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: rgba(246, 243, 236, 0.08); font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
.q-count.has-new { background: var(--hot); color: #fff; }
.q-hits { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.m { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(246, 243, 236, 0.04); color: var(--ink); text-decoration: none; }
.m-img { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: #2a2d34; }
.m-body { min-width: 0; flex: 1; }
.m-body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.m-body span { display: block; color: var(--muted); font-size: 0.82rem; }
.new { display: inline-block; margin-right: 6px; padding: 2px 7px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 0.7rem; font-weight: 900;
  letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 1px; }
.q-empty, .q-none { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }
.q-actions { display: flex; gap: 8px; margin: 12px 0 0; }
.q-actions button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: rgba(246, 243, 236, 0.08); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.q-actions .q-del { color: #ff9b80; }
.q-form { margin: 0 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.q-form h2 { margin: 0 0 10px; }

/* Sold prices */
.s-avgs { display: grid; gap: 12px; margin: 0 0 16px; }
@media (min-width: 760px) { .s-avgs { grid-template-columns: 1fr 1fr; } }
table.avg { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); font-size: 0.9rem; }
table.avg caption { padding: 0 0 6px; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
table.avg th, table.avg td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.avg td:last-child, table.avg th:last-child, table.avg td.n { text-align: right; }
table.avg thead th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }
.s-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.s-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.s-row h3 { margin: 0; font-size: 0.98rem; line-height: 1.2; }
.s-row p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.s-row a { color: var(--lime); font-size: 0.84rem; font-weight: 700; }
.s-price { grid-row: span 2; align-self: center; text-align: right; color: var(--lime); font-size: 1.25rem; font-weight: 900; white-space: nowrap; }
.s-price small { display: block; margin-top: 3px; }
.s-type { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.s-final { background: rgba(214, 242, 92, 0.16); color: var(--lime); }
.s-last_seen { background: rgba(246, 243, 236, 0.1); color: var(--muted); }
/* v4 markup adjustments */
.m-img { display: block; background: #2a2d34 center / cover no-repeat; }
.m-body b, .m-body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.m-body small { display: block; color: var(--muted); font-size: 0.82rem; }
.m .new { flex: 0 0 auto; }
.lockbox ul, .lockbox ol { margin: 0; padding: 0; list-style: none; }
.lockbox .m-fake { display: flex; }
.m-fake .m-img { background: linear-gradient(135deg, #3a3f49, #22252c); }
.q-count .new { margin: 0 0 0 4px; }
.s-row > div:first-child { min-width: 0; }
.s-row > div:first-child b { display: block; font-size: 0.98rem; line-height: 1.2; }
.s-row > div:first-child small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.82rem; }
.s-price { grid-row: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.s-price b { color: var(--lime); font-size: 1.2rem; }
.steal-actions .chip { display: grid; place-items: center; min-height: 46px; text-decoration: none; text-align: center; }
.q-hits { grid-template-columns: minmax(0, 1fr); }
.q-hits li { min-width: 0; }
.q, .s-row { min-width: 0; overflow: hidden; }
.s-list, .s-avgs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .s-avgs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.m-body small { overflow-wrap: anywhere; }
.q .q-head h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.01em; text-transform: none; }
.steal-dl div { display: block; }
.steal-dl dd { text-align: left; }
.steal-dl dd small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
