/* darkkra 2026 — Damagelib visual system (prosilver child) */
@import url("../../prosilver/theme/stylesheet.css");

:root {
	/* Phase5: align forum palette with apex (#0a101c / #3b82f6) */
	--dk-bg: #0a101c;
	--dk-bg-wash: #0a101c;
	--dk-bg-elev: #121a2b;
	--dk-bg-panel: #121a2b;
	--dk-bg-row: #0e1524;
	--dk-bg-row-alt: #121a2b;
	--dk-bg-input: #0b1220;
	--dk-border: rgba(148, 163, 184, 0.14);
	--dk-border-soft: rgba(148, 163, 184, 0.10);
	--dk-border-hover: rgba(148, 163, 184, 0.28);
	--dk-text: #f4f7fc;
	--dk-text-muted: rgba(232, 240, 252, 0.66);
	--dk-text-dim: rgba(232, 240, 252, 0.42);
	--dk-link: #60a5fa;
	--dk-link-hover: #93c5fd;
	--dk-accent: #3b82f6;
	--dk-accent-hover: #2563eb;
	--dk-accent-soft: rgba(59, 130, 246, 0.18);
	--dk-hot: #ef4444;
	--dk-ok: #22c55e;
	--dk-header: #0a101c;
	--dk-focus: #3b82f6;
	--dk-radius: 12px;
	--dk-radius-sm: 10px;
	--dk-radius-lg: 16px;
	--dk-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	--dk-font-ui: "Inter", system-ui, sans-serif;
	--dk-font-read: "Inter", system-ui, sans-serif;
	--dk-measure: 68ch;
	--dk-transition: 0.2s ease;
}

html {
	background: var(--dk-bg);
	scroll-behavior: smooth;
	color-scheme: dark;
}

body {
	background:
		radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.14), transparent 50%),
		radial-gradient(ellipse at 80% 0%, rgba(61, 214, 140, 0.06), transparent 50%),
		var(--dk-bg);
	background-attachment: fixed;
	color: var(--dk-text-muted);
	font-family: var(--dk-font-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.simple {
	background: var(--dk-bg);
	color: var(--dk-text);
}

a {
	color: var(--dk-link);
	text-underline-offset: 0.15em;
	transition: color 0.15s ease;
}
a:hover,
a:focus {
	color: var(--dk-link-hover);
}

.wrap {
	background: transparent;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px 28px;
}

#page-body {
	color: var(--dk-text);
	padding-top: 8px;
}

/* Typography scale */
h1, h2, h3, .site-description .site-name, .home-title, .topic-title, .forum-title {
	font-family: var(--dk-font-ui);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Header */
#page-header .headerbar,
.headerbar {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #1a1d23 0%, #2d1f3d 40%, #3d1f2d 70%, #1a1d23 100%) !important;
	background-image: linear-gradient(135deg, #1a1d23 0%, #2d1f3d 40%, #3d1f2d 70%, #1a1d23 100%) !important;
	color: var(--dk-text);
	border-bottom: 1px solid var(--dk-border);
	box-shadow: none;
	border-radius: 0;
	padding: 12px 8px 14px;
}
#page-header .headerbar::before,
.headerbar::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
	pointer-events: none;
}
#page-header .headerbar .inner,
.headerbar .inner {
	position: relative;
	z-index: 1;
}
#page-header .headerbar .site-description,
#page-header .headerbar .site-description p {
	color: var(--dk-text-muted);
}
.site-description .site-name {
	display: inline-block;
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #e2e8f0;
}
.site-description .site-name a {
	color: inherit;
	text-decoration: none;
}
.site-description .site-name a::before {
	content: "~/";
	color: var(--dk-ok);
	font-weight: 700;
	margin-right: 0.2em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.site-description .home-title {
	margin: 0.35rem 0 0;
	font-size: clamp(0.98rem, 1.5vw, 1.15rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--dk-text-muted);
	max-width: 40rem;
}
h1.topic-title,
h1.forum-title {
	margin: 0.2rem 0 1rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.28;
	color: var(--dk-text);
}
h1.topic-title a,
h1.forum-title a,
p.post-subject a {
	color: inherit;
	text-decoration: none;
}
p.post-subject.first {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.35;
}
p.forum-login-heading,
p.forum-permissions-heading,
h2.online-heading {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 600;
}
/* Sticky trust chrome — same slate system as panels */
.dk-sticky,
#dk-sticky {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	background: rgba(16, 20, 27, 0.92);
	padding: 8px 10px;
	margin: 0 0 12px;
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-sm);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.dk-sticky-link,
#dk-sticky a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0 14px;
	background: var(--dk-bg-elev);
	color: var(--dk-text);
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-sm);
	text-decoration: none;
	font-family: var(--dk-font-ui);
	font-weight: 500;
	font-size: 0.95rem;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dk-sticky-link:hover,
