.sd3 {
  --sd3-bg: #000;
  --sd3-panel: #0d1117;
  --sd3-panel-2: #161b22;
  --sd3-panel-3: #111827;
  --sd3-line: rgba(255,255,255,.10);
  --sd3-line-soft: rgba(255,255,255,.08);
  --sd3-text: #e4e4e7;
  --sd3-muted: #8b949e;
  --sd3-dim: #6e7681;
  --sd3-blue: #58a6ff;
  --sd3-blue-h: #79c0ff;
  --sd3-green: #3fb950;
  --sd3-red: #f85149;
  --sd3-yellow: #fbbf24;
  --sd3-purple: #d2a8ff;
  --sd3-display: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sd3-mono: "SF Mono", "Cascadia Code", Consolas, monospace;
  min-height: calc(100vh - 48px);
  background: var(--sd3-bg);
  color: var(--sd3-text);
  font-family: var(--sd3-display);
  font-feature-settings: "cv02" 1, "cv03" 1, "cv04" 1, "tnum" 1;
  -webkit-font-smoothing: antialiased;
  padding: 18px 20px 60px;
}

.sd3 *,
.sd3 *::before,
.sd3 *::after {
  box-sizing: border-box;
}

.sd3 a {
  color: inherit;
  text-decoration: none;
}

.sd3 .mono {
  font-family: var(--sd3-mono);
  font-variant-numeric: tabular-nums;
}

.sd3-shell {
  width: 100%;
  /* Bumped from 1280 to fit 5 hero cards (3 KPI snapshot + 2 trade-style
     flip cards Best Calls + Most Mentioned) on one row. Lower sections
     stretch to match this width. */
  max-width: 1360px;
  margin: 0 auto;
}

.sd3-card {
  background: var(--sd3-panel);
  border: 1px solid var(--sd3-line);
  border-radius: 8px;
  box-shadow: none;
}

.sd3-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 24px;
}

.sd3-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.sd3-hero-stats {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(440px, .96fr) minmax(420px, 1.04fr);
  align-items: stretch;
  gap: 12px;
  margin-left: 92px;
}

.sd3-hero-stats.sd3-hero-stats-no-trades {
  width: min(720px, 100%);
  grid-template-columns: minmax(0, 1fr);
}
/* Mobile stat cards kit (2026-06-26): replaces the old five-card hero stats only on mobile. */
.sd3-mobile-stats {
  display: none;
}

.sd3-mobile-stat-card {
  --sd3-stat-accent: 150, 157, 166;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 1.55 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: clamp(8px, 2.4vw, 10px);
  background:
    radial-gradient(72% 96% at 84% 44%, rgba(255, 255, 255, .05), transparent 66%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018) 42%, rgba(0, 0, 0, .30)),
    #101316;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 -1px 0 rgba(0, 0, 0, .62),
    0 8px 18px rgba(0, 0, 0, .34);
  transform: translateZ(0);
}

.sd3-mobile-stat-card--calls {
  --sd3-stat-accent: 178, 164, 122;
}

.sd3-mobile-stat-card--winrate {
  --sd3-stat-accent: 126, 150, 176;
}

.sd3-mobile-stat-card--return-positive {
  --sd3-stat-accent: 108, 158, 118;
}

.sd3-mobile-stat-card--return-negative {
  --sd3-stat-accent: 178, 111, 107;
}

.sd3-mobile-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .04) 62%, transparent) 0 0 / 78% 1px no-repeat,
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 8px);
  opacity: .62;
  pointer-events: none;
}

.sd3-mobile-stat-card::after {
  content: "";
  position: absolute;
  right: -18%;
  top: 22%;
  z-index: 0;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .055);
  filter: blur(18px);
  opacity: .48;
  pointer-events: none;
}

.sd3-mobile-stat-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.sd3-mobile-stat-title {
  position: absolute;
  left: 9%;
  top: 14%;
  max-width: 70%;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(8px, 6.8cqw, 12px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sd3-mobile-stat-value {
  position: absolute;
  left: 9%;
  right: 36%;
  top: 62%;
  max-width: none;
  transform: translateY(-42%);
  font-family: var(--sd3-display);
  color: #f7f8fb;
  font-size: clamp(13.5px, 13.2cqw, 26px);
  font-weight: 760;
  line-height: .94;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-rendering: geometricPrecision;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 8px 20px rgba(0, 0, 0, .24);
}

.sd3-mobile-stat-art {
  position: absolute;
  right: 6%;
  top: 58%;
  z-index: 3;
  color: rgba(var(--sd3-stat-accent), .76);
  transform: translateY(-50%);
  pointer-events: none;
}

.sd3-mobile-stat-art svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .72));
}

.sd3-mobile-stat-art--signal,
.sd3-mobile-stat-art--chart {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: clamp(7px, 2cqw, 10px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 50%, rgba(0, 0, 0, .28)),
    rgba(8, 11, 15, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .11),
    inset 0 -1px 0 rgba(0, 0, 0, .58),
    0 4px 8px rgba(0, 0, 0, .46);
}

.sd3-mobile-stat-art--signal {
  width: clamp(24px, 24cqw, 42px);
  height: clamp(21px, 20cqw, 35px);
}

.sd3-mobile-stat-art--signal svg {
  width: 82%;
  height: 78%;
}

.sd3-mobile-stat-art .sd3-mobile-stat-signal-grid {
  stroke: rgba(var(--sd3-stat-accent), .16);
  stroke-width: .8;
  filter: none;
}

.sd3-mobile-stat-art .sd3-mobile-stat-signal-line {
  stroke-width: 2.1;
}

.sd3-mobile-stat-art .sd3-mobile-stat-signal-point,
.sd3-mobile-stat-art .sd3-mobile-stat-chart-point {
  fill: #d9dde3;
  stroke: rgba(var(--sd3-stat-accent), .88);
  stroke-width: 1.5;
}

.sd3-mobile-stat-art--ring {
  right: 6%;
  width: clamp(24px, 23cqw, 42px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg,
      rgba(var(--sd3-stat-accent), .72) 0 var(--sd3-win-angle, 216deg),
      rgba(255, 255, 255, .07) var(--sd3-win-angle, 216deg) 360deg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .16),
    inset 0 -2px 3px rgba(0, 0, 0, .82),
    0 3px 7px rgba(0, 0, 0, .62);
}

.sd3-mobile-stat-art--ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: #0e1217;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 -1px 0 rgba(255, 255, 255, .08),
    0 0 0 1px rgba(var(--sd3-stat-accent), .08);
}

.sd3-mobile-stat-art--chart {
  right: 4%;
  width: clamp(26px, 26cqw, 46px);
  height: clamp(22px, 21cqw, 38px);
}

.sd3-mobile-stat-art--chart svg {
  width: 92%;
  height: 88%;
}

.sd3-mobile-stat-art .sd3-mobile-stat-chart-grid {
  stroke: rgba(255, 255, 255, .10);
  stroke-width: .75;
  stroke-dasharray: 1.2 3;
  filter: none;
}

.sd3-mobile-stat-art .sd3-mobile-stat-chart-area {
  fill: rgba(var(--sd3-stat-accent), .09);
  stroke: none;
  filter: none;
}

.sd3-mobile-stat-art .sd3-mobile-stat-chart-line {
  stroke-width: 1.9;
}

.sd3-mobile-stat-art .sd3-mobile-stat-chart-down,
.sd3-mobile-stat-card--return-negative .sd3-mobile-stat-art .sd3-mobile-stat-chart-up {
  display: none;
}

.sd3-mobile-stat-card--return-negative .sd3-mobile-stat-art .sd3-mobile-stat-chart-down {
  display: block;
}
@media (max-width: 768px) {
  .sd3-mobile-stats {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(7px, 2vw, 12px);
    width: 100%;
    margin: 4px 0 8px;
  }

  .sd3-hero-showcase > .sd3-hero-stats {
    display: none;
  }
}

@media (max-width: 720px) {
  .sd3-mobile-stats {
    width: calc(100vw - 16px);
    margin: 2px calc(50% - 50vw + 8px) 0;
  }
}

@media (max-width: 380px) {
  .sd3-mobile-stats {
    gap: 6px;
  }

  .sd3-mobile-stat-title {
    font-size: clamp(8px, 7.1cqw, 9.8px);
  }
}

.sd3-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.sd3-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(88, 166, 255, 0.48), rgba(63, 185, 80, 0.30)),
    var(--sd3-panel-2);
  border: 1px solid rgba(255,255,255,.16);
}

.sd3-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd3-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-width: 0;
}

.sd3-title {
  font-family: var(--sd3-display);
  margin: 0;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
  color: #f0f6fc;
}

.sd3-role {
  margin-top: 6px;
  color: #c9d1d9;
  font-size: 15px;
  line-height: 1.35;
}

.sd3-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: var(--sd3-muted);
  font-size: 13px;
}

/* SSR track-record footnote (SEO stage B) — quiet text at the very bottom of
   the page; the hero must stay untouched (2026-06-12). */
.sd3-seo-bio {
  margin: 22px 2px 0;
  color: #5d6c7d;
  font-size: 11.5px;
  line-height: 1.5;
}

.sd3-meta strong,
.sd3-meta a {
  color: #f0f6fc;
  font-weight: 650;
}

.sd3-dotsep {
  color: #484f58;
}

.sd3-author-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, auto));
  gap: 1px;
  margin-top: 0;
  border: 1px solid var(--sd3-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sd3-panel-2);
  min-width: 0;
}

.sd3-author-snapshot > .sd3-statbox {
  min-width: 94px;
  padding: 8px 11px;
  background: rgba(255,255,255,.025);
}

.sd3-stat-ideas {
  order: 1;
}

.sd3-stat-winrate {
  order: 3;
}

.sd3-stat-avg {
  order: 5;
}

.sd3-author-snapshot span {
  display: block;
  color: var(--sd3-muted);
  font-size: 10.5px;
  font-weight: 760;
  text-transform: uppercase;
}

.sd3-author-snapshot strong {
  display: block;
  margin-top: 4px;
  color: #f0f6fc;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 850;
}

.sd3-author-snapshot small {
  display: block;
  margin-top: 3px;
  color: var(--sd3-muted);
  font-size: 10.5px;
  line-height: 1.1;
  font-weight: 700;
}

.sd3-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid var(--sd3-line);
  background: rgba(255,255,255,.04);
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sd3-action:hover {
  border-color: rgba(88,166,255,.65);
  color: #f0f6fc;
  background: rgba(255,255,255,.06);
}

.sd3-action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.sd3-hero-trades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sd3-hero-trade-card {
  min-height: 132px;
  padding: 10px;
  border: 1px solid var(--sd3-line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88,166,255,.055), transparent 62%),
    rgba(255,255,255,.025);
}

.sd3-hero-trade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.sd3-hero-trade-title {
  color: var(--sd3-muted);
  font-size: 10.5px;
  font-weight: 760;
  text-transform: uppercase;
}

.sd3-hero-trade-head small {
  color: var(--sd3-muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
}

.sd3-hero-trade-list {
  display: grid;
  gap: 5px;
}

.sd3-hero-mini-row {
  display: grid;
  grid-template-columns: minmax(50px, .85fr) 44px auto;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid var(--sd3-line-soft);
  border-radius: 6px;
  background: rgba(255,255,255,.025);
}

.sd3-hero-mini-row:hover {
  border-color: rgba(88,166,255,.45);
  background: rgba(255,255,255,.045);
}

.sd3-hero-mini-ticker {
  color: #f0f6fc;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd3-hero-mini-side {
  color: var(--sd3-green);
  font-size: 10.5px;
  font-weight: 780;
}

.sd3-hero-mini-side.short {
  color: var(--sd3-red);
}

.sd3-hero-mini-return {
  justify-self: end;
  font-size: 12px;
  font-weight: 900;
}

.sd3-hero-mini-empty {
  min-height: 118px;
  display: grid;
  place-items: center;
  color: var(--sd3-muted);
  font-size: 12px;
  border: 1px dashed var(--sd3-line-soft);
  border-radius: 6px;
}

.sd3-trades-dock .sd3-hero-stats {
  padding: 10px;
  border: 1px solid var(--sd3-line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88,166,255,.045), transparent 54%),
    rgba(255,255,255,.018);
}

.sd3-trades-dock .sd3-author-snapshot,
.sd3-trades-dock .sd3-hero-trade-card {
  height: 100%;
}

.sd3-trades-dock .sd3-hero-trade-card {
  min-height: 0;
}

.sd3-green {
  color: var(--sd3-green) !important;
}

.sd3-red {
  color: var(--sd3-red) !important;
}

.sd3-yellow {
  color: var(--sd3-yellow) !important;
}

.sd3-top-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: 12px;
  margin-top: 16px;
}

.sd3-panel {
  padding: 18px 20px;
}

.sd3-panel-title {
  font-family: var(--sd3-display);
  margin: 0;
  color: #f0f6fc;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.sd3-panel-sub {
  margin-top: 2px;
  color: var(--sd3-muted);
  font-size: 12px;
}

.sd3-dist-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  position: relative;
}

.sd3-dist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.sd3-dist-title {
  margin: 0;
  color: #f0f6fc;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sd3-dist-explainer {
  margin-top: 5px;
  color: var(--sd3-muted);
  font-size: 12px;
  line-height: 1.35;
}

.sd3-hist {
  height: 126px;
  display: grid;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  align-items: end;
  gap: 18px;
  margin-top: 15px;
  padding: 8px 4px 0;
  background:
    linear-gradient(to bottom, transparent 0, transparent calc(33.333% - 1px), rgba(255,255,255,.06) calc(33.333% - 1px), rgba(255,255,255,.06) 33.333%, transparent 33.333%, transparent calc(66.666% - 1px), rgba(255,255,255,.06) calc(66.666% - 1px), rgba(255,255,255,.06) 66.666%, transparent 66.666%);
}

.sd3-bar {
  min-height: 6px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #7c92ff, #4f6cf0);
  box-shadow: none;
  position: relative;
}

