/* ═══════════════════════════════════════════════════════════════
   LEADERBOARD — premium dark, high-contrast, stunning rebuild
   Scoped to .lb-stage wrapper so it works embedded on any page.
   ═══════════════════════════════════════════════════════════════ */

.lb-stage {
	/* surface */
	--lb-bg:            #0a0f1c;
	--lb-bg-2:          #0d1424;
	--lb-bg-3:          #111a2e;
	--lb-card:          rgba(255,255,255,0.045);
	--lb-card-hi:       rgba(255,255,255,0.075);
	--lb-border:        rgba(255,255,255,0.10);
	--lb-border-hi:     rgba(255,255,255,0.18);

	/* accents */
	--lb-gold:          #FCB42D;
	--lb-gold-2:        #ffd36b;
	--lb-gold-soft:     rgba(252,180,45,0.14);
	--lb-green:         #3BD297;
	--lb-green-2:       #6bffc2;
	--lb-green-soft:    rgba(59,210,151,0.14);
	--lb-red:           #ff5a6e;
	--lb-silver:        #d9dee8;
	--lb-bronze:        #d49160;
	--lb-blue:          #6aa6ff;

	/* text */
	--lb-text:          #ffffff;
	--lb-text-2:        #d7dce8;
	--lb-text-dim:      #8c95a8;

	--lb-radius:        14px;
	--lb-radius-lg:     22px;
	--lb-shadow-sm:     0 4px 18px rgba(0,0,0,0.30);
	--lb-shadow-md:     0 18px 48px rgba(0,0,0,0.45);
	--lb-shadow-gold:   0 18px 60px rgba(252,180,45,0.25);

	position: relative;
	overflow-x: hidden;
	color: var(--lb-text);
	background:
		radial-gradient(1200px 700px at 15% -5%,  rgba(252,180,45,0.10), transparent 60%),
		radial-gradient(1000px 700px at 95% 15%,  rgba(59,210,151,0.08), transparent 60%),
		radial-gradient(900px 600px at 50% 110%,  rgba(106,166,255,0.07), transparent 60%),
		linear-gradient(180deg, var(--lb-bg) 0%, var(--lb-bg-2) 40%, var(--lb-bg) 100%);
}

/* ═════════════════ HERO ═════════════════ */
#lb-hero {
	position: relative;
	padding: 56px 0 36px;
	text-align: center;
	isolation: isolate;
}

#lb-hero::before {
	content: '';
	position: absolute;
	inset: -5% -10% 0 -10%;
	background:
		radial-gradient(600px 320px at 50% 30%, rgba(252,180,45,0.18), transparent 65%),
		radial-gradient(500px 260px at 30% 60%, rgba(59,210,151,0.08), transparent 65%);
	filter: blur(10px);
	z-index: -1;
}

.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lb-gold-2);
	background: var(--lb-gold-soft);
	border: 1px solid rgba(252,180,45,0.30);
	border-radius: 100px;
	margin-bottom: 14px;
}
.dot-live {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lb-green);
	box-shadow: 0 0 0 4px rgba(59,210,151,0.25);
	animation: lbPulse 1.8s ease-in-out infinite;
}
@keyframes lbPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(59,210,151,0.45); }
	50%      { box-shadow: 0 0 0 6px rgba(59,210,151,0.00); }
}

.lb-title {
	font-size: clamp(34px, 5.4vw, 68px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	color: var(--lb-text);
}
.lb-title-accent {
	background: linear-gradient(135deg, var(--lb-gold) 0%, var(--lb-gold-2) 50%, #fff1c7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 4px 14px rgba(252,180,45,0.30));
}

.lb-subtitle {
	font-size: clamp(15px, 1.5vw, 18px);
	color: var(--lb-text-2);
	max-width: 640px;
	margin: 0 auto 24px;
	line-height: 1.55;
}

/* aggregate stats row */
.lb-agg-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: 980px;
	margin: 24px auto 18px;
}
.lb-agg {
	position: relative;
	padding: 16px 16px 14px;
	background: linear-gradient(180deg, var(--lb-card-hi), var(--lb-card));
	border: 1px solid var(--lb-border);
	border-radius: var(--lb-radius);
	text-align: left;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lb-agg::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--lb-radius);
	padding: 1px;
	background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
	-webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.lb-agg:hover {
	transform: translateY(-3px);
	border-color: var(--lb-border-hi);
	box-shadow: var(--lb-shadow-sm);
}
.lb-agg-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--lb-gold-soft);
	color: var(--lb-gold);
	font-size: 13px;
	margin-bottom: 6px;
}
.lb-agg:nth-child(2) .lb-agg-icon { background: rgba(106,166,255,0.14); color: var(--lb-blue); }
.lb-agg:nth-child(3) .lb-agg-icon { background: rgba(59,210,151,0.14); color: var(--lb-green); }
.lb-agg:nth-child(4) .lb-agg-icon { background: rgba(255,90,110,0.14); color: var(--lb-red); }