#dk-sticky a:hover {
	background: rgba(59, 130, 246, 0.12);
	border-color: var(--dk-accent);
	color: #fff;
}
.dk-sticky-primary {
	background: linear-gradient(135deg, #ef4444, #dc2626) !important;
	border: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.dk-sticky-primary:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
	color: #fff !important;
}
.button,
.button-search,
#search-box a.button {
	min-height: 44px;
	min-width: 44px;
}
@media (max-width: 700px) {
	#search-box.search-header {
		display: block !important;
		margin: 8px 0;
	}
}
.dk-cta-entry {
	margin: 0 0 1.15rem;
	padding: 14px 16px;
	border: 1px solid var(--dk-border);
	border-left: 3px solid var(--dk-accent);
	border-radius: var(--dk-radius);
	background: linear-gradient(180deg, rgba(30, 38, 54, 0.95), rgba(20, 26, 36, 0.95));
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.dk-cta-title {
	display: block;
	font-family: var(--dk-font-ui);
	font-size: 1.02rem;
	font-weight: 650;
	color: #e2e8f0;
	letter-spacing: -0.01em;
}
.dk-cta-note {
	margin: 6px 0 12px;
	color: var(--dk-text-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}
.dk-cta-actions {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.dk-cta-primary,
#dk-cta-krnm.dk-cta-primary {
	background: linear-gradient(135deg, #ef4444, #dc2626) !important;
	border: none !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}
.dk-cta-primary:hover,
#dk-cta-krnm.dk-cta-primary:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
	color: #fff !important;
}
.dk-cta-secondary,
#dk-cta-bot.dk-cta-secondary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 4px;
	color: var(--dk-link);
	text-decoration: underline;
	text-decoration-color: rgba(124, 138, 255, 0.35);
	text-underline-offset: 0.18em;
	font-family: var(--dk-font-ui);
	font-weight: 500;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}
.dk-cta-secondary:hover,
#dk-cta-bot.dk-cta-secondary:hover {
	color: var(--dk-link-hover);
	text-decoration-color: var(--dk-link-hover);
}
.hub-spokes-list,
.similar-topics-list {
	margin: 0;
	padding-left: 1.15rem;
	line-height: 1.5;
}
.similar-topics-list li {
	margin: 0.35rem 0;
}

#logo.logo,
.logo {
	display: inline-block !important;
	float: left;
	padding: 0 14px 0 0;
	line-height: 0;
}
.site_logo {
	display: inline-block;
	width: 52px;
	height: 52px;
	line-height: 0;
}
.site_logo img {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 0 0 1px var(--dk-border);
}

/* Brand addresses */
.brand-addresses {
	border: 1px solid var(--dk-border);
	background: linear-gradient(180deg, rgba(30, 38, 54, 0.92), rgba(20, 26, 36, 0.92));
	border-radius: var(--dk-radius);
	color: var(--dk-text-muted);
	box-shadow: var(--dk-shadow);
	padding: 12px 14px !important;
	margin: 12px 0 16px !important;
}
.brand-addresses a {
	color: var(--dk-link);
}
.brand-addresses a:hover {
	color: var(--dk-link-hover);
}

/* Navbar — Damagelib elevated bar */
.navbar,
#nav-breadcrumbs,
.navbar .inner {
	background: #22252c !important;
	background-image: none !important;
	color: var(--dk-text-muted);
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius);
	backdrop-filter: blur(10px);
}
#nav-main.nav-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 2px;
	padding: 6px 8px !important;
	margin: 0 !important;
	border-bottom: 1px solid var(--dk-border);
}
#nav-main.nav-main > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px !important;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dk-text-secondary, #94a3b8) !important;
	text-decoration: none !important;
	transition: color var(--dk-transition), background var(--dk-transition);
}
#nav-main.nav-main > li > a:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.04);
}
#nav-main.nav-main > li > a .icon {
	opacity: 0.85;
}
/* Login outline + Register hot (Damagelib) */
#nav-main li.rightside:nth-last-child(2) > a {
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: transparent;
	color: #e2e8f0 !important;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	font-size: 0.875rem;
}
#nav-main a[href*="mode=register"],
#nav-main li.rightside:last-child > a {
	background: linear-gradient(135deg, #ef4444, #dc2626) !important;
	border: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}
#nav-main a[href*="mode=register"]:hover,
#nav-main li.rightside:last-child > a:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
	color: #fff !important;
}
.navbar a,
.navbar .nav-main > li > a,
.navbar .linklist > li > a {
	color: var(--dk-text-muted);
}
.navbar a:hover,
.navbar .nav-main > li > a:hover {
	color: #fff;
}
.navbar .dropdown-contents {
	background: var(--dk-bg-elev);
	border: 1px solid var(--dk-border-hover);
	color: var(--dk-text);
	border-radius: var(--dk-radius-sm);
	box-shadow: var(--dk-shadow);
}
.navbar .dropdown-contents a {
	color: var(--dk-text);
}
.navbar .dropdown-contents a:hover {
	background: rgba(59, 130, 246, 0.12);
	color: #fff;
}
#nav-breadcrumbs {
	background: transparent !important;
	border: 0 !important;
	padding: 6px 10px 8px !important;
}

