/* Event rankings (page-scoped, loaded only from rankings_body.html). */

body.section-rankings #content-main {
	width: 100%;
	float: none;
	display: block;
	box-sizing: border-box;
}

.rankings-page {
	padding: 0 0 20px;
	color: #334155;
	font-size: 13px;
	line-height: 1.5;
}

.rankings-hero {
	margin: 0 0 14px;
	padding: 24px 26px;
	border-radius: var(--yws-content-radius, 4px);
	background: linear-gradient(135deg, #1a2744 0%, #006695 55%, #0891b2 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.rankings-hero__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.rankings-hero__title {
	margin: 0;
	font-size: 30px;
	line-height: 1.12;
	color: #fff;
}

.rankings-hero__subtitle {
	margin: 8px 0 0;
	max-width: 42ch;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.92);
}

.rankings-hero__date {
	margin: 6px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
}

.rankings-hero__status {
	margin: 14px 0 0;
}

.rankings-hero__badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

.rankings-hero__badge--live {
	background: #fef08a;
	color: #713f12;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.rankings-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
	padding: 14px 16px;
	border-radius: var(--yws-content-radius, 4px);
	background: #fff7ed;
	border: 1px solid #fdba74;
}

.rankings-stat {
	text-align: center;
}

.rankings-stat__value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	color: #9a3412;
}

.rankings-stat__label {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #c2410c;
}

.rankings-you {
	margin-bottom: 16px;
	padding: 18px 20px;
	border-radius: var(--yws-content-radius, 4px);
	border: 1px solid #cbd5e1;
	background: #f8fafc;
}

.rankings-you--on-board {
	background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
	border-color: #93c5fd;
}

.rankings-you__kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2563eb;
}

.rankings-you__main {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rankings-you__rank {
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	color: #1e40af;
}

.rankings-you__detail strong {
	display: block;
	font-size: 22px;
	line-height: 1.1;
	color: #0f172a;
}

.rankings-you__detail span {
	font-size: 13px;
	color: #475569;
}

.rankings-you__hint,
.rankings-you__empty {
	margin: 12px 0 0;
	max-width: 52ch;
	color: #475569;
}

.rankings-you__empty {
	margin-bottom: 14px;
}

.rankings-section__title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #64748b;
}

.rankings-podium {
	margin-bottom: 16px;
}

.rankings-podium__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: end;
}

.rankings-podium__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 18px 14px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.rankings-podium__card.is-gold {
	order: 2;
	min-height: 230px;
	background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
	border-color: #fcd34d;
	transform: translateY(-6px);
}

.rankings-podium__card.is-silver {
	order: 1;
	min-height: 200px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border-color: #cbd5e1;
}

.rankings-podium__card.is-bronze {
	order: 3;
	min-height: 190px;
	background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
	border-color: #fdba74;
}

.rankings-podium__card.is-self {
	box-shadow: inset 0 0 0 2px #2563eb, 0 4px 14px rgba(37, 99, 235, 0.14);
}

.rankings-podium__medal {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	color: #475569;
	background: rgba(148, 163, 184, 0.18);
}

.rankings-podium__card.is-gold .rankings-podium__medal {
	color: #854d0e;
	background: linear-gradient(145deg, #fff4c2 0%, #ffd54f 55%, #ffb300 100%);
}

.rankings-podium__card.is-silver .rankings-podium__medal {
	color: #455a64;
	background: linear-gradient(145deg, #f5f7fa 0%, #cfd8dc 55%, #b0bec5 100%);
}

.rankings-podium__card.is-bronze .rankings-podium__medal {
	color: #6d4c41;
	background: linear-gradient(145deg, #fbe9e7 0%, #ffab91 55%, #ff8a65 100%);
}

.rankings-podium__avatar {
	display: block;
	width: 72px;
	height: 72px;
	margin: 8px 0 10px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.rankings-podium__card.is-gold .rankings-podium__avatar {
	width: 84px;
	height: 84px;
	border-color: #fde68a;
}

.rankings-podium__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rankings-podium__name {
	width: 100%;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.25;
	color: #0f172a;
}

.rankings-podium__score strong {
	display: block;
	font-size: 24px;
	line-height: 1;
	color: #0f172a;
}

.rankings-podium__score span {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.rankings-podium__reviews {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

.rankings-podium__ink {
	width: 100%;
	height: 6px;
	margin-top: 12px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.rankings-podium__ink span {
	display: block;
	height: 100%;
	width: var(--ink-fill, 0%);
	border-radius: inherit;
	background: linear-gradient(90deg, #006695 0%, #22c55e 100%);
}

.rankings-list-wrap {
	margin-bottom: 14px;
	padding: 16px 18px;
	border-radius: var(--yws-content-radius, 4px);
	background: #fff;
	border: 1px solid #e2e8f0;
}

.rankings-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rankings-list__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.rankings-list__row.is-self {
	background: linear-gradient(135deg, rgba(219, 234, 254, 0.65) 0%, rgba(236, 253, 245, 0.85) 100%);
	border-color: #93c5fd;
	box-shadow: inset 3px 0 0 #2563eb;
}

.rankings-list__rank {
	flex: 0 0 2rem;
	width: 2rem;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	color: #475569;
}

.rankings-list__avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.rankings-list__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rankings-list__body {
	flex: 1 1 auto;
	min-width: 0;
}

.rankings-list__name {
	font-weight: 700;
	font-size: 14px;
	color: #0f172a;
	margin-bottom: 2px;
}

.rankings-list__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: baseline;
	font-size: 12px;
	color: #64748b;
}

.rankings-list__meta strong {
	font-size: 16px;
	color: #0f172a;
}

.rankings-list__ink {
	height: 5px;
	margin-top: 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.rankings-list__ink span {
	display: block;
	height: 100%;
	width: var(--ink-fill, 0%);
	border-radius: inherit;
	background: linear-gradient(90deg, #006695 0%, #0891b2 100%);
}

.rankings-empty {
	margin-bottom: 14px;
	padding: 28px 24px;
	text-align: center;
	border-radius: var(--yws-content-radius, 4px);
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
}

.rankings-empty__title {
	margin: 0 0 8px;
	font-size: 20px;
	color: #0f172a;
}

.rankings-empty__lede {
	margin: 0 0 16px;
	color: #64748b;
}

.rankings-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	padding: 12px 16px;
	border-radius: var(--yws-content-radius, 4px);
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	font-size: 12px;
}

.rankings-links a {
	color: #006695;
	font-weight: 600;
}

@media (max-width: 760px) {
	.rankings-stats {
		grid-template-columns: 1fr;
	}

	.rankings-podium__grid {
		grid-template-columns: 1fr;
	}

	.rankings-podium__card.is-gold,
	.rankings-podium__card.is-silver,
	.rankings-podium__card.is-bronze {
		order: initial;
		min-height: 0;
		transform: none;
	}

	.rankings-hero__title {
		font-size: 24px;
	}
}
