/***************************************
A - SETUP
***************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/


/* A1.1 */

  @charset "windows-1251";
  @import url(style_cs.1791297512.css);

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/v5-font-face.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* используются в дизайне */

/* доп шрифты */
@import "//fonts.fontstorage.com/import/bebasneue.css";
@import url('//fonts.googleapis.com/css2?family=Bellota+Text:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Alex+Brush|Almendra+SC|Amatic+SC|Anton|Arizonia|Bad+Script|Bangers|Bowlby+One|Cabin+Sketch|Caesar+Dressing|Caveat|Cookie|Cormorant+SC|Dancing+Script|Denk+One|Dorsa|Fredericka+the+Great|Great+Vibes|Indie+Flower|Jura|Kaushan+Script|Limelight|Lobster|Marvel|Megrim|Monoton|Oleo+Script|Open+Sans+Condensed:300|Oranienbaum|Oswald|Pacifico|Pattaya|Play|Playfair+Display+SC|PT+Sans+Caption|Qwigley|Roboto|Russo+One|Rochester|Sacramento|Sansita|Satisfy|Six+Caps|Special+Elite|Squada+One|Unica+One|Walter+Turncoat|Yanone+Kaffeesatz|Yeseva+One&subset=cyrillic-ext');
@import url('//fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

@font-face {
    font-family: 'Dune Rise';
    src: url('https://forumstatic.ru/files/001c/a0/e4/53068.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Galach';
    src: url('https://forumstatic.ru/files/001c/a0/e4/16431.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/*баннеры фикс*/
@media screen and (max-width: 720px) {
.banners_wrapper div {
    width: 100%;
    margin: 0px 0px !important;
}
}

:root {
    --base-bg: #1d1d20 url(https://forumstatic.ru/files/001c/a0/e4/52451.webp);
    --quote-bg: #bdb7b2 url(https://forumstatic.ru/files/001c/a0/e4/41858.jpg) no-repeat top center;
    --profile-bg: #b1aaa4 url(https://forumstatic.ru/files/001c/a0/e4/65398.jpg) no-repeat top center;

    --profile-bd: 1px solid #968b83;


--beg100: #c4bfbc;
--beg300: #ceccca;
--beg500: #b0aba8;
--beg600: #a39d97;

    --borders: #bdb9b8;
    --borders2: #a8a09e;

--shadow: 0 0 6px 0 #b8b1ad;


--h3: #353642;

    --text1: #0f0f0f; 
    --text2: #67605b; /* light black */
    --text3: #7f7769; /*white*/
    --text4: #c1b4a0; /*только светлый тёплый*/
    --text5: #bdb8b5; /*только светлый холодный*/
    --links: #4d4e5b;
    --links2: #4c3d24;
    --accent: #747783;
    --accent2: #67605b;
    --accent3: #5f6069;

    --font: Montserrat;
    --font-accent: Montserrat;
}

@font-face {
  font-family: 'Dune';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/a0/e4/72529.ttf);
}

/* 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%;
}

/* 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% var(--font), 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 */
#pun {
	background:
		rgba(15,15,15,.5);
	margin: auto;
	width: 1140px;
	margin-bottom: 70px;
	margin-top: 139px;
	padding:129px 50px 50px;
	box-sizing: border-box;
	position: relative;
border: 1px solid #534a40;
}


.punbb {
	padding: 20px;
	background: #101010 url(https://forumstatic.ru/files/001c/a0/e4/48775.jpg) no-repeat top center;
	border: 1px solid #796e5a;
	box-sizing: border-box
}

/* лишнее */
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,
.pa-awards {
	display: none;
}
.punbb {
	height: auto;
}

#pun {
	color: var(--text3);
text-shadow: 0 0 1px rgba(0,0,0,1);
}

/* #pun a {
	color: var(--links);
}

#pun a:hover {
	color: var(--accent);
} */

#pun-index .category .container, #pun-main.multipage, #pun-search .main,
#profile.formal, #pun-post #post-form, #pun-edit #post-form, #pun-delete #pun-main, #pun-message #pun-main,  #pun-login #pun-main, #register,  #pun-upavatar #pun-main {
	background: var(--beg100);
	text-shadow: none;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(70, 63, 53);
    border-image: none;
    border-radius: 0px;
	box-shadow: 0 0 0 1px #211c18 inset;
	padding: 14px !important;
	color: var(--text1);
	position: relative
}

 #pun-admain  {
	background: var(--beg100);
	text-shadow: none;
	border: 1px solid #a37f40;
}

#pun-index .category .container a, #pun-main.multipage a, #pun-search .main a,
#profile.formal a {
	color: var(--links)
}

#pun-index .category .container a:hover, #pun-main.multipage a:hover, #pun-search .main a:hover,
#profile.formal a:hover {
	color: var(--accent2)
}

/* 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 center top / cover !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 11px var(--font);
	display: inline-block;
	margin: 0 auto;
	width: auto;
	height: auto;
	padding:50px;
	box-sizing: border-box;
	background: #12100e;
	border: 1px solid #a37f40;
	width: 1140px;
	margin-top: 50px;
color: var(--text3)
}

/* 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%;
}

/* B1.2 */
.punbb .post-sig dt {
	border: none;
	background: var(--borders);
	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: 150%;
	font-family: var(--font), sans-serif;
	font-size: 12px;
	font-weight: 400;
word-wrap: break-word;
}


/* 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;
	font: 300 11px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: -17px 0px 10px !important;
	color: var(--text2);
	text-transform: uppercase;
	height: auto;
	flex-wrap: wrap;
	gap: 5px;
	border: none !important;
}

/* B3.4 */
.linkst .postlink,
.linksb .postlink {
	text-align: center;
	font-weight: 700;
	min-height: 100%;
	align-self: stretch;
	display: flex;
}

