/* Site-specific overrides loaded after the HTML5 UP template (main.css). */

/* X (Twitter) logo: the bundled Font Awesome 5 predates it, so ship just that glyph from Font Awesome 6. */
@font-face {
	font-family: 'FA X Twitter';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url("../webfonts/fa-x-twitter.woff2") format("woff2");
}

.icon.brands.fa-x-twitter:before {
	content: "\e61b";
	font-family: 'FA X Twitter';
}

/* Keep nav labels on one line and share the bar's width evenly, so the extra social icon doesn't squeeze them. */
#nav ul.links li {
	flex: 1 1 auto;
}

#nav ul.links li a {
	white-space: nowrap;
	text-align: center;
	padding: 0 0.75rem;
}

/* ==========================================================================
   Terminal theme
   Dark IDE-style palette and a monospace type scale layered over Massively.
   ========================================================================== */

:root {
	--bg: #0a0e13;
	--panel: #0f141a;
	--panel-2: #141a22;
	--border: #242d38;
	--fg: #c9d1d9;
	--fg-muted: #8b949e;
	--fg-bold: #e6edf3;
	--accent: #3fb950;
	--accent-2: #58a6ff;
	--accent-soft: rgba(63, 185, 80, 0.12);
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--radius: 10px;
}

::selection {
	background: rgba(63, 185, 80, 0.35);
	color: var(--fg-bold);
}

/* Type -------------------------------------------------------------------- */

body, input, select, textarea, button, .button,
h1, h2, h3, h4, h5, h6, #copyright,
#header .logo, #navPanelToggle, #nav ul.links li a, #navPanel .links li a {
	font-family: var(--mono);
}

body {
	background-color: var(--bg);
	color: var(--fg);
}

body, input, select, textarea {
	font-size: 0.95rem;
	line-height: 1.9;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--fg-bold);
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
}

h3 { font-size: 1.1rem; }

strong, b, label, table th {
	color: var(--fg-bold);
}

a {
	color: var(--accent-2);
	border-bottom-color: rgba(88, 166, 255, 0.4);
}

a:hover {
	color: var(--accent) !important;
	border-bottom-color: transparent;
}

code {
	background: var(--panel-2);
	border-color: var(--border);
	color: var(--accent);
}

hr, blockquote {
	border-color: var(--border);
}

/* Keyboard focus is always visible. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* Restore the scrollbar the template hides, styled to match. */
html { scrollbar-width: thin; scrollbar-color: var(--border) var(--bg); }
body::-webkit-scrollbar { display: block; width: 10px; }
body::-webkit-scrollbar-track { background: var(--bg); }
body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* Background ---------------------------------------------------------------- */

#wrapper > .bg {
	background-color: var(--bg);
	background-image:
		radial-gradient(ellipse at 50% 0%, rgba(63, 185, 80, 0.10), transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 100% 100%, 32px 32px, 32px 32px;
}

#wrapper.fade-in:before {
	background: var(--bg);
}

/* Intro: shell prompt with a blinking cursor. */
#intro h1 {
	font-size: 4rem;
	letter-spacing: -0.03em;
}

#intro h1:before {
	content: "> ";
	color: var(--accent);
}

#intro h1:after {
	content: "_";
	color: var(--accent);
	animation: cursor-blink 1.1s steps(1) infinite;
}

#intro p {
	color: var(--fg-muted);
	font-style: normal;
}

#intro p:before {
	content: "// ";
	color: var(--accent);
}

#intro .button {
	box-shadow: inset 0 0 0 1px var(--accent);
	color: var(--accent) !important;
}

@keyframes cursor-blink {
	50% { opacity: 0; }
}

@media screen and (max-width: 736px) {
	#intro h1 { font-size: 2.4rem; }
}

/* Header logo reads like a path. */
#header .logo {
	border: 1px solid var(--border);
	background: rgba(15, 20, 26, 0.8);
	border-radius: var(--radius);
	letter-spacing: 0;
	text-transform: none;
}

