/* ============================================================
   paultan.org/used-cars — styles
   Native extension of the paultan.org (Breezy) visual language,
   same idiom as /research/: Arial · #f3f3f3 ground · white
   10px-radius cards with rgba(0,0,0,.08) borders · soft shadows
   · #a60f0f red pills · black sticky appbar · white colophon.
   ============================================================ */

:root {
  --red:        #a60f0f;
  --red-dark:   #8a0c0c;
  --ink:        #1a1a1a;
  --muted:      #63666f;
  --ground:     #ededed;
  --card-line:  rgba(0, 0, 0, .08);
  --chip-bg:    #f4f4f5;
  --rule-soft:  #f0f0f0;
  --wa:         #1faf54;
  --wa-dark:    #128a40;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.uc-wrap { max-width: 700px; margin: 0 auto; padding-left: 10px; padding-right: 10px; }

/* ── App bar — same black sticky bar as the main site ──── */

.uc-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.uc-top-in { height: 56px; display: flex; align-items: center; gap: 10px; }
.uc-brand { line-height: 0; flex: none; }
.uc-brand img { width: 104px; height: auto; }
.uc-section {
  flex: none;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #000;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.uc-search { display: flex; flex: 1; max-width: 190px; margin-left: auto; min-width: 0; }
.uc-search input {
  width: 100%;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px 0 0 999px;
  border-right: 0;
  padding: 8px 6px 8px 14px;
  -webkit-appearance: none;
  appearance: none;
}
.uc-search input::placeholder { color: #b5b5b5; }
.uc-search input:focus { outline: 0; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.uc-search button {
  flex: none;
  width: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: rgba(255,255,255,.12);
  color: #cfcfcf;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-search button:hover { color: #fff; } }

/* ── Hero big search ──────────────────────────────────── */

.uc-bigsearch { display: flex; gap: 8px; max-width: 560px; margin: 16px auto 0; }
.uc-bigsearch input {
  flex: 1;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;            /* >=16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  -webkit-appearance: none;
  appearance: none;
}
.uc-bigsearch input:focus { outline: 0; border-color: var(--red); }
.uc-bigsearch button {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-bigsearch button:hover { background: var(--red-dark); } }
.uc-bigsearch-results { margin: 14px 0 12px; max-width: 560px; }

/* ── Filter bar (facet dropdowns) ─────────────────────── */

.uc-filters-wrap { margin-top: 14px; }
.uc-filterbar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.uc-filter { position: relative; }
.uc-filter > summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.uc-filter > summary::-webkit-details-marker { display: none; }
.uc-filter > summary::after { content: ' \25BE'; color: var(--muted); font-weight: normal; }
.uc-filter > summary b { color: #fff; background: var(--red); border-radius: 999px;
  padding: 1px 6px; font-size: 10.5px; margin-left: 3px; }
.uc-filter[open] > summary { border-color: var(--red); color: var(--red); }
.uc-filter-pop {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.25);
  padding: 6px 0 0;
}
.uc-filter-opts { max-height: 290px; overflow-y: auto; padding: 4px 14px 8px; display: grid; gap: 2px; }
.uc-filter-opts label { display: flex; align-items: center; gap: 8px; font-size: 13px;
  padding: 5px 0; cursor: pointer; }
.uc-filter-opts label span { color: var(--muted); font-size: 11.5px; margin-left: auto; }
.uc-filter-opts input { accent-color: var(--red); width: 15px; height: 15px; flex: none; }
.uc-filter-price { display: flex; gap: 10px; padding: 8px 14px 4px; }
.uc-filter-price label { font-size: 11.5px; color: var(--muted); display: grid; gap: 3px; }
.uc-filter-price select { font-family: Arial, sans-serif; font-size: 13px; border: 1px solid var(--card-line);
  border-radius: 7px; padding: 6px 8px; background: #fff; }
.uc-filter-apply {
  display: block;
  width: calc(100% - 28px);
  margin: 6px 14px 12px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  padding: 9px 0;
  cursor: pointer;
}
@media (hover:hover) { .uc-filter-apply:hover { background: var(--red-dark); } }
.uc-sortpill { margin-left: auto; font-size: 12px; color: var(--muted); display: flex;
  align-items: center; gap: 7px; }
.uc-sortpill select { font-family: Arial, sans-serif; font-size: 13px; color: var(--ink);
  border: 1px solid var(--card-line); background: #fff; border-radius: 999px; padding: 8px 12px; }

/* mobile: one swipeable line of pills (edge-to-edge), popovers become a bottom sheet */
@media (max-width: 700px) {
  .uc-filterbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -10px;
    padding: 0 10px 4px;
  }
  .uc-filterbar::-webkit-scrollbar { display: none; }
  .uc-filter { flex: none; }
  .uc-sortpill { margin-left: 0; flex: none; }

  /* iOS clips position:fixed descendants of a scroll container — while a
     sheet is open, lift the overflow so sheet+backdrop escape, and lock the
     page behind the modal */
  /* overflow:visible (needed so the fixed sheet escapes iOS clipping) resets
     scrollLeft to 0 — compensate with a margin shift so the pills hold their
     visual position instead of jumping to the start (--sheet-shift set in JS) */
  .uc-filterbar.uc-sheet-open { overflow-x: visible; margin-left: calc(-10px - var(--sheet-shift, 0px)); }
  body.uc-sheet-open { overflow: hidden; }

  /* right-edge fade = "more filters this way"; hidden once scrolled to the end */
  #uc-filterform { position: relative; }
  #uc-filterform::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    bottom: 0;
    width: 44px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(237, 237, 237, 0), var(--ground) 82%);
    opacity: 1;
    transition: opacity .18s ease;
  }
  #uc-filterform.uc-scrolled-end::after { opacity: 0; }
  .uc-filter[open]::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0,0,0,.45);
  }
  .uc-filter-pop {
    position: fixed;
    z-index: 60;
    left: 0; right: 0; bottom: 0; top: auto;
    max-width: none;
    border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .uc-filter-opts { max-height: 46vh; }
}

/* AI explainer note above smart-search results */
.uc-ainote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  max-width: 720px;
}
.uc-ainote-mark { color: var(--muted); flex: none; font-size: 15px; line-height: 1.3; }
.uc-answer-link { text-decoration: none; font-weight: bold; }
@media (hover:hover) { .uc-answer-link:hover { color: var(--red); } }

/* active filter chips */
.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.uc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.uc-chip span { color: #b9bbc0; font-size: 14px; line-height: 1; }
@media (hover:hover) { .uc-chip:hover { background: var(--red); } .uc-chip:hover span { color: #fff; } }
.uc-chip-clear { background: transparent; color: var(--muted); border: 1px solid var(--card-line); }
@media (hover:hover) { .uc-chip-clear:hover { background: transparent; color: var(--red); border-color: var(--red); } }

/* ── Breadcrumbs ──────────────────────────────────────── */

.uc-crumbs {
  display: flex;
  align-items: center;
  padding: 12px 10px 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.uc-crumbs a { flex: none; color: var(--muted); text-decoration: none; }
@media (hover:hover) { .uc-crumbs a:hover { color: var(--red); } }
.uc-crumb-sep { flex: none; margin: 0 6px; color: #c9c9c9; }
/* the current-page crumb (often a long car title) ellipsizes to fit */
.uc-crumbs [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ── Hero ─────────────────────────────────────────────── */

.uc-hero { padding: 26px 0 8px; text-align: center; }
.uc-hero-scope { text-align: left; padding-bottom: 2px; }
.uc-hero h1 { margin: 0; font-size: 24px; font-weight: bold; line-height: 1.2; }
.uc-hero h1 em { font-style: normal; color: var(--red); }
.uc-hero-sub { max-width: 520px; margin: 8px auto 0; font-size: 13px; color: var(--muted); }
.uc-hero-scope .uc-hero-sub { margin-left: 0; }
.uc-hero-sub strong { color: var(--ink); }

.uc-kicker {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.uc-kicker a { color: inherit; text-decoration: none; }
@media (hover:hover) { .uc-kicker a:hover { color: var(--red); } }

/* ── Section heads — centered bold, like the homepage ─── */

.uc-sechead { margin: 30px 0 14px; text-align: center; }
.uc-sechead h2 { margin: 0; font-size: 20px; font-weight: bold; }
.uc-sechead .uc-eyebrow {
  display: block;
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.uc-results-h1 { margin: 0; font-size: 22px; font-weight: bold; }
.uc-results-n { margin-left: 10px; font-size: 12px; font-weight: normal; color: var(--muted); white-space: nowrap; }

/* ── Make / model chips ───────────────────────────────── */

.uc-make-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.uc-make-chip {
  display: block;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 11px 13px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.uc-make-chip strong { display: block; font-size: 14px; font-weight: bold; line-height: 1.25; transition: color .15s ease; }
.uc-make-chip span { font-size: 11px; color: var(--muted); }
@media (hover:hover) {
  .uc-make-chip:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-make-chip:hover strong { color: var(--red); }
}
.uc-make-chip:active { transform: translateY(1px); }

.uc-bodies { margin-top: 14px; }
.uc-body-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.uc-body-chip {
  font-size: 12px;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.uc-body-chip span { color: var(--muted); font-weight: normal; }
@media (hover:hover) { .uc-body-chip:hover { color: var(--red); border-color: var(--red); } }

/* ── Cross-shop tiles (model page "Also consider") ────── */

.uc-xshop-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .uc-xshop-row { grid-template-columns: repeat(4, 1fr); } }
.uc-xshop {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
}
@media (hover:hover) {
  .uc-xshop:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-xshop:hover strong { color: var(--red); }
}
.uc-xshop-media { display: block; background: #ececec; aspect-ratio: 600/384; line-height: 0; }
.uc-xshop-media img { width: 100%; height: 100%; object-fit: cover; }
.uc-xshop-body { padding: 9px 12px 11px; }
.uc-xshop-body strong { display: block; font-size: 13px; line-height: 1.25; transition: color .15s ease; }
.uc-xshop-body span { font-size: 11px; color: var(--muted); }

/* ── Listing cards — pt-featured-grid idiom ───────────── */

.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 12px; }
.uc-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
}
@media (hover:hover) {
  .uc-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-card:hover .uc-card-title a { color: var(--red); }
}
.uc-card-media { position: relative; display: block; background: #ececec; aspect-ratio: 600/384; line-height: 0; }
.uc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.uc-badge-new, .uc-badge-sold, .uc-badge-drop {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
}
.uc-badge-new { background: var(--red); }
.uc-badge-sold { background: #1a1a1a; }
.uc-badge-drop { background: var(--wa-dark); text-decoration: none; text-transform: none; }
.uc-pricedrop { margin: 2px 0 0; font-size: 12px; font-weight: bold; color: var(--wa-dark); }
.uc-badge-sold-lg { top: 14px; left: 14px; font-size: 13px; padding: 5px 12px; }
.uc-card.is-sold .uc-card-media img { filter: grayscale(.55) contrast(.96); }
.uc-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.uc-card-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-card-title a { text-decoration: none; transition: color .15s ease; }
.uc-card-specs { margin: 0; font-size: 11px; color: var(--muted); }
.uc-card-price { margin: auto 0 0; padding-top: 4px; font-size: 15px; font-weight: bold; color: var(--red); }
.uc-card-price s { color: var(--muted); }
.uc-card-monthly { font-size: 11px; font-weight: normal; color: var(--muted); margin-left: 5px; }

/* ── Sort bar / pagination ────────────────────────────── */

.uc-sortbar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.uc-sortbar label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.uc-sortbar select {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--card-line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
}
.uc-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 6px;
  font-size: 13px;
  font-weight: bold;
}
.uc-pages a {
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 8px 16px;
}
@media (hover:hover) { .uc-pages a:hover { color: var(--red); border-color: var(--red); } }
.uc-page-nums { display: flex; align-items: center; gap: 6px; }
.uc-pages a.uc-page-num { padding: 8px 0; min-width: 36px; text-align: center; }
.uc-page-cur {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 8px 0;
  min-width: 36px;
  text-align: center;
}
.uc-page-gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 420px) {
  .uc-pages { gap: 8px; }
  .uc-pages a.uc-page-prev, .uc-pages a.uc-page-next { padding: 8px 12px; }
  .uc-pages a.uc-page-num, .uc-page-cur { min-width: 32px; }
}
.uc-empty { padding: 22px 0; font-size: 14px; color: var(--muted); }
.uc-empty a { color: var(--red); }

/* ── Popular list / prose ─────────────────────────────── */

.uc-pop-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.uc-pop-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding: 10px 2px;
  border-bottom: 1px solid var(--card-line);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
@media (hover:hover) { .uc-pop-list a:hover { color: var(--red); } }
.uc-pop-list span { font-size: 11px; font-weight: normal; color: var(--muted); white-space: nowrap; }
.uc-prose { max-width: 680px; margin: 0 auto; font-size: 16px; color: var(--ink); }
.uc-prose p { margin: 0 0 12px; }
.uc-intro { margin-top: 8px; }
.uc-intro .uc-sechead { margin-top: 30px; }

/* ── Make-page summary, facets, FAQ ───────────────────── */

.uc-summary { margin: 4px auto 0; }
.uc-hero-scope + .uc-summary { margin-left: 0; }
.uc-tagline { margin: 10px 0 0; font-size: 15px; font-weight: bold; color: var(--ink); max-width: 640px; }
.uc-facets .uc-body-row { justify-content: flex-start; margin-bottom: 8px; }
.uc-faq { display: grid; gap: 8px; }
.uc-faq-item {
  background: var(--chip-bg);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 0 14px;
}
.uc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 22px 11px 0;
  font-size: 13px;
  font-weight: bold;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.uc-faq-item summary::-webkit-details-marker { display: none; }
.uc-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: bold;
  color: var(--muted);
}
.uc-faq-item[open] summary::after { content: '\2212'; }
.uc-faq-item p { margin: 0; padding: 0 0 12px; font-size: 15px; color: var(--ink); }

/* ── Data blocks (white cards) ────────────────────────── */

.uc-datablock {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 18px 16px 14px;
  margin-top: 26px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.uc-datablock .uc-sechead { margin-top: 0; text-align: left; }
.uc-datablock .uc-prose { margin: 0; max-width: 680px; color: var(--ink); font-size: 15px; }
.uc-valtable-wrap { overflow-x: auto; margin: 10px 0 4px; }
.uc-valtable { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 13px; }
.uc-valtable th {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding: 6px 14px 6px 0;
}
.uc-valtable td { border-bottom: 1px solid var(--rule-soft); padding: 7px 14px 7px 0; }
.uc-valtable td:first-child { font-weight: bold; }
.uc-source { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.uc-source a { color: inherit; }

/* recently-sold table */
.uc-soldtable { max-width: none; }
.uc-soldtable td { vertical-align: middle; white-space: nowrap; }
.uc-soldtable td:nth-child(1) { white-space: normal; min-width: 220px; text-transform: uppercase; }
.uc-soldtable td a { color: var(--ink); text-decoration: none; font-weight: bold; }
@media (hover:hover) { .uc-soldtable td a:hover { color: var(--red); } }
.uc-solddays { color: var(--muted); font-size: 11px; }
.uc-soldfilter { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 2px 0 10px; }
.uc-soldfilter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: bold; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.uc-soldfilter select { font: bold 14px/1.2 Arial, sans-serif; color: var(--ink); background: #fff; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; padding: 8px 14px; max-width: 240px; }
.uc-soldfilter-clear { font-size: 13px; font-weight: bold; color: var(--red); text-decoration: none; padding: 9px 2px; }

.uc-bars { display: flex; align-items: flex-end; gap: 6px; margin: 16px 0 2px; overflow-x: auto; padding-bottom: 2px; }
.uc-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 48px; }
.uc-bar-fill { width: 100%; max-width: 54px; background: var(--red); border-radius: 3px 3px 0 0; }
.uc-bar-n { font-size: 10px; color: var(--muted); order: -1; }
.uc-bar-y { font-size: 11px; font-weight: bold; color: var(--muted); }

/* ── Stories ──────────────────────────────────────────── */

/* research-section card style (kicker · time-ago, title left, thumb right) */
.uc-story-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.uc-story {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-sizing: border-box;
}
.uc-story-body { flex: 1 1 auto; min-width: 0; }
.uc-story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}
.uc-story-cat {
  color: var(--red);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11px;
  text-decoration: none;
}
.uc-story-sep { color: #bbb; }
.uc-story-time { color: #666; }
.uc-story-t {
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: bold;
  color: #393a3b;
}
.uc-story-t a { color: #393a3b; text-decoration: none; }
@media (hover:hover) { .uc-story-t a:hover { color: var(--red); } }
.uc-story-thumb {
  flex: 0 0 144px;
  width: 144px;
  aspect-ratio: 40 / 21;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  display: block;
}
.uc-story-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .uc-story-thumb { flex: 0 0 120px; width: 120px; }
  .uc-story-t { font-size: 15px; }
}
@media (max-width: 699px) {
  .uc-story-list .uc-story:nth-child(n+5) { display: none; }   /* 4 on mobile, 6 on desktop (research parity) */
}

/* ── Listing page ─────────────────────────────────────── */

.uc-listing { padding-top: 16px; }
.uc-soldbar {
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}
.uc-soldbar a { color: #ff9d9d; }
.uc-listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

.uc-gallery { min-width: 0; }
.uc-gallery-main {
  position: relative;
  background: #ececec;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  aspect-ratio: 720/460;
  line-height: 0;
  touch-action: pan-y;   /* horizontal swipes are gallery navigation */
}
.uc-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
/* JS-built sliding track (drag-follow swipe); slides adopt the img styling */
.uc-gallery-track { display: flex; height: 100%; will-change: transform; }
.uc-gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; background: #ececec; }
.uc-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 22, .45);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.uc-gallery-prev { left: 10px; }
.uc-gallery-next { right: 10px; }
@media (hover:hover) { .uc-gallery-nav:hover { background: rgba(20, 20, 22, .7); } }
.uc-gallery-nav:active { transform: translateY(-50%) scale(.94); }
@media (max-width: 700px) { .uc-gallery-nav { width: 34px; height: 34px; } }

/* expand-to-lightbox button, bottom-right of the main photo */
.uc-gallery-expand {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 20, 22, .45); color: #fff;
  border: 0; border-radius: 999px; padding: 8px 12px;
  font-size: 12px; font-weight: bold; line-height: 1; cursor: pointer;
  -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none;
}
@media (hover:hover) { .uc-gallery-expand:hover { background: rgba(20, 20, 22, .7); } }
.uc-gallery-expand:active { transform: scale(.94); }
.uc-gallery-expand svg { display: block; }
.uc-gallery-expand span { font-variant-numeric: tabular-nums; }
.uc-gallery-expand b { font-weight: bold; }

/* all-photos lightbox: the <dialog> itself is the scroll container */
.uc-lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh;
  max-width: none; max-height: none; background: #101013;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.uc-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.uc-lightbox-bar {
  position: sticky; top: 0; z-index: 2; display: flex;
  justify-content: flex-end; align-items: center;
  padding: 10px 14px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
.uc-lightbox-close {
  pointer-events: auto; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(20, 20, 22, .55); color: #fff; cursor: pointer;
}
@media (hover:hover) { .uc-lightbox-close:hover { background: rgba(20, 20, 22, .8); } }
.uc-lightbox-col {
  max-width: 860px; margin: -34px auto 0; padding: 0 10px 28px;
  display: grid; gap: 10px;
}
.uc-lightbox-col img { width: 100%; height: auto; display: block; border-radius: 6px; }
/* kill the UA's blue focus ring (off-scheme); keep a visible ring for
   keyboard users only, in site white-on-dark */
.uc-lightbox:focus, .uc-lightbox-close:focus, .uc-gallery-expand:focus, .uc-gallery-nav:focus { outline: none; }
.uc-lightbox-close:focus-visible, .uc-gallery-expand:focus-visible, .uc-gallery-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9); outline-offset: 2px;
}
.uc-lightbox-open, .uc-lightbox-open body { overflow: hidden; }
.uc-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.uc-thumb {
  flex: 0 0 auto;
  width: 90px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #ececec;
  -webkit-appearance: none;
  appearance: none;
}
.uc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uc-thumb.is-active { border-color: var(--red); }

/* financing table under the gallery — desktop only */
.uc-finance { display: none; }
.uc-finance-dp td { border-top: 2px solid var(--ink); font-weight: bold; }

.uc-buybox {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  padding: 16px;
}
.uc-buybox h1 { margin: 2px 0 10px; font-size: 20px; font-weight: bold; line-height: 1.25; }
.uc-buybox .uc-kicker { margin-bottom: 2px; }
.uc-price { margin: 0; font-size: 28px; font-weight: bold; line-height: 1.1; color: var(--red); }
.uc-price-monthly { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.uc-price-monthly strong { color: var(--ink); }
.uc-price-monthly span { font-size: 11px; }
.uc-buybox-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.uc-trust {
  list-style: none;
  margin: 14px 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.uc-trust li { padding-left: 20px; position: relative; }
.uc-trust li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--wa-dark);
  border-bottom: 2px solid var(--wa-dark);
  transform: rotate(-48deg);
}
.uc-specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.uc-specs th {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  text-align: left;
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--rule-soft);
  width: 40%;
}
.uc-specs td { padding: 7px 0; border-bottom: 1px solid var(--rule-soft); }
.uc-copy {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 2px;
  margin-left: 7px;
  color: var(--muted);
  cursor: pointer;
  vertical-align: -2px;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-copy:hover { color: var(--red); } }
.uc-copy .uc-copy-ok { display: none; color: var(--wa-dark); }
.uc-copy.is-copied .uc-copy-i { display: none; }
.uc-copy.is-copied .uc-copy-ok { display: inline; }
.uc-specs tr:last-child th, .uc-specs tr:last-child td { border-bottom: 0; }
@media (hover:hover) { .uc-specs td a:hover { color: var(--red); } }

/* ── WhatsApp CTA — pill button, WhatsApp green ───────── */

.uc-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  -webkit-tap-highlight-color: transparent;
}
@media (hover:hover) { .uc-wa:hover { background: var(--wa); } }
.uc-wa:active { transform: translateY(1px); }
.uc-wa svg { flex: 0 0 auto; }

.uc-stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--card-line);
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.uc-stickybar-price { font-size: 20px; font-weight: bold; color: var(--red); white-space: nowrap; }
.uc-stickybar .uc-wa { min-height: 42px; }
body:has(.uc-stickybar) { padding-bottom: 74px; }

.uc-similar { margin-top: 8px; }

/* ── Footer — white colophon like /research/ ──────────── */

.uc-foot {
  margin-top: 34px;
  background: #fff;
  border-top: 1px solid var(--card-line);
  color: var(--muted);
}
.uc-foot .uc-wrap { padding-top: 18px; padding-bottom: 24px; font-size: 12px; text-align: center; }
.uc-foot-brand { margin: 0 0 10px; }
.uc-foot-brand img { display: inline-block; width: 140px; height: auto; }
.uc-foot-note { margin: 3px auto; max-width: 560px; }
.uc-foot-note strong { color: var(--ink); }
.uc-foot-links { margin: 8px 0 0; }
.uc-foot-links a { color: var(--ink); text-decoration: none; }
@media (hover:hover) { .uc-foot-links a:hover { color: var(--red); text-decoration: underline; } }

/* ── Tablet (≥700px) ──────────────────────────────────── */

@media (min-width: 700px) {
  .uc-grid { grid-template-columns: repeat(3, 1fr); }
  .uc-make-row { grid-template-columns: repeat(3, 1fr); }
  .uc-hero h1 { font-size: 28px; }
  .uc-pop-list { grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
  .uc-story-list { grid-template-columns: repeat(2, 1fr); }
}

/* ── Desktop (≥980px) ─────────────────────────────────── */

@media (min-width: 980px) {
  body { font-size: 15px; }          /* match /research sibling; classifieds read denser than news */
  .uc-card-title { font-size: 16px; }
  .uc-pop-list a { font-size: 15px; }
  .uc-wrap { max-width: 1080px; padding-left: 20px; padding-right: 20px; }

  .uc-top-in { gap: 16px; }
  .uc-brand img { width: 126px; }
  .uc-section { font-size: 11px; padding: 4px 11px; }
  .uc-search { max-width: 230px; }

  .uc-crumbs { padding-left: 20px; padding-right: 20px; }

  .uc-hero { padding-top: 34px; }
  .uc-hero h1 { font-size: 34px; }
  .uc-hero-sub { font-size: 14px; }

  .uc-sechead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }
  .uc-sechead h2 { font-size: 22px; }
  .uc-sechead .uc-eyebrow { flex: none; order: 2; margin: 0; }
  .uc-results-h1 { font-size: 26px; }

  .uc-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .uc-make-row { grid-template-columns: repeat(5, 1fr); }
  .uc-body-row { justify-content: flex-start; }
  .uc-hero + .uc-makes .uc-body-row, .uc-bodies .uc-body-row { justify-content: center; }
  .uc-pop-list { grid-template-columns: repeat(3, 1fr); }
  /* story lists stay 2-col on desktop: 6 stories = 3 rows × 2 (user pref) */
  .uc-prose { margin-left: 0; }
  .uc-datablock { padding: 22px 24px 18px; }

  .uc-listing-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
  .uc-thumb { width: 180px; height: 120px; }
  .uc-finance {
    display: block;
    margin-top: 16px;
    background: #fff;
    border: 1px solid var(--card-line);
    border-radius: 10px;
    padding: 16px 18px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  }
  .uc-buybox { position: sticky; top: 70px; padding: 20px; }
  .uc-buybox h1 { font-size: 24px; }
  .uc-price { font-size: 32px; }
  .uc-stickybar { display: none; }
  body:has(.uc-stickybar) { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-card, .uc-make-chip, .uc-story-list a, .uc-card-title a, .uc-story-t { transition: none; }
}

/* ── Seller panel (phase 2) ───────────────────────────── */
.uc-panel { max-width: 640px; margin: 22px auto 40px; background: #fff; border: 1px solid var(--card-line); border-radius: 10px; padding: 22px 24px 26px; }
.uc-panel h1 { font-size: 24px; margin: 0 0 6px; }
.uc-panel-sub { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.uc-panel-notice { background: #eef8ef; border: 1px solid #cfe8d2; color: #14632a; border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: bold; }
.uc-panel-error { background: #fdf0f0; border: 1px solid #f0cfcf; color: #8a0c0c; border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: bold; }
.uc-panel-form { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 6px; }
.uc-panel-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: bold; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.uc-panel-form input, .uc-panel-form select { font: 15px/1.3 Arial, sans-serif; color: var(--ink); padding: 10px 12px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; background: #fff; }
.uc-panel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .uc-panel-grid { grid-template-columns: 1fr 1fr; } }
.uc-panel-btn { display: inline-block; border: 0; cursor: pointer; background: var(--red); color: #fff; font: bold 14px/1 Arial, sans-serif; padding: 12px 22px; border-radius: 999px; text-decoration: none; text-align: center; }
.uc-panel-btn[disabled] { background: #bbb; cursor: not-allowed; }
@media (hover:hover) { .uc-panel-btn:not([disabled]):hover { background: var(--red-dark, #8a0c0c); } }
.uc-panel-btn-ghost { background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.2); }
.uc-panel-packs { display: flex; gap: 10px; flex-wrap: wrap; }
.uc-panel-pack { flex: 1 1 120px; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; padding: 12px; text-align: center; cursor: pointer; font-size: 13px; }
.uc-panel-pack input { margin-right: 6px; }
.uc-panel-photos input { padding: 8px 0; border: 0; }
.uc-paneltable td { vertical-align: middle; }
.uc-panel-status { font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: #eee; color: #444; white-space: nowrap; }
.uc-panel-status-forsale { background: #eef8ef; color: #14632a; }
.uc-panel-status-pending { background: #fff7e6; color: #8a6d1a; }
.uc-panel-status-rejected { background: #fdf0f0; color: #8a0c0c; }
.uc-panel-status-sold { background: #1a1a1a; color: #fff; }
.uc-panel-form textarea { font: 14px/1.5 Arial, sans-serif; color: var(--ink); padding: 10px 12px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; background: #fff; resize: vertical; }
.uc-panel-thumb img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: #ececec; }
.uc-panel-nophoto { display: inline-block; width: 72px; height: 48px; border-radius: 6px; background: #ececec; color: var(--muted); font-size: 10px; text-align: center; line-height: 48px; }
.uc-panel-stats { color: var(--muted); }
.uc-panel-actions .uc-copy.is-copied::after { content: " ✓"; color: var(--wa-dark); font-weight: bold; }
/* seller identity card on user listings */
.uc-sellercard { display: flex; gap: 12px; align-items: flex-start; background: #fafafa; border: 1px solid var(--rule-soft); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.uc-sellercard-avatar { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--red); color: #fff; font-weight: bold; font-size: 17px; display: grid; place-items: center; }
.uc-sellercard strong { display: block; font-size: 14px; }
.uc-sellercard-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.uc-sellercard-more { display: inline-block; font-size: 12px; font-weight: bold; color: var(--red); text-decoration: none; margin-top: 5px; }
.uc-panel-h2 { font-size: 16px; margin: 0 0 4px; }
.uc-trust-logo { width: 86px; height: 22px; margin: 14px 0 2px; }

/* ── Shortlist + compare ───────────────────────────────── */
.uc-card-mediawrap { position: relative; line-height: 0; }
.uc-fav { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.uc-fav.is-on svg { fill: #f5a623; stroke: #f5a623; }
.uc-fav-card {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
}
@media (hover:hover) { .uc-fav-card:hover svg { transform: scale(1.12); } }
.uc-fav-card svg { transition: transform .12s ease; }
.uc-fav-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 8px; padding: 11px 0;
  font-family: Arial, sans-serif; font-size: 13px; font-weight: bold;
  color: var(--ink); background: #fff; border: 1px solid var(--card-line);
  border-radius: 999px; cursor: pointer;
}
@media (hover:hover) { .uc-fav-btn:hover { border-color: var(--ink); } }
.uc-fav-btn.is-on { border-color: #f5a623; }
.uc-top-fav[hidden] { display: none; }
.uc-top-fav {
  position: relative; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; color: #fff; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
}
.uc-top-fav b {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  font-size: 10.5px; line-height: 17px; text-align: center;
  background: var(--red); border-radius: 999px; padding: 0 3px;
}
.uc-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
.uc-cmp { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.uc-cmp th {
  position: sticky; left: 0; z-index: 3; background: var(--ground);
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px;
  color: var(--muted); padding: 8px 12px 8px 0; min-width: 92px; vertical-align: top;
}
.uc-cmp td { padding: 8px 14px 8px 10px; border-bottom: 1px solid var(--rule-soft); min-width: 170px; max-width: 240px; vertical-align: top; }
.uc-cmp tr:first-child td, .uc-cmp tr:first-child th { border-bottom: 0; }
.uc-cmp-car { vertical-align: top; }
.uc-cmp-photo { position: relative; max-width: 220px; }
.uc-cmp-car img { width: 100%; height: auto; border-radius: 8px; display: block; }
.uc-cmp-photo .uc-badge-sold { top: 8px; left: 8px; }
.uc-cmp-title { display: block; font-size: 15px; font-weight: bold; margin: 8px 0 4px; text-decoration: none; max-width: 220px; }
.uc-cmp-remove {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  display: grid; place-items: center; width: 30px; height: 30px;
  background: rgba(20, 20, 22, .6); color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
@media (hover:hover) { .uc-cmp-remove:hover { background: var(--red); } }
.uc-cmp-remove:active { transform: scale(.9); }
.uc-cmp-best { background: #eaf7ee; box-shadow: inset 3px 0 0 #1a7f37; font-weight: bold; }
.uc-cmp-drop { color: #1a7f37; font-weight: bold; font-size: 12px; }
.uc-cmp-sub { color: var(--muted); font-size: 11px; }
@media (min-width: 980px) {
  .uc-cmp { font-size: 15px; }
  .uc-cmp-title { font-size: 16px; }
}
.uc-cmp .uc-wa { max-width: 170px; }
.uc-cmp-watop { margin: 8px 0 2px; max-width: 220px; }
.uc-cmp-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.uc-cmp-hero-text { min-width: 0; }
.uc-cmp-share {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: bold; border-radius: 999px; padding: 11px 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12); white-space: nowrap;
}
.uc-cmp-share svg { display: block; }
@media (hover:hover) { .uc-cmp-share:hover { background: var(--wa-dark); } }
.uc-cmp-share:active { transform: scale(.97); }
@media (max-width: 560px) {
  .uc-cmp-hero { gap: 10px; }
  .uc-cmp-share { font-size: 13px; padding: 9px 16px; gap: 7px; }
  .uc-cmp-share svg { width: 16px; height: 16px; }
}
.uc-cmp-ghost .uc-cmp-add {
  display: grid; place-items: center; align-content: center; gap: 2px;
  width: 100%; max-width: 220px; aspect-ratio: 600/384;
  border: 2px dashed var(--card-line); border-radius: 8px;
  color: var(--muted); text-decoration: none; text-align: center;
}
.uc-cmp-ghost .uc-cmp-add b { font-size: 30px; font-weight: normal; line-height: 1; }
.uc-cmp-ghost .uc-cmp-add span { font-weight: bold; font-size: 13px; }
.uc-cmp-ghost .uc-cmp-add small { font-size: 11px; }
@media (hover:hover) { .uc-cmp-ghost .uc-cmp-add:hover { border-color: var(--muted); color: var(--ink); } }
.uc-cmp-ghostcell { color: #c9c9cd; }
.uc-soldcta-p { max-width: 680px; color: var(--muted); margin: 6px 0 12px; }
.uc-filter-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 12px;
  font-weight: bold; color: var(--ink); background: #fff; border: 1px solid var(--card-line);
  border-radius: 999px; padding: 8px 12px; cursor: pointer; white-space: nowrap;
  user-select: none; -webkit-tap-highlight-color: transparent; }
.uc-filter-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.uc-filter-toggle { position: relative; gap: 5px; }
.uc-filter-toggle:has(input:checked)::after { content: ' \2713'; font-weight: bold; }
.uc-filter-toggle:has(input:checked) { border-color: var(--red); color: var(--red); }
.uc-sechead-sort { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; text-align: left; flex-wrap: wrap; }
.uc-sechead-sort .uc-filter-sort { flex: none; margin: 0; }
.uc-sechead-sort .uc-sortbar { margin: 0; }
/* narrow: long make/model headings crowd the select — stack, sort right-aligned below */
@media (max-width: 560px) {
  .uc-sechead-sort > h1, .uc-sechead-sort > h2 { flex: 1 1 100%; }
  .uc-sechead-sort > form.uc-sortbar, .uc-sechead-sort > .uc-filter-sort { flex: 1 1 100%; display: flex; justify-content: flex-end; }
}
.uc-filter-sort { margin-left: auto; }
.uc-filter-sort .uc-filter-pop { left: auto; right: 0; }
@media (max-width: 700px) { .uc-filter-sort { margin-left: 0; } }
.uc-hist { max-width: 640px; }
.uc-hist td:first-child { font-weight: normal; white-space: nowrap; color: var(--muted); }
.uc-hist-pos { color: #1a7f37; font-weight: bold; }
.uc-hist-neg { color: var(--pt-red, #c00); font-weight: bold; }
.uc-source + .uc-panel-h2 { margin-top: 26px; }
.uc-panel-hint { font-weight: normal; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--wa-dark); }
.uc-panel-photolabel { font-size: 12px; font-weight: bold; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.uc-panel-photogrid { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-panel-photogrid figure { margin: 0; width: 110px; }
.uc-panel-photogrid img { width: 110px; height: 73px; object-fit: cover; border-radius: 6px; background: #ececec; }
.uc-panel-photoopt { display: flex !important; flex-direction: row !important; align-items: center; gap: 5px !important; font-size: 11.5px !important; text-transform: none !important; letter-spacing: 0 !important; margin-top: 3px; cursor: pointer; }
.uc-panel-photoopt input { accent-color: var(--red); margin: 0; width: 14px; height: 14px; padding: 0; }
.uc-panel-photoopt-rm { color: #8a0c0c !important; }
/* seller panel nav pills */
.uc-panel-nav { display: flex; gap: 7px; margin: 0 0 18px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.uc-panel-nav::-webkit-scrollbar { display: none; }
.uc-panel-nav-a { flex: none; font-size: 12px; font-weight: bold; color: var(--ink); background: var(--chip-bg); border: 1px solid var(--card-line); border-radius: 999px; padding: 8px 14px; text-decoration: none; white-space: nowrap; }
.uc-panel-nav-a.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.uc-panel-nav-out { margin-left: auto; color: var(--muted); }
@media (hover:hover) { .uc-panel-nav-a:not(.is-active):hover { border-color: var(--red); color: var(--red); } }
.uc-panel-balance { font-size: 13px; margin: -8px 0 14px; }
.uc-panel-balance a { color: var(--red); font-weight: bold; }
.uc-panel-navwrap { position: relative; margin: 0 0 18px; }
.uc-panel-navwrap .uc-panel-nav { margin: 0; }
.uc-panel-navwrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 3px;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0), #fff 85%);
}
@media (min-width: 560px) { .uc-panel-navwrap::after { display: none; } }

/* ── Header sell CTA + under-header search bar ────────── */
.uc-top-sell {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover:hover) { .uc-top-sell:hover { background: var(--red-dark); } }
.uc-searchbar { background: #fff; border-bottom: 1px solid var(--card-line); }
.uc-searchbar-in { display: flex; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.uc-searchbar-in input {
  flex: 1;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;               /* >=16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: var(--chip-bg);
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 8px 16px;
  -webkit-appearance: none;
  appearance: none;
}
.uc-searchbar-in input:focus { outline: 0; border-color: var(--red); background: #fff; }
.uc-searchbar-in button {
  flex: none;
  width: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-searchbar-in button:hover { background: var(--red-dark); } }
.uc-panel-pitch { margin-top: 18px; border-top: 1px solid var(--rule-soft); padding-top: 14px; }
.uc-panel-pitch ul { margin: 8px 0 0; padding-left: 18px; }
.uc-panel-pitch li { font-size: 13px; margin: 0 0 8px; }
.uc-legal h1 { font-size: 26px; margin: 0 0 4px; }
.uc-legal .uc-prose h2 { font-size: 17px; margin: 22px 0 6px; }
.uc-legal .uc-prose { font-size: 13px; }
.uc-legal .uc-prose a { color: var(--red); }
.uc-panel-agree { display: flex !important; flex-direction: row !important; gap: 9px !important; align-items: flex-start; font-size: 13px !important; font-weight: normal !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; }
.uc-panel-agree input { width: 17px; height: 17px; margin-top: 1px; flex: none; accent-color: var(--red); }
.uc-panel-agree a { color: var(--red); }
.uc-foot-legal { font-size: 11.5px; }
.uc-legal > .uc-source { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft); }
