.tdb_header_logo .tdb-logo-img-wrap img {
	display: unset !important;
}

.tdc-row {
	width: 1068px !important;
}

.td-ss-main-content {
	position: relative;
}

.fjp-lb-token-field {
	position: relative;
	max-width: 760px;
	margin-top: 6px;
}

.fjp-lb-token-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 6px 8px;
	background: #ffffff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
}

.fjp-lb-token-list:focus-within {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.fjp-lb-user-token {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 5px 7px 5px 10px;
	color: #1d2327;
	background: #e8f1f8;
	border: 1px solid #b5d3e8;
	border-radius: 16px;
}

.fjp-lb-user-token > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fjp-lb-remove-token {
	width: 22px;
	height: 22px;
	padding: 0;
	color: #50575e;
	background: transparent;
	border: 0;
	border-radius: 50%;
	font-size: 18px;
	line-height: 20px;
	cursor: pointer;
}

.fjp-lb-remove-token:hover,
.fjp-lb-remove-token:focus {
	color: #ffffff;
	background: #b32d2e;
	outline: none;
}

.fjp-lb-token-input {
	flex: 1 1 260px;
	min-width: 220px;
	padding: 4px !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.fjp-lb-user-suggestions {
	position: absolute;
	z-index: 100;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	max-height: 280px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.fjp-lb-user-suggestion {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 9px 12px;
	text-align: left;
	background: #ffffff;
	border: 0;
	border-bottom: 1px solid #f0f0f1;
	cursor: pointer;
}

.fjp-lb-user-suggestion:last-child {
	border-bottom: 0;
}

.fjp-lb-user-suggestion:hover,
.fjp-lb-user-suggestion:focus {
	background: #f0f6fc;
	outline: none;
}

.fjp-lb-user-suggestion span {
	margin-top: 2px;
	color: #646970;
	font-size: 12px;
}

.fjp-lb-token-status {
	min-height: 20px;
	margin: 6px 0 0;
	color: #50575e;
}

.fjp-lb-token-status.is-error {
	color: #b32d2e;
}

.leaderboard {
	width: min(1120px, 100%);
	margin: 0 auto;
}
.leaderboard-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 46px;
}
.eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #4f46e5;
	font-weight: 850;
}
h1 {
	margin: 0;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 0.95;
	letter-spacing: -0.05em;
	color: #141633;
}
.subtitle {
	max-width: 390px;
	margin: 0;
	color: #63677f;
	font-size: 15px;
	line-height: 1.6;
}
.podium-wrap {
	position: relative;
	padding: 0 18px;
	margin-bottom: 34px;
	border: 1px solid rgba(79, 70, 229, 0.14);
	overflow: hidden;
}
.podium-wrap h3 {
	margin-top: 12px;
	text-align: left;
}
.podium-wrap::before {
	content: "";
	position: absolute;
	inset: auto 10% 0;
	height: 170px;
	background: radial-gradient(
		ellipse at center,
		rgba(79, 70, 229, 0.16),
		transparent 68%
	);
	pointer-events: none;
}
.podium {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	align-items: end;
	gap: 18px;
	min-height: 420px;
}
.top-author {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
}
.top-author.first {
	order: 2;
}
.top-author.second {
	order: 1;
}
.top-author.third {
	order: 3;
}

.top-author.first .rank-badge {
	background-color: #ffcc01;
}
.top-author.second .rank-badge {
	background-color: #d2d2d2;
}
.top-author.third .rank-badge {
	background-color: #c26b29;
}

.avatar-shell {
	position: relative;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	padding: 5px;
	background: linear-gradient(135deg, #6d6cff, #3730a3, #20145f);
	box-shadow: 0 18px 34px rgba(51, 45, 160, 0.26);
	margin-bottom: 14px;
}
.first .avatar-shell {
	width: 90px;
	height: 90px;
	background: linear-gradient(135deg, #8b8cff, #4f46e5, #24146f);
	box-shadow: 0 22px 44px rgba(51, 45, 160, 0.32);
}
.avatar {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	display: grid;
	place-items: center;
	font-size: 34px;
	font-weight: 950;
	color: #ffffff;
	background: #203c7d;
	border: 4px solid #ffffff;
}
.avatar.has-image {
	overflow: hidden;
	background: #ffffff;
}
.avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.crown {
	position: absolute;
	top: -31px;
	left: 50%;
	transform: translateX(-50%) rotate(-8deg);
	font-size: 36px;
	filter: drop-shadow(0 10px 14px rgba(41, 37, 115, 0.22));
}
.rank-badge {
	position: absolute;
	right: 0;
	bottom: 4px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-weight: 950;
	color: #ffffff;
	background: #2f2b85;
	border: 3px solid #ffffff;
	box-shadow: 0 8px 18px rgba(47, 43, 133, 0.22);
}
.top-author h2 {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #15172f;
}
.top-author .role {
	margin: 0 0 12px;
	min-height: 32px;
	font-size: 13px;
	color: #6d7085;
}
.score-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	font-size: 13px;
	font-weight: 850;
	color: #29237f;
	background: rgba(79, 70, 229, 0.1);
	border: 1px solid rgba(79, 70, 229, 0.18);
}
.stage {
	width: 100%;
	margin-top: 20px;
	display: grid;
	place-items: center;
	border-radius: 4px 4px 0 0;
	border: 1px solid rgba(79, 70, 229, 0.16);
	border-bottom: none;
	background:
		linear-gradient(
			180deg,
			rgba(113, 104, 255, 0.16),
			rgba(79, 70, 229, 0.06)
		),
		#ffffff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 -8px 30px rgba(58, 52, 160, 0.07);
}
.first .stage {
	height: 180px;
	background:
		linear-gradient(
			180deg,
			rgba(79, 70, 229, 0.28),
			rgba(79, 70, 229, 0.08)
		),
		#ffffff;
}

.second .stage {
	height: 132px;
}
.third .stage {
	height: 104px;
}

.stage span {
	font-size: clamp(42px, 7vw, 78px);
	font-weight: 950;
	letter-spacing: -0.08em;
	color: rgba(31, 27, 105, 0.16);
}
.list-panel {
	padding: 18px;
	background:
		linear-gradient(
			180deg,
			rgba(245, 246, 255, 0.95),
			rgba(255, 255, 255, 0.96)
		),
		#ffffff;
	border: 1px solid rgba(79, 70, 229, 0.12);
	box-shadow: 0 22px 60px rgba(38, 45, 118, 0.11);
}
.author-row {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid rgba(79, 70, 229, 0.1);
	box-shadow: 0 10px 28px rgba(38, 45, 118, 0.06);
	transition: 0.22s ease;
}
.author-row + .author-row {
	margin-top: 12px;
}
.author-row:hover {
	transform: translateY(-2px);
	border-color: rgba(79, 70, 229, 0.26);
	box-shadow: 0 16px 36px rgba(38, 45, 118, 0.12);
}
.rank {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	font-weight: 950;
	color: #312e81;
	background: rgba(79, 70, 229, 0.08);
	border: 1px solid rgba(79, 70, 229, 0.12);
}
.author-info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.mini-avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	border-radius: 4px;
	display: grid;
	place-items: center;
	font-weight: 950;
	color: #ffffff;
	background: #203c7d;
}
.author-meta {
	min-width: 0;
}
.author-name {
	margin: 0 !important;
	font-size: 16px;
	font-weight: 850;
	color: #15172f;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.author-stats {
	margin: 4px 0 0 !important;
	color: #6d7085 !important;
	font-size: 13px;
}
.row-score {
	text-align: right;
}
.row-score strong {
	display: block;
	font-size: 20px;
	letter-spacing: -0.03em;
	color: #24146f;
}
.row-score span {
	display: block;
	margin-top: 3px;
	color: #7a7d91;
	font-size: 12px;
}

@media (max-width: 820px) {
	body {
		padding: 28px 14px;
	}
	.leaderboard-header {
		display: block;
		margin-bottom: 28px;
	}
	.subtitle {
		margin-top: 14px;
	}
	.podium {
		grid-template-columns: 1fr;
		min-height: auto;
		gap: 22px;
	}
	.top-author.first {
		order: 1;
	}
	.top-author.second {
		order: 2;
	}
	.top-author.third {
		order: 3;
	}
	.stage {
		height: 84px !important;
		border-radius: 4px;
		border-bottom: 1px solid rgba(79, 70, 229, 0.16);
	}
	.podium-wrap {
		padding-bottom: 18px;
	}
	.author-row {
		grid-template-columns: 48px 1fr;
	}
	.row-score {
		grid-column: 2;
		text-align: left;
	}
}
@media (max-width: 520px) {
	.author-info {
		align-items: flex-start;
	}
	.mini-avatar {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}
	.author-row {
		padding: 14px;
		gap: 12px;
	}
}
