@import url(style_cs.1796554047.css);

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/v4-font-face.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/fontawesome.min.css');

/* используются в дизайне */
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700|Open+Sans:400,400i,600,600i,700,700i,800,800i|Roboto:100,300,400,700,900');
@import url('https://fonts.googleapis.com/css2?family=Alice&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
	--base-bg: #262626 url(https://forumstatic.ru/files/001b/6b/7e/65194.png);

	--beg100: #EBEAE2;

	--header: url(https://forumstatic.ru/files/001b/6b/7e/80981.png);

	--borders: #DCDACC;

	--text1: #212121;
	--links: #397F29;
	--text2: #646464;
	--text3: #EBEAE2;

--accent: #47663D;
--accent2: #713232;

	--light-blur: #D7034F;
	--dark-fill: #2F2F2F;
	--dark-fill2: #322F2D;

	--branch-top: url(https://forumstatic.ru/files/001b/6b/7e/10618.png);
	--branch-bottom: url(https://forumstatic.ru/files/001b/6b/7e/57177.png);
	--logo: url(https://forumstatic.ru/files/001b/6b/7e/51681.svg);

	--cat-blood: #A82204;

	--fill: #F4F4F2;

	--profile-bg: #282628;
	--profile-fill: rgba(47, 47, 47, 0.5);

	--dark-border: #5C5C5C;

	--font: Lora;

	--td-bg-head: #A84904;
	--td-bg-cover: #F4F4F2;
	--td-episode-bg: #F4F4F2;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html,
body {
	margin: 0;
	padding: 0
}

/* A2.2 */
.punbb * {
	margin: 0px
}

/* A2.3 */
.punbb ul,
.punbb dl,
.punbb li,
.punbb dd,
.punbb dt {
	padding: 0;
	list-style: none;
}

/* A2.4 */
.punbb img {
	border: none
}

/* A2.5 */
.punbb .main table {
	table-layout: fixed;
	width: 100%;
}

#pun .forum table {
	border-spacing: 0;
}

/* A2.6 */
.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
	margin: 0 0.3em;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
	height: auto;
	vertical-align: middle
}


/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
	font-size: 100.01%;
}

/* A3.2 */
.punbb {
	font: normal 70% verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

/* 3.3 */
.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
	font: 1em verdana, arial, helvetica, sans-serif
}


/* A3.4 */
.punbb h1,
.punbb h2,
.punbb h3 {
	font-size: 1em;
	font-weight: bold;
}

.punbb th {
	font-size: 0.9em;
	font-weight: bold;
}

.punbb h4,
.punbb table {
	font-size: 1em;
	font-weight: normal;
}

/* A3.5 */
.punbb h1 span,
.punbb h2 span,
.punbb legend span {
	font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
	font: 1.1em/140% verdana, arial, monaco, "bitstream vera sans mono", "courier new", courier, monospace
}

/* A3.7 */
.punbb address,
.punbb em {
	font-style: normal
}

/* A3.8 */
.punbb .post-content em {
	font-style: italic
}

/* A3.9 */
.punbb .post-content em.bbuline {
	font-style: normal;
	text-decoration: underline;
}

/* A3.10 */
.punbb a {
	text-decoration: underline
}

/* A3.11 */
.punbb optgroup {
	font-weight: bold;
}


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb dl.post-sig dt span,
.punbb .post-box:after,
.punbb .linksb:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	overflow: hidden;
	line-height: 0.0;
	font-size: 0;
}

/* A4.2 */
.acchide,
#pun-ulinks h2,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
	font-size: 0;
	height: 0;
	width: 0;
	line-height: 0.0;
	position: absolute;
	left: -9999px;
	overflow: hidden
}


/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
/* лишнее */
h1.title-logo,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-crumbs1 strong,
#pun-crumbs2 strong,
thead,
th,
#pun-crumbs1 .container strong+em,
#pun-crumbs2 .container strong+em,
#pun-index #pun-main h1,
.stickytext,
.closedatafield,
#pun-live-rusff,
.pl-reports,
td .modlist,
li#navawards,
.pa-gifts,
.acchide,
.forum h2,
.usertable h2,
.topic h2,
a.sharelink,
#pun .pa-ua,
.pa-author img,
.lastedit,
fieldset legend,
#pun .pl-reports,
#pun .mini_gifts,
#pun-userlist .main h2,
#pun-search .main h1,
#profilenav h2,
#profile-gifts,
#messages li.pl-email,
#pun .email,
.catleft,
.catright,
#pun .pl-share,
p.inputfield label em,
p.selectfield label em,
p.passfield label em,
#pun-announcement h2 {
	display: none
}

.punbb {
	height: auto;
}

#pun {
	color: var(--text1);
}

#pun a {
	color: var(--links)
}

#pun a:hover {
	color: var(--text1)
}

/* A5.3 */
#pun-redirect,
#pun-maint {
	margin: 50px 20% 12px 20%;
	width: auto;
	float: none;
	min-height: 100px;
}

#pun-redirect {
	border: 0 none !important;
	margin: 0;
	padding: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	background:
		var(--base-bg) repeat fixed top center !important;
}

#pun-redirect #pun-main {
	background: transparent;
}

#pun-redirect * {
	border: 0 none;
}

#pun-redirect .main-title {
	display: none;
}

#pun-redirect.punbb .info .container {
	text-align: center;
	font: 400 12px var(--font);
	display: inline-block;
	margin: 0 auto;
	width: auto;
	height: auto;
	padding: 50px;
	background: var(--beg100);
	border-radius: 15px;
	width: 1100px;
	margin-top: 50px;
	box-sizing: border-box;
}

/* A5.4 */
.punbb .section,
.punbb .main {
	margin-bottom: 0;
}

/* A5.5 */
.punbb .category,
.punbb .post {
	margin-top: 0.4em;
}

/* A5.6 */
.punbb #pun-category1,
.punbb .toppost,
.punbb .topicpost {
	margin-top: 0;
}

/* 5.7 */
#pun-post .topic {
	margin-top: 1em;
}

/* A5.8 */
.punbb .section,
.punbb .forum,
.punbb .formal,
.punbb .modmenu,
.punbb .info,
.punbb .category,
.punbb .post {
	border: none
}

/* A5.9 */
.punbb .container {
	border: none
}

/* B - MAIN CONTENT - GENERAL */
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
	border: none;
	background: rgba(0, 0, 0, .1);
	height: 1px;
	display: block;
	margin: 5px auto 15px;
	width: 80%;
}

/* B1.3 */
.punbb .post-content p {
	margin: 0;
	padding: 0 0 1em 0;
	line-height: 160%;
	font-family: verdana, sans-serif;
	font-size: 1em
}


/* B1.4 */
.punbb .post-content img {
	vertical-align: text-top
}

/* B1.5 */
.punbb .post-content img.postimg {
	vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode,
.punbb .post-content blockquote {
	width: 100%;
	overflow: visible;
}

/* B1.7 */
.punbb .post-content .scrollbox {
	width: 100%;
	overflow: auto;
	height: auto !important;
	max-height: 200px
}

/* B1.8 */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
	border: medium none;
	margin: 0.4em 0em 0.8em;
	padding: 0em;
}


/* B1.9 */
.punbb .quote-box cite,
.punbb .code-box strong.legend {
	display: block;
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	padding-bottom: 0.0em;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
	padding: 1.1em 1.7em 1em 1.7em;
	border-style: solid;
	border-width: 1px;
	margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
	padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
	font-size: 1.1em;
	font-weight: bold;
}


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
	width: auto;
	height: auto;
	font: 400 12px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0px 0px 5px !important;
	position: relative;
	z-index: 9;
	gap: 5px;
}

/* B3.4 */
.linkst .postlink,
.linksb .postlink {
	text-align: right;
	font-weight: 300;
}

/* B3.5 */
.punbb .linksb {
	width: auto;
	height: auto;
	font: 400 12px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 5px 0 12px !important;
	position: relative;
	z-index: 9;
	gap: 5px;
}


.linksb {
	height: auto;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: auto;
}

#profile .button {
	margin-top: 0 !important;
}

#profile .clearer {
	display: none
}

#profile .linksb:after,
.linksb:after {
	display: none !important;
}


.postlink span+span {
	margin-left: 20px
}

/* B3.6 */
.linksb .pagelink {
	width: auto;
	text-align: left;
	order: 1
}

.pagelink strong {
	font-weight: 400
}


/* B3.7 */
.linksb .postlink,
.linksb noindex {
	width: auto;
	order: 3;
	position: relative;
}

.subscribelink {
	position: relative;
	order: 2;
	text-align: center;
}


.postlink a {
	font-weight: 700
}

.postlink.long .new-topic {
	padding: 0 !important;
}

.postlink.long {
	width: auto !important;
}

.linksb a,
.linkst a {
	color: var(--text1) !important;
}

.linksb a:hover,
.linkst a:hover {
	color: var(--links) !important;
}

.pagelink strong,
.pagelink a {
	padding: 2px 3px 0;
	background: var(--fill);
	font-weight: 600
}

.pagelink strong {
	background: transparent;
	font-weight: 200
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
	padding: 1.7em 2.3em 1.1em 2.3em;
}

#pun-userlist .formal .container,
#pun-search .formal .container,
#pun-login .formal .container,
#pun-register .formal .container {
	padding: 12px 0;
}

#post.container {
	padding: 1em 0 !important;
}

/* C1.2 */
.punbb .formsubmit {
	padding: 0 0 0 0em;
	margin: 0 0 0 0;
	position: relative;
	z-index: 1;
	display: flex;
	gap: 5px;
	align-items: center
}

/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
	margin: 0
}

/* C1.4 */
.punbb fieldset {
	border: 0;
	padding: 0 0px 0 0px;
	margin: 0 0 1em 0
}

#post fieldset {
	margin: 0 !important;
}

/* C1.5 */
.punbb fieldset legend {
	padding: 0;
	margin: 0 0 0 11px;
	font-size: 1.1em
}

/* C1.6 */
.punbb fieldset legend span {
	padding: 0 5px;
	margin: 0 0 0 -15px;
}

/* C1.7 */
.punbb fieldset fieldset {
	border-style: none;
	margin: 0;
	padding: 0 0 8px 0
}

/* C1.8 */
.punbb .fs-box {
	padding: 1em 0 0.8em 0;
}