/* Forums / topic lists */
.forabg,
.forumbg {
	background: rgba(26, 33, 48, 0.88) !important;
	background-image: none !important;
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius);
	box-shadow: var(--dk-shadow);
	overflow: hidden;
	margin-bottom: 1rem;
}
.forabg .header,
.forumbg .header,
ul.topiclist li.header {
	background: linear-gradient(180deg, #252a35, #1e2128) !important;
	color: #e2e8f0;
	border-bottom: 1px solid var(--dk-border);
}
ul.topiclist li.header dt,
ul.topiclist li.header dd {
	color: var(--dk-text-muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
ul.topiclist {
	background: transparent;
}
ul.topiclist li {
	color: var(--dk-text);
}
ul.topiclist li.row {
	border-top: 1px solid var(--dk-border-soft);
	transition: background 0.15s ease;
}
ul.topiclist li.row:hover {
	background: rgba(59, 130, 246, 0.06);
}
ul.topiclist dd,
ul.topiclist dt {
	border-color: var(--dk-border-soft);
}
.row {
	background: var(--dk-bg-row);
}
.bg1,
li.row.bg1 {
	background-color: var(--dk-bg-row) !important;
}
.bg2,
li.row.bg2,
li.row:nth-child(even) {
	background-color: var(--dk-bg-row-alt) !important;
}
.list-inner a.topictitle,
a.topictitle,
a.forumtitle {
	color: #e2e8f0;
	font-weight: 600;
	font-size: 1.02rem;
	line-height: 1.35;
}
.list-inner a.topictitle:hover,
a.topictitle:hover,
a.forumtitle:hover {
	color: var(--dk-accent);
}

/* Posts — reading comfort */
.panel,
.post,
.postprofile,
.panel-container .panel {
	background: var(--dk-bg-panel) !important;
	background-image: none !important;
	color: var(--dk-text);
	border-color: var(--dk-border);
}
.post {
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius);
	margin-bottom: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}
.postbody {
	background: transparent !important;
	padding: 4px 4px 8px;
}
.postprofile {
	border-left: 1px solid var(--dk-border) !important;
	color: var(--dk-text-muted);
	background: rgba(16, 20, 27, 0.35) !important;
}
.postprofile strong,
.postprofile .username,
.postprofile .username-coloured {
	color: #e2e8f0;
	font-weight: 600;
}
.postbody h3,
.postbody h3 a {
	color: #e2e8f0;
	font-weight: 600;
	font-size: 1.05rem;
}

/* Core reading surface */
.content,
.postbody .content {
	color: var(--dk-text);
	font-family: var(--dk-font-read);
	font-size: 1.0625rem;
	line-height: 1.72;
	max-width: var(--dk-measure);
	font-weight: 400;
	letter-spacing: 0.005em;
}
.content p,
.postbody .content p {
	margin: 0 0 0.95em;
}
.content li,
.postbody .content li {
	margin: 0.25em 0;
	line-height: 1.65;
}
.content a,
.postbody .content a,
a.postlink {
	color: var(--dk-link) !important;
	background: transparent !important;
	background-image: none !important;
	text-decoration: underline;
	text-decoration-color: rgba(124, 138, 255, 0.45);
	border-bottom-color: transparent !important;
	padding: 0 1px;
	border-radius: 2px;
}
.content a:hover,
.content a:focus,
.postbody .content a:hover,
.postbody .content a:focus,
a.postlink:hover,
a.postlink:focus {
	/* kill prosilver .postlink:hover { background:#D0E4F6; color:#0D4473 } */
	color: #ffffff !important;
	background: rgba(34, 197, 94, 0.22) !important;
	background-image: none !important;
	text-decoration-color: #ffffff;
	outline: none;
}
.content a:visited,
.postbody .content a:visited,
a.postlink:visited {
	color: #94a3b8 !important;
	background: transparent !important;
}
.content h2,
.panel h2,
.panel h3,
.content h3,
.content h4 {
	font-family: var(--dk-font-ui);
	color: #e2e8f0;
	border-bottom-color: var(--dk-border);
	line-height: 1.3;
	margin-top: 1.25em;
}

blockquote,
.codebox,
.notice,
.rules {
	background: var(--dk-bg-elev) !important;
	border: 1px solid var(--dk-border) !important;
	border-left: 3px solid var(--dk-accent) !important;
	color: var(--dk-text-muted);
	border-radius: var(--dk-radius-sm);
	padding: 0.85em 1em !important;
}
blockquote {
	font-family: var(--dk-font-read);
	line-height: 1.65;
}
.codebox dt,
.codebox code,
.codebox pre {
	background: #151820 !important;
	color: #d9e2ec;
	border-color: var(--dk-border);
	font-size: 0.92rem;
	line-height: 1.55;
	border-radius: 6px;
}

/* Action bar / tabs / pagination */
.action-bar,
.stat-block,
.pagination li a,
.pagination li span,
.tabs .tab > a,
.tabs .activetab > a {
	background: var(--dk-bg-elev) !important;
	background-image: none !important;
	color: var(--dk-text) !important;
	border-color: var(--dk-border) !important;
	border-radius: var(--dk-radius-sm) !important;
}
.pagination li a,
.pagination li span,
.tabs .tab > a,
.tabs .activetab > a {
	border-radius: var(--dk-radius-sm) !important;
	padding-inline: 0.75em;
}
.pagination li a:hover,
.tabs .tab > a:hover,
.tabs .activetab > a {
	background: rgba(59, 130, 246, 0.16) !important;
	color: #fff !important;
	border-color: var(--dk-accent) !important;
}
.stat-block h3,
.stat-block strong {
	color: var(--dk-text);
}
.action-bar {
	border-radius: var(--dk-radius-sm) !important;
	padding: 8px !important;
	margin: 10px 0 !important;
}

/* Buttons / forms */
.button,
a.button,
input.button1,
input.button2,
a.button1,
a.button2 {
	background: linear-gradient(180deg, #252a35, #252a35) !important;
	background-image: none !important;
	color: #e2e8f0 !important;
	border: 1px solid var(--dk-border) !important;
	text-shadow: none !important;
	box-shadow: none !important;
	border-radius: var(--dk-radius-sm) !important;
	font-family: var(--dk-font-ui);
	font-weight: 550;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button:hover,
a.button:hover,
input.button1:hover,
input.button2:hover {
	background: rgba(59, 130, 246, 0.18) !important;
	color: #fff !important;
	border-color: var(--dk-accent) !important;
}
.inputbox,
input.inputbox,
textarea.inputbox,
select {
	background: var(--dk-bg-input) !important;
	color: var(--dk-text) !important;
	border: 1px solid var(--dk-border) !important;
	border-radius: var(--dk-radius-sm) !important;
	font-family: var(--dk-font-ui);
	line-height: 1.45;
}
textarea.inputbox {
	font-family: var(--dk-font-read);
	font-size: 1.02rem;
	line-height: 1.6;
	min-height: 10rem;
}
.inputbox:focus,
input.inputbox:focus,
textarea.inputbox:focus {
	border-color: var(--dk-focus) !important;
	outline: 2px solid rgba(34, 197, 94, 0.25);
	outline-offset: 1px;
}

/* Breadcrumbs */
.linklist,
.breadcrumbs,
.breadcrumbs a {
	color: var(--dk-text-muted);
	font-size: 0.92rem;
}
.breadcrumbs a:hover {
	color: #fff;
}

/* SEO footer */
.seo-footer {
	color: var(--dk-text-muted);
	line-height: 1.55;
}
.seo-footer strong {
	color: var(--dk-text);
	font-weight: 600;
}
.seo-footer a {
	color: var(--dk-link) !important;
	text-decoration: underline;
	text-decoration-color: rgba(124, 138, 255, 0.4);
	text-underline-offset: 2px;
}
.seo-footer a:hover,
.seo-footer a:focus {
	color: var(--dk-link-hover) !important;
	text-decoration-color: var(--dk-link-hover);
}

/* Footer */
.page-footer,
#page-footer,
.copyright {
	background: transparent;
	color: var(--dk-text-dim);
	border-top: 1px solid var(--dk-border);
	margin-top: 1.5rem;
	padding-top: 1rem;
}
.page-footer a,
.copyright a,
.page-footer .footer-link,
.page-footer .footer-link-text {
	color: var(--dk-link);
}
.page-footer a:hover,
.copyright a:hover,
.page-footer .footer-link:hover {
	color: var(--dk-link-hover);
}

/* Tables */
table.table1,
table.table1 td,
table.table1 th {
	background: var(--dk-bg-panel);
	color: var(--dk-text);
	border-color: var(--dk-border);
}
table.table1 th {
	background: var(--dk-bg-elev);
	color: #e2e8f0;
}
.notice {
	color: var(--dk-text-muted);
}
hr {
	border-color: var(--dk-border);
	background: var(--dk-border);
	opacity: 0.7;
}

.imageset,
.icon {
	filter: none;
}

#cp-main .panel,
#cp-main h2,
.cp-mini {
	background: var(--dk-bg-panel) !important;
	color: var(--dk-text);
	border-color: var(--dk-border);
}
.tabs .dropdown li,
.dropdown-extended .header,
.dropdown-extended ul li {
	background: var(--dk-bg-panel);
	color: var(--dk-text);
	border-color: var(--dk-border);
}

/* Poll / attach / signature */
.signature,
.postbody .signature {
	border-top: 1px dashed var(--dk-border);
	color: var(--dk-text-dim);
	font-size: 0.92rem;
	line-height: 1.5;
	margin-top: 1rem;
	padding-top: 0.75rem;
	font-family: var(--dk-font-ui);
}
.attachbox,
.polls {
	border-radius: var(--dk-radius-sm);
	border-color: var(--dk-border);
	background: var(--dk-bg-elev);
}

/* Mobile reading */
@media (max-width: 700px) {
	.wrap {
		padding: 0 12px 24px;
	}
	.content,
	.postbody .content {
		font-size: 1.05rem;
		line-height: 1.7;
		max-width: none;
	}
	.post {
		margin-bottom: 12px;
	}
	.site_logo,
	.site_logo img {
		width: 44px;
		height: 44px;
	}
}

/* Reduce eye strain: softer selection */
::selection {
	background: rgba(59, 130, 246, 0.35);
	color: #fff;
}

/* Prefer readable contrast for unread / online badges if present */
.online-label,
span.badge {
	border-radius: var(--dk-radius-sm);
}

/* Soften coloured usernames so reading stays the figure */
.postprofile .username-coloured,
.postprofile a.username-coloured,
.postbody .username-coloured {
	filter: saturate(0.55) brightness(1.08);
}

/* 2026 reading boost — win over prosilver density */
.postbody .content,
.content {
	font-family: var(--dk-font-read) !important;
	font-size: 1.125rem !important;
	line-height: 1.75 !important;
	max-width: 70ch !important;
	color: #e2e8f0 !important;
}
.postbody .content ul,
.content ul {
	padding-left: 1.2em;
	margin: 0.6em 0 1em;
}
.postbody .content li,
.content li {
	margin: 0.4em 0;
}
.postbody .content strong,
.content strong {
	color: #e2e8f0;
	font-weight: 600;
}
.post .inner {
	padding: 16px 18px !important;
}
.postprofile {
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
}
ul.topiclist .list-inner {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}
.forabg, .forumbg, .post {
	backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Index: quieter archive rows */
ul.topiclist li.row a.forumtitle {
	letter-spacing: -0.01em;
}

/* ========== DamageLib-inspired forum index (Dark Kra palette) ========== */
.dk-forabg.forabg {
	background: rgba(18, 22, 30, 0.94) !important;
	border: 1px solid #2a2f3a;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.dk-forabg .inner {
	padding: 0;
}
.dk-cat-header {
	background: linear-gradient(180deg, #252a35 0%, #1e2128 100%) !important;
	border-bottom: 1px solid #2a2f3a !important;
}
.dk-cat-header dl.row-item {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 96px 220px;
	align-items: center;
	gap: 12px;
	padding: 12px 16px !important;
	min-height: 0;
	background-image: none !important;
}
.dk-cat-header dt,
.dk-cat-header dd {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.dk-cat-header .list-inner {
	padding: 0 !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8 !important;
}
.dk-cat-header .list-inner a {
	color: #e2e8f0 !important;
	text-decoration: none;
}
.dk-cat-header dd.posts {
	display: none !important;
}
.dk-cat-header dd.topics,
.dk-cat-header dd.lastpost {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b !important;
	text-align: center;
}
.dk-cat-header dd.lastpost {
	text-align: left;
}

ul.topiclist.forums {
	background: transparent !important;
}
ul.topiclist.forums > li.dk-forum-row {
	border-top: 1px solid rgba(255,255,255,0.06) !important;
	background: transparent !important;
	transition: background 0.15s ease;
}
ul.topiclist.forums > li.dk-forum-row:hover {
	background: rgba(59, 130, 246, 0.05) !important;
}
ul.topiclist.forums > li.dk-forum-row.bg1,
ul.topiclist.forums > li.dk-forum-row.bg2 {
	background: transparent !important;
}

.dk-forum-dl {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 96px 220px;
	align-items: center;
	gap: 12px;
	padding: 16px 16px !important;
	min-height: 0 !important;
	background-image: none !important;
	background-position: 0 0 !important;
}
.dk-forum-dl::before {
	display: none !important;
}
.dk-forum-dl > dt,
.dk-forum-dl > dd {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	background-image: none !important;
}
.dk-forum-dl > dt {
	padding-left: 0 !important;
}
.dk-forum-inner {
	display: flex !important;
	align-items: flex-start;
	gap: 14px;
	padding: 0 !important;
}
.dk-forum-icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.28);
	box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
	color: #22c55e;
	font-size: 1.15rem;
	line-height: 1;
}
.dk-forum-icon .icon {
	color: inherit !important;
	font-size: 1.2rem;
}
.dk-forum-copy {
	min-width: 0;
	flex: 1;
}
.dk-forum-copy .forumtitle {
	display: inline-block;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #e2e8f0 !important;
	text-decoration: none !important;
	line-height: 1.3;
	letter-spacing: -0.015em;
}
.dk-forum-copy .forumtitle:hover {
	color: var(--dk-accent) !important;
}
.dk-forum-desc {
	margin-top: 4px;
	color: #94a3b8;
	font-size: 0.9rem;
	line-height: 1.45;
	max-width: 52ch;
}
.dk-subforums {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
}
.dk-subforums a.subforum {
	color: #94a3b8 !important;
	font-size: 0.82rem;
	text-decoration: none;
}
.dk-subforums a.subforum:hover {
	color: #e2e8f0 !important;
	background: transparent !important;
}

.dk-stat {
	text-align: center !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.dk-stat-num {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	color: #e2e8f0;
	letter-spacing: -0.02em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.dk-stat-label,
.dk-stat dfn {
	display: block !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	overflow: visible !important;
	font-size: 0.68rem !important;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #64748b !important;
	line-height: 1.2;
}
.dk-stat-posts {
	display: none !important;
}

.dk-last {
	text-align: left !important;
}
.dk-last-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.dk-last .lastsubject {
	display: block;
	color: #94a3b8 !important;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.dk-last .lastsubject:hover {
	color: #fff !important;
	background: transparent !important;
}
.dk-last-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	color: #64748b;
	font-size: 0.8rem;
}
.dk-last-meta a,
.dk-last-by a {
	color: #93c5fd !important;
	text-decoration: none !important;
	background: transparent !important;
}
.dk-last-meta a:hover,
.dk-last-by a:hover {
	color: #93c5fd !important;
	background: transparent !important;
}
.dk-last-jump {
	opacity: 0.55;
}
.dk-last-jump:hover {
	opacity: 1;
}
.dk-last time {
	color: #64748b;
}

/* Accent icons by order (DamageLib-like variety, Dark Kra hues) */
ul.topiclist.forums > li.dk-forum-row:nth-child(1) .dk-forum-icon {
	color: #6eb6ff;
	background: rgba(110, 182, 255, 0.12);
	border-color: rgba(110, 182, 255, 0.3);
	box-shadow: 0 0 18px rgba(110, 182, 255, 0.14);
}
ul.topiclist.forums > li.dk-forum-row:nth-child(2) .dk-forum-icon {
	color: #3b82f6;
	background: rgba(59, 130, 246, 0.14);
	border-color: rgba(59, 130, 246, 0.32);
	box-shadow: 0 0 18px rgba(59, 130, 246, 0.14);
}
ul.topiclist.forums > li.dk-forum-row:nth-child(3) .dk-forum-icon {
	color: #22c55e;
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(34, 197, 94, 0.3);
	box-shadow: 0 0 18px rgba(110, 200, 184, 0.14);
}
ul.topiclist.forums > li.dk-forum-row:nth-child(4) .dk-forum-icon {
	color: #a78bfa;
	background: rgba(167, 139, 250, 0.12);
	border-color: rgba(167, 139, 250, 0.28);
	box-shadow: 0 0 18px rgba(167, 139, 250, 0.12);
}
ul.topiclist.forums > li.dk-forum-row:nth-child(n+5) .dk-forum-icon {
	color: #64748b;
	background: rgba(139, 149, 168, 0.1);
	border-color: rgba(139, 149, 168, 0.25);
	box-shadow: none;
}

/* Kill legacy forum folder sprites inside dk rows */
.dk-forum-dl.row-item {
	background-image: none !important;
}
.dk-forum-dl .forum-image {
	display: none;
}

/* Topic lists (viewforum) — same card language */
.forumbg {
	border-radius: 14px !important;
	overflow: hidden;
}
ul.topiclist.topics > li.row {
	border-top: 1px solid rgba(255,255,255,0.06);
}
ul.topiclist.topics > li.row:hover {
	background: rgba(59, 130, 246, 0.05) !important;
}
ul.topiclist.topics a.topictitle {
	font-weight: 650;
	letter-spacing: -0.01em;
}

@media (max-width: 900px) {
	.dk-cat-header dl.row-item,
	.dk-forum-dl {
		grid-template-columns: minmax(0, 1fr) 72px !important;
	}
	.dk-cat-header dd.lastpost,
	.dk-forum-dl > dd.lastpost {
		display: none !important;
	}
}
@media (max-width: 700px) {
	.dk-cat-header dl.row-item,
	.dk-forum-dl {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.dk-cat-header dd.topics,
	.dk-forum-dl > dd.topics {
		display: none !important;
	}
	.dk-forum-mobile-stat {
		display: block !important;
		margin-top: 6px;
		color: #64748b;
		font-size: 0.85rem;
	}
	.dk-forum-icon {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		border-radius: 10px;
	}
}

/* ========== DamageLib topic list (viewforum) ========== */
.dk-forumbg.forumbg {
	background: rgba(18, 22, 30, 0.94) !important;
	border: 1px solid #2a2f3a !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.dk-topic-header dl.row-item {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 96px 240px;
	align-items: center;
	gap: 12px;
	padding: 12px 16px !important;
	background-image: none !important;
	min-height: 0;
}
.dk-topic-header dt,
.dk-topic-header dd {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.dk-topic-header .list-inner {
	padding: 0 !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8 !important;
}
.dk-topic-header dd.views {
	display: none !important;
}
.dk-topic-header dd.posts,
.dk-topic-header dd.lastpost {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b !important;
	text-align: center;
}
.dk-topic-header dd.lastpost {
	text-align: left;
}

ul.topiclist.topics > li.dk-topic-row {
	border-top: 1px solid rgba(255,255,255,0.06) !important;
	background: transparent !important;
	transition: background 0.15s ease;
}
ul.topiclist.topics > li.dk-topic-row:hover {
	background: rgba(59, 130, 246, 0.05) !important;
}
ul.topiclist.topics > li.dk-topic-row.bg1,
ul.topiclist.topics > li.dk-topic-row.bg2 {
	background: transparent !important;
}
ul.topiclist.topics > li.dk-topic-row.sticky {
	background: rgba(59, 130, 246, 0.04) !important;
}
ul.topiclist.topics > li.dk-topic-row.announce,
ul.topiclist.topics > li.dk-topic-row.global-announce {
	background: rgba(110, 182, 255, 0.05) !important;
}

.dk-topic-dl {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 96px 240px;
	align-items: center;
	gap: 12px;
	padding: 14px 16px !important;
	min-height: 0 !important;
	background-image: none !important;
}
.dk-topic-dl::before {
	display: none !important;
}
.dk-topic-dl > dt,
.dk-topic-dl > dd {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	background-image: none !important;
}
.dk-topic-inner {
	display: flex !important;
	align-items: flex-start;
	gap: 14px;
	padding: 0 !important;
}
.dk-topic-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: rgba(124, 138, 255, 0.1);
	border: 1px solid rgba(124, 138, 255, 0.24);
	color: #60a5fa;
	box-shadow: 0 0 14px rgba(124, 138, 255, 0.1);
}
.dk-topic-row.sticky .dk-topic-icon {
	color: #3b82f6;
	background: rgba(59, 130, 246, 0.12);
	border-color: rgba(59, 130, 246, 0.3);
}
.dk-topic-row.announce .dk-topic-icon,
.dk-topic-row.global-announce .dk-topic-icon {
	color: #6eb6ff;
	background: rgba(110, 182, 255, 0.12);
	border-color: rgba(110, 182, 255, 0.3);
}
.dk-topic-row.dk-unread .dk-topic-icon {
	color: #22c55e;
	border-color: rgba(34, 197, 94, 0.35);
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.16);
}
.dk-topic-copy {
	min-width: 0;
	flex: 1;
}
.dk-topic-copy .topictitle {
	font-size: 1.02rem !important;
	font-weight: 700 !important;
	color: #e2e8f0 !important;
	text-decoration: none !important;
	letter-spacing: -0.015em;
	line-height: 1.35;
}
.dk-topic-copy .topictitle:hover {
	color: var(--dk-accent) !important;
	background: transparent !important;
}
.dk-topic-meta {
	margin-top: 6px;
	color: #64748b;
	font-size: 0.84rem;
	float: none !important;
}
.dk-topic-meta a {
	color: #93c5fd !important;
	background: transparent !important;
}
.dk-stat-views {
	display: none !important;
}

.dk-last-with-avatar {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 10px;
}
.dk-avatar {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #252a35, #1e2128);
	border: 1px solid rgba(255,255,255,0.12);
	color: #94a3b8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.dk-avatar .icon {
	color: inherit !important;
	font-size: 1rem;
}
.dk-last-text {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
ul.topiclist.forums > li.dk-forum-row:nth-child(1) .dk-avatar { color: #6eb6ff; border-color: rgba(110,182,255,.35); }
ul.topiclist.forums > li.dk-forum-row:nth-child(2) .dk-avatar { color: #3b82f6; border-color: rgba(59,130,246,.35); }
ul.topiclist.forums > li.dk-forum-row:nth-child(3) .dk-avatar { color: #22c55e; border-color: rgba(110,200,184,.35); }
ul.topiclist.forums > li.dk-forum-row:nth-child(4) .dk-avatar { color: #a78bfa; border-color: rgba(167,139,250,.35); }
ul.topiclist.topics > li.dk-topic-row:nth-child(odd) .dk-avatar { color: #60a5fa; }
ul.topiclist.topics > li.dk-topic-row:nth-child(even) .dk-avatar { color: #3b82f6; }

/* Viewforum action bar quieter */
.action-bar.bar-top,
.action-bar.bar-bottom {
	background: rgba(26, 33, 48, 0.7) !important;
	border: 1px solid var(--dk-border-soft) !important;
	border-radius: var(--dk-radius) !important;
	padding: 10px 12px !important;
}

@media (max-width: 900px) {
	.dk-topic-header dl.row-item,
	.dk-topic-dl {
		grid-template-columns: minmax(0, 1fr) 72px !important;
	}
	.dk-topic-header dd.lastpost,
	.dk-topic-dl > dd.lastpost {
		display: none !important;
	}
}
@media (max-width: 700px) {
	.dk-topic-header dl.row-item,
	.dk-topic-dl {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.dk-topic-header dd.posts,
	.dk-topic-dl > dd.posts {
		display: none !important;
	}
	.dk-topic-mobile-last {
		display: block !important;
		margin-top: 6px;
		color: #64748b;
		font-size: 0.85rem;
	}
}

/* ========== Damagelib pass polish ========== */
.wrap { max-width: 1280px; }
.dk-forabg.forabg,
.dk-forumbg.forumbg,
.forabg, .forumbg {
	background: var(--dk-bg-panel) !important;
	border: 1px solid var(--dk-border) !important;
	border-radius: var(--dk-radius-lg) !important;
}
.dk-cat-header,
.dk-topic-header,
ul.topiclist li.header {
	background: var(--dk-bg-elev) !important;
}
.dk-forum-icon {
	background: rgba(59, 130, 246, 0.12) !important;
	border-color: rgba(59, 130, 246, 0.28) !important;
	color: #60a5fa !important;
	box-shadow: 0 0 18px rgba(59, 130, 246, 0.12) !important;
	border-radius: 10px !important;
}
ul.topiclist.forums > li.dk-forum-row:nth-child(1) .dk-forum-icon { color: #22c55e !important; background: rgba(34,197,94,.12) !important; border-color: rgba(34,197,94,.3) !important; }
ul.topiclist.forums > li.dk-forum-row:nth-child(2) .dk-forum-icon { color: #3b82f6 !important; background: rgba(59,130,246,.12) !important; border-color: rgba(59,130,246,.3) !important; }
ul.topiclist.forums > li.dk-forum-row:nth-child(3) .dk-forum-icon { color: #ef4444 !important; background: rgba(239,68,68,.12) !important; border-color: rgba(239,68,68,.3) !important; }
ul.topiclist.forums > li.dk-forum-row:nth-child(4) .dk-forum-icon { color: #a78bfa !important; background: rgba(167,139,250,.12) !important; border-color: rgba(167,139,250,.28) !important; }
.panel, .post {
	background: var(--dk-bg-panel) !important;
	border: 1px solid var(--dk-border) !important;
	border-radius: var(--dk-radius-lg) !important;
}
.seo-footer.panel,
.brand-addresses {
	background: var(--dk-bg-elev) !important;
	border: 1px solid var(--dk-border) !important;
}
.inputbox, input.inputbox, textarea.inputbox, select {
	background: var(--dk-bg-input) !important;
	border: 1px solid var(--dk-border-hover) !important;
	border-radius: 8px !important;
}
.inputbox:focus, input.inputbox:focus, textarea.inputbox:focus {
	border-color: var(--dk-accent) !important;
	outline: 2px solid rgba(59, 130, 246, 0.25);
}
.button, a.button, input.button1, input.button2, a.button1, a.button2 {
	background: var(--dk-bg-elev) !important;
	border: 1px solid var(--dk-border-hover) !important;
	border-radius: 8px !important;
	color: #e2e8f0 !important;
}
.button:hover, a.button:hover, input.button1:hover, input.button2:hover {
	background: rgba(59, 130, 246, 0.16) !important;
	border-color: var(--dk-accent) !important;
}
::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }
.postbody .content, .content {
	font-family: var(--dk-font-read) !important;
	color: #c9cdd4 !important;
}
.dk-live-strip {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 8px 12px;
	background: rgba(239, 68, 68, 0.06);
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: 8px;
	color: var(--dk-text-muted);
	font-size: 0.82rem;
}
.dk-live-strip strong {
	color: #ef4444;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* CWV CLS 2026-11-15 — reserve avatar/image boxes in topic view (prosilver height:auto alone shifts) */
.postprofile dt.no-avatar .avatar-container {
	display: none;
}
.postprofile dt.has-avatar .avatar-container {
	width: 80px;
	min-width: 80px;
	min-height: 80px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin-bottom: 6px;
}
.postprofile .avatar,
.postprofile a.avatar,
.postprofile span.avatar {
	display: block;
	width: 80px;
	max-width: 80px;
	line-height: 0;
}
.postprofile .avatar img,
.postprofile img.avatar {
	display: block;
	width: 80px;
	height: 80px !important;
	max-width: 80px;
	max-height: 80px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.postbody .content img,
.postbody .content .postimage,
.content img.postimage {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
/* Honor HTML width/height attrs for aspect-ratio reservation (modern browsers) */
.postbody .content img[width][height],
.content img.postimage[width][height] {
	max-width: 100%;
	height: auto;
	width: auto;
}

/* S21-07 CWV: reserve avatar box on topic class → cut CLS on hubs */
.postprofile dt img,
.postprofile .avatar,
.postprofile img.avatar,
.online-page .avatar {
	width: 50px;
	height: 50px;
	max-width: 50px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
.dk-aeo {
	contain: content;
}
.dk-aeo-answer {
	margin: 0 0 0.55rem;
	line-height: 1.45;
}
.dk-aeo-howto {
	margin: 0;
	padding-left: 1.2rem;
}
.dk-aeo-howto li {
	margin: 0.25rem 0;
}
