@import url("../../prosilver/theme/stylesheet.css");

:root {
	--db-link: #f58b00;
	--db-dark: #000003;
	--db-panel: #141313;
	--db-raised: #222121;
	--db-line: #363433;
	--db-muted: #ddd;
}

html, body {
	color: #fff;
	background: #171717 url("assets/background.jpg") repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
	box-sizing: border-box;
	margin: 0;
	padding: 30px 0 0;
	font-size: 11px;
}

a, a:visited, a.topictitle, a.forumtitle, .username, .pagination li a {
	color: var(--db-link);
}

a:hover, a:focus-visible, a.topictitle:hover, a.forumtitle:hover {
	color: #ffba57;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 2px solid #ffba57;
	outline-offset: 2px;
}

#wrap {
	box-sizing: border-box;
	width: calc(100% - 12px);
	max-width: 1125px;
	min-width: 0;
	margin: 0 auto;
	padding: 5px;
	border: 1px solid var(--db-link);
	border-radius: 0;
	background: var(--db-dark);
}

.db-toolbar {
	position: fixed;
	z-index: 20;
	inset: 0 0 auto;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #333;
	color: #fff;
	font: 13px Arial, Helvetica, sans-serif;
}

.db-toolbar a, .db-toolbar a:visited {
	display: inline-flex;
	align-items: center;
	color: #fff;
}

.db-toolbar-brand {
	font-size: 16px;
}

.db-toolbar img {
	width: 30px;
	height: 30px;
}

.db-toolbar-account {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-right: 7px;
}

.db-toolbar-account .username-coloured {
	color: #fff !important;
}

.db-toolbar-top {
	padding: 2px 4px;
	border-radius: 3px;
	background: #757575;
}

.headerbar {
	min-height: 0;
	margin: 0;
	padding: 5px 0 0;
	border: 0;
	background: transparent;
}

#site-description {
	float: none;
	width: auto;
}

#site-description h1, #site-description p {
	position: absolute;
	width: 1px;
	height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

#logo.logo {
	display: block;
	float: none;
	width: min(850px, 100%);
	margin: 0 auto;
	padding: 0;
}

#logo .site_logo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 640 / 171;
	background: url("assets/logo.webp") center / contain no-repeat;
}

.db-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1px;
	margin: 14px 10px 0;
	padding: 0;
	border-bottom: 1px solid #171717;
}

.db-nav a {
	box-sizing: border-box;
	display: flex;
	width: 130px;
	height: 38px;
	align-items: end;
	justify-content: center;
}

.db-nav img {
	display: block;
	max-width: 100%;
	width: 130px;
	height: auto;
}

.db-nav .db-nav-text {
	padding-bottom: 2px;
	border-bottom: 5px solid #9c2c14;
	color: var(--db-muted);
	font: bold italic 16px Georgia, serif;
	white-space: nowrap;
}

#page-header .headerbar .search-header {
	display: none;
}

#page-header .db-search {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 9px 14px 5px;
}

#page-header .db-search .inputbox {
	box-sizing: border-box;
	width: 116px;
	height: 21px;
	padding: 0 4px;
	border: 1px solid #999;
	border-radius: 0;
	font: 12px Verdana, Arial, sans-serif;
}

#page-header .db-search .button {
	box-sizing: border-box;
	width: 43px;
	height: 19px;
	padding: 0 1px;
	border: 1px solid #999;
	border-radius: 0;
	background: #ddd;
	color: #141313;
	font: 11px Verdana, Arial, sans-serif;
}

.navbar, .action-bar .pagination {
	background: transparent;
	border-radius: 0;
}

#page-header .navbar {
	margin-bottom: 3px;
	padding: 0 2px 2px;
}

.section-index #nav-breadcrumbs {
	display: none;
}

.db-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 3px;
}

.db-rail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 4px 0 10px;
}

.db-rail img {
	display: block;
	width: 80px;
	height: 300px;
	object-fit: contain;
	object-position: top;
}

.db-banners {
	box-sizing: border-box;
	clear: both;
	min-height: 161px;
	padding: 4px;
	margin: 3px 0 10px;
	background: var(--db-panel);
	text-align: center;
}

.section-index #page-body > p.time {
	margin-bottom: 4px;
}

.db-index-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px 12px;
	font-size: 12px;
}

.db-post-filters:empty {
	display: none;
}

.db-post-filters a + a::before {
	content: "•";
	color: #ddd;
	margin-inline: 4px;
}

.db-slide strong {
	font-size: 13.2px;
}