/* B3.5 */
.punbb .linksb {
	width: auto;
	font: 400 10px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 10px 0px -17px !important;
	color: var(--text2);
	text-transform: uppercase;
	height: auto;
	flex-wrap: wrap;
	gap: 5px;
	border: none !important;
}

#view .punbb .linksb

.linksb {
	height: auto;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	width: auto;
}

#pun-viewtopic .linksb .postlink {
	display: none
}

#profile .button {
	margin-top: 0 !important;
}

#profile .clearer {
	display: none
}

#profile .linksb:after,
.linksb:after {
	display: none !important;
}

.postlink span+span {
	margin-left: 2px
}

/* B3.6 */
.pagelink {
	width: auto;
	text-align: left;
padding: 2px 5px 2px 5px !important;
	display: flex;
	align-items: center;
	gap: 2px;
	background: var(--beg500);
	border-radius: 0 0 10px 10px;
	border: none !important;
}

.linksb .pagelink {
	border-radius: 10px 10px 0 0
}

.pagelink strong {
	font-weight: 400;
	padding: 2px 5px 4px !important;
	background: var(--opacity-bg2);
	border-radius: 6px;
}


/* ============================
   B3.7 Строки навигации linkst / linksb
   ============================ */

.linkst,
.linksb {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 28px;
    padding: 4px 0;
    box-sizing: border-box;
}

#pun .linkst .nt-forumsub-btn, #pun .linksb .nt-forumsub-btn {display: none !important;}

/* Все прямые потомки — inline-flex, без absolute/margin */
.linkst > *,
.linksb > * {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
}

/* Пагинация всегда крайняя слева — только позиция, вид не трогаем */
.linkst .pagelink,
.linksb .pagelink {
    order: -1 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
    color: var(--text2) !important;
}

/* Ссылки внутри пагинации — вернуть исходный вид */
.pagelink a {
    display: inline-block !important;
    padding: 0 6px 2px 6px !important;
    margin: 0 2px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    color: var(--text4) !important;
    background: var(--accent3) !important;
    font-weight: 500 !important;
    transition: background .2s linear, color .2s linear !important;
}

.pagelink a:hover {
    background: var(--beg600) !important;
    color: var(--text2) !important;
}

.pagelink strong {
    display: inline-block !important;
    padding: 2px 6px !important;
    margin: 0 2px !important;
    border-radius: 4px !important;
    background: var(--links3) !important;
    font-weight: 600 !important;
}

/* Действия и служебные блоки — справа */
.linkst .postlink,
.linksb .postlink,
.linkst .subscribelink,
.linksb .subscribelink,
.linkst #s-block,
.linksb #s-block {
    order: 1 !important;
}

/* ============================
   Обёртки действий
   ============================ */

.linkst noindex,
.linksb noindex {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

.linkst .postlink,
.linksb .postlink {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}

.linkst .postlink > span,
.linksb .postlink > span,
.linkst .mn-forumsub-slot,
.linksb .mn-forumsub-slot {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
}

/* ============================
   Кнопки
   ============================ */

/* Верхняя строка — таб "вниз" */
.linkst .postlink a,
.linkst .subscribelink a,
.linkst .nt-forumsub-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--text4) !important;
    background: var(--accent3) !important;
    padding: 4px 12px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 0 10px 10px !important;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    position: static !important;
    transition: background .3s linear, color .3s linear !important;
}

/* Нижняя строка — таб "вверх" */
.linksb .postlink a,
.linksb .subscribelink a,
.linksb .nt-forumsub-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--text4) !important;
    background: var(--accent3) !important;
    padding: 4px 12px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px 10px 0 0 !important;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    position: static !important;
    transition: background .3s linear, color .3s linear !important;
}

/* Ховер */
.linkst .postlink a:hover,
.linksb .postlink a:hover,
.linkst .subscribelink a:hover,
.linksb .subscribelink a:hover,
.linkst .nt-forumsub-btn:hover,
.linksb .nt-forumsub-btn:hover {
    background: var(--beg600) !important;
    color: var(--text2) !important;
}



/* ============================
   Поиск по теме
   ============================ */

#s-block {
    align-self: center;
    align-items: stretch;
}

#sTheme {
    border-radius: 6px 0 0 6px !important;
    height: auto !important;
}

#isk {
    background: var(--beg500);
    color: var(--text3);
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 4px !important;
    width: 30px !important;
}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

#pun-messages .formal .fs-box .container {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

#post.container {
	padding: 0 !important;
}

/* C1.2 */
.punbb .formsubmit {
	padding: 0 0 15px 0em;
	margin: 0em 0 0 0;
	position: relative;
	z-index: 1;
	display: flex;
	gap: 5px
}

#togglePreview {
	margin-left: auto
}

/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
	margin: 0
}

/* C1.4 */
.punbb fieldset {
	border-style: solid;
	border-width: 1px;
	padding: 0 0px 0 0px;
	margin: 0 0 1em 0
}

/* 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;
}

#profile .container fieldset legend {
	display: block;
	margin: 20px 0 10px;
	background: var(--beg500);
	padding: 2px 10px 2px;
	text-transform: uppercase;
	font: 500 8px var(--font);
	border-radius: 6px;
	color: var(--text2)
}

/* C1.7 */
.punbb fieldset fieldset {
	border-style: none;
	margin: 0;
	padding: 0 0 8px 0
}

/* C1.8 */
.punbb .fs-box {
	padding: 0em 0 0em 0;
}

/* C1.9 */
.punbb .fs-box p,
.punbb .fs-box fieldset {
	padding: 0 0 1.5em 0
}

form#post .fs-box p {
	padding: 0 !important;
}

form#post .fs-box p + p {
	margin-top: 10px
}

/* 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 {
	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.8 */
#pun-index .tcl h3 {
	font-size: 1.2em;
	font-weight: bold;
}

/* 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: 120%;
	margin-left: 0;
	text-align: left;
}


/* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.multipage .post {
	margin-top: 0px;
	position: relative
}

.punbb .post {
	scroll-margin: 75px
}

.post + .post {
	margin-top: 20px
}

/* C3.2 */
.punbb .post .container {
	border: none;
}