#header .logo:before {
	content: "~/";
	color: var(--accent);
}

/* Nav ----------------------------------------------------------------------- */

#nav {
	background: rgba(15, 20, 26, 0.85);
	border: 1px solid var(--border);
	border-bottom: 0;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

#nav ul.links li a {
	color: var(--fg-muted);
	letter-spacing: 0;
	text-transform: lowercase;
	font-weight: 500;
}

#nav ul.links li a:hover {
	background-color: var(--accent-soft);
	color: var(--fg-bold) !important;
}

#nav ul.links li.active {
	background-color: transparent;
	box-shadow: inset 0 -2px 0 var(--accent);
}

#nav ul.links li.active a {
	color: var(--accent);
}

#nav ul.links li.active a:before {
	content: "> ";
}

#nav ul.icons li a.icon:before {
	color: var(--fg-muted);
}

#nav ul.icons li a.icon:hover:before {
	color: var(--accent);
}

/* Main panels --------------------------------------------------------------- */

/* Each section is a pane floating above the background; the template's
   margins between them let the grid show through. */
#main > .post,
#main > .posts {
	background-color: var(--panel);
	border: 1px solid var(--border);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* Desktop: the nav bar is its own floating pane, separated from the content. */
@media screen and (min-width: 981px) {
	#nav {
		border: 1px solid var(--border);
		border-radius: var(--radius);
		margin-bottom: 2rem;
		overflow: hidden;
		box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
	}

	#main > .post:first-child {
		border-radius: var(--radius);
	}
}

#main > .posts {
	overflow: hidden;
}

#footer {
	border: 1px solid var(--border);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

#main > .post header.major > h1,
#main > .post header.major h2 {
	font-size: 2.75rem;
	letter-spacing: -0.02em;
}

#main > .post header.major > h1:before,
#main > .post header.major h2:before {
	content: "# ";
	color: var(--accent);
}

@media screen and (max-width: 736px) {
	#main > .post header.major > h1,
	#main > .post header.major h2 {
		font-size: 1.75rem;
	}
}

/* Dates read like code comments. */
.date,
header.major > .date {
	color: var(--fg-muted);
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.85rem;
}

.date:before {
	content: "// ";
	color: var(--accent);
}

header.major .date:before, header.major .date:after {
	border-top-color: var(--border);
}

header.major > .date:before {
	content: "";
}

/* Lists: accent markers, dividers in the border colour. */
#main ul:not(.actions):not(.icons) > li::marker {
	color: var(--accent);
}

ul.alt li, ul.divided li {
	border-top-color: var(--border);
}

/* Images get a thin frame. */
.image img {
	border-radius: var(--radius);
}

.image.main img, .image.fit img {
	border: 1px solid var(--border);
}

.image.left img {
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

/* Project cards as terminal windows. */
#main > .posts > article {
	position: relative;
	border-color: var(--border);
	background: var(--panel);
	transition: background-color 0.2s ease;
}

#main > .posts > article:hover {
	background: var(--panel-2);
}

#main > .posts > article:before {
	content: "";
	display: block;
	height: 12px;
	margin-bottom: 1.5rem;
	background:
		radial-gradient(circle, #ff5f57 5px, transparent 5.5px) 0 50% / 18px 12px no-repeat,
		radial-gradient(circle, #febc2e 5px, transparent 5.5px) 18px 50% / 18px 12px no-repeat,
		radial-gradient(circle, #28c840 5px, transparent 5.5px) 36px 50% / 18px 12px no-repeat;
	opacity: 0.85;
}

#main > .posts > article header h2 {
	font-size: 1.4rem;
}

#main > .posts > article header h2 a {
	color: var(--fg-bold);
}

/* Buttons ------------------------------------------------------------------- */