.db-carousel {
	display: grid;
	justify-items: center;
}

.db-slide {
	grid-area: 1 / 1;
	max-width: 100%;
}

.db-slide img {
	display: block;
	width: min(468px, 100%);
	height: auto;
	margin: 0 auto 10px;
}

.db-slide:nth-child(2) {
	visibility: hidden;
}

.db-dots {
	display: flex;
	justify-content: center;
	gap: 13px;
	margin: 13px auto 0;
}

.db-dots span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ccc;
}

.db-dots span:first-child {
	background: var(--db-link);
}

@media (prefers-reduced-motion: no-preference) {
	.db-carousel .db-slide {
		animation: db-slide 14s step-end infinite;
	}

	.db-carousel .db-slide:nth-child(2) {
		animation-delay: -7s;
	}

	.db-dots span {
		animation: db-dot 14s step-end infinite;
	}

	.db-dots span:nth-child(2) {
		animation-delay: -7s;
	}

	.db-banners:hover .db-slide, .db-banners:focus-within .db-slide,
	.db-banners:hover .db-dots span, .db-banners:focus-within .db-dots span {
		animation-play-state: paused;
	}
}

@keyframes db-slide {
	0%, 100% { visibility: visible; }
	50% { visibility: hidden; }
}

@keyframes db-dot {
	0%, 100% { background-color: var(--db-link); }
	50% { background-color: #ccc; }
}

h1, h2, h3, .content h2, .content h3, .content,
.panel, .post:target .content, .signature, .postprofile,
.postprofile dd, .postprofile dt, .forumbg .header a, .forabg .header a,
.cp-main .panel, .cp-mini, .cp-main .pm-message, .copyright,
.dropdown .dropdown-contents, fieldset dl:hover dt label, label,
.stat-block p, .attachbox dd, fieldset.display-options label {
	color: #fff;
}

.forabg, .forumbg {
	padding: 3px 5px 5px;
	border: 2px solid var(--db-panel);
	border-radius: 0;
	background: #333 url("assets/category.gif") left top repeat-x;
}

li.header dt, li.header dd, .forabg .header a, .forumbg .header a {
	color: var(--db-link);
	font-size: 10px;
}

li.header dl.row-item dt, li.header dl.row-item dd {
	padding-block: 3px;
}

@media (min-width: 951px) {
	.forabg {
		--db-forum-count: 8%;
		--db-forum-last: 20%;
		--db-forum-columns: calc(2 * var(--db-forum-count) + var(--db-forum-last) + 3%);
	}

	.forabg dl.row-item dt {
		margin-inline-end: calc(-1 * var(--db-forum-columns));
	}

	.forabg dl.row-item dt .list-inner {
		margin-inline-end: var(--db-forum-columns);
	}

	.forabg dd.topics, .forabg dd.posts {
		box-sizing: border-box;
		width: var(--db-forum-count);
	}

	.forabg dd.lastpost {
		box-sizing: border-box;
		width: var(--db-forum-last);
	}
}

.forabg ul.topiclist.forums, .forumbg ul.topiclist.topics, li.row,
.bg1, .bg2, .bg3, .panel, .post, .cp-mini {
	background-color: var(--db-panel);
}

li.row {
	border-top: 1px solid #292727;
	border-bottom: 1px solid #070707;
}

li.row:hover, .post:target, .tabs .activetab > a, .tabs .activetab > a:hover,
.tabs .tab > a, .navigation a, .dropdown .dropdown-contents,
.dropdown-extended .header, .dropdown-extended .footer, #notification_list li:hover {
	background: var(--db-raised);
	color: #fff;
}

.post, .panel, .cp-mini, .attachbox, .rules, table.table1 tbody tr,
.pagination li a, .pagination li.active span, .dropdown .dropdown-contents {
	border-color: var(--db-line);
	border-radius: 0;
}

.topiclist dd, ul.topiclist dd, .postprofile, .signature, .attachbox dd,
.dropdown li, ul.linklist.lists > li, hr, h3 {
	border-color: var(--db-line);
}

.topiclist .row-item.forum_read, .topiclist .row-item.forum_unread {
	background-image: url("assets/forum.png");
}

a.forumtitle, a.topictitle {
	font: bold 13px Verdana, Arial, sans-serif;
}

dl.row-item dt .list-inner, .topiclist dd, .postbody, .postprofile {
	color: #fff;
}

