:root {
	--c0ld-bg: #08131f;
	--c0ld-bg-deep: #050d16;
	--c0ld-surface: rgba(20, 39, 59, 0.78);
	--c0ld-surface-raised: rgba(27, 49, 72, 0.9);
	--c0ld-surface-soft: rgba(125, 158, 188, 0.08);
	--c0ld-line: rgba(164, 190, 214, 0.16);
	--c0ld-line-strong: rgba(164, 190, 214, 0.28);
	--c0ld-text: #eef3f7;
	--c0ld-muted: #9eafc0;
	--c0ld-link: #c8d9e7;
	--c0ld-accent: #d3a45e;
	--c0ld-content: 64rem;
	color-scheme: dark;
}

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

html {
	min-width: 0;
	background: var(--c0ld-bg-deep);
	-webkit-text-size-adjust: 100%;
}

body {
	min-width: 0;
	min-height: 100vh;
	margin: 0;
	overflow-x: hidden;
	color: var(--c0ld-text);
	background:
		radial-gradient(52rem 30rem at 50% -8rem, rgba(93, 132, 168, 0.18), transparent 72%),
		radial-gradient(36rem 28rem at 7% 36%, rgba(49, 83, 116, 0.09), transparent 75%),
		linear-gradient(180deg, #0b1927 0, var(--c0ld-bg) 34rem, var(--c0ld-bg-deep) 100%);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
}

font,
th,
td,
p {
	font-family: inherit;
}

.site-atmosphere {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(28rem 18rem at 84% 20%, rgba(107, 143, 177, 0.055), transparent 72%),
		radial-gradient(24rem 20rem at 18% 72%, rgba(75, 109, 141, 0.045), transparent 76%);
}

.site-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	padding-bottom: clamp(2rem, 6vw, 4.5rem);
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 50%;
	z-index: 2000;
	padding: 0.65rem 0.95rem;
	color: #102033;
	background: #fff;
	border-radius: 999px;
	font-weight: 700;
	transform: translate(-50%, -200%);
}

.skip-link:focus {
	transform: translate(-50%, 0);
}

.site-header,
.site-content,
.site-footer {
	width: min(calc(100% - 2rem), var(--c0ld-content));
	margin-right: auto;
	margin-left: auto;
}

.site-header {
	position: relative;
	padding: 4.25rem 0 3.4rem;
	text-align: center;
}

.site-status {
	position: absolute;
	top: 1rem;
	left: 50%;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0.3rem 0.7rem;
	color: var(--c0ld-muted);
	background: rgba(9, 23, 36, 0.5);
	border: 1px solid rgba(164, 190, 214, 0.1);
	border-radius: 999px;
	font-size: 0.7rem;
	line-height: 1.4;
	white-space: nowrap;
	transform: translateX(-50%);
}

.site-status__label {
	color: #8297aa;
}

.site-status__readout {
	color: #bac9d5;
	font-variant-numeric: tabular-nums;
}

.brand-panel {
	display: block;
	width: auto;
	min-height: 0;
	margin: 0 auto;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

.brand-panel::before,
.brand-panel::after {
	display: none;
}

.site-logo {
	display: block;
	width: auto;
	max-width: min(100%, 20rem);
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 1.25rem 2.4rem rgba(0, 0, 0, 0.34));
}

.site-tagline {
	margin: 0.9rem auto 0;
	color: var(--c0ld-muted);
	font-size: clamp(0.86rem, 1.6vw, 0.95rem);
	letter-spacing: 0.01em;
}

.site-primary-nav {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	margin-top: 1.35rem;
	padding: 0.28rem;
	background: rgba(18, 36, 54, 0.64);
	border: 1px solid var(--c0ld-line);
	border-radius: 999px;
	box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.16);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.site-primary-nav a {
	padding: 0.5rem 0.88rem;
	color: var(--c0ld-muted);
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 150ms ease, background-color 150ms ease;
}

.site-primary-nav a:hover,
.site-primary-nav a:focus-visible {
	color: #fff;
	background: rgba(145, 177, 205, 0.12);
}

.site-content {
	outline: none;
}

a {
	text-underline-offset: 0.2em;
}

a:link,
a:visited {
	color: var(--c0ld-link);
}

a:hover {
	color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--c0ld-accent);
	outline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

iframe,
object,
embed,
applet,
video {
	max-width: 100%;
}

