.mx {
	--mx-ink: #f5ecdc;
	--mx-dim: #d2c0a2;
	--mx-faint: #a99476;
	--mx-gold: #e8c47e;
	--mx-gold-deep: #b98a3e;
	--mx-cream: #f6dcaa;
	--mx-red: #8e2416;
	--mx-red-deep: #5e140b;
	--mx-line: rgba(232, 196, 126, 0.3);
	--mx-line-strong: rgba(232, 196, 126, 0.5);
	--mx-card: linear-gradient(170deg, rgba(40, 29, 20, 0.96) 0%, rgba(24, 17, 12, 0.97) 100%);
	--mx-card-flat: rgba(36, 23, 12, 0.92);
	--mx-radius: 14px;
	--mx-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
	--mx-mono: Consolas, "Cascadia Mono", "Lucida Console", monospace;
	color: var(--mx-ink);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 0;
	text-shadow: none;
	padding: 18px 16px 8px 16px;
}

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

.mx p {
	margin: 0 0 12px 0;
}

.mx a.mx-link:link, .mx a.mx-link:visited {
	color: var(--mx-gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(236, 199, 127, 0.4);
}

.mx a.mx-link:hover {
	color: #fff2d6;
	border-bottom-color: var(--mx-gold);
}

.mx-eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: bold;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mx-gold);
	margin-bottom: 6px;
}

.mx-h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	line-height: 1.2;
	font-weight: bold;
	letter-spacing: 0.01em;
	color: var(--mx-cream);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
	margin: 0 0 12px 0;
}

.mx h2.mx-hero-title {
	font-size: 40px;
	line-height: 1.12;
	margin-bottom: 10px;
}

.mx-hero-sub {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	line-height: 1.4;
	font-weight: bold;
	color: var(--mx-gold);
	margin: 0 0 16px 0 !important;
}

.mx a.mx-eyebrow:link, .mx a.mx-eyebrow:visited {
	color: var(--mx-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	scroll-margin-top: 12px;
}

.mx a.mx-eyebrow:hover {
	border-bottom-color: var(--mx-gold);
}

.mx a.mx-eyebrow::after {
	content: " #";
	opacity: 0;
	transition: opacity 0.2s ease;
}

.mx a.mx-eyebrow:hover::after {
	opacity: 1;
}

.mx-h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1.25;
	font-weight: bold;
	color: var(--mx-cream);
	margin: 0;
}

.mx-lead {
	font-size: 18.5px;
	color: var(--mx-ink);
}

.mx-dim {
	color: var(--mx-dim);
}

.mx-small {
	font-size: 14px;
	color: var(--mx-dim);
}

.mx-panel {
	background: var(--mx-card);
	border: 1px solid var(--mx-line);
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow), inset 0 1px 0 rgba(255, 233, 190, 0.08);
}

.mx-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 26px;
	padding: 28px 30px;
	background:
		radial-gradient(620px 260px at 0% 0%, rgba(232, 196, 126, 0.1), transparent 70%),
		var(--mx-card);
}

.mx-hero::before {
	content: "";
	position: absolute;
	left: 30px;
	right: 30px;
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--mx-gold), transparent);
	opacity: 0.7;
}

.mx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.mx-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	font-size: 14px;
	color: var(--mx-ink);
	background: rgba(255, 236, 200, 0.05);
	border: 1px solid var(--mx-line);
	border-radius: 999px;
	white-space: nowrap;
}

.mx-chip::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mx-gold);
	box-shadow: 0 0 8px rgba(236, 199, 127, 0.8);
}

.mx-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-content: center;
}

.mx-stat {
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid var(--mx-line);
}

.mx-stat.wide {
	grid-column: 1 / -1;
}

.mx-stat-num {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	line-height: 1.1;
	font-weight: bold;
	color: var(--mx-gold);
	text-shadow: 0 0 18px rgba(236, 199, 127, 0.25);
}

.mx-stat-label {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	color: var(--mx-dim);
}

.mx-section {
	margin-top: 34px;
}

.mx-section-head {
	margin-bottom: 16px;
}

