/* ============================================================
   sellyourcar — Design System page + component styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: var(--green-ink); }

/* ---------- Layout shell ---------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow-y: auto;
  background: var(--ink-900);
  color: var(--text-on-ink);
  padding: var(--sp-6) var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-6);
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 99px; }

.brand-lockup { display: flex; align-items: center; gap: var(--sp-3); }
.mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.mark svg { width: 26px; height: 26px; }
.brand-wordmark { font-weight: var(--w-black); font-size: 21px; letter-spacing: var(--ls-tight); line-height: 1; }
.brand-wordmark .car { color: var(--green); }
.brand-sub { font-size: var(--fs-micro); color: var(--gray-500); margin-top: 5px; font-weight: var(--w-medium); }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-group-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--gray-500); margin: var(--sp-4) 0 var(--sp-2) 8px;
}
.nav-group-label:first-child { margin-top: 0; }
.nav a {
  color: var(--gray-400); text-decoration: none; font-size: var(--fs-body-s);
  font-weight: var(--w-medium); padding: 7px 10px; border-radius: var(--r-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav a:hover { background: var(--ink-700); color: #fff; }
.nav a.active { background: var(--green); color: var(--green-ink); font-weight: var(--w-bold); }

.dir-toggle {
  margin-top: auto; display: flex; align-items: center; gap: var(--sp-2);
  background: var(--ink-800); border: 1px solid var(--border-on-ink);
  border-radius: var(--r-pill); padding: 4px; font-family: var(--font-mono);
}
.dir-toggle button {
  flex: 1; border: 0; background: transparent; color: var(--gray-400);
  font-family: inherit; font-size: var(--fs-micro); font-weight: 600;
  padding: 7px 0; border-radius: var(--r-pill); cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.dir-toggle button.on { background: var(--green); color: var(--green-ink); }

/* ---------- Content ---------- */
.content { padding: var(--sp-14) var(--sp-14) var(--sp-18); max-width: 1180px; }
@media (max-width: 1100px) { .content { padding: var(--sp-8); } }

.section { padding-top: var(--sp-14); margin-top: var(--sp-14); border-top: 1px solid var(--border-soft); }
.section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

.sec-head { margin-bottom: var(--sp-8); }
.sec-kicker {
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--green-700); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.sec-kicker::before { content: ""; width: 18px; height: 2px; background: var(--green); display: inline-block; }
.sec-title { font-size: var(--fs-h2); font-weight: var(--w-black); letter-spacing: var(--ls-tight); margin: var(--sp-3) 0 var(--sp-2); line-height: var(--lh-tight); }
.sec-desc { color: var(--text-muted); max-width: 60ch; font-size: var(--fs-body-l); }

.sub-label {
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--gray-500); font-weight: 600;
  margin: var(--sp-8) 0 var(--sp-4);
}

/* ---------- Cover ---------- */
.cover {
  background: var(--ink-900); color: #fff; border-radius: var(--r-xl);
  padding: var(--sp-14); position: relative; overflow: hidden;
}
.cover::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
}
.cover-mark { width: 72px; height: 72px; border-radius: 20px; background: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-6); }
.cover-mark svg { width: 42px; height: 42px; }
.cover h1 { font-size: var(--fs-display); font-weight: var(--w-black); letter-spacing: var(--ls-tighter); line-height: var(--lh-tight); margin: 0; }
.cover h1 .car { color: var(--green); }
.cover .tagline { font-size: var(--fs-h4); color: var(--gray-400); margin-top: var(--sp-4); font-weight: var(--w-medium); }
.cover .bilingual { margin-top: var(--sp-3); font-size: var(--fs-h4); color: var(--gray-500); font-weight: var(--w-bold); }
.cover-meta { display: flex; gap: var(--sp-8); margin-top: var(--sp-10); flex-wrap: wrap; position: relative; }
.cover-meta div { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--gray-400); }
.cover-meta strong { display: block; color: #fff; font-family: var(--font-sans); font-weight: var(--w-bold); font-size: var(--fs-body); margin-top: 4px; }

/* ---------- Generic demo surfaces ---------- */
.card-surface {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: var(--sp-6);
}
.grid { display: grid; gap: var(--sp-4); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }

.row { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; }
.stack { display: flex; flex-direction: column; gap: var(--sp-4); }

/* ---------- Color ---------- */
.swatch {
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-soft);
  background: var(--surface); cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.swatch:hover { transform: translateY(-3px); box-shadow: var(--e-2); }
.swatch .chip { height: 84px; }
.swatch .meta { padding: 10px 12px; }
.swatch .name { font-weight: var(--w-bold); font-size: var(--fs-body-s); }
.swatch .hex { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-subtle); margin-top: 2px; text-transform: uppercase; }
.swatch.copied .hex::after { content: " ✓ copied"; color: var(--green-700); }