.sd3-dist-classic .sd3-bar:nth-child(1) {
  background: linear-gradient(180deg, #b14d58, #8d3943);
}

.sd3-dist-classic .sd3-bar:nth-child(2) {
  background: linear-gradient(180deg, #c35462, #a94753);
}

.sd3-dist-classic .sd3-bar:nth-child(3) {
  background: linear-gradient(180deg, #d05868, #bd4b5b);
}

.sd3-dist-classic .sd3-bar:nth-child(4) {
  background: linear-gradient(180deg, #8bd99d, #6fc884);
}

.sd3-dist-classic .sd3-bar:nth-child(5) {
  background: linear-gradient(180deg, #79d98f, #5fcf78);
}

.sd3-dist-classic .sd3-bar:nth-child(6) {
  background: linear-gradient(180deg, #6ad985, #4fc86b);
}

.sd3-dist-classic .sd3-bar:nth-child(7) {
  background: linear-gradient(180deg, #4e9d59, #377f43);
}

.sd3-bar .count {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #c9d1d9;
  font-size: 10px;
  font-weight: 800;
}

.sd3-axis-line {
  height: 1px;
  margin: 0 4px;
  background: rgba(255,255,255,.10);
}

.sd3-axis {
  display: grid;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  gap: 8px;
  margin-top: 8px;
  color: var(--sd3-muted);
  font-size: 10.5px;
  text-align: center;
  text-transform: uppercase;
}

.sd3-dist-popover {
  position: absolute;
  top: 58px;
  right: 14px;
  z-index: 8;
  width: min(218px, calc(100% - 28px));
  padding: 8px;
  border: 1px solid rgba(88,166,255,.26);
  border-radius: 8px;
  background: rgba(13,17,23,.98);
  box-shadow: 0 12px 28px rgba(0,0,0,.42);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .12s, transform .12s;
}

.sd3-dist-popover.show {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.sd3-dist-buckets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 7px;
}

.sd3-dist-bucket-btn {
  min-height: 22px;
  padding: 0 5px;
  border: 1px solid var(--sd3-line-soft);
  border-radius: 5px;
  background: rgba(255,255,255,.03);
  color: var(--sd3-muted);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.sd3-dist-bucket-btn.active {
  border-color: rgba(88,166,255,.70);
  background: rgba(88,166,255,.14);
  color: #f0f6fc;
}

.sd3-dist-popover-title {
  color: var(--sd3-muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sd3-dist-popover-table {
  display: grid;
  gap: 3px;
}

.sd3-dist-popover-row {
  display: grid;
  grid-template-columns: minmax(54px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  padding: 3px 6px;
  border: 1px solid var(--sd3-line-soft);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
}

.sd3-dist-popover-row span {
  min-width: 0;
  overflow: hidden;
  color: #f0f6fc;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd3-dist-popover-row strong {
  justify-self: end;
  font-size: 10.5px;
  font-weight: 900;
}

.sd3-dist-popover-more {
  color: var(--sd3-muted);
  font-size: 10.5px;
  text-align: center;
  padding-top: 1px;
}

.sd3-dist-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--sd3-line-soft);
}

.sd3-dist-cell {
  padding: 12px 14px 0;
  text-align: center;
  border-right: 1px solid var(--sd3-line-soft);
}

.sd3-dist-cell:last-child {
  border-right: 0;
}

.sd3-dist-label {
  color: var(--sd3-muted);
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
}

.sd3-dist-value {
  margin-top: 6px;
  color: #f0f6fc;
  font-size: 18px;
  font-weight: 800;
}

.sd3-ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.sd3-ticker-card {
  min-height: 52px;
  border-radius: 8px;
  border: 1px solid var(--sd3-line);
  background: var(--sd3-panel);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.sd3-ticker-card:hover {
  transform: translateY(-1px);
  border-color: rgba(88,166,255,.60);
  background: rgba(255,255,255,.04);
}

.sd3-ticker-card.top {
  border-color: rgba(88,166,255,.52);
}

.sd3-ticker-logo {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.04);
}

.sd3-ticker-symbol {
  font-family: var(--sd3-mono);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 900;
}

.sd3-ticker-count {
  flex: 0 0 auto;
  color: var(--sd3-muted);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.sd3-theme-strip {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) repeat(5, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.sd3-theme-title {
  color: #f0f6fc;
  font-size: 16px;
  font-weight: 800;
}

.sd3-theme-pill {
  min-width: 0;
  border: 1px solid var(--sd3-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.sd3-theme-pill:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
}

.sd3-theme-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e4e4e7;
  font-size: 12px;
}

.sd3-theme-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 820;
  color: #f0f6fc;
}

.sd3-theme-pct {
  color: var(--sd3-muted);
  font-size: 11px;
}

.sd3-theme-bar {
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.sd3-theme-fill {
  height: 100%;
  border-radius: inherit;
}

.sd3-table-card {
  margin-top: 16px;
  overflow: hidden;
}

.sd3-main-tabs-wrap {
  position: relative;
  background: #000;
}

.sd3-main-tabs {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  min-height: 56px;
  padding: 0 14px;
  border-bottom: 1px solid var(--sd3-line);
  background: #000;
}

.sd3-main-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #8b949e;
  font: inherit;
  font-size: 14px;
  font-weight: 740;
  cursor: pointer;
}

.sd3-main-tab:hover {
  color: #d6dee8;
}

.sd3-main-tab.active {
  color: #f0f6fc;
  border-bottom-color: #fb7d2b;
}

.sd3-main-tab span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--sd3-line-soft);
  background: #161b22;
  color: #8b949e;
  font-size: 12px;
  font-weight: 760;
}

.sd3-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin-left: -14px;
  align-self: center;
  border: 1px solid rgba(251,191,36,.30);
  border-radius: 999px;
  background: rgba(251,191,36,.08);
  color: var(--sd3-yellow);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .2s;
}

.sd3-filter-reset:hover {
  border-color: rgba(251,191,36,.52);
  background: rgba(251,191,36,.14);
  color: #ffe08a;
  transform: rotate(-90deg);
}

.sd3-filter-reset[hidden] {
  display: none;
}

.sd3-table-card.filtered-timeline .sd3-main-tab[data-main-tab="themes"] {
  display: none;
}

.sd3-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sd3-line);
  background: var(--sd3-panel);
}

.sd3-seg {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  border: 1px solid var(--sd3-line);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.sd3-seg a,
.sd3-seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--sd3-line-soft);
  background: transparent;
  color: var(--sd3-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.sd3-seg a:last-child,
.sd3-seg button:last-child {
  border-right: 0;
}

.sd3-seg .active {
  color: #f0f6fc;
  background: #1e2430;
  box-shadow: none;
}

.sd3-toolbar-label {
  color: var(--sd3-muted);
  font-size: 12px;
}

.sd3-select,
.sd3-input {
  height: 36px;
  border-radius: 7px;
  border: 1px solid var(--sd3-line);
  background: #000;
  color: #e4e4e7;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
}

.sd3-input {
  width: 190px;
}

.sd3-download {
  margin-left: auto;
}

.sd3-result-control,
.sd3-toolbar-extra {
  display: contents;
}

.sd3-sort-btn,
.sd3-filters-btn,
.sd3-sort-pop {
  display: none;
}

.sd3-mobile-ticker-input,
.sd3-mobile-filter-group {
  display: none;
}

.sd3-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.sd3-table {
  min-width: 1260px;
}

.sd3-head,
.sd3-row {
  display: grid;
  /* Column order: Ticker / Side / Mentions / Opened / Entry / P&L / Thesis / Theme / Source.
     Side narrowed to 54px — just "Long"/"Short" + breath, no wide empty band.
     Numeric/date columns bumped to 92px each (Mentions / Opened / Entry / P&L
     / Source) — pulls them visually left and gives data a bit more breath.
     Theme 108px (most names fit). Thesis flex absorbs the rest. */
  grid-template-columns: 180px 54px 92px 92px 92px 92px minmax(220px, 1fr) 108px 92px;
  gap: 20px;
  align-items: center;
}

.sd3-head {
  min-height: 40px;
  padding: 0 16px;
  color: var(--sd3-muted);
  background: var(--sd3-panel-2);
  border-bottom: 1px solid var(--sd3-line);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sd3-row {
  min-height: 48px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #c9d1d9;
  font-size: 12.5px;
}

.sd3-row:hover {
  background: rgba(255,255,255,.04);
}

.sd3 .sd2-tr:not(.sd3-row) {
  min-height: 48px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #c9d1d9;
  font-size: 12.5px;
  display: grid;
  /* Mirror of .sd3-head/.sd3-row grid for legacy .sd2-tr rows. */
  grid-template-columns: 180px 54px 92px 92px 92px 92px minmax(220px, 1fr) 108px 92px;
  gap: 20px;
  align-items: center;
}

.sd3 .sd2-tr:not(.sd3-row)::before {
  content: none;
  display: none;
}

.sd3 .sd2-tr:not(.sd3-row):hover {
  background: rgba(255,255,255,.04);
}

.sd3 .sd2-tr-ticker a {
  color: #f0f6fc !important;
  font-weight: 850;
}

.sd3 .sd2-tr-ticker a:hover {
  color: var(--sd3-blue-h) !important;
}

.sd3 .sd2-tr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
}

.sd3 .pill-long {
  color: var(--sd3-green);
  background: rgba(35,134,54,.30);
}

.sd3 .pill-short {
  color: var(--sd3-red);
  background: rgba(218,54,51,.30);
}

.sd3 .pill-close {
  color: #5eead4;
  background: rgba(20,184,166,.14);
  border: 1px solid rgba(45,212,191,.36);
}

.sd3 .pill-watch {
  color: var(--sd3-purple);
  background: rgba(210,168,255,.12);
}

.sd3 .sd2-tr-theme {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.sd3 .sd2-tr-theme-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
}

.sd3 .sd2-tr-num,
.sd3 .sd2-tr-pnl,
.sd3 .sd2-tr-date,
.sd3 .sd2-tr-mentions,
.sd3 .sd2-tr-src {
  text-align: right;
}

.sd3 .sd2-tr-pnl {
  color: #e4e4e7;
  font-weight: 850;
}

.sd3 .sd2-tr-pnl.pos {
  color: var(--sd3-green);
}

.sd3 .sd2-tr-pnl.neg {
  color: var(--sd3-red);
}

.sd3 .sd2-tr-thesis,
.sd3-thesis {
  min-width: 0;
  color: #c9d1d9;
  font-size: 12.5px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sd3-thesis-tip .sd3-thesis,
.sd3-thesis-tip .sd2-tr-thesis {
  cursor: help;
}

.sd3-mobile-source-icon {
  display: none;
}

.sd3-thesis-text {
  min-width: 0;
}

.sd3-table-read .sd3-row,
.sd3-table-read .sd2-tr:not(.sd3-row) {
  min-height: 52px;
  font-size: 13px;
}

.sd3-table-read .sd3-thesis,
.sd3-table-read .sd2-tr-thesis {
  color: #d6dee8;
  font-size: 13.25px;
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0;
}

.sd3-table-read .sd3-xn,
.sd3-table-read .sd2-tr-mentions {
  color: #d6dee8;
  font-family: var(--sd3-display);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.sd3-table-read .sd3-head {
  min-height: 42px;
  font-size: 10px;
  color: #9ca6b5;
}

.sd3 .sd2-src-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--sd3-blue);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(88,166,255,.45);
  text-underline-offset: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd3-ticker-link {
  color: #f0f6fc !important;
  font-weight: 850;
  letter-spacing: 0;
}

.sd3-ticker-link:hover {
  color: var(--sd3-blue-h) !important;
}

.sd3-side {
  color: var(--sd3-green);
  font-weight: 800;
}

.sd3-side.short {
  color: var(--sd3-red);
}

.sd3-theme-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.sd3-num,
.sd3-pnl,
.sd3-date,
.sd3-xn,
.sd3-src {
  text-align: right;
}

.sd3-src {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.sd3-pnl {
  color: #e4e4e7;
  font-weight: 850;
}

.sd3-pnl.pos {
  color: var(--sd3-green);
}

.sd3-pnl.neg {
  color: var(--sd3-red);
}

.sd3-src-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--sd3-blue);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(88,166,255,.45);
  text-underline-offset: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd3-src-link:hover {
  color: var(--sd3-blue-h);
  text-decoration-color: currentColor;
}

.sd3 .sd2-src-link:hover {
  color: var(--sd3-blue-h);
  text-decoration-color: currentColor;
}

.sd3-th {
  cursor: pointer;
  user-select: none;
}

.sd3-sort-arr {
  display: none;
}

.sd3-sort-active .sd3-sort-arr {
  display: inline;
}

.sd3-sort-active {
  color: #e4e4e7;
}

.sd3-mentions-btn {
  min-width: 34px;
  min-height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #d6dee8;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.sd3-mentions-btn:hover {
  border-color: rgba(88,166,255,.40);
  background: rgba(88,166,255,.10);
  color: #f0f6fc;
}

.sd3-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: var(--sd3-muted);
  border-top: 1px solid var(--sd3-line);
  background: var(--sd3-panel);
  font-size: 12px;
}

.sd3-foot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sd3-foot-preview {
  flex-wrap: wrap;
}

.sd3-foot-preview .sd3-foot-actions {
  flex: 0 0 100%;
}

.sd3-load {
  min-height: 32px;
  border-radius: 7px;
  border: 1px solid var(--sd3-line);
  background: rgba(255,255,255,.04);
  color: #e4e4e7;
  padding: 0 16px;
  cursor: pointer;
}

.sd3-empty {
  padding: 28px;
  color: var(--sd3-muted);
  text-align: center;
}

.sd3-tip {
  position: fixed;
  z-index: 1000;
  width: min(420px, calc(100vw - 28px));
  max-width: 420px;
  max-height: min(360px, calc(100vh - 28px));
  overflow: auto;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #2a3a50;
  background: #0f1720;
  color: #e7eef7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.50);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 12px;
  line-height: 1.5;
}

.sd3-tip.show {
  opacity: 1;
}

.sd3-tip-title {
  margin-bottom: 7px;
  color: var(--sd3-muted);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 10px;
  font-weight: 850;
}

.sd3-tip-source {
  color: #e7eef7;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  white-space: pre-wrap;
}

.sd3-table-card.show-timeline .sd3-toolbar,
.sd3-table-card.show-timeline .sd3-table-scroll,
.sd3-table-card.show-timeline .sd3-foot,
.sd3-table-card.show-themes .sd3-toolbar,
.sd3-table-card.show-themes .sd3-table-scroll,
.sd3-table-card.show-themes .sd3-foot {
  display: none;
}

.sd3-themes-panel {
  padding: 18px 20px 22px;
  background: #000;
}

.sd3-themes-panel[hidden] {
  display: none;
}

.sd3-themes-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sd3-theme-detail {
  min-height: 96px;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 45%, transparent);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  color: #d6dee8;
  text-align: left;
  cursor: pointer;
}

.sd3-theme-detail:hover {
  border-color: color-mix(in srgb, var(--theme-color) 72%, transparent);
  background: rgba(255,255,255,.055);
}

.sd3-theme-detail-head,
.sd3-theme-detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sd3-theme-detail-name {
  color: #f0f6fc;
  font-size: 15px;
  font-weight: 820;
}

.sd3-theme-detail-count {
  color: var(--theme-color);
  font-size: 16px;
  font-weight: 860;
}

.sd3-theme-detail-bar {
  height: 7px;
  margin: 14px 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.sd3-theme-detail-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--theme-color);
}

.sd3-theme-detail-foot {
  color: #8b949e;
  font-size: 12px;
}

.sd3-theme-detail-foot .mono {
  max-width: 54%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.sd3-inline-timeline {
  --exp-bg-card: #0d1117;
  --exp-bg-hover: #161b22;
  --exp-border: #21262d;
  --exp-border-strong: #30363d;
  --exp-text-pri: #e8edf5;
  --exp-text-sec: #95a0b2;
  --exp-text-muted: #6b7a8d;
  --exp-text-faint: #4a5568;
  --exp-accent: var(--bz-brand, #f5c84b);
  padding: 0 0 18px;
  background: #000;
  color: var(--exp-text-sec);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sd3-inline-timeline[hidden] {
  display: none;
}

.sd3-timeline-filter-bar {
  margin: 0;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #0e1218;
  background: #000;
  min-width: 0;
}

.sd3-timeline-filter-bar .f-drop-btn { min-height: 32px; border-radius: 6px; }
.sd3-timeline-filter-bar #savedLabel { white-space: nowrap; }
.f-drop-menu[data-sd3-timeline-drop] { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
@media (max-width: 520px) {
  .sd3-timeline-filter-bar { padding: 8px; }
}

.sd3-timeline-feed {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sd3-inline-timeline .fd-rows {
  background: var(--exp-bg-card);
  border: 1px solid var(--exp-border);
  border-radius: 8px;
  overflow: hidden;
}

.sd3-inline-timeline .sr-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .12s;
  cursor: pointer;
}

.sd3-inline-timeline .sr-row:hover {
  background: rgba(255,255,255,.03);
}

.sd3-inline-timeline .sr-row.expanded {
  background: rgba(255,255,255,.02);
}

.sd3-inline-timeline .sr-time {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: .75rem;
  color: var(--exp-text-muted);
  white-space: nowrap;
  min-width: 46px;
  padding-top: 2px;
  text-align: right;
  flex-shrink: 0;
}

.sd3-inline-timeline .sr-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.sd3-inline-timeline .sr-body {
  flex: 1;
  min-width: 0;
}

.sd3-inline-timeline .sr-speaker-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.sd3-inline-timeline .sr-author,
.sd3-inline-timeline .sr-author:visited,
.sd3-inline-timeline .sr-author:link {
  font-size: .84rem;
  font-weight: 700;
  color: #f0f4fc;
  text-decoration: none;
}

.sd3-inline-timeline .sr-author:hover {
  color: var(--exp-accent);
}

.sd3-inline-timeline .sr-author-role {
  font-size: .72rem;
  color: var(--exp-text-sec);
}

.sd3-inline-timeline .sr-author-channel {
  font-size: .72rem;
  color: var(--exp-text-sec);
  font-style: italic;
  font-weight: 400;
}

.sd3-inline-timeline .sr-author-channel a {
  color: inherit;
  text-decoration: none;
}

.sd3-inline-timeline .sr-author-channel a:hover {
  color: var(--exp-text-sec);
  text-decoration: underline;
}

.sd3-inline-timeline .sr-author-role + .sr-author-channel::before {
  content: '\00b7';
  color: var(--exp-text-faint);
  margin: 0 4px;
}

.sd3-inline-timeline .sr-thesis {
  font-size: .82rem;
  color: var(--exp-text-sec);
  line-height: 1.55;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: white-space .15s;
}

.sd3-inline-timeline .sr-thesis[style*="font-weight: 600"] {
  color: var(--exp-text-sec) !important;
  font-size: .82rem;
  line-height: 1.5;
}

.sd3-inline-timeline .sr-row.expanded .sr-thesis {
  white-space: normal;
}

.sd3-inline-timeline .sr-row[data-src="youtube"] .sr-thesis-full,
.sd3-inline-timeline .sr-row[data-src="newsletter"] .sr-thesis-full,
.sd3-inline-timeline .sr-row[data-src="twitter"] .sr-thesis-full {
  display: none;
}

.sd3-inline-timeline .sr-row[data-src="youtube"].expanded .sr-thesis-full,
.sd3-inline-timeline .sr-row[data-src="newsletter"].expanded .sr-thesis-full,
.sd3-inline-timeline .sr-row[data-src="twitter"].expanded .sr-thesis-full {
  display: block;
  margin-top: 6px;
  padding-left: 10px;
  border-left: 2px solid rgba(255,255,255,.07);
  color: rgba(192,205,224,.62);
  font-size: .78rem;
}

.sd3-inline-timeline .sr-dir-word {
  font-weight: 800;
}

.sd3-inline-timeline .sr-dir-word-long {
  color: #3fb950;
}

.sd3-inline-timeline .sr-dir-word-short {
  color: #f87171;
}

.sd3-inline-timeline .sr-dir-word-avoid {
  color: #fbbf24;
}

.sd3-inline-timeline .sr-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.sd3-inline-timeline .sr-meta .ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  padding: 1px 0;
  vertical-align: middle;
  font-size: .76rem;
  font-weight: 700;
}

.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="LONG"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="LONG"]:visited {
  color: #3fb950;
}

.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="SHORT"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="SHORT"]:visited {
  color: #f87171;
}

.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="AVOID"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="AVOID"]:visited {
  color: #fbbf24;
}

.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="CLOSE"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="CLOSE"]:visited {
  color: #5eead4;
}

.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="WATCH"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="NEUTRAL"],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir=""],
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="WATCH"]:visited,
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir="NEUTRAL"]:visited,
.sd3-inline-timeline .sr-meta .ticker-pill[data-dir=""]:visited {
  color: #a78bfa;
}