input[type="submit"], input[type="reset"], input[type="button"], button, .button {
	box-shadow: inset 0 0 0 1px var(--accent);
	color: var(--accent) !important;
	border-radius: var(--radius);
	letter-spacing: 0.02em;
	text-transform: lowercase;
	font-weight: 500;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, .button:hover {
	background-color: var(--accent);
	box-shadow: inset 0 0 0 1px var(--accent);
	color: var(--bg) !important;
}

.button:not(.icon):before {
	content: "$ ";
	opacity: 0.7;
}

/* Forms --------------------------------------------------------------------- */

input[type="text"], input[type="password"], input[type="email"], select, textarea {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--fg-bold);
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

::placeholder { color: var(--fg-muted) !important; }

/* Footer -------------------------------------------------------------------- */

#footer {
	background-color: var(--panel-2);
	color: var(--fg-muted);
}

#footer > section,
#footer > section.split > section {
	border-color: var(--border);
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
#footer label {
	color: var(--accent);
	letter-spacing: 0.02em;
	text-transform: lowercase;
}

#footer a {
	color: var(--fg);
}

#footer input[type="text"], #footer input[type="email"], #footer textarea {
	border-color: var(--border);
}

#footer input[type="submit"] {
	box-shadow: inset 0 0 0 1px var(--accent);
	color: var(--accent) !important;
}

#footer input[type="submit"]:hover {
	background-color: var(--accent);
	color: var(--bg) !important;
}

#footer ul.icons.alt li .icon:before,
ul.icons.alt li .icon:before {
	box-shadow: inset 0 0 0 1px var(--border);
	color: var(--fg-muted);
}

#footer ul.icons.alt li a.icon:hover:before,
ul.icons.alt li a.icon:hover:before {
	box-shadow: inset 0 0 0 1px var(--accent);
	color: var(--accent);
}

#copyright {
	color: var(--fg-muted);
	letter-spacing: 0;
	text-transform: none;
}

#copyright a {
	color: var(--fg-muted);
}

/* Mobile menu --------------------------------------------------------------- */

#navPanelToggle,
#navPanelToggle.alt {
	background-color: rgba(15, 20, 26, 0.9);
	border: 1px solid var(--border);
	color: var(--fg-bold);
	letter-spacing: 0;
	text-transform: lowercase;
	border-radius: var(--radius);
}

#navPanelToggle.alt:hover {
	background-color: var(--panel-2);
}

#navPanel {
	background: var(--panel);
	color: var(--fg);
	border-left: 1px solid var(--border);
}

#navPanel .links li {
	border-top: 1px solid var(--border);
}

/* Menu links match the desktop nav bar. */
#navPanel .links li a {
	border-bottom: 0;
	border-radius: var(--radius);
	color: var(--fg-muted);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0;
	padding: 0.75rem;
	text-transform: lowercase;
}

#navPanel .links li a:hover {
	background-color: var(--accent-soft);
	color: var(--fg-bold) !important;
}

#navPanel .links li.active a {
	color: var(--accent);
	box-shadow: inset 2px 0 0 var(--accent);
}

#navPanel .links li.active a:before {
	content: "> ";
}

#navPanel ul.icons li a.icon {
	border-bottom: 0;
	color: var(--fg-muted);
}

#navPanel .close {
	color: var(--fg-muted);
}

#navPanel .close:hover {
	color: var(--accent);
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
	#intro h1:after { animation: none; }
	#main > .posts > article { transition: none; }
}

/* One corner radius everywhere, matching the nav bar. */
#main,
#main > .post,
#main > .post:not(:first-of-type),
#main > .posts,
#footer,
#navPanelToggle,
.image,
.image img,
video.image,
#editor, #editor1,
.sketchfab-embed-wrapper iframe,
input[type="text"], input[type="password"], input[type="email"], select, textarea,
input[type="submit"], input[type="reset"], input[type="button"], button, .button,
input[type="submit"].icon.solo, input[type="reset"].icon.solo, input[type="button"].icon.solo, button.icon.solo, .button.icon.solo,
ul.icons li .icon:before {
	border-radius: var(--radius);
}