blockquote, blockquote blockquote, blockquote blockquote blockquote, .codebox,
.attachbox, .rules, table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background: var(--db-raised);
	border-color: var(--db-line);
	color: #fff;
}

.codebox code, .codebox p {
	color: var(--db-muted);
}

.inputbox, .inputbox:hover, .inputbox:focus, input, select, textarea,
.button, .button1, .button2, .pagination li a, .pagination li.active span,
.jumpbox-cat-link, .jumpbox-forum-link, .jumpbox-sub-link {
	background: #383737;
	border-color: #777;
	color: #fff;
	text-shadow: none;
	box-shadow: none;
}

.button:hover, .button1:hover, .button2:hover, .pagination li a:hover,
.jumpbox-cat-link:hover, .jumpbox-forum-link:hover, .jumpbox-sub-link:hover {
	background: #535050;
	border-color: var(--db-link);
	color: #fff;
}

.button .icon, .icon.icon-blue, .icon.icon-gray, .icon.icon-lightgray,
.icon.icon-green, .responsive-menu i {
	color: var(--db-muted);
}

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

@media (max-width: 950px) {
	.db-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.db-rail {
		display: none;
	}
}

@media (max-width: 600px) {
	#wrap {
		width: 100%;
		border-width: 0;
	}

	.db-nav {
		margin-inline: 0;
	}

	.db-nav a {
		width: 96px;
		height: 28px;
	}

	.db-toolbar-account {
		gap: 8px;
	}

	.db-banners {
		min-height: 0;
		padding-bottom: 10px;
	}
}

.section-index .forabg:has(li.header a[href$="viewforum.php?f=1"]),
.section-index .forabg:has(li.header a[href$="viewforum.php?f=69"]) { display: none; }
.section-index .forabg { margin-bottom: 4px; }
.section-index .forabg li.header .list-inner a { font: bold 12.1px Verdana, Arial, sans-serif; }
.db-original-legend { line-height: 1.8; }

#wrap { width: calc(88% + 12px); max-width: none; min-width: 963px; }
.db-last-avatar { float: left; width: 36px; height: 36px; margin: 3px 6px 1px 0; object-fit: cover; }

.db-forum-key, .db-footer-links, .db-footer-popular {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 14px;
}

.db-forum-key span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.db-forum-key img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.db-footer-links, .db-footer-age {
	margin: 12px auto;
	text-align: center;
}

.db-footer-popular {
	box-sizing: border-box;
	width: 95%;
	max-width: 1100px;
	padding: 15px;
	margin: 24px auto 10px;
	border: 1px solid #333;
	background: #181818;
	color: #aaa;
}

