body.m4t-board-body {
	margin: 0;
	background: #111a24;
	color: #e9f1fb;
	-webkit-font-smoothing: antialiased;
}

.board-site-head {
	position: sticky;
	top: 0;
	z-index: 60;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(5, 11, 19, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.admin-bar .board-site-head {
	top: 32px;
}

.board-site-wrap {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	max-width: var(--wrap);
	padding-inline: 24px;
	height: 76px;
	margin: 0 auto;
}

.board-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #ffffff !important;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.035em;
	text-decoration: none !important;
	white-space: nowrap;
}

.board-brand svg {
	width: 29px;
	height: 29px;
	color: #00e28a;
}

.board-brand em {
	color: #00e28a;
	font-style: normal;
}

.board-site-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	flex: 1;
}

.board-site-nav a {
	color: #9eb0c4 !important;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none !important;
}

.board-site-nav a:hover,
.board-site-nav a.is-current {
	color: #ffffff !important;
}

.board-site-nav a.is-current {
	position: relative;
}

.board-site-nav a.is-current::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -25px;
	height: 2px;
	background: #00e28a;
}

.board-site-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.board-site-user {
	max-width: 150px;
	overflow: hidden;
	color: #c9d6e4 !important;
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.board-site-login {
	color: #c9d6e4 !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
}

.board-site-join {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border-radius: 7px;
	background: #00e28a;
	color: #04120c !important;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none !important;
}

.board-site-foot {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #050b13;
	padding: 22px 0;
}

.board-site-foot .board-site-wrap {
	justify-content: space-between;
	height: auto;
	gap: 10px;
	color: #7f93a9 !important;
	font-size: 10px;
}

@media (max-width: 780px) {
	.board-site-wrap {
		gap: 14px;
	}

	.board-site-nav {
		gap: 12px;
		overflow-x: auto;
	}

	.board-site-nav a {
		white-space: nowrap;
	}

	.board-site-user {
		display: none;
	}
}

@media (max-width: 560px) {
	.board-site-wrap {
		width: calc(100% - 24px);
		height: 58px;
	}

	.board-brand {
		font-size: 16px;
	}

	.board-site-nav {
		display: none;
	}

	.board-site-login {
		display: none;
	}

	.board-site-foot .board-site-wrap {
		align-items: flex-start;
		flex-direction: column;
	}
}

body.admin-bar .board-site-head {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .board-site-head {
		top: 46px;
	}
}
.m4t-board-page {
	--board-bg: #111a24;
	--board-panel: rgba(12, 22, 34, 0.86);
	--board-border: rgba(255, 255, 255, 0.1);
	--board-text: #e9f1fb;
	--board-muted: #8ea1b7;
	--board-green: #35f0a9;
	--board-red: #ff7b7b;
	--board-mono: 'JetBrains Mono', monospace;
	background: var(--board-bg);
	color: var(--board-text);
	padding: 150px 0 82px;
	min-height: 72vh;
}

.m4t-board-page *,
.m4t-board-page *::before,
.m4t-board-page *::after {
	box-sizing: border-box;
}

.m4t-board-wrap {
	width: 100%;
	max-width: var(--wrap);
	padding-inline: 24px;
	margin: 0 auto;
}

.m4t-board-wrap h1,
.m4t-board-wrap h2,
.m4t-board-wrap p,
.m4t-board-wrap span,
.m4t-board-wrap a,
.m4t-board-wrap table,
.m4t-board-wrap td,
.m4t-board-wrap th {
	color: inherit;
	font-family: inherit;
}

.board-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--board-green) !important;
	font-family: var(--board-mono) !important;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.board-kicker::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--board-green);
	box-shadow: 0 0 0 4px rgba(53, 240, 169, 0.12);
}

.m4t-board-page h1 {
	margin: 0;
	color: #ffffff !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-size: clamp(34px, 4.5vw, 58px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.board-lede {
	max-width: 680px;
	margin: 16px 0 0;
	color: var(--board-muted) !important;
	font-size: 15px;
	line-height: 1.65;
}

