/* ============ SELLER SPY SNEAK PEEK ============ */
.sp-peek { padding: 80px 0 40px; position: relative; isolation: isolate; }
.sp-peek .section-head { margin-bottom: 48px; }

.sp-peek-stage {
  position: relative;
  perspective: 1800px;
  padding: 0 8px;
}
.sp-peek-frame {
  --spx: 50%; --spy: 30%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255,255,255,0.025), transparent 70%),
    linear-gradient(180deg, rgba(14,14,16,1), rgba(8,8,10,1));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 40px 120px -30px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.02);
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  /* Composed mask — bottom fades to nothing AND right fades to nothing.
     mask-composite: intersect (standard) / source-in (webkit) makes both fades actually cut through the content. */
  mask-image:
    linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0.55) 92%, transparent 100%),
    linear-gradient(90deg,  #000 0%, #000 54%, rgba(0,0,0,0.55) 82%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0.55) 92%, transparent 100%),
    linear-gradient(90deg,  #000 0%, #000 54%, rgba(0,0,0,0.55) 82%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.sp-peek-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: radial-gradient(380px 280px at var(--spx) var(--spy), rgba(255,255,255,0.05), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.sp-peek-frame:hover::after { opacity: 1; }
.sp-peek-spotlight {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03), transparent 55%);
}

/* Window chrome */
.sp-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  position: relative; z-index: 2;
}
.sp-chrome-dots { display: flex; gap: 6px; }
.sp-chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.10); }
.sp-chrome-dots span:nth-child(1) { background: #ff5f56; opacity: 0.75; }
.sp-chrome-dots span:nth-child(2) { background: #ffbd2e; opacity: 0.75; }
.sp-chrome-dots span:nth-child(3) { background: #27c93f; opacity: 0.75; }
.sp-chrome-url {
  flex: 1; max-width: 380px; margin: 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: rgba(244,241,255,0.48);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  letter-spacing: -0.005em;
}
.sp-chrome-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em;
  color: rgba(244,241,255,0.55);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.20);
}
.sp-live-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: spLivePulse 1.8s ease-out infinite;
}
@keyframes spLivePulse {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(74,222,128,0);   }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0);   }
}

/* Body split */
.sp-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
  position: relative; z-index: 1;
}