.mx-section-head .mx-h2 {
	margin-bottom: 4px;
}

.mx-grid {
	display: grid;
	gap: 16px;
}

.mx-grid.games {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mx-grid.features {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mx-grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mx-game {
	display: flex;
	flex-direction: column;
}

.mx-art {
	position: relative;
	height: 156px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--mx-line);
	background: #120b05;
}

.mx-art::before {
	content: "";
	position: absolute;
	inset: -24px;
	background-image: var(--art);
	background-size: cover;
	background-position: center;
	filter: blur(14px) brightness(0.5) saturate(1.15);
}

.mx-art::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(18, 11, 5, 0.65));
}

.mx-art img {
	position: relative;
	z-index: 1;
	max-width: 88%;
	max-height: 128px;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.mx-tag {
	position: absolute;
	z-index: 3;
	top: 10px;
	right: 10px;
	padding: 3px 10px;
	font-size: 11.5px;
	font-weight: bold;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2a1a0b;
	background: linear-gradient(180deg, #f6dca3, #d9ad5e);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.mx-game-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px 20px;
}

.mx-game-sub {
	font-size: 14.5px;
	color: var(--mx-gold);
	margin: 2px 0 12px 0;
}

.mx-game-body p {
	font-size: 15.5px;
	color: var(--mx-ink);
}

.mx-meta {
	margin: 4px 0 16px 0;
	padding: 10px 0 0 0;
	border-top: 1px solid var(--mx-line);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 5px 14px;
	font-size: 14px;
}

.mx-meta dt {
	color: var(--mx-faint);
	margin: 0;
}

.mx-meta dd {
	color: var(--mx-ink);
	margin: 0;
	text-align: right;
}

.mx-push {
	margin-top: auto;
}

.mx a.mx-btn, .mx a.mx-btn:link, .mx a.mx-btn:visited {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: bold;
	color: #fdebc8;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	background: linear-gradient(180deg, #a5321f 0%, var(--mx-red) 48%, var(--mx-red-deep) 100%);
	border: 1px solid rgba(255, 214, 150, 0.38);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 220, 170, 0.25), 0 6px 16px rgba(0, 0, 0, 0.4);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
	cursor: url('/assets/img/ee2cursorbydrmonalisaselect.png') 6 15, pointer;
}

.mx a.mx-btn:hover {
	transform: scale(1.015);
	filter: brightness(1.08);
	box-shadow: inset 0 1px 0 rgba(255, 220, 170, 0.3), 0 0 0 1px rgba(236, 199, 127, 0.35), 0 0 22px rgba(236, 120, 70, 0.35), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.mx a.mx-btn:active {
	transform: scale(0.99);
}

.mx-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.mx-btn-note {
	display: block;
	margin-top: 8px;
	text-align: center;
	font-size: 13px;
	color: var(--mx-faint);
}

.mx-feature {
	padding: 20px 20px 18px 20px;
}

.mx-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	margin-bottom: 12px;
	color: var(--mx-gold);
	background: radial-gradient(circle at 30% 25%, rgba(236, 199, 127, 0.22), rgba(236, 199, 127, 0.05));
	border: 1px solid var(--mx-line-strong);
}

.mx-icon svg {
	width: 24px;
	height: 24px;
}

.mx-feature h4 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--mx-cream);
	margin: 0 0 8px 0;
	text-shadow: none;
}

.mx-feature p {
	font-size: 15px;
	color: var(--mx-ink);
	margin: 0;
}

.mx-ladder {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding: 24px;
	counter-reset: mxstep;
}

.mx-step {
	position: relative;
	padding: 0 4px;
}

.mx-step-dot {
	position: relative;
	z-index: 1;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: bold;
	font-size: 18px;
	color: #2a1a0b;
	background: linear-gradient(180deg, #f6dca3, #c9974a);
	box-shadow: 0 0 0 4px rgba(236, 199, 127, 0.12), 0 4px 10px rgba(0, 0, 0, 0.45);
	margin-bottom: 12px;
}

.mx-step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 48px;
	right: -10px;
	height: 2px;
	background: linear-gradient(90deg, var(--mx-gold), rgba(236, 199, 127, 0.15));
}