pre,
.code {
	max-width: 100%;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.site-content table {
	max-width: 100%;
}

.site-content table[width="480"],
.site-content table[width="500"],
.site-content table[width="700"],
.site-content table[width="750"],
.site-content table[width="765"],
.site-content table[width="1000"] {
	width: 100% !important;
}

.site-content table[align="center"] {
	margin-right: auto;
	margin-left: auto;
}

.site-content td,
.site-content th {
	min-width: 0;
	overflow-wrap: anywhere;
}

.site-content td[nowrap],
.site-content th[nowrap] {
	white-space: normal;
}

.site-content .bodyline {
	padding: 0 !important;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.site-content .forumline {
	overflow: hidden;
	background: var(--c0ld-surface);
	border: 1px solid var(--c0ld-line);
	border-radius: 1rem;
	box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.2);
}

.site-content .forumline td {
	padding: clamp(1rem, 3vw, 1.4rem);
	background: transparent;
}

.site-content th,
.site-content td.cat,
.site-content td.catHead,
.site-content td.catSides,
.site-content td.catLeft,
.site-content td.catRight,
.site-content td.catBottom {
	height: auto;
	padding: 0.95rem 1.25rem;
	color: #dce6ee;
	background: var(--c0ld-surface-soft);
	background-image: none;
	border: 0;
	font-size: 0.82rem;
	letter-spacing: 0.01em;
}

.postbody,
.gen,
.genmed {
	color: var(--c0ld-text);
	font-size: clamp(0.94rem, 1.6vw, 1rem);
	line-height: 1.72;
}

.gensmall,
.postdetails {
	color: var(--c0ld-muted);
	font-size: 0.8rem;
	line-height: 1.6;
}

.cattitle,
.forumlink,
.nav,
.topictitle,
.mainmenu {
	font-size: 0.82rem;
}

.site-content ol,
.site-content ul {
	padding-left: clamp(1.25rem, 4vw, 2.25rem);
}

.site-content li + li {
	margin-top: 0.3rem;
}

input,
textarea,
select,
button {
	max-width: 100%;
	font: inherit;
}

input.post,
textarea.post,
select {
	padding: 0.65rem 0.75rem;
	color: var(--c0ld-text);
	background: rgba(11, 28, 43, 0.82);
	border: 1px solid var(--c0ld-line-strong);
	border-radius: 0.6rem;
}

input.button,
input.mainoption,
input.liteoption,
button {
	min-height: 2.6rem;
	padding: 0.55rem 0.9rem;
	color: #fff;
	background: rgba(66, 94, 119, 0.72);
	border: 1px solid var(--c0ld-line-strong);
	border-radius: 0.65rem;
	cursor: pointer;
}

.section-intro {
	max-width: 46rem;
	margin: 0 0 2rem;
	padding: 0;
	background: transparent;
	border: 0;
}

.section-intro__eyebrow {
	margin: 0 0 0.45rem;
	color: var(--c0ld-accent);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.025em;
}

.section-intro h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.25rem, 6vw, 3.7rem);
	font-weight: 670;
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.section-intro__summary {
	max-width: 39rem;
	margin: 0.85rem 0 0;
	color: var(--c0ld-muted);
	font-size: clamp(0.98rem, 1.8vw, 1.08rem);
	line-height: 1.65;
}

.news-feed {
	display: grid;
	gap: 1.25rem;
}

.news-card {
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%),
		var(--c0ld-surface-raised);
	border: 1px solid var(--c0ld-line);
	border-radius: 1.1rem;
	box-shadow: 0 1.35rem 3.6rem rgba(0, 0, 0, 0.2);
	transition: border-color 160ms ease, transform 160ms ease;
}

.news-card:hover {
	border-color: var(--c0ld-line-strong);
	transform: translateY(-1px);
}

.news-card__header {
	display: block;
	padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1.25rem, 3vw, 1.7rem) 0.2rem;
	background: transparent;
	border: 0;
}

.news-card__title {
	margin: 0;
	font-size: clamp(1.28rem, 2.7vw, 1.55rem);
	font-weight: 660;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.news-card__title a {
	color: #fff;
	text-decoration: none;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	margin: 0.45rem 0 0;
	color: var(--c0ld-muted);
	font-size: 0.79rem;
	line-height: 1.5;
}

.news-card__meta a {
	text-decoration: none;
}

.news-card__meta time {
	font-variant-numeric: tabular-nums;
}

.news-card__body {
	box-sizing: border-box;
	width: min(100%, 52rem);
	padding: 0.8rem clamp(1.25rem, 3vw, 1.7rem) clamp(1.25rem, 3vw, 1.65rem);
}

.news-card__body > * {
	max-width: 70ch;
}

.news-card__body > :first-child {
	margin-top: 0;
}

.news-card__body > :last-child {
	margin-bottom: 0;
}

.news-card__comments,
.archive-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 0;
	padding: 0.2rem 0;
	font-size: 0.83rem;
	font-weight: 650;
	text-decoration: none;
	border: 0;
}