/* Sidebar */
.sp-sidenav {
  padding: 18px 10px;
  border-right: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.008);
  display: flex; flex-direction: column; gap: 20px;
}
.sp-nav-group { display: flex; flex-direction: column; gap: 2px; }
.sp-nav-eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  color: rgba(244,241,255,0.32); text-transform: uppercase;
  padding: 0 10px; margin-bottom: 4px;
}
.sp-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: -0.005em;
  color: rgba(244,241,255,0.62);
  transition: background .2s, color .2s;
}
.sp-nav-item.active {
  color: #f4f1ff;
  background: rgba(255,255,255,0.055);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.sp-nav-ico {
  width: 14px; height: 14px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sp-nav-item.active .sp-nav-ico { background: rgba(255,255,255,0.18); }

/* Main */
.sp-main {
  padding: 20px 22px 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}
.sp-main-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sp-main-eyebrow {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(244,241,255,0.4); text-transform: uppercase;
}
.sp-main-title {
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  color: #f4f1ff; margin-top: 3px;
}
.sp-main-actions { display: flex; gap: 8px; }
.sp-pill {
  padding: 5px 11px; border-radius: 6px;
  font-size: 11.5px; font-weight: 500; letter-spacing: -0.005em;
  color: rgba(244,241,255,0.78);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.sp-pill-dark { background: transparent; color: rgba(244,241,255,0.55); }

/* Stats */
.sp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.sp-stat {
  padding: 14px 14px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 110% 90% at 100% 0%, rgba(139,61,245,0.04), transparent 70%),
    rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.sp-stat-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(244,241,255,0.45); text-transform: uppercase;
}
.sp-stat-v {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: #f4f1ff; margin-top: 6px;
  display: inline-flex; align-items: baseline; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.sp-stat-delta {
  font-size: 11px; font-weight: 600; letter-spacing: -0.005em;
  color: #4ade80;
  padding: 2px 6px; border-radius: 5px;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.20);
  font-variant-numeric: tabular-nums;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.sp-stat-delta.neg {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border-color: rgba(248,113,113,0.22);
}
.sp-stat-delta.zero {
  color: rgba(244,241,255,0.45);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.sp-stat-delta.bump { transform: scale(1.06); }
.sp-stat {
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.sp-stat:hover {
  background:
    radial-gradient(ellipse 110% 90% at 100% 0%, rgba(255,255,255,0.05), transparent 70%),
    rgba(255,255,255,0.028);
  border-color: rgba(255,255,255,0.09);
}
.sp-stat-spark {
  transition: transform .25s ease;
}
.sp-stat:hover .sp-stat-spark { transform: scaleY(1.08); }
.sp-stat-spark path {
  transition: d .3s ease;
}
.sp-stat-unit { font-size: 13px; font-weight: 500; color: rgba(244,241,255,0.55); margin-left: 2px; }

/* Feed header */
.sp-feed-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2px;
}
.sp-feed-title { font-size: 13px; font-weight: 600; color: #f4f1ff; letter-spacing: -0.01em; }
.sp-feed-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(244,241,255,0.45);
}
.sp-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
  animation: spLivePulse 1.8s ease-out infinite;
}

/* Feed table */
.sp-feed-thead {
  display: grid;
  grid-template-columns: 56px 1.3fr 1.8fr 0.7fr 0.7fr 0.7fr;
  gap: 14px;
  padding: 10px 14px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,241,255,0.34);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sp-feed-thead .sp-r { text-align: right; }
.sp-feed {
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
  height: 378px;           /* 7 rows × 52px + 6 × 2px gap + buffer — stable height, no bottom jitter */
  overflow: hidden;
}
.sp-feed-row {
  display: grid;
  grid-template-columns: 56px 1.3fr 1.8fr 0.7fr 0.7fr 0.7fr;
  gap: 14px; align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  transition: background .25s ease;
  transform: translateY(-14px);
  opacity: 0;
  animation: spRowIn .55s cubic-bezier(.22,1,.36,1) forwards;
}
.sp-feed-row:hover { background: rgba(255,255,255,0.025); }
.sp-feed-row.leaving {
  animation: spRowOut .22s ease-out forwards;
}
@keyframes spRowIn {
  0%   { transform: translateY(-14px); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}
@keyframes spRowOut {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(6px); }
}

/* Grade badge */
.sp-grade {
  width: 34px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0;
  border-radius: 6px;
  border: 1px solid;
}
.sp-grade-A { color: #4ade80; background: rgba(74,222,128,0.10); border-color: rgba(74,222,128,0.30); }
.sp-grade-B { color: #f4c542; background: rgba(244,197,66,0.09); border-color: rgba(244,197,66,0.28); }
.sp-grade-C { color: #f87171; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.25); }

/* Seller cell */
.sp-seller { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.sp-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.sp-seller-name {
  font-size: 12.5px; font-weight: 500; color: rgba(244,241,255,0.88);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Product cell */
.sp-product { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sp-asin {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; color: rgba(244,241,255,0.38);
  letter-spacing: 0;
}
.sp-title {
  font-size: 12px; font-weight: 400; color: rgba(244,241,255,0.75);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ROI / profit / time */
.sp-roi {
  text-align: right;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}
.sp-roi-hot { color: #6ee7a0; text-shadow: 0 0 12px rgba(110,231,160,0.25); }
.sp-roi-warm { color: #f4c542; }
.sp-profit {
  text-align: right;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; font-weight: 500; color: rgba(244,241,255,0.85);
  font-variant-numeric: tabular-nums;
}
.sp-time {
  text-align: right;
  font-size: 11px; color: rgba(244,241,255,0.42);
}

/* Stat sparklines */
.sp-stat-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sp-stat-spark { width: 52px; height: 18px; flex-shrink: 0; opacity: 0.75; }
.sp-stat[data-spark="green"]  .sp-stat-spark { color: #4ade80; }
.sp-stat[data-spark="violet"] .sp-stat-spark { color: #c084fc; }
.sp-stat[data-spark="blue"]   .sp-stat-spark { color: #60a5fa; }
.sp-stat[data-spark="amber"]  .sp-stat-spark { color: #f4c542; }

/* Product tile — matches .pfr-icon treatment from the showcase sourcing feed.
   Tinted gradient background + emoji glyph centered. */
.sp-prod-img {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.sp-prod-img-lg { width: 48px; height: 48px; border-radius: 10px; }
.sp-prod-emoji {
  font-size: 18px; line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35));
}
.sp-prod-img-lg .sp-prod-emoji { font-size: 26px; }

/* Feed Product cell becomes flex with image + text stack */
.sp-feed-row .sp-product {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.sp-feed-row .sp-product-text {
  display: flex; flex-direction: column; gap: 1px;
  min-width: 0;
}

/* ============ AI AGENT CARD (overlap bottom-left) ============ */
.sp-agent-card {
  --agentTiltX: 0deg;
  --agentTiltY: 0deg;
  --agentSpX: 50%;
  --agentSpY: 50%;
  position: absolute;
  left: 2.5%;
  bottom: -8%;
  width: 460px;
  z-index: 8;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 100% 55% at 50% 0%, rgba(255,255,255,0.045), transparent 75%),
    linear-gradient(180deg, rgba(14,14,16,0.94), rgba(8,8,10,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 40px 100px -24px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  display: flex; flex-direction: column; gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  transform: perspective(1400px) rotateX(var(--agentTiltX)) rotateY(var(--agentTiltY));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
  isolation: isolate;
}
.sp-agent-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 3;
  background: radial-gradient(360px 240px at var(--agentSpX) var(--agentSpY), rgba(255,255,255,0.06), transparent 65%);
  opacity: 0; transition: opacity .3s ease;
}
.sp-agent-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 50px 120px -24px rgba(0,0,0,0.92),
    0 0 0 1px rgba(255,255,255,0.06);
}
.sp-agent-card:hover::after { opacity: 1; }

/* Agent header */
.sp-agent-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sp-agent-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 0 0 rgba(192,132,252,0.6);
  animation: spAgentPulse 1.6s ease-out infinite;
}
@keyframes spAgentPulse {
  0%   { box-shadow: 0 0 0 0   rgba(192,132,252,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(192,132,252,0);   }
  100% { box-shadow: 0 0 0 0   rgba(192,132,252,0);   }
}
.sp-agent-title { font-weight: 600; color: #f4f1ff; letter-spacing: -0.005em; }
.sp-agent-sep { color: rgba(244,241,255,0.25); }
.sp-agent-status {
  color: rgba(244,241,255,0.62); font-weight: 500;
  font-feature-settings: "tnum";
  flex: 1;
}
.sp-agent-kebab { color: rgba(244,241,255,0.35); display: inline-flex; }

/* Product row */
.sp-agent-product { display: flex; align-items: center; gap: 12px; }
.sp-agent-prod-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-agent-asin {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; color: rgba(244,241,255,0.45);
}
.sp-agent-title-line {
  font-size: 13px; font-weight: 500; color: rgba(244,241,255,0.92);
  letter-spacing: -0.005em; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keepa chart (agent card) — ports the showcase palette at a smaller scale */
.sp-agent-chart {
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 8px;
}
.sp-agent-chart .keepa-ctl { padding: 0 2px; }
.sp-agent-chart .keepa-legend .lg { font-size: 9px; padding: 2px 6px; }
.sp-agent-chart .keepa-range button { font-size: 9px; padding: 2px 6px; }
.sp-agent-chart .keepa-sub { padding: 6px 6px 3px; }
.sp-agent-chart .keepa-sub .kc-head { font-size: 9.5px; gap: 5px; }
.sp-agent-chart .keepa-sub .kc-head .dot { width: 6px; }
.sp-agent-chart svg.kc-chart { height: 120px; }
.sp-kc-combined .kc-head { flex-wrap: wrap; row-gap: 2px; }
.sp-kc-sep { opacity: 0.3; margin: 0 2px; }
.kc-yaxis.kc-yright { fill: rgba(255,255,255,0.3); }
.sp-agent-chart .keepa-range button {
  cursor: pointer;
}
.sp-agent-chart .keepa-range button.active {
  background: rgba(255,255,255,0.08);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Log rows */
.sp-agent-log {
  display: flex; flex-direction: column; gap: 2px;
  padding: 2px 2px;
}
.sp-log-row {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11.5px; letter-spacing: -0.005em;
  color: rgba(244,241,255,0.38);
  transition: color .3s ease, background .3s ease;
}
.sp-log-row.active {
  color: rgba(244,241,255,0.72);
  background: rgba(255,255,255,0.025);
}
.sp-log-row.done { color: rgba(244,241,255,0.82); }
.sp-log-ic {
  width: 14px; height: 14px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: border-color .3s ease, background .3s ease;
}
.sp-log-row.active .sp-log-ic {
  border-color: rgba(192,132,252,0.5);
  background: rgba(192,132,252,0.08);
}
.sp-log-row.active .sp-log-ic::before {
  content: ''; position: absolute; inset: 2px; border-radius: 50%;
  border: 1.3px solid rgba(192,132,252,0.7); border-top-color: transparent;
  animation: spSpin 0.8s linear infinite;
}
.sp-log-row.done .sp-log-ic {
  border-color: rgba(74,222,128,0.5);
  background: rgba(74,222,128,0.12);
}
.sp-log-row.done .sp-log-ic::after {
  content: ''; position: absolute;
  left: 3.5px; top: 5.5px;
  width: 7px; height: 3.5px;
  border-left: 1.3px solid #4ade80;
  border-bottom: 1.3px solid #4ade80;
  transform: rotate(-45deg);
}
@keyframes spSpin { to { transform: rotate(360deg); } }
.sp-log-val {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px; color: rgba(244,241,255,0.62);
  font-variant-numeric: tabular-nums;
}
.sp-log-row.active .sp-log-val,
.sp-log-row.done .sp-log-val { color: rgba(244,241,255,0.82); }

/* Verdict */
.sp-agent-verdict {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.18);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1), background .3s, border-color .3s;
}
.sp-agent-verdict.visible { opacity: 1; transform: translateY(0); }
.sp-agent-verdict-text {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px;
}
.sp-agent-verdict-roi {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 600; color: #6ee7a0;
  font-variant-numeric: tabular-nums;
}
.sp-agent-verdict-dot { color: rgba(244,241,255,0.3); }
.sp-agent-verdict-profit {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: rgba(244,241,255,0.75);
}
.sp-agent-verdict-ship {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(74,222,128,0.85);
  white-space: nowrap;
}
/* Verdict color variants */
.sp-agent-verdict[data-grade="B"] { background: rgba(244,197,66,0.05); border-color: rgba(244,197,66,0.2); }
.sp-agent-verdict[data-grade="B"] .sp-agent-verdict-roi { color: #f4c542; }
.sp-agent-verdict[data-grade="B"] .sp-agent-verdict-ship { color: rgba(244,197,66,0.85); }
.sp-agent-verdict[data-grade="C"] { background: rgba(248,113,113,0.04); border-color: rgba(248,113,113,0.18); }
.sp-agent-verdict[data-grade="C"] .sp-agent-verdict-roi { color: #f87171; }
.sp-agent-verdict[data-grade="C"] .sp-agent-verdict-ship { color: rgba(248,113,113,0.78); }

/* Responsive: stack on mobile, hide sidebar, shrink chrome */
@media (max-width: 1180px) {
  .sp-agent-card { left: 2%; bottom: 3%; width: 380px; }
}
@media (max-width: 1000px) {
  .sp-agent-card { width: 340px; padding: 14px; }
  .sp-mini-chart { height: 82px; }
}
@media (max-width: 880px) {
  .sp-peek { padding: 56px 0 24px; }
  .sp-body { grid-template-columns: 1fr; min-height: 0; }
  .sp-sidenav { display: none; }
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-main { padding: 16px 14px 22px; }
  .sp-chrome-url { font-size: 10px; padding: 5px 10px; max-width: 220px; }
  .sp-feed-thead, .sp-feed-row {
    grid-template-columns: 44px 1fr 0.7fr 0.6fr;
    gap: 10px;
  }
  .sp-feed-thead > *:nth-child(3),
  .sp-feed-row > .sp-product,
  .sp-feed-thead > *:nth-child(5),
  .sp-feed-row > .sp-profit { display: none; }
  .sp-feed-row { font-size: 11.5px; padding: 9px 10px; }
  .sp-seller-name { font-size: 12px; }
  .sp-peek-frame { border-radius: 16px; }
  /* Hide overlap chrome on mobile for clarity */
  .sp-agent-card { display: none; }
  .sp-stat-spark { display: none; }
  /* Disable right-edge fade on mobile — keep only bottom fade */
  .sp-peek-frame {
    mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
    mask-composite: add; -webkit-mask-composite: source-over;
  }
}