.scale-row { display: flex; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-soft); }
.scale-row .cell { flex: 1; height: 64px; display: flex; align-items: flex-end; padding: 6px; font-family: var(--font-mono); font-size: 9px; }

/* ---------- Type specimens ---------- */
.type-row { display: flex; align-items: baseline; gap: var(--sp-6); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.type-row:last-child { border-bottom: 0; }
.type-spec { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-subtle); width: 150px; flex: 0 0 auto; }
.type-sample { color: var(--text); flex: 1; min-width: 200px; }
.weight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.weight-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: var(--sp-4); }
.weight-card .big { font-size: 40px; line-height: 1; color: var(--ink); }
.weight-card .lbl { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-subtle); margin-top: var(--sp-3); }

/* ---------- Spacing ---------- */
.space-row { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-2); }
.space-bar { background: var(--green); height: 16px; border-radius: 3px; }
.space-lbl { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); width: 120px; }

/* ---------- Radius ---------- */
.radius-demo { background: var(--ink-900); border: 2px dashed var(--ink-600); aspect-ratio: 1; display: flex; align-items: flex-end; padding: 10px; }
.radius-demo .tag { font-family: var(--font-mono); font-size: 10px; color: var(--gray-400); }

/* ---------- Elevation ---------- */
.elev-card { background: var(--surface); border-radius: var(--r-lg); height: 120px; display: flex; align-items: flex-end; padding: var(--sp-4); }
.elev-card .tag { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-subtle); }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-sans); font-weight: var(--w-bold); font-size: var(--fs-body-s);
  border: 0; border-radius: var(--r-sm); padding: 11px 22px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap; line-height: 1; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: var(--e-cta); }
.btn-primary:hover { background: var(--green-600); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-outline { background: transparent; color: var(--ink-900); box-shadow: inset 0 0 0 1.5px var(--ink-900); }
.btn-outline:hover { background: var(--ink-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-700); }
.btn:disabled, .btn.is-disabled { background: var(--gray-200); color: var(--gray-400); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-sm { padding: 8px 16px; font-size: var(--fs-caption); }
.btn-lg { padding: 15px 30px; font-size: var(--fs-body); }
.btn-icon { padding: 0; width: 42px; height: 42px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn .spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Inputs ---- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-caption); font-weight: var(--w-bold); color: var(--ink-900); }
.field .hint { font-size: var(--fs-micro); color: var(--text-subtle); }
.input, .select, .textarea {
  font-family: var(--font-sans); font-size: var(--fs-body-s); color: var(--ink-900);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 11px 14px; width: 100%; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: var(--gray-500); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.textarea { resize: vertical; min-height: 88px; }
.field.error .input { border-color: var(--danger); }
.field.error .input:focus { box-shadow: 0 0 0 3px var(--danger-100); }
.field.error .err-msg { font-size: var(--fs-micro); color: var(--danger-700); font-weight: var(--w-bold); display: flex; align-items: center; gap: 5px; }
.input-search { position: relative; }
.input-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gray-500); pointer-events: none; }
.input-search .input { padding-left: 40px; }

/* Toggle / switch */
.switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--gray-300); border-radius: 99px; transition: background var(--dur-base) var(--ease-out); }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: var(--e-1); transition: transform var(--dur-base) var(--ease-spring); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track .thumb { transform: translateX(20px); }

/* Checkbox */
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-body-s); font-weight: var(--w-medium); }
.check input { display: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-out); }
.check .box svg { width: 13px; height: 13px; color: var(--green-ink); opacity: 0; transform: scale(0.5); transition: all var(--dur-fast) var(--ease-spring); }
.check input:checked + .box { background: var(--green); border-color: var(--green); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-micro);
  font-weight: var(--w-bold); padding: 5px 11px; border-radius: var(--r-pill); line-height: 1;
}
.badge svg { width: 13px; height: 13px; }
.badge-verified { background: var(--green-100); color: var(--green-700); }
.badge-available { background: var(--green); color: var(--green-ink); }
.badge-reserved { background: var(--warning-100); color: var(--warning-700); }
.badge-sold { background: var(--ink-900); color: #fff; }
.badge-drop { background: var(--danger-100); color: var(--danger-700); }
.badge-new { background: var(--info-100); color: var(--info); }
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--border); color: var(--text-muted); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-caption);
  font-weight: var(--w-medium); padding: 7px 13px; border-radius: var(--r-sm);
  background: var(--gray-100); color: var(--ink-700);
}
.tag svg { width: 15px; height: 15px; color: var(--gray-600); }