/* C3.2 */
.punbb .post h3 {
	-webkit-text-size-adjust: 100%;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 400 11px var(--font);
	z-index: 1;
	margin: 0 0 10px !important;
	box-sizing: border-box;
	text-transform: uppercase;
	border-top: 1px solid var(--borders)
}

.post h3 span {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	position: relative;
	padding: 0px;
}

.post h3 span a,
.post h3 strong {
	font-weight: 600;
	box-sizing: border-box;
	background: var(--beg300);
	box-shadow: var(--shadow);
	padding: 4px 10px;
	border-radius: 0 0 10px 10px;
	transition: all .3s cubic-bezier(.64, .51, .55, 1.16) 0s !important;
}


.post h3 strong {
	order: 3;
	font-weight: normal;
	display: block;
	margin-left: auto;
	color: var(--text2) !important;
	background: var(--beg500)
}

.post h3 span a:hover {
	color: var(--text2) !important;
	background: var(--beg600);
}

.post h3 strong:before {
	content: "#"
}

.post h3 span .permalink {
	order: 1;
}

/* C3.5 */
.punbb .post .post-author {
	float: left;
}

/* C3.6 */
.punbb .post .post-author ul,
.punbb .post .post-author p {
	line-height: 140%;
}

/* C3.7 */
.pa-author {
	font-size: 1.1em;
	font-weight: bold;
}

/* C3.8 */
.pa-author a {
	text-decoration: none
}

li.pa-online {
	font-size: 9px;
	text-transform: uppercase;
	position: absolute;
	height: 10px;
	left: 50%;
	transform: translateX(-50%);
	bottom: -15px
}

.pa-online strong {
	font-weight: 400
}

/* C3.11 */
.punbb .post-body {
	margin-left: 252px;
}

del {
	text-decoration: none;
	filter: blur(2px);
	transition: filter .3s linear 0s;
	background: transparent !important
}

del:hover {
	filter: none
}

/* C3.12 */
/* C3.12 */
.punbb .post-box {
	padding: 1em 10px 1em;
	text-align: justify
}

/*C3.13 */
.punbb fieldset .post-box {
	margin-bottom: 0.8em;
}

/*C3.14 */
.punbb .post-links {
	margin: 1em 0px 0px;
	padding: 0px 0px 0px;
	position: relative;
	z-index: 8;
}

.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: 2px
}

.punbb .post-links ul li:first-child {
	margin-left: 0
}

.endpost .post-links ul {
	border: 0 !important;
}

#pun .post-links ul a,
.pa-links li a {
	font: 500 11px var(--font);
	color: var(--text1);
	background: var(--beg500);
	padding: 1px 10px 3px;
	text-transform: lowercase;
	border-radius: 6px
}

#pun .post-links ul a:hover,
.pa-links li a:hover {
	color: var(--links2)
}

.post-links li a {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

/* 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 {
	padding: 5px 0px;
	text-align: right;
	font: normal 11px var(--font) !important;
	margin-top: 5px;
}

#topic-modmenu {
	background: transparent;
	padding: 0;
	margin: 10px 0
}

.forum {
	padding: 0px;
}


.forum tr + tr {
	margin-top: 5px !important;
}

.forum tr {
	display: flex;
	padding:14px !important;
	gap: 30px;
	font: 400 12px/150% var(--font);
	align-items: center;
	color: var(--text1);
	background: var(--beg300);
	box-shadow: var(--shadow);
	border-radius: 10px;
}

.forum .tclcon > a, .forum .tcr a, .forum .tclcon strong > a {
	display: block
}

.forum a {
	font-weight: 500
}

.forum .byuser {
	font-size: 11px
}

.forum .tclcon .byuser:before {
	content: "Автор:";
	opacity: .65
}

.forum .tcr .byuser:before {
	content: "Последнее сообщение:";
	opacity: .65
}

.forum td {
	padding: 0 !important;
}

.forum .tcl {
	flex: auto;
}

.forum .tc2,
.forum .tc3 {
	width: 8% !important;
}

#pun .forum .tcr {
	min-width: 30% !important;
}

.forum table {
	margin: 0px 0
}


.forum thead {
	display: none
}

.forum tr td {
	padding: 0 !important;
}

.forum .tc2, .forum .tc3 {
	display: flex;
	flex-direction: column-reverse;
	font-size: 10px;
	font-weight: 500
}

.forum .tc2:before {
	content: "сообщений";
	font-size: 9px;
	opacity: .65;
	font-weight: 300
}

.forum .tc3:before {
	content: "просмотров";
	font-size: 9px;
	opacity: .65;
	font-weight: 300
}

#pun-searchtopics .forum .tc2:before, #pun-searchtopics .forum .tc3:before { display: none }

#pun .user-avatar {
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	position: relative;
	margin-right: 10px !important;
	border: 1px solid var(--h3);
	border-radius: 10px;
	overflow: hidden
}

#pun .user-avatar .avatar-image {
	width: 40px;
	height: 40px;
	transition: all .5s linear 0s;
	box-sizing: border-box;
    filter: opacity(75%);
	border-radius: 0;
}

#pun .user-avatar, #pun .user-avatar .avatar-image {
	width: 25px !important;
	height: 25px !important;
}

#pun-index .user-avatar, #pun-index .user-avatar .avatar-image {
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
}

#pun-index .user-avatar {
	border-radius: 10px 0 0 10px;
	margin-left: 15px !important;
}

#pun .user-avatar .avatar-image:hover {
	filter: none;
	opacity: 1;
	mix-blend-mode: normal;
}

#pun .user-avatar .isonline {
	background: var(--h3);
	margin-right: 0px;
	margin-top: 0px !important;
	box-sizing: border-box;
	z-index: 1;
	animation: none;
	width: 16px;
	height: 11px;
	border-radius: 10px 0 0 0;
	top: calc(100% - 11px);
	z-index: 1;
	right: 0%;
	color: var(--text4);
	font: 500 8px var(--font);
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 1px;
	padding-left: 5px
}

#pun .user-avatar .isonline:before {
	content: "on";
}

.user-avatar .avatar-image[style*=default_avatar] {
	background-image: url(https://forumstatic.ru/files/001c/76/bd/86599.png) !important;
}

/* 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: none;
	padding: 0;
	margin: 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 2.3em 2.3em 2.3em;
	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 li,
#pun-ulinks li a {
	display: inline;
	white-space: nowrap;
    position: relative
}

#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 {
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	box-sizing: border-box;
	gap: 10px;
	margin: 15px 0 0;
	font: 500 9px var(--font) !important;
}


/* D5.2 */
#pun-status .container {
	text-align: center;
	position: relative;
	height: auto;
	border: none;
	gap: 2px;
}