.sd3-inline-timeline .sr-meta .ticker-symbol-text {
  line-height: 1;
}

.sd3-inline-timeline .sr-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  align-self: center;
}

.sd3-inline-timeline .sr-save {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--exp-text-faint);
  padding: 0 4px;
  line-height: 1;
}

.sd3-inline-timeline .sr-save:hover {
  color: var(--exp-text-sec);
}

.sd3-inline-timeline .sr-save.saved {
  color: #f59e0b;
}

.sd3-inline-timeline .sr-score-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #555d6b;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1;
  user-select: none;
}

.sd3-inline-timeline .sr-tweet-embed {
  display: none;
  margin-top: 8px;
  max-width: min(560px, 100%);
  overflow: hidden;
  border-radius: 8px;
}

.sd3-inline-timeline .sr-row.expanded .sr-tweet-embed {
  display: block;
}

.sd3-inline-timeline .sr-tweet-embed.loading {
  min-height: 420px;
  background: #0a0e16;
  border-radius: 8px;
}

.sd3-inline-timeline .sr-tweet-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border-radius: 8px !important;
}

.sd3-timeline-more {
  padding: 0;
  text-align: center;
}

.sd3-inline-timeline .fd-load-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: var(--exp-bg-card);
  border: 1px solid var(--exp-border);
  border-radius: 6px;
  color: var(--exp-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .12s, color .12s;
}

.sd3-inline-timeline .fd-load-more:hover {
  background: var(--exp-bg-hover);
  color: var(--exp-text-pri);
}

.sd3-inline-timeline .fd-load-more:disabled {
  opacity: .6;
  cursor: wait;
}

.sd3-tip-thesis {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--sd3-line-soft);
  color: #c9d1d9;
  font-size: 12px;
  line-height: 1.45;
}

.sd3 button:focus-visible,
.sd3 a:focus-visible,
.sd3 input:focus-visible,
.sd3 select:focus-visible {
  outline: 2px solid var(--sd3-blue);
  outline-offset: 2px;
}