/* C1.9 */
.punbb .fs-box p,
.punbb .fs-box fieldset {
	padding: 0 0 1em 0
}

/* C1.10 */
.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
	float: left;
	margin-right: 1em;
}

/* C1.11 */
.punbb .inline .infofield {
	clear: both
}

/* C1.12 */
.punbb .datafield br {
	display: none
}

/* C1.13 */
.punbb .required label,
.punbb .datafield span.input {
	font-weight: bold
}

/* C1.14 */
.punbb .datafield span.input a {
	font-weight: normal;
}

/* C1.15 */
.punbb .areafield span.input,
.punbb p.longinput span.input {
	display: block;
	padding: 0 4em 0 0;
	height: 100%;
	/* For IE */
}

/* C1.16 */
.punbb textarea,
.punbb .longinput input {
	width: 64%;
	margin: 0;
}

/* C1.17 */
.punbb .hashelp {
	position: relative;
}

/* C1.18 */
.punbb .helplinks {
	display: block;
	position: absolute;
	top: 1em;
	right: 0;
	font-weight: normal;
	width: 36%;
}

/* c1.19 */
.punbb #profile .helplinks {
	top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
	display: block;
	padding-bottom: 0.2em;
}

.punbb .helplinks span INPUT {
	margin: 0px 2px 2px 0px;
}

/* C1.21 */
#pun-post .formal .info-box li {
	padding-left: 4px;
	list-style-type: square;
	list-style-position: inside;
	line-height: 1.5;
	margin: 0;
}


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
	/*  overflow: hidden;*/
	text-align: left;
	width: 35%;
}

/* C2.2 */
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
	text-align: center;
	width: 6%;
}

/* C2.3 */
.punbb .main .tcr {
	overflow: hidden;
	text-align: left;
	width: 27%;
}


/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
	width: 40%
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
	text-align: left;
	width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
	width: 15%;
	white-space: normal;
}

/* C2.7 */
#pun-debug .tcr {
	width: 90%;
	white-space: normal;
}

/* C2.9 */
.punbb td span.youposted {
	font-weight: bold;
	margin-left: -1em;
	position: absolute;
}

/* C2.10 */
.punbb td .modlist {
	display: none;
	padding-top: 0.3em
}

/* C2.11 */
.punbb .main td {
	border-style: solid none none solid;
	border-width: 1px 0 0 1px;
	padding: 0.9em 0em;
}

/* C2.12 */
.punbb .main th {
	border-style: none none none solid;
	border-width: 0 0 0 1px;
	padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
	border-left-style: none;
	border-left-width: 0;
}

* html .tclcon {
	height: 1px
}

/* C2.14 */
.punbb td div.tclcon {
	line-height: 150%;
	margin-left: 0;
	text-align: left;
}


/* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
	border-style: none solid solid solid;
	border-width: 0px;
	margin-top: 0px;
	padding-bottom: 1px;
}

/* C3.2 */
.punbb .post .container {
	border-style: none solid solid solid;
	border-width: 0px;
	margin-top: 0px;
	padding-bottom: 1px;
}

/* C3.2 */
.punbb .post h3 {
	border-width: 0px;
	-webkit-text-size-adjust: 100%;
	width: auto;
	position: relative;
	display: flex;
	align-items: center;
	font: 300 11px var(--font);
	z-index: 1;
	margin: 0 0 8px !important;
	padding: 5px 0px 0px !important;
	border-top: 1px dashed var(--borders)
}

.post h3 span {
	display: flex !important;
	justify-content: flex-start;
	align-items: center;
	gap: 0;
	flex-wrap: wrap;
	width: 100%;
	color: var(--text3)
}

.post h3 span a,
.post h3 strong {
	font-weight: 700;
	box-sizing: border-box;
	color: var(--text1) !important;
}

.post h3 span a:hover {
	color: var(--links) !important;
}

.post h3 strong {
	order: 2;
	font-weight: normal;
	color: var(--text3)
}

#pun-viewtopic .post.topicpost,
#pun-viewtopic .post.toppost {
	margin-top: 8px !important;
}

.post.endpost {
	margin-bottom: 10px
}

.post h3 span strong:before {
	content: ", #"
}

.post {
	padding-top: 0 !important;
	margin-top: 18px !important;
	scroll-margin-top: 60px;
}

/* C3.5 */
.punbb .post .post-author {
	float: left;
}

/* C3.6 */
.punbb .post .post-author ul,
.punbb .post .post-author p {
	line-height: 140%;
}

/* C3.8 */
.pa-author a {
	text-decoration: none
}

/* C3.11 */
.punbb .post-body {
	margin-left: 280px;
	border: 0;
	padding: 0;
}

/* C3.12 */
.punbb .post-box {
	padding: 0px;
}

/*C3.13 */
.punbb fieldset .post-box {
	margin-bottom: 0.8em;
}

/* C3.14 */
.punbb .post-links {
	margin-left: 0em;
	border-left-style: solid;
	border-left-width: 1px;
	position: relative;
	z-index: 9;
}

/* C3.15 */
.post-links {
	margin-top: 8px;
}

.post-links ul {
	text-align: right;
}

.post-links li {
	display: inline;
}

.profile,
.pm,
.email {
	float: left
}

.post-links li+li,
.pa-links li+li {
	margin-left: 10px
}

.punbb .post-links ul li:first-child {
	margin-left: 0
}

.endpost .post-links ul {
	border: 0 !important;
}

.pa-links ul {
	position: absolute;
	bottom: -30px
}

#pun .post-links ul a,
.pa-links li a {
	font: 700 12px var(--font)
}

#pun .post-links ul a,
#pun .pa-links li a {
	color: var(--text1)
}

#pun .post-links ul a:hover,
#pun .pa-links li a:hover {
	color: var(--links)
}

/* C3.17 */
.pl-email,
.pl-website {
	float: left;
}

/* C3.18 */
.punbb .clearer {
	clear: both;
	height: 0;
	font-size: 0;
}


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
	padding: 0px 0px 0;
	text-align: right;
	margin-top: 4px;
	font: normal 12px var(--font) !important;
}

.forum {
	padding: 4px 0;
}

.forum td {
	padding: 0 !important;
}

.forum tr {
	display: flex;
	padding: 7px 10px !important;
	gap: 16px;
	font: normal 13px var(--font);
	align-items: center;
	color: var(--text3);
	box-sizing: border-box;
}

.forum .tclcon>a {
	display: block;
}

#pun .forum a {
	font-weight: 500;
	color: var(--text1);
}

#pun .forum a:hover {
	font-weight: 500;
	color: var(--links);
}

.forum .tcl {
	flex: 1 1 0;
	min-width: 0;
}

.forum .tc2,
.forum .tc3 {
	opacity: .65
}

#pun .forum .tcr {
	min-width: 0 !important;
	line-height: 130%;
	flex: 0 1 30%;
}

.forum tr:nth-child(odd) {
	background: var(--fill);
}

#topic-modmenu {
	padding-bottom: 5px
}

.forum .tc3 {
	display: none;
}

.forum .tc2 {
	display: flex;
	flex-direction: column;
	flex: 0 0 55px;
}

.forum .tc2:after {
	content: "ответов";
	font-size: 10px
}

#pun-searchtopics .forum .tc2:after {
	content: "тема";
	font-size: 10px
}

.forum .byuser {
	font-size: 11px;
	font-weight: 500
}

.forum .tcr .byuser {
	display: block
}

.forum .byuser:before {
	font-weight: 300;
}

.forum .tclcon .byuser:before {
	content: "Автор темы:"
}

.forum .tcr .byuser:before {
	content: "последнее сообщение:"
}

.forum .pagestext {
	font-weight: 300
}

/* C4.2 */
.punbb .modmenu strong,
.punbb .modmenu a {
	height: 1.8em;
	line-height: 1.8em;
}


/* C4.3 */
.punbb .modmenu .container strong {
	float: left;
}

/* C4.4 */
.punbb .modmenu input {
	margin-left: 1em;
}


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
	padding: 0.8em 1em
}

/* C5.2 */
.punbb .info .container .backlink {
	padding-top: 0.8em;
}


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
	padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
	float: left;
	width: 14em;
	margin-left: -18.7em;
	display: inline;
}

/* C6.3 */
#profilenav li {
	padding-bottom: 0.8em;
	font-weight: normal;
}

/* C6.4 */
#viewprofile ul,
#profilenav ul {
	border-style: solid;
	border-width: 1px;
	padding: 1.5em 18px 0.8em 18px;
	margin: 0 0 1em 0;
}

/* C6.5 */
#viewprofile h2,
#profilenav h2 {
	padding: 3px 0 0 10px;
	margin: 0 14px -0.6em 14px;
	text-align: center !important;
}

/* C6.6 */
#viewprofile h2 span,
#profilenav h2 span {
	padding: 0 5px;
	position: relative;
}

/* C6.7 */
#viewprofile li,
#setmods dl {
	padding: 0 0 0 16em;
	margin-bottom: 0.2em;
}

/* C6.8 */
#viewprofile li span {
	float: left;
	width: 14em;
	margin-left: -16em;
	padding: 0.5em 1em;
	font-weight: normal;
}

/*C6.9 */
#setmods dt {
	float: left;
	width: 14em;
	margin-left: -16em;
	padding: 0.8em 1em;
	font-weight: bold;
	display: inline;
}

/* C6.10 */
#viewprofile li strong,
#viewprofile li div,
#setmods dd {
	display: block;
	padding: 0.5em 1em;
	font-weight: normal;
}

/* C6.11 */
.punbb img.avatardemo {
	float: right;
	margin: 0 0 0.8em 1.8em
}


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal,
#pun-userlist .formal .container {
	border-bottom: none;
	margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
	padding: 0 0 12px;
	border-top: none;
}

/* C7.3 */
#pun-userlist .usertable table {
	border-style: solid;
	border-width: 1px;
}


/* D - PUNBB SECTIONS OTHER THAN MAIN CONTENT */
/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
	margin: 0;
	border: none;
	margin-bottom: -35px;
}

/* D1.2 */
#pun-title h1 {
	display: block;
	height: 10px;
	margin: -1px 0px 0px -30px;
}

/* D1.3 */
#pun-title .container {
	border: none;
	padding: 0.2em 1em 0.8em 1em;
}

