/*
 * Digital Twilight modernization layer
 *
 * Loaded after phpBB 2's database-driven inline theme rules. The original
 * steel-blue palette, bitmap gradients, logo, and forum icons remain in use.
 */

:root {
	--dt-page: #101a28;
	--dt-page-glow: #1b3047;
	--dt-panel: #2e425a;
	--dt-panel-deep: #1a2a3e;
	--dt-panel-soft: #344f6c;
	--dt-line: #597795;
	--dt-line-soft: rgba(188, 203, 220, 0.2);
	--dt-text: #f4f7fb;
	--dt-muted: #bccbdc;
	--dt-accent: #ffcc00;
	--dt-shadow: rgba(0, 0, 0, 0.34);
	--dt-content-width: 70rem;
}

html {
	box-sizing: border-box;
	min-width: 0;
	background: var(--dt-page);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

body.dt-forum {
	min-width: 0;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	color: var(--dt-text);
	background-color: var(--dt-page);
	background-image:
		radial-gradient(circle at 50% -12rem, rgba(89, 119, 149, 0.45), transparent 34rem),
		linear-gradient(180deg, #1c2d42 0, var(--dt-page) 32rem);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body.dt-forum font,
body.dt-forum th,
body.dt-forum td,
body.dt-forum p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body.dt-forum a:link,
body.dt-forum a:active,
body.dt-forum a:visited {
	color: var(--dt-muted);
	text-decoration-color: rgba(188, 203, 220, 0.55);
	text-underline-offset: 0.18em;
}

body.dt-forum a:hover {
	color: #ffffff;
	text-decoration: underline;
}

body.dt-forum a:focus-visible,
body.dt-forum input:focus-visible,
body.dt-forum textarea:focus-visible,
body.dt-forum select:focus-visible,
body.dt-forum button:focus-visible {
	outline: 3px solid var(--dt-accent);
	outline-offset: 2px;
}

.dt-site-header,
.dt-main-nav,
.dt-forum-shell,
.dt-site-footer {
	width: calc(100% - 2rem);
	max-width: var(--dt-content-width);
	margin-right: auto;
	margin-left: auto;
}

.dt-site-header {
	margin-top: 1rem;
}

.dt-site-header__inner {
	min-height: 5.5rem;
	padding: 0.9rem clamp(0.75rem, 3vw, 1.5rem);
	border: 1px solid var(--dt-line);
	background-color: var(--dt-panel-deep);
	background-image:
		linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 58%),
		url("images/headbg2.gif");
	background-repeat: no-repeat, repeat-x;
	background-position: 0 0, 0 100%;
	box-shadow: 0 0.8rem 2.2rem var(--dt-shadow);
}

.dt-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 3.5rem;
}

.dt-logo {
	display: block;
	max-width: 100%;
	height: auto;
}

.dt-main-nav {
	position: relative;
	z-index: 1;
	border-right: 1px solid var(--dt-line);
	border-bottom: 1px solid var(--dt-line);
	border-left: 1px solid var(--dt-line);
	background: rgba(9, 16, 25, 0.94);
	box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.22);
}

.dt-main-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 0.22rem;
	padding: 0.3rem 0.75rem;
}

.dt-main-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.25rem 0.35rem;
	font-size: 0.875rem !important;
	font-weight: 700;
	letter-spacing: 0.015em;
	text-decoration: none !important;
}

.dt-main-nav__link:hover {
	background: rgba(89, 119, 149, 0.24);
	color: #ffffff !important;
}

.dt-nav-separator {
	color: var(--dt-line);
	font-family: inherit;
}

.dt-forum-shell {
	margin-top: 1rem;
}

.dt-page-content {
	min-width: 0;
	padding: clamp(0.55rem, 2vw, 1rem);
	border: 1px solid var(--dt-line);
	background: rgba(26, 42, 62, 0.96);
	box-shadow: 0 1rem 2.5rem var(--dt-shadow);
}

body.dt-forum.dt-simple-page {
	padding: 0.75rem;
}

.dt-simple-shell {
	width: 100%;
	max-width: 48rem;
	min-width: 0;
	margin: 0 auto;
	padding: 0.25rem;
}

.dt-site-footer {
	padding: 1.25rem 0.75rem 2rem;
	text-align: center;
}

.dt-site-footer .copyright {
	display: inline-block;
	line-height: 1.6;
}

.dt-page-content table,
.dt-simple-shell table {
	max-width: 100%;
}

.dt-page-content td,
.dt-page-content th,
.dt-simple-shell td,
.dt-simple-shell th {
	overflow-wrap: anywhere;
}

.dt-page-content img,
.dt-simple-shell img,
.postbody img {
	max-width: 100%;
	height: auto;
}

.dt-page-content iframe,
.dt-page-content object,
.dt-page-content embed,
.dt-simple-shell iframe,
.dt-simple-shell object,
.dt-simple-shell embed {
	max-width: 100%;
}

.dt-page-content .bodyline,
.dt-simple-shell .bodyline {
	border-color: var(--dt-line);
	background-color: var(--dt-panel);
}

.dt-page-content .forumline,
.dt-simple-shell .forumline {
	border: 1px solid var(--dt-line);
	background-color: var(--dt-line);
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.14);
}

.dt-page-content td.row1,
.dt-simple-shell td.row1 {
	background-color: #2b425b;
}

.dt-page-content td.row2,
.dt-simple-shell td.row2 {
	background-color: #263c54;
}

.dt-page-content td.row3,
.dt-simple-shell td.row3 {
	background-color: #21364d;
}

.dt-page-content td.row3Right,
.dt-page-content td.spaceRow,
.dt-simple-shell td.row3Right,
.dt-simple-shell td.spaceRow {
	background-color: var(--dt-panel-deep);
}

.dt-page-content th,
.dt-simple-shell th {
	height: auto;
	min-height: 2.2rem;
	padding: 0.55rem 0.5rem;
	color: var(--dt-muted);
	font-size: 0.875rem !important;
	line-height: 1.35;
	background-color: #111d2c;
	background-image: url("images/headbg.gif");
	background-repeat: repeat-x;
}

.dt-page-content td.cat,
.dt-page-content td.catHead,
.dt-page-content td.catSides,
.dt-page-content td.catLeft,
.dt-page-content td.catRight,
.dt-page-content td.catBottom,
.dt-simple-shell td.cat,
.dt-simple-shell td.catHead,
.dt-simple-shell td.catSides,
.dt-simple-shell td.catLeft,
.dt-simple-shell td.catRight,
.dt-simple-shell td.catBottom {
	height: auto;
	min-height: 2rem;
	padding: 0.45rem 0.55rem;
	background-color: var(--dt-panel-deep);
	background-image: url("images/headbg2.gif");
	background-repeat: repeat-x;
}