/* Current Role: full-bleed banner across the top of the pane, with the
   heading overlaid near its bottom edge on a fade into the pane colour. */
#main > .post.role {
	padding: 0;
	overflow: hidden;
}

.role-banner {
	position: relative;
	line-height: 0;
}

.role-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.role-banner:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--panel) 0%, rgba(15, 20, 26, 0.7) 14%, transparent 32%);
	pointer-events: none;
}

.role-banner header.major {
	position: absolute;
	left: 8rem;
	right: 8rem;
	bottom: 1.25rem;
	margin: 0;
	text-align: left;
	z-index: 1;
	line-height: 1.1;
}

.role-banner header.major h2 {
	margin: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.role-body {
	padding: 2.5rem 8rem 6rem 8rem;
}

@media screen and (max-width: 1280px) {
	.role-banner header.major { left: 4rem; right: 4rem; }
	.role-body { padding: 2.5rem 4rem 4rem 4rem; }
}

/* Phones: the banner is too short for an overlay, so the heading sits below it. */
@media screen and (max-width: 736px) {
	.role-banner:after { display: none; }

	.role-banner header.major {
		position: static;
		padding: 2rem 2rem 0 2rem;
		text-align: center;
	}

	.role-banner header.major h2 { text-shadow: none; }

	.role-body { padding: 1.5rem 2rem 2rem 2rem; }
}

/* Private space: passphrase form. */
.vault-form {
	max-width: 28rem;
	margin: 0 auto;
}

.vault-status {
	min-height: 1.9em;
	margin: 0;
	text-align: center;
	color: var(--fg-muted);
}

#main > .post:focus {
	outline: none;
}

.vault-form label {
	color: var(--accent);
	letter-spacing: 0.02em;
	text-transform: lowercase;
}

/* Hidden terminal (assets/js/custom.js). */
.term {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	width: min(42rem, calc(100% - 2rem));
	z-index: 20000;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
	font-family: var(--mono);
	font-size: 0.85rem;
	line-height: 1.6;
	overflow: hidden;
}

.term[hidden] {
	display: none;
}

.term-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0.75rem 0.5rem 5.25rem;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(circle, #ff5f57 5px, transparent 5.5px) 0.75rem 50% / 18px 12px no-repeat,
		radial-gradient(circle, #febc2e 5px, transparent 5.5px) calc(0.75rem + 18px) 50% / 18px 12px no-repeat,
		radial-gradient(circle, #28c840 5px, transparent 5.5px) calc(0.75rem + 36px) 50% / 18px 12px no-repeat,
		var(--panel-2);
}

.term-title {
	color: var(--fg-muted);
}

.term .term-close {
	background: none;
	box-shadow: none;
	color: var(--fg-muted) !important;
	font-size: 1.1rem;
	height: auto;
	line-height: 1;
	padding: 0.25rem 0.5rem;
}

.term .term-close:hover {
	background: var(--accent-soft);
	color: var(--fg-bold) !important;
}

.term-out {
	max-height: 14rem;
	overflow-y: auto;
	padding: 0.75rem 1rem 0 1rem;
	color: var(--fg);
	white-space: pre-wrap;
	word-break: break-word;
}

.term-text.term-echo { color: var(--fg-bold); }
.term-text.term-dim { color: var(--fg-muted); }
.term-text.term-ok { color: var(--accent); }
.term-text.term-err { color: #ff7b72; }

.term-line {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.5rem 1rem 0.75rem 1rem;
}

.term-line label {
	margin: 0;
	font-family: var(--mono);
	color: var(--accent);
	font-size: inherit;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.term .term-line input[type="text"] {
	flex: 1;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--fg-bold);
	font-size: inherit;
	line-height: inherit;
	caret-color: var(--accent);
}

/* Phones: sit at the top so the on-screen keyboard doesn't cover it. */
@media screen and (max-width: 736px) {
	.term {
		bottom: auto;
		top: 1rem;
	}
}

/* The prompt and caret already mark the terminal line, so no focus box. */
.term .term-line input[type="text"]:focus,
.term .term-line input[type="text"]:focus-visible {
	border: 0;
	box-shadow: none;
	outline: none;
}

/* Terminal tap targets: every tap should count, so no double-tap zoom,
   word selection or tap flash on them. */
#intro h1,
#copyright li {
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

/* Project groups (commercial / personal / academic): each is a posts grid
   with a full-width heading first, so card borders are keyed on card
   position (nth-of-type) rather than child position. */
#main > .posts.grouped > .group-title {
	width: 100%;
	margin: 0;
	padding: 4rem 4rem 2.5rem 4rem;
	border: 0;
	text-align: center;
}

#main > .posts.grouped > .group-title h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

#main > .posts.grouped > .group-title h2:before {
	content: "# ";
	color: var(--accent);
}

#main > .posts.grouped > .group-title p {
	color: var(--fg-muted);
	margin: 0;
}

