/* ══ Latest tracked .si sales — 3D showcase block (home) + table upgrade (/sales) ══
   Class names are shared: .lts-* works on whichever table it wraps. */

/* ── outer showcase shell ─────────────────────────────────────────────────── */
.lts-shell {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #DCE5F5;
  border-radius: 28px;
  padding: 36px 34px 30px;
  box-shadow:
    0 1px 0 #FFFFFF inset,
    0 34px 70px -34px rgba(10, 22, 51, .28),
    0 10px 24px -16px rgba(10, 22, 51, .16),
    0 2px 6px -2px rgba(10, 22, 51, .06);
  overflow: hidden;
}
.lts-shell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1F5BFF 0%, #0EA5E9 36%, #7C3AED 70%, #0B8B63 100%);
}

/* ── header ───────────────────────────────────────────────────────────────── */
.lts-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.lts-title-group { min-width: 0; }
.lts-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #F0F7FF; border: 1px solid #D6E6FF;
  font: 700 11px/1 var(--mono, "JetBrains Mono", monospace);
  letter-spacing: .05em; text-transform: uppercase; color: #1447CC;
  margin-bottom: 12px;
}
.lts-eyebrow .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .2);
  animation: ltsPulse 2s ease-in-out infinite;
}
@keyframes ltsPulse { 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } }
.lts-head h2, .lts-shell .section-head h2 {
  font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--display, "Sora", Inter, sans-serif);
  letter-spacing: -.025em; color: #0A1633; margin: 0 0 6px;
}
.lts-head p, .lts-shell .section-head p {
  margin: 0; font: 500 14.5px/1.5 var(--sans, Inter, sans-serif); color: #52607A;
}
.lts-head-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.lts-stat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 10px;
  background: #F6F9FE; border: 1px solid #E2E8F4;
  font: 600 12px/1 var(--mono, "JetBrains Mono", monospace); color: #52607A;
  white-space: nowrap;
}
.lts-stat-pill b { color: #0A1633; font-weight: 800; }

.lts-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px;
  background: linear-gradient(140deg, #2E6BFF, #1F5BFF 55%, #1447CC);
  color: #fff !important; text-decoration: none !important;
  font: 700 13.5px/1 var(--sans, Inter, sans-serif);
  border-bottom: 3px solid #0E369E;
  box-shadow: 0 12px 24px -12px rgba(31, 91, 255, .85), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s ease, filter .15s ease;
  white-space: nowrap;
}
.lts-cta-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ── table card ───────────────────────────────────────────────────────────── */
.lts-table-card {
  border: 1.5px solid #D5E0F2;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 3px 0 -1px #E4ECF9, 0 16px 34px -24px rgba(10, 22, 51, .35);
  overflow: hidden;
}
.lts-scroll { overflow-x: auto; }
.lts-scroll::-webkit-scrollbar { height: 8px; }
.lts-scroll::-webkit-scrollbar-thumb { background: #D5E0F2; border-radius: 99px; }

.lts-table, .lts-table-card table {
  width: 100%; border-collapse: collapse;
  font: 500 14px/1.4 var(--sans, Inter, sans-serif);
}
.lts-table thead th, .lts-table-card thead th {
  position: sticky; top: 0;
  padding: 13px 16px;
  background: #F8FAFE;
  border-bottom: 1px solid #E4ECF9;
  font: 700 10.5px/1 var(--mono, "JetBrains Mono", monospace);
  letter-spacing: .09em; text-transform: uppercase; color: #7C8AA5;
  text-align: left; white-space: nowrap;
}
.lts-table thead th.r, .lts-table-card thead th.r,
.lts-table td.r, .lts-table-card td.r { text-align: right; }
.lts-table tbody td, .lts-table-card tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #EFF3FA;
  color: #1E293B; vertical-align: middle;
  position: relative;
}
.lts-table tbody tr:last-child td,
.lts-table-card tbody tr:last-child td { border-bottom: 0; }
.lts-table tbody tr, .lts-table-card tbody tr {
  transition: background .16s ease, box-shadow .16s ease;
}
.lts-table tbody tr:hover, .lts-table-card tbody tr:hover {
  background: linear-gradient(90deg, #F2F7FF, #FAFCFF 60%, #FFFFFF);
  box-shadow: inset 4px 0 0 0 #1F5BFF;
}

/* ── domain cell ──────────────────────────────────────────────────────────── */
.lts-domain-cell { display: flex; align-items: center; gap: 10px; }
.lts-domain-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none !important;
  font: 700 14.5px/1.2 var(--mono, "JetBrains Mono", monospace);
  color: #0A1633 !important;
}
.lts-domain-link .tld { color: #1F5BFF; }
.lts-domain-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: #EEF3FF; color: #1F5BFF;
  font: 800 10.5px/1 var(--mono, "JetBrains Mono", monospace);
  flex: 0 0 auto;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.lts-table tbody tr:hover .lts-domain-icon,
.lts-table-card tbody tr:hover .lts-domain-icon {
  background: #1F5BFF; color: #FFFFFF; transform: scale(1.04);
}
.lts-row-go {
  margin-left: auto;
  display: inline-flex; align-items: center;
  padding: 4px 9px; border-radius: 7px;
  background: #EEF3FF; color: #1F5BFF;
  font: 700 11px/1 var(--sans, Inter, sans-serif);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}
.lts-table tbody tr:hover .lts-row-go,
.lts-table-card tbody tr:hover .lts-row-go { opacity: 1; transform: none; }

/* ── price ────────────────────────────────────────────────────────────────── */
.lts-price-wrap { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.lts-price-badge {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 8px;
  font: 800 13.5px/1 var(--mono, "JetBrains Mono", monospace);
  letter-spacing: -.01em; white-space: nowrap;
  background: #F1F5FD; color: #33415C;
}
.lts-price-badge.high { background: #E6F7F0; color: #0B8B63; }
.lts-price-badge.mid  { background: #EBF1FF; color: #1D4ED8; }
.lts-pbar {
  display: block; width: 74px; height: 4px; border-radius: 99px;
  background: #EDF2FB; overflow: hidden;
}
.lts-pbar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #1F5BFF, #22D3EE);
}
.lts-table tbody tr:hover .lts-pbar i,
.lts-table-card tbody tr:hover .lts-pbar i {
  background: linear-gradient(90deg, #0B8B63, #22D3EE);
}

/* ── venue ────────────────────────────────────────────────────────────────── */
.venue-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font: 700 11.5px/1 var(--sans, Inter, sans-serif);
  white-space: nowrap;
}
.venue-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }
.venue-atom       { background: #F3E8FF; color: #6D28D9; }
.venue-spaceship  { background: #EBF1FF; color: #1D4ED8; }
.venue-sedo       { background: #E0F2FE; color: #0369A1; }
.venue-dynadot    { background: #E6F7F0; color: #0B8B63; }
.venue-namecheap  { background: #FFF1E7; color: #C2410C; }
.venue-afternic   { background: #F2F5F9; color: #475569; }
.venue-un         { background: #F8FAFC; color: #64748B; border: 1px dashed #CBD5E1; }

/* ── source ───────────────────────────────────────────────────────────────── */
.source-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font: 700 11px/1 var(--mono, "JetBrains Mono", monospace);
  letter-spacing: .02em; text-transform: capitalize; white-space: nowrap;
}
.source-badge .s-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.source-badge.verified { background: #E6F7F0; color: #0B8B63; }
.source-badge.reported { background: #EEF2FF; color: #3730A3; }

/* ── date ─────────────────────────────────────────────────────────────────── */
.lts-date {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12.5px/1 var(--mono, "JetBrains Mono", monospace);
  color: #52607A; white-space: nowrap;
}
.lts-date svg { color: #93A1B8; flex: 0 0 auto; }

/* ── footer bar ───────────────────────────────────────────────────────────── */
.lts-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed #DCE5F5;
}
.lts-foot-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: #F0F7FF; border: 1px solid #D6E6FF; color: #1447CC;
  font: 700 11.5px/1 var(--mono, "JetBrains Mono", monospace);
  letter-spacing: .03em;
}
.lts-foot-link {
  font: 700 13px/1 var(--sans, Inter, sans-serif);
  color: #1F5BFF !important; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.lts-foot-link:hover { text-decoration: underline !important; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .lts-shell { padding: 26px 20px 22px; border-radius: 22px; }
  .lts-head { flex-direction: column; }
  .lts-head-right { width: 100%; }
  .lts-cta-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 760px) {
  .lts-shell { padding: 20px 14px 18px; border-radius: 18px; }
  .lts-table { min-width: 620px; }
  .lts-table thead th, .lts-table tbody td,
  .lts-table-card thead th, .lts-table-card tbody td { padding: 11px 12px; }
  .lts-row-go { display: none; }
  .lts-stat-pill { display: none; }
}

/* ══ /sales dark hero — identical recipe to /for-sale's .forsale-hero ══════════
   fs.css is not loaded on /sales, so every rule it needs lives here too. */
.sales-hero-dark.forsale-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px); align-items: center;
  padding: clamp(24px, 3.2vw, 38px) clamp(22px, 3.2vw, 42px);
  border-radius: 26px; color: #fff; margin-bottom: 22px;
  background:
    radial-gradient(850px 360px at 90% -10%, rgba(34,211,238,.20), transparent 60%),
    radial-gradient(700px 360px at 8% 110%, rgba(46,107,255,.30), transparent 60%),
    linear-gradient(135deg, #091533 0%, #0C1C44 55%, #132C6B 100%);
  box-shadow: 0 34px 60px -46px rgba(5,11,31,.9);
}
.sales-hero-dark .mkt-kicker { color: #7FD8F5; }
.sales-hero-dark h1 {
  font: 800 clamp(30px, 3.6vw, 44px)/1.1 var(--display, var(--sans, Inter, sans-serif));
  letter-spacing: -.03em; margin: 8px 0 12px; color: #fff;
}
.sales-hero-dark .lead {
  color: #C6D4F5; font-size: 15.5px; line-height: 1.7;
  margin: 0 0 14px; max-width: 62ch;
}
.sales-hero-dark .lead b { color: #fff; font-weight: 700; }
.sales-hero-meta {
  margin: 0; font-size: 11.5px; color: #9FB0D6; line-height: 1.6; max-width: 70ch;
}
.sales-hero-meta b { color: #EAF1FF; font-weight: 700; }
.sales-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sales-hero-stats .fh-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 14px 16px; backdrop-filter: blur(6px);
}
.sales-hero-stats .fh-stat span {
  display: block; font: 700 9.5px/1.3 var(--mono, monospace);
  letter-spacing: .09em; text-transform: uppercase; color: #8FA6D8;
}
.sales-hero-stats .fh-stat b {
  display: block; font: 800 clamp(16px, 1.45vw, 20px)/1.25 var(--sans, Inter, sans-serif);
  color: #fff; margin: 5px 0 3px; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sales-hero-stats .fh-stat i {
  display: block; font-style: normal; font-size: 11px; color: #9FB0D6; line-height: 1.4;
}
@media (max-width: 980px) {
  .sales-hero-dark.forsale-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .sales-hero-dark.forsale-hero { padding: 20px 18px; border-radius: 20px; }
  .sales-hero-stats .fh-stat b { font-size: 17px; }
}

/* H1 in the dark sales hero was wrapping to "actually / sell for" at 1600px */
.sales-hero-dark .fh-left { min-width: 0; }
.sales-hero-dark h1 { max-width: 22ch; text-wrap: balance; }
/* the largest-sale caption was ellipsised: allow two lines in the stat cards */
.sales-hero-stats .fh-stat i { white-space: normal; overflow: visible; text-overflow: clip; }
@media (min-width: 981px) {
  .sales-hero-dark.forsale-hero { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
}