.maintitle {
	display: inline-block;
	margin-bottom: 0.2rem;
	color: var(--dt-text) !important;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif !important;
	font-size: clamp(1.25rem, 3vw, 1.65rem) !important;
	line-height: 1.2 !important;
}

.gen {
	font-size: 1rem !important;
	line-height: 1.55;
}

.genmed {
	font-size: 0.9375rem !important;
	line-height: 1.5;
}

.gensmall,
.postdetails,
.copyright {
	font-size: 0.875rem !important;
	line-height: 1.5;
}

.mainmenu,
.nav,
.name,
.topictitle,
.forumlink,
.cattitle {
	font-size: 0.9375rem !important;
	line-height: 1.45;
}

.forumlink {
	font-size: 1rem !important;
}

.postbody {
	display: inline;
	font-size: 1rem !important;
	line-height: 1.65 !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.quote,
.code {
	max-width: 100%;
	margin: 0.65rem 0;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--dt-line) !important;
	background: rgba(12, 22, 34, 0.52) !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.code,
pre {
	white-space: pre-wrap;
	tab-size: 4;
}

hr {
	border-top-color: var(--dt-line);
}

body.dt-forum input,
body.dt-forum textarea,
body.dt-forum select,
body.dt-forum button {
	max-width: 100%;
	color: var(--dt-text);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9375rem;
}

body.dt-forum input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.dt-forum select,
body.dt-forum textarea,
body.dt-forum button {
	min-height: 2.5rem;
	padding: 0.48rem 0.62rem;
	border: 1px solid var(--dt-line);
	background-color: #101c2b;
}

body.dt-forum input[type="checkbox"],
body.dt-forum input[type="radio"] {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.25rem;
	accent-color: var(--dt-accent);
	vertical-align: middle;
}

body.dt-forum input.button,
body.dt-forum input.mainoption,
body.dt-forum input.liteoption {
	cursor: pointer;
	background: #111c2a;
	color: var(--dt-text);
	border-color: var(--dt-line);
}

body.dt-forum input.button:hover,
body.dt-forum input.mainoption:hover,
body.dt-forum input.liteoption:hover {
	border-color: var(--dt-muted);
	background: var(--dt-panel-soft);
}

body.dt-forum textarea {
	resize: vertical;
}

.helpline {
	color: var(--dt-muted) !important;
	background: rgba(8, 16, 25, 0.35) !important;
}

/* Forum index */
.dt-index-toolbar {
	margin-bottom: 0.6rem;
	padding: 0.25rem;
}

.dt-category-heading {
	margin-top: 0.55rem;
}

.dt-category-heading td {
	padding: 0.45rem 0.25rem;
}

.dt-forum-list {
	margin-bottom: 0.8rem;
}

.dt-forum-row > td {
	padding: 0.75rem 0.6rem;
	border-bottom: 1px solid var(--dt-line-soft);
}

.dt-forum-icon {
	width: 3.6rem;
}

.dt-forum-summary {
	min-width: 12rem;
}

.dt-forum-topics,
.dt-forum-posts {
	min-width: 4.4rem;
}

.dt-forum-last {
	min-width: 12rem;
}

.dt-online-panel {
	margin-top: 0.9rem;
}

.dt-online-panel td {
	padding: 0.75rem;
}

.dt-online-explain {
	margin: 0.35rem 0 0.8rem;
}

.dt-login-panel {
	margin-top: 0.8rem;
}

.dt-quick-login input.post {
	width: min(100%, 14rem);
}

/* Topic listing */
.dt-viewforum-toolbar,
.dt-viewforum-footer,
.dt-topic-actions,
.dt-topic-header,
.dt-topic-tools {
	margin-bottom: 0.55rem;
}

.dt-topic-row > td {
	padding: 0.72rem 0.55rem;
	border-bottom: 1px solid var(--dt-line-soft);
}

.dt-topic-icon {
	width: 3.6rem;
}

.dt-topic-summary {
	min-width: 12rem;
}

.dt-topic-replies,
.dt-topic-views {
	min-width: 4.4rem;
}

.dt-topic-author {
	min-width: 7rem;
}

.dt-topic-last {
	min-width: 11rem;
}

.dt-topic-filter {
	padding: 0.6rem;
}

.dt-jumpbox-row,
.dt-topic-legend {
	margin-top: 0.75rem;
}

.dt-topic-legend-grid td {
	padding: 0.15rem 0.25rem;
}

/* Topic posts */
.dt-post-list {
	table-layout: auto;
}

.dt-post-author {
	width: 12rem;
	padding: 0.75rem;
}

.dt-author-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	min-width: 0;
	text-align: center;
}

.dt-author-name,
.dt-author-facts {
	border: 1px solid var(--dt-line);
	background: rgba(4, 10, 17, 0.72);
}

.dt-author-name {
	padding: 0.35rem;
}

.dt-userstats-image {
	display: block;
	margin: 0 auto 0.35rem;
}

.dt-author-identity {
	min-width: 0;
}

.dt-author-facts {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.45rem;
	text-align: left;
}

.dt-post-content {
	min-width: 0;
	padding: 0.65rem;
}

.dt-post-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.4rem 0.5rem;
	border: 1px solid var(--dt-line);
	background: var(--dt-panel);
}

