.patchnotes-body {
	min-height: 100vh;
	background:
		radial-gradient(circle at 18% 8%, rgba(80, 236, 210, 0.18), transparent 34%),
		radial-gradient(circle at 90% 18%, rgba(245, 196, 83, 0.12), transparent 30%),
		linear-gradient(135deg, #020607 0%, #061315 42%, #020304 100%);
	color: #dceee8;
}

.patchnotes-shell {
	width: min(1180px, calc(100vw - 32px));
	margin: 0 auto;
	padding: calc(var(--nav-h, 56px) + 34px) 0 56px;
}

.patchnotes-hero {
	position: relative;
	padding: 28px;
	border: 1px solid rgba(90, 234, 219, 0.35);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(5, 22, 24, 0.92), rgba(2, 6, 8, 0.9)),
		rgba(2, 8, 10, 0.86);
	box-shadow:
		inset 0 0 30px rgba(90, 234, 219, 0.12),
		0 0 34px rgba(0, 0, 0, 0.38);
	overflow: hidden;
}

.patchnotes-hero::after {
	content: "";
	position: absolute;
	inset: auto 24px 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(243, 211, 107, 0.9), transparent);
}

.patchnotes-kicker {
	margin: 0 0 8px;
	color: #f3d36b;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.patchnotes-hero h1 {
	margin: 0;
	color: #8fffe3;
	font-size: clamp(32px, 6vw, 62px);
	line-height: 0.95;
	text-transform: uppercase;
	text-shadow: 0 0 18px rgba(90, 234, 219, 0.32);
}

.patchnotes-hero p:last-child {
	max-width: 780px;
	margin: 16px 0 0;
	color: rgba(220, 238, 232, 0.82);
	font-size: 15px;
	line-height: 1.6;
}

.patchnotes-layout {
	display: grid;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	gap: 18px;
	margin-top: 18px;
}

.patchnotes-list-panel,
.patchnote-detail {
	min-height: 540px;
	border: 1px solid rgba(90, 234, 219, 0.32);
	border-radius: 22px;
	background:
		radial-gradient(circle at top, rgba(90, 234, 219, 0.09), transparent 36%),
		rgba(2, 8, 10, 0.86);
	box-shadow: inset 0 0 22px rgba(90, 234, 219, 0.08);
}

.patchnotes-list-panel {
	padding: 16px;
}

.patchnotes-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.patchnotes-list-header h2,
.patchnote-detail h2 {
	margin: 0;
	color: #8fffe3;
	font-size: 18px;
	text-transform: uppercase;
}

#patchnotesUnreadCounter,
.patchnote-unread-badge {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(243, 211, 107, 0.72);
	border-radius: 999px;
	background: rgba(243, 211, 107, 0.12);
	color: #ffe89c;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

#patchnotesUnreadCounter {
	padding: 5px 8px;
}

.patchnote-unread-badge {
	padding: 3px 7px;
}

.patchnotes-list {
	display: grid;
	gap: 10px;
	max-height: 690px;
	overflow: auto;
	padding-right: 4px;
}

.patchnote-list-card {
	width: 100%;
	padding: 13px;
	border: 1px solid rgba(90, 234, 219, 0.22);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(2, 15, 17, 0.94), rgba(2, 4, 5, 0.94));
	color: #dceee8;
	text-align: left;
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.patchnote-list-card:hover,
.patchnote-list-card.active {
	border-color: rgba(90, 234, 219, 0.72);
	box-shadow: 0 0 18px rgba(90, 234, 219, 0.18);
	transform: translateY(-1px);
}

.patchnote-list-card.unread {
	border-color: rgba(243, 211, 107, 0.44);
}

.patchnote-list-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.patchnote-list-top strong {
	color: #f3d36b;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.patchnote-list-date {
	display: block;
	margin-top: 5px;
	color: rgba(220, 238, 232, 0.58);
	font-size: 11px;
}

.patchnote-list-title {
	display: block;
	margin-top: 8px;
	color: #ffffff;
	font-weight: 800;
}

.patchnote-list-card p {
	margin: 7px 0 0;
	color: rgba(220, 238, 232, 0.74);
	font-size: 12px;
	line-height: 1.45;
}

.patchnote-detail {
	padding: 24px;
	overflow: hidden;
}

.patchnote-detail-header {
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(90, 234, 219, 0.24);
}

.patchnote-detail-version {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 6px 10px;
	border: 1px solid rgba(243, 211, 107, 0.55);
	border-radius: 999px;
	color: #ffe89c;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.patchnote-detail-header h2 {
	font-size: clamp(24px, 4vw, 42px);
	line-height: 1.05;
}

.patchnote-detail-header p {
	max-width: 740px;
	color: rgba(220, 238, 232, 0.82);
	line-height: 1.6;
}

.patchnote-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: rgba(220, 238, 232, 0.62);
	font-size: 12px;
}

.patchnote-detail-meta a {
	color: #8fffe3;
}

.patchnote-detail-content {
	max-height: 620px;
	overflow: auto;
	margin-top: 18px;
	padding-right: 10px;
	color: rgba(244, 255, 251, 0.9);
	font-size: 14px;
	line-height: 1.72;
	scrollbar-color: rgba(90, 234, 219, 0.5) rgba(2, 8, 10, 0.65);
}

.patchnote-content-heading {
	position: relative;
	margin: 24px 0 12px;
	padding: 13px 16px;
	border: 1px solid rgba(90, 234, 219, 0.28);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(90, 234, 219, 0.12), rgba(243, 211, 107, 0.05)),
		rgba(2, 11, 13, 0.82);
	color: #8fffe3;
	font-size: 17px;
	line-height: 1.25;
	box-shadow: inset 0 0 16px rgba(90, 234, 219, 0.08);
}

.patchnote-content-heading:first-child {
	margin-top: 0;
}

.patchnote-content-subheading {
	margin: 18px 0 8px;
	color: #ffe89c;
	font-size: 15px;
}

.patchnote-content-paragraph {
	margin: 0 0 14px;
	color: rgba(244, 255, 251, 0.88);
}

.patchnote-content-list {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.patchnote-content-list li {
	position: relative;
	padding: 10px 12px 10px 30px;
	border: 1px solid rgba(90, 234, 219, 0.12);
	border-radius: 13px;
	background: rgba(3, 15, 17, 0.56);
	color: rgba(244, 255, 251, 0.88);
}

.patchnote-content-list li::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 13px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f3d36b;
	box-shadow: 0 0 10px rgba(243, 211, 107, 0.55);
}

.patchnotes-empty-detail,
.patchnotes-loading {
	display: grid;
	place-items: center;
	min-height: 220px;
	color: rgba(220, 238, 232, 0.68);
	text-align: center;
}

.patchnotes-empty-detail {
	align-content: center;
	min-height: 490px;
}

.patchnotes-empty-detail p {
	margin: 8px 0 0;
}

@media (max-width: 860px) {
	.patchnotes-shell {
		width: min(100vw - 20px, 720px);
		padding-top: calc(var(--nav-h, 48px) + 18px);
	}

	.patchnotes-hero {
		padding: 22px;
	}

	.patchnotes-layout {
		grid-template-columns: 1fr;
	}

	.patchnotes-list-panel,
	.patchnote-detail {
		min-height: auto;
	}

	.patchnotes-list {
		max-height: 420px;
	}

	.patchnote-detail-content {
		max-height: none;
	}
}