.lb-agg-label {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	color: var(--lb-text-dim);
}
.lb-agg-value {
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 800;
	color: var(--lb-text);
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.lb-agg-value.gold {
	background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.lb-agg-value.green {
	color: var(--lb-green);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--lb-green);
	box-shadow: 0 0 10px rgba(59,210,151,0.70);
	animation: lbPulse 1.6s ease-in-out infinite;
	display: inline-block;
}

.lb-asof {
	font-size: 12px;
	color: var(--lb-text-dim);
}

.lb-live-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 8px;
	flex-wrap: wrap;
}

/* ═════════════════ CHAMPION SPOTLIGHT (editorial hero + runners-up) ═════════════════
   #1 is a centered hero card with a huge gold "01" rank numeral as the
   visual anchor, a gold "All-Time Leader" badge, and a massive gradient
   profit figure. #2 and #3 are compact horizontal strip-cards below a
   thin divider, anchored by silver/bronze rank numerals.
   ════════════════════════════════════════════════════════════════════════════════════ */

#lb-champion { padding: 0; }

/* ───────── Champion Hero card ───────── */
.champ-hero {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(20px, 2.8vw, 32px) clamp(22px, 3.2vw, 44px) clamp(16px, 2.4vw, 26px);
	text-align: center;
	border-radius: 28px;
	background: linear-gradient(165deg, rgba(252,180,45,0.07) 0%, rgba(252,180,45,0.015) 55%, rgba(255,255,255,0.02) 100%);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border: 1px solid rgba(252,180,45,0.36);
	box-shadow:
		0 40px 100px rgba(0,0,0,0.55),
		0 10px 50px rgba(252,180,45,0.14),
		inset 0 1px 0 rgba(255,255,255,0.07);
	isolation: isolate;
	overflow: hidden;
	opacity: 0;
	transform: translateY(18px) scale(0.985);
	transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.champ-hero.entered { opacity: 1; transform: translateY(0) scale(1); }
.champ-hero:hover {
	border-color: rgba(252,180,45,0.52);
	box-shadow:
		0 48px 110px rgba(0,0,0,0.60),
		0 14px 56px rgba(252,180,45,0.22),
		inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Soft gold radial halo behind the watermark — feeds the rest of the card. */
.champ-hero::before {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	width: 620px;
	height: 620px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(252,180,45,0.30), transparent 70%);
	filter: blur(50px);
	z-index: 0;
	pointer-events: none;
	animation: champHaloPulse 6s ease-in-out infinite;
}
@keyframes champHaloPulse {
	0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
	50%      { opacity: 0.78; transform: translateX(-50%) scale(1.05); }
}

/* Top gold accent stripe — same idea as the runner cards' ::after stripe but
   thicker and brighter to crown the champion. */
.champ-hero::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, transparent, #FCB42D 50%, transparent);
	opacity: 0.92;
	pointer-events: none;
	z-index: 2;
}

/* Huge "01" watermark — the gold counterpart to the runner cards' silver/bronze
   watermark. Animated gentle drift + breathe. */