/* D1.4 */
#pun-title h1 span {
	display: none;
}

#pun-title TD.title-logo-tdl {
	border: none;
	width: 100%;
}

#pun-title TD.title-logo-tdr {
	border: none;
	width: 420px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
	position: absolute;
	top: -15px;
	left: 0;
	margin: 0;
	border: none;
	padding-left: -20px;
	width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
	background: transparent;
	border: none;
	padding: 0
}

/* D2.3 */
#pun-pagelinks .container li {
	display: inline
}

/* D2.4 */
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
	height: 2em;
	line-height: 2em;
	padding: 0;
	font-size: 1.2em;
	margin-left: -9999px;
	display: block;
	float: left;
	width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
	position: relative;
	margin: 0;
}

#pun-pagelinks li a span {
	display: block;
	margin: 0 1em
}

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks {
	border: none;
	margin: 0;
}

#pun-navlinks .container {
	border: none;
	margin: 0;
}

/* D3.2 */
#pun-navlinks .container {
	font-weight: normal;
}

/* D.3 */
#pun-navlinks li {
	display: inline;
	margin: 0;
}

/* D3.4 */
#pun-navlinks li a {
	font-family: tahoma;
	font-size: 0.8em;
	padding: 10px 5px 10px 7px;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
	border: none;
}

#pun-ulinks .container {}

#pun-ulinks li,
#pun-ulinks li a {
	display: inline;
	white-space: nowrap;
}

#pun-ulinks li a {
	font-size: 0.8em;
	padding: 0 0 0 5px;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status,
#pun-status .container {
	border-bottom: none;
	margin-bottom: 0;
}

#pun-status {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 9;
	box-sizing: border-box;
	color: var(--text2);
	padding: 4px 0 !important;
}

/* D5.2 */
#pun-status .container {
	text-align: left;
	font: 300 10px var(--font);
}

#pun-status .container a {
	color: var(--links2) !important;
}

#pun-status .container a:hover {
	color: var(--beg100) !important;
}

#pun-status .container strong {
	font-weight: 300 !important;
}

#pun-status .status-right {
	float: none !important;
}

#pun-status .item3 {
	margin-left: 10px !important;
}

/* D5.3 */
#pun-status span {
	white-space: pre-line;
	margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
	font-weight: bold;
	overflow: hidden;
	position: relative
}

/* D5.5 */
#pun-crumbs1 p.container {
	border-top: none;
}

/* D5.6 */
#pun-break1 {
	margin: 0 1em;
	border-style: solid none;
	border-width: 1px 0;
	height: 0;
	margin: -2px 1em;
	position: relative;
	z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
	padding: 0;
	margin: 0 1em -3.5em 1em;
	border-style: none none solid none;
	border-width: 0 0 1px 0;
	position: relative;
	font-weight: bold;
	display: none
}

/* D6.2 */
#pun-announcement h2 span {
	display: block;
	padding: 1em 0 0.8em 0;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

/* D6.3 */
#pun-announcement .container {
	padding: 0;
	margin-bottom: 10px;
	text-align: center;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
/* D7.1 */
#pun-stats {
	padding: 0px;
	margin: 20px 0 8px !important;
	height: auto;
	position: relative;
	text-align: left;
	color: var(--text3)
}

#pun-stats a {
	color: var(--text1);
	font-weight: 600
}

#pun-stats a:hover {
	color: var(--links)
}

#pun-stats .container {
	display: grid;
	grid-template-columns: auto 220px;
	grid-template-rows: auto auto auto auto;
	gap: 8px 15px;
	grid-template-areas:
		"online1 stats"
		"online2 stats"
		"online3 stats"
		"online4 stats";
	font: 300 13px/150% var(--font);
	padding: 0 0px;
}


.ststitems {
	display: flex;
	flex-direction: column;
	font: 400 10px var(--font);
	margin: 0px 0px 0px;
	padding: 10px 0 10px 15px;
	align-items: flex-start;
	text-align: left;
	grid-area: stats;
	align-self: start;
	gap: 5px;
	border-left: 1px dashed var(--borders) !important;
}

.ststitems li {
	flex: auto;
	padding: 0 !important;
	display: flex;
	flex-direction: row-reverse;
	gap: 5px
}

.ststitems li span {
	font-size: 0
}

.ststitems li strong,
.ststitems li a {
	font-size: 11px
}

.ststitems li.item1 span:after {
	content: "книг";
	font-size: 11px
}

.ststitems li.item2 span:after {
	content: "свитков";
	font-size: 11px
}

.ststitems li.item3 span:after {
	content: "героев";
	font-size: 11px
}

.ststitems li.item4 {
	flex-direction: row;
}

.ststitems li.item4 span:after {
	content: "приветствуем, ";
	font-size: 11px
}

.ststitems li.item4 a {
	text-transform: uppercase
}

.onlinelist {
	grid-area: online1;
	align-self: start;
	padding-top: 10px !important;
}

.users_24h {
	grid-area: online2;
	align-self: start;
}

.statistics {
	grid-area: online3;
	align-self: start;
}

#pun-stats .container:after {
	display: none !important;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
	margin: 0;
	border: none;
	width: 50%;
	position: relative;
	float: left;
}

/* D8.2 */
#pun-qjump .container {
	border: none;
	background: transparent;
	padding: 0.8em 1em;
}

/* D8.3 */
#pun-about {
	margin-top: 0;
}

/* D8.4 */
#pun-about .container {
	border-top-style: none;
	text-align: right;
	line-height: 150%;
	padding: 0.8em 1em;
}

/* D8.5 */
#pun-about p span {
	display: block;
	padding-left: 50%;
	text-align: center;
}

/* D8.6 */
#pun-crumbs2 {
	font-weight: bold;
	overflow: hidden;
	margin-bottom: 0;
}

/* D8.7 */
#pun-crumbs2 .container {
	font-size: 1.1em;
}

/* D8.8 */
#pun-break4 {
	margin: -2px 1em;
	border-style: solid none;
	border-width: 1px 0;
	position: relative;
	height: 0;
	z-index: 1;
}

/* D8.9 */
div.punbb-admin #pun-about .container {
	border-top-style: solid;
	border-top-width: 1px;
}


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding-bottom: 0;
	margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
	padding-bottom: 0.6em;
	display: block;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p,
#pun-help .formal dd {
	margin-bottom: 1em
}

/* D9.4 */
#pun-help .formal ul,
#pun-help .formal dl {
	padding: 0 0 0 1em
}

/* D9.5 */
#pun-help .formal li {
	padding: 0;
	line-height: 130%
}

/* D9.6 */
#pun-help .formal li * {
	vertical-align: text-top
}

/* D9.7 */
#pun-help .formal dt span {
	font: 1.4em/120% monaco, "bitstream vera sans"
}

.stickytext,
.closedatafield,
#pun-live-rusff,
.pl-reports {
	display: none
}


input,
textarea {
	outline: none;
}

input:active,
textarea:active {
	outline: none;
}

:focus {
	outline: none;
}

#pun-messages .post h3 {
	width: auto;
	margin: 0 !important;
	padding: 5px 0 !important;
}

#pun-messages .post h3 span {
	width: auto !important;
	margin: 0 !important;
}

#pun #pun-messages .post-author {
	position: relative;
	margin-top: 0px !important;
}

#pun-messages .pa-posts {
	display: none
}

#pun-messages .pa-online {
	clear: both
}

#pun-messages .post-content {
	margin-top: 10px !important;
	margin-left: 0px !important;
}

#main-reply {
	height: 200px;
}


#mask_dialog .inner,
.modal-inner.section,
#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner,
.editBookmark {
	border-radius: 10px;
	border: 1px solid var(--borders);
	background: var(--pun-cover);
	padding: 15px !important
}

#post legend span {
	display: none
}


#font-area,
#size-area,
#color-area,
#table-area,
#smilies-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area {
	top: 55px !important;
}

.pl-reports {
	display: none !important;
}

.pa-avatar img {
	max-width: 180px
}

.post-content td {
	border: none transparent !important;
	overflow: hidden !important;
}

::selection {
	background: var(--links);
	color: #fefefe;
}

@-moz-document url-prefix() {
	body {
		scrollbar-width: thin;
		scrollbar-color: var(--links) rgba(20, 18, 15, 0.01);
	}

	html {
		scrollbar-width: thin;
		scrollbar-color: var(--links) rgba(0, 0, 0, 0.01);
	}

	#pun .punbb {
		scrollbar-width: thin;
		scrollbar-color: var(--links) rgba(0, 0, 0, 0.01);
	}
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background-color: rgba(20, 18, 15, 0.1);
	border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
	background-color: var(--links);
	width: 10px!important;
	border-radius: 100px !important;
}

.punbb *::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background-color: rgba(20, 18, 15, 0.1);
}

.punbb *::-webkit-scrollbar-thumb {
	background-color: var(--links);
	width: 10px!important;
}


#html-header {
	color: var(--text2);
}

#html-header a {
	color: var(--links)
}

#html-header a:hover {
	color: var(--links2)
}

.post-content abbr {
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: #555
}


#pun #pun-ulinks #Rz {
	display: none !important;
}

.punbb-admin textarea {
	width: 97% !important;
}

input[type="checkbox"] {
	appearance: none;
	padding: 5px !important;
	cursor: pointer;
	transition: all .4s ease-in-out 0s;
	border-radius: 100%
}

input[type="radio"] {
	border-radius: 100%;
	appearance: none;
	padding: 5px !important;
	cursor: pointer;
	transition: all .2s ease-in-out 0s
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background: var(--links);
	border: 1px solid var(--links) !important;
}

span.checkfield,
p.checkfield {
	display: flex;
	margin-top: 10px !important;
	align-items: center
}

.pl-share {
	display: none !important
}

.pl-email.email {
	display: none !important;
}

body.post-content {
	width: 100%;
}

.bottom_wrap {
	height: 71px;
	padding: 10px;
	display: flex;
	gap: 20px;
	align-items: center;
	width: auto;
	background: var(--origin-card);
	margin-top: 15px
}

.bottom_wrap div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3px;
	overflow-y: auto;
	height: 66px;
	width: 100%;
}

.bottom_wrap img {
	transition: all .6s ease-in-out 0s;
	mix-blend-mode: luminosity;
	opacity: .7;
	border-radius: 5px;
	mix-blend-mode: luminosity;
}