#main > .posts.grouped > article {
	border-left-width: 2px;
	border-top-width: 2px;
}

#main > .posts.grouped > article:nth-of-type(2n - 1) {
	border-left-width: 0;
}

@media screen and (max-width: 736px) {
	#main > .posts.grouped > .group-title {
		padding: 2.5rem 2rem 1.5rem 2rem;
	}

	#main > .posts.grouped > .group-title h2 {
		font-size: 1.5rem;
	}

	#main > .posts.grouped > article:nth-of-type(n) {
		border-left-width: 0;
	}
}

/* Commercial cards have no images; the date line carries period and sector. */
#main > .posts > article.commercial p.tags {
	color: var(--fg-muted);
	font-size: 0.8rem;
	margin-bottom: 0;
}

#main > .posts > article.commercial p.tags:before {
	content: "$ tags: ";
	color: var(--accent);
}

/* Keep the same gap between consecutive project panes as between other panes. */
#main > .posts.grouped + .posts.grouped {
	margin-top: 3rem;
}

/* Private space: nav bar shown after unlocking (assets/js/vault.js). */
#main > .private-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 3rem 0;
	padding: 0 0.75rem 0 1.25rem;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
	font-family: var(--mono);
	overflow: hidden;
}

.private-nav-path {
	color: var(--accent);
	font-weight: 700;
	white-space: nowrap;
}

.private-nav ul {
	display: flex;
	flex: 1;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.private-nav ul::-webkit-scrollbar {
	display: none;
}

.private-nav li {
	padding: 0;
	flex-shrink: 0;
}

.private-nav li a {
	display: block;
	padding: 1rem 0.9rem;
	border-bottom: 0;
	color: var(--fg-muted);
	font-weight: 500;
	text-transform: lowercase;
	white-space: nowrap;
}

.private-nav li a:hover {
	background-color: var(--accent-soft);
	color: var(--fg-bold) !important;
}

.private-nav li.active a {
	color: var(--accent);
	box-shadow: inset 0 -2px 0 var(--accent);
}

.private-nav li.active a:before {
	content: "> ";
}

.private-nav .private-lock {
	flex-shrink: 0;
	height: auto;
	line-height: 1.6;
	padding: 0.35rem 0.9rem;
	font-size: 0.8rem;
}

.private-nav .private-lock:before {
	content: "$ ";
	opacity: 0.7;
}

@media screen and (max-width: 736px) {
	#main > .private-nav {
		gap: 0.5rem;
		padding-left: 1rem;
	}

	.private-nav-path {
		display: none;
	}

	.private-nav li a {
		padding: 0.9rem 0.45rem;
		font-size: 0.85rem;
	}

	.private-nav .private-lock {
		padding: 0.3rem 0.6rem;
		font-size: 0.75rem;
	}
}

/* Steam card on the private gaming page. */
.steam-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0 0 2.5rem 0;
	padding: 1.5rem;
	background: var(--panel-2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.steam-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 5rem;
	height: 5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg-bold);
	font-size: 2.5rem;
}