.champ-watermark {
	position: absolute;
	right: -38px;
	top: -52px;
	font-size: 300px;
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.088em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(135deg, #FCB42D, #ffd36b 45%, #fff1c7 60%, #FCB42D);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	opacity: 0.16;
	pointer-events: none;
	z-index: 0;
	font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
	animation: champWatermarkPulse 6.5s ease-in-out infinite,
	           champShimmer 8s ease-in-out infinite;
}
@keyframes champWatermarkPulse {
	0%, 100% { opacity: 0.16; transform: scale(1) translate(0,0); }
	50%      { opacity: 0.21; transform: scale(1.025) translate(-6px,4px); }
}

/* Diagonal shine sweep — the gold sheen that makes the card feel alive. */
.champ-shine {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
	border-radius: inherit;
}
.champ-shine::before {
	content: '';
	position: absolute;
	top: -120%;
	left: -40%;
	width: 80%;
	height: 340%;
	background: linear-gradient(115deg,
		transparent 38%,
		rgba(255,255,255,0.045) 47%,
		rgba(255,229,168,0.16) 50%,
		rgba(255,255,255,0.045) 53%,
		transparent 62%);
	transform: rotate(8deg);
	animation: champShineSweep 8.5s cubic-bezier(.55,.05,.45,.95) infinite;
}
@keyframes champShineSweep {
	0%   { transform: translateX(-30%) rotate(8deg); opacity: 0; }
	8%   { opacity: 1; }
	48%  { transform: translateX(180%) rotate(8deg); opacity: 1; }
	56%  { opacity: 0; }
	100% { transform: translateX(180%) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.champ-watermark,
	.champ-hero::before { animation: none; }
	.champ-shine { display: none; }
}

/* Everything below should sit ABOVE the watermark + shine layers. */
.champ-ribbon,
.champ-name,
.champ-meta,
.champ-profit-block,
.champ-stat-grid,
.champ-prize-banner { position: relative; z-index: 3; }

/* Champion ribbon — dark badge with gold text + gold border. The card behind
   it is awash in gold (halo + watermark + shine), so a gold-on-gold ribbon
   dissolves into the background. Inverting to dark-on-gold-border makes the
   ribbon read as a crisp, premium chip against the warm gold ambience. */
.champ-ribbon {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 20px;
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #FCB42D;
	background:
		linear-gradient(135deg, rgba(10,15,28,0.92), rgba(20,26,42,0.92));
	border: 1px solid rgba(252,180,45,0.65);
	border-radius: 100px;
	text-shadow: 0 0 12px rgba(252,180,45,0.45);
	box-shadow:
		0 6px 18px -4px rgba(0,0,0,0.55),
		0 0 0 1px rgba(252,180,45,0.18),
		inset 0 1px 0 rgba(255,255,255,0.06);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	animation: champRibbonGlow 4s ease-in-out infinite;
}
.champ-ribbon i {
	font-size: 11px;
	color: #ffd36b;
	filter: drop-shadow(0 0 6px rgba(252,180,45,0.55));
}
@keyframes champRibbonGlow {
	0%, 100% {
		box-shadow:
			0 6px 18px -4px rgba(0,0,0,0.55),
			0 0 0 1px rgba(252,180,45,0.18),
			inset 0 1px 0 rgba(255,255,255,0.06);
	}
	50% {
		box-shadow:
			0 8px 26px -4px rgba(0,0,0,0.55),
			0 0 0 1px rgba(252,180,45,0.45),
			0 0 22px -2px rgba(252,180,45,0.32),
			inset 0 1px 0 rgba(255,255,255,0.08);
	}
}
@media (prefers-reduced-motion: reduce) {
	.champ-ribbon { animation: none; }
}

/* name */
.champ-name {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--lb-text);
	margin: 0 0 2px;
	line-height: 1.1;
}

/* meta row */
.champ-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 12px;
	color: var(--lb-text-2);
}
.champ-meta .bullet { color: rgba(255,255,255,0.22); }
.champ-meta .champ-country {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
}
.champ-meta .champ-country img {
	width: 20px; height: 15px; border-radius: 2px;
	object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.champ-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--lb-green-2);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 11px;
}
/* hero profit */
.champ-profit-block { margin-bottom: 8px; }
.champ-balance-row {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 4px 14px;
	margin-bottom: 4px;
	border-radius: 100px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
}
.champ-balance-label {
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lb-text-dim);
}
.champ-balance-value {
	font-size: 15px;
	font-weight: 800;
	color: var(--lb-text);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.005em;
}
.champ-profit-label {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--lb-text-dim);
	margin-bottom: 2px;
}
.champ-profit {
	display: block;
	font-size: clamp(32px, 5.5vw, 48px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(110deg,
		var(--lb-gold) 0%,
		#fff1c7 40%,
		var(--lb-gold-2) 55%,
		var(--lb-gold) 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: champShimmer 8s ease-in-out infinite;
}
@keyframes champShimmer {
	0%, 100% { background-position: 0 0; }
	50%      { background-position: 100% 0; }
}
/* Champion "return" — sits below the profit number. Cleaner than the old
   inline ROI/R:R/MaxDD strip (those moved into the stat grid). */
.champ-return {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--lb-green);
	font-variant-numeric: tabular-nums;
}
.champ-return::before { content: '▲'; font-size: 9px; opacity: 0.85; }

/* 4-column champion stat grid — one column more than the runners' 3-col grid
   so the champion carries more visual weight. Vertical divider borders match
   the runner-card pattern. */
.champ-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 14px auto 16px;
	padding: 12px 0;
	max-width: 600px;
	background: rgba(255,255,255,0.025);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 14px;
}
.champ-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border-right: 1px solid rgba(255,255,255,0.06);
	line-height: 1.1;
}
.champ-stat:last-child { border-right: none; }
.champ-stat-label {
	font-size: 9.5px;
	letter-spacing: 0.14em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--lb-text-dim);
}
.champ-stat-value {
	font-size: clamp(15px, 1.9vw, 18px);
	font-weight: 800;
	letter-spacing: -0.005em;
	font-variant-numeric: tabular-nums;
	color: var(--lb-text);
	line-height: 1.15;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.champ-stat-value.gold { color: var(--lb-gold-2); }
.champ-stat-value.green { color: var(--lb-green-2); }
.champ-stat-sub {
	font-size: 10.5px;
	color: var(--lb-text-dim);
	font-weight: 600;
}
@media (max-width: 560px) {
	.champ-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.champ-stat:nth-child(2) { border-right: none; }
	.champ-stat:nth-child(1),
	.champ-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* Champion prize banner — mirrors .runner-prize but in full gold + larger.
   Trophy icon tile on the left, prize amount in the middle, prize % on the
   right. Breathing glow animation calls attention without screaming. */
.champ-prize-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 4px auto 4px;
	padding: 14px 18px;
	max-width: 600px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(252,180,45,0.20) 0%, rgba(252,180,45,0.06) 100%);
	border: 1.5px solid rgba(252,180,45,0.45);
	box-shadow:
		0 10px 30px -8px rgba(252,180,45,0.40),
		inset 0 1px 0 rgba(255,255,255,0.08);
	animation: champPrizeBreathe 4.5s ease-in-out infinite;
}
@keyframes champPrizeBreathe {
	0%, 100% { box-shadow: 0 10px 30px -8px rgba(252,180,45,0.40), inset 0 1px 0 rgba(255,255,255,0.08); }
	50%      { box-shadow: 0 16px 44px -8px rgba(252,180,45,0.62), inset 0 1px 0 rgba(255,255,255,0.12); }
}
.champ-prize-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: linear-gradient(135deg, #FCB42D, #ffd36b);
	color: #0a0f1c;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	box-shadow: 0 4px 12px -2px rgba(252,180,45,0.55);
}
.champ-prize-body {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.18;
	text-align: left;
}
.champ-prize-label {
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lb-text-dim);
	margin-bottom: 2px;
}
.champ-prize-amount {
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 900;
	color: #FCB42D;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.015em;
}
.champ-prize-pct {
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 900;
	color: #fff;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.015em;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.05;
}
.champ-prize-pct-sub {
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--lb-text-dim);
	margin-top: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.champ-prize-banner { animation: none; }
}