.dt-post-subject {
	min-width: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.dt-post-controls {
	flex: 0 0 auto;
	white-space: nowrap;
}

.dt-post-message {
	min-width: 0;
	min-height: 8rem;
	padding: 1rem 0.35rem 1.25rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.dt-post-message table {
	max-width: 100%;
}

.dt-post-date,
.dt-post-contact {
	padding: 0.45rem 0.55rem;
}

.dt-contact-table {
	width: auto;
	max-width: 100%;
}

.dt-post-separator td {
	border-top: 1px solid var(--dt-line);
	border-bottom: 1px solid rgba(0, 0, 0, 0.55);
}

/* Posting editor */
.dt-posting-form > tbody > tr > td {
	padding: 0.6rem;
}

.dt-field-label {
	min-width: 8rem;
}

.dt-field-control {
	min-width: 0;
}

.dt-fluid-control {
	width: min(100%, 45rem);
}

.dt-editor-table {
	width: 100% !important;
	max-width: 100%;
}

.dt-bbcode-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem;
}

.dt-bbcode-toolbar > td {
	display: block;
	padding: 0;
}

.dt-font-controls tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.dt-font-controls td {
	display: block;
	min-width: 0;
	white-space: normal !important;
}

.dt-editor-control {
	width: 100% !important;
	max-width: 100%;
}

.dt-editor-table textarea {
	min-height: 18rem;
}

.dt-smilies-grid {
	margin-right: auto;
	margin-left: auto;
}

.dt-posting-submit {
	padding: 0.65rem !important;
}

.dt-memberlist-toolbar {
	margin-bottom: 0.6rem;
}

.dt-memberlist-toolbar td {
	padding: 0.35rem;
}

.dt-memberlist-sort .genmed {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
}

.dt-member-table td {
	padding: 0.7rem 0.5rem;
	border-bottom: 1px solid var(--dt-line-soft);
}

.dt-member-username {
	min-width: 8rem;
	font-weight: 700;
}

.dt-member-location {
	min-width: 8rem;
}

@media (max-width: 760px) {
	body.dt-forum.dt-simple-page {
		/* Simple popup templates have no site header to reserve the menu trigger. */
		padding-top: 4.25rem;
	}

	.dt-site-header,
	.dt-main-nav,
	.dt-forum-shell,
	.dt-site-footer {
		width: calc(100% - 1rem);
	}

	.dt-site-header {
		/* Leave the original fixed SSM menu trigger its own clear tap area. */
		margin-top: 4.25rem;
	}

	.dt-site-header__inner {
		min-height: 0;
		padding: 0.75rem;
	}

	.dt-main-nav__inner {
		justify-content: flex-start;
		padding: 0.25rem 0.45rem;
	}

	.dt-main-nav__link {
		min-height: 2.75rem;
		padding-right: 0.3rem;
		padding-left: 0.3rem;
	}

	.dt-forum-shell {
		margin-top: 0.5rem;
	}

	.dt-page-content {
		padding: 0.5rem;
	}

	.dt-page-content > table,
	.dt-page-content > form > table,
	.dt-simple-shell > table,
	.dt-simple-shell > form > table {
		width: 100% !important;
	}

	.dt-page-content [nowrap],
	.dt-simple-shell [nowrap] {
		white-space: normal !important;
	}

	.dt-page-content input.post,
	.dt-page-content textarea.post,
	.dt-page-content select,
	.dt-simple-shell input.post,
	.dt-simple-shell textarea.post,
	.dt-simple-shell select {
		max-width: 100% !important;
	}

	/* Index rows become compact cards with labelled metadata. */
	.dt-index-toolbar > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.4rem;
	}

	.dt-index-toolbar td {
		display: block;
		width: auto;
		text-align: left !important;
	}

	.dt-index-categories,
	.dt-index-categories > tbody,
	.dt-index-categories > tbody > tr,
	.dt-index-categories > tbody > tr > td,
	.dt-forum-list,
	.dt-forum-list > tbody {
		display: block;
		width: 100%;
	}

	.dt-forum-list__head,
	.dt-forum-list__footer {
		display: none;
	}

	.dt-forum-row {
		display: grid;
		grid-template-columns: 3.25rem minmax(0, 1fr) minmax(0, 1fr);
		width: 100%;
		margin-bottom: 0.55rem;
		border: 1px solid var(--dt-line);
		background: var(--dt-panel-deep);
	}

	.dt-forum-row > td {
		display: block;
		width: auto !important;
		min-width: 0;
		height: auto !important;
		border: 0;
	}

	.dt-forum-icon {
		grid-column: 1;
		grid-row: 1 / span 3;
		padding: 0.8rem 0.2rem !important;
	}

	.dt-forum-summary {
		grid-column: 2 / 4;
		grid-row: 1;
		padding: 0.75rem !important;
	}

	.dt-forum-topics,
	.dt-forum-posts {
		grid-row: 2;
		padding: 0.45rem 0.75rem !important;
		text-align: left !important;
	}

	.dt-forum-topics {
		grid-column: 2;
	}

	.dt-forum-posts {
		grid-column: 3;
	}

	.dt-forum-last {
		grid-column: 2 / 4;
		grid-row: 3;
		padding: 0.5rem 0.75rem 0.75rem !important;
		text-align: left !important;
	}

	.dt-forum-topics::before,
	.dt-forum-posts::before,
	.dt-forum-last::before,
	.dt-topic-replies::before,
	.dt-topic-author::before,
	.dt-topic-last::before {
		content: attr(data-label) ": ";
		color: var(--dt-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.dt-online-panel td {
		height: auto !important;
	}

	.dt-quick-login td {
		line-height: 2.8;
	}

	/* Forum topic rows keep the icon and turn secondary columns into metadata. */
	.dt-viewforum-toolbar > tbody > tr,
	.dt-viewforum-footer > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.35rem;
	}

	.dt-viewforum-toolbar td,
	.dt-viewforum-footer td {
		display: block;
		width: auto !important;
		text-align: left !important;
	}

	.dt-topic-list,
	.dt-topic-list > tbody {
		display: block;
		width: 100%;
	}

	.dt-topic-list__head {
		display: none;
	}

	.dt-topic-row {
		display: grid;
		grid-template-columns: 3.25rem minmax(0, 1fr);
		width: 100%;
		margin-bottom: 0.55rem;
		border: 1px solid var(--dt-line);
		background: var(--dt-panel-deep);
	}

	.dt-topic-row > td {
		display: block;
		grid-column: 2;
		width: auto !important;
		min-width: 0;
		height: auto !important;
		padding: 0.4rem 0.7rem !important;
		border: 0;
		text-align: left !important;
	}

	.dt-topic-row > .dt-topic-icon {
		grid-column: 1;
		grid-row: 1 / span 5;
		padding: 0.8rem 0.2rem !important;
		text-align: center !important;
	}

	.dt-topic-summary {
		grid-row: 1;
		padding-top: 0.75rem !important;
	}

	.dt-topic-replies {
		grid-row: 2;
	}

	.dt-topic-author {
		grid-row: 3;
	}

	.dt-topic-views {
		display: none !important;
	}

	.dt-topic-last {
		grid-row: 4;
		padding-bottom: 0.75rem !important;
	}

	.dt-no-topics-row,
	.dt-topic-filter-row,
	.dt-no-topics,
	.dt-topic-filter {
		display: block;
		width: 100% !important;
		height: auto !important;
	}

	.dt-topic-legend > tbody > tr,
	.dt-topic-tools > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
	}

	.dt-topic-legend > tbody > tr > td,
	.dt-topic-tools > tbody > tr > td {
		display: block;
		width: auto !important;
		text-align: left !important;
	}

	.dt-topic-legend-grid {
		width: 100%;
	}

	/* The author rail moves above each post. */
	.dt-topic-actions > tbody > tr,
	.dt-topic-header > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.4rem;
	}

	.dt-topic-actions td,
	.dt-topic-header td {
		display: block;
		width: auto !important;
		text-align: left !important;
	}

	.dt-post-list {
		display: block;
		width: 100%;
	}

	.dt-post-list > tbody:not(.dt-post) {
		display: table;
		width: 100%;
	}

	.dt-post-columns {
		display: none;
	}

	.dt-post {
		display: block;
		width: 100%;
		margin: 0 0 0.75rem;
		border: 1px solid var(--dt-line);
	}

	.dt-post-main,
	.dt-post-footer {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}

	.dt-post-main > td,
	.dt-post-footer > td {
		display: block;
		width: auto !important;
		height: auto !important;
	}

	.dt-post-author {
		padding: 0.6rem !important;
	}

	.dt-author-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.55rem 0.75rem;
		text-align: left;
	}

	.dt-author-name {
		grid-column: 1;
		grid-row: 1;
	}

	.dt-userstats-image {
		display: inline-block;
		width: auto;
		max-height: 1.25rem;
		margin: 0 0.4rem 0 0;
		vertical-align: middle;
	}

	.dt-author-identity {
		grid-column: 2;
		grid-row: 1 / span 2;
		text-align: center;
	}

	.dt-author-identity img {
		max-width: min(6rem, 28vw);
		max-height: 6rem;
		object-fit: contain;
	}

	.dt-author-facts {
		grid-column: 1;
		grid-row: 2;
		flex-flow: row wrap;
		gap: 0.25rem 0.8rem;
	}

	.dt-post-heading {
		flex-wrap: wrap;
	}

	.dt-post-controls {
		white-space: normal;
	}

	.dt-post-message {
		min-height: 0;
		padding: 0.85rem 0.2rem 1rem;
	}

	.dt-post-contact {
		overflow: hidden;
	}

	.dt-post-separator {
		display: none;
	}

	/* Posting labels and the formerly fixed 450px editor stack cleanly. */
	.dt-posting-subject,
	.dt-posting-message,
	.dt-posting-options {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}

	.dt-posting-subject > td,
	.dt-posting-message > td,
	.dt-posting-options > td {
		display: block;
		width: auto !important;
		min-width: 0;
	}

	.dt-field-label {
		padding-bottom: 0.45rem !important;
	}

	.dt-editor-table,
	.dt-editor-table > tbody {
		display: block;
		width: 100% !important;
	}

	.dt-editor-table > tbody > tr:not(.dt-bbcode-toolbar),
	.dt-editor-table > tbody > tr:not(.dt-bbcode-toolbar) > td {
		display: block;
		width: 100% !important;
	}

	.dt-font-controls tr {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.dt-editor-table textarea {
		min-height: 14rem;
	}

	.dt-posting-submit input {
		margin: 0.2rem;
	}

	/* The eight-column member table becomes a legible profile card. */
	.dt-memberlist-toolbar > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
	}

	.dt-memberlist-toolbar td {
		display: block;
		width: auto !important;
		text-align: left !important;
	}

	.dt-memberlist-sort .genmed {
		justify-content: flex-start;
	}

	.dt-member-table,
	.dt-member-table > tbody {
		display: block;
		width: 100%;
	}

	.dt-member-head,
	.dt-member-footer {
		display: none;
	}

	.dt-member-row {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas:
			"number username pm"
			"location location location"
			"joined posts email"
			"website website website";
		width: 100%;
		margin-bottom: 0.65rem;
		border: 1px solid var(--dt-line);
		background: var(--dt-panel);
	}

	.dt-member-row > td {
		display: block;
		width: auto !important;
		min-width: 0;
		padding: 0.55rem !important;
		border: 0;
		text-align: left !important;
	}

	.dt-member-number { grid-area: number; }
	.dt-member-pm { grid-area: pm; text-align: right !important; }
	.dt-member-username { grid-area: username; font-size: 1rem; }
	.dt-member-email { grid-area: email; }
	.dt-member-location { grid-area: location; }
	.dt-member-joined { grid-area: joined; }
	.dt-member-posts { grid-area: posts; }
	.dt-member-website { grid-area: website; }

	.dt-member-location::before,
	.dt-member-joined::before,
	.dt-member-posts::before,
	.dt-member-email::before,
	.dt-member-website::before {
		content: attr(data-label) ": ";
		color: var(--dt-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
}

@media (max-width: 430px) {
	.dt-main-nav__inner {
		gap: 0;
	}

	.dt-main-nav__link {
		font-size: 0.8125rem !important;
	}

	.dt-forum-row {
		grid-template-columns: 2.8rem minmax(0, 1fr) minmax(0, 1fr);
	}

	.dt-topic-row {
		grid-template-columns: 2.8rem minmax(0, 1fr);
	}

	.dt-author-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.dt-author-name,
	.dt-author-identity,
	.dt-author-facts {
		grid-column: 1;
		grid-row: auto;
	}

	.dt-author-identity {
		text-align: left;
	}

	.dt-author-facts {
		display: flex;
	}
}

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

/*
 * Refined visual system (2026-07-20)
 *
 * The original logo, forum icons and small action graphics remain as the
 * archive's visual signature. Layout, type and surfaces are intentionally
 * quiet so those details no longer sit inside layers of hard-edged chrome.
 */

:root {
	--dt-page: #08121d;
	--dt-page-glow: #0e2031;
	--dt-panel: #132334;
	--dt-panel-deep: #0f1e2d;
	--dt-panel-soft: #1a3044;
	--dt-panel-hover: #1d354b;
	--dt-line: rgba(164, 187, 205, 0.18);
	--dt-line-strong: rgba(164, 187, 205, 0.3);
	--dt-line-soft: rgba(164, 187, 205, 0.11);
	--dt-text: #f0f4f7;
	--dt-muted: #a4b3c0;
	--dt-accent: #d2ad63;
	--dt-accent-soft: rgba(210, 173, 99, 0.16);
	--dt-shadow: rgba(0, 0, 0, 0.3);
	--dt-content-width: 84rem;
	--dt-radius-sm: 0.5rem;
	--dt-radius-md: 0.875rem;
	--dt-radius-lg: 1.25rem;
	--dt-ui-font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

html {
	background: var(--dt-page);
}

body.dt-forum {
	color: var(--dt-text);
	background-color: var(--dt-page);
	background-image:
		radial-gradient(circle at 18% -10rem, rgba(68, 103, 132, 0.2), transparent 34rem),
		radial-gradient(circle at 82% 4rem, rgba(39, 75, 105, 0.12), transparent 30rem),
		linear-gradient(180deg, #0b1724 0, var(--dt-page) 38rem);
	font-family: var(--dt-ui-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.dt-forum font,
body.dt-forum th,
body.dt-forum td,
body.dt-forum p,
body.dt-forum input,
body.dt-forum textarea,
body.dt-forum select,
body.dt-forum button {
	font-family: var(--dt-ui-font) !important;
}

body.dt-forum a:link,
body.dt-forum a:active,
body.dt-forum a:visited {
	color: #b7c8d6;
	text-decoration-color: rgba(183, 200, 214, 0.38);
	text-underline-offset: 0.2em;
}

body.dt-forum a:hover {
	color: #ffffff;
}

.dt-site-header,
.dt-main-nav,
.dt-forum-shell,
.dt-site-footer {
	width: min(calc(100% - 3rem), var(--dt-content-width));
}

.dt-site-header {
	margin-top: clamp(1rem, 3vw, 2rem);
}

.dt-site-header__inner {
	min-height: 0;
	padding: 0.25rem 0.25rem 0.9rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.dt-logo-link {
	min-height: 0;
}

.dt-logo {
	width: auto;
	max-width: min(100%, 20rem);
}

.dt-main-nav {
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius-md);
	background: rgba(15, 30, 45, 0.86);
	box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	overflow: hidden;
}

.dt-main-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem 1rem;
	padding: 0.55rem 0.65rem;
}

.dt-main-nav__primary,
.dt-main-nav__account {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem;
}

.dt-main-nav__account {
	justify-content: flex-end;
	margin-left: auto;
}

.dt-main-nav__link {
	min-height: 2.25rem;
	padding: 0.42rem 0.72rem;
	border-radius: 999px;
	color: var(--dt-muted) !important;
	font-size: 0.875rem !important;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.25;
	text-decoration: none !important;
	transition: color 160ms ease, background-color 160ms ease;
}

.dt-main-nav__link:hover,
.dt-main-nav__link:focus-visible {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.075);
}

.dt-main-nav__link--login {
	color: #ead7ad !important;
	background: var(--dt-accent-soft);
}

.dt-main-nav__message-short {
	display: none;
}

.dt-nav-separator {
	display: none;
}

.dt-forum-shell {
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

.dt-page-content {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.dt-simple-shell {
	max-width: 52rem;
	padding: clamp(0.75rem, 3vw, 1.5rem);
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius-lg);
	background: rgba(19, 35, 52, 0.94);
	box-shadow: 0 1.4rem 3.5rem var(--dt-shadow);
}

.dt-site-footer {
	padding-top: 1.5rem;
	color: var(--dt-muted);
	opacity: 0.86;
}

.dt-site-footer .copyright {
	letter-spacing: 0;
}

body.dt-forum .dt-page-content .bodyline,
body.dt-forum .dt-simple-shell .bodyline,
body.dt-forum .dt-page-content .forumline,
body.dt-forum .dt-simple-shell .forumline {
	border-color: var(--dt-line);
	background-color: var(--dt-panel);
	box-shadow: none;
}

body.dt-forum .dt-page-content td.row1,
body.dt-forum .dt-page-content td.row2,
body.dt-forum .dt-page-content td.row3,
body.dt-forum .dt-simple-shell td.row1,
body.dt-forum .dt-simple-shell td.row2,
body.dt-forum .dt-simple-shell td.row3 {
	background-color: var(--dt-panel);
}

body.dt-forum .dt-page-content th,
body.dt-forum .dt-simple-shell th {
	min-height: 0;
	padding: 0.55rem 0.65rem;
	color: var(--dt-muted);
	font-size: 0.8rem !important;
	font-weight: 600;
	letter-spacing: 0.015em;
	background-color: transparent;
	background-image: none;
}

body.dt-forum .dt-page-content td.cat,
body.dt-forum .dt-page-content td.catHead,
body.dt-forum .dt-page-content td.catSides,
body.dt-forum .dt-page-content td.catLeft,
body.dt-forum .dt-page-content td.catRight,
body.dt-forum .dt-page-content td.catBottom,
body.dt-forum .dt-simple-shell td.cat,
body.dt-forum .dt-simple-shell td.catHead,
body.dt-forum .dt-simple-shell td.catSides,
body.dt-forum .dt-simple-shell td.catLeft,
body.dt-forum .dt-simple-shell td.catRight,
body.dt-forum .dt-simple-shell td.catBottom {
	min-height: 0;
	padding: 0.55rem 0.7rem;
	border-color: var(--dt-line-soft);
	background-color: var(--dt-panel-deep);
	background-image: none;
}

.maintitle {
	display: inline-block;
	margin: 0;
	color: var(--dt-text) !important;
	font-family: var(--dt-ui-font) !important;
	font-size: clamp(1.55rem, 3vw, 2.05rem) !important;
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.15 !important;
}

.gen {
	font-size: 1rem !important;
	line-height: 1.6;
}

.genmed {
	font-size: 0.9375rem !important;
	line-height: 1.55;
}

.gensmall,
.postdetails,
.copyright {
	font-size: 0.8125rem !important;
	line-height: 1.5;
}

.mainmenu,
.nav,
.name,
.topictitle,
.forumlink,
.cattitle {
	font-size: 0.9375rem !important;
	line-height: 1.45;
}

.nav,
.name,
.topictitle,
.forumlink,
.cattitle {
	font-weight: 600;
}

.forumlink {
	font-size: 1.0625rem !important;
	letter-spacing: -0.012em;
}

a.forumlink,
a.topictitle,
a.cattitle {
	color: var(--dt-text) !important;
	text-decoration: none !important;
}

a.forumlink:hover,
a.topictitle:hover,
a.cattitle:hover {
	color: #ffffff !important;
}

.postbody {
	font-size: 1rem !important;
	line-height: 1.72 !important;
}

.quote,
.code {
	margin: 0.9rem 0;
	padding: 0.9rem 1rem;
	border: 1px solid var(--dt-line) !important;
	border-left: 3px solid rgba(210, 173, 99, 0.6) !important;
	border-radius: var(--dt-radius-sm);
	background: rgba(6, 16, 25, 0.42) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.dt-forum input,
body.dt-forum textarea,
body.dt-forum select,
body.dt-forum button {
	font-size: 0.9375rem;
}

body.dt-forum input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.dt-forum select,
body.dt-forum textarea,
body.dt-forum button {
	min-height: 2.65rem;
	padding: 0.52rem 0.72rem;
	border: 1px solid var(--dt-line-strong);
	border-radius: var(--dt-radius-sm);
	background-color: #0c1926;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.dt-forum input.button,
body.dt-forum input.mainoption,
body.dt-forum input.liteoption {
	border-color: var(--dt-line-strong);
	border-radius: 999px;
	background: #182c3f;
	color: var(--dt-text);
	font-weight: 600;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

body.dt-forum input.mainoption {
	border-color: rgba(210, 173, 99, 0.45);
	background: var(--dt-accent) !important;
	color: #17202a !important;
}

body.dt-forum input.button:hover,
body.dt-forum input.mainoption:hover,
body.dt-forum input.liteoption:hover {
	border-color: rgba(210, 173, 99, 0.62);
	background: #213a50;
	color: #ffffff;
}

body.dt-forum input.mainoption:hover {
	background: #e1c17d;
	color: #111923;
}

.dt-auth-form {
	width: min(100%, 34rem);
	margin: 0 auto;
}

.dt-auth-breadcrumb {
	margin: 0 0 0.8rem 0.25rem;
}

.dt-auth-card {
	padding: clamp(1.25rem, 4vw, 2rem);
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius-lg);
	background: linear-gradient(145deg, rgba(29, 52, 73, 0.86), rgba(17, 33, 49, 0.94));
	box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.24);
}

.dt-auth-title {
	margin: 0 0 1.5rem;
	color: var(--dt-text);
	font-size: clamp(1.35rem, 4vw, 1.7rem) !important;
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.dt-auth-fields {
	display: grid;
	gap: 1rem;
}

.dt-auth-field {
	display: grid;
	gap: 0.4rem;
}

.dt-auth-input {
	width: 100%;
}

.dt-auth-check {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1.15rem 0;
	color: var(--dt-muted);
}

.dt-auth-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.dt-auth-forgot {
	margin-left: auto;
}

/* Forum index */
.dt-index-toolbar {
	margin-bottom: 1rem;
	padding: 0 0.25rem 0.65rem;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.dt-index-toolbar .nav {
	font-size: 1rem !important;
}

.dt-category-heading {
	margin: 1.35rem 0 0.45rem;
}

.dt-category-heading td {
	padding: 0.2rem 0.35rem;
}

.dt-category-heading .cattitle {
	color: var(--dt-muted);
	font-size: 1.05rem !important;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.dt-index-categories > tbody > tr > td {
	padding: 0;
}

body.dt-forum .dt-forum-list,
body.dt-forum .dt-topic-list,
body.dt-forum .dt-member-table {
	border: 0;
	border-collapse: separate;
	border-spacing: 0 0.45rem;
	background: transparent;
	box-shadow: none;
}

body.dt-forum .dt-forum-list__head th,
body.dt-forum .dt-topic-list__head th,
body.dt-forum .dt-member-head th {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	border: 0;
	background: transparent;
}

body.dt-forum .dt-forum-row > td,
body.dt-forum .dt-topic-row > td,
body.dt-forum .dt-member-row > td {
	padding: 0.9rem 0.75rem;
	border-top: 1px solid var(--dt-line-soft);
	border-right: 0;
	border-bottom: 1px solid var(--dt-line-soft);
	border-left: 0;
	background: rgba(22, 41, 59, 0.88) !important;
	transition: background-color 150ms ease;
}

body.dt-forum .dt-forum-row > td:first-child,
body.dt-forum .dt-topic-row > td:first-child,
body.dt-forum .dt-member-row > td:first-child {
	border-left: 1px solid var(--dt-line-soft);
	border-radius: var(--dt-radius-md) 0 0 var(--dt-radius-md);
}

body.dt-forum .dt-forum-row > td:last-child,
body.dt-forum .dt-topic-row > td:last-child,
body.dt-forum .dt-member-row > td:last-child {
	border-right: 1px solid var(--dt-line-soft);
	border-radius: 0 var(--dt-radius-md) var(--dt-radius-md) 0;
}

body.dt-forum .dt-forum-row:hover > td,
body.dt-forum .dt-topic-row:hover > td,
body.dt-forum .dt-member-row:hover > td {
	background: rgba(29, 53, 75, 0.96) !important;
}

.dt-forum-list__footer {
	display: none;
}

.dt-forum-icon,
.dt-topic-icon {
	width: 4rem;
}

.dt-forum-icon img,
.dt-topic-icon img {
	opacity: 0.76;
}

.dt-forum-summary .genmed {
	color: var(--dt-muted);
}

.dt-forum-topics,
.dt-forum-posts,
.dt-topic-replies,
.dt-topic-views,
.dt-topic-author,
.dt-topic-last,
.dt-forum-last {
	color: var(--dt-muted);
	font-variant-numeric: tabular-nums;
}

.dt-forum-topics,
.dt-forum-posts,
.dt-topic-replies,
.dt-topic-views {
	min-width: 4.6rem;
}

.dt-forum-last,
.dt-topic-last {
	min-width: 12rem;
}

.dt-online-panel,
.dt-login-panel {
	margin-top: 1rem;
	border: 1px solid var(--dt-line) !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--dt-radius-md);
	background: var(--dt-panel) !important;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.14) !important;
	overflow: hidden;
}

.dt-online-panel td,
.dt-login-panel td {
	border: 0;
}

.dt-online-panel td.catHead,
.dt-login-panel td.catHead {
	border-bottom: 1px solid var(--dt-line-soft);
	background: rgba(9, 22, 33, 0.46);
}

.dt-online-explain {
	margin: 0.5rem 0 1rem;
	color: var(--dt-muted);
}

.dt-quick-login .gensmall {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
}

/* Forum and topic toolbars */
.dt-viewforum-toolbar,
.dt-viewforum-footer,
.dt-topic-actions,
.dt-topic-header,
.dt-topic-tools {
	margin-bottom: 0.8rem;
	padding: 0.2rem 0.25rem;
}

.dt-viewforum-toolbar .gensmall,
.dt-viewforum-footer .gensmall,
.dt-topic-actions .gensmall,
.dt-topic-tools .gensmall {
	color: var(--dt-muted);
}

.dt-topic-row .topictitle,
.dt-topic-row .gensmall b > a,
.dt-topic-row .gensmall > b > a {
	color: var(--dt-text) !important;
	font-size: 1rem !important;
	font-weight: 600;
	text-decoration: none;
}

.dt-topic-filter-row td,
.dt-topic-list .dt-topic-filter {
	border: 1px solid var(--dt-line-soft);
	border-radius: var(--dt-radius-md);
	background: rgba(15, 30, 45, 0.86);
}

.dt-topic-legend,
.dt-topic-tools {
	color: var(--dt-muted);
}

.dt-topic-legend-grid img {
	opacity: 0.74;
}

/* One composed surface per discussion post. */
body.dt-forum .dt-post-list {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.dt-forum .dt-post-list > tbody {
	display: block;
	width: 100%;
}

.dt-topic-neighbors,
.dt-post-columns,
.dt-post-list > tbody > tr:last-child {
	width: 100%;
}

.dt-topic-neighbors td,
.dt-post-list > tbody > tr:last-child > td {
	border: 1px solid var(--dt-line-soft);
	border-radius: var(--dt-radius-md);
	background: rgba(15, 30, 45, 0.82) !important;
}

.dt-post-columns {
	display: none;
}

body.dt-forum .dt-post {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-radius-lg);
	background: var(--dt-panel);
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.dt-post-main,
.dt-post-footer {
	display: grid;
	grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
	width: 100%;
}

body.dt-forum .dt-post-main > td,
body.dt-forum .dt-post-footer > td {
	display: block;
	width: auto !important;
	min-width: 0;
	height: auto !important;
	border: 0;
}

body.dt-forum .dt-post-author {
	width: auto !important;
	min-width: 0;
	padding: 1rem;
	background: rgba(10, 24, 36, 0.7) !important;
	overflow-wrap: normal;
	word-break: normal;
}

.dt-author-card {
	gap: 0.75rem;
	text-align: left;
}

.dt-author-name,
.dt-author-facts {
	border: 0;
	background: transparent;
}

.dt-author-name {
	padding: 0;
	font-size: 1rem;
}

.dt-userstats-image {
	display: inline-block;
	width: auto;
	max-height: 1rem;
	margin: 0 0.4rem 0 0;
	opacity: 0.64;
	vertical-align: middle;
}

.dt-author-identity {
	text-align: left;
}

.dt-author-identity img {
	max-width: 7rem;
	max-height: 7rem;
	border-radius: var(--dt-radius-sm);
	object-fit: contain;
}

.dt-author-facts {
	gap: 0.2rem;
	padding: 0;
	color: var(--dt-muted);
}

body.dt-forum .dt-post-content {
	padding: 1rem 1.15rem;
	background: rgba(24, 43, 61, 0.86) !important;
}

.dt-post-heading {
	padding: 0 0 0.75rem;
	border: 0;
	border-bottom: 1px solid var(--dt-line-soft);
	background: transparent;
}

.dt-post-subject {
	font-weight: 600;
}

.dt-post-message {
	max-width: 82ch;
	min-height: 9rem;
	padding: 1rem 0 1.3rem;
}

body.dt-forum .dt-post-date,
body.dt-forum .dt-post-contact {
	padding: 0.65rem 1rem;
	border-top: 1px solid var(--dt-line-soft);
	background: rgba(11, 25, 37, 0.62) !important;
}

.dt-post-separator {
	display: none;
}

.dt-post-controls img,
.dt-contact-table img,
.dt-topic-actions img,
.dt-viewforum-toolbar img,
.dt-viewforum-footer img {
	opacity: 0.82;
	transition: opacity 150ms ease;
}

.dt-post-controls a:hover img,
.dt-contact-table a:hover img,
.dt-topic-actions a:hover img,
.dt-viewforum-toolbar a:hover img,
.dt-viewforum-footer a:hover img {
	opacity: 1;
}

/* Posting and profile forms */
.dt-posting-form {
	border: 1px solid var(--dt-line) !important;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--dt-radius-lg);
	background: var(--dt-panel) !important;
	overflow: hidden;
}

.dt-posting-form > tbody > tr > td {
	border-color: var(--dt-line-soft);
}

.dt-editor-table textarea {
	line-height: 1.55;
}

/* Member directory */
.dt-memberlist-toolbar {
	margin-bottom: 0.85rem;
	padding: 0 0.25rem;
}

.dt-memberlist-sort .genmed {
	gap: 0.5rem;
	color: var(--dt-muted);
}

.dt-member-table td {
	border-bottom-color: var(--dt-line-soft);
}

.dt-member-username {
	font-weight: 600;
}

.dt-member-number,
.dt-member-posts,
.dt-member-joined {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 980px) {
	.dt-main-nav__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.dt-main-nav__account {
		justify-content: flex-start;
		margin-left: 0;
	}
}

@media (max-width: 760px) {
	body.dt-forum.dt-simple-page {
		padding: 4.25rem 0.65rem 0.65rem;
	}

	.dt-site-header,
	.dt-main-nav,
	.dt-forum-shell,
	.dt-site-footer {
		width: calc(100% - 1rem);
	}

	.dt-site-header {
		margin-top: 4.25rem;
	}

	.dt-site-header__inner {
		padding: 0 0.15rem 0.75rem;
	}

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

	.dt-main-nav__inner {
		gap: 0.45rem;
		padding: 0.6rem;
	}

	.dt-main-nav__primary,
	.dt-main-nav__account {
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		gap: 0.15rem;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scrollbar-width: none;
	}

	.dt-main-nav__primary::-webkit-scrollbar,
	.dt-main-nav__account::-webkit-scrollbar {
		display: none;
	}

	.dt-main-nav__primary {
		justify-content: flex-start;
	}

	.dt-main-nav__account {
		justify-content: flex-start;
	}

	.dt-main-nav__link {
		flex: 0 0 auto;
		justify-content: center;
		min-width: 0;
		min-height: 2.25rem;
		padding: 0.38rem 0.25rem;
		font-size: 0.78rem !important;
		text-align: center;
	}

	.dt-main-nav__link--messages {
		grid-column: auto;
	}

	.dt-main-nav__message-short {
		display: inline;
	}

	.dt-main-nav__message-full {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.dt-forum-shell {
		margin-top: 0.75rem;
	}

	.dt-page-content {
		padding: 0;
	}

	.dt-index-toolbar {
		padding: 0 0 0.75rem;
	}

	.dt-category-heading {
		margin-top: 1.15rem;
	}

	body.dt-forum .dt-forum-row,
	body.dt-forum .dt-topic-row,
	body.dt-forum .dt-member-row {
		border: 1px solid var(--dt-line);
		border-radius: var(--dt-radius-md);
		background: rgba(19, 35, 52, 0.94);
		box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.14);
		overflow: hidden;
	}

	body.dt-forum .dt-forum-row > td,
	body.dt-forum .dt-topic-row > td,
	body.dt-forum .dt-member-row > td,
	body.dt-forum .dt-forum-row > td:first-child,
	body.dt-forum .dt-topic-row > td:first-child,
	body.dt-forum .dt-member-row > td:first-child,
	body.dt-forum .dt-forum-row > td:last-child,
	body.dt-forum .dt-topic-row > td:last-child,
	body.dt-forum .dt-member-row > td:last-child {
		border: 0;
		border-radius: 0;
		background: transparent !important;
	}

	.dt-forum-summary,
	.dt-topic-summary {
		padding-bottom: 0.55rem !important;
	}

	.dt-forum-last,
	.dt-topic-last {
		border-top: 1px solid var(--dt-line-soft) !important;
	}

	.dt-forum-topics::before,
	.dt-forum-posts::before,
	.dt-forum-last::before,
	.dt-topic-replies::before,
	.dt-topic-author::before,
	.dt-topic-last::before,
	.dt-member-location::before,
	.dt-member-joined::before,
	.dt-member-posts::before,
	.dt-member-email::before,
	.dt-member-website::before {
		color: #899ba9;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0;
		text-transform: none;
	}

	.dt-online-panel,
	.dt-login-panel,
	.dt-posting-form {
		border-radius: var(--dt-radius-md);
	}

	body.dt-forum .dt-post {
		border-radius: var(--dt-radius-md);
	}

	.dt-post-main,
	.dt-post-footer {
		grid-template-columns: minmax(0, 1fr);
	}

	body.dt-forum .dt-post-author {
		padding: 0.8rem;
	}

	.dt-author-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.45rem 0.75rem;
		text-align: left;
	}

	.dt-author-name {
		grid-column: 1;
		grid-row: 1;
	}

	.dt-author-identity {
		grid-column: 2;
		grid-row: 1 / span 2;
		text-align: right;
	}

	.dt-author-identity img {
		max-width: min(5.5rem, 25vw);
		max-height: 5.5rem;
	}

	.dt-author-facts {
		display: flex;
		grid-column: 1;
		grid-row: 2;
		flex-flow: row wrap;
		gap: 0.2rem 0.75rem;
	}

	body.dt-forum .dt-post-content {
		padding: 0.85rem;
	}

	.dt-post-message {
		min-height: 0;
		padding-bottom: 1rem;
	}

	body.dt-forum .dt-post-date,
	body.dt-forum .dt-post-contact {
		padding: 0.6rem 0.8rem;
	}

	.dt-member-row {
		margin-bottom: 0.7rem;
	}

	.dt-member-row > td {
		padding: 0.45rem 0.65rem !important;
	}

	.dt-member-location:has(.gen:empty),
	.dt-member-email:not(:has(a, img)),
	.dt-member-website:not(:has(a, img)) {
		display: none;
	}

	.dt-auth-card {
		padding: 1.25rem;
	}

	.dt-auth-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.dt-auth-actions .mainoption {
		width: 100%;
	}

	.dt-auth-forgot {
		margin: 0;
		text-align: center;
	}
}

@media (max-width: 430px) {
	.dt-author-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.dt-author-name,
	.dt-author-identity,
	.dt-author-facts {
		grid-column: 1;
		grid-row: auto;
	}

	.dt-author-identity {
		text-align: left;
	}
}

/* Final polish: clear actions and intentional compact page headers. */
.dt-index-toolbar > tbody > tr {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.dt-index-heading,
.dt-index-actions {
	display: flex;
	width: auto !important;
}

.dt-index-heading {
	align-items: flex-start;
	flex-direction: column;
	gap: 0.3rem;
}

body.dt-forum .dt-index-toolbar .dt-index-title,
body.dt-forum .dt-index-toolbar .dt-index-title a {
	color: var(--dt-text) !important;
	font-size: clamp(1.45rem, 2.4vw, 1.85rem) !important;
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1.1;
	text-decoration: none !important;
}

.dt-index-time {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	color: var(--dt-muted) !important;
}

.dt-index-actions {
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
}

.dt-index-actions a {
	color: var(--dt-muted) !important;
	text-decoration: none !important;
}

.dt-index-actions a:hover,
.dt-index-actions a:focus-visible {
	color: var(--dt-text) !important;
}

.dt-action-group {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

body.dt-forum a.dt-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.45rem;
	padding: 0.5rem 0.85rem;
	color: var(--dt-text) !important;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--dt-line);
	border-radius: 999px;
	font-size: 0.8rem !important;
	font-weight: 680;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
}

body.dt-forum a.dt-action-button:hover,
body.dt-forum a.dt-action-button:focus-visible {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.085);
	border-color: rgba(217, 185, 122, 0.45);
}

body.dt-forum a.dt-action-button--primary {
	color: #16202a !important;
	background: var(--dt-accent);
	border-color: var(--dt-accent);
}

body.dt-forum a.dt-action-button--primary:hover,
body.dt-forum a.dt-action-button--primary:focus-visible {
	color: #0b131b !important;
	background: #e4c98f;
	border-color: #e4c98f;
}

.dt-userstats-image {
	display: none !important;
}

.dt-post-controls a[href*="mode=quote"],
.dt-post-controls a[href*="mode=editpost"],
.dt-post-controls a[href*="mode=delete"],
.dt-post-controls a[href*="mode=ip"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.65rem;
	color: var(--dt-muted) !important;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--dt-line-soft);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1;
	text-decoration: none !important;
}

.dt-post-controls a[href*="mode=quote"] img,
.dt-post-controls a[href*="mode=editpost"] img,
.dt-post-controls a[href*="mode=delete"] img,
.dt-post-controls a[href*="mode=ip"] img {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.dt-post-controls a[href*="mode=quote"]::after { content: "Quote"; }
.dt-post-controls a[href*="mode=editpost"]::after { content: "Edit"; }
.dt-post-controls a[href*="mode=delete"]::after { content: "Delete"; }
.dt-post-controls a[href*="mode=ip"]::after { content: "IP"; }

@media (max-width: 46rem) {
	.dt-main-nav__primary,
	.dt-main-nav__account {
		gap: 0.55rem;
	}

	.dt-index-toolbar > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	.dt-index-heading,
	.dt-index-actions {
		display: flex !important;
	}

	.dt-index-actions {
		justify-content: flex-start;
	}

	.dt-topic-actions .dt-action-group,
	.dt-viewforum-toolbar .dt-action-button,
	.dt-viewforum-footer .dt-action-button {
		margin-bottom: 0.25rem;
	}
}