.bottom_wrap img:hover {
	mix-blend-mode: normal;
	opacity: 1
}

#post-form {
	padding: 0px 0px !important;
}


.intd {
	display: flex;
	align-items: center
}

#post-form h2 {
	display: none
}

#charcounter {
	font: 400 12px var(--font);
	background: var(--fill);
	border: 1px solid var(--borders);
	border-radius: 10px;
	text-align: center;
	padding: 5px 25px 4px;
	display: inline-block;
}

.charcount {
	font-weight: 700
}

#profile fieldset #charcounter {
	display: none
}

.post-rating {
	margin-bottom: 8px;
	margin-top: 8px !important;
	position: relative;
	float: right;
	z-index: 9
}


#pun .post-rating p {
	font: 600 9px var(--font) !important;
	display: flex;
	align-items: center;
	background: var(--pun-cover);
	border: 1px solid var(--borders) !important;
	border-radius: 15px;
	padding: 3px 10px 2px !important;
	height: 19px;
	box-sizing: border-box
}

#pun .post-rating p a {
	color: var(--text1);
	display: flex;
	gap: 5px;
}

.post-rating p.container a:before {
	content: "";
	width: 11px;
	height: 11px;
	background: var(--links);
	mask: url(https://forumstatic.ru/files/001b/6b/7e/27163.svg) no-repeat center left;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/27163.svg) no-repeat center left;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	display: block;
	left: 11px;
}

.mylike .post-rating p.container a:before {
	background: var(--borders)
}

.post-vote p.container {
	margin-top: 8px !important;
	padding: 0 !important;
}

#pun .post-vote p.container a {
	font: 600 9px var(--font) !important;
	display: flex;
	align-items: center;
	background: var(--pun-cover);
	border: 1px solid var(--borders) !important;
	border-radius: 15px;
	padding: 3px 10px 2px !important;
	font-size: 0 !important;
	height: 19px;
	box-sizing: border-box
}

.post-vote p.container a:before {
	content: "";
	width: 11px;
	height: 11px;
	background: var(--text3);
	mask: url(https://forumstatic.ru/files/001b/6b/7e/84748.svg) no-repeat center left;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/84748.svg) no-repeat center left;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	display: block;
	margin-top: -1px
}

#viewprofile-next {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}

#viewprofile-next #profilenav {
	display: none
}

#viewprofile-next tr {
	vertical-align: top
}

#profile-left li+li {
	margin-top: 5px;
}

#profile-right {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 10px;
	width: auto !important;
	background: var(--cover2);
	border: 1px solid var(--borders) !important;
	border-radius: 6px;
	padding: 20px !important;
	box-sizing: border-box
}

#profile-right li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: auto;
	text-align: center;
	padding: 10px 10px !important;
	font-size: 11px;
	background: var(--cover1);
	border: 1px solid var(--borders);
	border-radius: 6px;
}


#profile-right li strong {
	flex: auto;
	font-weight: normal;
	padding: 0 !important;
	margin: 0 !important;
}

#pun #profile-right li span {
	float: none;
	margin: 0;
	width: auto;
	font-weight: 600;
	padding-top: 0;
	font-size: 10px;
}

#pa-invites,
#pa-fld2 {
	display: none !important;
}

#profile {
	display: flex;
}

#profile form.container {
	width: 100%;
	padding-left: 18.6em
}


#profilenav {
	background: var(--fill);
	display: flex;
	border-radius: 10px;
	margin-left: -17em
}

#pun-messages #profile>.container {
	display: flex;
	flex-direction: column;
	width: auto !important;
	flex: 1;
	padding-left: 0;
	padding: 30px 0px;
	box-sizing: border-box;
}

#pun-messages #profile>.container {
	display: flex;
	flex-direction: column;
	width: auto !important;
	;
	padding-left: 0;
	padding: 20px 0px;
	box-sizing: border-box;
}

#pun-messages #profilenav {
	float: none;
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	padding: 15px;
	gap: 15px;
	box-sizing: border-box;
}

#pun-messages #profilenav ul,
#pun-messages #profilenav li {
	padding: 0;
}

#pun-messages #profilenav ul {
	display: flex;
	gap: 10px;
	margin: 0
}

#pun-messages #profilenav li {
	background: rgba(192, 191, 185, 0.05);
	border-radius: 10px;
	padding: 5px 25px;
	;
}

#pun-messages #profilenav .isactive {
	font-weight: 700;
	filter: brightness(.9);
	background: var(--fill)
}

#pun-messages #profilenav h2 {
	display: block;
	text-align: left !important;
	padding-left: 0;
	margin-left: 0;
}

#pun-messages .fs-box .container {
	padding: 20px 0px !important;
}

#pun-messages .fs-box .container tr+tr {
	margin-top: 5px;
}

#pun-messages .fs-box .container tr {
	display: flex;
	align-items: center;
	background: var(--fill);
	padding: 0 10px;
	border-radius: 10px;
}

#pun-messages .fs-box .post>.container {
	display: block !important;
}

#pun #pun-messages .post {
	background: transparent;
	border: none !important;
	padding: 0 !important;
	margin-top: 0 !important;
}

#form-buttons table {
	width: 100% !important;
}

#pun #keyboard-span input {
	font-family: Arial, Helvetica, sans-serif !important;
	;
	font-weight: 300;
	font-size: 13px;
	color: #666;
	background-color: var(--cover3);
	margin: 1px 1px 0 0;
	margin-top: 1px;
	border: 1px solid var(--borders) !important;
	cursor: pointer;
	padding: 0 10px !important;
	;
	height: 25px;
	min-width: 30px;
}

#pun #keyboard-span input+input {
	margin: 3px
}

#pun-index .lastpost {
	font-size: 0
}

#pun-index .datetime,
#pun-index .byuser {
	font-size: 11px;
}

#pun-index .datetime:after {
	content: ", "
}

#BookmCntToggle {
	margin-top: 1px !important;
	z-index: 9999;
}

#MyBookmarks {
	background: var(--fill);
	text-shadow: none;
	color: var(--links);
	padding: 20px 20px 10px 20px;
	box-sizing: border-box;
	width: 280px !important;
}

#MyBookmarks inner {
	padding-top: 40px !important;
}

#BookmCntToggle.default-style {
	background: var(--fill) !important;
	border-radius: 2px;
	box-shadow: 2px 2px 1px #000;
	opacity: .95;
}

#MyBookmarks h2 {
	margin: 0 !important;
	padding: 10px 20px !important;
	background: var(--fill);
	border-radius: 6px;
	border: 1px solid var(--borders) !important;
	box-sizing: border-box;
	margin-bottom: 20px !important;
}

.post .bookmark {
	color: var(--links) !important;
}

#BookmCntToggle.default-style {
	color: var(--links) !important;
	z-index: 9999
}

#BookmCntToggle {
	top: 10px;
	left: 10px !important;
}

#MyBookmarks {
	z-index: 99999 !important;
}

#bm2 {
	right: 20px !important;
}

#pun .scrl.t,
#pun .scrl.b {
	box-shadow: none !important;
	background: var(--fill2);
	border: 1px solid var(--borders);
	border-radius: 6px;
	width: 110px;
}

.scrl.t+.scrl.b {
	margin-left: 10px !important;
}

#imageupload-left input[type=button] {
	width: auto !important
}

img#img-left {
	width: 240px;
	height: 100%;
	border-radius: 6px;
	padding: 25px;
}

#left-panel {
	top: 10px;
	padding: 0;
	margin-left: -253px;
	position: fixed;
	z-index: 99999;
	left: 0px;
	overflow: hidden;
	height: 488px !important;
	background: var(--pun-cover);
	border-image: var(--border-img) 1 round !important;
	border-width: 1px 1px 1px 1px !important;
	border-style: solid !important;
	box-sizing: border-box;
	text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.61);
}

#content-L {
	padding: 20px;
	width: 220px;
	height: auto;
	margin-left: 15px;
	margin-top: 15px;
	position: absolute;
	text-shadow: none;
	color: var(--text1);
	font: normal 12px/15px arsenal;
	border-radius: 6px;
	box-sizing: border-box;
	background: var(--pun) var(--texture);
	border: 1px solid #DBD9CB !important;
	box-shadow: 0px 0px 15px 0px rgba(176, 185, 194, 0.27), 0px 0px 25px 0px #8C8A6C inset;
}

.panel-h {
	border: 1px solid var(--borders) !important;
	background: var(--fill);
	border-radius: 3px;
	padding: 4px;
	font-family: arsenal;
	text-transform: uppercase;
	display: block;
	text-align: center;
	letter-spacing: 1px;
	margin: 15px 0 12px 0;
	font-size: 13px;
	font-weight: 600;
}

.panel-h:first-child {
	margin-top: -10px
}

.content-header {
	position: absolute;
	writing-mode: tb-rl;
	transform: rotate(180deg);
	height: 500px;
	background: var(--nav);
	border-image: var(--border-img) 1 round !important;
	border-width: 0 1px 0px 0px !important;
	border-style: solid !important;
	color: var(--text2);
	font: 400 24px arsenal;
	padding: 0 4px;
	right: 0px;
	top: 0px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
}

.areafield.required>.input>span[style~="position:absolute;right:10px;top:10px;z-index:200;cursor:pointer"] {
	top: -25px !important;
}

/* заголовки td в лоре */
#pun td[style~="background-color:#575d39"],
#pun td[style~="background-color:#390707"] {
	background: var(--td-bg-head) !important;
	padding: 1em !important;
	color: var(--text2);
	text-shadow: none
}

#pun td[style~="background-color:#575d39"] .quote-box,
#pun td[style~="background-color:#390707"] .quote-box {
	color: var(--text1)
}

/* подложки td в лоре */
/* подложки td в лоре */
#pun td[style~="background-color:#bebb98"],
#pun td[style~="background-color:#d8c9be"],
#pun td[style~="background-color:#d7bba7"],
#pun td[style~="background-color:#cdb8b8"],
#pun td[style~="background-color:#cfb6b6"] {
	background: var(--td-bg-cover) !important;
	padding: 1em 1.5em !important;
}

/* цитаты td в лоре
#pun td[style~="background-color:#bebb98"]>.quote-box,
#pun td[style~="background-color:#d8c9be"]>.quote-box {
	box-shadow: 5px 10px 10px 0 rgba(0, 0, 0, .05)
} */