.mx-step.relay .mx-step-dot {
	color: #fdebc8;
	background: linear-gradient(180deg, #b23a24, var(--mx-red-deep));
	box-shadow: 0 0 0 4px rgba(178, 58, 36, 0.18), 0 4px 10px rgba(0, 0, 0, 0.45);
}

.mx-step h4 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.3;
	color: var(--mx-cream);
	margin: 0 0 6px 0;
	text-shadow: none;
}

.mx-step p {
	font-size: 14.5px;
	color: var(--mx-ink);
	margin: 0;
}

.mx-ladder-foot {
	grid-column: 1 / -1;
	padding-top: 14px;
	border-top: 1px solid var(--mx-line);
	font-size: 14.5px;
	color: var(--mx-dim);
}

.mx-tablewrap {
	overflow-x: auto;
	padding: 6px 4px;
}

.mx-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.mx-table th {
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mx-faint);
	padding: 12px 14px 10px 14px;
	border-bottom: 1px solid var(--mx-line-strong);
	white-space: nowrap;
}

.mx-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--mx-line);
	vertical-align: middle;
}

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

.mx-table tbody tr {
	transition: background 0.2s ease;
}

.mx-table tbody tr:hover {
	background: rgba(236, 199, 127, 0.05);
}

.mx-file {
	font-family: var(--mx-mono);
	font-size: 14.5px;
	color: var(--mx-cream);
	white-space: nowrap;
}

.mx-hash {
	font-family: var(--mx-mono);
	font-size: 14px;
	color: var(--mx-ink);
	white-space: nowrap;
}

.mx-sha {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mx-sha code {
	font-family: var(--mx-mono);
	font-size: 13.5px;
	color: var(--mx-dim);
	max-width: 190px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
}

.mx-copy {
	flex: none;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	padding: 3px 9px;
	color: var(--mx-gold);
	background: rgba(236, 199, 127, 0.08);
	border: 1px solid var(--mx-line-strong);
	border-radius: 999px;
	cursor: url('/assets/img/ee2cursorbydrmonalisaselect.png') 6 15, pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mx-copy:hover {
	background: rgba(236, 199, 127, 0.18);
	box-shadow: 0 0 10px rgba(236, 199, 127, 0.3);
}

.mx-copy.done {
	color: #9be29b;
	border-color: rgba(155, 226, 155, 0.5);
}

.mx-pill {
	display: inline-block;
	padding: 2px 9px;
	font-size: 12.5px;
	border-radius: 999px;
	color: var(--mx-ink);
	background: rgba(255, 236, 200, 0.07);
	border: 1px solid var(--mx-line);
	white-space: nowrap;
}

.mx-files-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border-top: 1px solid var(--mx-line);
	font-size: 14px;
	color: var(--mx-dim);
}

.mx-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: mxinstall;
}

.mx-steps li {
	position: relative;
	padding: 0 0 14px 44px;
	font-size: 15.5px;
	counter-increment: mxinstall;
}

.mx-steps li::before {
	content: counter(mxinstall);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: bold;
	font-size: 15px;
	color: #2a1a0b;
	background: linear-gradient(180deg, #f6dca3, #c9974a);
}

.mx-steps li:last-child {
	padding-bottom: 0;
}

.mx-install {
	padding: 22px 22px 20px 22px;
}

.mx-install .mx-h3 {
	margin-bottom: 14px;
}

.mx-install-foot {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--mx-line);
	font-size: 14px;
	color: var(--mx-dim);
}

.mx code.mx-inline {
	font-family: var(--mx-mono);
	font-size: 0.92em;
	color: var(--mx-cream);
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--mx-line);
	border-radius: 6px;
	padding: 1px 6px;
	white-space: nowrap;
}

.mx-faq {
	padding: 6px 22px;
}

.mx-faq details {
	border-bottom: 1px solid var(--mx-line);
}

.mx-faq details:last-child {
	border-bottom: 0;
}