@media (max-width: 1360px) {
  .sd3-ticker-grid {
    grid-template-columns: repeat(4, minmax(118px, 1fr));
  }

  .sd3-theme-strip {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .sd3-theme-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1020px) {
  .sd3 {
    padding: 12px 16px 20px;
  }

  .sd3-hero,
  .sd3-top-grid {
    grid-template-columns: 1fr;
  }

  .sd3-hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sd3-hero-stats {
    width: 100%;
    grid-template-columns: 1fr;
    margin-left: 0;
  }

}

@media (max-width: 720px) {
  .sd3 {
    padding: 10px 10px 18px;
  }


  .sd3-hero {
    padding: 14px;
  }

  .sd3-hero-main {
    display: contents;
  }

  .sd3-identity {
    order: 1;
    align-items: flex-start;
    gap: 12px;
  }

  .sd3-hero-stats {
    order: 2;
  }

  .sd3-avatar {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .sd3-author-snapshot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .sd3-author-snapshot div {
    min-width: 0;
  }

  .sd3-title {
    font-size: 28px;
  }

  .sd3-hero-stats,
  .sd3-trades-dock .sd3-hero-stats {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .sd3-hero-trades {
    grid-template-columns: 1fr;
  }

  .sd3-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .sd3-top-grid {
    gap: 10px;
  }

  .sd3-panel {
    padding: 14px;
  }

  .sd3-hist {
    gap: 8px;
    height: 112px;
  }

  .sd3-axis {
    gap: 4px;
    font-size: 10px;
  }

  .sd3-dist-card.sd3-dist-lowdata {
    display: none;
  }

  .sd3-ticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd3-theme-strip {
    grid-template-columns: 1fr;
  }

  .sd3-main-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .sd3-main-tabs::-webkit-scrollbar {
    display: none;
  }

  .sd3-main-tabs {
    scrollbar-width: none;
  }

  .sd3-main-tabs-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 1px;
    width: 34px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,0), #000);
  }

  .sd3-themes-panel-grid {
    grid-template-columns: 1fr;
  }

  .sd3-toolbar {
    display: grid;
    grid-template-columns: minmax(118px, .82fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .sd3-result-control {
    display: none;
    min-width: 0;
  }

  .sd3-result-control .sd3-toolbar-label {
    display: none;
  }

  .sd3-result-control .sd3-seg {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sd3-seg button {
    padding: 0 10px;
    font-size: 12px;
  }

  .sd3-sort-btn,
  .sd3-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--sd3-line);
    border-radius: 7px;
    background: rgba(255,255,255,.04);
    color: #d6dee8;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
  }

  .sd3-sort-btn {
    display: none;
  }

  .sd3-filters-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border-color: rgba(255,255,255,.12);
    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
      rgba(8,10,14,.8);
  }

  .sd3-sort-btn[aria-expanded="true"],
  .sd3-filters-btn[aria-expanded="true"] {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #f0f6fc;
  }

  .sd3-filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--sd3-blue);
    color: #06111f;
    font-size: 10px;
    font-weight: 900;
  }

  .sd3-filters-count[hidden] {
    display: none;
  }

  .sd3-toolbar-extra {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-top: 2px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
      rgba(7,9,13,.96);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.05),
      0 14px 30px rgba(0,0,0,.28);
  }

  .sd3-toolbar-extra.is-open {
    display: grid;
  }

  .sd3-toolbar-extra .sd3-toolbar-label {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .sd3-mobile-ticker-input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 38px;
  }

  .sd3-mobile-filter-group {
    display: grid;
    gap: 6px;
  }

  .sd3-mobile-filter-group .sd3-toolbar-label {
    display: block;
    margin-top: 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .sd3-mobile-filter-seg {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sd3-mobile-sort-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .sd3-mobile-sort-options button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--sd3-line-soft);
    border-radius: 7px;
    background: rgba(255,255,255,.035);
    color: #c9d1d9;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    text-align: center;
    cursor: pointer;
  }

  .sd3-mobile-sort-options button.active {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.09);
    color: #f0f6fc;
  }

  .sd3-toolbar-extra .sd3-seg,
  .sd3-toolbar-extra .sd3-select,
  .sd3-toolbar-extra .sd3-input,
  .sd3-toolbar-extra .sd3-download {
    width: 100%;
  }

  .sd3-toolbar-extra #sd2TickerFilter {
    display: none;
  }

  .sd3-download {
    margin-left: 0;
  }

  .sd3-sort-pop:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 10px;
    padding: 8px;
    border: 1px solid var(--sd3-line);
    border-radius: 8px;
    background: #0d1117;
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
  }

  .sd3-sort-pop button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--sd3-line-soft);
    border-radius: 6px;
    background: rgba(255,255,255,.035);
    color: #c9d1d9;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    text-align: center;
    cursor: pointer;
  }

  .sd3-sort-pop button.active {
    border-color: rgba(88,166,255,.48);
    background: rgba(88,166,255,.13);
    color: #f0f6fc;
  }

  .sd3-table-scroll {
    overflow-x: visible;
  }

  .sd3-table {
    min-width: 0;
    width: 100%;
  }

  .sd3-head {
    display: none;
  }

  #sd2Feed {
    display: grid;
    gap: 8px;
    padding: 10px;
  }

  .sd3-row,
  .sd3 .sd2-tr:not(.sd3-row) {
    display: grid;
    grid-template-columns: minmax(68px, 1fr) minmax(0, auto) auto auto;
    grid-template-areas:
      "ticker side pnl mentions"
      "thesis thesis thesis thesis"
      "entry theme date src";
    gap: 7px 10px;
    align-items: center;
    min-height: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
  }

  .sd3-row:hover,
  .sd3 .sd2-tr:not(.sd3-row):hover {
    background: rgba(255,255,255,.04);
  }

  .sd3-cell {
    min-width: 0;
  }

  .sd3-cell-ticker {
    grid-area: ticker;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 850;
  }

  .sd3-cell-ticker a {
    color: #f0f6fc !important;
  }

  .sd3-cell-side {
    grid-area: side;
    justify-self: end;
  }

  .sd3-cell-pnl {
    grid-area: pnl;
    justify-self: end;
    font-size: 15px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
  }

  .sd3-cell-mentions {
    grid-area: mentions;
    justify-self: end;
    text-align: right;
  }

  .sd3 .sd3-cell-thesis {
    grid-area: thesis;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    color: #d6dee8;
    font-size: 12.5px;
    line-height: 1.42;
  }

  .sd3-row.is-expanded .sd3-cell-thesis,
  .sd2-tr.is-expanded .sd3-cell-thesis {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    white-space: normal;
  }

  .sd3-cell-entry,
  .sd3-cell-theme,
  .sd3-cell-date,
  .sd3-cell-src {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--sd3-muted);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
  }

  .sd3-cell-entry {
    grid-area: entry;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sd3-cell-theme {
    grid-area: theme;
    display: block;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sd3-cell-date {
    grid-area: date;
    justify-self: end;
  }

  .sd3-cell-src {
    grid-area: src;
    justify-self: end;
    text-align: right;
  }

  .sd3-cell-theme::before,
  .sd3-cell-date::before,
  .sd3-cell-src::before {
    content: "\00b7";
    margin: 0 6px 0 0;
    color: var(--sd3-line);
  }

  .sd3-cell-date:empty,
  .sd3-cell-src:empty,
  .sd3-cell-src.is-empty {
    display: none;
  }

  .sd3-cell-date:empty::before,
  .sd3-cell-src:empty::before,
  .sd3-cell-src.is-empty::before {
    content: none;
  }

  .sd3 .sd2-tr-theme-dot {
    flex: 0 0 auto;
  }

  .sd3-cell-src .sd3-src-link,
  .sd3-cell-src .sd2-src-link {
    min-height: 0;
    font-size: 11px;
  }

  .sd3-mentions-btn {
    min-width: 40px;
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  .sd3 {
    padding: 8px 8px 18px;
  }


  .sd3-hero {
    gap: 12px;
    padding: 12px;
  }

  .sd3-hero-main {
    gap: 12px;
  }

  .sd3-identity {
    gap: 12px;
  }

  .sd3-avatar {
    width: 68px;
    height: 68px;
    font-size: 27px;
  }

  .sd3-title-row {
    gap: 7px 9px;
  }

  .sd3-title {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .sd3-role {
    margin-top: 5px;
    font-size: 13px;
  }

  .sd3-meta {
    margin-top: 7px;
    font-size: 12px;
  }

  .sd3-author-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sd3-author-snapshot > .sd3-statbox {
    min-width: 0;
    padding: 8px 7px;
  }

  .sd3-stat-winrate {
    order: 1;
  }

  .sd3-stat-avg {
    order: 2;
  }

  .sd3-stat-ideas {
    order: 3;
  }

  .sd3-author-snapshot .sd3-kpi-primary strong {
    margin-top: 4px;
    font-size: 16px;
  }

  .sd3-author-snapshot span {
    font-size: 9.5px;
  }

  .sd3-author-snapshot small {
    font-size: 9.5px;
  }

  .sd3-hero-trades {
    gap: 6px;
  }

  .sd3-hero-trade-card {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .sd3-hero-trade-head {
    display: none;
  }

  .sd3-hero-trade-list {
    gap: 6px;
  }

  .sd3-hero-mini-row {
    min-height: 38px;
    grid-template-columns: 42px minmax(58px, .9fr) 42px auto;
    gap: 7px;
    padding: 7px 9px;
  }

  .sd3-hero-mini-row:nth-child(n+2) {
    display: none;
  }

  .sd3-hero-mini-row::before {
    color: var(--sd3-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .sd3-hero-trade-card-best .sd3-hero-mini-row::before {
    content: "Best";
  }

  .sd3-hero-trade-card-worst .sd3-hero-mini-row::before {
    content: "Worst";
  }

  .sd3-hero-mini-ticker,
  .sd3-hero-mini-return {
    font-size: 12.5px;
  }

  .sd3-action {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .sd3-sort-btn {
    padding: 0 8px;
    font-size: 11.5px;
  }

  .sd3-cell-mentions {
    min-width: 62px;
  }

  .sd3-mentions-btn {
    min-width: 0;
    padding: 0 7px;
  }

  .sd3-mentions-btn::after {
    content: " posts";
    color: var(--sd3-muted);
    font-family: var(--sd3-font);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0;
   }

  .sd3-ticker-card {
    min-height: 82px;
    padding: 10px;
  }

  .sd3-ticker-symbol {
    font-size: 18px;
  }
}


/* Showcase speaker card: matches the reference while preserving live data. */
.sd3-hero-showcase {
  position: relative;
  overflow: hidden;
  padding: 28px 32px 30px;
  border-radius: 18px;
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 18% 4%, rgba(255,255,255,.055), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015) 42%, rgba(0,0,0,.25)),
    rgba(9, 12, 16, .92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 24px 70px rgba(0,0,0,.34);
}

.sd3-hero-showcase .sd3-hero-main {
  align-items: flex-start;
  gap: 28px;
}

.sd3-hero-showcase .sd3-identity {
  align-items: center;
  gap: 22px;
}

.sd3-hero-showcase .sd3-avatar {
  width: 124px;
  height: 124px;
  border-color: rgba(255,255,255,.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 18px 36px rgba(0,0,0,.30);
}

.sd3-hero-showcase .sd3-title {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.05;
  font-weight: 820;
  margin: 0;
}

.sd3-hero-showcase .sd3-role {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.3;
}

.sd3-hero-showcase .sd3-meta {
  margin: 0;
  gap: 8px;
  font-size: 13px;
}

.sd3-hero-showcase .sd3-hero-stats {
  width: 100%;
  /* Single column wrapping the snapshot; trade cards live inside the snapshot
     itself as positions 2 and 3. */
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 26px 0 0;
}

.sd3-author-snapshot--showcase {
  /* 5 cards in one row: Calls, Best Calls, Most Mentioned, Win Rate, Avg Return */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.sd3-author-snapshot--showcase > .sd3-statbox {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.sd3-author-snapshot--showcase > .sd3-kpi-primary {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  min-height: 176px;
  padding: 24px 26px 22px;
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025) 42%, rgba(0,0,0,.24)),
    rgba(10, 13, 17, .76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.04),
    0 18px 42px rgba(0,0,0,.32);
}

.sd3-author-snapshot--showcase > .sd3-kpi-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.04) 22%, transparent 48%);
  opacity: .55;
}

/* Explicit visual order for all 5 cards in the snapshot (Calls → Best Calls
   → Most Mentioned → Win Rate → Avg Return). Without explicit order on the
   trade cards they fall to order:0 and end up FIRST, breaking the layout. */
.sd3-author-snapshot--showcase > .sd3-stat-ideas {
  order: 1;
}

.sd3-author-snapshot--showcase > .sd3-hero-trade-card:nth-of-type(2) {
  order: 2;
}

.sd3-author-snapshot--showcase > .sd3-hero-trade-card:nth-of-type(3) {
  order: 3;
}

.sd3-author-snapshot--showcase > .sd3-stat-winrate {
  order: 4;
}

.sd3-author-snapshot--showcase > .sd3-stat-avg {
  order: 5;
}

.sd3-author-snapshot--showcase > .sd3-stat-winrate,
.sd3-author-snapshot--showcase > .sd3-stat-avg {
  border-color: rgba(52,211,153,.28);
}

/* These rules use descendant selectors (space, not >) so they apply both to:
   - Calls card (children directly inside .sd3-kpi-primary)
   - Win Rate / Avg Return cards (children inside .sd3-kpi-inner > .sd3-kpi-face) */
.sd3-author-snapshot--showcase .sd3-kpi-primary span,
.sd3-author-snapshot--showcase .sd3-kpi-primary strong,
.sd3-author-snapshot--showcase .sd3-kpi-primary small {
  position: relative;
  z-index: 1;
}

.sd3-author-snapshot--showcase .sd3-kpi-primary > span,
.sd3-author-snapshot--showcase .sd3-kpi-face > span {
  color: rgba(255,255,255,.90);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
}

/* Win Rate / Avg Return labels — white, same as Calls (no mint accent) */
.sd3-author-snapshot--showcase .sd3-stat-winrate > span,
.sd3-author-snapshot--showcase .sd3-stat-avg > span,
.sd3-author-snapshot--showcase .sd3-stat-winrate .sd3-kpi-face > span,
.sd3-author-snapshot--showcase .sd3-stat-avg .sd3-kpi-face > span {
  color: rgba(255,255,255,.90);
}

/* Win Rate / Avg Return values — use the unified green from the rest of the page
   (var(--sd3-green) = #3fb950) instead of mint, so it matches .sd3-green tags
   and the colors used by Best Calls / etc. */
.sd3-author-snapshot--showcase .sd3-stat-winrate strong,
.sd3-author-snapshot--showcase .sd3-stat-avg strong {
  color: var(--sd3-green);
}

.sd3-hero-showcase .sd3-hero-trade-card {
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

@media (max-width: 1120px) {
  .sd3-hero-showcase .sd3-hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .sd3-hero-showcase {
    padding: 16px 14px 18px;
  }

  .sd3-hero-showcase .sd3-avatar {
    width: 66px;
    height: 66px;
  }

  .sd3-hero-showcase .sd3-title {
    font-size: 26px;
  }

  .sd3-hero-showcase .sd3-role {
    font-size: 13px;
  }

  .sd3-author-snapshot--showcase {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary {
    min-height: 142px;
    padding: 14px 16px;
  }

  .sd3-author-snapshot--showcase .sd3-kpi-primary > span,
  .sd3-author-snapshot--showcase .sd3-kpi-face > span {
    font-size: 18px;
  }

  .sd3-author-snapshot--showcase .sd3-kpi-primary strong {
    margin: 0;
    font-size: 28px;
  }
}

/* ============================================================
   Hero redesign (2026-05-22)
   - Action buttons collapsed into 4 circular icons under avatar
   - Alpha Score promoted to gold-medal rank badge top-right
   - KPI sub-labels carry real metrics (no duplicates)
   - Removed outer hero card + inner trades-dock card; content
     sits flush on the page background, 5 KPI/trade cards
     stretch edge-to-edge against the lower section.
   ============================================================ */

.sd3-card.sd3-hero.sd3-hero-showcase {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.sd3-trades-dock.sd3-hero-showcase .sd3-hero-stats,
.sd3-hero-showcase.sd3-trades-dock .sd3-hero-stats {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sd3-hero-showcase .sd3-hero-main {
  padding: 4px 0 0;
}

.sd3-hero-showcase .sd3-hero-stats {
  margin: 18px 0 0;
}

/* Identity block — avatar on the left, everything text + icons stacks
   in a single left-aligned column on the right for visual coherence. */
.sd3-hero-showcase .sd3-identity {
  align-items: center;
  gap: 20px;
}

.sd3-identity-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sd3-avatar-stack,
.sd3-mobile-copy,
.sd3-title-mobile-row {
  display: contents;
}

.sd3-mobile-avatar-rank,
.sd3-mobile-alpha-score {
  display: none;
}

.sd3-mobile-avatar-alpha {
  display: none;
}

/* Icon row sits at the bottom of the identity column, same left edge as text */
.sd3-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sd3-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1px solid var(--sd3-line);
  background: rgba(255,255,255,.04);
  color: #c9d1d9;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  appearance: none;
  transition: background .15s, border-color .15s, color .15s;
}

.sd3-icon-btn:hover {
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.08);
  color: #f0f6fc;
}

.sd3-icon-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.sd3-icon-btn:disabled {
  cursor: default;
  opacity: .58;
}

.sd3-icon-btn.is-loading {
  color: var(--sd3-muted);
}

/* Following state — subtle green ring, no fill */
.sd3-icon-btn.following {
  border-color: rgba(63,185,80,.55);
  color: #4ade80;
}

.sd3-share-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  padding: 0 13px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #e4e4e7;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  appearance: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.sd3-share-profile-btn:hover,
.sd3-share-profile-btn:focus-visible {
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
  color: #f0f6fc;
  outline: none;
}

.sd3-share-profile-btn:active {
  transform: translateY(1px);
}

.sd3-share-profile-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

body.sd3-rating-lock {
  overflow: hidden;
}

.sd3-rating-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  color: #e6edf3;
  font-family: var(--sd3-display);
}

.sd3-rating-modal.open {
  display: block;
}

.sd3-rating-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(6px);
}

.sd3-rating-shell {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  box-sizing: border-box;
  overflow: auto;
  padding: 52px 0 8px;
}

.sd3-rating-close {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 8;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(13,17,23,.76);
  color: #f0f6fc;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.sd3-rating-close:hover,
.sd3-rating-close:focus-visible {
  background: rgba(255,255,255,.10);
  outline: none;
}

.sd3-rating-stage {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.sd3-rating-card-wrap {
  position: relative;
  width: 1200px;
  height: 675px;
  flex: 0 0 auto;
}

.sd3-rating-card {
  --sd3-rating-w: 1200px;
  --sd3-rating-h: 675px;
  position: absolute;
  inset: 0;
  width: var(--sd3-rating-w);
  height: var(--sd3-rating-h);
  background: #0d1117;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 70px rgba(0,0,0,.60);
  transform: scale(var(--sd3-rating-scale, 1));
  transform-origin: top left;
}
.sd3-rating-card a,
.sd3-rating-card a:visited,
.sd3-rating-card a:hover,
.sd3-rating-card a:active {
  color: inherit;
  text-decoration: none;
}
.sd3-rating-card.sd3-rating-format-1x1 {
  --sd3-rating-w: 1200px;
  --sd3-rating-h: 1200px;
}
.sd3-rating-card.sd3-rating-format-4x5 {
  --sd3-rating-w: 1080px;
  --sd3-rating-h: 1350px;
}

.sd3-rating-backdrop-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.sd3-rating-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sd3-rating-scrim-side {
  background: linear-gradient(90deg, rgba(7,10,15,.93) 0%, rgba(7,10,15,.80) 42%, rgba(7,10,15,.55) 100%);
}

.sd3-rating-scrim-vertical {
  background: linear-gradient(180deg, rgba(7,10,15,.55) 0%, rgba(7,10,15,.15) 30%, rgba(7,10,15,.45) 72%, rgba(7,10,15,.90) 100%);
}

.sd3-rating-grid,
.sd3-rating-glow,
.sd3-rating-vignette,
.sd3-rating-grain,
.sd3-rating-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sd3-rating-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 38px 38px;
  background-position: -1px -1px;
}

.sd3-rating-glow {
  z-index: 0;
  background:
    radial-gradient(70% 90% at 88% 78%, rgba(63,185,80,.12), transparent 55%),
    radial-gradient(60% 60% at 84% 6%, rgba(251,191,36,.10), transparent 55%);
}

.sd3-rating-vignette {
  z-index: 0;
  box-shadow: inset 0 0 160px rgba(0,0,0,.55);
}

.sd3-rating-grain {
  z-index: 1;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

.sd3-rating-fx {
  z-index: 7;
  width: 100%;
  height: 100%;
}

.sd3-rating-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.sd3-rating-rank-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd3-rating-rank-copy small,
.sd3-rating-tracked {
  color: #c9d1d9;
  font-size: 12px;
  text-shadow: 0 1px 5px rgba(0,0,0,.85);
}

.sd3-rating-ribbon {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 9px 24px 9px 26px;
  background: linear-gradient(180deg,#fbbf24,#d29922);
  color: #1a1205;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,8px 50%);
  box-shadow: 0 5px 16px rgba(0,0,0,.4);
}

.sd3-rating-ribbon span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #b8860b;
  clip-path: polygon(0 0,100% 50%,0 100%);
}

.sd3-rating-identity {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 104px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sd3-rating-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.sd3-rating-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(88,166,255,.20), rgba(251,191,36,.16));
  color: #f0f6fc;
  font-size: 34px;
  font-weight: 850;
  overflow: visible;
}

.sd3-rating-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sd3-rating-avatar em {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid #0d1117;
  background: linear-gradient(180deg,#fbbf24,#d29922);
  color: #1a1205;
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
}

.sd3-rating-nameblock {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.sd3-rating-nameblock strong {
  max-width: 620px;
  color: #f0f6fc;
  font-size: 38px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.sd3-rating-nameblock small {
  color: #8b949e;
  font-size: 15px;
  line-height: 1;
}

.sd3-rating-nameblock b {
  color: #fbbf24;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,.85);
}

.sd3-rating-alpha {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  text-align: center;
}

.sd3-rating-alpha span {
  color: #fbbf24;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@keyframes sd3RatingShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sd3-rating-alpha strong {
  display: inline-block;
  padding-right: 8px;
  color: #fbbf24;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(100deg,#b8860b 0%,#fbbf24 30%,#fff3c4 50%,#fbbf24 70%,#b8860b 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 18px rgba(251,191,36,.30));
  animation: sd3RatingShimmer 3.4s linear infinite;
}

.sd3-rating-alpha small {
  color: #c9d1d9;
  font-size: 12px;
  text-shadow: 0 1px 5px rgba(0,0,0,.85);
}

.sd3-rating-stats {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 556px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  gap: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(9,12,17,.38);
  backdrop-filter: blur(3px);
}

.sd3-rating-stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.sd3-rating-stat + .sd3-rating-stat {
  border-left: 1px solid rgba(255,255,255,.10);
}

.sd3-rating-stat span,
.sd3-rating-best h2 {
  margin: 0;
  color: #7a8a9d;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sd3-rating-stat span {
  color: #7a8a9d;
  font-size: 10px;
  letter-spacing: .12em;
}

.sd3-rating-stat strong {
  display: block;
  color: #f0f6fc;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.sd3-rating-stat small {
  display: block;
  margin-top: 10px;
  color: #6e7681;
  font-size: 12px;
}

.sd3-rating-stat i {
  color: #3a414a;
  font-style: normal;
}

.sd3-rating-stat b {
  color: #3fb950;
}

.sd3-rating-green {
  color: #3fb950 !important;
}

.sd3-rating-red {
  color: #f85149 !important;
}

.sd3-rating-best {
  position: absolute;
  left: 40px;
  top: 258px;
  z-index: 5;
  width: 330px;
}

.sd3-rating-best-grid {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.sd3-rating-best-tile,
.sd3-rating-best-empty {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: transparent;
}

.sd3-rating-best-tile:last-child {
  border-bottom: 0;
}

.sd3-rating-best-tile span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.sd3-rating-best-tile strong {
  color: #f0f6fc;
  font-size: 15px;
}

.sd3-rating-best-tile em {
  color: #3fb950;
  border: 1px solid rgba(63,185,80,.35);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sd3-rating-best-tile b {
  flex: 0 0 auto;
  color: #3fb950;
  font-size: 16px;
}

.sd3-rating-best-empty {
  justify-content: center;
  color: #8b949e;
  font-size: 14px;
  font-weight: 760;
}

.sd3-rating-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 40px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.sd3-rating-footer > span {
  color: #6e7681;
  font-size: 12px;
}

.sd3-rating-footer > span:nth-child(2) {
  color: #4d545c;
}

.sd3-rating-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6edf3 !important;
}

.sd3-rating-confirmed em {
  margin-right: 4px;
  color: #6e7681;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sd3-rating-bee {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251,191,36,.30);
  border-radius: 50%;
  background: #161b22;
  overflow: hidden;
}

.sd3-rating-bee img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sd3-rating-confirmed span:last-child {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.sd3-rating-confirmed b {
  color: #e6edf3;
  font-size: 13px;
  line-height: 1;
}

.sd3-rating-confirmed small {
  color: #fbbf24;
  font-size: 11px;
  line-height: 1;
}

.sd3-rating-toolbar {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.sd3-rating-format-toggle {
  height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.sd3-rating-format-btn {
  height: 36px;
  min-width: 54px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8b949e;
  cursor: pointer;
  font: inherit;
  font-family: var(--sd3-mono);
  font-size: 12px;
  font-weight: 800;
}
.sd3-rating-format-btn:hover,
.sd3-rating-format-btn:focus-visible {
  color: #e6edf3;
  outline: none;
}
.sd3-rating-format-btn.is-active,
.sd3-rating-format-btn[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(251,191,36,.22), rgba(251,191,36,.10));
  color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251,191,36,.28), 0 8px 22px rgba(0,0,0,.22);
}

.sd3-rating-toolbar-btn {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #e6edf3;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
}

.sd3-rating-toolbar-btn:hover,
.sd3-rating-toolbar-btn:focus-visible {
  background: rgba(255,255,255,.09);
  outline: none;
}

.sd3-rating-toolbar-primary {
  border-color: rgba(46,160,67,.64);
  background: #238636;
  color: #fff;
}

.sd3-rating-toolbar-primary:hover,
.sd3-rating-toolbar-primary:focus-visible {
  background: #2ea043;
}

.sd3-rating-toolbar-btn:disabled,
.sd3-rating-toolbar-btn.is-busy {
  cursor: wait;
  opacity: .68;
}

.sd3-rating-toolbar-btn svg {
  width: 16px;
  height: 16px;
}

.sd3-rating-share-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sd3-rating-share-options {
  position: fixed;
  z-index: 10035;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(13,17,23,.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.sd3-rating-share-options[hidden] {
  display: none !important;
}

.sd3-rating-share-option {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #e6edf3;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.sd3-rating-share-option:hover,
.sd3-rating-share-option:focus-visible {
  background: rgba(255,255,255,.09);
  outline: none;
}

.sd3-rating-share-option[data-speaker-rating-share-target="telegram"] {
  color: #58a6ff;
}

.sd3-rating-share-option[data-speaker-rating-share-target="twitter"] {
  color: #f0f6fc;
}

.sd3-rating-share-option[data-speaker-rating-share-target="discord"] {
  color: #8b95ff;
}

.sd3-rating-share-option-ico {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
}

.sd3-rating-format-16x9 .sd3-rating-best-tile:nth-child(n+4) {
  display: none;
}

.sd3-rating-format-1x1 .sd3-rating-backdrop-photo,
.sd3-rating-format-4x5 .sd3-rating-backdrop-photo {
  object-position: center center;
}

.sd3-rating-format-1x1 .sd3-rating-scrim-side,
.sd3-rating-format-4x5 .sd3-rating-scrim-side {
  background: linear-gradient(90deg, rgba(7,10,15,.58) 0%, rgba(7,10,15,.30) 46%, rgba(7,10,15,.42) 100%);
}

.sd3-rating-format-1x1 .sd3-rating-scrim-vertical,
.sd3-rating-format-4x5 .sd3-rating-scrim-vertical {
  background: linear-gradient(180deg, rgba(7,10,15,.35) 0%, rgba(7,10,15,.05) 36%, rgba(7,10,15,.78) 100%);
}

.sd3-rating-format-1x1 .sd3-rating-head,
.sd3-rating-format-4x5 .sd3-rating-head {
  top: 18px;
  height: 96px;
  padding: 0 48px;
}

.sd3-rating-format-1x1 .sd3-rating-ribbon,
.sd3-rating-format-4x5 .sd3-rating-ribbon {
  font-size: 15px;
  padding: 10px 28px 10px 30px;
}

.sd3-rating-format-1x1 .sd3-rating-identity,
.sd3-rating-format-4x5 .sd3-rating-identity {
  inset: 0;
  display: block;
}

.sd3-rating-format-1x1 .sd3-rating-person,
.sd3-rating-format-4x5 .sd3-rating-person {
  position: absolute;
  left: 50%;
  z-index: 6;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  transform: translateX(-50%);
}

.sd3-rating-format-1x1 .sd3-rating-person {
  top: 704px;
}

.sd3-rating-format-4x5 .sd3-rating-person {
  top: 780px;
}

.sd3-rating-format-1x1 .sd3-rating-avatar,
.sd3-rating-format-4x5 .sd3-rating-avatar {
  width: 132px;
  height: 132px;
  flex-basis: 132px;
  font-size: 42px;
}

.sd3-rating-format-1x1 .sd3-rating-avatar em,
.sd3-rating-format-4x5 .sd3-rating-avatar em {
  right: -8px;
  bottom: -8px;
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.sd3-rating-format-1x1 .sd3-rating-nameblock,
.sd3-rating-format-4x5 .sd3-rating-nameblock {
  align-items: center;
}

.sd3-rating-format-1x1 .sd3-rating-nameblock strong,
.sd3-rating-format-4x5 .sd3-rating-nameblock strong {
  max-width: 820px;
  font-size: 58px;
  text-align: center;
}

.sd3-rating-format-1x1 .sd3-rating-nameblock b,
.sd3-rating-format-4x5 .sd3-rating-nameblock b {
  font-size: 18px;
}

.sd3-rating-format-1x1 .sd3-rating-alpha,
.sd3-rating-format-4x5 .sd3-rating-alpha {
  position: absolute;
  top: 82px;
  right: 52px;
  z-index: 7;
}

.sd3-rating-format-1x1 .sd3-rating-alpha strong,
.sd3-rating-format-4x5 .sd3-rating-alpha strong {
  font-size: 58px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.9)) drop-shadow(0 5px 18px rgba(0,0,0,.65));
}

.sd3-rating-format-1x1 .sd3-rating-best,
.sd3-rating-format-4x5 .sd3-rating-best {
  inset: 0;
  width: auto;
  pointer-events: none;
}

.sd3-rating-format-1x1 .sd3-rating-best h2,
.sd3-rating-format-4x5 .sd3-rating-best h2 {
  display: none;
}

.sd3-rating-format-1x1 .sd3-rating-best-grid,
.sd3-rating-format-4x5 .sd3-rating-best-grid {
  display: block;
  margin: 0;
}

.sd3-rating-format-1x1 .sd3-rating-best-tile,
.sd3-rating-format-4x5 .sd3-rating-best-tile {
  position: absolute;
  width: 178px;
  min-height: 38px;
  padding: 9px 12px;
  pointer-events: auto;
  border: 1px solid rgba(63,185,80,.38);
  border-radius: 0;
  background: linear-gradient(160deg, rgba(18,24,32,.92), rgba(10,14,20,.92));
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
}

.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(1) { left: 236px; top: 660px; transform: rotate(-8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(2) { right: 236px; top: 660px; transform: rotate(8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(3) { left: 52px; top: 722px; transform: rotate(6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(4) { right: 52px; top: 722px; transform: rotate(-6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(5) { left: 178px; top: 792px; transform: rotate(-6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(6) { right: 178px; top: 792px; transform: rotate(6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(7) { left: 52px; top: 850px; transform: rotate(8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(8) { right: 52px; top: 850px; transform: rotate(-8deg); }

.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(1) { left: 236px; top: 716px; transform: rotate(-7deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(2) { right: 236px; top: 716px; transform: rotate(8deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(3) { left: 52px; top: 796px; transform: rotate(6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(4) { right: 52px; top: 796px; transform: rotate(-6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(5) { left: 178px; top: 876px; transform: rotate(-6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(6) { right: 178px; top: 876px; transform: rotate(6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(7) { left: 52px; top: 956px; transform: rotate(8deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(8) { right: 52px; top: 956px; transform: rotate(-8deg); }

.sd3-rating-format-1x1 .sd3-rating-stats,
.sd3-rating-format-4x5 .sd3-rating-stats {
  left: 48px;
  right: 48px;
  top: auto;
  bottom: 86px;
  height: 86px;
  border-radius: 16px;
}

.sd3-rating-format-1x1 .sd3-rating-stat span,
.sd3-rating-format-4x5 .sd3-rating-stat span {
  font-size: 11px;
}

.sd3-rating-format-1x1 .sd3-rating-stat strong,
.sd3-rating-format-4x5 .sd3-rating-stat strong {
  font-size: 42px;
}

.sd3-rating-format-1x1 .sd3-rating-footer,
.sd3-rating-format-4x5 .sd3-rating-footer {
  height: 76px;
  padding: 0 48px;
}

.sd3-rating-format-1x1 .sd3-rating-footer > span:nth-child(2),
.sd3-rating-format-4x5 .sd3-rating-footer > span:nth-child(2) {
  display: none;
}

/* Reference-aligned speaker share-card layouts from Design decisions checklist (4). */
.sd3-rating-format-16x9.sd3-rating-card {
  background: #0d1117;
  border-radius: 20px;
}
.sd3-rating-format-1x1.sd3-rating-card {
  background: #0c1016;
  border-radius: 28px;
}
.sd3-rating-format-4x5.sd3-rating-card {
  background: #0c1016;
  border-radius: 30px;
}
.sd3-rating-format-16x9 .sd3-rating-backdrop-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 58%;
}
.sd3-rating-format-1x1 .sd3-rating-backdrop-photo {
  inset: auto auto auto 0;
  top: 0;
  width: 100%;
  height: 54%;
  object-position: center 38%;
}
.sd3-rating-format-4x5 .sd3-rating-backdrop-photo {
  inset: auto auto auto 0;
  top: 0;
  width: 100%;
  height: 56%;
  object-position: center 36%;
}
.sd3-rating-format-16x9 .sd3-rating-scrim-side {
  display: block;
  background: linear-gradient(90deg, rgba(7,10,15,.80) 0%, rgba(7,10,15,.55) 42%, rgba(7,10,15,.30) 100%);
}
.sd3-rating-format-16x9 .sd3-rating-scrim-vertical {
  display: block;
  background: linear-gradient(180deg, rgba(7,10,15,.40) 0%, rgba(7,10,15,.06) 30%, rgba(7,10,15,.32) 72%, rgba(7,10,15,.80) 100%);
}
.sd3-rating-format-1x1 .sd3-rating-scrim-side,
.sd3-rating-format-4x5 .sd3-rating-scrim-side,
.sd3-rating-format-1x1 .sd3-rating-grid,
.sd3-rating-format-4x5 .sd3-rating-grid,
.sd3-rating-format-1x1 .sd3-rating-glow,
.sd3-rating-format-4x5 .sd3-rating-glow {
  display: none;
}
.sd3-rating-format-1x1 .sd3-rating-scrim-vertical {
  display: block;
  background:
    linear-gradient(180deg, rgba(7,10,15,.28) 0%, rgba(7,10,15,.08) 18%, rgba(7,10,15,.58) 42%, #0c1016 55%, #0c1016 100%),
    radial-gradient(62% 30% at 50% 7%, rgba(251,191,36,.10), transparent 60%);
}
.sd3-rating-format-4x5 .sd3-rating-scrim-vertical {
  display: block;
  background:
    linear-gradient(180deg, rgba(7,10,15,.28) 0%, rgba(7,10,15,.08) 18%, rgba(7,10,15,.58) 44%, #0c1016 57%, #0c1016 100%),
    radial-gradient(62% 30% at 50% 7%, rgba(251,191,36,.10), transparent 60%);
}
.sd3-rating-format-16x9 .sd3-rating-vignette {
  box-shadow: inset 0 0 160px rgba(0,0,0,.40);
}
.sd3-rating-format-1x1 .sd3-rating-vignette,
.sd3-rating-format-4x5 .sd3-rating-vignette {
  box-shadow: none;
}
.sd3-rating-format-16x9 .sd3-rating-head {
  top: 20px;
  height: 84px;
  padding: 0 40px;
  z-index: 8;
}
.sd3-rating-format-1x1 .sd3-rating-head {
  top: 52px;
  height: auto;
  padding: 0 52px;
  align-items: flex-start;
  z-index: 8;
}
.sd3-rating-format-4x5 .sd3-rating-head {
  top: 56px;
  height: auto;
  padding: 0 52px;
  align-items: flex-start;
  z-index: 8;
}
.sd3-rating-tracked {
  display: none;
}
.sd3-rating-format-16x9 .sd3-rating-ribbon {
  padding: 9px 24px 9px 26px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,8px 50%);
}
.sd3-rating-format-1x1 .sd3-rating-ribbon {
  padding: 14px 32px 14px 36px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .08em;
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,12px 50%);
}
.sd3-rating-format-4x5 .sd3-rating-ribbon {
  padding: 15px 34px 15px 38px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .08em;
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,13px 50%);
}
.sd3-rating-format-16x9 .sd3-rating-ribbon span { width: 8px; }
.sd3-rating-format-1x1 .sd3-rating-ribbon span { width: 12px; }
.sd3-rating-format-4x5 .sd3-rating-ribbon span { width: 13px; }
.sd3-rating-ribbon-prefix {
  margin-right: .35em;
  font: inherit;
}
.sd3-rating-format-16x9 .sd3-rating-rank-copy small {
  padding-left: 4px;
  font-size: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-rank-copy {
  gap: 14px;
}
.sd3-rating-format-4x5 .sd3-rating-rank-copy {
  gap: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-rank-copy small,
.sd3-rating-format-4x5 .sd3-rating-rank-copy small {
  padding-left: 6px;
  color: #e6edf3;
  font-size: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.90);
}
.sd3-rating-format-16x9 .sd3-rating-identity,
.sd3-rating-format-1x1 .sd3-rating-identity,
.sd3-rating-format-4x5 .sd3-rating-identity {
  inset: 0;
  display: block;
  z-index: 7;
}
.sd3-rating-format-16x9 .sd3-rating-person {
  position: absolute;
  left: 40px;
  top: 146px;
  gap: 20px;
}
.sd3-rating-format-1x1 .sd3-rating-person {
  top: 668px;
  left: 52px;
  right: 52px;
  transform: none;
  gap: 16px;
}
.sd3-rating-format-4x5 .sd3-rating-person {
  top: 746px;
  left: 52px;
  right: 52px;
  transform: none;
  gap: 18px;
}
.sd3-rating-format-1x1 .sd3-rating-person,
.sd3-rating-format-4x5 .sd3-rating-person {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sd3-rating-format-16x9 .sd3-rating-avatar {
  width: 104px;
  height: 104px;
  flex-basis: 104px;
  border-width: 1px;
  box-shadow: none;
}
.sd3-rating-format-1x1 .sd3-rating-avatar {
  width: 172px;
  height: 172px;
  flex-basis: 172px;
  border: 4px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 36px rgba(0,0,0,.65);
  font-size: 52px;
}
.sd3-rating-format-4x5 .sd3-rating-avatar {
  width: 184px;
  height: 184px;
  flex-basis: 184px;
  border: 4px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 36px rgba(0,0,0,.65);
  font-size: 56px;
}
.sd3-rating-format-16x9 .sd3-rating-avatar em {
  right: -4px;
  bottom: -4px;
  width: 38px;
  height: 38px;
  border: 3px solid #0d1117;
  font-size: 16px;
}
.sd3-rating-format-1x1 .sd3-rating-avatar em {
  right: -7px;
  bottom: -7px;
  width: 62px;
  height: 62px;
  border: 6px solid #0c1016;
  font-size: 26px;
}
.sd3-rating-format-4x5 .sd3-rating-avatar em {
  right: -7px;
  bottom: -7px;
  width: 66px;
  height: 66px;
  border: 6px solid #0c1016;
  font-size: 28px;
}
.sd3-rating-format-16x9 .sd3-rating-nameblock {
  gap: 7px;
}
.sd3-rating-format-1x1 .sd3-rating-nameblock,
.sd3-rating-format-4x5 .sd3-rating-nameblock {
  align-items: center;
  gap: 6px;
}
.sd3-rating-format-16x9 .sd3-rating-nameblock strong {
  max-width: 620px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.75);
}
.sd3-rating-format-1x1 .sd3-rating-nameblock strong {
  max-width: 900px;
  font-size: 58px;
  line-height: .95;
  letter-spacing: -1.5px;
  text-align: center;
}
.sd3-rating-format-4x5 .sd3-rating-nameblock strong {
  max-width: 860px;
  font-size: 62px;
  line-height: .95;
  letter-spacing: -1.6px;
  text-align: center;
}
.sd3-rating-format-16x9 .sd3-rating-nameblock b {
  font-size: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-nameblock b {
  font-size: 25px;
}
.sd3-rating-format-4x5 .sd3-rating-nameblock b {
  font-size: 26px;
}
.sd3-rating-format-16x9 .sd3-rating-alpha {
  position: absolute;
  top: 30px;
  right: 40px;
  align-items: flex-end;
  z-index: 8;
}
.sd3-rating-format-1x1 .sd3-rating-alpha {
  top: 48px;
  right: 52px;
  align-items: flex-end;
}
.sd3-rating-format-4x5 .sd3-rating-alpha {
  top: 52px;
  right: 52px;
  align-items: flex-end;
  gap: 8px;
}
.sd3-rating-format-16x9 .sd3-rating-alpha span {
  font-size: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-alpha span {
  font-size: 17px;
  letter-spacing: .16em;
}
.sd3-rating-format-4x5 .sd3-rating-alpha span {
  font-size: 19px;
  letter-spacing: .16em;
}
.sd3-rating-format-16x9 .sd3-rating-alpha strong {
  font-size: 58px;
  letter-spacing: -1.5px;
}
.sd3-rating-format-1x1 .sd3-rating-alpha strong {
  font-size: 60px;
  line-height: .9;
  letter-spacing: -2px;
}
.sd3-rating-format-4x5 .sd3-rating-alpha strong {
  font-size: 66px;
  line-height: .9;
  letter-spacing: -2px;
}
.sd3-rating-format-16x9 .sd3-rating-alpha small {
  font-size: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-alpha small {
  font-size: 16px;
  color: #e6edf3;
}
.sd3-rating-format-4x5 .sd3-rating-alpha small {
  font-size: 18px;
  color: #e6edf3;
}
.sd3-rating-format-16x9 .sd3-rating-best {
  left: 40px;
  top: 268px;
  width: 330px;
  z-index: 6;
}
.sd3-rating-format-16x9 .sd3-rating-best h2 {
  margin-bottom: 8px;
  color: #9aa4af;
  font-size: 11px;
  letter-spacing: .12em;
}
.sd3-rating-format-16x9 .sd3-rating-best-grid {
  margin-top: 0;
}
.sd3-rating-format-16x9 .sd3-rating-best-tile {
  padding: 9px 0;
}
.sd3-rating-format-16x9 .sd3-rating-best-tile:nth-child(n+4) {
  display: none;
}
.sd3-rating-format-1x1 .sd3-rating-best,
.sd3-rating-format-4x5 .sd3-rating-best {
  inset: 0;
  width: auto;
  pointer-events: none;
  z-index: 7;
}
.sd3-rating-format-1x1 .sd3-rating-best-grid,
.sd3-rating-format-4x5 .sd3-rating-best-grid {
  display: block;
  margin: 0;
}
.sd3-rating-format-1x1 .sd3-rating-best-tile,
.sd3-rating-format-4x5 .sd3-rating-best-tile {
  position: absolute;
  width: auto;
  min-height: 0;
  display: inline-flex;
  justify-content: flex-start;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(63,185,80,.38);
  border-radius: 0;
  background: linear-gradient(160deg, rgba(18,24,32,.92), rgba(10,14,20,.92));
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
}
.sd3-rating-format-1x1 .sd3-rating-best-tile span,
.sd3-rating-format-4x5 .sd3-rating-best-tile span {
  gap: 0;
}
.sd3-rating-format-1x1 .sd3-rating-best-tile em,
.sd3-rating-format-4x5 .sd3-rating-best-tile em {
  display: none;
}
.sd3-rating-format-1x1 .sd3-rating-best-tile strong {
  font-size: 16px;
}
.sd3-rating-format-4x5 .sd3-rating-best-tile strong {
  font-size: 15px;
}
.sd3-rating-format-1x1 .sd3-rating-best-tile b {
  font-size: 16px;
}
.sd3-rating-format-4x5 .sd3-rating-best-tile b {
  font-size: 15px;
}
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(1) { left: 236px; top: 660px; transform: rotate(-8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(2) { right: 236px; top: 660px; transform: rotate(8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(3) { left: 52px; top: 722px; transform: rotate(6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(4) { right: 52px; top: 722px; transform: rotate(-6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(5) { left: 178px; top: 792px; transform: rotate(-6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(6) { right: 178px; top: 792px; transform: rotate(6deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(7) { left: 52px; top: 850px; transform: rotate(8deg); }
.sd3-rating-format-1x1 .sd3-rating-best-tile:nth-child(8) { right: 52px; top: 850px; transform: rotate(-8deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(1) { left: 236px; top: 716px; transform: rotate(-7deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(2) { right: 236px; top: 716px; transform: rotate(8deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(3) { left: 52px; top: 796px; transform: rotate(6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(4) { right: 52px; top: 796px; transform: rotate(-6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(5) { left: 178px; top: 876px; transform: rotate(-6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(6) { right: 178px; top: 876px; transform: rotate(6deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(7) { left: 52px; top: 956px; transform: rotate(8deg); }
.sd3-rating-format-4x5 .sd3-rating-best-tile:nth-child(8) { right: 52px; top: 956px; transform: rotate(-8deg); }
.sd3-rating-format-16x9 .sd3-rating-stats {
  left: 40px;
  right: 40px;
  top: 534px;
  height: 82px;
  border-radius: 14px;
  background: rgba(9,12,17,.46);
}
.sd3-rating-format-1x1 .sd3-rating-stats {
  left: 52px;
  right: 52px;
  top: 980px;
  bottom: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.sd3-rating-format-4x5 .sd3-rating-stats {
  left: 52px;
  right: 52px;
  top: 1092px;
  bottom: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.sd3-rating-format-16x9 .sd3-rating-stat {
  gap: 5px;
}
.sd3-rating-format-1x1 .sd3-rating-stat,
.sd3-rating-format-4x5 .sd3-rating-stat {
  flex-direction: column-reverse;
}
.sd3-rating-format-1x1 .sd3-rating-stat {
  gap: 9px;
}
.sd3-rating-format-4x5 .sd3-rating-stat {
  gap: 10px;
}
.sd3-rating-format-16x9 .sd3-rating-stat + .sd3-rating-stat {
  border-left-color: rgba(255,255,255,.10);
}
.sd3-rating-format-1x1 .sd3-rating-stat + .sd3-rating-stat,
.sd3-rating-format-4x5 .sd3-rating-stat + .sd3-rating-stat {
  border-left: 1px solid rgba(255,255,255,.12);
}
.sd3-rating-format-1x1 .sd3-rating-stat + .sd3-rating-stat {
  min-height: 100px;
}
.sd3-rating-format-4x5 .sd3-rating-stat + .sd3-rating-stat {
  min-height: 108px;
}
.sd3-rating-format-16x9 .sd3-rating-stat span {
  font-size: 13px;
}
.sd3-rating-format-1x1 .sd3-rating-stat span {
  font-size: 26px;
  letter-spacing: .1em;
}
.sd3-rating-format-4x5 .sd3-rating-stat span {
  font-size: 28px;
  letter-spacing: .1em;
}
.sd3-rating-format-16x9 .sd3-rating-stat strong {
  font-size: 42px;
  letter-spacing: -1px;
}
.sd3-rating-format-1x1 .sd3-rating-stat strong {
  font-size: 72px;
  letter-spacing: -2px;
}
.sd3-rating-format-4x5 .sd3-rating-stat strong {
  font-size: 80px;
  letter-spacing: -2px;
}
.sd3-rating-format-16x9 .sd3-rating-footer {
  height: 66px;
  padding: 0 40px;
}
.sd3-rating-format-1x1 .sd3-rating-footer {
  height: 96px;
  padding: 0 52px;
  background: rgba(7,10,15,.55);
}
.sd3-rating-format-4x5 .sd3-rating-footer {
  height: 100px;
  padding: 0 52px;
  background: rgba(7,10,15,.55);
}
.sd3-rating-format-16x9 .sd3-rating-footer > span {
  font-size: 15px;
}
.sd3-rating-format-16x9 .sd3-rating-footer > span:nth-child(2) {
  display: inline;
  font-size: 14px;
}
.sd3-rating-format-1x1 .sd3-rating-footer > span,
.sd3-rating-format-4x5 .sd3-rating-footer > span {
  font-size: 18px;
}
.sd3-rating-format-1x1 .sd3-rating-confirmed,
.sd3-rating-format-4x5 .sd3-rating-confirmed {
  gap: 12px;
}
.sd3-rating-format-4x5 .sd3-rating-confirmed {
  gap: 13px;
}
.sd3-rating-format-16x9 .sd3-rating-confirmed em {
  font-size: 12px;
  color: #8b949e;
}
.sd3-rating-format-1x1 .sd3-rating-confirmed em,
.sd3-rating-format-4x5 .sd3-rating-confirmed em {
  font-size: 14px;
  color: #8b949e;
}
.sd3-rating-format-16x9 .sd3-rating-bee {
  width: 38px;
  height: 38px;
}
.sd3-rating-format-1x1 .sd3-rating-bee,
.sd3-rating-format-4x5 .sd3-rating-bee {
  width: 54px;
  height: 54px;
}
.sd3-rating-format-16x9 .sd3-rating-confirmed b {
  font-size: 17px;
}
.sd3-rating-format-1x1 .sd3-rating-confirmed b {
  font-size: 24px;
}
.sd3-rating-format-4x5 .sd3-rating-confirmed b {
  font-size: 27px;
}
.sd3-rating-format-16x9 .sd3-rating-confirmed small {
  font-size: 13px;
}
.sd3-rating-format-1x1 .sd3-rating-confirmed small {
  font-size: 18px;
}
.sd3-rating-format-4x5 .sd3-rating-confirmed small {
  font-size: 20px;
}

/* Link cards use a wide viewport. Keep the Share identity and metrics inside
   that frame, with a footer reserved for the social app's title overlay. */
.sd3-rating-card.sd3-rating-link-preview {
  --sd3-rating-w: 1200px;
  --sd3-rating-h: 630px;
  box-sizing: border-box;
  border-radius: 0;
  box-shadow: none;
}
.sd3-rating-link-preview .sd3-rating-head {
  top: 28px;
  height: auto;
  align-items: flex-start;
}
.sd3-rating-link-preview .sd3-rating-ribbon {
  font-size: 24px;
}
.sd3-rating-link-preview .sd3-rating-rank-copy small {
  font-size: 18px;
}
.sd3-rating-link-preview .sd3-rating-person {
  top: 162px;
}
.sd3-rating-link-preview .sd3-rating-nameblock strong {
  font-size: 44px;
}
.sd3-rating-link-preview .sd3-rating-alpha span {
  font-size: 18px;
}
.sd3-rating-link-preview .sd3-rating-best {
  top: 282px;
  width: 440px;
}
.sd3-rating-link-preview .sd3-rating-stats {
  top: 458px;
  height: 100px;
}
.sd3-rating-link-preview .sd3-rating-stat span {
  font-size: 20px;
}
.sd3-rating-link-preview .sd3-rating-stat strong {
  font-size: 52px;
}
.sd3-rating-link-preview .sd3-rating-footer {
  height: 52px;
}
.sd3-rating-link-preview .sd3-rating-footer > span:nth-child(2) {
  display: none;
}

.spkv2-feed-toast {
  display: grid;
  gap: 12px;
  min-width: min(380px, 78vw);
  max-width: 460px;
  text-align: left;
}

.spkv2-feed-toast-kicker {
  color: var(--v2-orange, #f59e0b);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spkv2-feed-toast-title {
  color: var(--v2-text, #f3f4f6);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.spkv2-feed-toast-highlight {
  color: var(--v2-orange, #f59e0b);
}

.spkv2-feed-toast-copy {
  color: var(--v2-text-2, #9ca3af);
  font-size: 14px;
  line-height: 1.45;
}

.spkv2-feed-toast-source {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(245,158,11,0.26);
  border-radius: 8px;
  background: rgba(245,158,11,0.08);
  color: var(--v2-text, #f3f4f6);
  font-size: 12px;
  font-weight: 600;
}

.spkv2-feed-toast-control {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: #0b0f15;
  color: var(--v2-text, #f3f4f6);
}

.spkv2-feed-toast-control::placeholder {
  color: rgba(156,163,175,.72);
}

.spkv2-feed-menu {
  display: grid;
  gap: 8px;
}

.spkv2-feed-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(161,161,170,0.20);
  border-radius: 8px;
  background: rgba(39,39,42,0.72);
  color: var(--v2-text, #f3f4f6);
  cursor: pointer;
}

.spkv2-feed-choice:hover {
  border-color: rgba(161,161,170,0.38);
  background: rgba(63,63,70,0.76);
}

.spkv2-feed-choice.is-existing {
  border-color: rgba(34,197,94,0.28);
  background: rgba(22,163,74,0.08);
}

.spkv2-feed-choice.is-existing:hover {
  border-color: rgba(34,197,94,0.44);
  background: rgba(22,163,74,0.12);
}

.spkv2-feed-choice.is-updating {
  opacity: 0.62;
  pointer-events: none;
}

.spkv2-feed-choice input {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(161,161,170,0.56);
  border-radius: 999px;
  background: rgba(5,7,10,0.58);
  cursor: pointer;
}

.spkv2-feed-choice input:checked {
  border-color: #22c55e;
  background: radial-gradient(circle, #22c55e 0 44%, transparent 48%);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.spkv2-feed-choice input:focus-visible {
  outline: 2px solid rgba(125,211,252,0.72);
  outline-offset: 2px;
}

.spkv2-feed-choice-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.spkv2-feed-choice-meta {
  color: var(--v2-muted, #8b949e);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.spkv2-feed-choice.is-existing .spkv2-feed-choice-meta {
  color: #86efac;
}

#bzToast:has(.spkv2-feed-toast) {
  border-color: rgba(161,161,170,0.20) !important;
  background: #1b1b1f !important;
  text-align: left !important;
}

#bzToast:has(.spkv2-feed-toast) #bzToastIcon {
  display: none !important;
  margin-bottom: 0 !important;
}

#bzToast:has(.spkv2-feed-toast) #bzToastActions {
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

#bzToast:has(.spkv2-feed-toast) .bz-toast-btn {
  min-height: 38px;
  border: 1px solid rgba(161,161,170,0.26) !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  background: rgba(161,161,170,0.14) !important;
  color: #dbe4ef !important;
  font-weight: 700 !important;
}

#bzToast:has(.spkv2-feed-toast) .bz-toast-btn:hover {
  opacity: 1 !important;
  border-color: rgba(161,161,170,0.44) !important;
  background: rgba(161,161,170,0.20) !important;
}

#bzToast:has(.spkv2-feed-toast) .bz-toast-btn-secondary {
  background: transparent !important;
  color: #9ca3af !important;
}

/* Alpha medal — tiered Buzzberg rank badge.
   rank-1/2/3 carry a metal disc icon (gold / silver / bronze).
   rank-4+ ("minor") is a compact text-only badge with neutral chrome. */
.sd3-alpha-medal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 18px;
  border: 1px solid var(--medal-border, rgba(255,255,255,.28));
  background:
    linear-gradient(135deg, var(--medal-bg-tint, rgba(255,255,255,.05)), transparent 70%),
    rgba(14,11,7,.55);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  align-self: center;
  flex: 0 0 auto;
}

.sd3-alpha-medal-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px var(--medal-glow, rgba(0,0,0,.3)));
}

.sd3-alpha-medal-icon svg {
  width: 100%;
  height: 100%;
}

.sd3-alpha-medal-rank {
  color: var(--medal-text-primary, #f5f5f7);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: var(--medal-rank-shadow, none);
  padding: 0 2px;
}

.sd3-alpha-medal-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--medal-border, rgba(255,255,255,.22));
}

.sd3-alpha-medal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--medal-border, rgba(255,255,255,.22));
  white-space: nowrap;
}

.sd3-alpha-medal-brand {
  color: var(--medal-text-primary, rgba(255,255,255,.9));
  font-family: 'Bruno Ace', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sd3-alpha-medal-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.sd3-alpha-medal-label {
  color: var(--medal-text-secondary, rgba(255,255,255,.55));
  font-size: 10px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sd3-alpha-medal-value {
  color: var(--medal-text-primary, #f5f5f7);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* Help trigger picks up the medal accent palette */
.sd3-alpha-medal .alpha-help-trigger {
  color: var(--medal-help, rgba(255,255,255,.55));
  border-color: var(--medal-help-border, rgba(255,255,255,.18));
  background: var(--medal-help-bg, rgba(255,255,255,.06));
}

.sd3-alpha-medal .alpha-help-trigger:hover {
  color: var(--medal-text-primary, #fff);
  border-color: var(--medal-border, rgba(255,255,255,.30));
  background: var(--medal-bg-tint, rgba(255,255,255,.14));
}

/* Gold — rank 1 */
.sd3-alpha-medal-rank-1 {
  --medal-c1: #fde68a;
  --medal-c2: #f59e0b;
  --medal-c3: #b45309;
  --medal-accent: #92400e;
  --medal-star-fill: #fef3c7;
  --medal-border: rgba(245,158,11,.46);
  --medal-bg-tint: rgba(245,158,11,.18);
  --medal-glow: rgba(245,158,11,.32);
  --medal-text-primary: #fde68a;
  --medal-text-secondary: rgba(254,243,199,.62);
  --medal-rank-shadow: 0 0 12px rgba(245,158,11,.22);
  --medal-help: rgba(254,243,199,.55);
  --medal-help-border: rgba(245,158,11,.32);
  --medal-help-bg: rgba(245,158,11,.10);
}

/* Silver — rank 2 */
.sd3-alpha-medal-rank-2 {
  --medal-c1: #f8fafc;
  --medal-c2: #cbd5e1;
  --medal-c3: #64748b;
  --medal-accent: #475569;
  --medal-star-fill: #f8fafc;
  --medal-border: rgba(203,213,225,.46);
  --medal-bg-tint: rgba(203,213,225,.14);
  --medal-glow: rgba(203,213,225,.30);
  --medal-text-primary: #e2e8f0;
  --medal-text-secondary: rgba(241,245,249,.60);
  --medal-rank-shadow: 0 0 10px rgba(203,213,225,.18);
  --medal-help: rgba(241,245,249,.55);
  --medal-help-border: rgba(203,213,225,.28);
  --medal-help-bg: rgba(203,213,225,.10);
}

/* Bronze — rank 3 */
.sd3-alpha-medal-rank-3 {
  --medal-c1: #fed7aa;
  --medal-c2: #d97706;
  --medal-c3: #92400e;
  --medal-accent: #7c2d12;
  --medal-star-fill: #fff7ed;
  --medal-border: rgba(217,119,6,.42);
  --medal-bg-tint: rgba(217,119,6,.14);
  --medal-glow: rgba(217,119,6,.30);
  --medal-text-primary: #fed7aa;
  --medal-text-secondary: rgba(255,247,237,.58);
  --medal-rank-shadow: 0 0 12px rgba(217,119,6,.20);
  --medal-help: rgba(255,247,237,.52);
  --medal-help-border: rgba(217,119,6,.28);
  --medal-help-bg: rgba(217,119,6,.10);
}

/* Minor — rank 4 and below: compact text-only, neutral chrome, no icon */
.sd3-alpha-medal-minor {
  --medal-border: rgba(255,255,255,.22);
  --medal-bg-tint: rgba(255,255,255,.04);
  --medal-text-primary: #f0f6fc;
  --medal-text-secondary: rgba(255,255,255,.55);
  --medal-rank-shadow: none;
  --medal-help: rgba(255,255,255,.55);
  --medal-help-border: rgba(255,255,255,.20);
  --medal-help-bg: rgba(255,255,255,.06);
}

.sd3-alpha-medal-minor .sd3-alpha-medal-rank {
  font-size: 26px;
}

/* KPI card — compact, content distributed top/middle/bottom via flex */
.sd3-author-snapshot--showcase > .sd3-kpi-primary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 16px 22px 18px;
}

/* Flippable KPI card (Calls, Win Rate, Avg Return) — clicking the card
   rotates an inner wrapper 180° to reveal per-period numbers. Keep
   display:block (relative positioning for the absolute faces) so the
   parent grid row controls height the same as for non-flip cards. */
.sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip {
  display: block;
  position: relative;
  padding: 0;
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Inner + face — classic 3D flip with absolute-positioned faces.
   Inner fills the outer card height; both faces are absolute and span
   the inner, with backface-visibility hiding the rotated one.
   Inside each face we keep the original flex-column space-between layout
   so label/value/sub-meta distribute identically to the non-flip Calls. */
.sd3-kpi-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4, .2, .2, 1);
}

.sd3-kpi-flip.is-flipped .sd3-kpi-inner {
  transform: rotateY(180deg);
}

.sd3-kpi-flip::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 22px;
  height: 22px;
  background-color: rgba(220,225,232,.68);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5'/%3E%3Cpath d='M19 11.8A7.2 7.2 0 1 0 12 19.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5'/%3E%3Cpath d='M19 11.8A7.2 7.2 0 1 0 12 19.2'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  transform: translateZ(0);
  opacity: .88;
  transition: background-color .16s, opacity .16s, transform .16s;
}

.sd3-kpi-flip:hover::after,
.sd3-kpi-flip:focus-visible::after {
  background-color: #f0f6fc;
  opacity: 1;
  transform: rotate(-10deg) scale(1.06);
}

.sd3-kpi-flip.is-flipped::after {
  background-color: rgba(251,191,36,.88);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7v5h5'/%3E%3Cpath d='M5 11.8a7.2 7.2 0 1 1 7 7.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7v5h5'/%3E%3Cpath d='M5 11.8a7.2 7.2 0 1 1 7 7.4'/%3E%3C/svg%3E");
  transform: rotate(10deg);
}

.sd3-kpi-flip:focus-visible {
  outline: 2px solid rgba(88,166,255,.72);
  outline-offset: 3px;
}

.sd3-kpi-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 22px 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
}

.sd3-kpi-back {
  transform: rotateY(180deg);
}

/* Per-period rows on the back face — uniform with the front sub-meta style:
   period label = same gray uppercase as .sd3-stat-meta-label
   value = same primary-text color as front sub-meta numbers, just sized up
           a bit since the back face has no big hero number competing. */
.sd3-kpi-windows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sd3-kpi-window-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.sd3-kpi-window-row:last-child {
  border-bottom: 0;
}

/* Period label / ticker label — small gray, used on both KPI back faces
   (7d / 30d / 90d) AND the Best/Worst Calls trade card (ticker symbols).
   Unscoped from .sd3-author-snapshot--showcase so it applies to trade card. */
.sd3-kpi-window-label {
  display: inline-block !important;
  color: rgba(170,178,188,.78) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin: 0 !important;
}

a.sd3-kpi-window-label {
  text-decoration: none;
}

a.sd3-kpi-window-label:hover {
  color: rgba(220,225,232,.95) !important;
}

/* Window value — sized down from the front hero number. Unscoped so it
   applies to both KPI back rows and trade card rows. */
.sd3-kpi-window-row > strong {
  margin: 0;
  font-size: 16px !important;
  font-weight: 850;
  line-height: 1;
}

/* When the card is flipped, allow clicks to land on back face content */
.sd3-kpi-flip .sd3-kpi-front { pointer-events: auto; }
.sd3-kpi-flip .sd3-kpi-back  { pointer-events: none; }
.sd3-kpi-flip.is-flipped .sd3-kpi-front { pointer-events: none; }
.sd3-kpi-flip.is-flipped .sd3-kpi-back  { pointer-events: auto; }

/* Mention count on Most Mentioned front — match value styling but neutral */
.sd3-kpi-mention-count {
  color: #c9d1d9 !important;
  font-weight: 850;
}

/* Ticker cell in the positions table — logo on the left, symbol top + company
   name (truncated) below. Replaces the plain ticker link. */
.sd3-cell-ticker .sd3-ticker-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

/* Logo slot — fixed width box. Placeholder (first letter of ticker on muted
   background) renders via ::before; img sits on top via z-index. If img fails
   to load, onerror hides it and the placeholder stays visible — the slot
   keeps its width so the ticker symbol doesn't shift left. */
.sd3-ticker-cell-logo-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  color: #c9d1d9;
  font-family: var(--sd3-display);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  overflow: hidden;
}

.sd3-ticker-cell-logo-wrap::before {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.sd3-ticker-cell-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--sd3-panel);
}

.sd3-ticker-cell-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.sd3-name-mobile,
.sd3-mobile-row-detail {
  display: none;
}

.sd3-ticker-cell-symbol {
  color: #f0f6fc;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.sd3-ticker-cell:hover .sd3-ticker-cell-symbol {
  color: var(--sd3-blue-h);
}

.sd3-ticker-cell-name {
  margin-top: 2px;
  max-width: 130px;
  color: var(--sd3-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd3-ticker-cell-more {
  margin-left: 6px;
  color: #6e747f;
  font-size: 11px;
}

.sd3-hero-trade-card.sd3-kpi-flip {
  position: relative;
  container-type: inline-size;
  min-height: 200px;
  /* trade card is now a sibling of the 3 KPI cards inside .sd3-author-snapshot--showcase
     (5-col grid); each column gets equal width via 1fr. No fixed width needed. */
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025) 42%, rgba(0,0,0,.24)),
    rgba(10, 13, 17, .76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.04),
    0 18px 42px rgba(0,0,0,.32);
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Face inside trade card — matches KPI face padding so header lines up
   with Calls/Win Rate/Avg Return labels visually. Same flex layout: header
   at top, .sd3-kpi-windows pinned to bottom via space-between. */
.sd3-hero-trade-card .sd3-kpi-face {
  padding: 16px 22px 18px;
  justify-content: space-between;
  gap: 0;
}

/* Header label inside trade face — identical to Calls / Win Rate / Avg Return
   front label (18px, white). User-frozen 2026-05-23. Force single-line so
   "Best Calls" / "Worst Calls" never wraps even when the card is narrow. */
.sd3-hero-trade-card .sd3-kpi-face > span {
  color: rgba(255,255,255,.90);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* Trade-card row layout — ticker + side tag grouped on the left, value
   pushed to the right via margin-left:auto (so the side tag sits right
   after the ticker instead of being thrown to the middle by space-between). */
.sd3-hero-trade-card .sd3-kpi-window-row {
  justify-content: flex-start;
  gap: 6px;
}

.sd3-hero-trade-card .sd3-kpi-window-row > strong {
  margin-left: auto;
  font-size: 13px !important;
}

/* Recent Calls — relative timestamp instead of return %. Muted, not colored. */
.sd3-hero-trade-card .sd3-kpi-window-row > strong.sd3-kpi-recent-when {
  color: rgba(170,178,188,.72);
  font-size: 11px !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

/* Side tag — clearly smaller than the ticker label (11px), muted gray,
   lowercase ("long" / "short"). Selector specificity bumped to beat
   `.sd3-author-snapshot span` (0,1,1) which sets uppercase 10.5px/760. */
.sd3-author-snapshot .sd3-kpi-side-tag,
.sd3-hero-trade-card .sd3-kpi-side-tag {
  display: inline-block;
  color: rgba(140,148,158,.55);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: lowercase;
}

/* Primary KPI value — descendant selector handles both shapes (Calls direct,
   Win Rate / Avg Return wrapped in face). Window-row strong on the back face
   gets a smaller override below. */
.sd3-author-snapshot--showcase .sd3-kpi-primary strong {
  margin: 0;
  font-size: clamp(26px, 14cqw, 36px);
}

/* Posted today — same gray as other sub-meta lines (no color accent) */
.sd3-stat-meta-today {
  color: rgba(170,178,188,.78) !important;
}

/* Avg Return number — keep the same mint green as Win Rate when positive
   (JS adds .sd3-green which would otherwise switch to a more saturated lime). */
/* Avg Return main value with JS-added .sd3-green/.sd3-red — let the natural
   .sd3-green / .sd3-red rules win so the color matches the rest of the page. */
.sd3-author-snapshot--showcase .sd3-stat-avg strong.sd3-green {
  color: var(--sd3-green) !important;
}

.sd3-author-snapshot--showcase .sd3-stat-avg strong.sd3-red {
  color: var(--sd3-red) !important;
}

/* KPI card sub-text — small, gray. Flex column on the face handles vertical spacing.
   Layout responsibility: .sd3-stat-meta = block container; each .sd3-stat-meta-row
   is its own block line; other inner spans (mono / sep / label) stay inline.
   Uses descendant selector so it works for non-flippable Calls (direct child)
   AND flippable Win Rate / Avg Return (wrapped in .sd3-kpi-face). */
.sd3-author-snapshot--showcase .sd3-stat-meta {
  display: block;
  margin: 0;
  min-height: 34px;
  color: rgba(170,178,188,.78) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

/* Force inline flow for inner spans inside sub-meta — overrides
   .sd3-author-snapshot span { display: block } base rule. */
.sd3-author-snapshot .sd3-stat-meta span {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
  letter-spacing: inherit;
  margin-top: 0;
}

/* Row span = full-width block line; carries its own nowrap+ellipsis */
.sd3-author-snapshot .sd3-stat-meta .sd3-stat-meta-row {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd3-stat-meta .mono,
.sd3-stat-meta .sd3-stat-meta-label {
  color: rgba(170,178,188,.78);
  font-weight: 600;
}

.sd3-stat-meta-sep {
  color: rgba(255,255,255,.20);
  margin: 0 5px;
}

/* Long Return / Short Return — two stacked rows, even smaller, gray
   (descendant selector — works whether .sd3-stat-meta-sm is direct child of
   .sd3-stat-avg or wrapped inside a flip-face). */
.sd3-author-snapshot--showcase .sd3-stat-avg .sd3-stat-meta-sm {
  font-size: 10.5px !important;
  letter-spacing: 0;
  color: rgba(170,178,188,.78) !important;
  white-space: normal;
  line-height: 1.5;
}

.sd3-author-snapshot .sd3-stat-meta-sm .sd3-stat-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sd3-stat-meta-sm .sd3-stat-meta-label,
.sd3-stat-meta-sm .mono {
  color: rgba(170,178,188,.78) !important;
  font-weight: 600;
  font-size: 10.5px;
}

/* Neutralise JS-applied direction colors so meta stays calm */
.sd3-stat-meta .sd3-green,
.sd3-stat-meta .sd3-red,
.sd3-stat-meta .sd3-yellow {
  color: rgba(170,178,188,.78) !important;
}

@media (max-width: 720px) {
  .sd3-hero-showcase .sd3-identity {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
  }

  .sd3-hero-showcase .sd3-identity.sd3-identity-has-rank {
    grid-template-rows: auto 30px;
    row-gap: 3px;
  }

  .sd3-identity-has-rank .sd3-avatar-stack {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    align-self: start;
    gap: 3px;
  }

  .sd3-identity-has-rank .sd3-identity-right {
    display: contents;
  }

  .sd3-avatar-stack .sd3-avatar {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
  }

  .sd3-identity-has-rank .sd3-mobile-copy {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  .sd3-identity-has-rank .sd3-icon-row {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-top: 0;
  }

  .sd3-mobile-avatar-rank {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    gap: 1px;
    min-width: 46px;
    height: 30px;
    color: #f59e0b;
    font-size: 18px;
    line-height: .9;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
  }

  .sd3-mobile-avatar-rank-num,
  .sd3-mobile-avatar-alpha {
    display: block;
    color: inherit;
    white-space: nowrap;
  }

  .sd3-mobile-avatar-alpha {
    font-size: 8px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .02em;
  }

  .sd3-title-mobile-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 8px;
    min-width: 0;
  }

  .sd3-mobile-alpha-score {
    display: none;
    align-items: baseline;
    color: #f59e0b;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .sd3-icon-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    flex-basis: 30px;
  }

  .sd3-alpha-medal {
    display: none;
  }

  .sd3-table-card #sd2Feed {
    gap: 12px;
  }

  .sd3-row,
  .sd3 .sd2-tr:not(.sd3-row) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "ticker ticker ticker mentions"
      "date entry pnl theme"
      "thesis thesis thesis thesis";
    gap: 24px 10px;
    padding: 16px 14px;
  }

  .sd3-row.is-expanded,
  .sd3 .sd2-tr.is-expanded:not(.sd3-row) {
    grid-template-areas:
      "ticker ticker ticker mentions"
      "date entry pnl theme"
      "thesis thesis thesis thesis"
      "detail detail detail detail";
    row-gap: 17px;
  }

  .sd3-name-desktop {
    display: none;
  }

  .sd3-name-mobile {
    display: block;
  }

  .sd3-cell-ticker .sd3-ticker-cell {
    gap: 12px;
  }

  .sd3-cell-ticker .sd3-ticker-cell-logo-wrap {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .sd3-cell-ticker .sd3-ticker-cell-symbol {
    font-size: 18px;
    line-height: 1.05;
  }

  .sd3-cell-ticker .sd3-ticker-cell-name {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.15;
  }

  .sd3-cell-side,
  .sd3-cell-pnl {
    align-self: start;
  }

  .sd3-cell-side {
    display: none;
    justify-self: start;
    color: var(--sd3-green);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.15;
    white-space: nowrap;
  }

  .sd3-cell-side.short {
    color: var(--sd3-red);
  }

  .sd3-cell-side .sd2-tr-pill {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: inherit;
    line-height: inherit;
  }

  .sd3-cell-pnl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    justify-self: center;
    font-size: 13.5px;
    line-height: 1.15;
    text-align: center;
  }

  .sd3-cell-pnl::after {
    content: attr(data-dir);
    color: var(--sd3-green);
    font-family: var(--sd3-display);
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
  }

  .sd3-cell-pnl[data-dir="SHORT"]::after {
    color: var(--sd3-red);
  }

  .sd3-cell-mentions,
  .sd3-cell-date,
  .sd3-cell-entry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: #d6dee8;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.15;
    text-align: left;
    white-space: nowrap;
  }

  .sd3-cell-mentions {
    justify-self: end;
    align-self: start;
    align-items: flex-end;
    color: #f0f6fc;
    font-size: 16px;
    line-height: 1.05;
    text-align: right;
  }

  .sd3.sd3-table-read .sd3-cell-mentions {
    color: #f0f6fc;
    font-size: 17px;
    line-height: 1.05;
  }

  .sd3.sd3-table-read .sd3-cell-mentions .sd3-mentions-btn {
    font-size: inherit;
    line-height: inherit;
  }

  .sd3-cell-date {
    justify-self: end;
    align-items: flex-end;
    text-align: right;
  }

  .sd3-cell-entry {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .sd3-cell-date {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .sd3-cell-mentions::after,
  .sd3-cell-date::after,
  .sd3-cell-entry::after {
    color: rgba(139,148,158,.86);
    font-family: var(--sd3-display);
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
  }

  .sd3-cell-mentions::after,
  .sd3-cell-date::after,
  .sd3-cell-entry::after {
    content: attr(data-mobile-label);
  }

  .sd3-cell-theme::before,
  .sd3-cell-date::before,
  .sd3-cell-src::before,
  .sd3-mentions-btn::after {
    content: none !important;
  }

  .sd3-cell-mentions .sd3-mentions-btn {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  .sd3 .sd3-cell-thesis,
  .sd3-row.is-expanded .sd3-cell-thesis,
  .sd2-tr.is-expanded .sd3-cell-thesis {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    min-height: 34px;
    padding: 6px 0;
    white-space: nowrap;
    line-height: 1.35;
    cursor: pointer;
  }

  .sd3-cell-thesis .sd3-thesis-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sd3-mobile-source-icon {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 5px;
    background: rgba(255,255,255,.04);
    text-decoration: none;
  }

  .sd3-mobile-source-icon .icon-yt,
  .sd3-mobile-source-icon .icon-twitter,
  .sd3-mobile-source-icon .icon-reddit,
  .sd3-mobile-source-icon .icon-substack,
  .sd3-mobile-source-icon .icon-news {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: 0;
  }

  .sd3-mobile-row-detail {
    grid-area: detail;
    min-width: 0;
  }

  .sd3-row.is-expanded .sd3-mobile-row-detail,
  .sd2-tr.is-expanded .sd3-mobile-row-detail {
    display: grid;
    gap: 10px;
    margin-top: -22px;
  }

  .sd3-mobile-full-thesis {
    color: #d6dee8;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
  }

  .sd3-mobile-embed {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #080c12;
  }

  .sd3-mobile-youtube-embed {
    aspect-ratio: 16 / 9;
  }

  .sd3-mobile-youtube-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .sd3-mobile-tweet-embed {
    max-width: 100%;
    border: 0;
    background: transparent;
  }

  .sd3-mobile-tweet-embed.loading {
    min-height: 200px;
    background: #080c12;
  }

  .sd3-cell-theme {
    justify-self: end;
    width: auto;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    color: var(--sd3-muted);
    font-size: 11.5px;
    font-weight: 760;
    line-height: 1.15;
  }

  .sd3-cell-theme .sd2-tr-theme-dot {
    display: none;
  }

  .sd3-cell-src {
    display: contents;
  }

  .sd3-cell-src.is-empty {
    display: contents;
  }

  .sd3-cell-src .sd3-src-link,
  .sd3-cell-src .sd2-src-link,
  .sd3-cell-src > span.sd2-src-link {
    display: none;
  }

  .sd3-cell-src .ti2-report-btn {
    display: none;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip {
    min-height: 200px;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip .sd3-kpi-front {
    transform: rotateY(0deg) translateZ(.1px);
    opacity: 1;
    transition: opacity 0s linear 0s;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip .sd3-kpi-back {
    transform: rotateY(180deg) translateZ(.1px);
    opacity: 0;
    transition: opacity 0s linear .28s;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip.is-flipped .sd3-kpi-front {
    opacity: 0;
    transition-delay: .28s;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary.sd3-kpi-flip.is-flipped .sd3-kpi-back {
    opacity: 1;
  }

  .sd3-author-snapshot--showcase > .sd3-kpi-primary > .sd3-stat-meta {
    margin-top: 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 720px) {
  .sd3-table-card #sd2Feed {
    gap: 14px;
    padding: 12px 10px 16px;
  }

  .sd3-table-card #sd2Feed .sd3-row {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(48px, .78fr) minmax(66px, .96fr) minmax(78px, 1.08fr) minmax(72px, .9fr);
    grid-template-areas:
      "ticker ticker ticker mentions"
      "date entry pnl theme"
      "thesis thesis thesis thesis";
    gap: 16px 8px;
    padding: 16px 14px 15px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 15px;
    background:
      radial-gradient(circle at 8% 0, rgba(255, 255, 255, .075), transparent 42%),
      linear-gradient(145deg, rgba(20, 23, 29, .98), rgba(9, 11, 15, .99) 58%, rgba(4, 6, 9, .99));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .075),
      0 10px 26px rgba(0, 0, 0, .34);
  }

  .sd3-table-card #sd2Feed .sd3-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(63, 185, 80, .32), rgba(255, 255, 255, 0));
    opacity: .75;
    pointer-events: none;
  }

  .sd3-table-card #sd2Feed .sd3-row::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 96px;
    height: 96px;
    background: radial-gradient(circle, rgba(255, 255, 255, .055), transparent 68%);
    pointer-events: none;
  }

  .sd3-table-card #sd2Feed .sd3-row[data-pnl^="-"]::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(248, 81, 73, .28), rgba(255, 255, 255, 0));
  }

  .sd3-table-card #sd2Feed .sd3-row.is-expanded {
    grid-template-areas:
      "ticker ticker ticker mentions"
      "date entry pnl theme"
      "thesis thesis thesis thesis"
      "detail detail detail detail";
    row-gap: 15px;
  }

  .sd3-table-card #sd2Feed .sd3-cell-ticker {
    min-width: 0;
  }

  .sd3-table-card #sd2Feed .sd3-cell-ticker .sd3-ticker-cell {
    gap: 12px;
    align-items: center;
  }

  .sd3-table-card #sd2Feed .sd3-cell-ticker .sd3-ticker-cell-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
      rgba(255, 255, 255, .04);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .07),
      0 8px 18px rgba(0, 0, 0, .28);
  }

  .sd3-table-card #sd2Feed .sd3-cell-ticker .sd3-ticker-cell-symbol {
    color: #f6f8fb;
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
  }

  .sd3-table-card #sd2Feed .sd3-cell-ticker .sd3-ticker-cell-name {
    max-width: 190px;
    margin-top: 5px;
    color: rgba(214, 222, 232, .78);
    font-size: 14px;
    line-height: 1.15;
  }

  .sd3-table-card #sd2Feed .sd3-cell-mentions {
    justify-self: end;
    align-self: start;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 7px 8px 6px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
      rgba(8, 13, 21, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    color: #f4f7fb;
    text-align: center;
  }

  .sd3-table-card #sd2Feed .sd3-cell-mentions .sd3-mentions-btn {
    color: inherit;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .01em;
    line-height: .95;
  }

  .sd3-table-card #sd2Feed .sd3-cell-mentions::after {
    content: "MENTIONS";
    color: rgba(201, 209, 217, .78);
    font-family: var(--sd3-display);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
  }

  .sd3-table-card #sd2Feed .sd3-cell-date,
  .sd3-table-card #sd2Feed .sd3-cell-entry,
  .sd3-table-card #sd2Feed .sd3-cell-pnl {
    position: relative;
    min-width: 0;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    padding-left: 18px;
    color: #e7edf5;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.05;
    text-align: left;
    white-space: nowrap;
  }

  .sd3-table-card #sd2Feed .sd3-cell-date {
    padding-left: 23px;
  }

  .sd3-table-card #sd2Feed .sd3-cell-entry,
  .sd3-table-card #sd2Feed .sd3-cell-pnl {
    border-left: 1px solid rgba(255, 255, 255, .07);
    padding-left: 12px;
  }

  .sd3-table-card #sd2Feed .sd3-cell-date::before {
    content: "" !important;
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 15px;
    border: 0;
    border-radius: 0;
    background: center / 15px 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    box-shadow: none;
  }

  .sd3-table-card #sd2Feed .sd3-cell-entry::before {
    content: none;
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl {
    padding-left: 22px;
    color: var(--sd3-green);
    font-size: 14px;
    font-weight: 900;
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 0;
    background: center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fb950' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl.neg {
    color: var(--sd3-red);
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl.neg::before {
    top: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f85149' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 9v8H9'/%3E%3C/svg%3E");
  }

  .sd3-table-card #sd2Feed .sd3-cell-date::after,
  .sd3-table-card #sd2Feed .sd3-cell-entry::after {
    color: rgba(201, 209, 217, .72);
    font-family: var(--sd3-display);
    font-size: 9.5px;
    font-weight: 760;
    letter-spacing: .045em;
    line-height: 1;
    text-transform: uppercase;
  }

  .sd3-table-card #sd2Feed .sd3-cell-date::after,
  .sd3-table-card #sd2Feed .sd3-cell-entry::after {
    content: attr(data-mobile-label);
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl::after {
    content: attr(data-dir);
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0;
    padding: 2px 6px;
    border: 1px solid rgba(63, 185, 80, .24);
    border-radius: 999px;
    background: rgba(63, 185, 80, .12);
    color: var(--sd3-green);
    font-family: var(--sd3-display);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .045em;
    line-height: 1;
    text-transform: uppercase;
  }

  .sd3-table-card #sd2Feed .sd3-cell-pnl[data-dir="SHORT"]::after {
    border-color: rgba(248, 81, 73, .24);
    background: rgba(248, 81, 73, .12);
    color: var(--sd3-red);
  }

  .sd3-table-card #sd2Feed .sd3-cell-theme {
    justify-self: end;
    align-self: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 6px 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
      rgba(8, 10, 14, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    color: rgba(214, 222, 232, .88) !important;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sd3-table-card #sd2Feed .sd3-cell-theme .sd2-tr-theme-dot {
    display: none;
  }

  .sd3-table-card #sd2Feed .sd3-cell-thesis,
  .sd3-table-card #sd2Feed .sd3-row.is-expanded .sd3-cell-thesis {
    min-height: 40px;
    margin-top: 1px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(240, 246, 252, .9);
    font-size: 14px;
    font-weight: 520;
    line-height: 1.35;
  }

  .sd3-table-card #sd2Feed .sd3-cell-thesis .sd3-thesis-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sd3-table-card #sd2Feed .sd3-row.is-expanded .sd3-cell-thesis {
    align-items: flex-start;
    min-height: 0;
    white-space: normal;
  }

  .sd3-table-card #sd2Feed .sd3-row.is-expanded .sd3-cell-thesis .sd3-thesis-text {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.42;
  }

  .sd3-table-card #sd2Feed .sd3-row.is-expanded .sd3-mobile-source-icon {
    margin-top: 1px;
  }

  .sd3-table-card #sd2Feed .sd3-mobile-source-icon {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    min-width: 23px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    background: rgba(255, 255, 255, .045);
    color: rgba(240, 246, 252, .9);
  }

  .sd3-table-card #sd2Feed .sd3-mobile-source-icon .icon-yt,
  .sd3-table-card #sd2Feed .sd3-mobile-source-icon .icon-twitter,
  .sd3-table-card #sd2Feed .sd3-mobile-source-icon .icon-reddit,
  .sd3-table-card #sd2Feed .sd3-mobile-source-icon .icon-substack,
  .sd3-table-card #sd2Feed .sd3-mobile-source-icon .icon-news {
    width: 15px;
    height: 15px;
  }

  .sd3-table-card #sd2Feed .sd3-row.is-expanded .sd3-mobile-row-detail {
    gap: 12px;
    margin-top: -4px;
  }

  .sd3-table-card #sd2Feed .sd3-mobile-full-thesis {
    display: none !important;
    color: rgba(214, 222, 232, .94);
    font-size: 13.5px;
    font-weight: 520;
    line-height: 1.45;
  }

}

@media (max-width: 720px) {
  .sd3-share-profile-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 50%;
  }

  .sd3-share-profile-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .sd3-rating-shell {
    inset: 10px;
    gap: 10px;
    padding: 46px 0 max(8px, env(safe-area-inset-bottom));
  }

  .sd3-rating-close {
    top: -42px;
    right: 0;
  }

  .sd3-rating-stage {
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
  }

  .sd3-rating-toolbar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .sd3-rating-toolbar-btn {
    height: 38px;
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 12px;
    gap: 5px;
  }

  .sd3-rating-toolbar-btn svg {
    width: 13px;
    height: 13px;
  }

  .sd3-rating-share-wrap {
    gap: 6px;
  }

  .sd3-rating-share-options {
    gap: 5px;
    padding: 5px;
  }

  .sd3-rating-share-option {
    width: 36px;
    height: 36px;
  }

  .sd3-rating-share-option-ico {
    width: 17px;
    height: 17px;
    font-size: 17px;
  }

  .sd3-rating-format-toggle {
    height: 38px;
    flex: 0 0 auto;
    padding: 3px;
  }

  .sd3-rating-format-btn {
    height: 30px;
    min-width: 42px;
    padding: 0 8px;
    font-size: 11px;
  }
}
