html {
	background: #f6f8fa;
}

body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	color: #1f2328;
	background: #f6f8fa;
	font-family: "Hack Nerd Font", "JetBrainsMono Nerd Font", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	line-height: 1.6;
}

.repo-shell {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 1.5rem 3rem;
}

.repo-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(31, 35, 40, 0.08);
}

.repo-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.repo-title h1 {
	margin: 0;
	font-size: 1.2rem;
}

.repo-nav {
	color: #57606a;
	font-size: 0.95rem;
}

.repo-nav a {
	color: #0969da;
	text-decoration: none;
}

#content {
	padding: 0 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.75rem;
	font-weight: 600;
	line-height: 1.3;
}

img, h1, h2 {
	vertical-align: middle;
}

img {
	border: 0;
}

a {
	color: #0969da;
	text-decoration: none;
}

a:target {
	background-color: #ddf4ff;
}

a.d,
a.h,
a.i,
a.line {
	text-decoration: none;
}

.markdown-body,
#content > table,
#content > pre {
	background: #ffffff;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(31, 35, 40, 0.08);
}

.markdown-body {
	margin-bottom: 1.5rem;
}

.markdown-body h2 {
	border-bottom: 1px solid #d0d7de;
	padding-bottom: 0.4rem;
}

.markdown-body ul {
	padding-left: 1.25rem;
}

#blob a {
	color: #0969da;
}

#blob a:hover {
	color: #0969da;
	text-decoration: none;
}

table thead td {
	font-weight: 600;
}

table td {
	padding: 0.55rem 0.75rem;
}

#content table td {
	vertical-align: top;
	white-space: nowrap;
}

#branches tr:hover td,
#tags tr:hover td,
#index tr:hover td,
#log tr:hover td,
#files tr:hover td {
	background-color: #f6f8fa;
}

#index tr td:nth-child(2),
#tags tr td:nth-child(3),
#branches tr td:nth-child(3),
#log tr td:nth-child(2) {
	white-space: normal;
}

td.num {
	text-align: right;
}

.desc {
	color: #57606a;
}

hr {
	border: 0;
	border-top: 1px solid #d0d7de;
	height: 1px;
}

pre {
	font-family: inherit;
	white-space: pre-wrap;
	word-break: break-word;
}

pre a.h {
	color: #0969da;
}

.A,
span.i,
pre a.i {
	color: #1a7f37;
}

.D,
span.d,
pre a.d {
	color: #cf222e;
}

pre a.h:hover,
pre a.i:hover,
pre a.d:hover {
	text-decoration: none;
}

@media (prefers-color-scheme: dark) {
	html,
	body {
		background-color: #0d1117;
		color: #e6edf3;
	}
	.repo-header,
	.markdown-body,
	#content > table,
	#content > pre {
		background-color: #161b22;
		border-color: #30363d;
		box-shadow: none;
	}
	hr {
		border-color: #30363d;
	}
	a {
		color: #58a6ff;
	}
	a:target {
		background-color: #1f2937;
	}
	.desc {
		color: #8b949e;
	}
	#branches tr:hover td,
	#tags tr:hover td,
	#index tr:hover td,
	#log tr:hover td,
	#files tr:hover td {
		background-color: #1f2937;
	}
}
