/* Tournament results — rankings palette, server-rendered. */
.bmres {
	--bmr-red: #e10707;
	--bmr-ink: #111;
	--bmr-muted: #5c636a;
	--bmr-line: #e4e7eb;
	--bmr-bg: #eef1f4;
	max-width: 1040px;
	margin: 0 auto;
	padding: 22px 24px 56px;
	color: var(--bmr-ink);
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	line-height: 1.4;
}

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

.fusion-body.bm-results-page .fusion-page-title-bar,
.fusion-body.bm-results-page .avada-page-titlebar-wrapper {
	display: none !important;
}

.fusion-body.bm-results-page #main {
	background: var(--bmr-bg) !important;
	background-image: none !important;
	padding-top: 0 !important;
}

.fusion-body.bm-results-page #sidebar {
	display: none !important;
}

.fusion-body.bm-results-page #content {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.bmres-crumb {
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 600;
}

.bmres-crumb a {
	color: #4a5158;
	text-decoration: none;
}

.bmres-crumb a:hover,
.bmres-crumb a:focus {
	color: var(--bmr-ink);
	text-decoration: underline;
}

.bmres-crumb a:focus-visible,
.bmres-event-nav a:focus-visible {
	outline: 2px solid var(--bmr-ink);
	outline-offset: 2px;
}

.bmres-h1,
.fusion-body.bm-results-page h1.bmres-h1 {
	display: inline-block;
	margin: 0;
	padding: 0 0 6px;
	border: 0;
	border-bottom: 3px solid var(--bmr-red);
	background: none !important;
	color: var(--bmr-ink) !important;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	text-transform: none !important;
}

.bmres-lead,
.bmres-empty {
	margin: 12px 0 0;
	max-width: 40rem;
	color: var(--bmr-muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

.bmres-tournament {
	margin-top: 28px;
	padding: 1.2rem 1.2rem 0.4rem;
	border: 1px solid var(--bmr-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 24, 28, 0.04);
}

.bmres-tournament-title,
.fusion-body.bm-results-page h2.bmres-tournament-title {
	margin: 0;
	color: var(--bmr-ink);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.bmres-tournament-date {
	margin: 4px 0 0;
	color: var(--bmr-muted);
	font-size: 0.95rem;
	font-weight: 600;
}

.bmres-event-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 4px;
}

.bmres-event-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0.25rem 0.7rem;
	border: 1px solid #d5d9de;
	border-radius: 999px;
	background: #f7f8f9;
	color: var(--bmr-ink);
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
}

.bmres-event-nav a:hover,
.bmres-event-nav a:focus {
	border-color: #b8bec4;
	color: var(--bmr-ink);
	text-decoration: none;
}

.bmres-event {
	margin: 18px 0 8px;
	padding-top: 16px;
	border-top: 1px solid var(--bmr-line);
	scroll-margin-top: 5.5rem;
}

.bmres-event-title,
.fusion-body.bm-results-page h3.bmres-event-title {
	margin: 0 0 12px;
	color: var(--bmr-ink);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.bmres-podium {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.bmres-slot {
	min-width: 0;
	padding: 0.9rem 1rem 0.85rem;
	border: 1px solid var(--bmr-line);
	border-radius: 14px;
	background: #fbfbfc;
}

.bmres-slot--1 {
	border-color: #e4c56a;
	background: #fffaf0;
}

.bmres-slot--2 {
	border-color: #d5d8de;
	background: #f7f8fa;
}

.bmres-slot--3 {
	border-color: #e2c2a4;
	background: #fdf8f4;
}

.bmres-slot-kicker {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3d4349;
}

.bmres-medal {
	font-size: 1.15rem;
	letter-spacing: 0;
	line-height: 1;
}

.bmres-names {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bmres-names li {
	margin: 0;
	padding: 0.12rem 0;
	color: var(--bmr-ink);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.bmres .bmres-names a.bmres-player,
.fusion-body.bm-results-page .bmres a.bmres-player {
	color: inherit;
	font-weight: inherit;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	text-decoration-color: rgba(17, 17, 17, 0.35);
	overflow-wrap: anywhere;
}

.bmres .bmres-names a.bmres-player:hover,
.bmres .bmres-names a.bmres-player:focus,
.bmres .bmres-names a.bmres-player:focus-visible,
.fusion-body.bm-results-page .bmres a.bmres-player:hover,
.fusion-body.bm-results-page .bmres a.bmres-player:focus,
.fusion-body.bm-results-page .bmres a.bmres-player:focus-visible {
	color: #e10707 !important;
	text-decoration-color: #e10707;
}

.bmres .bmres-names a.bmres-player:focus-visible,
.fusion-body.bm-results-page .bmres a.bmres-player:focus-visible {
	outline: 2px solid var(--bmr-red);
	outline-offset: 3px;
	border-radius: 2px;
}

.bmres-slot--1 .bmres-names li {
	font-size: 1.2rem;
}

.bmres-class {
	margin-top: 14px;
}

.bmres-class-title,
.fusion-body.bm-results-page h4.bmres-class-title {
	margin: 0 0 8px;
	color: var(--bmr-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmres-band {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 8px 14px;
	align-items: start;
	padding: 0.55rem 0;
	border-top: 1px solid #eef0f2;
}

.bmres-band-label {
	margin: 0;
	color: #3d4349;
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.35;
}

.bmres-class .bmres-names {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.85rem;
}

.bmres-class .bmres-names li {
	font-size: 0.95rem;
	font-weight: 600;
}

@media (min-width: 760px) {
	.bmres-podium {
		grid-template-columns: 1fr 1.12fr 1fr;
		align-items: stretch;
	}

	.bmres-slot--2 { order: 1; }
	.bmres-slot--1 { order: 2; }
	.bmres-slot--3 { order: 3; }
}

@media (max-width: 640px) {
	.bmres {
		padding: 18px 16px 40px;
	}

	.bmres-h1,
	.fusion-body.bm-results-page h1.bmres-h1 {
		font-size: 1.55rem;
	}

	.bmres-tournament {
		padding: 1rem 0.9rem 0.3rem;
	}

	.bmres-band {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}