#pun-status a {
	font-weight: 300;
        color: var(--text4);
}

#pun-status .container strong {
	font-weight: 700 !important;
}

#pun-status .status-right {
	float: none !important;
}

#pun-status .item2 strong {
	font-weight: 700 !important;
}

#pun-status .item3,
#pun-status .item4 {
	margin-left: 0px !important;
}

#pun-status .item4 {
	display: none
}

/* D5.3 */
#pun-status span {
	white-space: pre-line;
}

/* 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 {
	display: none
}

#pun-announcement.section,
#pun-announcement .container {
	border: none;
	margin: 0;
}

/* D6.3 */
#pun-announcement .container {
	padding: 0;
}

.flags_wrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.flags_wrap a {
	background: var(--beg100);
	border: 1px solid var(--borders) !important;
	box-shadow: var(--shadow);
	padding: 8px 9px;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all .6s cubic-bezier(0.25, 1, 0.5, 1) 0s !important;
}

.flags_wrap a:hover {
	box-shadow: var(--shadow2);
	background: var(--beg300)
}

.flags_wrap em {
	background: var(--links);
	color: var(--text3);
	font-size: 10px;
	padding: 3px 5px;
	border-radius: 5px;
	border: 1px solid var(--borders);
}

.flags_wrap p {
	display: flex;
	flex-direction: column;
	text-transform: uppercase;
	font-weight: 500;
	font-weight: 11px;
}

.flags_wrap span {
	color: var(--text2);
	font-size: 8px;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats {
	margin: 20px 0px 0px !important;
	height: auto;
	position: relative;
	text-align: left;
	font: 400 11px/150% var(--font);
}

#pun-stats .container {
	background: var(--beg100);
	text-shadow: none;
	border: 1px solid #463f35;
	box-shadow: 0 0 0 1px #211c18 inset;
	padding: 14px !important;
	border-radius: 0px;
	color: var(--text1);
	position: relative;
	display: grid; 
    display: grid;
    grid-template-columns: 270px 1fr;
    grid-template-rows: min-content min-content min-content;
    gap: 10px 20px;
    grid-template-areas:         "stat online"        "stat online24"        "stat add";
}

#pun-stats .container a {
	color: var(--links)
}

#pun-stats .container a:hover {
	color: var(--text2)
}

.ststitems {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: right;
	gap: 5px;
	align-self: start; 
  grid-area: stat; 
	border-right: 1px solid var(--borders);
	padding-right: 20px
}

.ststitems li {
	padding: 0px !important;
}

.ststitems li strong {
	font-weight: 600;
}

.ststitems li.item4 span {
	font-size: 0
}

.ststitems li.item4 span:before {
	content: "Добро пожаловать, ";
	font-size: 11px;
}

#onlinelist {
	padding: 0px !important;
	text-align: justify
}

#onlinelist {
	font-weight: 400;
}

#onlinelist span {
	font-weight: 500
}

#onlinelist strong {
	font-weight: 500
}


#onlinelist.onlinelist {
	grid-area: online;
}

#onlinelist.users_24h {
	grid-area: online24;
}

#onlinelist.statistics {
	grid-area: add;
}



/* 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;
	text-align: left;
}

/* D8.6 */
#pun-crumbs2 {
	font-weight: bold;
	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 .fs-box {
	padding: 15px;
	background: var(--beg300);
	box-shadow: var(--shadow);
	border-radius: 10px;
}

#pun-messages #post-form .fs-box {
	margin-bottom: 10px
}

#pun-messages .post h3 {
	width: auto;
	margin: 0 !important;
	position: relative;
}

#pun-messages .post h3 span {
	width: auto !important;
	margin: 0 !important;
}

#pun #pun-messages .post-author {
	margin-top: 5px !important;
}

#pun-messages .pa-posts {
	display: none
}

#pun-messages .pa-online {
	clear: both
}

#pun-messages .post-content {
	margin-top: 0px !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 {
	color: var(--text1);
	background: var(--beg100);
	border: none !important;
	border-radius: 10px;
	padding: 10px !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;
}

.post-content td {
	border: none transparent !important;
	overflow: hidden !important;
}

::selection {
	background: var(--accent);
	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) var(--beg300);
	}
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(20, 18, 15, 0.1);
	border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
	background-color: var(--links);
	width: 4px !important;
	border-radius: 100px !important;
}

.punbb *::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(20, 18, 15, 0.1);
}

.punbb *::-webkit-scrollbar-thumb {
	background-color: var(--links);
	width: 4px !important;
}

#html-header {
	color: var(--text4);
}

#html-header a {
	color: var(--links)
}

#html-header a:hover {
	color: var(--text4)
}

.post-content abbr {
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: var(--borders)
}


#pun #pun-ulinks #Rz {
	display: none !important;
}

.punbb-admin textarea {
	width: 100% !important;
}