/* подложка td в эпизодах */
#pun td[style~="background-color:#ede2e2"] {
	background: var(--td-bg-cover) !important;
	padding: 1em 1.5em !important;
}

/* подложка td под картинку в эпизодах  */
#pun-viewtopic[data-forum-id="12"] td[style~="background-color:#575d39"],
#pun-viewtopic[data-forum-id="13"] td[style~="background-color:#575d39"],
#pun-viewtopic[data-forum-id="10"] td[style~="background-color:#575d39"],
#pun-viewtopic[data-forum-id="11"] td[style~="background-color:#575d39"],
#pun-viewtopic[data-forum-id="16"] td[style~="background-color:#575d39"],
#pun-viewtopic[data-forum-id="20"] td[style~="background-color:#575d39"],
#pun td[style~="background-color:#475d39"] {
	background: var(--td-episode-bg) !important;
	padding: 1em 1.5em !important;
}

/* заголовок td в эпизодах первого дизайна и последующих  */
#pun td[style~="background-color:#72520b"] {
	background: var(--td-bg-head) !important;
	padding: 1em 1.5em !important;
	text-shadow: none
}

#pun td span[style="color: #cd9e6d"],
#pun td span[style="color: #ffffff"] {
	color: var(--text2) !important;
}

#pun-respect td {
	padding: .8em !important;
	;
	overflow-wrap: normal
}

#pun hr {
	opacity: 1;
	filter: none;
	border: 0;
	border-top: 1px dashed var(--text1);
	height: 1px;
	margin: 1em auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

#topic-feed {
	display: none
}

#navpm {
	position: relative
}

#pun .num_msg {
	position: absolute;
	margin-top: 0;
	margin-left: 0;
	top: -3px;
	right: -15px;
	font-size: 10px;
	font-weight: 700;
	background: red;
	padding: 1px 4px;
	border-radius: 100px;
	height: 14px;
	color: #fff;
	cursor: pointer;
}

#pun .num_msg:before {
	display: none
}

#pun-messages #togglePreview {
	top: -15px
}

.post-content table {
	border-radius: 10px;
	overflow: hidden
}

img[alt~="hide-autor2"] {
	opacity: 0;
	display: none
}

.reveal-modal-bg {
	position: fixed;
	height: 100%;
	width: 100%;
	background: #000;
	background: rgba(0, 0, 0, .85);
	z-index: 9999;
	display: none;
	top: 0;
	left: 0;
}

.reveal-modal {
	visibility: hidden;
	top: 0px;
	left: 50%;
	width: 720px;
	position: absolute;
	z-index: 99991;
}

.reveal-modal.xlarge {
	width: 720px;
	margin-left: -355px;
	height: 400px;
	margin-top: 0px;
	background: #2F2F2F;
	border-radius: 10px;
}

.reveal-modal .close-reveal-modal {
	font-size: 22px;
	width: 28px;
	height: 28px;
	display: flex;
	justify-content: center;
	line-height: 24px;
	position: absolute;
	top: 0;
	right: -40px;
	color: #aaa !important;
	background: var(--text1);
	border-radius: 100%;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
}


.personal_page {
	width: 720px;
	height: 400px;
	display: flex;
	margin: auto;
}

.personal_page-item {
	background: #2F2F2F;
	height: 100%;
	width: 340px;
	position: relative;
	overflow: hidden;
	border-radius: 10px 0 0 10px
}

.personal_page-item2 {
	background: var(--pun-cover);
	border-radius: 0px 10px 10px 0;
	height: 100%;
	flex: 1
}

.personal_page-bg>img {
	width: 340px;
	height: 310px;
	object-fit: cover;
	border-radius: 10px 0 0 10px
}

.personal_page-bg {
	width: 340px;
	height: 310px;
	position: relative;
}

.personal_page-bg:before {
	content: "";
	background: rgba(27, 27, 27, 0.5);
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.personal_page-bg:after {
	content: "";
	background: linear-gradient(180deg, rgba(27, 27, 17, 0) 0%, #2F2F2F 100%);
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.personal_page-info {
	color: var(--text2);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 35px;
	padding: 30px;
	box-sizing: border-box;
}

.personal_page-quote {
	font: 300 10px/130% var(--font);
	text-align: center;
	opacity: .75;
}

.personal_page-music {
	width: 100%;
	font: 700 12px/130% var(--font);
}

.music-container {
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	gap: 15px
}

audio {
	display: none;
}

.play-button {
	width: 24px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.play-button::before,
.play-button.playing::before {
	content: '';
	display: inline-block;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	background: url(https://forumstatic.ru/files/001b/6b/7e/43758.svg);
	transition: 100ms all ease;
	cursor: pointer;
}

.play-button.playing::before {
	background: url(https://forumstatic.ru/files/001b/6b/7e/25147.svg);
}

.track_name {
	width: auto;
}

.track_name span {
	font-weight: 400;
	font-size: 10px;
	display: block;
}

.personal_page-scroll {
	overflow: auto;
	margin: 30px;
	box-sizing: border-box;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	padding-right: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 6px;
}

.personal_page-tribute {
	display: flex;
	gap: 15px;
	align-items: center;
	border: 1px solid var(--borders);
	border-radius: 25px;
	background: var(--fill);
	font: 600 12px/130% var(--font);
	height: 35px;
	overflow: hidden;
	opacity: 30%;
	flex-shrink: 0
}

.personal_page-tribute img {
	border: 1px solid var(--borders);
	filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.08));
	border-radius: 0px 25px 100px 0px;
	object-fit: cover;
	width: 90px;
	height: 35px;
}

.personal_page-text {
	flex: 1;
	padding-right: 20px;
	color: var(--links)
}

.personal_page-tribute.taken {
	opacity: 1;
}

.personal_page-tribute.legendary {
	border: 1px solid var(--links);
	background: var(--links);
}

.personal_page-tribute.legendary img {
	border: 1px solid var(--links);
}

.personal_page-tribute.legendary .personal_page-text {
	color: var(--text2)
}

.personal_page-tribute.epic {
	border: 1px solid #282828;
	background: #282828;
}

.personal_page-tribute.epic img {
	border: 1px solid #282828;
}

.personal_page-tribute.epic .personal_page-text {
	color: var(--text2)
}

.awards_theme {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 30px;
}

.awards_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 25px;
}

.awards_header {
	width: 100%;
	text-align: center;
	font: 700 24px/130% philosopher;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	margin-bottom: 30px;
}

.awards_wrap p {
	padding: 0 !important;
	margin: 0 !important;
	font: 400 11px/130% philosopher !important
}

.awards_wrap .awards_subtitle {
	margin: auto;
	width: 60%;
	font-size: 13px !important
}

.personal_page-tribute-wrap>p {
	padding: 10px 0 25px !important;
	text-align: center;
}

.personal_page-tribute-wrap {
	width: 300px;
}

.awards_wrap {
	padding: 20px;
	background: var(--cover5);
	border-radius: 5px;
	border: 1px solid var(--borders);
}

.areafield.required>.input>span[style~="position:absolute;right:10px;top:10px;z-index:200;cursor:pointer"] {
	top: 0) !important;
	background: var(--fill);
	border: 1px solid var(--borders);
	padding: 2px 10px 1px 10px;
	border-radius: 3px;
	right: 0 !important;
	z-index: 1 !important;
}

#stylelist {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	gap: 10px;
	flex-direction: column;
	align-items: flex-start;
	height: auto;
	width: auto;
	justify-content: flex-start;
	z-index: 1;
	background: var(--dark-fill);
	border-radius: 10px;
	padding: 10px 15px;
	color: var(--text2)
}

#stylelist li a {
	height: auto;
	width: auto;
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 11px;
	gap: 5px;
	color: var(--text2);
	font: 500 11px var(--font)
}

#stylelist li a:before {
	content: "";
	width: 20px;
	height: 20px;
	display: block;
	mask-size: contain;
	-webkit-mask-size: contain;
}

#stylelist li[data="light"] a:before {
	mask: url(https://forumstatic.ru/files/001b/6b/7e/46602.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/46602.svg) no-repeat center center;
	background: var(--text2);
}

#stylelist li[data="middle"] a:before {
	mask: url(https://forumstatic.ru/files/001b/6b/7e/11211.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/11211.svg) no-repeat center center;
	background: var(--text2);
}

#stylelist li[data="dark"] a:before {
	mask: url(https://forumstatic.ru/files/001b/6b/7e/55393.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/55393.svg) no-repeat center center;
	background: var(--text2);
}

#stylelist li.active {
	opacity: .5
}

#togglePreview {
	margin-left: auto
}

.settings_wrap {
	position: fixed;
	left: 10px;
	top: 46px;
	z-index: 999;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--dark-fill);
	display: flex;
	align-items: center;
	justify-content: center
}

.settings_wrap .slide_button {
	width: 26px;
	height: 26px;
	font-size: 0;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dark-fill);
	border-radius: 8px;
}

.settings_wrap .slide_button:before {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/84490.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/84490.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 12px;
	height: 12px;
	display: block;
}

.settings_wrap .slide_block {
	position: absolute;
	width: 250px;
	top: 0;
	display: none;
	left: calc(100% + 10px);
}

.settings_container {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 0px;
}

#chfont {
	text-align: center;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	box-sizing: border-box;
	background: var(--dark-fill);
	border-radius: 10px;
	padding: 10px 15px;
	color: var(--text2)
}

#chfont:before {
	content: "Шрифт в постах";
	font: 500 8px var(--font);
	color: var(--text2);
	display: block;
	margin-bottom: 5px;
	width: 100%;
	text-align: left;
	text-transform: uppercase
}

#chfontbut {
	display: none !important;
}

#chfont select {
	cursor: pointer;
	height: 25px
}

#chfontsize {
	width: auto;
	display: flex;
	align-items: center;
	font: 700 12px var(--font);
	gap: 5px;
	margin-left: 5px
}


.fsizeplus,
.fsizeminus {
	box-sizing: border-box;
	color: var(--text2);
	cursor: pointer;
	font-size: 0;
	width: 25px;
	height: 25px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	border-radius: 10px;
	background: var(--profile-bg)
}

.fsizeplus::after {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/27804.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/27804.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 11px;
	height: 11px;
	display: block;
}