.mx-faq summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: bold;
	color: var(--mx-cream);
	cursor: url('/assets/img/ee2cursorbydrmonalisaselect.png') 6 15, pointer;
}

.mx-faq summary::-webkit-details-marker {
	display: none;
}

.mx-chev {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--mx-gold);
	transition: transform 0.25s ease, filter 0.2s ease;
}

.mx-faq summary:hover .mx-chev {
	transform: scale(1.15);
	filter: drop-shadow(0 0 6px rgba(236, 199, 127, 0.7));
}

.mx-faq details[open] .mx-chev {
	transform: rotate(180deg);
}

.mx-faq details[open] summary:hover .mx-chev {
	transform: rotate(180deg) scale(1.15);
}

.mx-faq-body {
	padding: 0 0 16px 0;
	font-size: 15.5px;
	color: var(--mx-ink);
}

.mx-faq-body p:last-child {
	margin-bottom: 0;
}

.mx-paper {
	color: rgba(60, 41, 42, 1);
	background-image: url('/assets/img/subpanel_background_paper.png');
	background-repeat: repeat;
	border: 1px solid #9d773b;
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 18px 22px;
	font-size: 15.5px;
}

.mx-paper a.mx-link:link, .mx-paper a.mx-link:visited {
	color: #731a12;
	border-bottom-color: rgba(115, 26, 18, 0.45);
}

.mx-paper a.mx-link:hover {
	color: #a12a1b;
}

.mx-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 34px;
}

.mx-footer p {
	margin: 0;
}

@media (max-width: 1000px) {
	.mx-grid.games {
		grid-template-columns: minmax(0, 1fr);
	}
	.mx-grid.features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mx-game {
		display: grid;
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	}
	.mx-art {
		height: auto;
		min-height: 190px;
		border-bottom: 0;
		border-right: 1px solid var(--mx-line);
	}
	.mx-ladder {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 22px;
	}
	.mx-step:nth-child(2)::before {
		display: none;
	}
}

@media (max-width: 760px) {
	.mx {
		font-size: 16px;
		padding: 12px 4px 4px 4px;
	}
	.mx-hero {
		grid-template-columns: minmax(0, 1fr);
		padding: 22px 18px;
	}
	.mx-h2 {
		font-size: 25px;
	}
	.mx h2.mx-hero-title {
		font-size: 30px;
	}
	.mx-hero-sub {
		font-size: 17px;
	}
	.mx-lead {
		font-size: 16.5px;
	}
	.mx-game {
		display: flex;
	}
	.mx-art {
		height: 140px;
		min-height: 0;
		border-right: 0;
		border-bottom: 1px solid var(--mx-line);
	}
	.mx-grid.two, .mx-grid.features {
		grid-template-columns: minmax(0, 1fr);
	}
	.mx-ladder {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px 18px;
	}
	.mx-step {
		padding-left: 54px;
	}
	.mx-step-dot {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mx-step:not(:last-child)::before {
		display: block;
		top: 44px;
		bottom: -18px;
		left: 19px;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, var(--mx-gold), rgba(236, 199, 127, 0.15));
	}
	.mx-chip {
		white-space: normal;
	}
	.mx-tablewrap {
		padding: 0;
	}
	.mx-table thead {
		display: none;
	}
	.mx-table, .mx-table tbody, .mx-table tr, .mx-table td {
		display: block;
		width: 100%;
	}
	.mx-table tr {
		padding: 12px 16px;
		border-bottom: 1px solid var(--mx-line);
	}
	.mx-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 4px 0;
		border-bottom: 0;
	}
	.mx-table td:first-child {
		display: block;
		padding-bottom: 8px;
	}
	.mx-table td[data-label]::before {
		content: attr(data-label);
		flex: none;
		font-size: 12px;
		font-weight: bold;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--mx-faint);
	}
	.mx-sha code {
		max-width: 150px;
	}
}

.mx .mx-ladder .mx-step.relay::before {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mx *, .mx *::before, .mx *::after {
		transition: none !important;
	}
}