input[type="checkbox"] {
	appearance: none;
	padding: 8px !important;
	cursor: pointer;
	transition: all .2s ease-in-out 0s;
    margin-right: 10px !important;
	border: 1px solid var(--borders) !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

input[type="radio"] {
	border-radius: 5px;
	appearance: none;
	padding: 8px !important;
	cursor: pointer;
	transition: all .2s ease-in-out 0s;
    margin-right: 10px !important;
	border: 1px solid var(--borders) !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

input[type="checkbox"]:checked:after,
input[type="radio"]:checked:after {
	content: "\f00c";
	font-family: FontAwesome;
	font-size: 8px;
	position: absolute;
	color: var(--text1)
}

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%;
}

#post-form {
	padding: 0px 0px !important;
}


.intd {
	display: flex;
	align-items: center
}

#pun-index .intd {
	align-items: flex-start
}

#post-form h2 {
	display: none
}

#viewprofile-next {
	display: flex;
	justify-content: space-between;
	align-items: center;
	justify-content: center
}

#viewprofile-next #profilenav {
	display: none
}

#viewprofile-next tr {
	display: flex;
	gap: 0;
	width: 80%;
	margin: auto
}

#pun #profile-left {
	width: 260px !important;
	background: var(--quote-bg);
	border-radius: 10px 0 0 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px !important;
	box-sizing: border-box;
	align-items: center;
	justify-content: flex-start;
	font-family: var(--font);
	color: var(--text1) !important;
    border-width: 1px;
    border-style: solid;
    border-color: var(--borders) !important;
    border-image: none;
    border-right: none;
    border-radius: 0px;
	text-shadow: none;
}

#pa-avatar img {
	border-radius: 5px
}

#profile-left li strong,
#profile-left li {
	padding: 0 !important;
	margin: 0 !important;
	font-weight: 500 !important;
}

#profile-left #profile-name {
	font-size: 15px;
	text-transform: uppercase;
	border-bottom: 1px solid var(--text1) !important;
	padding-bottom: 8px !important;
}

#pa-ua {
	display: none
}

#pa-edit strong {
	display: flex !important;
}

#profile-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 2px;
	width: auto !important;
	border-radius: 0 10px 10px 0;
	border-left: none !important;
	padding: 20px !important;
	box-sizing: border-box;
	flex: 1;
	background: var(--beg100);
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--borders) !important;
    border-image: none !important;
    border-radius: 0px !important;
	text-shadow: none;
	color: var(--text1) !important;
}

#profile-right li {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex: auto;
	text-align: center;
	padding: 5px !important;
	font-size: 12px;
	align-self: stretch;
	font-family: var(--font);
	margin: 0 !important;
	gap: 10px;
	background: var(--beg300);
	border-radius: 10px;
}

#profile-right li strong {
	flex: auto;
	font-weight: normal;
	margin: 0 !important;
	flex: 1;
	text-align: left;
	padding: 0 !important;
	color: var(--text1) !important;
}

#pun #profile-right li span {
	float: none;
	margin: 0;
	width: 35%;
	font-weight: 700;
	font-size: 9px;
	text-align: right;
	text-transform: uppercase;
	padding: 5px 10px !important;
	color: var(--text1);
	background: var(--beg100);
	align-self: stretch;
	border-radius: 8px;
	box-sizing: border-box;
}

#profile-right li strong .lz_wrap {
        color: var(--text5) !important; 
	border-radius: 8px;}

#profile-right li strong .lz_wrap a {color: var(--text4) !important;}

#profile-right li strong .lz_wrap .char-name {margin-left: -2px !important;}
#profile-right li strong .lz_wrap .char-description {margin: 0px -7px 0px -7px !important;}

#pa-invites,
#pa-gifts,
#pa-awards {
	display: none !important;
}

#profile {
	display: flex;
	margin-top: 15px
}

#profile form.container {
	width: 100%;
	padding-left: 18.6em !important;
}


#profilenav {
	display: flex;
	margin-left: -17em;
}

#pun-messages #profile>.container {
	display: flex;
	flex-direction: column;
	width: 100% !important;
	padding: 0px;
	box-sizing: border-box;
	border-radius: 10px
}

#pun-messages .linksb .postlink {
	padding-bottom: 5px
}

#pun-messages #profilenav {
	float: none;
	width: 100%;
	margin: 0 0 10px;
	display: flex;
	flex-direction: column;
	padding: 15px;
	gap: 15px;
	box-sizing: border-box;
	background: var(--beg300);
	border-radius: 10px;
}

#pun-messages form#messages>fieldset>legend {
	display: none
}

#pun-messages #profilenav ul,
#pun-messages #profilenav li {
	padding: 0;
}

#pun-messages #profilenav ul {
	display: flex;
	gap: 5px;
	margin: 0
}

#pun-messages #profilenav li {
	font: 400 11px var(--font);
	text-transform: lowercase;
}

#pun-messages #profilenav li a {
	color: var(--text1);
		background: var(--beg600);
	padding: 4px 25px;
	border-radius: 6px;
}

#pun-messages #profilenav .isactive a {
	font-weight: 700;
	background: var(--accent)
}

#pun-messages #profilenav h2 {
	display: block;
	text-align: left !important;
	padding-left: 0;
	margin-left: 0;
	color: var(--text2);
	font-weight: 300 !important;
}

#pun-messages .fs-box .container {
	padding: 0px 0 !important;
}

#pun-messages .fs-box .container tr+tr {
	margin-top: 0;
}

#pun-messages .fs-box .container tr {
	display: flex;
	align-items: center;
	padding: 0 10px;
	border-radius: 10px;
}

#pun-messages .fs-box .container tr.inew {
	background: var(--beg100);
}

.pmtc22 {
	display: flex;
	align-items: center;
}

#pun-messages .fs-box .container tr:last-child {
	border: none !important;
}

#pun-messages .fs-box .post>.container {
	display: block !important;
}

#pun #pun-messages .post {
	border: none !important;
}