/* equity chart — hidden in compact embedded layout */
.champ-chart { display: none; }

/* footer meta — hidden in compact embedded layout */
.champ-footer { display: none; }
.champ-footer em { font-style: normal; color: var(--lb-text); font-weight: 700; }
.champ-footer .dot { color: rgba(255,255,255,0.16); }
.champ-footer .symbol {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	font-weight: 700;
	color: var(--lb-gold);
	background: var(--lb-gold-soft);
	border: 1px solid rgba(252,180,45,0.28);
	border-radius: 6px;
	letter-spacing: 0.12em;
	font-size: 10px;
}

/* ───────── Runners-up ───────── */
.runners {
	max-width: 980px;
	margin: 14px auto 0;
}
.runners-divider {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 8px;
}
.runners-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}
.runners-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--lb-text-dim);
}

.runners-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 720px) {
	.runners-grid { grid-template-columns: 1fr; }
}

/* ═══ Runner Cards — rank 2 & 3 podium cards ═══════════════════════════ */
/* Tier-themed vertical cards with a huge rank watermark, hero profit value,
   3-column stat grid, and a prize callout. Silver wash for rank 2; bronze
   wash for rank 3. Tier colors flow through via CSS custom properties. */

.runner-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 26px 22px;
	border-radius: 20px;
	background: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 70%);
	border: 1px solid var(--lb-border);
	box-shadow: 0 18px 44px -16px rgba(0,0,0,0.55);
	overflow: hidden;
	isolation: isolate;
	opacity: 0;
	transform: translateY(16px);
	min-height: 400px;
	transition:
		transform .42s cubic-bezier(.2,.7,.2,1),
		border-color .35s ease,
		box-shadow .35s ease,
		opacity .55s ease;
}
.runner-card.entered { opacity: 1; transform: translateY(0); }
.runner-card:hover {
	transform: translateY(-6px);
	border-color: var(--tier-color, var(--lb-border-hi));
	box-shadow: 0 28px 60px -14px var(--tier-glow, rgba(0,0,0,0.5));
}

/* Tier palette — set by .rank-2 / .rank-3 and consumed everywhere via vars */
.runner-card.rank-2 {
	--tier-color: #e8eaf0;
	--tier-color-2: #a9b0c0;
	--tier-glow: rgba(232,234,240,0.30);
	--tier-fg: #0a0f1c;
}
.runner-card.rank-3 {
	--tier-color: #f5b98a;
	--tier-color-2: #cd7f32;
	--tier-glow: rgba(205,127,50,0.32);
	--tier-fg: #0a0f1c;
}

/* Background radial wash + edge sheen — gives the card its tier identity */
.runner-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 320px 280px at 78% 22%, var(--tier-glow), transparent 65%);
	opacity: 0.95;
	pointer-events: none;
	z-index: 0;
}
.runner-card::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, transparent, var(--tier-color) 50%, transparent);
	opacity: 0.85;
	pointer-events: none;
	z-index: 1;
}