.board-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.board-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.04);
	color: #eaf2fb !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.board-btn:hover {
	border-color: rgba(53, 240, 169, 0.5);
	background: rgba(53, 240, 169, 0.08);
	color: #ffffff !important;
}

.board-btn-primary {
	border-color: var(--board-green);
	background: var(--board-green);
	color: #04120c !important;
}

.board-btn-primary:hover {
	border-color: #6fffc8;
	background: #6fffc8;
	color: #04120c !important;
}

.board-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 36px 0 22px;
	padding: 16px;
	border: 1px solid var(--board-border);
	border-radius: 14px;
	background: rgba(10, 19, 30, 0.72);
}

.board-filter-group {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.board-filter-label {
	min-width: 62px;
	color: var(--board-muted) !important;
	font-family: var(--board-mono) !important;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.board-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.board-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 7px;
	background: transparent;
	color: var(--board-muted) !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
}

.board-pill:hover {
	border-color: rgba(53, 240, 169, 0.35);
	color: #ffffff !important;
}

.board-pill.is-active {
	border-color: rgba(53, 240, 169, 0.5);
	background: rgba(53, 240, 169, 0.12);
	color: var(--board-green) !important;
}

.board-podium {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.board-spot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 18px;
	border: 1px solid var(--board-border);
	border-radius: 15px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
	overflow: hidden;
}

.board-spot::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--board-green);
}

.board-spot-2::before {
	background: #38bdf8;
}

.board-spot-3::before {
	background: #c4b5fd;
}

.board-spot-rank {
	position: absolute;
	top: 14px;
	right: 14px;
	color: rgba(255, 255, 255, 0.28) !important;
	font-family: var(--board-mono) !important;
	font-size: 11px;
	font-weight: 700;
}

.board-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
	color: var(--board-green) !important;
	font-family: var(--board-mono) !important;
	font-size: 12px;
	font-weight: 700;
}

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

.board-avatar-sm {
	width: 30px;
	height: 30px;
	margin: 0;
	font-size: 9px;
}

.board-spot h2 {
	margin: 0;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.board-spot-profit {
	margin-top: 10px;
	color: var(--board-green) !important;
	font-family: var(--board-mono) !important;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.board-spot-profit.is-neg {
	color: var(--board-red) !important;
}

.board-spot-label {
	margin-top: 1px;
	color: var(--board-muted) !important;
	font-family: var(--board-mono) !important;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.board-spot-meta {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	color: var(--board-muted) !important;
	font-size: 10px;
}

.board-table-card {
	border: 1px solid var(--board-border);
	border-radius: 15px;
	background: var(--board-panel);
	overflow: hidden;
}

.board-table-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 18px 14px;
	border-bottom: 1px solid var(--board-border);
}

.board-table-head h2 {
	margin: 0;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
}

.board-table-head p {
	margin: 3px 0 0;
	color: var(--board-muted) !important;
	font-size: 10px;
}

.board-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--board-muted) !important;
	font-family: var(--board-mono) !important;
	font-size: 9px;
	white-space: nowrap;
}

.board-live i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--board-green);
	box-shadow: 0 0 0 3px rgba(53, 240, 169, 0.12);
}

.board-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.board-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
}

.board-table th {
	padding: 10px 14px;
	border-bottom: 1px solid var(--board-border);
	color: var(--board-muted) !important;
	font-family: var(--board-mono) !important;
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.board-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.055);
	color: #d9e5f2 !important;
	font-size: 12px;
	white-space: nowrap;
}

.board-table tbody tr:last-child td {
	border-bottom: 0;
}

.board-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.025);
}

.board-rank {
	color: var(--board-muted) !important;
	font-family: var(--board-mono) !important;
	font-size: 10px !important;
}

.board-member {
	display: flex;
	align-items: center;
	gap: 9px;
}

.board-member strong {
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 600;
}

.board-good {
	color: var(--board-green) !important;
	font-family: var(--board-mono) !important;
}

.board-bad {
	color: var(--board-red) !important;
	font-family: var(--board-mono) !important;
}

.board-rate {
	display: flex;
	align-items: center;
	gap: 8px;
}