.db-footer-popular strong { color: #fff; }
.db-footer-popular a { color: #68a6e9; }
.db-footer-popular a:hover { text-decoration: underline; }

.db-vip-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 4px 0;
}

.db-vip-teaser { padding: 8px 12px; }
.db-vip-teaser h2 { margin: 0 0 5px; }

.topiclist .row-item.forum_unread { background-image: url("assets/forum-unread.png"); }
.topiclist .row-item.forum_read_locked,
.topiclist .row-item.forum_unread_locked { background-image: url("assets/forum-locked.png"); }

.db-latest {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 8px;
	border: 1px solid #333;
	background: #181818;
}

.db-latest h2 { margin: 0 0 5px; }
.db-latest ul { list-style: none; margin: 0; padding: 0; }
.db-latest li { padding: 5px 0; border-top: 1px solid #333; overflow-wrap: anywhere; }
.db-latest small { display: block; color: #bbb; }

@media (max-width: 980px) {
	#wrap { width: calc(100% - 8px); min-width: 0; }
	.db-layout { grid-template-columns: minmax(0, 1fr); }
	.db-rail { display: block; padding: 4px 0 0; }
	.db-rail > a { display: none; }
	.db-rail:empty { display: none; }
	.db-nav { gap: 4px; }
	.db-nav a { height: auto; min-height: 32px; }
	.db-footer-popular { width: 100%; }
	.postbody, .postprofile, .content { overflow-wrap: anywhere; }
	.postbody img, .attachbox img { max-width: 100%; height: auto; }
	.postbody table, .codebox, .content pre { display: block; max-width: 100%; overflow-x: auto; }
}

/* Native aliases for hidden migration categories */
.section-index .forabg:has(li.header a[href="./f1"]),
.section-index .forabg:has(li.header a[href^="./f1-"]),
.section-index .forabg:has(li.header a[href="./f69"]),
.section-index .forabg:has(li.header a[href^="./f69-"]) { display: none; }
.db-footer-popular a + a::before { content: "•"; color: #aaa; margin-right: 10px; }

/* Compact account toolbar */
@media (max-width: 420px) {
 .db-toolbar-brand { flex-shrink: 0; font-size: 12px; }
 .db-toolbar-account { gap: 5px; padding-right: 4px; min-width: 0; font-size: 11px; }
 .db-toolbar-account a:first-child { display: block; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 .db-toolbar-top { flex-shrink: 0; }
}

/* Inner pages use the same heading and table proportions as the original forum. */
.db-footer-age {
	box-sizing: border-box;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 12px;
	background: var(--db-dark);
	color: #fff;
	font: small-caps 11px/2.2 Verdana, Arial, sans-serif;
	text-align: center;
}

.db-forum-key img { width: 27px; height: 27px; }
.db-topic-avatar { width: 27px; height: 27px; margin: 0 6px 0 0; }

[class*="section-viewforum"] .forumbg li.row,
[class*="section-viewtopic"] .post { background-color: #1c1b1b; }

[class*="section-viewforum"] .forumbg li.row:hover,
[class*="section-viewtopic"] .post:target { background-color: var(--db-raised); }

.db-inner-heading,
.db-inner-heading a {
	color: var(--db-link);
	font: bold 22px/1.35 Verdana, Arial, Helvetica, sans-serif;
	margin-block: 12px 10px;
}

[class*="section-viewforum"] .forumbg .topictitle {
	font: bold 12.1px/1.3 Verdana, Arial, sans-serif;
}

[class*="section-viewforum"] .forumbg .row-item { background-position: 10px 50%; background-size: 24px auto; }
[class*="section-viewforum"] .row-item.topic_read { background-image: url("assets/topic-legacy.png"); }
[class*="section-viewforum"] .row-item.topic_read_hot { background-image: url("assets/topic-legacy-hot.png"); }
[class*="section-viewforum"] .row-item.topic_unread,
[class*="section-viewforum"] .row-item.topic_unread_hot { background-image: url("assets/forum-unread.png"); }
[class*="section-viewforum"] .row-item.sticky_read,
[class*="section-viewforum"] .row-item.sticky_read_mine { background-image: url("assets/topic-legacy-sticky.gif"); }
[class*="section-viewforum"] .row-item.announce_read,
[class*="section-viewforum"] .row-item.global_read { background-image: url("assets/topic-legacy-announcement.gif"); }
[class*="section-viewforum"] .row-item.topic_read_locked,
[class*="section-viewforum"] .row-item.topic_unread_locked { background-image: url("assets/forum-locked.png"); }

[class*="section-viewtopic"] .content { font-family: Verdana, Arial, Helvetica, sans-serif; }
[class*="section-viewtopic"] .postprofile .avatar img { max-width: 120px; max-height: 120px; width: auto; height: auto; }
[class*="section-viewtopic"] .pagination,
[class*="section-viewforum"] .pagination { font-size: 12.1px; }

.db-layout:has(.db-member-profile) { grid-template-columns: minmax(0, 1fr); }
.db-layout:has(.db-member-profile) .db-rail { display: none; }
.db-member-profile .panel { background: var(--db-dark); }
.db-member-profile .memberlist-title { overflow-wrap: anywhere; }

.db-profile-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 5px;
}

.db-profile-nav a {
	background: #292727;
	padding: 5px 12px;
	border: 1px solid #444;
}

.db-member-profile .profile-details {
	margin-left: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.db-member-profile .avatar-rank-container img { max-width: 100%; height: auto; }

@media (min-width: 981px) {
	[class*="section-viewforum"] .forumbg { --db-topic-columns: 39%; }
	[class*="section-viewforum"] .forumbg dl.row-item dt { margin-inline-end: calc(-1 * var(--db-topic-columns)); }
	[class*="section-viewforum"] .forumbg dl.row-item dt .list-inner { margin-inline-end: var(--db-topic-columns); }
	[class*="section-viewforum"] .forumbg dd.posts,
	[class*="section-viewforum"] .forumbg dd.views { box-sizing: border-box; width: 8%; }
	[class*="section-viewforum"] .forumbg dd.lastpost { box-sizing: border-box; width: 20%; }
	[class*="section-viewforum"] .forumbg li.row .list-inner { padding-block: 4px; }
	.db-member-profile .db-profile-summary > .inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 10px;
		align-items: start;
	}
	.db-member-profile .profile-details { grid-column: 1; grid-row: 1; width: auto; }
	.db-member-profile .avatar-rank-container {
		grid-column: 2;
		grid-row: 1;
		width: auto;
		text-align: center;
		padding: 8px;
		border: 1px solid #333;
	}
}

@media (max-width: 980px) {
	.db-inner-heading, .db-inner-heading a { font-size: clamp(17px, 4vw, 22px); }
	.db-member-profile .column1, .db-member-profile .column2 { float: none; width: 100%; }
}

@media (max-width: 600px) {
	.db-member-profile .avatar-rank-container {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
		margin: 0 0 12px;
	}
	.db-member-profile .profile-details { float: none; width: auto; }
	.db-member-profile dl.details dt { width: 43%; }
	.db-member-profile dl.details dd { margin-inline-start: 45%; }
	[class*="section-viewtopic"] .postprofile .avatar img { max-width: 54px; max-height: 54px; }
	.db-footer-age { padding-inline: 8px; line-height: 1.65; }
}

.db-inner-heading, .db-inner-heading a { margin-block: 0; }
.db-inner-heading { margin-top: 12px; margin-bottom: 10px; }

.db-inner-heading { width: auto; }
.db-member-profile .avatar-rank-container { box-sizing: border-box; max-width: none; }
@media (min-width: 981px) {
    .db-inner-heading { margin-top: 35px; }
    [class*="section-viewtopic"] .db-inner-heading { margin-top: 19px; margin-bottom: 30px; }
    .db-member-profile .avatar-rank-container { width: 100%; }
}

.db-inner-heading { margin-inline-end: 0; }
@media (min-width: 981px) {
    [class*="section-viewtopic"] .db-inner-heading { margin-bottom: 39px; }
}

/* Forum rows and controls follow the original Darmowy Bonus theme. */
.forabg .topiclist dl.row-item[class*="forum_"] {
	background-size: 27px auto;
	background-position: 8px 50%;
}
.forabg .topiclist dl.forum_read_subforum { background-image: url("assets/forum.png"); }
.forabg .topiclist dl.forum_unread_subforum { background-image: url("assets/forum-unread.png"); }
.forabg dl.row-item dt .list-inner { padding-left: 46px; }
.forabg dl.row-item dt .list-inner strong { color: #fff; }
.forabg .subforum { color: var(--db-link); font-weight: normal; }
.forabg .subforum .icon {
	display: inline-block;
	width: 9px;
	height: 10px;
	margin-right: 1px;
	background: url("assets/subforum-legacy.gif") left center / contain no-repeat;
}
.forabg .subforum .icon::before { content: none; }
.forabg .topiclist dd, .forumbg .topiclist dd { border-inline: 0; }
.forabg .topiclist li.row, .forumbg .topiclist li.row { border-color: transparent; }

.page-body .action-bar > a.button:is([href*="mode=post&"], [href*="mode=newtopic&"]),
.page-body .action-bar > a.button:is([href*="mode=reply&"], [href*="&mode=reply"], [href$="mode=reply"]) {
	display: inline-block;
	box-sizing: border-box;
	width: 115px;
	height: 38px;
	padding: 0;
	border: 0;
	background: var(--db-action-image) center / contain no-repeat;
	vertical-align: middle;
}
.page-body .action-bar > a.button:is([href*="mode=post&"], [href*="mode=newtopic&"]) { --db-action-image: url("assets/button-new-topic.png"); }
.page-body .action-bar > a.button:is([href*="mode=reply&"], [href*="&mode=reply"], [href$="mode=reply"]) { --db-action-image: url("assets/button-reply.png"); }
.page-body .action-bar > a.button:is([href*="mode=post&"], [href*="mode=newtopic&"]):hover,
.page-body .action-bar > a.button:is([href*="mode=reply&"], [href*="&mode=reply"], [href$="mode=reply"]):hover { filter: brightness(1.2); }
.page-body .action-bar > a.button:is(:is([href*="mode=post&"], [href*="mode=newtopic&"]), :is([href*="mode=reply&"], [href*="&mode=reply"], [href$="mode=reply"])) > * {
	position: absolute;
	width: 1px;
	height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
}

.page-body .pagination li a, .page-body .pagination li.active span,
.page-body .action-bar .button-secondary, .page-body .action-bar .button-search,
.page-body .action-bar .button-search-end, .page-body .post-buttons .button,
.page-body .jumpbox .button-secondary {
	background: #090909;
	color: #c4cbd0;
	border-color: #4a4540;
	border-radius: 2px;
}
.page-body .pagination li.active span, .page-body .pagination a:hover,
.page-body .action-bar .button-secondary:hover, .page-body .post-buttons .button:hover { color: var(--db-link); }
.page-body .button:focus-visible { outline: 2px solid var(--db-link); outline-offset: 2px; }
.page-body .post-buttons a:has(.fa-quote-left) { --db-post-action: url("assets/button-quote.png"); }
.page-body .post-buttons a:has(.fa-pencil) { --db-post-action: url("assets/button-edit.png"); }
.page-body .post-buttons a:has(.fa-times) { --db-post-action: url("assets/button-delete.png"); }
.page-body .post-buttons a:has(.fa-exclamation) { --db-post-action: url("assets/button-report.gif"); }
.page-body .post-buttons a:has(.fa-quote-left, .fa-pencil, .fa-times, .fa-exclamation) {
	min-width: 24px;
	min-height: 23px;
	background: var(--db-post-action) center / auto 18px no-repeat;
}
.page-body .post-buttons a:has(.fa-quote-left) { min-width: 68px; }
.page-body .post-buttons a .icon:is(.fa-quote-left, .fa-pencil, .fa-times, .fa-exclamation) { opacity: 0; }

@media (max-width: 700px) {
	.page-body .action-bar .button, .page-body .post-buttons a.button,
	.page-body .jumpbox .button { min-height: 32px; }
	.page-body .post-buttons a.button { min-width: 32px; }
	.page-body .post-buttons a:has(.fa-quote-left) { min-width: 62px; }
	.page-body .action-bar .pagination .button { min-height: 27px; }
}

/* Original announcement colours and symbols. */
[class*="section-viewforum"] .forumbg.announcement .topiclist.topics > .row:nth-child(odd) {
	background-color: #1c1b1b;
}
[class*="section-viewforum"] .forumbg.announcement .topiclist.topics > .row:nth-child(even) {
	background-color: #141313;
}
[class*="section-viewforum"] .forumbg.announcement .header dt .list-inner {
	color: #f58b00;
	text-transform: uppercase;
}
[class*="section-viewforum"] .forumbg.announcement .db-priority-topic {
	background-position: 10px 50%;
	background-size: auto;
}
[class*="section-viewforum"] .db-priority-announcement {
	background-image: url("assets/topic-legacy-announcement.gif");
}
[class*="section-viewforum"] .db-priority-sticky {
	background-image: url("assets/topic-legacy-sticky.gif");
}
[class*="section-viewforum"] .db-priority-global .topictitle {
	color: #1e90ff;
}
[class*="section-viewforum"] .db-priority-sticky .topictitle {
	color: #f58b00;
}
[class*="section-viewforum"] .forumbg.announcement .topictitle {
	font-size: 13.31px;
}
[class*="section-viewforum"] .db-priority-topic .db-topic-kind {
	color: #fff;
}
[class*="section-viewforum"] .db-priority-topic .topic-poster .username-coloured {
	font-weight: bold;
}
[class*="section-viewforum"] .db-priority-topic a.unread .icon {
	color: #f58b00;
	font-size: 10px;
}

/* Group pages use the same dark section header and table rows as the forum index. */
.db-group-title { width: auto; margin: 35px 0 15px; color: #f58b00; overflow-wrap: anywhere; }
.db-group-info {
	margin-bottom: 12px;
	padding: 0 5px 5px;
	border: 2px solid #141313;
	color: #fff;
	background: #131313 url("assets/category.gif") repeat-x left top;
}
.db-group-info h2 {
	padding: 6px 3px;
	margin: 0;
	border: 0;
	color: #f58b00;
	font: bold 11px/1.35 Verdana, Arial, sans-serif;
	text-transform: uppercase;
}
.db-group-info .group-description { padding: 8px; overflow-wrap: anywhere; }
.page-body:has(.db-group-title) table.table1 { width: 100%; }
.page-body:has(.db-group-title) table.table1 thead th {
	padding-block: 7px;
	background: #282828 url("assets/category.gif") repeat-x left top;
	color: #f58b00;
}
.page-body:has(.db-group-title) table.table1 td { border: 0; }
.page-body:has(.db-group-title) table.table1 tbody tr:nth-child(odd) { background: #1c1b1b; }
.page-body:has(.db-group-title) table.table1 tbody tr:nth-child(even) { background: #141313; }
@media (max-width: 700px) {
	.db-group-title { margin-top: 15px; }
	.page-body:has(.db-group-title) table.table1 td { overflow-wrap: anywhere; }
}