/* Huge rank watermark — sits behind everything as the rank's identity */
.runner-rank-watermark {
	position: absolute;
	right: -28px;
	top: -34px;
	font-size: 240px;
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.085em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(135deg, var(--tier-color), var(--tier-color-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	opacity: 0.18;
	pointer-events: none;
	z-index: 0;
	font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
	animation: runnerWatermarkPulse 5.5s ease-in-out infinite;
}
@keyframes runnerWatermarkPulse {
	0%, 100% { opacity: 0.18; transform: scale(1) translate(0,0); }
	50%      { opacity: 0.23; transform: scale(1.03) translate(-4px,3px); }
}

/* Tier ribbon — pill with medal icon + tier label */
.runner-tier {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: linear-gradient(135deg, var(--tier-color), var(--tier-color-2));
	color: var(--tier-fg);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	align-self: flex-start;
	box-shadow: 0 5px 16px var(--tier-glow), inset 0 1px 0 rgba(255,255,255,0.35);
	margin-bottom: 16px;
}
.runner-tier i { font-size: 11.5px; }

/* Identity — username + country flag + R:R stars */
.runner-id { position: relative; z-index: 2; margin-bottom: 22px; }
.runner-name {
	font-size: 20px;
	font-weight: 800;
	color: var(--lb-text);
	letter-spacing: -0.012em;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	line-height: 1.2;
}
.runner-name .at {
	color: var(--lb-text-dim);
	font-weight: 600;
	font-size: 17px;
}
.runner-meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	color: var(--lb-text-dim);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	flex-wrap: wrap;
}
.runner-country {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--lb-text-2);
	font-weight: 600;
}
.runner-country img {
	width: 18px; height: 13px;
	border-radius: 2.5px;
	object-fit: cover;
	box-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
.runner-meta .bullet {
	opacity: 0.32;
	font-weight: 700;
}

/* Hero profit value — centered, gold-gradient, the focal point */
.runner-profit-block {
	position: relative;
	z-index: 2;
	text-align: center;
	margin-bottom: 18px;
}
.runner-profit {
	display: block;
	font-size: 38px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 3px 8px rgba(252,180,45,0.18));
}
.runner-roi {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--lb-green);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-top: 8px;
	background: rgba(59,210,151,0.10);
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(59,210,151,0.22);
}
.runner-roi::before { content: '▲ '; font-size: 9px; opacity: 0.85; }

/* 3-column stat grid — R:R / Max DD / Trades */
.runner-stat-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-bottom: 18px;
	border-radius: 12px;
	background: rgba(255,255,255,0.035);
	border: 1px solid rgba(255,255,255,0.07);
	overflow: hidden;
}
.runner-stat {
	text-align: center;
	padding: 12px 6px;
	border-right: 1px solid rgba(255,255,255,0.06);
}
.runner-stat:last-child { border-right: none; }
.runner-stat-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.85px;
	text-transform: uppercase;
	color: var(--lb-text-dim);
	margin-bottom: 5px;
}
.runner-stat-value {
	font-size: 15px;
	font-weight: 800;
	color: var(--lb-text);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.runner-stat-sub {
	font-size: 10px;
	color: var(--lb-text-dim);
	font-weight: 600;
	margin-top: 2px;
	font-variant-numeric: tabular-nums;
}

/* Prize callout — gold pill at the foot of the card */
.runner-prize {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 13px;
	background: linear-gradient(135deg, rgba(252,180,45,0.18), rgba(252,180,45,0.04));
	border: 1px solid rgba(252,180,45,0.32);
	box-shadow: 0 4px 14px -4px rgba(252,180,45,0.18);
	margin-top: auto;
}
.runner-prize-icon {
	flex: 0 0 auto;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: rgba(252,180,45,0.20);
	border: 1px solid rgba(252,180,45,0.32);
	display: flex; align-items: center; justify-content: center;
	color: var(--lb-gold);
	font-size: 15px;
}
.runner-prize-body { flex: 1 1 auto; min-width: 0; line-height: 1.15; }
.runner-prize-label {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.85px;
	text-transform: uppercase;
	color: var(--lb-text-dim);
	margin-bottom: 3px;
}
.runner-prize-amount {
	font-size: 18px;
	font-weight: 900;
	color: var(--lb-gold);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}
.runner-prize-pct {
	font-size: 13px;
	font-weight: 800;
	color: var(--lb-gold);
	background: rgba(252,180,45,0.14);
	padding: 6px 10px;
	border-radius: 8px;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	border: 1px solid rgba(252,180,45,0.22);
}

/* Legacy hooks — kept hidden so old DOM doesn't bleed through. */
.runner-card .runner-rank,
.runner-card .runner-body,
.runner-card .runner-submeta,
.runner-card .runner-stats,
.runner-card .runner-chart { display: none !important; }

/* Responsive — narrow screens */
@media (max-width: 560px) {
	.runner-card { padding: 22px 22px 20px; min-height: 380px; }
	.runner-rank-watermark { font-size: 200px; right: -20px; top: -26px; }
	.runner-profit { font-size: 32px; }
	.runner-name { font-size: 18px; }
	.runner-prize-amount { font-size: 16px; }
	.runner-stat-value { font-size: 14px; }
	.champ-kpis { gap: 12px; padding: 8px 4px; }
	.champ-kpi-value { font-size: 17px; }
	.champ-kpi-label { font-size: 9px; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
	.runner-rank-watermark { animation: none; }
}

/* filtered-out state */
.champ-hero.filtered-out,
.runner-card.filtered-out {
	opacity: 0.30;
	filter: grayscale(0.5);
	pointer-events: none;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	.champ-profit { animation: none; }
	.champ-hero,
	.runner-card {
		opacity: 1 !important;
		transform: none !important;
		transition: opacity .25s ease;
	}
	.champ-hero:hover,
	.runner-card:hover { transform: none !important; }
}

/* ═════════════════ FULL TABLE (ranks 4-20) ═════════════════ */
#lb-table-section { padding: 30px 0 24px; }

.lb-table-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.lb-table-head h2 {
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--lb-text);
	margin: 0 0 4px;
}
.lb-table-sub {
	font-size: 13px;
	color: var(--lb-text-dim);
	margin: 0;
}
.lb-search {
	position: relative;
	min-width: 260px;
	flex: 0 1 320px;
}
.lb-search i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--lb-text-dim);
	font-size: 13px;
}
.lb-search input {
	width: 100%;
	padding: 11px 14px 11px 38px;
	background: var(--lb-card);
	border: 1px solid var(--lb-border);
	border-radius: 100px;
	color: var(--lb-text);
	font-size: 13px;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}
