:root {
	color-scheme: dark;
	font-family: var(--site-font-family);
	background: #1a1b1e;
	color: #c1c2c5;
	--site-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--site-background: #1a1b1e;
	--site-background-subtle: #141517;
	--site-surface: #25262b;
	--site-surface-hover: #2c2e33;
	--site-border: #373a40;
	--site-text: #c1c2c5;
	--site-text-muted: #909296;
	--site-text-dimmed: #a6a7ab;
	--site-link: #4dabf7;
	--site-link-hover: #74c0fc;
	--site-primary: #228be6;
	--site-primary-hover: #339af0;
	--site-warning: #fab005;
	--site-radius: 0.5rem;
	--site-content-width: 1140px;
}

* {
	box-sizing: border-box;
}

html {
	scrollbar-gutter: stable;
	background: var(--site-background);
}

body {
	margin: 0;
	background: var(--site-background);
	color: var(--site-text);
	font-family: var(--site-font-family);
	line-height: 1.55;
}

a {
	color: var(--site-link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--site-link-hover);
}

.site-chrome-header {
	min-height: 60px;
	border-bottom: 1px solid var(--site-border);
	background: var(--site-background);
}

.site-chrome-inner {
	width: 100%;
	max-width: var(--site-content-width);
	min-height: 59px;
	margin-inline: auto;
	padding-inline: 1rem;
}

.site-chrome-row {
	display: flex;
	width: 100%;
	min-height: 59px;
	align-items: center;
	justify-content: space-between;
}

.site-chrome-brand {
	color: var(--site-text);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.site-chrome-brand:hover {
	color: var(--site-text);
}

.site-chrome-nav {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.site-chrome-nav a {
	color: var(--site-text-muted);
	font-size: 0.875rem;
	line-height: 1.45;
	text-decoration: none;
}

.site-chrome-nav a:hover {
	color: var(--site-text);
}

.site-chrome-footer {
	width: calc(100% - 2rem);
	max-width: calc(var(--site-content-width) - 2rem);
	margin-inline: auto;
	padding-block: 2rem;
	border-top: 1px solid var(--site-border);
	color: var(--site-text-muted);
	font-size: 0.75rem;
	line-height: 1.55;
}

.site-chrome-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.site-chrome-footer p {
	max-width: 900px;
}

@media (max-width: 42rem) {
	.site-chrome-inner {
		padding-inline: 0.75rem;
	}

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

	.site-chrome-footer {
		width: calc(100% - 1.5rem);
	}
}

.champion-stats-table-wrap {
	max-height: calc(100dvh - 14rem);
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: var(--site-radius);
	scrollbar-gutter: stable;
}

.champion-stats-table {
	min-width: 1180px;
	border-collapse: separate;
	border-spacing: 0;
	font-variant-numeric: tabular-nums;
}

.champion-stats-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background-color: var(--site-surface);
	box-shadow: inset 0 -1px 0 var(--site-border);
	white-space: nowrap;
}

.champion-stats-table th:first-child {
	left: 0;
	z-index: 3;
	box-shadow:
		inset -1px 0 0 var(--site-border),
		inset 0 -1px 0 var(--site-border);
}

.champion-stats-name-cell {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 170px;
	background-color: var(--site-background);
	box-shadow: inset -1px 0 0 var(--site-border);
}

.champion-stats-table tbody tr:nth-of-type(odd) .champion-stats-name-cell {
	background-color: var(--site-surface);
}

.champion-stats-table tbody tr:hover .champion-stats-name-cell {
	background-color: var(--site-surface-hover);
}

.champion-stats-sort {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	color: inherit;
	font: inherit;
	font-weight: 600;
	white-space: nowrap;
}

.champion-stats-sort-indicator {
	width: 0.75rem;
	color: var(--site-link);
	font-size: 0.65rem;
	text-align: center;
}
