/* Charrr 차르르 — buyer SPA. Light editorial look (sand ground, white cards), colours taken from the
   Charrr logo's red/blue pair at low saturation. Mobile first; logical properties only so `ar` flips cleanly. */

:root {
  --ground: #F6F4EF;
  --ground-2: #EEEBE4;
  --card: #FFFFFF;
  --ink: #1D1F24;
  --ink-2: #3A3D45;
  --muted: #6E717A;
  --faint: #9A9DA5;
  --line: rgba(29, 31, 36, .09);
  --line-2: rgba(29, 31, 36, .16);

  /* logo red, desaturated */
  --red: #B23A40;
  --red-hover: #9A3036;
  --red-deep: #6E2329;
  --red-soft: #F6EAE9;
  --red-line: #E9D0CE;
  /* logo blue, desaturated */
  --blue: #2E5786;
  --blue-hover: #254A73;
  --navy: #1E2C47;
  --blue-soft: #E9EFF5;
  --blue-line: #CCD9E7;

  --wa: #2C8F5A;
  --tg: #2E79AE;
  --amber: #B7862F;
  --ring: conic-gradient(from 210deg, #B23A40, #6E2329, #2E5786, #B23A40);

  --shadow-xs: 0 1px 2px rgba(29, 31, 36, .05);
  --shadow: 0 12px 32px -14px rgba(29, 31, 36, .22);
  --shadow-lg: 0 28px 64px -24px rgba(29, 31, 36, .34);
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1152px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
html:lang(ar) { --font: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", system-ui, sans-serif; }
html:lang(zh) { --font: "Pretendard", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  padding-block-end: calc(64px + var(--safe-b));
}
::selection { background: var(--red-soft); color: var(--red-deep); }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
bdi { unicode-bidi: isolate; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 24px; text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
body.has-page, body.has-sheet { overflow: hidden; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding-inline: 18px; border: 1px solid transparent; border-radius: var(--r-sm);
  font-weight: 700; font-size: 14.5px; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn svg { width: 19px; height: 19px; }
.btn.block { display: flex; width: 100%; }
.btn.grow { flex: 1 1 0; min-width: 0; }
.btn.sm { min-height: 36px; padding-inline: 14px; font-size: 13px; border-radius: 11px; }
.btn.sm svg { width: 16px; height: 16px; }
.btn-accent { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(178, 58, 64, .6); }
.btn-accent:hover { background: var(--red-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(.94); }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.is-following { color: var(--blue); border-color: var(--blue-line); background: var(--blue-soft); }

.icon-btn, .round-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 0;
  transition: border-color .15s ease, background-color .15s ease;
}
.icon-btn:hover, .round-btn:hover { border-color: var(--ink); }
.icon-btn svg, .round-btn svg { width: 19px; height: 19px; }
.icon-btn.glass { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); box-shadow: var(--shadow-xs); }
.me-btn.is-pro { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.pill-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding-inline: 12px 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 12.5px; font-weight: 800;
}
.pill-btn:hover { border-color: var(--ink); }
.pill-btn svg { width: 16px; height: 16px; color: var(--muted); }
.dark-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px;
  border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  transition: background-color .15s ease;
}
.dark-btn:hover { background: var(--red); }
.dark-btn svg { width: 16px; height: 16px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-weight: 600; font-size: 13px; }
.link-btn:hover { color: var(--ink); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--red);
  display: inline-block; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- tags/chips */
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; line-height: 1.2; white-space: nowrap;
}
.tag svg { width: 13px; height: 13px; }
.tag-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 12px -6px rgba(46, 87, 134, .7); }
.tag-blue.soft { background: var(--blue-soft); color: var(--blue); box-shadow: none; border: 1px solid var(--blue-line); }
.tag-red { background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); }
.tag-red.solid { background: var(--red); color: #fff; border-color: var(--red); }
.tag-dark { background: rgba(29, 31, 36, .82); color: #fff; backdrop-filter: blur(6px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #7FB89A; display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
.pulse.light { background: #fff; width: 7px; height: 7px; }
@keyframes pulse { 50% { opacity: .35; } }
.glass {
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 6px 18px -10px rgba(29, 31, 36, .4);
}

/* -------------------------------------------------------------- avatars */
.avatar {
  --h: 210;
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: hsl(var(--h) 26% 89%); color: hsl(var(--h) 30% 30%);
  font-weight: 800; font-size: 14px; letter-spacing: 0; text-transform: uppercase;
}
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.avatar.xl { width: 88px; height: 88px; font-size: 30px; }
.avatar.story { width: 54px; height: 54px; font-size: 18px; }

/* ------------------------------------------------------------- notice bar */
.notice-bar { background: var(--navy); color: #C9D2E0; font-size: 12px; }
.nb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding-block: 6px; }
.nb-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #E8EDF5; min-width: 0; }
.nb-live span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-right { color: #E7B9BB; font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .nb-right { display: none; } }

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 244, 239, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--line);
}
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-img { width: 40px; height: auto; transition: transform .2s ease; }
.brand:hover .brand-img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word { font-size: 22px; font-weight: 900; letter-spacing: -.04em; color: var(--red); }
.brand-word .deep, .hf-logo .deep { color: var(--red-deep); }
.brand-word i, .hf-logo i { color: var(--blue); font-style: normal; }
.brand-tag { font-size: 10.5px; font-weight: 600; color: var(--muted); margin-block-start: 3px; white-space: nowrap; }
.demo-tag {
  font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px;
  color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line);
}
.hdr-search { position: relative; flex: 1; max-width: 380px; margin-inline: 12px; display: none; }
.hdr-search input, .m-search input {
  width: 100%; height: 40px; padding-inline: 38px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .85); font-size: 13px; outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.hdr-search input:focus, .m-search input:focus { border-color: var(--ink); background: #fff; }
.hs-ic { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); display: flex; }
.hs-ic svg { width: 16px; height: 16px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.m-search { position: relative; padding-block-end: 12px; }
.m-search .hs-ic { inset-inline-start: 30px; margin-top: -6px; }
@media (min-width: 860px) {
  .hdr-search { display: block; }
  .m-search { display: none; }
}
@media (max-width: 520px) {
  .brand-tag { display: none; }
  .dark-btn span { display: none; }
  .dark-btn { width: 38px; padding: 0; justify-content: center; }
}

/* ----------------------------------------------------------------- stories */
.stories { padding-block: 16px 10px; border-block-end: 1px solid var(--line); }
.eyebrow-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block-end: 10px; }
.eyebrow { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.eyebrow-sub { font-size: 12px; color: var(--muted); }
.story-bar { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-block: 4px 6px; }
.story-bar::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; width: 72px; border: 0; background: none; padding: 0; }
.story-ring { position: relative; padding: 2.5px; border-radius: 50%; background: var(--ring); transition: transform .25s ease; }
.story:hover .story-ring { transform: scale(1.07); }
.story-in { display: block; padding: 2.5px; border-radius: 50%; background: var(--ground); }
.story-in.logo { width: 59px; height: 59px; display: grid; place-items: center; }
.story-in.logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #fff; padding: 7px; }
.story-count {
  position: absolute; inset-block-end: -4px; inset-inline-start: 50%; transform: translateX(-50%);
  min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 900; text-align: center; border: 2px solid var(--ground);
}
[dir="rtl"] .story-count { transform: translateX(50%); }
.story-v { position: absolute; inset-block-start: -2px; inset-inline-end: -2px; color: var(--blue); background: var(--ground); border-radius: 50%; padding: 1px; display: flex; }
.story-v svg { width: 17px; height: 17px; }
.story-name { font-size: 11.5px; font-weight: 700; color: var(--ink-2); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story:hover .story-name { color: var(--red); }

/* -------------------------------------------------------------------- hero */
.hero { display: grid; gap: 28px; padding-block: 32px 24px; align-items: center; }
@media (min-width: 980px) { .hero { grid-template-columns: 7fr 5fr; gap: 40px; padding-block: 48px 36px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-badge {
  display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line);
}
.hero-title { margin: 0; font-size: clamp(28px, 5.2vw, 50px); line-height: 1.16; font-weight: 850; letter-spacing: -.035em; color: var(--ink); }
.hero-title em { font-style: normal; color: var(--red); background: linear-gradient(transparent 68%, var(--red-soft) 68%); }
html:lang(en) .hero-title em, html:lang(es) .hero-title em, html:lang(fr) .hero-title em,
html:lang(sq) .hero-title em, html:lang(ru) .hero-title em {
  font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em; background: none;
}
.hero-desc { margin: 0; max-width: 560px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.hero-stats { display: flex; align-items: center; gap: 22px; margin: 8px 0 0; flex-wrap: wrap; }
.hs { display: flex; flex-direction: column; gap: 2px; }
.hs dd { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.hs.blue dd { color: var(--blue); }
.hs.red dd { color: var(--red); }
.hs dt { font-size: 12px; color: var(--muted); }
.hs-sep { width: 1px; height: 32px; background: var(--line-2); }

.hero-card {
  display: block; background: var(--card); border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs); transition: box-shadow .3s ease, transform .3s ease;
}
.hero-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hc-media { position: relative; height: 300px; border-radius: 18px; overflow: hidden; background: var(--ground-2); }
.hc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-card:hover .hc-media img { transform: scale(1.04); }
.hc-badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.hc-dealer {
  position: absolute; inset-inline: 12px; inset-block-end: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border-radius: 14px;
}
.hcd-main, .cd-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hcd-main b, .cd-text b { display: block; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcd-main small, .cd-text small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-body { padding: 16px 4px 4px; display: flex; flex-direction: column; gap: 8px; }
.hc-body h3 { margin: 0; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.hc-quote { margin: 0; font-size: 13px; color: var(--ink-2); font-style: italic; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 10px; border-block-start: 1px solid var(--line); margin-block-start: 4px; }

/* ------------------------------------------------------------------- price */
.price-num { font-weight: 900; letter-spacing: -.03em; color: var(--red); }
.price-type { margin-inline-start: 5px; font-size: 10.5px; font-weight: 800; color: var(--muted); padding: 2px 6px; border-radius: 6px; background: var(--ground-2); vertical-align: middle; }
.price-ask { font-weight: 800; color: var(--blue); }
.price-neg { margin-inline-start: 6px; font-size: 11px; font-weight: 700; color: var(--muted); }
.hc-price .price-num, .card-price .price-num { font-size: 21px; }
.hc-price .price-ask, .card-price .price-ask { font-size: 14px; }

/* --------------------------------------------------------------- just sold */
.sold-sec { padding-block: 4px 12px; }
.sold-box {
  border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--red-line);
  background: linear-gradient(135deg, rgba(246, 234, 233, .8) 0%, #fff 55%, var(--blue-soft) 100%);
}
.sold-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-block-end: 16px; }
.sold-sub { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.sold-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .sold-grid { grid-template-columns: repeat(3, 1fr); } }
.sold-card {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); transition: border-color .15s ease, box-shadow .2s ease;
}
.sold-card:hover { border-color: var(--red-line); box-shadow: var(--shadow); }
.sc-thumb { width: 54px; height: 72px; flex: none; border-radius: 10px; overflow: hidden; background: var(--ground-2); }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.sc-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sc-when { font-size: 12px; font-weight: 900; color: var(--red); text-transform: uppercase; letter-spacing: .02em; }
.sc-title { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----------------------------------------------------------------- catalog */
.catalog { padding-block: 20px 8px; display: flex; flex-direction: column; gap: 16px; }
.cat-head { display: flex; flex-direction: column; gap: 14px; border-block-end: 1px solid var(--line); padding-block-end: 14px; }
.dest-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.dest-tabs::-webkit-scrollbar { display: none; }
.dtab {
  display: inline-flex; align-items: center; gap: 6px; flex: none; border: 0; background: none; padding: 0 0 9px;
  font-size: 14px; font-weight: 800; color: var(--muted); border-block-end: 2px solid transparent; white-space: nowrap;
}
.dtab:hover { color: var(--ink); }
.dtab.on { color: var(--ink); border-color: var(--ink); }
.dtab .flag { font-size: 15px; }
.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding-inline: 14px; border-radius: 999px;
  border: 0; background: var(--ground-2); color: var(--ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.pill:hover { color: var(--ink); background: #E6E2DA; }
.pill.on { background: var(--ink); color: #fff; }
.pill svg { width: 14px; height: 14px; }
.sort-wrap select {
  height: 36px; padding-inline: 14px 32px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 12.5px; font-weight: 700; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236E717A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 14px; background-position: right 12px center;
}
[dir="rtl"] .sort-wrap select { padding-inline: 32px 14px; background-position: left 12px center; }
.quick-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.quick-label { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-inline-end: 2px; }
.qchip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding-inline: 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.qchip svg { width: 14px; height: 14px; }
.qchip:hover { border-color: var(--ink); }
.qchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qchip[data-quick="cp"].on { background: var(--blue); border-color: var(--blue); }
.qchip.ghost { background: transparent; }
.qchip.ghost.on { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); }
.qcount { min-width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; }
.search-fb {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); font-size: 13px;
}
.search-fb b { color: var(--red); }

.grid-head { display: flex; align-items: baseline; gap: 12px; margin-block-end: 14px; }
.grid-head h2 { margin: 0; font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* -------------------------------------------------------------------- card */
.card {
  display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card-media { position: relative; height: 290px; border-radius: 18px; overflow: hidden; background: var(--ground-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 31, 36, .35), transparent 45%); pointer-events: none; }
.card-tl { position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-tr {
  position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-end: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(29, 31, 36, .72); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(6px);
}
.card-dealer {
  position: absolute; z-index: 1; inset-inline: 10px; inset-block-end: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 13px;
}
.cd-text { min-width: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding-inline: 4px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.cm-make { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.cm-make span { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.status {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
  color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line);
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.sold { color: var(--red-deep); background: var(--red-soft); border-color: var(--red-line); }
.card-title { margin: 0; font-size: 16px; font-weight: 850; line-height: 1.35; letter-spacing: -.02em; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { color: var(--red); }
.card-note {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 11px; background: var(--ground); border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); min-height: 36px;
}
.card-note svg { width: 15px; height: 15px; color: var(--blue); }
.card-note b { color: var(--blue); }
.sold-line { font-weight: 800; color: var(--red-deep); text-transform: uppercase; font-size: 11.5px; letter-spacing: .02em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block-start: 10px; border-block-start: 1px solid var(--line); }
.card-go { font-size: 12.5px; font-weight: 800; padding: 8px 13px; border-radius: 11px; background: var(--ink); color: #fff; transition: background-color .2s ease; white-space: nowrap; }
.card:hover .card-go { background: var(--red); }
.card.is-sold .card-media img { filter: grayscale(.55) contrast(.95); opacity: .85; }
.card.is-sold .price-num { color: var(--muted); }

/* ---------------------------------------------------------- states & skel */
.state {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 56px 20px;
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
}
.state h3 { margin: 4px 0 0; font-size: 16px; }
.state p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.state-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ground-2); color: var(--muted); }
.state-error .state-ic { background: var(--red-soft); color: var(--red); }
.skel-block, .skel-line, .skel-card { background: linear-gradient(90deg, var(--ground-2) 25%, #F4F2ED 50%, var(--ground-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-line { height: 12px; border-radius: 6px; margin-block: 8px; }
.skel-line.h20 { height: 20px; } .skel-line.h28 { height: 28px; }
.skel-line.c { margin-inline: auto; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; }
.skel-card { height: 120px; border-radius: var(--r); margin-block: 14px; }
.card.skel:hover { transform: none; box-shadow: var(--shadow-xs); }

/* ------------------------------------------------------------- pro banner */
.pro-banner {
  position: relative; overflow: hidden; margin-block-start: 28px; padding: 36px 28px; border-radius: 28px;
  background: radial-gradient(120% 140% at 100% 0%, #2A3B5E 0%, var(--navy) 45%, #171C27 100%); color: #fff;
}
.pb-copy { position: relative; z-index: 1; max-width: 620px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pb-tag { font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #E7B9BB; }
.pro-banner h2 { margin: 0; font-size: clamp(21px, 3vw, 30px); font-weight: 850; line-height: 1.3; letter-spacing: -.025em; }
.pro-banner p { margin: 0 0 8px; color: #AEB7C7; font-size: 13.5px; line-height: 1.65; }
.pb-mark { position: absolute; inset-inline-end: -30px; inset-block-end: -40px; width: 260px; opacity: .14; filter: saturate(.6); }

/* ---------------------------------------------------------------- footers */
.home-foot { margin-block-start: 48px; background: #fff; border-block-start: 1px solid var(--line); padding-block: 32px; font-size: 12.5px; color: var(--muted); }
.hf-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hf-brand { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.hf-brand p { margin: 0; }
.hf-logo { display: flex; align-items: center; gap: 8px; margin-block-end: 4px; }
.hf-logo img { width: 28px; height: auto; }
.hf-logo b { font-size: 17px; font-weight: 900; color: var(--red); letter-spacing: -.03em; }
.op { font-weight: 700; color: var(--ink-2); }
.demo-note { margin: 4px 0 0; font-size: 12px; color: var(--blue); font-weight: 600; }
.site-foot { margin-block-start: 28px; padding: 18px; border-radius: var(--r); background: var(--ground-2); font-size: 12px; color: var(--muted); }
.site-foot p { margin: 0; }
.site-foot .op { margin-block-start: 4px; }

/* ------------------------------------------------------------- bottom nav */
.bottom-nav {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 35; display: flex; justify-content: space-around;
  padding: 8px 12px calc(8px + var(--safe-b)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
  border-block-start: 1px solid var(--line);
}
.bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; color: var(--muted); font-size: 10.5px; font-weight: 700; padding: 2px 10px; }
.bottom-nav button svg { width: 19px; height: 19px; }
.bottom-nav button.on { color: var(--ink); }
.bottom-nav button.accent { color: var(--red); }
@media (min-width: 760px) {
  .bottom-nav { display: none; }
  body { padding-block-end: 0; }
}
body.has-page .bottom-nav { display: none; }

/* =================================================================== pages */
.page { position: fixed; inset: 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain; background: var(--ground); }
.page-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-t)) 14px 10px; transition: background-color .2s ease, box-shadow .2s ease;
}
.page-top .pt-title { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s ease; }
.page-top.solid { background: rgba(246, 244, 239, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.page-top.solid .pt-title { opacity: 1; }
.page-top [data-back] svg { transform: none; }
[dir="rtl"] .page-top [data-back] svg { transform: scaleX(-1); }
.page-state { padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* ------------------------------------------------------------------ detail */
.page-detail .page-top { position: fixed; inset-inline: 0; }
.detail { max-width: 1120px; margin-inline: auto; padding: 0 0 calc(96px + var(--safe-b)); }
.d-player-wrap { position: relative; height: min(78vh, 700px); padding: calc(60px + var(--safe-t)) 16px 0; }
.d-player {
  position: relative; width: 100%; max-width: 420px; height: 100%; margin-inline: auto; border-radius: var(--r-lg); overflow: hidden;
  background: #15171c center / cover no-repeat; box-shadow: var(--shadow-lg);
}
.d-player video { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.d-bigplay {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--red); box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}
.d-bigplay svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.d-player.is-playing .d-bigplay { opacity: 0; transform: scale(.85); pointer-events: none; }
.d-sound {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 0; background: rgba(29, 31, 36, .7); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px);
}
.d-sound .ic { display: flex; }
.d-sound svg { width: 16px; height: 16px; }
.d-sound.on { background: rgba(255, 255, 255, .9); color: var(--ink); }
.d-controls {
  position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; align-items: center; gap: 10px; padding: 28px 14px 14px;
  background: linear-gradient(to top, rgba(15, 17, 21, .72), transparent); color: #fff;
}
.ctl { border: 0; background: none; color: #fff; padding: 4px; display: flex; }
.ctl svg { width: 20px; height: 20px; }
.scrub { position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; }
.scrub-track { width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.scrub-fill { display: block; height: 100%; width: 0; background: #fff; }
.mark { position: absolute; top: 50%; width: 12px; height: 12px; margin-inline-start: -6px; transform: translateY(-50%); border-radius: 50%; border: 2px solid #fff; padding: 0; background: var(--blue); }
.mark.sev-red { background: var(--red); }
.mark.sev-amber { background: var(--amber); }
.ctl-time { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pip-close { display: none; position: absolute; inset-block-start: 6px; inset-inline-end: 6px; width: 28px; height: 28px; }
.d-player.pip {
  position: fixed; z-index: 30; inset-block-start: calc(64px + var(--safe-t)); inset-inline-end: 12px; width: 118px; height: 210px; max-width: none;
  border: 3px solid #fff;
}
.d-player.pip .d-controls, .d-player.pip .d-sound, .d-player.pip .d-bigplay { display: none; }
.d-player.pip .pip-close { display: grid; }
.d-player.no-video .d-controls, .d-player.no-video .d-bigplay, .d-player.no-video .d-sound { display: none; }
.sold-badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .06em; }
.detail.is-sold .d-player video, .detail.is-sold .d-player { filter: grayscale(.35); }

.d-body { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.d-head { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.d-kicker { display: flex; align-items: center; gap: 8px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.tag-sold { font-size: 11px; font-weight: 900; color: #fff; background: var(--red); padding: 2px 8px; border-radius: 999px; }
.d-head h1 { margin: 0; font-size: clamp(21px, 3vw, 27px); line-height: 1.3; font-weight: 850; letter-spacing: -.025em; }
.d-price .price-num { font-size: 30px; }
.d-price .price-ask { font-size: 18px; }
.d-trust { display: flex; flex-wrap: wrap; gap: 6px; }
.vbadge, .tbadge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line);
}
.vbadge svg, .tbadge svg { width: 14px; height: 14px; }
.vbadge.consent { color: var(--navy); }
.vbadge.mini, .tbadge.mini { padding: 2px 7px; font-size: 10.5px; }
.d-sub, .reel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.reel-meta i { color: var(--faint); font-style: normal; }
.d-where { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12.5px; }
.d-where span { display: inline-flex; align-items: center; gap: 5px; }
.d-where svg { width: 14px; height: 14px; }

.d-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.d-sec h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.sec-n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ground-2); color: var(--ink-2); font-size: 12.5px; font-weight: 900; }
.sec-n.ok { background: var(--blue); color: #fff; }
.sec-n svg { width: 14px; height: 14px; }
.d-checks { border-color: var(--blue-line); background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 90px); }
.cp-sub { margin: 0; font-weight: 800; color: var(--navy); }
.cp-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp {
  display: flex; gap: 12px; width: 100%; padding: 10px; text-align: start; border-radius: var(--r); border: 1px solid var(--line);
  background: #fff; transition: border-color .15s ease, box-shadow .2s ease;
}
.cp:hover { border-color: var(--blue-line); box-shadow: var(--shadow); }
.cp.on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cp-thumb { position: relative; width: 96px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: var(--ground-2); }
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-time { position: absolute; inset-inline-start: 6px; inset-block-end: 6px; display: inline-flex; padding: 2px 7px; border-radius: 999px; background: rgba(29, 31, 36, .8); color: #fff; font-size: 11px; font-weight: 800; }
.cp-time bdi { display: inline-flex; align-items: center; gap: 3px; }
.cp-time svg { width: 10px; height: 10px; }
.cp-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.sev .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.cp.sev-red .sev .dot { background: var(--red); }
.cp.sev-green .sev .dot { background: var(--wa); }
.cp-label { font-size: 14px; font-weight: 800; line-height: 1.4; }
.said { font-size: 12px; color: var(--muted); line-height: 1.5; }
.said .quote { font-style: italic; color: var(--ink-2); }
.none-note { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13.5px; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.spec { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.spec dt { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.spec dd { margin: 0; font-size: 14px; font-weight: 800; }
.spec-price { grid-column: 1 / -1; background: var(--red-soft); }
.spec-price .price-num { font-size: 22px; }
.presets { display: flex; flex-direction: column; gap: 8px; margin-block-start: 6px; }
.presets h3 { margin: 0; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.preset-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-badge { padding: 5px 11px; border-radius: 999px; background: var(--ground-2); font-size: 12.5px; font-weight: 700; }
.note { margin: 4px 0 0; display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.5; }
.note svg { width: 15px; height: 15px; margin-top: 1px; }
.ai-badge { padding: 12px 14px; border-radius: var(--r-sm); background: var(--ground); border: 1px dashed var(--line-2); }
.ai-badge b { display: block; font-size: 12.5px; font-weight: 800; color: var(--navy); margin-block-end: 3px; }
.ai-badge p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.hl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hl li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.hl svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.summary { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.ai-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; }
.ai-meta { display: inline-flex; align-items: center; gap: 6px; }
.conf-bar { width: 60px; height: 5px; border-radius: 4px; background: var(--ground-2); overflow: hidden; display: inline-block; }
.conf-bar i { display: block; height: 100%; background: var(--blue); }
.unverified { padding: 12px 14px; border-radius: var(--r-sm); background: #FBF6EC; border: 1px solid #EFE1C2; }
.unverified b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #7A5A1E; margin-block-end: 8px; }
.unverified b svg { width: 14px; height: 14px; }
.unv-list { display: flex; flex-wrap: wrap; gap: 6px; }
.unv-list span { padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid #EFE1C2; font-size: 12px; font-weight: 600; color: #7A5A1E; }
.cv-line { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.cv-line.warn { color: #8A6420; }
.cv-line svg { width: 15px; height: 15px; }
.source-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.source-link:hover { text-decoration: underline; }
.source-link svg { width: 14px; height: 14px; }

.dealer-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s ease, box-shadow .2s ease; }
.dealer-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.dc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dc-name { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.dc-sub { font-size: 12.5px; color: var(--muted); }
.dc-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; flex-wrap: wrap; }
.dc-go { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--red); white-space: nowrap; }
.dc-go svg { width: 15px; height: 15px; }
[dir="rtl"] .dc-go svg, [dir="rtl"] .pick-car > svg, [dir="rtl"] .follow-pill svg { transform: scaleX(-1); }

.cta-bar {
  position: fixed; z-index: 25; inset-inline: 0; inset-block-end: 0; display: flex; gap: 10px; align-items: center;
  padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-block-start: 1px solid var(--line);
}
.cta-bar .btn { min-height: 50px; font-size: 15px; }

@media (min-width: 960px) {
  .page-detail .page-top { position: sticky; }
  .detail { display: grid; grid-template-columns: 440px 1fr; gap: 28px; padding: 8px 24px 40px; align-items: start; }
  .d-player-wrap { grid-row: 1 / span 2; position: sticky; top: 72px; height: calc(100vh - 96px); max-height: 780px; padding: 0; }
  .d-player { max-width: none; }
  .d-body { padding: 0; }
  .cta-bar { position: sticky; grid-column: 2; bottom: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px; }
  .d-player.pip { display: none; }
}

/* ---------------------------------------------------------------- showroom */
.showroom { max-width: 1120px; margin-inline: auto; padding: 0 16px calc(96px + var(--safe-b)); display: flex; flex-direction: column; gap: 22px; }
.sr-hero {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 28px 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; position: relative; overflow: hidden;
}
.sr-hero::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 84px; background: linear-gradient(90deg, var(--red-soft), var(--blue-soft)); }
.sr-hero > * { position: relative; }
.sr-hero .avatar.xl { border: 4px solid #fff; box-shadow: var(--shadow); }
.sr-hero h1 { margin: 6px 0 0; font-size: 24px; font-weight: 850; letter-spacing: -.025em; }
.sr-handle { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 13.5px; }
.sr-biz { font-size: 12.5px; color: var(--ink-2); }
.sr-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.sr-facts span { display: inline-flex; align-items: center; gap: 5px; }
.sr-facts svg { width: 14px; height: 14px; }
.sr-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 520px; margin: 10px 0 4px; }
.sr-stats div { padding: 10px 6px; border-radius: var(--r-sm); background: var(--ground); }
.sr-stats dt { font-size: 11px; color: var(--muted); }
.sr-stats dd { margin: 2px 0 0; font-size: 19px; font-weight: 900; }
.sr-actions { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.sr-sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-block-start: 4px; }
.sr-cars h2 { margin: 0 0 14px; font-size: 18px; font-weight: 850; display: flex; align-items: center; gap: 8px; }
.sr-cars .count { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.sr-cars .note { margin-block-start: 16px; }
.showroom .cta-bar .btn:disabled { opacity: .45; }
@media (min-width: 960px) {
  .showroom .cta-bar { position: sticky; bottom: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-width: 520px; margin-inline: auto; width: 100%; }
}

/* -------------------------------------------------------------------- stars */
.stars { position: relative; display: inline-flex; color: #D9D4CA; }
.stars svg { width: 16px; height: 16px; }
.stars.sm svg { width: 13px; height: 13px; }
.stars-bg, .stars-fg { display: inline-flex; }
.stars-fg { position: absolute; inset-block-start: 0; inset-inline-start: 0; overflow: hidden; color: var(--amber); white-space: nowrap; }

/* ==================================================================== sheets */
.sheet-layer { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 22, 28, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .22s ease; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  outline: none;
}
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet-layer.open .sheet { transform: none; }
.sheet-layer.closing .sheet-backdrop { opacity: 0; }
.sheet-layer.closing .sheet { transform: translateY(100%); }
@media (min-width: 720px) {
  .sheet-layer { align-items: center; padding: 24px; }
  .sheet { border-radius: 26px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; max-height: 86vh; }
  .sheet-layer.open .sheet { opacity: 1; }
  .sheet-layer.closing .sheet { transform: translateY(16px) scale(.98); opacity: 0; }
  .sheet-grip { display: none; }
}
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 6px; }
.sheet-title { margin: 0; font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.sheet-x { width: 36px; height: 36px; }
.sheet-body { padding: 8px 20px calc(20px + var(--safe-b)); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.sheet-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 20px 0; }
.sheet-actions { display: flex; flex-direction: column; gap: 8px; margin-block-start: 4px; }
.sheet-actions.row { flex-direction: row; }
.snap-full { width: 100%; border-radius: var(--r); }
.line-warn { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: #FBF6EC; border: 1px solid #EFE1C2; color: #7A5A1E; font-size: 13px; }
.notice { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--blue-soft); border: 1px solid var(--blue-line); }
.notice p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--navy); }
.notice-ic { color: var(--blue); display: flex; }
.notice-ic svg { width: 20px; height: 20px; }
.inq-car, .pick-car { display: flex; align-items: center; gap: 12px; }
.inq-thumb, .pick-thumb { width: 56px; height: 74px; flex: none; border-radius: 10px; overflow: hidden; background: var(--ground-2); }
.inq-thumb img, .pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.inq-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.inq-name { font-weight: 800; }
.inq-price .price-num { font-size: 18px; }
.inq-prefill { display: flex; align-items: center; gap: 6px; margin: 0; }
.inq-prefill svg { width: 14px; height: 14px; color: var(--blue); }
.done-state { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 8px 0; }
.done-state p { margin: 0; }
.done-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); }
.done-ic svg { width: 28px; height: 28px; }
.done-ic.wa { background: var(--wa); } .done-ic.tg { background: var(--tg); } .done-ic.neutral { background: var(--amber); }
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick-car { width: 100%; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-align: start; }
.pick-car:hover { border-color: var(--line-2); }
.pick-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick-meta small { color: var(--muted); }
.opt-list { display: flex; flex-direction: column; gap: 6px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-align: start; }
.opt:hover { border-color: var(--line-2); }
.opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt-main small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.opt-flag { font-size: 20px; width: 28px; display: grid; place-items: center; color: var(--muted); }
.opt-check { color: var(--red); opacity: 0; }
.opt.is-on .opt-check { opacity: 1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 0; }
.field input, .field select {
  width: 100%; height: 44px; padding-inline: 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.field-row { display: flex; gap: 10px; }
.filter-form, .alert-form { display: flex; flex-direction: column; gap: 12px; }
.seg-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-radio input { position: absolute; opacity: 0; pointer-events: none; }
.pill-radio span { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: var(--ground-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pill-radio input:checked + span { background: var(--ink); color: #fff; }
.pill-radio input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.me-head { display: flex; align-items: center; gap: 12px; }
.me-ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.me-name { font-weight: 850; font-size: 16px; }
.me-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.me-sec { display: flex; flex-direction: column; gap: 10px; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.me-sec h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 850; }
.me-sec h3 svg { width: 17px; height: 17px; color: var(--red); }
.badge, .tag-free { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: .04em; }
.badge-pro { background: var(--red); color: #fff; }
.badge-free, .tag-free { background: var(--blue-soft); color: var(--blue); }
.follow-list { display: flex; flex-wrap: wrap; gap: 6px; }
.follow-pill, .sr-sns .pill { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--ground-2); font-size: 12.5px; font-weight: 700; height: auto; }
.follow-pill svg { width: 13px; height: 13px; }
.alert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.alert-list li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-deep); font-size: 13px; font-weight: 700; }
.alert-list svg { width: 15px; height: 15px; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ground); }
.code-box .code { font-size: 15px; color: var(--ink); letter-spacing: .08em; }
.redeem-form { display: flex; gap: 8px; }
.redeem-form input { flex: 1; height: 46px; padding-inline: 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); min-width: 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ground); }
.plan-pro { border-color: var(--red-line); background: var(--red-soft); }
.plan-name { font-weight: 900; font-size: 13px; letter-spacing: .06em; margin-block-end: 8px; }
.plan-pro .plan-name { color: var(--red); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.plan li { display: flex; gap: 6px; align-items: flex-start; }
.plan li svg { width: 14px; height: 14px; margin-top: 2px; color: var(--blue); }
.divider { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-invite { margin: 0; font-size: 14px; font-weight: 850; }
.star-input { display: flex; gap: 6px; justify-content: center; }
.star-input button { border: 0; background: none; color: #D9D4CA; padding: 4px; }
.star-input button svg { width: 34px; height: 34px; }
.star-input button.on { color: var(--amber); }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.check-row input { width: 18px; height: 18px; accent-color: var(--red); }

/* -------------------------------------------------------------------- toast */
.toast {
  position: fixed; z-index: 80; inset-inline-start: 50%; inset-block-start: calc(16px + var(--safe-t)); transform: translate(-50%, -16px);
  padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px);
}
[dir="rtl"] .toast { transform: translate(50%, -16px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .toast.show { transform: translate(50%, 0); }
.toast.ok { background: var(--blue); }
.toast.err { background: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================ site frame v2 */
/* GNB (데스크톱) · 로그인 링크 · 모바일 메뉴 버튼 */
.gnb { display: none; align-items: center; gap: 4px; height: 44px; }
.gnb-item { position: relative; }
.gnb-top { display: inline-flex; align-items: center; height: 44px; padding-inline: 14px; font-size: 14px; font-weight: 800; color: var(--ink-2); border-block-end: 2px solid transparent; }
.gnb-top:hover, .gnb-item:focus-within .gnb-top { color: var(--red); }
.gnb a.on { color: var(--ink); border-color: var(--red); }
.gnb-drop {
  position: absolute; z-index: 40; inset-block-start: 100%; inset-inline-start: 0; min-width: 190px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.gnb-item:hover .gnb-drop, .gnb-item:focus-within .gnb-drop { opacity: 1; visibility: visible; transform: none; }
.gnb-drop a { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.gnb-drop a:hover { background: var(--ground); color: var(--red); }
.auth-links { display: none; align-items: center; gap: 4px; margin-inline-end: 4px; }
.auth-link { border: 0; background: none; padding: 6px 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); border-radius: 8px; }
.auth-link:hover { color: var(--ink); }
.auth-link.strong { color: var(--red); }
.auth-name { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); padding-inline: 6px; }
.auth-name svg { width: 15px; height: 15px; color: var(--blue); }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 980px) {
  .gnb { display: flex; }
  .menu-btn { display: none; }
  .auth-links { display: inline-flex; }
}
.sheet-menu .sheet-body { gap: 18px; }
.menu-auth { display: flex; gap: 8px; }
.menu-group { display: flex; flex-direction: column; }
.menu-group > b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-block-end: 4px; }
.menu-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-block-end: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.menu-link svg { width: 15px; height: 15px; color: var(--faint); }
[dir="rtl"] .menu-link svg { transform: scaleX(-1); }

/* 콘텐츠 페이지 모드: 홈 섹션 숨김 */
body.has-content .stories, body.has-content .hero, body.has-content #fomo, body.has-content #main { display: none !important; }
.content-wrap { padding-block: 28px 8px; min-height: 60vh; }
.cp-loading { display: grid; place-items: center; padding: 80px 0; }
.cpage { display: flex; flex-direction: column; gap: 22px; }
.cpage.narrow { max-width: 560px; margin-inline: auto; }
.cp-head h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); font-weight: 850; letter-spacing: -.03em; }
.cp-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 720px; }
.cp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.cp-card h2, .cp-sec h2 { margin: 0 0 14px; font-size: 19px; font-weight: 850; letter-spacing: -.02em; }
.cp-sec { display: flex; flex-direction: column; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form textarea { width: 100%; padding: 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); resize: vertical; outline: none; font: inherit; }
.form textarea:focus { border-color: var(--ink); }
.form-err { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-deep); font-size: 13px; font-weight: 600; }
.inline-link { color: var(--blue); font-weight: 700; }
.inline-link:hover { text-decoration: underline; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.ticks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.lead-note { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.lead-note svg { width: 16px; height: 16px; margin-top: 2px; color: var(--blue); }
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--ground-2); }
.seg-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border: 0; border-radius: 12px; background: none; font-weight: 800; color: var(--muted); }
.seg-tabs button svg { width: 17px; height: 17px; }
.seg-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.seg-tabs button[data-tab="dealer"].on { color: var(--blue); }
.demo-code { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 6px; }
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.cp-stats.col { grid-template-columns: 1fr; }
.cp-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.cp-stats.col div { background: var(--ground); border: 0; }
.cp-stats dt { font-size: 12px; color: var(--muted); }
.cp-stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }

/* 매물 검색 3분류 + 인기 태그 */
.anchor { position: relative; top: -90px; }
.browse-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.browse-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.browse-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--ground-2); }
.btab { height: 34px; padding-inline: 16px; border: 0; border-radius: 10px; background: none; font-size: 13px; font-weight: 800; color: var(--muted); }
.btab.on { background: #fff; color: var(--red); box-shadow: var(--shadow-xs); }
.dest-tabs.years .dtab { padding-inline: 2px; }
.popular-note { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); padding-block-end: 9px; }
.popular-note svg { width: 16px; height: 16px; color: var(--blue); }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-block-start: 4px; }
.tags-label { font-size: 11.5px; font-weight: 800; color: var(--faint); margin-inline-end: 4px; text-transform: uppercase; letter-spacing: .06em; }
.htag { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; }
.htag:hover { border-color: var(--red); color: var(--red); }

/* 푸터 v2 */
.hf-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hf-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.hf-col { display: flex; flex-direction: column; gap: 8px; }
.hf-col b { color: var(--ink); font-size: 13px; margin-block-end: 2px; }
.hf-col a { color: var(--muted); font-size: 12.5px; }
.hf-col a:hover { color: var(--red); }
.biz-info { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; line-height: 1.7; }
.biz-info em { font-style: normal; color: var(--faint); }
.biz-info i { color: var(--line-2); font-style: normal; }
.biz-info .pending { color: var(--faint); }
.hf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block-start: 12px; }

/* 신뢰 지수 게이지 */
.trust { width: 100%; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--blue-soft), #fff 70%); border: 1px solid var(--blue-line); text-align: start; }
.trust.compact { padding: 10px 12px; }
.trust-top { display: flex; align-items: center; gap: 10px; }
.trust-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--navy); flex: 1; }
.trust-label svg { width: 16px; height: 16px; color: var(--blue); }
.trust-score { font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.trust-score small { font-size: 12px; color: var(--faint); font-weight: 700; margin-inline-start: 2px; }
.trust-tier { font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 999px; background: var(--ground-2); color: var(--muted); }
.tier-trusted .trust-tier { background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); }
.tier-excellent .trust-tier { background: var(--red); color: #fff; }
.tier-excellent .trust-score { color: var(--red); }
.trust-bar { position: relative; height: 10px; margin-block-start: 10px; border-radius: 999px; background: var(--ground-2); overflow: hidden; }
.trust-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8FA7C2, var(--blue) 45%, var(--red)); background-size: 300px 100%; }
.trust-how { margin-block-start: 10px; font-size: 12.5px; }
.trust-how summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.trust-how ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.trust-how li { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.sr-hero .trust { max-width: 520px; }
.trust-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-card { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .2s ease, transform .2s ease; }
.trust-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc-rank { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; }
.tc-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tc-name b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-name small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-top .muted { margin-inline-start: auto; }
.rv-who { font-size: 13.5px; display: flex; gap: 5px; flex-wrap: wrap; align-items: baseline; }
.rv-car { font-size: 12.5px; color: var(--muted); }
.rv-car:hover { color: var(--red); }

/* 판매 안내 · 멤버십 · 소개 · 이유 · 연락 · 공지 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 900; }
.step:nth-child(even) .step-n { background: var(--blue-soft); color: var(--blue); }
.step h3, .value h3, .why-item h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 850; }
.step p, .value p, .why-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.plan-cols { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plan-cols { grid-template-columns: 1fr 1fr; } }
.plan-col { display: flex; flex-direction: column; gap: 12px; }
.plan-col h2 { margin: 0; font-size: 19px; font-weight: 850; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.plan-card.pro { border-color: var(--red-line); background: linear-gradient(160deg, var(--red-soft), #fff 60%); }
.pc-head { display: flex; align-items: center; gap: 8px; }
.pc-head b { font-size: 17px; font-weight: 900; }
.pc-price { margin-inline-start: auto; font-size: 20px; font-weight: 900; color: var(--ink); }
.pc-price.small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.about-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 2fr 1fr; } }
.prose p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.prose h3, .live-card h3 { margin: 14px 0 6px; font-size: 14px; font-weight: 850; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.live-card h3 { margin-top: 0; }
.mission { font-size: 19px !important; font-weight: 800; color: var(--red-deep) !important; letter-spacing: -.02em; }
.value-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; border-block-start: 3px solid var(--blue); }
.value:nth-child(odd) { border-block-start-color: var(--red); }
.info-table { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.info-table div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 18px; border-block-end: 1px solid var(--line); font-size: 14px; }
.info-table div:last-child { border: 0; }
.info-table dt { color: var(--muted); font-weight: 600; }
.info-table dd { margin: 0; font-weight: 700; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.why-n { font-size: 30px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--red); font-family: var(--serif); font-style: italic; }
.why-item.blue .why-n { color: var(--blue); }
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.channel { display: flex; gap: 12px; align-items: center; padding-block: 10px; border-block-end: 1px solid var(--line); }
.channel:last-of-type { border: 0; }
.ch-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ch-ic svg { width: 18px; height: 18px; }
.channel b { display: block; font-size: 13px; }
.channel span { font-size: 13.5px; }
.notice-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.nt-row { display: grid; grid-template-columns: 110px 1fr 80px; gap: 12px; align-items: center; padding: 14px 18px; font-size: 14px; }
.nt-head { background: var(--ground); font-size: 12px; font-weight: 800; color: var(--muted); }
.nt-item { border-block-start: 1px solid var(--line); }
.nt-item summary { cursor: pointer; list-style: none; }
.nt-item summary::-webkit-details-marker { display: none; }
.nt-item summary:hover .nt-title { color: var(--red); }
.nt-title { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nt-views { text-align: end; }
.nt-body { padding: 0 18px 18px; padding-inline-start: 140px; font-size: 14px; color: var(--ink-2); line-height: 1.7; white-space: pre-wrap; }
@media (max-width: 640px) {
  .nt-row { grid-template-columns: 1fr 50px; }
  .nt-row > span:first-child { grid-column: 1 / -1; font-size: 12px; }
  .nt-head > span:first-child { display: none; }
  .nt-body { padding-inline-start: 18px; }
  .info-table div { grid-template-columns: 110px 1fr; }
  .cp-stats { grid-template-columns: 1fr 1fr 1fr; }
  .cp-stats dd { font-size: 19px; }
}

/* ===================================================== v3: specs · units · legal */
/* 매물 스펙: 최초등록(연식) · 주행거리 · 연료 · 배기량 · 변속기 · 원산지 */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs div { background: #fff; padding: 8px 10px; min-width: 0; }
.specs dt { font-size: 10.5px; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.specs dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.specs.compact div { padding: 7px 9px; }
.card-ask { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--wa); }
.card-ask svg { width: 15px; height: 15px; }
.unit-btn { gap: 0; padding: 3px; }
.unit-btn span { padding: 5px 9px; border-radius: 999px; color: var(--faint); font-weight: 800; }
.unit-btn span.on { background: var(--ink); color: #fff; }
.trust-chip { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--blue-soft); color: var(--blue); }
.trust-chip svg { width: 12px; height: 12px; }
.trust-chip.tier-excellent { background: var(--red-soft); color: var(--red); }
.tc-rank.blue { background: var(--blue); }

/* 모바일 헤더: 로그인·회원가입은 보이고, 알림·내 정보는 메뉴로 */
@media (max-width: 979px) {
  .auth-links { display: inline-flex; }
  .auth-name b { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
}
@media (max-width: 640px) {
  #btnAlerts, #btnMe, .demo-tag { display: none; }
  .hdr-actions { gap: 5px; }
  .auth-link { padding: 5px 4px; font-size: 12px; }
  .pill-btn { padding-inline: 9px; }
  .brand-word { font-size: 19px; }
  .brand-img { width: 32px; }
}

/* 하단 법무 바 · 저작권 */
.legal-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block-start: 18px; padding-block-start: 14px; border-block-start: 1px solid var(--line); font-size: 12.5px; }
.legal-bar a { color: var(--muted); font-weight: 600; }
.legal-bar a.strong { color: var(--ink); font-weight: 800; }
.legal-bar a:hover { color: var(--red); }
.copyright { font-size: 11.5px; color: var(--faint); }

/* 개인정보처리방침 · 이용약관 */
.legal { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); line-height: 1.75; font-size: 14.5px; color: var(--ink-2); }
.legal p { margin: 0 0 10px; }
.legal ol, .legal ul { margin: 0 0 10px; padding-inline-start: 22px; }
.legal li { margin-block-end: 4px; }
.legal-draft { margin: 0 0 18px; padding: 10px 14px; border-radius: var(--r-sm); background: #FBF6EC; border: 1px solid #EFE1C2; color: #7A5A1E; font-size: 13px; font-weight: 600; }
.legal-toc { columns: 2; column-gap: 28px; padding: 14px 18px 14px 38px !important; background: var(--ground); border-radius: var(--r); font-size: 13.5px; }
.legal-toc a { color: var(--blue); }
.legal-chapter { margin: 28px 0 6px; font-size: 13px; letter-spacing: .08em; color: var(--red); text-transform: uppercase; }
.legal-art { padding-block: 14px; border-block-start: 1px solid var(--line); scroll-margin-top: 130px; }
.legal-art h2 { margin: 0 0 8px; font-size: 16.5px; font-weight: 850; color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 13px; }
.legal-table th, .legal-table td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: start; vertical-align: top; }
.legal-table th { background: var(--ground); font-weight: 800; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .legal-toc { columns: 1; } .legal-table { display: block; overflow-x: auto; } }

/* 딜러 발언: 번역 안내 + 한국어 원문 접기 */
.said.tr { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 600; }
.said.tr svg { width: 12px; height: 12px; }
.said-orig { margin: 4px 0 0; padding-inline-start: 118px; font-size: 12px; color: var(--muted); }
.said-orig summary { cursor: pointer; color: var(--faint); font-weight: 600; }
.said-orig bdi { display: block; margin-block-start: 4px; font-style: italic; color: var(--ink-2); }
@media (max-width: 520px) { .said-orig { padding-inline-start: 12px; } }
.legal-summary { margin-block-end: 18px; border-color: var(--blue-line); background: linear-gradient(180deg, var(--blue-soft), #fff 120px); }
.legal-summary ul { padding-inline-start: 20px; }

/* 결제 안내 · 가입 코드 단계 */
.pay-status { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 13.5px; }
.pay-status svg { width: 16px; height: 16px; color: var(--blue); }
.pay-warn { margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-deep); font-size: 13.5px; font-weight: 600; }
.pay-warn svg { width: 16px; height: 16px; margin-top: 2px; }
.pay-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay-row { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding-block: 10px; border-block-end: 1px solid var(--line); font-size: 13.5px; }
.pay-row b { color: var(--ink); }
.pay-row span { color: var(--ink-2); }
.pay-sub { margin: 16px 0 4px; font-size: 14px; font-weight: 850; }
@media (max-width: 560px) { .pay-row { grid-template-columns: 1fr; gap: 2px; } }
.code-sent { margin: 0; display: flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.code-sent svg { width: 15px; height: 15px; }
.code-step { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--ground); }
.code-step .link-btn { align-self: flex-start; color: var(--blue); }
input.locked { background: var(--ground) !important; color: var(--muted); }
.already { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-color: var(--blue-line); background: var(--blue-soft); }
.already p { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--navy); }
.already svg { width: 16px; height: 16px; }
.me-sec.danger h3 { color: var(--red-deep); }

.sns-sec h2 { font-size: 1.6rem; }
.sns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.sns-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 16px; background: var(--sns); color: #fff; text-decoration: none; min-height: 120px; transition: transform .15s; }
.sns-card:hover { transform: translateY(-2px); }
.sns-card b { font-size: 1.35rem; }
.sns-card span { opacity: .9; }
.sns-card em { margin-top: auto; font-style: normal; font-weight: 700; }