.lb-search input::placeholder { color: var(--lb-text-dim); }
.lb-search input:focus {
	border-color: var(--lb-gold);
	background: var(--lb-card-hi);
	box-shadow: 0 0 0 4px rgba(252,180,45,0.10);
}

.lb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.lb-chip {
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lb-text-2);
	background: var(--lb-card);
	border: 1px solid var(--lb-border);
	border-radius: 100px;
	cursor: pointer;
	transition: all .2s ease;
}
.lb-chip:hover {
	background: var(--lb-card-hi);
	border-color: var(--lb-border-hi);
	color: var(--lb-text);
}
.lb-chip.active,
.lb-chip.is-active {
	background: var(--lb-gold-soft);
	border-color: rgba(252,180,45,0.45);
	color: var(--lb-gold-2);
}

.lb-sorts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 12px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.lb-sorts-label {
	color: var(--lb-text-dim);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	font-size: 11px;
	margin-right: 4px;
}
.sort-toggle {
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lb-text-2);
	background: transparent;
	border: 1px solid var(--lb-border);
	border-radius: 8px;
	cursor: pointer;
	transition: all .2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.sort-toggle:hover { color: var(--lb-text); border-color: var(--lb-border-hi); }
.sort-toggle.is-active {
	color: var(--lb-gold);
	border-color: rgba(252,180,45,0.40);
	background: var(--lb-gold-soft);
}
.sort-toggle i { font-size: 10px; }
.sort-toggle.sort-desc i { transform: rotate(180deg); }

.lb-table-wrap {
	overflow-x: auto;
	background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
	border: 1px solid var(--lb-border);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.lb-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	color: var(--lb-text);
	font-size: 14px;
	table-layout: fixed;
}
.lb-table thead th:nth-child(1) { width: 6%; }   /* #            */
.lb-table thead th:nth-child(2) { width: 26%; }  /* Trader       */
.lb-table thead th:nth-child(3) { width: 16%; }  /* RR Rating    */
.lb-table thead th:nth-child(4) { width: 17%; }  /* Return       */
.lb-table thead th:nth-child(5) { width: 17%; }  /* Max Drawdown */
.lb-table thead th:nth-child(6) { width: 18%; }  /* Prize        */
.trader-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	text-align: left;
	padding: 10px 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	color: var(--lb-text-dim);
	background: rgba(10,15,28,0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--lb-border);
}
.lb-table thead th.num { text-align: right; }
.lb-table tbody td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--lb-border);
	vertical-align: middle;
	color: var(--lb-text);
}
.lb-table tbody td.num { text-align: right; }

/* Reveal animation — staggered fade-in as the row enters the viewport */
.lb-table tbody tr {
	transition:
		background .25s ease,
		transform .25s ease,
		box-shadow .25s ease;
}
.lb-table tbody tr.lb-row {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1), background .25s ease, box-shadow .25s ease;
}
.lb-table tbody tr.lb-row.revealed {
	opacity: 1;
	transform: translateY(0);
}
.lb-table tbody tr.filtered-out { display: none; }
.lb-table tbody tr:last-child td { border-bottom: 0; }

/* ── Tier row tinting — picks up the rank-band color as a soft gradient
   wash from left to centre. Subtle on its own, cumulative across many rows
   it gives the eye an at-a-glance read of the rank-band landscape. ─────── */
.lb-table tbody tr.lb-row.tier-gold {
	background: linear-gradient(90deg, rgba(252,180,45,0.06) 0%, transparent 55%);
}
.lb-table tbody tr.lb-row.tier-silver {
	background: linear-gradient(90deg, rgba(220,228,240,0.04) 0%, transparent 55%);
}
.lb-table tbody tr.lb-row.tier-bronze {
	background: linear-gradient(90deg, rgba(205,127,50,0.045) 0%, transparent 55%);
}