#pun #keyboard-span input {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 300;
	font-size: 13px;
	color: var(--text1);
	background-color: var(--cover);
	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(--dark500);
	text-shadow: none;
	color: var(--text1);
	padding: 20px 20px 10px 20px;
	box-sizing: border-box;
	width: 280px !important;
}

#MyBookmarks inner {
	padding-top: 40px !important;
}

#BookmCntToggle.default-style {
	background: var(--dark500) !important;
	border-radius: 2px;
	box-shadow: 2px 2px 1px #000;
	opacity: .95;
}

#MyBookmarks h2 {
	margin: 0 !important;
	padding: 10px 20px !important;
	border-bottom: 1px dashed var(--borders) !important;
	box-sizing: border-box;
	margin-bottom: 20px !important;
}

.post .bookmark {
	color: var(--accent) !important;
}

#BookmCntToggle.default-style {
	color: var(--accent) !important;
	z-index: 9999
}

#BookmCntToggle {
	top: 15px !important;
	left: 15px !important;
}

#MyBookmarks {
	z-index: 99999 !important;
}

#bm2 {
	right: 20px !important;
}

#pun .scrl.t,
#pun .scrl.b {
	box-shadow: none !important;
	background: var(--fill);
	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;
	background: var(--dark200)
}

#pun-respect td {
	padding: .8em !important;
	overflow-wrap: normal
}

#pun hr {
	opacity: 1;
	filter: none;
	background: var(--borders2);
	border: none;
	height: 1px;
	margin: .8em auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pun hr:after {
	content: "";
	display: block;
	background: var(--cover);
	border: 1px solid var(--borders);
	height: 7px;
	width: 7px;
	position: absolute;
	transform: rotate(45deg)
}

#topic-feed {
	display: none
}

#navpm {
	position: relative
}

#pun .num_msg {
	position: absolute;
	margin-top: 0;
	margin-left: 0;
	top: 8px;
	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: 5px;
	overflow: hidden
}

img[alt~="hide-autor2"] {
	opacity: 0;
	display: none
}

#form-buttons {
	margin-bottom: 0px !important;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	flex-direction: row-reverse;
	border-bottom: none;
	box-sizing: border-box
}

#plng {
	font-size: 11px !important;
	font-weight: 400 !important;
	margin-top: 0px !important;
	padding: 0px 15px !important;
	display: flex;
	align-items: center;
	transition: all 0.3s ease-in-out 0s;
	color: var(--text2);
	text-transform: lowercase;
	white-space: nowrap;
	gap: 5px;
	font-family: var(--font);
	align-self: stretch;
}

#plng b {
	font-weight: 400;
	color: var(--text2)
}

#form-buttons td img {
	position: relative
}

#form-buttons tr {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	gap: 5px;
	flex-wrap: wrap;
}

#form-buttons table {
	flex: auto;
	display: flex;
	flex-wrap: wrap;
	padding: 5px 0;
}

#form-buttons td {
	transition: all .5s ease-in-out 0s;
	color: var(--text1);
	min-width: 20px;
	 flex: 1;
	box-sizing: border-box;
	border: 1px solid transparent !important;
	border-radius: 6px
}

#form-buttons td:hover {
	color: var(--links);
	border: 1px solid var(--borders) !important;
}

#button-keyboard {
	display: none
}

#button-font,
#button-transL,
#button-size,
#button-bold,
#button-italic,
#button-underline,
#button-strike,
#button-indent,
#button-left,
#button-center,
#button-right,
#button-justify,
#floatbut,
#button-link,
#button-spoiler,
#button-image,
#button-video,
#button-hide,
#button-quote,
#button-code,
#button-color,
#button-table,
#button-smile,
#button-sticker,
#button-keyboard,
#button-addition,
#button-mask,
#button-html,
#button-vkladka,
#My_replic_meny,
#button-ChangeСase,
#button-player,
#button-voice {
	position: relative !important;
	background: none !important;
}

#button-font:before,
#button-transL:before,
#button-size:before,
#button-bold:before,
#button-italic:before,
#button-underline:before,
#button-strike:before,
#button-indent:before,
#button-left:before,
#button-center:before,
#button-right:before,
#button-justify:before,
#floatbut:before,
#button-link:before,
#button-spoiler:before,
#button-image:before,
#button-video:before,
#button-hide:before,
#button-quote:before,
#button-code:before,
#button-color:before,
#button-table:before,
#button-smile:before,
#button-sticker::before,
#button-keyboard:before,
#button-addition:before,
#button-mask:before,
#button-html:before,
#button-vkladka:before,
#My_replic_meny:before,
#button-ChangeСase:before,
#button-player:before,
#button-voice:before {
	content: "";
	height: 26px;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	font-family: FontAwesome;
	text-align: center;
	font-size: 15px;
	line-height: 26px;
	z-index: 0
}

#button-ChangeСase:before {
	content: "\f15e"
}

#button-font:before {
	content: "\f031"
}

#button-transL:before {
	content: "\f362"
}

#button-size:before {
	content: "\f034"
}

#button-bold:before {
	content: "\f032"
}

#button-italic:before {
	content: "\f033"
}

#button-underline:before {
	content: "\f0cd";
	top: 1px
}

#button-strike:before {
	content: "\f0cc"
}

#button-indent:before {
	content: "\f03c"
}

#button-left:before {
	content: "\f036"
}

#button-center:before {
	content: "\f037"
}

#button-right:before {
	content: "\f038"
}

#button-justify:before {
	content: "\f039"
}

#floatbut:before {
	content: "\f03b"
}

#button-link:before {
	content: "\f0c1"
}

#button-spoiler:before {
	content: "\f070";
	font-size: 17px
}

#button-image:before {
	content: "\f03e";
	font-size: 18px
}

#button-video:before {
	content: "\f167";
	font-size: 18px;
	top: 0px
}

#button-hide:before {
	content: "\f023"
}

#button-quote:before {
	content: "\f10e"
}

#button-code:before {
	content: "\f121";
}