.news-card__comments span,
.archive-link span {
	transition: transform 150ms ease;
}

.news-card__comments:hover span,
.archive-link:hover span {
	transform: translateX(0.2rem);
}

.news-archive {
	margin: 0.35rem 0 0;
	text-align: right;
}

.legacy-ad {
	width: 0;
	height: 0;
	overflow: hidden;
}

.community-status {
	margin-top: 1.4rem;
	overflow: hidden;
	background: rgba(17, 35, 53, 0.62);
	border: 1px solid var(--c0ld-line);
	border-radius: 1rem;
}

.community-status__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.2rem 1.35rem 0;
	background: transparent;
	border: 0;
}

.community-status__header p {
	margin: 0 0 0.15rem;
	color: #7f96aa;
	font-size: 0.72rem;
	font-weight: 600;
}

.community-status__header h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.community-status__header a {
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.community-status__body {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 1rem 1.35rem 1.25rem;
}

.community-status__body img {
	width: 2.25rem;
	opacity: 0.62;
}

.community-status__body p {
	margin: 0;
}

.community-status__online {
	grid-column: 1 / -1;
	padding-top: 0.85rem;
	border-top: 1px solid var(--c0ld-line);
}

.project-page {
	display: block;
	width: 100%;
	table-layout: fixed;
}

.project-page > tbody,
.project-page > tbody > tr,
.project-page > tbody > tr > td,
.project-page .forumline,
.project-page .forumline > tbody,
.project-page .forumline > tbody > tr,
.project-page .forumline > tbody > tr > th,
.project-page .forumline > tbody > tr > td {
	display: block;
	width: 100% !important;
}

.project-page table {
	width: 100% !important;
	table-layout: fixed;
}

.project-page td,
.project-page th {
	width: auto !important;
	max-width: 100%;
}

.project-page .forumline {
	margin-bottom: 1rem;
}

.project-page .forumline th {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--c0ld-line);
	font-size: 0.9rem;
}

.project-page .postbody {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.project-summary {
	font-size: clamp(0.96rem, 1.7vw, 1.04rem);
	line-height: 1.74;
}

.project-summary b {
	color: #fff;
}

.project-gallery {
	margin-top: 1rem;
}

.project-gallery .postbody,
.project-gallery center {
	display: block;
	width: 100%;
	max-width: 100%;
}

.project-screenshot {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--c0ld-line);
	border-radius: 0.75rem;
	box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.28);
}

.site-footer {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}

.site-footer__panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding: 1rem 0 0;
	color: #7f92a4;
	background: transparent;
	border-top: 1px solid rgba(164, 190, 214, 0.11);
	border-bottom: 0;
	font-size: 0.7rem;
	line-height: 1.5;
}

.site-footer__panel p {
	margin: 0;
}

@media (max-width: 42rem) {
	.site-header,
	.site-content,
	.site-footer {
		width: min(calc(100% - 1.1rem), var(--c0ld-content));
	}

	.site-header {
		padding: 4.2rem 0 2.7rem;
	}

	.site-status {
		left: 0;
		max-width: calc(100% - 6.5rem);
		overflow: hidden;
		text-overflow: ellipsis;
		transform: none;
	}

	.site-logo {
		max-width: min(100%, 18rem);
	}

	.site-primary-nav {
		margin-top: 1.15rem;
	}

	.site-primary-nav a {
		padding: 0.48rem 0.68rem;
		font-size: 0.78rem;
	}

	.section-intro {
		margin-bottom: 1.5rem;
	}

	.section-intro h1 {
		font-size: clamp(2.1rem, 12vw, 3rem);
	}

	.news-card {
		border-radius: 0.9rem;
	}

	.news-card__meta {
		align-items: flex-start;
	}

	.community-status__header {
		align-items: flex-start;
	}

	.community-status__body {
		grid-template-columns: 1fr;
	}

	.community-status__body img {
		display: none;
	}

	.community-status__online {
		grid-column: auto;
	}

	.site-footer__panel {
		justify-content: center;
	}
}

@media (max-width: 23rem) {
	.site-primary-nav {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		width: min(100%, 18rem);
		border-radius: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.news-card,
	.news-card__comments span,
	.archive-link span {
		transition: none;
	}
}