/* Left-edge tier accent — 3px coloured bar on the first cell, the table
   row's "card-like" left edge without committing to full card UI. */
.lb-table tbody tr.lb-row.tier-gold td:first-child,
.lb-table tbody tr.lb-row.tier-silver td:first-child,
.lb-table tbody tr.lb-row.tier-bronze td:first-child {
	position: relative;
}
.lb-table tbody tr.lb-row.tier-gold td:first-child::before,
.lb-table tbody tr.lb-row.tier-silver td:first-child::before,
.lb-table tbody tr.lb-row.tier-bronze td:first-child::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	bottom: 9px;
	width: 3px;
	border-radius: 0 2px 2px 0;
}
.lb-table tbody tr.lb-row.tier-gold td:first-child::before {
	background: linear-gradient(180deg, #FCB42D 0%, rgba(252,180,45,0.30) 100%);
	box-shadow: 0 0 12px rgba(252,180,45,0.50);
}
.lb-table tbody tr.lb-row.tier-silver td:first-child::before {
	background: linear-gradient(180deg, #e8eaf0 0%, rgba(232,234,240,0.25) 100%);
}
.lb-table tbody tr.lb-row.tier-bronze td:first-child::before {
	background: linear-gradient(180deg, #cd7f32 0%, rgba(205,127,50,0.25) 100%);
}

/* Hover — micro-lift + ambient gold glow + brighten background. Each tier
   keeps its own tinted background underneath, so the hover ADDS rather
   than overwrites. */
.lb-table tbody tr.lb-row:hover {
	background: linear-gradient(90deg, rgba(252,180,45,0.08) 0%, rgba(252,180,45,0.02) 70%);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px -8px rgba(252,180,45,0.30);
}
.lb-table tbody tr.lb-row.tier-gold:hover {
	background: linear-gradient(90deg, rgba(252,180,45,0.12) 0%, rgba(252,180,45,0.03) 70%);
	box-shadow: 0 8px 22px -8px rgba(252,180,45,0.40);
}

/* ── Rank badges — tier-coloured circles with gradient + glow ────────── */
.rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 34px;
	padding: 0 9px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 13.5px;
	font-variant-numeric: tabular-nums;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--lb-border);
	color: var(--lb-text);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lb-row:hover .rank-badge { transform: scale(1.06); }

.rank-badge.rank-gold {
	background: linear-gradient(135deg, rgba(252,180,45,0.32) 0%, rgba(252,180,45,0.10) 100%);
	border-color: rgba(252,180,45,0.55);
	color: #FCB42D;
	box-shadow:
		0 6px 14px -6px rgba(252,180,45,0.50),
		inset 0 1px 0 rgba(255,255,255,0.10);
	text-shadow: 0 0 12px rgba(252,180,45,0.40);
}
.rank-badge.rank-silver {
	background: linear-gradient(135deg, rgba(232,234,240,0.22) 0%, rgba(169,176,192,0.06) 100%);
	border-color: rgba(232,234,240,0.36);
	color: #e8eaf0;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.rank-badge.rank-bronze {
	background: linear-gradient(135deg, rgba(205,127,50,0.22) 0%, rgba(245,185,138,0.06) 100%);
	border-color: rgba(205,127,50,0.40);
	color: #f5b98a;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Top-10 hover gives the badge a soft gold breathing — feels alive. */
@keyframes rankGoldBreath {
	0%, 100% { box-shadow: 0 6px 14px -6px rgba(252,180,45,0.50), inset 0 1px 0 rgba(255,255,255,0.10); }
	50%      { box-shadow: 0 10px 22px -6px rgba(252,180,45,0.75), inset 0 1px 0 rgba(255,255,255,0.16); }
}
.lb-row.tier-gold:hover .rank-badge.rank-gold {
	animation: rankGoldBreath 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.lb-row.tier-gold:hover .rank-badge.rank-gold { animation: none; }
}

/* trader cell */
.trader-cell {
	display: flex;
	align-items: center;
	gap: 0;
}
.trader-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.trader-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--lb-text);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	letter-spacing: -0.01em;
}
.trader-country {
	font-size: 12px;
	color: var(--lb-text-2);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.flag-img {
	width: 18px;
	height: 13px;
	border-radius: 2px;
	object-fit: cover;
	display: inline-block;
	box-shadow: 0 1px 2px rgba(0,0,0,0.40);
}

.profit-amount {
	font-weight: 800;
	font-size: 14px;
	background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.balance-amount {
	font-weight: 700;
	font-size: 13px;
	color: var(--lb-text);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.005em;
}

.roi-value { color: var(--lb-green); font-weight: 700; }
.cell-winrate, .cell-trades, .cell-streak { color: var(--lb-text-2); font-variant-numeric: tabular-nums; }
.cell-joined { color: var(--lb-text-dim); font-size: 12px; white-space: nowrap; }

.cell-sparkline svg { width: 108px; height: 36px; display: block; }

/* responsive table: hide less-critical columns on narrow screens */
@media (max-width: 960px) {
	.lb-table .hide-lg { display: none; }
}
@media (max-width: 780px) {
	.lb-table .hide-md { display: none; }
}
@media (max-width: 560px) {
	.lb-table .hide-sm { display: none; }
	.lb-table thead th,
	.lb-table tbody td { padding: 12px 10px; }
	.lb-agg-row { grid-template-columns: repeat(2, 1fr); }
	.lb-table-head { flex-direction: column; align-items: stretch; }
	.lb-search { min-width: 0; }
}

/* ═════════════════ HOW IT WORKS ═════════════════ */
#lb-how { padding: 20px 0; }
.lb-how-card {
	max-width: 1040px;
	margin: 0 auto;
	padding: 24px 24px;
	background: linear-gradient(180deg, var(--lb-card-hi), var(--lb-card));
	border: 1px solid var(--lb-border);
	border-radius: var(--lb-radius-lg);
	text-align: center;
	box-shadow: var(--lb-shadow-sm);
}
.lb-how-card h3 {
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 800;
	color: var(--lb-text);
	margin: 0 0 10px;
}
.lb-how-card > p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--lb-text-2);
	max-width: 740px;
	margin: 0 auto 16px;
}
.lb-how-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
@media (max-width: 820px) { .lb-how-grid { grid-template-columns: repeat(2, 1fr); } }
.lb-how-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 10px;
	background: rgba(0,0,0,0.20);
	border: 1px solid var(--lb-border);
	border-radius: 14px;
	text-align: center;
}
.how-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	font-size: 16px;
}
.how-icon.gold  { background: var(--lb-gold-soft); color: var(--lb-gold); }
.how-icon.green { background: var(--lb-green-soft); color: var(--lb-green); }
.lb-how-cell strong {
	color: var(--lb-text);
	font-size: 14px;
	font-weight: 700;
}
.lb-how-cell span {
	color: var(--lb-text-2);
	font-size: 12px;
	line-height: 1.5;
}