.fsizeminus::after {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/92207.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/92207.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 11px;
	height: 11px;
	display: block;
}


.header_wrapper {
	padding: 30px !important;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0;
	font: 400 9px/130% var(--font);
	color: var(--text1);
	position: relative
}

.header_item {
	max-width: 320px
}

.header_item.item-news {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 130px;
	overflow-y: auto;
	padding: 10px;
	box-sizing: border-box;
}

.header_item.item-news p {
	padding: 10px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 12px;
		background: var(--beg100);
	border-radius: 4px;
}

.header_item.item-news p + p {
	margin-top: 2px
}

.header_item.item-news b {
	background: var(--dark-fill);
	color: var(--text2);
	font-size: 8px;
	text-transform: uppercase;
	padding: 3px 10px 3px;
	border-radius: 10px;
	white-space: nowrap;
	line-height: 120%;
	width: 80px;
	box-sizing: border-box
}

.header_item.item-news span {
	flex: 1;
}

.header_item.item-links {
	padding: 0 10px;
	display: flex;
	gap: 5px;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	max-width: 120px;
	margin-right: -10px
}

.header_item.item-links a {
	color: var(--text2) !important;
	background: var(--links);
	padding: 4px 15px;
	border-radius: 15px;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 600;
	transition: all .3s linear 0s !important;
	text-align: center
}

.header_item.item-links a:hover {
	background: var(--dark-fill)
}

.header_item.item-age {
	color: var(--text2);
	font-size: 12px;
	font-weight: 600;
	position: absolute;
	top: 30px;
	left: 20px;
	z-index: 1;
	background: var(--dark-fill);
	width: 25px;
	height: 25px;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 2px;
}

.middle {

	--pun-cover: #DEDEDE;

	--borders: #C2C2C2;

	--fill: #E8E8E8;

	--td-bg-cover: #E8E8E8;
	--td-episode-bg: #E8E8E8;
}

.dark {
	--pun-cover: #272626;

	--pun-texture: url(https://forumstatic.ru/files/001b/6b/7e/10579.png);

	--header: url(https://forumstatic.ru/files/001b/6b/7e/44812.png);
	--header-decor: url(https://forumstatic.ru/files/001b/6b/7e/38252.png);

	--borders: #463E40;

	--text1: #B9AFA9;
	--links: #A84904;
	--text2: #B9AFA9;
	--text3: #736D69;
	--text4: #F4F4F2;
	--links2: #B9836D;

	--dark-fill: #272727;
	--dark-fill2: #322F2D;

	--fill: #292929;

	--td-bg-head: #A84904;
	--td-bg-cover: #292929;
	--td-episode-bg: #292929;
}

.calendar_wrap {
	position: fixed;
	left: 10px;
	top: 80px;
	z-index: 999;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--dark-fill);
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar_wrap .slide_button {
	width: 26px;
	height: 26px;
	font-size: 0;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dark-fill);
	border-radius: 8px;
}

.calendar_wrap .slide_button:before {
	content: "";
	mask: url(https://forumstatic.ru/files/001b/6b/7e/95533.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001b/6b/7e/95533.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 12px;
	height: 12px;
	display: block;
}

.calendar_wrap .slide_block {
	position: absolute;
	width: 250px;
	top: 0;
	display: none;
	left: calc(100% + 10px);
}

.calendar_container {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 10px 15px 15px !important;
	background: var(--beg100);
	border-radius: 10px;
	font: 300 12px var(--font);
}

.calendar-title {
	background: var(--profile-bg);
	font-weight: 800;
	text-transform: uppercase;
	padding: 5px 10px 3px !important;
	border-radius: 10px;
	text-align: center;
	margin-top: 10px;
	color: var(--text2)
}

.mobile_header {
	display: none;
	width: 100%;
	height: 100px;
	background: url(https://forumstatic.ru/files/001b/6b/7e/51681.svg?v=1) no-repeat center center;
	position: absolute;
	left: 0;
}

@media screen and (max-width: 1000px) {
    html, body, #pun, .punbb {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: contain;
    -webkit-text-size-adjust: none;
    overflow-wrap: break-word;
    float: none;
}
body {
    position: relative;
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
    z-index: 1;
    background-size: cover;
}
img {
    max-width: 100% !important;
    height: auto;
}
#pun_wrap #pun {
    width: 100% !important;
    border-width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
	border-radius: 0 !important;
}
	#pun_wrap:after {
		display: none !important;
	}
#pun .punbb {
		padding: 15px !important;
    box-sizing: border-box;
	border: 0
	}
	#pun .punbb:before {
		display: none
	}
	.branch_start, .logo-img, .header_item, .branch_end, .footer_quote {
		display: none !important;
	}
	.header_wrapper {
		width: auto;
		margin: -15px -15px 0 !important;
		border-radius: 0
	}
	.nav_wrapper {
		position: relative;
		top: 0;
		left: 0;
		margin: 0 -15px 8px !important;
		border-radius: 0;
		width: auto !important;
		height: auto !important;
		justify-content: flex-start;
		padding: 0 10px !important;
		gap: 5px;
	}

	#pun-navlinks.section {
		width: auto !important;
	}
	
	#pun-navlinks {
	 align-self: stretch
	}

	#pun-navlinks ul {
		justify-content: flex-start;
		gap: 5px;
	}

#pun-navlinks li a {
		display: flex !important;
		justify-content: center;
		align-items: center;
	font-weight: normal !important;
	}

	#pun-navlinks a {
		color: var(--text1) !important;
		background: var(--fill);
		padding: 3px 8px 4px !important;
		border-radius: 10px;
		display: block !important;
	}

	#pun-navlinks li a span {
		font-size: 0;
		display: none;
	}

	#navpr_1 li span {
		font-size: 0;
		display: none
	}

	#navpr_2 li span {
		font-size: 0;
		display: none
	}

	#navindex a:before {
		content: "\f015";
		font-family: FontAwesome;
		font-size: 14px
	}

	#navuserlist a:before {
		content: "\f0c0";
		font-family: FontAwesome;
	}

	#navsearch a:before {
		content: "\f002";
		font-family: FontAwesome;
	}

	#navpm a:before {
		content: "\f0e0";
		font-family: FontAwesome;
	}

	#navprofile a:before {
		content: "\f2bb";
		font-family: FontAwesome;
	}

	#navadmin a:before {
		content: "\f085";
		font-family: FontAwesome;
	}

	#navlogin a:before {
		content: "\f090";
		font-family: FontAwesome;
	}

	#navlogout a:before {
		content: "\f08b";
		font-family: FontAwesome;
	}

	#navregister a:before {
		content: "\f067";
		font-family: FontAwesome;
	}

	#navpr_2 a:before {
		content: "\f0f3";
		font-family: FontAwesome;
	}

	#navpr_1 a:before {
		content: "\f21b";
		font-family: FontAwesome;
	}

		#navprofiles a:before {
		content: "\f234";
		font-family: FontAwesome;
	}

	#navindex a span {
		display: block;
	}

	#navuserlist a span {
		display: block;
	}

	#navawards a span {
		display: block;
	}

	#navsearch a span {
		display: block;
	}

	#navpm a span {
		display: block;
	}

	#navprofile a span {
		display: block;
	}

	#navadmin a span {
		display: block;
	}

	#navlogin a span {
		display: block;
	}

	#navlogout a span {
		display: block;
	}

	#navregister a span {
		display: block;
	}

	#navpr_1 a span {
		display: block;
	}

	#navpr_2 a span {
		display: block;
	}
	#pun-ulinks ul, #pun-ulinks {
		justify-content: flex-start !important;
		text-align: left;
		display: flex;
		flex-wrap: wrap;
		gap: 5px !important;
	}
	#pun-ulinks li, #pun-ulinks li a {
		display: block;
		margin: 0 !important;
	}
	#pun-ulinks a {
		background: var(--fill);
		padding: 3px 10px 4px !important;
		border-radius: 10px;
		display: block
	}
	.nav_wrapper.fixed {
		width: 100% !important;
		top: 0;
		height: auto !important;
		margin: 0 !important;
		padding: 10px !important;
	}
	.nav_wrapper.fixed #pun-ulinks {
		display: none
	}
	#pun-status {
		position: relative;
		width: auto;
		margin: 0 0 8px !important;
		left: 0;
		padding: 4px 0 !important;
		height: auto;
		top: 0;
		color: var(--text1);
		justify-content: flex-start
	}
	#pun-status .item3, #pun-status .item4 {
		display: none !important;
	}
	#BookmCntToggle, .calendar_wrap {
		display: none !important;
	}
	#pun .category h2:before {
		display: none
	}
	#pun .category em, #pun-stats em {
		display: none
	}
	#pun .category tr {
		flex-direction: column;
		gap: 6px !important;
		border-bottom: 1px dashed var(--borders) !important;
		padding: 10px 0 !important;
		justify-content: flex-start;
		align-items: flex-start
	}
	#pun .category tr .tcl {
		align-self: stretch;
		width: 100%;
		border: 0 !important;
		padding: 0px 0 !important;
	}
	#pun .category tr .tclcon {
		width: 100%;
	}
	#pun-index .tclcon:after {
		top: 0;
		left: calc(100% - 50px)
	}
	#pun-index .Add {
		display: none
	}
	#pun-index .tcr {
		align-self: stretch;
		width: 100%;
		padding:  0 !important;
	}
	#pun-stats .ststitems {
		display: none;
	}
	#pun-stats .container {
		display: flex;
		flex-wrap: wrap;
	}
	#pun .bottom_wrap {
		position: relative;
		margin: 10px 0 0 !important;
		bottom: 0;
		left: 0;
		padding: 0;
		width: 100%
	}
	.linkst, .linksb {
		flex-wrap: wrap
	}
	.forum .tc2, .forum .tc3 {
		display: none
	}
	.forum tr {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
	.forum .tcl, #pun .forum .tcr {
		width: 100% !important;
		flex-basis: auto;
	}
	.post-author {
		float: none !important;
		width: 100%;
		padding: 10px;
		margin: 0 0 10px !important;
	}
	.post-author > ul {
		padding: 15px !important;
		min-height: 60px;
		box-sizing: border-box;
	}
	#pun-viewtopic .post {
		margin-top: 12px !important;
		scroll-margin-top: 80px;
	}
	.pa-fld1, .pa-fld3, .pa-fld4, .pa-fld2, .pa-posts {
		display: none
	}
	.pa-avatar {
		position: absolute;
		top: 20px;
		right: 20px
	}
	.pa-avatar img {
		width: 50px;
		height: 50px;
		object-fit: cover
	}
	.post-body {
		margin: 0 !important;
	}
	.go-up, .go-down {
		margin: 0 !important;
		right: 0;
		border-radius: 10px
	}
	p.formsubmit {
		flex-wrap: wrap
	}
	#viewprofile .container, #viewprofile ul {
		padding: 0 !important;
	}
	#viewprofile tr {
		display: flex;
		flex-direction: column
	}
	#pun #profile-left {
		width: 100%;
		text-align: center;
	}
	#pun #profile-right {
		flex-direction: column;
		align-items: stretch
	}
	#profile form.container {
		padding: 0 !important;
		display: flex;
		flex-direction: column;
	}
	#profilenav {
		margin: 0 !important;
		width: 100%;
	}
	#profilenav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 5px
	}
	#profilenav li {
		padding: 3px 10px;
		border: 1px solid var(--borders);
		border-radius: 10px
	}
	.mobile_header {
		display: block
	}
	#tags .container {
		max-width: 100% !important;
		box-sizing: border-box;
		left: 0;
	}