/* ---- SOLD stamp ---- */
.sold-stamp {
  display: inline-flex; align-items: center; justify-content: center;
  transform: rotate(-9deg); border: 3px solid var(--green); color: var(--green);
  font-weight: var(--w-black); font-size: 20px; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 6px; background: rgba(18,198,107,0.04);
}
.sold-stamp.ink { border-color: var(--ink-900); color: var(--ink-900); }
.sold-stamp.danger { border-color: var(--danger); color: var(--danger); }

/* ---- Listing card ---- */
.listing {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  position: relative; display: flex; flex-direction: column;
}
.listing:hover { transform: translateY(-4px); box-shadow: var(--e-3); }
.listing-media { position: relative; aspect-ratio: 4/3; background:
  repeating-linear-gradient(135deg, #ECEAE2 0 14px, #E4E2D9 14px 28px); }
.listing-media .ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--gray-500); }
.listing-media .top-row { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.heart-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--e-1); transition: transform var(--dur-fast) var(--ease-spring); }
.heart-btn:hover { transform: scale(1.08); }
.heart-btn svg { width: 18px; height: 18px; color: var(--ink-700); transition: color var(--dur-fast); }
.heart-btn.saved svg { color: var(--danger); fill: var(--danger); }
.listing-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.listing-title { font-weight: var(--w-bold); font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }
.listing-price { font-weight: var(--w-black); font-size: var(--fs-h3); color: var(--ink-900); display: flex; align-items: baseline; gap: 8px; }
.listing-price .cur { font-size: var(--fs-body-s); color: var(--text-muted); font-weight: var(--w-bold); }
.listing-price .old { font-size: var(--fs-body-s); color: var(--gray-500); font-weight: var(--w-medium); text-decoration: line-through; }
.spec-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; padding-top: var(--sp-1); }
.spec { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--text-muted); font-weight: var(--w-medium); }
.spec svg { width: 15px; height: 15px; color: var(--gray-500); flex: 0 0 auto; }
.listing-foot { display: flex; align-items: center; gap: 8px; padding-top: var(--sp-3); border-top: 1px solid var(--border-soft); flex-wrap: nowrap; }
.listing-foot .avatar { flex: 0 0 auto; }
.listing-foot .spec { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.listing-foot .btn { flex: 0 0 auto; }
.listing-foot .mark-sold { padding: 8px 12px; }
.listing.is-sold .listing-media::after { content: ""; position: absolute; inset: 0; background: rgba(22,24,29,0.45); }
.listing-sold-overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2; }
.listing.is-sold .listing-sold-overlay { display: flex; }
.listing.is-sold .listing-price { color: var(--gray-500); }

/* ---- Price tag ---- */
.price-tag {
  display: inline-flex; flex-direction: column; gap: 4px; background: var(--ink-900); color: #fff;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); position: relative;
}
.price-tag .pt-amount { font-weight: var(--w-black); font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--ls-tight); }
.price-tag .pt-amount .cur { font-size: var(--fs-body); color: var(--green); }
.price-tag .pt-sub { font-size: var(--fs-micro); color: var(--gray-400); font-weight: var(--w-medium); }
.price-tag.green { background: var(--green); color: var(--green-ink); }
.price-tag.green .pt-amount .cur { color: var(--green-ink); }
.price-tag.green .pt-sub { color: var(--green-ink); opacity: 0.7; }