/* ═════════════════ CTA ═════════════════ */
#lb-cta { padding: 20px 0 50px; }
.lb-cta-banner {
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
	padding: 32px 24px;
	text-align: center;
	border-radius: var(--lb-radius-lg);
	background:
		radial-gradient(500px 260px at 50% 0%, rgba(252,180,45,0.22), transparent 60%),
		linear-gradient(180deg, #1a1330, #0e1020);
	border: 1px solid rgba(252,180,45,0.25);
	box-shadow: var(--lb-shadow-gold);
	overflow: hidden;
}
.lb-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 20% 30%, rgba(252,180,45,0.35) 50%, transparent 51%),
		radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.25) 50%, transparent 51%),
		radial-gradient(1px 1px at 50% 80%, rgba(252,180,45,0.40) 50%, transparent 51%);
	background-size: 400px 300px;
	opacity: 0.7;
	pointer-events: none;
}
.lb-cta-banner h3 {
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	color: var(--lb-text);
	margin: 0 0 10px;
	position: relative;
}
.lb-cta-banner p {
	color: var(--lb-text-2);
	font-size: 15px;
	margin: 0 auto 16px;
	max-width: 620px;
	position: relative;
}
.lb-cta-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 700;
	color: #0a0f1c;
	background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-2));
	border-radius: 100px;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(252,180,45,0.35);
	transition: transform .2s ease, box-shadow .2s ease;
}
.lb-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 40px rgba(252,180,45,0.45);
	color: #0a0f1c;
}


/* ═════════════════ SKELETONS ═════════════════ */
.skeleton-bar {
	height: 14px;
	border-radius: 7px;
	background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 100%);
	background-size: 300% 100%;
	animation: lbShimmer 1.6s ease-in-out infinite;
}
@keyframes lbShimmer {
	0%   { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

.lb-empty, .lb-error-row {
	text-align: center;
	padding: 40px 20px;
	color: var(--lb-text-2);
}
.lb-error {
	padding: 36px 20px;
	text-align: center;
}
.lb-error p { color: var(--lb-text-2); margin-bottom: 14px; }
.lb-retry-btn {
	padding: 10px 20px;
	border: 0;
	border-radius: 100px;
	background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-2));
	color: #0a0f1c;
	font-weight: 700;
	cursor: pointer;
}

/* sparkline stroke bolder so it reads on card */
.sparkline-line { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.40)); }

/* ── Hidden metrics (balance, winrate, trades, top instrument) ── */
.champ-balance-row,
.champ-kpis,
.runner-balance,
.runner-extra,
.cell-balance,
.cell-winrate,
.sort-toggle[data-sort="balance"],
.sort-toggle[data-sort="winrate"] { display: none !important; }

/* preloader (within .lb-stage context) */
.lb-stage #page-preloader { background: var(--lb-bg); }
.lb-stage #page-preloader div { background: var(--lb-gold); }