#pun-profile #profile .container {
	padding: 0;
	display: flex;
	flex-direction: column;
}
	#pun-messages input.longinput {
		width: 100% !important;
	}
 #pun .post-content span[style*="float:left"][style*="margin:15px"],
  #pun .post-content span[style*="float:right"][style*="margin:15px"],
  #pun .post-content span[style*="float: left"][style*="margin: 15px"],
  #pun .post-content span[style*="float: right"][style*="margin: 15px"] {
    display: flex;
    float: none !important;
    justify-content: center;
  }

}

.custom_tag_h4 {
	background: var(--td-bg-head);
	color: var(--text2);
	padding: 8px 10px 6px;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 10px
}

.custom_tag_h4 p {
	margin: 0 !important;
	padding: 0 !important;
	font: 600 15px var(--font) !important;
	text-transform: uppercase
}

.custom_tag_h5 {
	padding: 6px 10px 10px;
	text-align: center;
	border-radius: 10px
}

.custom_tag_h5 p {
	margin: 0 !important;
	padding: 0 !important;
	font: 600 11px var(--font) !important;
	text-transform: uppercase
}


.custom_tag_storylist {
	background: var(--fill);
	padding: 25px;
	border-radius: 15px
}

.custom_tag_storylist strong {
	font-size: 1.1em;
	margin-top: 5px;
	display: inline-block
}

.custom_tag_storylist .custom_tag_h5 {
	margin: 15px 0 5px
}
.charlist_title {
  font-weight: bold;
}
.charlist_item:not(.charlist_title)::before {
    content: "•";
    display: inline-block;
    margin-right: 0.5em;
    font-size: 1em;
    line-height: 1;
}
.punbb[data-forum-id="7"] .custom_tag_h5 {
	margin-bottom: 1em;
	text-align: left;
}

.punbb[data-forum="7"] .custom_tag_h5 p {
	font-size: 1.2em !important;
}

.punbb[data-forum-id="10"] .postlink.long,
.punbb[data-forum-id="11"] .postlink.long,
.punbb[data-forum-id="12"] .postlink.long,
.punbb[data-forum-id="13"] .postlink.long {
	display: none
}

.custom_tag_indent {
	display:inline-block;
	margin: 0.7em 1em!important;
}

#notify-link .unreads, #navpm .unreads {
  display:flex;
	justify-content: center;
	align-items: center;
  position:absolute;
  top:-5px !important;
  right:-15px !important;
  height:15px;
  min-width:15px;
  padding:0 2px;
  box-sizing:border-box;
  text-align:center;
  border-radius:8px;
  font:bold 10px/150% var(--font) !important;
  cursor:pointer;
  color:var(--text4) !important;
  background:var(--links) !important;
  box-shadow:none !important;
  text-shadow:none;
  z-index:10
}

.bg_decor {
	position: fixed;
	width: 100%;
	height: 50%;
	background: url(https://forumstatic.ru/files/001b/6b/7e/66618.png);
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: -1;
	pointer-events: none
}

/* ORIGIN — палитра и графика старого дизайна на актуальной вёрстке. */

/* Палитра и графика. Размер исходной шапки: 1071 &#215; 342. */
:root,
body {
  --origin-width: 1071px;
  --origin-gutter: 25px;
  --origin-bg: url(https://forumstatic.ru/files/0019/4f/84/52691.png);
  --origin-header: url(https://forumstatic.ru/files/0019/4f/84/77143.png);
  --origin-paper: url(https://forumstatic.ru/files/0019/4f/84/91112.png);
  --origin-footer: url(https://forumstatic.ru/files/0019/4f/84/45091.png);
  --origin-icon: url(https://forumstatic.ru/files/0019/4f/84/78779.png);
  --origin-new: url(https://forumstatic.ru/files/0019/4f/84/66253.png);
  --origin-closed: url(https://forumstatic.ru/files/0019/4f/84/54444.png);
  --origin-sticky: url(https://forumstatic.ru/files/0019/4f/84/82448.png);
  --origin-frame-tint: transparent;
  --origin-gold: #b07f41;
  --origin-heading: #675341;
  --origin-muted: #61624e;
  --origin-on-dark: #fef9e3;
  --origin-panel: #343c2c;
  --origin-quote: #d6d6c9;
  --origin-card: #d6d6c9;
  --origin-control: #fcfaec;
  --origin-hover: #80551f;
  --origin-profile-link: #e1c78b;
  --origin-nav: #575d39;
}

:root,
body,
body.light {
  --base-bg: #1b1b19 var(--origin-bg);
  --beg100: #fef9e3;
  --pun-cover: #fef9e3;
  --pun-texture: none;
  --header: var(--origin-header);
  --header-decor: none;
  --branch-top: none;
  --branch-bottom: none;
  --logo: none;
  --borders: #c8c5a7;
  --text1: #343635;
  --text2: #fef9e3;
  --text3: #61624e;
  --text4: #343635;
  --links: #3e4e2c;
  --links2: #b07f41;
  --hover-link: #80551f;
  --accent: #747850;
  --accent2: #575d39;
  --light-blur: transparent;
  --cat-blood: transparent;
  --dark-fill: #343c2c;
  --dark-fill2: #454b32;
  --dark-border: #bebb98;
  --fill: #d6d6c9;
  --fill2: #d6d6c9;
  --profile-bg: #343c2c;
  --profile-fill: #d6d6c9;
  --cover1: #fcfaec;
  --cover2: #eeecd9;
  --cover3: #fcfaec;
  --cover5: #eeecd9;
  --pun: #fef9e3;
  --texture: none;
  --nav: #575d39;
  --border-img: none;
  --font: "Philosopher", Tahoma, sans-serif;
  --td-bg-head: #575d39;
  --td-bg-cover: #d6d6c9;
  --td-episode-bg: #d6d6c9;
}

/* Существующий переключатель тем сохраняется. */
body.middle {
  --beg100: #e5e2ce;
  --pun-cover: #e5e2ce;
  --pun: #e5e2ce;
  --borders: #b3b098;
  --fill: #d1cfbc;
  --fill2: #d1cfbc;
  --cover1: #eae7d5;
  --cover2: #d8d6c1;
  --cover3: #eae7d5;
  --cover5: #d8d6c1;
  --profile-fill: #d1cfbc;
  --td-bg-cover: #d1cfbc;
  --td-episode-bg: #d1cfbc;
  --origin-frame-tint: #e5e2ce;
  --origin-card: #d1cfbc;
  --origin-quote: #d1cfbc;
  --origin-control: #eae7d5;
}

body.dark {
  --beg100: #252820;
  --pun-cover: #252820;
  --pun: #252820;
  --pun-texture: none;
  --header: var(--origin-header);
  --header-decor: none;
  --borders: #535840;
  --text1: #e0dfd0;
  --text2: #fef9e3;
  --text3: #bdbca9;
  --text4: #e0dfd0;
  --links: #dfc58b;
  --links2: #b99b62;
  --hover-link: #f5dfb2;
  --dark-fill: #343c2c;
  --dark-fill2: #454b32;
  --dark-border: #535840;
  --fill: #33372c;
  --fill2: #33372c;
  --profile-fill: #33372c;
  --cover1: #30342a;
  --cover2: #2b2f26;
  --cover3: #30342a;
  --cover5: #2b2f26;
  --td-bg-head: #575d39;
  --td-bg-cover: #33372c;
  --td-episode-bg: #33372c;
  --origin-frame-tint: #252820;
  --origin-card: #33372c;
  --origin-quote: #33372c;
  --origin-control: #30342a;
  --origin-heading: #dfc58b;
  --origin-muted: #bdbca9;
  --origin-hover: #f5dfb2;
  --origin-row-art: none;
}

/* Полотно: нижняя рамка и вертикальные края в одном контейнере.
   Цветовой слой не закрывает пять пикселей рамки по краям. */
html {
  background: #1b1b19 var(--origin-bg) repeat center top;
}

body {
  background: var(--base-bg) repeat center top;
  min-width: 0;
}

/* HTML-посты могут использовать body.post-content без оболочки форума. */
body.post-content {
  background: var(--pun-cover);
  color: var(--text1);
}

#pun {
  width: min(var(--origin-width), calc(100% - 32px));
  max-width: var(--origin-width);
  box-sizing: border-box;
  margin: 10px auto 30px !important;
  padding: 0 var(--origin-gutter) 22px;
  border: 0;
  border-radius: 0;
  background-color: var(--beg100);
  background-image:
    linear-gradient(var(--origin-frame-tint), var(--origin-frame-tint)),
    var(--origin-footer),
    var(--origin-paper);
  background-position: center top, center bottom, center top;
  background-size: calc(100% - 10px) calc(100% - 6px), 100% 22px, 100% 16px;
  background-repeat: no-repeat, no-repeat, repeat-y;
  color: var(--text1);
}

#pun #html-header {
  position: relative;
  color: var(--text1);
}

/* Нижние 40 px исходника — техническая полоса под меню.
   Сам рисунок не растягивается: высоту задаёт его пропорция. */
#pun #html-header .header_wrapper {
  width: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: 1071 / 302;
  margin: 0 calc(0px - var(--origin-gutter));
  padding: 0;
  border-radius: 0;
  background: var(--origin-header) no-repeat center top / 100% auto;
}

#pun .bg_decor,
#pun .branch_start,
#pun .branch_end,
#pun .logo-img,
#pun .mobile_header,
#pun .category h2::before,
#pun-stats h2::before {
  display: none;
}

#pun #html-footer {
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  z-index: auto;
}

/* Меню располагается в потоке; закрепляется только основная строка. */
#pun-navlinks {
  width: auto;
  height: auto;
  min-height: 34px;
  margin: 0 calc(5px - var(--origin-gutter)) !important;
  padding: 0;
  background: var(--origin-nav);
  position: sticky;
  top: 0;
  z-index: 20;
}

#pun-navlinks .container {
  width: 100%;
  box-sizing: border-box;
}

#pun-navlinks ul {
  height: auto;
  min-height: 34px;
  width: 100%;
  padding: 2px 10px !important;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 5px;
}

#pun-navlinks a {
  min-height: 30px;
  height: auto;
  padding: 4px 10px !important;
  box-sizing: border-box;
  color: var(--origin-on-dark) !important;
  border-radius: 3px;
  font: 400 13px/1.3 var(--font) !important;
}