#button-color:before {
	content: "\f576"
}

#button-table:before {
	content: "\f0ce"
}

#button-smile {
	display: none
}

#button-smile:before {
	content: "\f118"
}

#button-sticker:before {
	content: "\f118"
}

#button-sticker img {
	opacity: 0
}

#button-vkladka:before {
	content: "\f58d"
}

td#button-files_rusff,
td#button-graffiti_rusff {
	display: none !important;
}

#button-keyboard:before {
	content: "\f11c";
	font-size: 16px
}

#button-addition:before {
	content: "\f0fe"
}

#button-mask:before {
	content: "\f630"
}

#button-html:before {
	content: "\f1c9"
}

#button-player:before {
	content: "\f001"
}

#button-voice:before {
	content: "\f130"
}

#pun-profile fieldset .radio {
    padding-bottom: 10px
}

#pun-messages tr.inew .tclcon a {
    font-weight: bold
}


.rait_wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	margin-top: 20px;
	flex-direction: row-reverse
}

.punbb .post-rating {
	height: auto;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
}

.punbb .post-rating p, .punbb .post-rating {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
}


.punbb .post-rating p, .punbb .post-vote {
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	font: 400 10px/100% var(--font);
	padding: 3px 10px !important;
	margin: 0 !important;
	background: var(--beg300);
	align-self: stretch;
	border-radius: 6px;
	color: var(--text2);
	box-shadow: var(--shadow);
}

.punbb .post-vote {
	border: none !important;
	padding: 3px 10px !important;
	background: var(--beg500) !important;
}

.punbb .post-vote .container {
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.punbb .post-rating a {
	height: auto;
	width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
	color: var(--text2) !important;
	gap: 5px
}

.punbb .post-rating a:before {
content: "\f004";
	font: 12px FontAwesome;
	display: block;
	transition: all .4s linear 0s;
	color: var(--links)
}

.punbb .post-rating a:hover:before {
	color: var(--text2) !important;
}


.punbb .post-vote a {
	font-size: 0 !important;
	height: auto;
	width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
	align-self: stretch;
	color: var(--text2)
}

.punbb .post-vote a:before {
content: "\f086";
	font: 12px FontAwesome;
	display: block;
	transition: all .4s linear 0s;
	color: var(--text2)
}

.punbb .mylike .post-rating a:before {
	color: var(--text2);
}

.punbb .mylike .post-rating a {
	color: var(--text2) !important;
}

.punbb .mylike .post-rating p {
	background: var(--beg500)
}

.punbb .mylike .post-vote {
	display: none
}

.editBookmark h1 {
	display: block
}

/* ===== МАНДАЛА ===== */
.mandala-planet-wrapper {
    position: absolute;
    top: -115px;
    left: -2px;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 11;
    background: transparent !important;
    overflow: visible;
}

.content-area {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== ПЛАНЕТНАЯ СИСТЕМА ===== */
.planet-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.planet-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 168px;
    height: 168px;
    max-width: 168px;
    max-height: 168px;
    z-index: 1;
    pointer-events: none;
    /* opacity: 0.8; */
    will-change: transform;
    backface-visibility: hidden;
}

/* Орбита — как было: 100&#215;100, top/left 30px */
.orbit {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100px;
    height: 100px;
    transform-origin: 50px 50px;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.orbit-large {
    z-index: 2;
    animation: spin-ccw 28s linear infinite;
    top: 28px;
    left: 28px;
    width: 104px;
    height: 104px;
    transform-origin: 52px 52px;
}

.orbit-small {
    z-index: 3;
    animation: spin-cw 20s linear infinite;
    top: 30px;
    left: 30px;
    width: 106px;
    height: 106px;
    transform-origin: 54px 54px;
}

.satellite-img {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Большой спутник — 104&#215;101 */
.orbit-large .satellite-img {
    width: 104px;
    height: 101px;
    max-width: 104px;
    max-height: 101px;
}

/* Малый спутник — 60&#215;60 */
.orbit-small .satellite-img {
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
}

@keyframes spin-cw  { 100% { transform: rotate(360deg); } }
@keyframes spin-ccw { 100% { transform: rotate(-360deg); } }

/* ===== ЗАГОЛОВОК — передний план ===== */
.title-container {
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    font-family: 'Dune Rise', sans-serif;
    gap: 8px;
}

.dune-info {
    margin-top: -15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 3px;
    line-height: 1.4;
    color: rgba(210, 193, 169, 1);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
    animation: fadeUp 1.5s ease-out forwards;
    opacity: 0;
}

.dune-title-img {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.85));
    animation: fadeUp 1.5s ease-out 0.3s forwards;
    opacity: 0;
    pointer-events: auto;
}

.dune-subtitle {
    display: inline-block;
    margin: 0;
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: 6px;
    color: rgba(199, 176, 147, 0.85);
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.9),
        0 1px 3px rgba(0, 0, 0, 0.9);
    animation: fadeUp 1.5s ease-out 0.7s forwards;
    opacity: 0;
    text-indent: 10px;
}

@keyframes fadeUp {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ===== ШАПКА ===== */
#header_wrapper {
    background: url(https://forumstatic.ru/files/001c/a0/e4/19280.png) no-repeat top center;
    width: 1137px;
    height: 227px;
    position: absolute;
    margin-left: -70px;
    top: -98px;
    text-shadow: 0 0 1px #000 !important;
    z-index: 10;
}

/* ===== БЛОК ===== */
.header_box {
    position: absolute;
    top: 111px;
    width: 382px;
    height: 103px;
    box-sizing: border-box;
    overflow: visible;
    color: #ceccca;
    isolation: isolate;
}
.header-left  { left: 24px; }
.header-right { right: 24px; }

/* ===== ПОДЛОЖКА ===== */
.header_box__backdrop {
    position: absolute;
    inset: 0;
    background: var(--bg) center/cover no-repeat;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    pointer-events: none;
}


@keyframes glow-pulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 2px rgba(86, 79, 70, 0.3))
            drop-shadow(0 0 4px rgba(86, 79, 70, 0.2));
    }
    50% {
        filter:
            drop-shadow(0 0 4px rgba(86, 79, 70, 0.4))
            drop-shadow(0 0 8px rgba(86, 79, 70, 0.25));
    }
}