.steam-avatar img {
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
	object-fit: cover;
}

.steam-id h3 {
	margin: 0 0 0.25rem 0;
}

.steam-id p {
	margin: 0 0 0.75rem 0;
	color: var(--fg-muted);
}

.steam-id .actions {
	margin: 0;
}

.steam-stats h3:before {
	content: "## ";
	color: var(--accent);
}

.steam-pending {
	color: var(--fg-muted);
}

@media screen and (max-width: 736px) {
	.steam-card {
		flex-direction: column;
		text-align: center;
	}
}

/* Steam page: level bar, stat tiles and badge list. */
.steam-level {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	margin: 0 0 1rem 0;
	font-size: 0.85rem;
}

.steam-level-num {
	color: var(--accent);
	font-weight: 700;
}

.steam-level-bar {
	position: relative;
	display: inline-block;
	width: 9rem;
	height: 0.5rem;
	border-radius: var(--radius);
	background: var(--bg);
	border: 1px solid var(--border);
	overflow: hidden;
}

.steam-level-bar span {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--accent);
}

.steam-level-xp {
	color: var(--fg-muted);
}

.steam-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	list-style: none;
	margin: 0 0 2.5rem 0;
	padding: 0;
}

.steam-tiles li {
	padding: 1rem 0.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--panel-2);
	text-align: center;
}

.steam-tiles strong {
	display: block;
	color: var(--fg-bold);
	font-size: 1.6rem;
	line-height: 1.2;
}

.steam-tiles span {
	color: var(--fg-muted);
	font-size: 0.8rem;
}

#main ul.steam-badges {
	list-style: none;
	margin: 0;
	padding: 0;
}

.steam-badges li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1rem;
	padding: 0.6rem 0;
	border-top: 1px solid var(--border);
}

.steam-badges li:first-child {
	border-top: 0;
}

.steam-badge-name {
	color: var(--fg-bold);
}

.steam-badge-name em {
	color: var(--fg-muted);
	font-style: normal;
}

.steam-badge-meta {
	color: var(--fg-muted);
	font-size: 0.85rem;
}

@media screen and (max-width: 736px) {
	.steam-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.steam-level {
		justify-content: center;
	}
}

.steam-id ul.actions li {
	padding-left: 0;
}

.steam-badges li {
	align-items: baseline;
}

/* Activity pane: GitHub contribution graph and recent commits. */
.gh-graph {
	overflow-x: auto;
	margin: 0 0 0.75rem 0;
	padding: 1rem;
	background: var(--panel-2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	line-height: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--border) transparent;
}

.gh-graph svg,
.gh-graph img {
	display: block;
	max-width: none;
	margin: 0 auto;
}

.gh-caption {
	color: var(--fg-muted);
	font-size: 0.85rem;
	margin-bottom: 2.5rem;
}

.gh-log {
	margin: 0 0 2rem 0;
	padding: 1rem 1.25rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.85rem;
}

.gh-cmd {
	margin: 0 0 0.5rem 0;
	color: var(--fg-bold);
}

.gh-cmd:before {
	content: "$ ";
	color: var(--accent);
}

#main ol.gh-commits {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gh-commits li {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	padding: 0.3rem 0;
	line-height: 1.6;
}

.gh-sha {
	flex-shrink: 0;
	color: #e3b341;
	border-bottom: 0;
}

.gh-msg {
	flex: 1;
	min-width: 0;
	color: var(--fg);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gh-when {
	flex-shrink: 0;
	color: var(--fg-muted);
}

.gh-status {
	color: var(--fg-muted);
	margin: 0;
}

@media screen and (max-width: 736px) {
	.gh-commits li {
		flex-wrap: wrap;
		gap: 0 0.75rem;
		padding: 0.45rem 0;
	}

	.gh-msg {
		flex-basis: 100%;
		order: 3;
		white-space: normal;
	}
}