#pun-navlinks a:hover {
  background: #747850;
  color: #fff5d5 !important;
}

#pun-ulinks {
  position: sticky;
  top: 30px;
  height: auto;
  min-height: 24px;
  margin: 0 !important;
  padding: 7px 0;
  background: transparent;
  z-index: 9;
	background: var(--beg100);
}

#pun-ulinks ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

#pun-ulinks li a {
  margin: 0 !important;
  font-size: 11px !important;
}

#pun-status {
  height: auto;
  min-height: 0;
  width: 100%;
  margin: 0 0 8px !important;
  padding: 4px 0 !important;
  color: var(--origin-muted);
  gap: 8px;
  flex-wrap: wrap;
}

#pun-status .container a {
  color: var(--links) !important;
}

#pun-status .container a:hover {
  color: var(--origin-hover) !important;
}

/* Заголовки и карточки разделов. */
#pun .category h2,
#pun-stats h2 {
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--borders) !important;
}

#pun .category h2 span,
#pun-stats h2 span {
  color: var(--origin-heading);
  font: 400 24px/1.25 var(--font);
  text-transform: none;
  white-space: normal;
}

#pun .category h2 em,
#pun-stats h2 em {
  width: auto;
  flex: 1 1 280px;
  color: var(--origin-muted);
}

#pun-index .category + .category {
  margin-top: 16px;
}

#pun-index .category tr {
  gap: 14px;
}

#pun-index .category .tcl {
  width: 62%;
  flex: 0 1 62%;
  min-width: 0;
  padding: 7px 0 !important;
  border-right: 0 !important;
}

#pun-index .category .intd {
  gap: 12px;
  min-width: 0;
}

#pun-index .category .tclcon {
  width: auto;
  min-width: 0;
  flex: 1;
  box-sizing: border-box;
  padding: 10px 14px !important;
  background-color: var(--origin-card);
  background-position: left top;
  background-repeat: repeat-x;
  border-left: 4px solid var(--origin-gold);
  box-shadow: -3px 0 0 var(--origin-nav);
  border-radius: 0;
  color: var(--text1);
  gap: 5px;
}

#pun-index .tclcon::after {
  display: none;
}

#pun-index .tclcon h3 a {
  font-size: 17px;
  border-bottom-color: var(--borders) !important;
}

#pun-index .tcr {
  min-width: 0;
  flex: 1 1 0;
  line-height: 140%;
}

#pun-index .Tems_And_messages {
  width: 76px;
}

#pun-index .datetime,
#pun-index .byuser,
#pun .forum .byuser,
#pun .forum tr,
#pun-stats,
#pun .post h3 span {
  color: var(--origin-muted);
}

#pun .forumlinks a:hover {
  background: var(--origin-nav);
  color: var(--origin-on-dark) !important;
}

#pun a:hover,
#pun .forum a:hover {
  color: var(--origin-hover);
}

#pun .category a:hover {
  color: var(--origin-hover) !important;
}

#pun .category .forumlinks a:hover {
  color: var(--origin-on-dark) !important;
}

/* Обычные, важные, закрытые и новые темы. Новые имеют приоритет. */
#pun .category tr,
#pun .forum tr {
  --origin-status-icon: var(--origin-icon);
  --origin-status-opacity: .8;
}

#pun .category tr.isticky,
#pun .forum tr.isticky {
  --origin-status-icon: var(--origin-sticky);
  --origin-status-opacity: 1;
}

#pun .category tr.iclosed,
#pun .forum tr.iclosed {
  --origin-status-icon: var(--origin-closed);
  --origin-status-opacity: .65;
}

#pun .category tr.inew,
#pun .forum tr.inew {
  --origin-status-icon: var(--origin-new);
  --origin-status-opacity: 1;
}

#pun-index .category table div.icon,
#pun .forum div.icon {
  display: block;
  position: static;
  float: none;
  flex: 0 0 var(--origin-icon-size, 44px);
  width: var(--origin-icon-size, 44px);
  height: var(--origin-icon-size, 44px);
  margin: 0 !important;
  align-self: center;
  border: 0;
  border-radius: 0;
  background: var(--origin-status-icon, var(--origin-icon)) no-repeat center / contain;
  opacity: var(--origin-status-opacity, .8);
  z-index: auto;
}

#pun .forum div.icon {
  --origin-icon-size: 28px;
}

#pun .forum .intd {
  gap: 10px;
  min-width: 0;
}

#pun .forum .tcl,
#pun .forum .tclcon {
  min-width: 0;
}

#pun .forum .tclcon {
  flex: 1;
  overflow-wrap: anywhere;
}

#pun .forum .tc2,
#pun .forum .tc3 {
  color: var(--origin-muted);
}

/* Профиль в посте: сохраняются размеры и пользовательские поля. */
#pun .post-author {
  background: var(--origin-panel);
  border: 1px solid #6f704b;
  border-radius: 4px;
  color: var(--origin-on-dark);
}

#pun .post-author::after {
  display: none;
}

#pun .post-author > ul {
  background: var(--profile-fill);
  color: var(--text1);
  border-radius: 3px;
}

#pun .post-author > ul a {
  color: var(--links);
}

#pun .post-author > ul a:hover {
  color: var(--origin-hover);
}

#pun .indOnline {
  color: var(--origin-profile-link);
}

#pun .indOffline {
  color: var(--origin-on-dark);
}

#pun .pa-avatar img {
  border-radius: 2px;
}

.punbb .post-sig dt {
  width: min(500px, 100%);
  background: url(https://forumstatic.ru/files/0015/b8/13/17907.png) no-repeat center / 100% 1px;
}

/* Формы, цитаты, кнопки и окна используют ту же палитру. */
#pun-main blockquote,
#pun-main .blockcode,
#pun .quote-box.spoiler-box {
  background: var(--origin-quote);
  border-color: var(--borders);
  border-radius: 4px;
}

#pun .quote-box cite,
#pun .code-box strong.legend {
  background: var(--origin-nav);
  color: var(--origin-on-dark);
  border-radius: 3px;
}

#pun textarea,
#pun select,
#pun input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  background: var(--origin-control);
  color: var(--text1);
  border-radius: 4px;
}

#pun .button,
#pun input[type="button"],
#pun #pa-edit strong a,
#pun .hvStickerPackModalTab.active,
#pun #paginator a:hover {
  background: var(--origin-nav);
  color: var(--origin-on-dark) !important;
}

#pun .button:hover,
#pun input[type="button"]:hover,
#pun #pa-edit strong a:hover {
  background: #747850;
  color: var(--origin-on-dark) !important;
}

#pun .custom_tag_h4,
#pun td[style~="background-color:#575d39"],
#pun td[style~="background-color:#390707"],
#pun td[style~="background-color:#72520b"] {
  color: var(--origin-on-dark);
}

#pun .post-vote p.container a::before {
  background: var(--links);
}

#pun .go-up,
#pun .go-down {
  margin: 0 !important;
  right: max(8px, calc((100vw - var(--origin-width)) / 2 - 56px));
  color: var(--origin-on-dark) !important;
}

#pun .go-up { bottom: 76px; }
#pun .go-down { bottom: 40px; }

#pun-redirect.punbb .info .container {
  width: min(var(--origin-width), calc(100% - 32px));
  color: var(--text1);
}

/* Адаптив свежего CSS остаётся; меняются стыки графики и меню. */
@media screen and (max-width: 1000px) {
  body { --origin-gutter: 15px; }

	html, body {
		overflow-x: hidden
	}

  #pun {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    background-size: calc(100% - 10px) calc(100% - 6px), 100% 22px, 100% 16px;
  }

  #pun > .punbb {
    padding: 15px 15px 28px !important;
  }

  #pun #html-header .header_wrapper {
    margin: -15px -15px 0 !important;
    height: auto;
    aspect-ratio: 1071 / 302;
  }

  #pun #pun-navlinks {
    position: relative;
    margin: 0 !important;
    min-height: 34px;
		margin: 0 -14px !important;
  }

  #pun #pun-navlinks ul {
    padding: 5px !important;
    justify-content: center;
  }

  #pun #pun-navlinks a {
    background: transparent;
    color: var(--origin-on-dark) !important;
    min-width: 30px;
    padding: 6px 8px !important;
  }

  #pun #pun-ulinks {
    position: relative;
    top: auto;
    margin: 0 !important;
    padding: 4px 0;
    height: auto;
  }

  #pun-index .category .tcl {
    width: 100%;
    flex-basis: auto;
  }

  #pun-index .category .tclcon { padding: 10px !important; }

  #pun-index .category table div.icon {
    --origin-icon-size: 30px;
  }

  #pun-index .tcr {
    flex-basis: auto;
    width: 100%;
  }

  #pun .category h2 span,
  #pun-stats h2 span { font-size: 21px; }

  #pun .post-author {
    width: 100%;
    box-sizing: border-box;
  }

  #pun .go-up,
  #pun .go-down { right: 8px; }

  #pun-redirect.punbb .info .container {
    padding: 24px;
    margin-top: 20px;
  }
}