/* ---- Avatar ---- */
.avatar { border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.avatar svg { width: 56%; height: 56%; }
.avatar.sm { width: 32px; height: 32px; }
.avatar.md { width: 44px; height: 44px; }
.avatar.lg { width: 64px; height: 64px; }

/* ---- Seller profile ---- */
.seller {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4);
}
.seller-head { display: flex; align-items: center; gap: var(--sp-3); }
.seller-name { font-weight: var(--w-bold); font-size: var(--fs-h4); display: flex; align-items: center; gap: 7px; }
.seller-handle { font-size: var(--fs-caption); color: var(--text-subtle); font-family: var(--font-mono); margin-top: 2px; }
.seller-stats { display: flex; gap: var(--sp-6); padding: var(--sp-4) 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.seller-stat .n { font-weight: var(--w-black); font-size: var(--fs-h4); }
.seller-stat .l { font-size: var(--fs-micro); color: var(--text-subtle); font-family: var(--font-mono); }
.stars { display: inline-flex; gap: 1px; color: var(--green); }
.stars svg { width: 15px; height: 15px; }

/* ---- Social templates ---- */
.tiktok-card {
  background: var(--ink-900); border-radius: var(--r-lg); padding: var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; color: #fff;
}
.tiktok-card .label { font-size: var(--fs-caption); color: var(--gray-500); width: 100%; font-weight: var(--w-medium); }
.tiktok-meta { flex: 1; min-width: 120px; }
.tiktok-meta .h { font-weight: var(--w-bold); font-size: var(--fs-h4); }
.tiktok-meta .s { font-size: var(--fs-caption); color: var(--gray-500); margin-top: 2px; }

.social-9x16 {
  aspect-ratio: 9/16; background: var(--ink-900); border-radius: var(--r-lg); overflow: hidden;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--sp-5); color: #fff;
}
.social-9x16 .media-ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #23262E 0 16px, #1C1F26 16px 32px); }
.social-9x16 > * { position: relative; z-index: 1; }
.social-9x16 .s-top { display: flex; justify-content: space-between; align-items: flex-start; }
.social-9x16 .s-logo { font-weight: var(--w-black); font-size: 18px; letter-spacing: var(--ls-tight); }
.social-9x16 .s-logo .car { color: var(--green); }
.social-9x16 .s-headline { font-weight: var(--w-black); font-size: 30px; line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
.social-9x16 .s-cta { background: var(--green); color: var(--green-ink); font-weight: var(--w-bold); padding: 12px; text-align: center; border-radius: var(--r-sm); font-size: var(--fs-body-s); }
.social-9x16 .s-price { background: rgba(18,198,107,0.16); border: 1px solid var(--green); color: var(--green); font-weight: var(--w-black); font-size: 22px; padding: 8px 14px; border-radius: var(--r-sm); display: inline-block; }

/* ---- Motion section ---- */
.motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 860px) { .motion-grid { grid-template-columns: 1fr; } }
.motion-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.motion-card .m-name { font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 600; }
.motion-card .m-val { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-subtle); }
.ease-viz { height: 4px; background: var(--gray-200); border-radius: 99px; position: relative; margin-top: 6px; overflow: hidden; }
.ease-viz .dot { position: absolute; top: -4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }

/* ---- Code / token chips ---- */
.token-pill { font-family: var(--font-mono); font-size: var(--fs-micro); background: var(--ink-900); color: var(--gray-400); padding: 3px 8px; border-radius: 6px; display: inline-block; }
.token-pill .v { color: var(--green); }

/* ---- Do / Don't ---- */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 720px){ .dd { grid-template-columns: 1fr; } }
.dd-card { border-radius: var(--r-md); border: 1px solid var(--border-soft); overflow: hidden; background: var(--surface); }
.dd-card .dd-stage { padding: var(--sp-6); display: flex; align-items: center; justify-content: center; min-height: 130px; background: var(--gray-100); }
.dd-card .dd-stage.dark { background: var(--ink-900); }
.dd-card .dd-foot { padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: var(--fs-caption); font-weight: var(--w-bold); }
.dd-card .dd-foot svg { width: 16px; height: 16px; }
.dd-do .dd-foot { color: var(--green-700); }
.dd-dont .dd-foot { color: var(--danger-700); }

/* ---- Logo clearspace ---- */
.clearspace { display: inline-grid; padding: 40px; background:
  linear-gradient(var(--green-100) 0 0) padding-box,
  repeating-linear-gradient(45deg, var(--green-200) 0 6px, transparent 6px 12px); border-radius: var(--r-md); }

/* RTL */
[dir="rtl"] .listing-media .top-row,
[dir="rtl"] .row { direction: rtl; }
[dir="rtl"] .sec-kicker::before { margin-left: 0; }

/* Utilities */
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.divider { height: 1px; background: var(--border-soft); margin: var(--sp-6) 0; }
.note { font-size: var(--fs-caption); color: var(--text-subtle); margin-top: var(--sp-3); }
.rtl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: start; }
@media (max-width: 720px){ .rtl-pair { grid-template-columns: 1fr; } }
.flag { font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