.board-rate > span {
	min-width: 34px;
	color: #e5eef8 !important;
	font-family: var(--board-mono) !important;
	font-size: 10px;
}

.board-rate i {
	display: block;
	width: 72px;
	height: 4px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.board-rate b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--board-green);
}

.board-profit {
	color: var(--board-green) !important;
	font-family: var(--board-mono) !important;
	font-size: 12px !important;
	font-weight: 700;
}

.board-profit.is-neg {
	color: var(--board-red) !important;
}

.board-empty {
	padding: 48px 20px;
	border: 1px solid var(--board-border);
	border-radius: 15px;
	background: rgba(10, 19, 30, 0.7);
	text-align: center;
}

.board-empty strong {
	display: block;
	color: #ffffff !important;
	font-size: 15px;
}

.board-empty span {
	display: block;
	margin-top: 5px;
	color: var(--board-muted) !important;
	font-size: 12px;
}

.board-note {
	max-width: 760px;
	margin: 18px 0 0;
	color: var(--board-muted) !important;
	font-size: 10px;
	line-height: 1.6;
}

@media (max-width: 900px) {
	.m4t-board-page {
		padding: 110px 0 58px;
	}

	.board-podium {
		grid-template-columns: 1fr;
	}

	.board-filter-group {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.board-table-head {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.m4t-board-wrap {
		width: min(1180px, calc(100% - 24px));
	}

	.board-actions {
		flex-direction: column;
	}

	.board-btn {
		width: 100%;
	}

	.board-pills {
		width: 100%;
	}

	.board-pill {
		flex: 1 1 auto;
		justify-content: center;
	}
}
/* Readable leaderboard labels */
.board-kicker { font-size: 11px; }
.board-filter-label { font-size: 10.5px; }
.board-spot-label { font-size: 9.5px; }
.board-spot-meta { font-size: 11px; }
.board-table th { font-size: 10px; }
.board-note { font-size: 11px; }
.board-live { font-size: 10px; }
.board-rate > span { font-size: 11px; }
.board-rank { font-size: 11px; }
.board-spot-label { font-size: 10.5px; }
/* Compact professional leaderboard */
.m4t-board-page {
	padding-top: 122px;
}

.board-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 16px;
}

.board-top h1 {
	margin: 0;
	color: #ffffff !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.board-top .board-lede {
	max-width: 720px;
	margin: 7px 0 0;
	color: #8ea1b7 !important;
	font-size: 13.5px;
	line-height: 1.55;
}

.board-top .board-btn {
	flex: 0 0 auto;
}

.board-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 7px 9px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 11px;
	background: rgba(12, 22, 34, 0.82);
}

.board-field {
	display: flex;
	align-items: center;
	gap: 6px;
}

.board-field label {
	color: #8ea1b7 !important;
	font-family: 'JetBrains Mono', monospace;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.board-field select {
	height: 32px;
	min-width: 112px;
	padding: 0 28px 0 9px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 7px;
	background-color: #101b27;
	color: #e9f1fb;
	font-family: inherit;
	font-size: 12px;
	cursor: pointer;
}

.board-field select:focus {
	border-color: #35f0a9;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(53, 240, 169, 0.1);
}

.board-toolbar-meta {
	margin-left: 4px;
	color: #7f93a9 !important;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	white-space: nowrap;
}

.board-table-card {
	margin-top: 0;
}

.board-table tbody tr:first-child td {
	background: rgba(53, 240, 169, 0.045);
}

@media (max-width: 700px) {
	.m4t-board-page {
		padding-top: 108px;
	}

	.board-top {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.board-toolbar {
		width: 100%;
	}

	.board-field {
		flex: 1 1 140px;
		justify-content: space-between;
	}

	.board-field select {
		flex: 1;
		min-width: 0;
	}

	.board-toolbar-meta {
		width: 100%;
		margin: 0;
	}
}
/* Coloured outlines to match My Space cards */
.board-toolbar {
	border-top: 3px solid #a78bfa;
}

.board-table-card {
	border-top: 3px solid #60a5fa;
}