.header_box:hover .header_box__backdrop {
    opacity: 0.7;
    animation: glow-pulse 3s ease-in-out infinite;
}


/* ===== ВНУТРЕННИЙ СЛОЙ ===== */
.header_box__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    overflow: hidden;
    box-sizing: border-box;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* ===== МЕТКА ===== */
.header_box__tag {
    display: block;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    width: auto !important;
    max-width: 100%;
    padding: 0 6px;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(164, 160, 157, 0.6);
    transition: color 0.5s ease 0.1s;
    background: rgba(255, 255, 255, 0.1);
}
.header-right .header_box__tag { align-self: flex-end; }

.header_box:hover .header_box__tag {
    color: rgba(164, 160, 157, 0.9);
}


.header-left .header_box__tag {
    text-align: left;
    align-self: flex-start;
clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    padding-right: 18px;
    margin-left: -7px;
}

.header-right .header_box__tag {
    text-align: right;
    align-self: flex-end;
clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0% 100%);
    padding-left: 18px;
    margin-right: -7px;
}


/* ===== ЯРЛЫК (ссылка) ===== */
.header_box__name {
    display: block;
    box-sizing: border-box;
    width: auto !important;
    max-width: 100%;
    padding: 3px 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    text-decoration: none;
    color: #c4bfbc !important;
   background: rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: padding 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}


.header-left .header_box__name {
    text-align: left;
    align-self: flex-start;
    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - 12px) 50%,
        100% 100%,
        0 100%
    );
    padding-right: 18px;
    margin-left: -7px;
}


.header-right .header_box__name {
    text-align: right;
    align-self: flex-end;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%,
        12px 50%
    );
    padding-left: 18px;
    margin-right: -7px;
}


/* На hover добавляем 20px со стороны острия */
.header-left:hover .header_box__name {
    padding-right: 32px !important;
}

.header-right:hover .header_box__name {
    padding-left: 32px !important;
}



/* ===== ТЕКСТ ===== */
.header_box__text {
    flex: 1;
    min-height: 0;
    margin: 0;
    width: auto;
    padding: 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    line-height: 1.5;
    color: rgba(164, 160, 157, 0.75);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(164, 160, 157, 0.6)  transparent;
    transition: color 0.4s ease 0.2s;
}

.header-left .header_box__text {
    text-align: left;
    direction: rtl;
    unicode-bidi: plaintext;
    width: 95%;
    clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 100%, 0 100%);
}

.header-right .header_box__text {
    text-align: right;
    width: 95%;
    align-self: flex-end;
    clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%);
}

.header_box .header_box__text {
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
}

/* подпись участников */
.header_box__text span {
    display: block;
    margin-bottom: 3px;
    font-size: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #a4a09d;
}



.header_links {
    position: absolute;
    top: 82px;
    display: flex;
    flex-direction: row;
    gap: 3px;
    z-index: 11;
    width: 310px;
}

.header_links--left  { left: 12px; }
.header_links--right { right: 12px; }

.header_links a {
    flex: 1;
    padding: 2px 2px;
    height: 10px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    background: #1a181c;
    color: #6e6a77 !important;
    border: 1px solid #534a40;
    transition: all 0.3s ease !important;
}

.header_links a:hover {
    border-color: #383431;
    background: #121211;
}

/* Скругления в каждой группе: у первой ссылки — верхний левый,
   у третьей — верхний правый */
.header_links a:first-child { border-top-left-radius: 15px; }
.header_links a:last-child  { border-top-right-radius: 15px; }




.banners_wrapper {
	position: absolute;
	height: 31px;
	left: 0;
	padding: 0 10px;
	bottom: 10px;
}

.banners_wrapper div {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	overflow-y: auto;
	height: 31px;
	justify-content: center
}

.banners_wrapper img {
	filter: grayscale(80%);
	opacity: .7;
	transition: all .3s linear 0s
}

.banners_wrapper img:hover {
	opacity: 1;
	filter: none
}

.dark {
    --base-bg: #1d1d20 url(https://forumstatic.ru/files/001c/a0/e4/52451.webp);
    --quote-bg: #1c1a1a url(https://forumstatic.ru/files/001c/a0/e4/41459.jpg) no-repeat top center;
    --profile-bg: #1c1a1a url(https://forumstatic.ru/files/001c/a0/e4/22283.jpg) no-repeat top center;

    --profile-bd: 1px solid #453f34;

--beg100: #131313;
--beg300: #1d1c1e;
--beg500: #131313;
--beg600: #353232;

    --borders: #2d2b2f;
    --borders2: #2a2929;

--shadow: 0 0 6px 0 #101010;


--h3: #45444d;

    --text1: #b1aaa4; 
    --text2: #6f6762; /* light black */
    --text3: #756a5e; /*white*/
    --text4: #c1b4a0;
    --text5: #bdb8b5;
    --links: #b5a995;
    --links2: #8688a2;
    --accent: #666885;
    --accent2: #67605b;
    --accent3: #2d2b2f;

    --font: Montserrat;
    --font-accent: Montserrat;
}

#mobile-style-toggler {
	box-sizing: border-box;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0px;
	position: fixed;
	background: #362e26;
	top: 10px;
	z-index: 12;
	left: 10px;
	font-size: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

#mobile-style-toggler.mobile-on:before {
	content: "\f3cf";
	font: 15px FontAwesome;
	color: var(--text3)
}


#mobile-style-toggler.mobile-off:before {
	content: "\f390";
	font: 15px FontAwesome;
	color: var(--text3)
}

span.input {
	margin-bottom: 10px
}