@import url(style_cs.1796416894.css);

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.9.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:wght@100;300;400;700;900&family=Noto+Sans+Egyptian+Hieroglyphs&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&display=swap');

:root {
	--base-bg: #151425 url(https://forumstatic.ru/files/001c/11/e3/13694.webp);
	--base-overlay1: url(https://forumstatic.ru/files/001c/11/e3/97803.webp);
	--base-overlay2: url(https://forumstatic.ru/files/001c/11/e3/25582.webp);

	--header: url(https://forumstatic.ru/files/001c/11/e3/17880.webp);
--header-sdw: 0 0 1px 0 rgba(173, 117, 103, 0.72), 0 0 1px 0 rgba(173, 117, 103, 0.43), 0 0 1px 0 rgba(173, 117, 103, 0.13), 0 0 1px 0 rgba(173, 117, 103, 0.02);

	--dark100: #494268;
--dark300: #252530;
--dark500: #4C4C4C;

--pun-img: url(https://forumstatic.ru/files/001c/11/e3/65985.webp);
        --pun: linear-gradient(180deg, #d3bcb2 0%, #ecdad1 30.29%);
--pun-sdw: 0 11px 24px 0 rgba(173, 117, 103, 0.2), 0 44px 44px 0 rgba(173, 117, 103, 0.17), 0 99px 59px 0 rgba(173, 117, 103, 0.1), 0 176px 70px 0 rgba(173, 117, 103, 0.03), 0 275px 77px 0 rgba(173, 117, 103, 0);
--pun-border-out: rgba(255, 196, 153, 0.2);
--pun-border-in: #C2ADA3;

--footer: url(https://forumstatic.ru/files/001c/11/e3/22745.webp);

	--opacity-bg1:186, 169, 237;
	--opacity-bg2:181, 91, 79;

        --font: Roboto Flex;
        --font2: Roboto Flex;
--fnt-ico: remixicon;

	--text1: #1C1919;
        --text2: #4C4C4C; /*light*/
--text3: #EDDCD3;
--text4: #F8C0A3;
	--links: #7D3C46;
--accent: #494268;
--white: #FDF1EA;

--rgb-white: 255,255,255;
--rgb-black: 0,0,0;

        --cover: #E3CEC4;
        --cover2: #D9C2B8;
--cover3: #ECDAD1;
	--borders: #CEB8AD;

--cards-bg: #E6E6E6;

--sticker-bg1: url(https://forumstatic.ru/files/0015/e5/b7/57744.png);
--sticker-bg2: url(https://forumstatic.ru/files/0015/e5/b7/91284.png);

--forum-img1: url(https://forumstatic.ru/files/0015/e5/b7/77477.webp);
--forum-img2: url(https://forumstatic.ru/files/0015/e5/b7/31912.webp);
--forum-img3: url(https://forumstatic.ru/files/0015/e5/b7/23880.webp);
--forum-img4: url(https://forumstatic.ru/files/0015/e5/b7/56511.webp);
--forum-img5: url(https://forumstatic.ru/files/0015/e5/b7/22095.webp);
}

@font-face {
  font-family: 'Tahoma';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/26890.ttf);
}

@font-face {
  font-family: 'Tahoma';
  font-style: normal;
  font-weight: 600;
  src: url(https://forumstatic.ru/files/001c/11/e3/51245.ttf);
}

@font-face {
  font-family: 'palatinolinotype';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/25940.ttf);
}

@font-face {
  font-family: 'kingdom';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/75364.ttf);
}

@font-face {
  font-family: 'lonely';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/36681.otf);
}

@font-face {
  font-family: 'briolin';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/20723.otf);
}

@font-face {
    font-family: 'bergamascoregular';
    src: url('https://forumstatic.ru/files/001b/a7/bb/73872.eot');
    src: url('https://forumstatic.ru/files/001b/a7/bb/73872.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/bb/98966.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/bb/51489.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/bb/87847.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/bb/73048.svg#bergamascoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('https://forumstatic.ru/files/0015/e5/b7/68495.eot');
    src: url('https://forumstatic.ru/files/0015/e5/b7/68495.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/0015/e5/b7/90961.woff2') format('woff2'),
         url('https://forumstatic.ru/files/0015/e5/b7/24719.woff') format('woff'),
         url('https://forumstatic.ru/files/0015/e5/b7/92838.ttf') format('truetype'),
         url('https://forumstatic.ru/files/0015/e5/b7/59688.svg#Myriad Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'attack_typeregular';
    src: url('https://forumstatic.ru/files/001b/a7/bb/56673.eot');
    src: url('https://forumstatic.ru/files/001b/a7/bb/56673.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/bb/40473.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/bb/36696.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/bb/90549.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/bb/69774.svg#attack_typeregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'ralewayregular';
    src: url('https://forumstatic.ru/files/001b/a7/bb/64030.eot');
    src: url('https://forumstatic.ru/files/001b/a7/bb/64030.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/bb/15520.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/bb/79061.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/bb/79423.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/bb/50514.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face { font-family: 'ralewayextrabold';
    src: url('https://forumstatic.ru/files/001b/a7/bb/81640.eot');
    src: url('https://forumstatic.ru/files/001b/a7/bb/81640.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/bb/16972.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/bb/27892.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/bb/28074.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/bb/23513.svg#ralewayextrabold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kingdomregular';
    src: url('https://forumstatic.ru/files/001b/a7/bb/53068.eot');
    src: url('https://forumstatic.ru/files/001b/a7/bb/53068.eot?#iefix') format('embedded-opentype'),
         url('https://forumstatic.ru/files/001b/a7/bb/76148.woff2') format('woff2'),
         url('https://forumstatic.ru/files/001b/a7/bb/59210.woff') format('woff'),
         url('https://forumstatic.ru/files/001b/a7/bb/48693.ttf') format('truetype'),
         url('https://forumstatic.ru/files/001b/a7/bb/80109.svg#kingdomregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'Vetrino';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001c/11/e3/84605.otf);
}

/* 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%;
	text-rendering: optimizeLegibility; /* Улучшает рендеринг шрифтов */
	-webkit-font-smoothing: antialiased; /* Сглаживание для macOS */
	-moz-osx-font-smoothing: grayscale;
	font-kerning: normal; /* Включает кернинг (интервалы между буквами) */
}

/* A3.2 */
.punbb {
	font: normal 70% var(--font), geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

/* 3.3 */
.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
	font: 1.1em var(--font), 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: 
		var(--pun-img) no-repeat fixed top center / cover;
	margin: auto;
	width: 1100px;
	margin-top: 50px !important;
	margin-bottom: 50px;
	padding: 5px !important;
  box-sizing: border-box;
	position: relative;
	border-radius: 25px;
	border: 1px solid var(--pun-border-out);
	box-shadow: var(--pun-sdw);
}

.punbb {
	padding: 0px;
}

/* лишнее */
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);
}

#pun a {
	color: var(--text4)
}

#pun a:hover {
	color: var(--text3)
}

#pun-main {
	background: var(--pun);
	border-top: 1px solid var(--pun-border-in);
	border-bottom: 1px solid var(--pun-border-in);
	margin: 0 -5px !important;
	color: var(--text1);
	padding: 30px;
	
	& a {
		color: var(--links);
		
		&:hover {
			color: var(--accent)
		}
	}
}

.punbb.punbb-admin {
	background: var(--pun);
	border-top: 1px solid var(--pun-border-in);
	border-bottom: 1px solid var(--pun-border-in);
	margin: 0 !important;
	color: var(--text1);
	padding: 30px;
	border-radius: 20px !important;
	
	& a {
		color: var(--links);
		
		&:hover {
			color: var(--accent)
		}
	}
	
	#pun-navlinks {
		position: relative;
		background: var(--dark300);
		width: auto;
		margin: 0 -5px !important;
	}
	
	#pun-navlinks:after {
		display: none
	}
}

#my-form {
	padding: 15px 0px;
}

#my-form input[name="author"] {
	margin-top: 10px !important;
	border-radius: 5px
}

input#my-submit {
	margin-left: 5px;
	font-size: 12px !important;
	padding: 6px 10px !important;
}

/* 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-overlay2) repeat fixed top left / auto,
		var(--base-overlay1) repeat fixed top left / auto,
		var(--base-bg) no-repeat fixed top center / cover !important;
	background-blend-mode: overlay, overlay, normal, normal !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: 40px;
	box-sizing: border-box;
	background: var(--pun);
	width: 1100px;
	margin-top: 100px;
color: var(--text1);
border: 1px solid var(--pun-border-in);
border-radius: 25px;
}


/* 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: var(--font), sans-serif;
	font-weight: 400;
	font-size: 1em;
}

.post-content p a {
	font-weight: 600
}

/* 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
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
	padding: 1.1em 1.7em 1em 1.7em;
}

/* 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 10px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 0px 0px 20px !important;
	color: var(--text4);
	text-transform: uppercase;
	height: auto;
	flex-wrap: wrap;
	gap: 2px
}

/* 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: 300 10px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 20px 0px 0px !important;
	color: var(--text2);
	text-transform: uppercase;
	height: auto;
	flex-wrap: wrap;
	gap: 2px
}

.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: 0;
	display: flex;
	align-items: center;
	gap: 5px;
}

.pagelink strong {
	font-weight: 200;
	color: var(--text3);
	transition: all .3s linear 0s !important;
	background: var(--borders);
	height: 21px;
	min-width: 21px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	padding: 2px 0 3px;
	color: var(--text2)
}

/* B3.7 */
.linksb .postlink,
.linksb noindex {
	width: auto;
	order: 3;
	position: relative
}

.subscribelink {
	position: relative;
	order: 2;
	text-align: center;
}

#pun .postlink.long {
	width: auto;
	display: flex;
	height: 100%;
}

#pun .postlink span, .subscribelink {
	display: flex;
	width: auto;
	text-align: center;
	display: flex;
	align-items: center;
	gap: 2px;
}

#pun .linksb a, #pun .linkst a {
	font-weight: 600;
	color: var(--text3);
	transition: all .3s linear 0s !important;
	background: var(--accent);
	height: 21px;
	min-width: 21px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	padding: 2px 0 3px
}

#pun .linksb a:hover, #pun .linkst a:hover {
	color: var(--text3);
	background: var(--links)
}

.pagelink a {
	font-weight: 900;
}

.postlink a, .subscribelink a  {
	padding: 2px 15px !important;
	font-style: normal;
	height: 21px;
}

.postlink a:hover, .subscribelink a:hover {
	background: var(--cover);
}

#s-block {
	align-self: stretch;
	align-items: stretch
}

#sTheme {
	border-radius: 15px 0 0 15px !important;
	height: auto !important;
	padding: 4px 10px !important;
}

#isk {
	background: var(--links);
	color: var(--white);
	border: none !important;
	border-radius: 0 15px 15px 0 !important;
	height: auto !important;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 4px !important;
	width: 30px !important;
}

#pun .postlink.long .new-topic {
	padding: 0 !important;
}

.postlink {
	display: flex;
	gap: 5px;
}

#nt-forumsub-btn {
	height: 21px;
	margin: 0 !important;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
	padding: 1.7em 2.3em 1.1em 2.3em;
}

#post.container {
	padding: 10px 0px 15px !important;
	border-top: 1px dashed var(--borders);
	margin-bottom: 10px;
	color: var(--text1)
}

/* C1.2 */
.punbb .formsubmit {
	padding: 0;
	margin: 0em 0 0 0;
	position: relative;
	z-index: 1;
	display: flex;
	gap: 0;
	align-items: center;
}

#togglePreview {
	margin-left: auto
}


/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
	margin: 0 0.6em 0 0
}

/* C1.4 */
.punbb fieldset {
	border: none;
	padding: 0 0px 0 0px;
	margin: 0 0 1em 0
}

/* C1.5 */
.punbb fieldset legend {
	padding: 0;
	margin: 0;
	font-size: 1.1em
}

/* C1.6 */
.punbb fieldset legend span {
	padding: 0 5px;
	background: var(--cover);
	padding: 3px 10px;
	border-radius: 5px;
	margin-bottom: 5px !important;
	display: block
}

#profile .container fieldset legend {
	display: block;
	font-size: 10px;
	margin-bottom: .6em;
  margin-top: .6em !important;
}

/* C1.7 */
.punbb fieldset fieldset {
	border: 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
}

/* 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 {
	min-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 {
	text-align: left;
	width: 35%;
}

/* C2.2 */
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
	text-align: center;
	width: 7%;
}

/* 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;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* 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: 8px 0em;
}

/* C2.12 */
.punbb .main th {
	border: none;
	padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
	border: none;
}

* 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 {
	margin-top: 0px;
	position: relative;
}

.post {
	scroll-margin: 80px;
	position: relative;
	background: var(--cover);
	padding: 10px !important;
	border-radius: 20px
}

.post + .post {
	margin-top: 10px
}

/* C3.2 */
.punbb .post .container {
	border: none;
	margin-top: 0px;
}


/* C3.2 */
.punbb .post > h3 {
	border: none;
	-webkit-text-size-adjust: 100%;
	width: auto;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	font: 300 9px var(--font2);
	z-index: 1;
	margin: 0px 0px 5px !important;
	padding: 0 !important;
	text-transform: lowercase;
	position: relative;
}

.post h3 span {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: auto;
	gap: 0px;
	flex-wrap: wrap;
	box-sizing: border-box;
	flex: 1;
}


#pun .post h3 span a {
	font-weight: 500;
	box-sizing: border-box;
	text-transform: uppercase;
	color: var(--text3);
	background: var(--dark100);
	padding: 5px 15px;
	border-radius: 15px;
	position: relative;
	z-index: 1
}

#pun .post h3 span a:hover {
	color: var(--text4)
}

a.permalink {
	display: flex;
	align-items: center;
	gap: 5px;
}

a.permalink:before {
	content: "\f20f";
	font: 12px var(--fnt-ico);
}

.post h3 strong {
	font-weight: 700;
	color: var(--text2);
	position: absolute;
	opacity: .25;
	right: 10px;
	z-index: 1;
	top: 0;
	font-size: 40px;
	font-style: italic;
	line-height: 100%;
}

.post h3 span strong:before {
	content: "#"
}


/* 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
}


/* C3.11 */
.punbb .post-body {
	margin-left: 250px;
	margin-bottom: 20px;
}

/* C3.12 */
.punbb .post-box {
	padding: 25px 10px 0;
        text-align: justify
}


/*C3.13 */
.punbb fieldset .post-box {
	margin-bottom: 0.8em;
}

/*C3.14 */
.punbb .post-links {
	margin: 1em 0px 0px;
	position: relative;
	z-index: 5;
}

.post-links {
    margin: 0 0 10px !important;

    & ul {
        display: flex;
        justify-content: flex-end;
        gap: 2px;
        text-align: right;

        .endpost & {
            border: 0 !important;
        }

        .punbb & li:first-child {
            margin-left: 0;
        }

        #pun & a {
            padding: 3px 15px 5px;
            font: 700 10px var(--font);
            text-transform: lowercase;
            background: var(--cover2);
            border-radius: 15px;

            &:hover {
                color: var(--accent);
            }
        }
    }

    & li {
        display: flex;

        &.profile,
        &.pm,
        &.email {
            float: left;
        }
    }
}

/* C3.17 */
.pl-email,
.pl-website {
	float: left;
}

/* C3.18 */
.punbb .clearer {
	clear: both;
	height: 0;
	font-size: 0;
}

.search_h {
-webkit-text-size-adjust: 100%;
	border: none;
	width: auto;
	display: inline-block;
	align-items: center;
	font: 500 11px var(--font);
	z-index: 1;
	text-transform: lowercase;
	border-radius: 25px;
}


.search_h a {
	color: var(--links) !important;
}

.search_h a:hover {
	color: var(--cover) !important;
}

.search_h span {
	display: inline-block;
	align-items: center;
	width: auto;
	gap: 0;
	flex-wrap: wrap;
	position: relative;
	padding: 2px 10px;
	background: var(--links);
	border-radius: 20px;
	color: var(--cover)
}


/* C4 Moderator menu
-------------------------------------------------------------*/
.punbb .modmenu .container {
	text-align: right;
	font: 500 10px var(--font) !important;
	padding: 15px 0 0;
	text-transform: lowercase;
	border-top: 1px dashed var(--borders);
	margin-top: 0px !important;
	display: flex;
	justify-content: space-between;
color: var(--text1)
}

#topic-users-in .container {
	display: block
}

.punbb .modmenu .container a {
	font-weight: 600
}

.forum .container {
	padding: 0px;
}

.forum tr + tr {
	margin-top: 5px;
}

.forum tr {
	display: flex;
	padding: 6px 6px !important;
	border-radius: 25px;
	gap: 40px;
	font: 300 12px var(--font);
	align-items: center;
	color: var(--text2);
	text-transform: lowercase;
	background: var(--cover)
}

.forum td {
	padding: 0 !important;
}

.forum .tcl {
	flex: auto;
}

.forum .tc2,
.forum .tc3 {
	font-size: 10px;
	width: 5% !important;
}

#pun .forum .tcr {
	min-width: 30% !important;
	overflow: visible
}

.forum .tcl {
	order: 1
}

.forum .tcr {
	order: 2
}

.forum .tc3 {
	display: none
}

.forum .tc2 {
	display: flex;
	font-weight: 500;
	align-items: flex-end;
	gap: 2px;
	font-size: 10px;
	order: 3;
	width: 100px !important;
}

.forum .tc2:before {
	content: "ответы:";
	font-size: 10px;
	font-weight: 300
}

#pun-searchtopics .forum .tc2 {
	width: 20% !important;
	align-items: flex-start
}

#pun-searchtopics .forum .tc2:before {
	content: "форум:"
}

.forum a {
	font-weight: 400
}

.forum .inew .tclcon strong a, .newtext a {
	font-weight: 600
}

#topic-modmenu {
	padding-bottom: 5px
}

#pun-viewforum .tcr, #pun-searchtopics .tcr {
  display: flex;
	align-items: center;
}

#pun .user-avatar {
    width: 25px !important;
    height: 25px !important;
	margin-right: 10px !important;
	position: relative;
}

#pun .user-avatar .avatar-image {
    width: 25px;
    height: 25px;
    border-radius: 0%;
    transition: all .5s linear 0s;
    box-sizing: border-box;
		mix-blend-mode: luminosity;
	opacity: .65;
		border-radius: 100%;
		border-radius: 6px !important;
}

#pun .user-avatar:hover .avatar-image {
	mix-blend-mode: normal;
	opacity: 1
}


#pun-index .user-avatar {
    width: 40px !important;
    height: 40px !important;
  margin: 0 !important;
	margin-right: 10px !important;
	margin-top: 4px !important;
	border: 1px solid var(--borders) !important;
	border-radius: 6px;
	box-shadow: 0 1px 2px 0 rgba(var(--rgb-black), 0.05), 0 4px 4px 0 rgba(var(--rgb-black), 0.04), 0 8px 5px 0 rgba(var(--rgb-black), 0.03), 0 15px 6px 0 rgba(var(--rgb-black), 0.01), 0 23px 6px 0 rgba(var(--rgb-black), 0);
}


#pun-index .user-avatar .avatar-image {
    width: 40px;
    height: 40px;
    transition: all .5s linear 0s;
    box-sizing: border-box;
}

#pun .user-avatar .isonline {
  background: transparent;
  margin: 0 !important;
  box-sizing: border-box;
  z-index: 1;
    animation: none;
	top: -5px;
	right: -5px;
	height: 14px;
	width: 14px;
	border-radius: 5px !important;
	padding: 0;
	background: rgba(var(--rgb-white),.3);
	display: flex;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px)
}

#pun .user-avatar .isonline:before {
	content: "\f36a";
	font: 200 10px var(--fnt-ico);
	color: var(--links)
}

#pun .user-avatar:hover .avatar-image {
	opacity: 1;
	mix-blend-mode: normal;
}

.user-avatar .avatar-image[style*=default_avatar] {background-image: url(https://upforme.ru/uploads/001c/11/e3/2/837103.png) !important;}

/* C4.2 */
.punbb .modmenu strong,
.punbb .modmenu a {
	height: auto;
}

/* C4.3 */
.punbb #topic-modmenu.modmenu .container {
	display: flex;
	justify-content: space-between;
	align-items: center
}

.punbb .modmenu .container:after {
	display: none
}

/* 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: none;
	margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
	padding: 0;
	border: none;
}

#pun-userlist .usertable .container tbody {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

#pun-userlist .usertable .container tr {
	display: flex;
	flex-direction: column;
	flex: 1;
	max-width: 190px;
	background:
		var(--dark100);
	border-radius: 15px;
	color: var(--text3);
	padding: 100px 0px 5px;
	position: relative;
	overflow: hidden;
	border: 5px solid var(--dark100) !important;
	box-sizing: border-box;
	align-items: center;
	min-width: 170px;
	gap: 5px;
}

#pun-userlist .usertable .container td {
	width: auto !important;
	border: none !important;
	padding: 0 !important;
}

#pun-userlist .usertable .container .user-avatar, #pun-userlist .usertable .container .user-avatar .avatar-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	margin: 0 !important;
	mask: unset !important;
	border-radius: 12px !important;
	height: 100px !important;
}

#pun-userlist .usertable .container .user-avatar .isonline {
  background: transparent;
  margin: 0 !important;
  box-sizing: border-box;
  z-index: 1;
    animation: none;
	top: 10px;
	left: 10px;
	transform: none;
	height: 20px;
	width: 20px;
	border-radius: 100% !important;
	padding: 0;
	background: rgba(var(--opacity-bg2),.25);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

#pun-userlist .usertable .container .user-avatar .isonline:before {
	color: var(--text3)
}

/* C7.3 */
#pun-userlist .usertable table {
	border: none;
}

#pun-userlist .usertable .username {
	align-self: flex-start;
	max-width: calc(100% - 20px);
}

#pun-userlist .usertable .username .usersname {
	background:  rgba(var(--opacity-bg2),.15);
	margin-top: 10px !important;
	position: relative;
	display: block;
	padding: 5px 15px;
	font: 500 12px/100% var(--font2) !important;
	box-sizing: border-box;
	border-radius: 15px;
	
	& a {
		color: var(--text4);
		
		&:hover{
			color: var(--text3)
		}
	}
	
}


#pun-userlist .usertable td.user_title,
#pun-userlist .usertable td.relation,
#pun-userlist .usertable td.num_posts,
#pun-userlist .usertable td.registered,
#pun-userlist .usertable td.last_visit {
	background:  rgba(var(--opacity-bg1),.05);
	align-self: stretch;
	border-radius: 10px;
	margin: 0;
	text-align: left;
	padding: 4px 10px !important;
	font-size: 10px;
}

#pun-userlist .usertable td.relation:before {
	content: "Репутация: ";
	opacity: .5;
}

#pun-userlist .usertable td.num_posts:before {
	content: "Посты: ";
	opacity: .5
}

#pun-userlist .usertable td.registered:before {
	content: "Регистрация: ";
	opacity: .5
}

#pun-userlist .usertable td.last_visit:before {
	content: "Последний визит: ";
	opacity: .5
}


/***************************************************/
************************************************************* 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 {
	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 .bubble:after {display:none!important;}


#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;
}

#h-uploads {
	display: none !important;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/
/* D5.1 */
#pun-status,
#pun-status .container {
	border: none;
	margin-bottom: 0;
}

#pun-status {
	padding: 0px;
	position: fixed;
	width: 100%;
	top: 20px;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: -1;
	color: var(--text3);
	box-sizing: border-box;
	gap: 10px;
}

#pun-status .container {
	display: flex;
	align-items: center;
	position: relative;
	gap: 5px;
}

#pun-status .item4 {
	display: none
}

#pun-status .item3 {
	font-size: 0;
}

#pun-status .item3 a {
	font-size: 10px;
}

/* D5.2 */
#pun-status .container {
	text-align: center;
	font: 300 11px var(--font);
	text-transform: lowercase;
	white-space: nowrap
}


#pun-status .container strong {
	font-weight: 500 !important;
}

#pun-status .status-right {
	float: none !important;
}

#pun-status .item3 {
	display: none !important;
}


/* D5.3 */
#pun-status span {
	white-space: pre-line;
}

/* D5.6 */
#pun-break1 {
	margin: 0 1em;
	border: none;
	height: 0;
	margin: -2px 1em;
	position: relative;
	z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/
/* D6.1 */
#pun-announcement h2 {
	display: none
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats {
	margin: 0px -5px 0px !important;
	height: auto;
	position: relative;
	text-align: left;
	padding: 20px 30px;
	color: var(--text2);
	background: var(--cover);
	border-bottom: 1px solid var(--pun-border-in);
}


#pun-stats h2 {
	margin: 0 0px 0 !important;
	height: auto;
	display: flex;
	justify-content: flex-start;
	position: relative;
	padding: 0;
	text-align: center;
}

#pun-stats h2 span {
	height: auto;
	text-transform: uppercase;
	font: 600 10px/100% var(--font2);
	position: relative;
	padding: 5px 15px;
	box-sizing: border-box;
	color: var(--text3);
	letter-spacing: .09em;
	background: var(--dark100);
	border-radius: 15px;
	display: flex;
	align-items: center;
	gap: 5px;
}

#pun-stats h2 span:before {
	content: "\ed3c";
	font: 200 12px var(--fnt-ico);
}

#pun-stats .container {
	display: flex;
	font: 300 12px/150% var(--font);
		position: relative;
	flex-direction: column;
	gap: 5px;
	text-transform: lowercase
}

.ststitems {
	display: flex;
	flex-wrap: wrap;
	font: 300 9px var(--font);
	text-transform: lowercase;
	margin: 10px 0px 0px;
	padding:0px;
	align-items: center;
	text-align: left;
	align-self: stretch;
	gap: 5px;
	justify-content: flex-start;
}

.ststitems li {
	background: var(--cover2);
	border: 1px solid var(--borders);
	padding: 4px 15px;
	border-radius: 15px;
}

.ststitems a {
	color: var(--accent) !important;
}

.ststitems a:hover {
	color: var(--text3) !important;
}

.ststitems li strong, .ststitems li a {
	font-weight: 600
}

.onlinelist {
	padding: 0px !important;
}

#onlinelist {
	font-weight: 300;
	text-align: justify;
	background: var(--cover2);
	border: 1px solid var(--borders) !important;
	padding: 10px 15px !important;
	border-radius: 15px;
}

#onlinelist div span {
	display: block;
	margin-top: 5px;

	& a {
		color: var(--links);
		
		&:hover {
			color: var(--accent)
		}
	}
}

#onlinelist div > a {
	color: var(--text2);
}

#onlinelist span {
	font-weight: 300
}

#onlinelist a {
	font-weight: 600
}

#pun-stats .container:after {
	display: none
}

/* 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: none;
	text-align: right;
	line-height: 150%;
	padding: 0.8em 1em;
}

/* D8.5 */
#pun-about p span {
	display: block;
	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: none;
	position: relative;
	height: 0;
	z-index: 1;
}

/* D8.9 */
div.punbb-admin #pun-about .container {
	border: none;
}


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
	border: none;
	padding-bottom: 0;
	margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
	padding-bottom: 0.6em;
	display: block;
	border: none;
	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"
}

@-moz-document url-prefix() {
	body {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) rgba(232, 223, 217, 0.05);
	}

	html {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) rgba(232, 223, 217, 0.05);
	}

 .punbb * {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) rgba(232, 223, 217, 0.05);
	}
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(232, 223, 217, 0.05);
	border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
	background-color: var(--accent);
	width: 4px !important;
	border-radius: 100px !important;
}

.punbb *::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(232, 223, 217, 0.05);
}

.punbb *::-webkit-scrollbar-thumb {
	background-color: var(--accent);
	width: 4px !important;
}


.stickytext,
.closedatafield,
#pun-live-rusff,
.pl-reports {
	display: none
}


input,
textarea {
	outline: none;
}

input:active,
textarea:active {
	outline: none;
}

#pun td.tc2, #pun td.tc3 {
overflow: visible !important}

:focus {
	outline: none;
}

#pun-messages .fs-box {
	padding: 15px 0px;
	border-radius: 10px;
	color: var(--text1);
	margin-top: 5px !important;
}

#pun-messages .post h3 {
	width: auto;
	position: relative;
}

#pun-messages .post h3 span {
	width: auto !important;
	margin: 0 !important;
}

#pun-messages #post-form p {
	margin-top: 5px !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: 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);
	border-radius: 10px;
	box-shadow: 1px 1px 2px rgba(0,0,0,.25);
	background: var(--cover2);
	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;
}

.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"] {
	border-radius: 100%;
	appearance: none;
	padding: 5px !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="radio"] {
	border-radius: 100%;
	appearance: none;
	padding: 5px !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;
}

.pun-modal input[type="radio"] {
        background: var(--text4);
}

input[type="checkbox"]:checked:after,
input[type="radio"]:checked:after {
	content: "\f00c";
	font-family: FontAwesome;
	font-size: 13px;
	position: absolute;
	color: var(--links);
}

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
}

#post-form h2 {
	display: none
}

#charcounter {
	font: 400 12px arsenal;
	background: var(--fill);
	border: 1px solid var(--borders);
	border-radius: 3px;
	text-align: center;
	padding: 4px 25px 6px;
	display: inline-block;
}

.charcount {
	font-weight: 700
}

#profile fieldset #charcounter {
	display: none
}

.post-rating {
    margin-top: 0 !important;
    margin-bottom: 10px;
    position: relative;
    float: right;
    z-index: 8;

    & p {
        display: flex;
        align-items: center;
        font: 400 12px var(--font) !important;
    }

    #pun & a {
        display: flex;
        align-items: center;
        font-size: 11px !important;
        color: var(--text1);
    }

    & p.container a::before {
        content: "\ee0b";
        margin-right: 5px;
        font: 13px var(--fnt-ico);
        color: var(--links);
        transform-origin: center;

        @media (prefers-reduced-motion: no-preference) {
            animation: heartBeat 5.2s ease-in-out infinite;
        }
    }

    .altstyle & p.container a::before {
        animation-delay: -2.6s;
    }

    .mylike & p.container a::before {
        content: "\ee0a";
        color: var(--text2);
        animation: none;
    }
}

.post-vote p.container {
    margin-top: 0 !important;
}

@keyframes heartBeat {
    0%, 13%, 27%, 100% {
        transform: scale(1);
    }

    6% {
        transform: scale(1.12);
    }

    20% {
        transform: scale(1.07);
    }
}

#viewprofile .container {
	padding: 0 !important;
}

#viewprofile-next {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text1)
}

#profile-right .p_plash {
	width: 208px !important;
	height: 40px;
	border-radius: 15px;
	position: relative;
	overflow: hidden;
	background: var(--cover2);
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#pa-fld4 a {
	color: var(--text3) !important;
}

#viewprofile-next #profilenav {
	display: none
}

#viewprofile-next tr {
	display: flex;
	gap: 0px;
	font-family: var(--font)
}

#pun #profile-left {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background: var(--cover2);
	border-radius: 15px 0 0 15px;
	padding: 15px 15px 20px !important;
	align-self: flex-start;
	width: 220px;
	box-sizing: border-box
}

#pa-edit {
	margin-top: 10px
}

#profile-left li strong {
	padding: 0 !important;
}

#profile-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 5px;
	width: auto !important;
	background: var(--cover);
	border-radius: 0 15px 15px 15px;
	padding: 15px !important;
	box-sizing: border-box;
	flex: 1
}

#profile-right li {
	display: flex;
	justify-content: flex-start;
	flex: auto;
	text-align: center;
	padding: 5px 0px 10px !important;
	font-size: 11px;
	border-bottom: 1px solid var(--borders) !important;
	align-items: center;
}

#profile-right #pa-last-visit {
	border: none !important;
	padding-bottom: 0 !important;
}

#profile-right li strong {
	flex: 1;
	font-weight: normal;
	padding: 0 !important;
	padding-left: 20px !important;
	margin: 0 !important;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap
}

#pun #profile-right li span {
	float: none;
	margin: 0;
	width: 20%;
	font-weight: 700;
	padding-top: 0;
	font-size: 10px;
	border-right: 1px solid var(--borders);
	text-align: left
}

#pa-fld4 .p_plash {
	width: 210px
}

#pa-fld7 .personal_sticker.sticker1,
#pa-fld7 .personal_sticker.sticker2 {
	position: relative;
	transform: none;
	top: unset;
	left: unset;
}


#pa-invites,
#pa-gifts,
#pa-awards {
	display: none !important;
}

#profile {
	display: flex;
	background: var(--pun);
	border-radius: 12px;
	color: var(--text1)
}

#profile form.container {
	width: 100%;
	padding-left: 18.6em
}


#profilenav {
	display: flex;
	margin-left: -17em;
}

#pun-messages #profile>.container {
	display: flex;
	flex-direction: column;
	width: 100% !important;
	padding-left: 0;
	padding: 0px 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;
	background: var(--cover);
	border-radius: 15px
}

#pun-messages #profilenav ul,
#pun-messages #profilenav li {
	padding: 0;
}

#pun-messages #profilenav ul {
	display: flex;
	gap: 2px;
	margin: 0
}

#pun-messages #profilenav li {
	background: var(--cover2);
	border-radius: 15px;
	padding: 5px 25px;
}

#pun-messages #profilenav li a {
	color: var(--text1)
}

#pun-messages #profilenav .isactive {
	font-weight: 700;
	background: var(--borders)
}

#pun-messages #profilenav h2 {
	display: block;
	text-align: left !important;
	padding-left: 0;
	margin-left: 0;
}

#pun-messages .fs-box .container {
	padding: 0px 0 !important;
}

#pun-messages .fs-box .container tr+tr {
	margin-top: 5px;
}

#pun-messages .fs-box .container tr {
	display: flex;
	align-items: center;
	padding: 0 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#messages > fieldset {
	margin-bottom: 0;
	border: none;
	text-align: left !important;
	padding: 0
}

form#messages > fieldset legend, form#messages  > fieldset legend span {
	margin: 0 !important;
	padding: 3px 5px;
	background: var(--cover);
	border-radius: 15px;
  display: block;
  font-size: 9px;
	color: var(--text2)
}

form#messages .tc2 {
	text-align: left;
}

#pun #keyboard-span input {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 300;
	font-size: 13px;
	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;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

#pun-index .datetime,
#pun-index .byuser {
	font-size: 10px;
	color: var(--text2);
	display: block;
	white-space: nowrap
}

#pun-index .byuser {
	font-weight: 600
}

#pun-index .byuser:before {
	content: "Автор: ";
	font-weight: 300
}

/****************************************************
 * BOOKMARKS — закладки под дизайн форума
 ****************************************************/

/* =========================================================
   КНОПКА ОТКРЫТИЯ ЗАКЛАДОК
========================================================= */

#BookmCntToggle,
#BookmCntToggle.default-style {
	position: fixed !important;
	top: 20px !important;
	left: 20px !important;
	z-index: 999999 !important;
	
	background: var(--dark100) !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;

	padding: 0 !important;
	margin: 0 !important;

	border: none !important;
	border-radius: 100px !important;
	box-shadow: none !important;

	color: var(--text4) !important;
	opacity: 1;
	cursor: pointer !important;

	font-size: 0 !important;
	line-height: 0 !important;
	transform: none !important;
}

#BookmCntToggle:hover,
#BookmCntToggle.default-style:hover {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--accent) !important;
	transform: none !important;
}

#BookmCntToggle::before,
#BookmCntToggle.default-style::before {
	content: "\f02e" !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 20px !important;
	height: 20px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	color: currentColor !important;

	font-family: FontAwesome, "Font Awesome 6 Pro", "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	font-size: 14px !important;
	line-height: 14px !important;

	opacity: 1 !important;
	visibility: visible !important;
}

#BookmCntToggle::after,
#BookmCntToggle.default-style::after {
	display: none !important;
	content: none !important;
}

/* =========================================================
   МАРКЕР ЗАКЛАДКИ В ПОСТЕ
========================================================= */

.post .bookmark {
	width: 24px !important;
	height: 18px !important;

	right: -3px !important;
	z-index: 999 !important;

	color: var(--links) !important;
	background: currentColor !important;

	border-radius: 0 4px 4px 0;
	opacity: .82;

	box-shadow: 1px 1px 4px rgba(0,0,0,.22);

	transition:
		opacity .2s ease,
		color .2s ease,
		transform .2s ease;
}

.post .bookmark:before {
	content: "" !important;
	display: block !important;
	position: absolute !important;

	width: 0 !important;
	height: 0 !important;

	left: -9px !important;
	top: 0 !important;

	border-style: solid !important;
	border-width: 9px 0 9px 9px !important;
	border-color: currentColor transparent !important;
}

.post .bookmark:hover {
	opacity: 1;
	color: var(--accent) !important;
	transform: translateX(-2px);
}

.post .bookmark.ncnfrm {
	color: var(--text4) !important;
	opacity: .55;
}


/* =========================================================
   ПАНЕЛЬ ЗАКЛАДОК
========================================================= */

#MyBookmarks {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
	bottom: auto !important;

	width: 300px !important;
	height: 100vh !important;
	max-height: 100vh !important;

	padding: 18px 18px 16px !important;
	box-sizing: border-box;

	background:
		var(--dark100);

	color: var(--text1) !important;
	text-shadow: none !important;

	box-shadow: 8px 0 28px rgba(0,0,0,.28) !important;

	z-index: 9999998 !important;
	overflow: hidden !important;

	font-family: var(--font), Arial, sans-serif !important;
}

/* мягкая подложка внутри панели */
#MyBookmarks:before {
	content: "";
	position: absolute;
	inset: 10px;

	display: block;

	background: var(--cover);
	border-radius: 16px;
	box-shadow: 1px 1px 8px rgba(0,0,0,.18);

	z-index: 0;
	pointer-events: none;
}

/* декоративная “бумажная” шапка */
#MyBookmarks:after {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;

	height: 80px;

	border-radius: 14px 14px 8px 8px;

	opacity: .9;
	z-index: 0;
	pointer-events: none;
}

/* важно: в исходном скрипте это тег <inner>, а не класс .inner */
#MyBookmarks inner,
#MyBookmarks .inner {
	position: relative !important;
	z-index: 1 !important;

	display: block !important;

	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;

	padding: 0 !important;
	margin: 0 !important;

	box-sizing: border-box;
}


/* =========================================================
   ЗАГОЛОВОК ПАНЕЛИ
========================================================= */
#MyBookmarks h1,
#MyBookmarks h2 {
	position: relative !important;
	z-index: 2 !important;

	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;

	width: auto !important;
	min-height: 28px;

	margin: 10px 5px 30px !important;
	padding: 12px 42px 12px 14px !important;
	box-sizing: border-box;

	background: rgba(var(--opacity-bg1),.2) !important;
	border: none !important;
	border-radius: 4px !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

	color: var(--text2) !important;

	font: 600 italic 18px/110% var(--font2), serif !important;
	text-align: left !important;
	text-transform: lowercase !important;
}

#MyBookmarks h1 span,
#MyBookmarks h2 span {
	display: block;
	min-width: 0;

	color: var(--text2) !important;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#MyBookmarks h1 span strong,
#MyBookmarks h2 span strong {
	color: var(--links);
	font-weight: 700;
}


/* =========================================================
   КНОПКА СВЕРНУТЬ — СТРЕЛКА
========================================================= */

#bm2,
#MyBookmarks #bm2 {
	position: absolute !important;
	top: 50% !important;
	right: 15px !important;
	left: auto !important;
	bottom: auto !important;

	transform: translateY(-50%) !important;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 24px !important;
	height: 24px !important;
	padding: 0 !important;
	margin: 0 !important;

	background: var(--pun) !important;
	box-shadow: none !important;

	color: var(--text2) !important;

	font-size: 0 !important;
	cursor: pointer !important;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

#bm2:before,
#MyBookmarks #bm2:before {
	content: "\f060";

	display: block;

	color: currentColor;

	font: normal normal normal 12px/22px FontAwesome;
}

#bm2:after,
#MyBookmarks #bm2:after {
	display: none !important;
}

#bm2:hover,
#MyBookmarks #bm2:hover {
	background: var(--links) !important;
	border-color: var(--links) !important;
	color: var(--text2) !important;
}


/* =========================================================
   СПИСОК ЗАКЛАДОК
========================================================= */

#MyBookmarks .container {
	position: relative !important;
	z-index: 1 !important;

	width: 100% !important;

	height: auto !important;
	min-height: 0 !important;
	max-height: calc(100vh - 120px) !important;

	margin: 0 !important;
	padding: 0 12px 0 0 !important;
	box-sizing: border-box;

	overflow-y: auto !important;
	overflow-x: hidden !important;

	scrollbar-gutter: stable;
}

/* отключаем старые кнопки псевдоскролла */
#MyBookmarks .scrl.t,
#MyBookmarks .scrl.b,
#pun .scrl.t,
#pun .scrl.b {
	display: none !important;
}


/* =========================================================
   ПУСТОЙ СПИСОК
========================================================= */

#MyBookmarks .deS {
	position: relative;
	z-index: 1;

	display: block !important;

	margin: 0 !important;
	padding: 16px 14px !important;
	box-sizing: border-box;

	background: var(--cover);
	border: 1px solid var(--borders);
	border-radius: 10px;

	color: var(--text1) !important;

	text-align: center;
	font: 400 12px/150% var(--font), Arial, sans-serif !important;
}

#MyBookmarks .deS:after {
	display: block;

	margin-top: 8px;

	color: var(--text2);

	font: 400 10px/140% var(--font), Arial, sans-serif !important;
}


/* =========================================================
   КАРТОЧКА ЗАКЛАДКИ
========================================================= */

#MyBookmarks li.BookmarkL {
	position: relative;

	margin: 0 0 9px 0 !important;
	padding: 0 !important;

	background: var(--cover) !important;
	border: 1px dashed var(--borders) !important;
	border-radius: 10px;

	box-sizing: border-box;
	overflow: hidden;

	transition:
		background-color .25s ease,
		border-color .25s ease,
		transform .2s ease,
		box-shadow .25s ease;
}

#MyBookmarks li.BookmarkL:hover {
	background: var(--pun) !important;
	border-color: var(--links) !important;
	transform: translateX(2px);
	box-shadow: 1px 1px 6px rgba(0,0,0,.12);
}

#MyBookmarks li.BookmarkL,
#MyBookmarks li.BookmarkL > span,
#MyBookmarks li.BookmarkL > span > a {
	max-width: 100%;
	box-sizing: border-box;
}

#MyBookmarks li.BookmarkL > span {
	position: relative !important;

	display: block !important;

	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	cursor: default !important;
}

#MyBookmarks li.BookmarkL > span.last_click {
	background: transparent !important;
	box-shadow: inset 4px 0 0 var(--links) !important;
}

#MyBookmarks li.BookmarkL > span.last_click:before {
	content: "";

	position: absolute;
	top: 9px;
	left: 8px;

	width: 6px;
	height: 6px;

	border-radius: 999px;
	background: var(--links);

	z-index: 2;
}


/* =========================================================
   ССЫЛКА-КАРТОЧКА
========================================================= */

/* rich-версия из патча */
#MyBookmarks li.BookmarkL > span > a.cf-bm-card {
	position: relative !important;
	z-index: 1 !important;

	display: block !important;

	margin: 0 !important;
	padding: 11px 58px 11px 13px !important;
	box-sizing: border-box;

	background: transparent !important;
	color: var(--text1) !important;

	text-decoration: none !important;
	line-height: 145% !important;
}

/* fallback для старого вывода, если rich-патч не успел отрендериться */
#MyBookmarks li.BookmarkL > span > a:not(.cf-bm-card) {
	position: relative !important;
	z-index: 1 !important;

	display: block !important;

	margin: 0 !important;
	padding: 11px 36px 11px 13px !important;
	box-sizing: border-box;

	background: transparent !important;
	color: var(--text1) !important;

	text-decoration: none !important;

	font: 500 11px/145% var(--font), Arial, sans-serif !important;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   СТРОКИ ВНУТРИ КАРТОЧКИ
========================================================= */

#MyBookmarks .cf-bm-line {
	display: flex !important;
	align-items: baseline;
	gap: 5px;

	width: 100%;
	min-width: 0;

	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

#MyBookmarks .cf-bm-line + .cf-bm-line {
	margin-top: 1px;
}

#MyBookmarks .cf-bm-label {
	flex: 0 0 auto;

	color: var(--text4) !important;

	font: 700 9px/140% var(--font), Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: .03em;

	opacity: .9;
}

#MyBookmarks .cf-bm-value {
	flex: 1 1 auto;
	min-width: 0;

	color: var(--text1) !important;

	font: 400 11px/145% var(--font), Arial, sans-serif !important;

	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

#MyBookmarks .cf-bm-topic .cf-bm-value {
	font-weight: 600 !important;
	color: var(--links) !important;
}

#MyBookmarks .cf-bm-note-view .cf-bm-value {
	color: var(--text4) !important;
	font-style: italic;
	opacity: .95;
}


/* =========================================================
   СКРЫВАЕМ СТАРЫЕ ЭЛЕМЕНТЫ
========================================================= */

#MyBookmarks li.BookmarkL > span > dd {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

#MyBookmarks li num {
	display: none !important;
}


/* =========================================================
   КНОПКА УДАЛЕНИЯ
========================================================= */

#MyBookmarks li.BookmarkL > span > strong,
#MyBookmarks li.BookmarkL > span > strong.cf-bm-delete {
	position: absolute !important;
	top: 9px !important;
	right: 9px !important;
	z-index: 99999999 !important;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 20px !important;
	height: 20px !important;

	margin: 0 !important;
	padding: 0 !important;

	float: none !important;

	background: var(--cover2) !important;
	border: 1px solid transparent !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	outline: none !important;

	color: var(--text4) !important;

	font: normal normal normal 14px/20px Tahoma, Verdana, Arial !important;

	cursor: pointer !important;
	pointer-events: auto !important;

	opacity: .8;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease,
		opacity .2s ease;
}

#MyBookmarks li.BookmarkL > span > strong:hover,
#MyBookmarks li.BookmarkL > span > strong.cf-bm-delete:hover {
	background: var(--links) !important;
	border-color: var(--links) !important;
	color: var(--text3) !important;
	opacity: 1;
}


/* =========================================================
   КНОПКА РЕДАКТИРОВАНИЯ ПРИМЕЧАНИЯ
========================================================= */

#MyBookmarks .cf-bm-note-edit {
	position: absolute !important;
	top: 9px !important;
	right: 34px !important;
	z-index: 99999999 !important;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 20px !important;
	height: 20px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: var(--cover2) !important;
	border: 1px solid transparent !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	outline: none !important;

	color: var(--text4) !important;

	font-size: 0 !important;
	line-height: 1 !important;

	cursor: pointer !important;
	pointer-events: auto !important;

	opacity: .8;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease,
		opacity .2s ease;
}

#MyBookmarks .cf-bm-note-edit:before {
	content: "\f040";

	display: block;

	color: currentColor;

	font: normal normal normal 11px/18px FontAwesome;
	pointer-events: none !important;
}

#MyBookmarks .cf-bm-note-edit-icon {
	display: none !important;
	pointer-events: none !important;
}

#MyBookmarks .cf-bm-note-edit:hover,
#MyBookmarks .cf-bm-note-edit:focus,
#MyBookmarks .cf-bm-note-edit:active {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: var(--text3) !important;
	box-shadow: none !important;
	outline: none !important;
	opacity: 1;
}


/* =========================================================
   РЕДАКТОР ПРИМЕЧАНИЯ
========================================================= */

#MyBookmarks .cf-bm-note-editor {
	display: block !important;

	margin: -2px 0 0 0 !important;
	padding: 0 10px 11px 10px !important;
	box-sizing: border-box;

	background: transparent !important;
	cursor: default !important;
}

#MyBookmarks .cf-bm-note-label {
	display: block;

	margin: 0 0 5px 0 !important;

	color: var(--text4) !important;

	font: 700 9px/130% var(--font), Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: .03em;
}

#MyBookmarks .cf-bm-note-input {
	display: block;

	width: 100% !important;
	min-width: 0 !important;
	min-height: 58px;

	margin: 0 !important;
	padding: 8px 9px !important;
	box-sizing: border-box;

	resize: vertical;

	background: var(--pun) !important;
	color: var(--text1) !important;

	border: 1px dashed var(--borders) !important;
	border-radius: 8px !important;
	box-shadow: none !important;

	font: 400 11px/145% var(--font), Arial, sans-serif !important;

	outline: none !important;
}

#MyBookmarks .cf-bm-note-input:hover {
	background: var(--cover) !important;
}

#MyBookmarks .cf-bm-note-input:focus {
	background: var(--pun) !important;
	border-color: var(--links) !important;
}

#MyBookmarks .cf-bm-note-input::placeholder {
	color: var(--text4);
	opacity: .75;
}

#MyBookmarks .cf-bm-note-actions {
	display: flex;
	align-items: center;
	gap: 6px;

	margin-top: 7px;
}

#MyBookmarks .cf-bm-note-save,
#MyBookmarks .cf-bm-note-cancel {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	width: auto !important;
	min-height: 24px !important;

	margin: 0 !important;
	padding: 0 10px !important;

	background: var(--cover2) !important;
	color: var(--text2) !important;

	border: 1px solid transparent !important;
	border-radius: 7px !important;
	box-shadow: none !important;

	font: 700 9px/24px var(--font), Arial, sans-serif !important;
	text-transform: lowercase;
	letter-spacing: .03em;

	cursor: pointer;

	transform: none !important;
	transition:
		background-color .2s ease,
		color .2s ease;
}

#MyBookmarks .cf-bm-note-save {
	background: var(--links) !important;
	color: var(--text3) !important;
}

#MyBookmarks .cf-bm-note-save:hover,
#MyBookmarks .cf-bm-note-cancel:hover {
	background: var(--text2) !important;
	color: var(--text3) !important;
	transform: none !important;
	box-shadow: none !important;
}

#MyBookmarks .cf-bm-note-status {
	color: var(--text4) !important;
	font: 400 10px/120% var(--font), Arial, sans-serif !important;
	opacity: .85;
}

#MyBookmarks .cf-bm-note-status.is-saved {
	color: var(--links) !important;
	font-weight: 600;
}


/* =========================================================
   СТАРОЕ ОКНО РЕДАКТИРОВАНИЯ ЗАКЛАДКИ В ПОСТЕ
========================================================= */

.editBookmark {
	color: var(--text1) !important;
	border-radius: 10px !important;
	box-shadow: 1px 8px 22px rgba(0,0,0,.25) !important;
	background: var(--pun) !important;
	border: 1px dashed var(--borders) !important;
	padding: 12px !important;
}

.editBookmark h1,
.editBookmark h2 {
	display: block !important;

	margin: 0 0 8px !important;
	padding: 8px 34px 8px 10px !important;

	background: var(--cover) !important;
	border-radius: 8px !important;
	border: 1px dashed var(--borders) !important;

	color: var(--text1) !important;

	font: 700 11px/120% var(--font), Arial, sans-serif !important;
	text-transform: lowercase;
}

.editBookmark .container {
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-align: left !important;
}

.editBookmark .inputfield {
	display: flex;
	align-items: center;
	gap: 6px;

	color: var(--text4) !important;

	font: 600 10px/130% var(--font), Arial, sans-serif !important;
	text-transform: lowercase;
}

.editBookmark #inpEditBm {
	width: 190px !important;
	height: 28px !important;

	margin: 0 !important;
	padding: 0 8px !important;

	border: 1px dashed var(--borders) !important;
	border-radius: 7px !important;
	background: var(--cover) !important;

	color: var(--text1) !important;

	font: 400 11px/28px var(--font), Arial, sans-serif !important;
}

.editBookmark #inpEditBm:focus {
	background: var(--pun) !important;
	border-color: var(--links) !important;
}

.editBookmark #btnSaveBm {
	min-height: 28px !important;
	margin: 0 !important;
	padding: 0 10px !important;

	border-radius: 7px !important;
	background: var(--links) !important;
	color: var(--text3) !important;

	font: 700 9px/28px var(--font), Arial, sans-serif !important;
	text-transform: lowercase;
}

span.delBookmark {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 20px !important;
	height: 20px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: var(--cover2) !important;
	border-radius: 7px !important;

	color: var(--text4) !important;

	font: normal normal normal 14px/20px Tahoma, Verdana, Arial !important;

	cursor: pointer;
}

span.delBookmark:hover {
	background: var(--links) !important;
	color: var(--text3) !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 760px) {
	#MyBookmarks {
		width: min(86vw, 320px) !important;
		padding: 14px 14px 12px !important;
	}

	#MyBookmarks:before {
		inset: 7px;
		border-radius: 14px;
	}

	#MyBookmarks:after {
		top: 7px;
		left: 7px;
		right: 7px;
		height: 72px;
		border-radius: 12px 12px 8px 8px;
	}

	#MyBookmarks h1,
	#MyBookmarks h2 {
		min-height: 54px;
		margin-bottom: 12px !important;
		padding: 11px 40px 11px 13px !important;
		font-size: 16px !important;
	}

	#MyBookmarks .container {
		max-height: calc(100vh - 108px) !important;
		padding-right: 10px !important;
	}

	#BookmCntToggle {
		top: 14px !important;
		left: 14px !important;
	}
}

#bm2 {
	right: 20px !important;
}

#pun .scrl.t,
#pun .scrl.b {
	box-shadow: none !important;
	background: var(--pun);
	border-radius: 6px;
	border: 1px solid var(--borders) !important;
	width: 110px;
}

.scrl.t+.scrl.b {
	margin-left: 10px !important;
}

#imageupload-left input[type=button] {
	width: auto !important
}

#pun-respect td {
	padding: .8em !important;
	overflow-wrap: normal
}

#pun hr {
	opacity: 1;
	filter: none;
	background: var(--borders);
	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-messages #togglePreview {
	top: -15px
}

.post-content table {
	border-radius: 5px;
	overflow: hidden
}

img[alt~="hide-autor2"] {
	opacity: 0;
	display: none
}

.settings_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    position: relative;

    .slide_button {
        width: auto;
        height: auto;
        padding: 6px 15px !important;
        display: block;
        font: 300 12px var(--font) !important;
        color: var(--text3) !important;
        white-space: nowrap;
        text-transform: uppercase;
        background: rgba(var(--opacity-bg1), 0.08);
        box-shadow:
            0 4px 4px rgba(var(--rgb-black), 0.08),
            inset 1px 1px 2px rgba(var(--rgb-white), 0.04);
        border-radius: 15px;
        cursor: pointer;
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;

        &.i_active {
            color: var(--text3) !important;
        }
    }

    .slide_block {
        width: 250px;
        display: none;
        position: absolute;
        top: calc(100% - 5px);
        right: -10px;
        color: var(--text3);
    }

    .settings_container {
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 5px;

        & > :is(#stylelist, #chfont, .linkcolor-select, .set-brightness) {
            padding: 15px;
            display: flex;
            gap: 10px;
            background: rgba(var(--rgb-black), 0.3);
            border-radius: 15px;
            -webkit-backdrop-filter: blur(50px);
            backdrop-filter: blur(50px);

            &::before {
                width: 100% !important;
                display: block;
                font: 400 9px var(--font);
                text-align: center;
                text-transform: uppercase;
            }
        }

ul#stylelist {
    height: auto !important;
    padding: 15px !important;
    align-items: center;
	justify-content: center;
    gap: 10px !important;
	flex-wrap: wrap;
	flex-direction: row-reverse;
	gap: 0px;

    &::before {
        content: "Дизайн";
    }

    .theme-switch-row,
    .accent-switcher {
        display: flex;
        align-items: center;
        justify-content: center;
        list-style: none;
    }

    .switch {
        width: 40px;
        height: 20px;
        position: relative;
        display: inline-block;
        align-self: center;

        & input {
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            opacity: 0;
        }

        .slider {
            position: absolute !important;
            inset: 0;
            background: var(--dark300);
            border-radius: 30px;
            cursor: pointer;
            transition: background-color 0.4s ease;
					border: 1px solid rgba(var(--rgb-white), 0.15);

            &::before {
                content: "";
                width: 16px;
                height: 16px;
                position: absolute;
                left: 2px;
                bottom: 1px;
                background: var(--links);
                border-radius: 50%;
                transition:
                    transform 0.4s ease,
                    background-color 0.3s ease;
            }
        }

        & input:checked + .slider {
            background-color: var(--dark100);

            &::before {
                transform: translateX(19px);
            }
        }

        & input:focus-visible + .slider {
            outline: 1px solid var(--text3);
            outline-offset: 3px;
					box-sizing: border-box;
        }
    }

    .accent-switcher {
        gap: 5px;

        .accent-option {
            width: 20px;
            height: 20px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;

            &[data-color="blue"] {
                --accent-preview: #383658;
            }

            &[data-color="green"] {
                --accent-preview: #405138;
            }

            & input {
                width: 100% !important;
                height: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
                position: absolute;
                inset: 0;
                opacity: 0;
                cursor: pointer;
            }

            .accent-icon {
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--accent-preview);
                border: 1px solid rgba(var(--rgb-white), 0.15);
                border-radius: 50%;
                pointer-events: none;
                transition:
                    transform 0.3s ease,
                    box-shadow 0.3s ease;

                &::before {
                    content: "";
                    width: 5px;
                    height: 9px;
                    margin-top: -3px;
                    border-right: 1.5px solid #fff;
                    border-bottom: 1.5px solid #fff;
                    opacity: 0;
                    transform: rotate(45deg) scale(0.7);
                    transition:
                        opacity 0.25s ease,
                        transform 0.25s ease;
                }
            }

            & input:checked + .accent-icon {
                box-shadow: 0 0 10px var(--accent-preview);

                &::before {
                    opacity: 1;
                    transform: rotate(45deg) scale(1);
                }
            }

            & input:focus-visible + .accent-icon {
                outline: 1px solid var(--text3);
                outline-offset: 3px;
            }

            &:hover .accent-icon {
                transform: scale(1.08);
            }

            &:active .accent-icon {
                transform: scale(0.95);
            }
        }
    }
}

        #chfont {
            box-sizing: border-box;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            text-align: center;

            &::before {
                content: "Шрифт в постах";
            }

            #chfontbut {
                display: none !important;
            }

            & select {
                cursor: pointer;
            }

            #chfontsize {
                width: auto;
                margin-left: 5px;
                display: flex;
                align-items: center;
                gap: 5px;
                font: 300 12px var(--font);

                .fsizeplus,
                .fsizeminus {
                    width: 20px;
                    height: 20px;
                    box-sizing: border-box;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 0;
                    text-align: center;
                    color: var(--text3);
                    background: var(--dark100);
                    border-radius: 5px;
                    cursor: pointer;

                    &::after {
                        content: "";
                        width: 12px;
                        height: 12px;
                        display: block;
                        background: var(--text3);
                        -webkit-mask: var(--size-icon) center / contain no-repeat;
                        mask: var(--size-icon) center / contain no-repeat;
                    }
                }

                .fsizeplus {
                    --size-icon: url(https://forumstatic.ru/files/001c/37/2a/27804.svg);
                }

                .fsizeminus {
                    --size-icon: url(https://forumstatic.ru/files/001c/37/2a/92207.svg);
                }
            }
        }

        .linkcolor-select {
            width: 100%;
            box-sizing: border-box;
            flex-direction: column;
            align-items: stretch;
            border: none !important;

            &::before {
                content: "цвет ссылок";
            }

            .lc-picker {
                width: 100%;
                box-sizing: border-box;
                display: flex;
                gap: 8px;

                .lc-sv,
                .lc-hue {
                    height: 140px;
                    box-sizing: border-box;
                    position: relative;
                    border: 1px solid var(--borders);
                    border-radius: 15px;
                    cursor: pointer;
                    touch-action: none;
                }

                .lc-sv {
                    min-width: 0;
                    flex: 1;
                    cursor: crosshair;

                    &::before,
                    &::after {
                        content: "";
                        position: absolute;
                        inset: 0;
                        border-radius: 15px;
                    }

                    &::before {
                        background: linear-gradient(
                            to right,
                            #fff,
                            rgba(255, 255, 255, 0)
                        );
                    }

                    &::after {
                        background: linear-gradient(
                            to top,
                            #000,
                            rgba(0, 0, 0, 0)
                        );
                    }

                    .lc-sv-cursor {
                        width: 10px;
                        height: 10px;
                        position: absolute;
                        z-index: 2;
                        border: 2px solid #fff;
                        border-radius: 50%;
                        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
                        transform: translate(-50%, -50%);
                        pointer-events: none;
                    }
                }

                .lc-hue {
                    width: 16px;
                    flex: 0 0 16px;
                    background: linear-gradient(
                        to bottom,
                        #ff0000 0%,
                        #ffff00 17%,
                        #00ff00 33%,
                        #00ffff 50%,
                        #0000ff 67%,
                        #ff00ff 83%,
                        #ff0000 100%
                    );

                    .lc-hue-cursor {
                        height: 5px;
                        position: absolute;
                        left: -2px;
                        right: -2px;
                        background: #fff;
                        border: 1px solid rgba(0, 0, 0, 0.45);
                        border-radius: 2px;
                        transform: translateY(-50%);
                        pointer-events: none;
                    }
                }
            }

            .linkcolor-hex-row {
                width: 100%;
                min-width: 0;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                gap: 6px;

                .lc-preview,
                #lcHex,
                .linkcolor-apply {
                    box-sizing: border-box;
                }

                .lc-preview {
                    width: 24px;
                    height: 24px;
                    flex: 0 0 24px;
                    background: #8C3522;
                    border: 1px solid var(--borders);
                    border-radius: 15px;
                }

                #lcHex {
                    width: auto !important;
                    min-width: 0;
                    height: 24px;
                    padding: 0 8px !important;
                    flex: 1 1 auto;
                    font: 400 11px var(--font) !important;
                    color: var(--text1) !important;
                    text-transform: lowercase;
                    background: var(--cover2) !important;
                    border-width: 1px !important;
                    border-style: solid !important;
                    border-color: var(--borders);
                    border-radius: 15px !important;
                }

                .linkcolor-apply {
                    min-height: 24px;
                    padding: 0 10px !important;
                    flex: 0 0 auto;
                    display: flex;
                    align-items: center;
                    font: 700 9px var(--font) !important;
                    color: var(--white, #fff) !important;
                    white-space: nowrap;
                    text-transform: lowercase;
                    background: var(--links) !important;
                    border-radius: 15px !important;
                    cursor: pointer;

                    &:hover {
                        background: var(--accent) !important;
                    }
                }
            }

            .linkcolor-reset {
                font: 400 9px var(--font);
                color: var(--text4);
                text-transform: lowercase;
                text-decoration: underline;
                cursor: pointer;

                &:hover {
                    color: var(--accent);
                }
            }
        }

        .set-brightness {
            flex-direction: column;
            align-items: center;

            &::before {
                content: "яркость";
            }

            .brightness-track {
                width: 100%;
                height: 5px;
                box-sizing: border-box;
                position: relative;
                overflow: hidden;
                background: linear-gradient(
                    to right,
                    rgba(0, 0, 0, 0),
                    rgba(0, 0, 0, 1)
                );
                border-radius: 15px;
                cursor: pointer;

                .brightness-slider {
                    width: 15px;
                    height: 5px;
                    position: absolute;
                    top: -2px;
                    left: 0;
                    z-index: 2;
                    background: var(--links);
                    border: 2px solid var(--links);
                    border-radius: 100px;
                    transform: translateX(-50%);
                    cursor: grab;

                    &:active {
                        cursor: grabbing;
                    }
                }
            }
        }
    }
}

.brightness-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    background: rgba(0, 0, 0, 0.4);
    opacity: var(--brightness-init, 0);
    pointer-events: none;
}

#form-buttons {
	margin-bottom: 0px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
	flex-direction: row-reverse
}

#plng {
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-top: 0px !important;
    padding: 0px !important;
    display: flex;
  align-items: center;
    transition: all 0.3s ease-in-out 0s;
color: #525252;
  text-transform: lowercase;
  white-space: nowrap;
  gap: 5px;
	font-family: var(--font);
}

#plng b {
  font-weight: 600;
  color: var(--text1)
}


#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);
  width: 25px;
}

#form-buttons td:hover {
	color: var(--links);
}

#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 {
	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 {
	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-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-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"
}

#My_replic_meny:before {
	content: "\e2ca"
}

#html-footer, #html-footer .container {
	border: none !important;
}

#pun .post-content .spoiler-box > div {
  background:transparent;
  position: relative;
  font-size: 1.1em
}

#pun .post-content .spoiler-box > div:before {
  content: "";
  background: var(--text1);
  	mask: url(https://forumstatic.ru/files/001b/e6/2e/85967.svg) no-repeat center left;
	-webkit-mask: url(https://forumstatic.ru/files/001b/e6/2e/85967.svg) no-repeat center left;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
  width: 11px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 1px;
  transition: all .5s ease-in-out .15s;
  box-sizing: border-box;
}

#pun .post-content .spoiler-box > div.visible:before {
  transform: rotate(180deg)
}

.punbb span.GamePst,
.punbb strong.GamePst2 {
	padding: 0 !important;
}

/*Стиль для Быстрой смены аккаунтов Deff */
/*Cкрытие формы входа без клика*/
#pun-navlinks a:not(.NextShow)+span.odd {
	display: none !important;
}

#pun-navlinks .container > li {
    position: relative;
}

/*Стиль иконки Выход */
#pun-navlinks #New-exit {
	position: absolute;
	z-index: 9999;
	left: calc(100% + 10px);
	margin-top: 0;
    top: -5px;
    float: none !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
	height: 22px;
	box-sizing: border-box;
}


#pun-navlinks #New-exit:before {
    display: none
}


#pun-navlinks #navprofile+#navlogout #New-exit {
	/*Пиар*/
	margin-left: 230px;
}

#pun-navlinks #New-exit img {
	width: 14px !important;
	height: auto;
	display: block;
	opacity: .8;
}

/*Стиль формы входа*/
#pun-navlinks #form-login {
	position: absolute;
	margin-top: 13px;
	z-index: 9999 !important;
	font-family: var(--font);
	font-weight: normal;
	line-height: normal !important;
	color: var(--text1);
	font-size: 11px;
	padding: 20px 12px;
	background: var(--pun);
	border: 1px solid var(--borders);
	text-align: center;
	border-radius: 15px
}

#pun-navlinks #navlogout #form-login {
	margin-left: -190px;
	/*Подвижки формы влево от выход*/
}

#navprofile+#navlogout #form-login {
	/*Пиар*/
	margin-left: 80px;
}

#navpm+#navlogout #form-login {
	/*Подвижка формы для НеАдмина! */
	margin-left: -99px;
}

#pun-navlinks #navlogin #form-login {
	margin-left: -36px;
	/*Подвижки формы влево от вход*/
}

/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */
#pun-navlinks #form-login .Rega,
#pun-navlinks #form-login .Forgot {
	font-size: 10px !important;
    display: block;
    text-align: center;
	color: var(--text1) !important;
}

#pun-navlinks #form-login .Rega {
    margin-top: 10px
}

/* Помечаем красным незаполненные поля!*/
#form-login input.none {
	outline: red dashed 2px !important;
}

#form-login div:not(#List-UserNames) input {
	margin-bottom: 9px !important;
	padding: 3px !important;
}

/* кнопка просмотра пароля */
.punbb #form-login input[type="checkbox"]#check {
	display: none;
	/*Отключил-не понравилась*/
}

#List-UserNames {
	position: absolute;
	margin-top: -20px;
	min-height: 109px;
	width: 220px;
	right: 100%;
	text-shadow: none;
	padding: 20px 19px 12px 20px;
	text-align: center;
	background: var(--pun);
	border: 1px solid var(--borders);
	margin-right: 10px;
	border-radius: 10px
}

#form-login>span {
	margin-bottom: 10px !important;
	display: block;
}

.punbb #List-UserNames li {
	position: relative;
	background: var(--accent2);
	border-radius: 0;
	text-align: left;
	font: normal normal 300 10px/normal var(--font) !important;
	margin: 1px auto !important;
	padding: 0 5px;
	transition: .33s;
	color: va(--text1);
	display: flex !important;
	justify-content: space-between;
	align-items: center
}

.punbb #List-UserNames li:hover {
	opacity: .98;
	background: var(--cover) !important;
}

.punbb #List-UserNames li>b {
	cursor: pointer;
	flex: 1
}

.punbb #List-UserNames li>b:hover {
	opacity: .93;
}

#List-UserNames ul {
	overflow: hidden;
	overflow-y: auto;
	min-height: 25px;
	max-height: 175px;
	text-align: left;
	font-family: var(--font);
	padding: 0 !important;
	text-shadow: none !important;
	font-size: 10px;
	align-items: flex-start !important;
	justify-content: flex-start;
	flex-direction: column;
	gap: 0px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
height: auto
}

#List-UserNames ul li {
	flex: auto;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
}

#List-UserNames ul li>span {
	display: inline-block;
	padding: 4px 3px;
	opacity: .88;
	cursor: pointer;
	font: normal normal 700 11px/normal var(--font);
}

/*Текст при отсутствии запомненных Ников!*/
#List-UserNames ul:empty::before {
	display: inline-block;
	text-align: center;
	content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"
}

#navlogin #exit-2 {
	display: none;
}

#navlogout .Rega,
#navlogout .Forgot {
	display: none;
}

.punbb #List-UserNames input {
	display: inline-block;
	background: var(--pun);
	border: 1px solid var(--borders);
	color: var(--text1) !important;
	margin-top: 9px;
	padding: 4px !important;
	vertical-align: middle;
	box-sizing: border-box
}

#List-UserNames ul+span {
	display: inline-block;
	padding: 6px 0 8px 0;
	text-align: left;
	font: normal normal 400 10.56px/normal var(--font);
    margin-top: 10px
}

#List-UserNames ul+span b {
	font: normal normal 400 13px/normal var(--font);
	padding: 0 3px;
	color: var(--text1);
}

#List-UserNames .a1-paste {
	cursor: pointer;
	display: inline-block !important;
	float: right;
}

#List-UserNames .a1-copy {
	display: inline-block !important;
	cursor: pointer;
	float: left;
}

.tipsy.a11 {
	margin-top: -22px !important;
	margin-left: 85px !important;
	max-width: 170px;
}

/*********************************
  //END Стиль к Быстрой смене Ников!
*********************************/

/* список ролей */

.list5b { margin: 0; padding: 0; color: var(--special-border-color);}
body.post-content .list5b li {border-radius: 18px; padding-left: 0; margin-bottom: 5px !important;}
.list5b li::before { display: none;}
body.post-content .list5b table { width: 100%; margin: 0; text-align: left;}
body.post-content .list5b tbody { display: block;}
body.post-content .list5b tr { display: flex; width: calc(100% - 2px); border: 1px solid var(--borders); border-radius: 18px;}
body.post-content .list5b td { vertical-align: top; border: none !important; transition: .3s all ease-in-out;}
body.post-content .list5b td:first-child { width: 40%; background: var(--cover-link); text-align: right; border-radius: 18px 0 0 18px;}
body.post-content .list5b td:last-child { width: 60%; background: var(--p-bg); border-radius: 0 18px 18px 0;}
body.post-content .list5b tr:hover td:first-child { filter: brightness(1.1);}
body.post-content .list5b tr:hover td:last-child { filter: brightness(1.1);}
.fandom_eng {font-family: 'kingdom'; font-size: 18px; text-transform: uppercase; font-weight: 700; color: rgba(0, 0, 0, 1);}
.fandom_rus {font-family: 'tahoma', serif; text-transform: lowercase;}
.list5b a { font-weight: 700;}

/* нужные */

.topic .post.topicpost .charlist { padding: 35px 0 0; flex-wrap: wrap; justify-content: space-between;}
.topic .post.topicpost .charlist ul {background: var(--body-color);  border: 1px solid var(--borders); margin: 0 0 4px; border-radius: 8px; }
.topic .post.topicpost .charlist ul .charlist_title {background: var(--outline-color); font-family: 'Tokyo Dreams'; font-size: 12px; font-weight: 700;  text-align: center; border: 1px solid var(--special-border-color); border-radius: 15px; padding: 1px 5px 2px;}
.topic .post.topicpost .charlist ul .charlist_title::before {
    display: none;
}
.post-content .nm, .post-content .fd {
  display: none;
}

.section.online-list {
	margin-top: 0px;
  padding: 0 10px
}

#notify-link .unreads, #navpm .unreads {
	top: 0 !important;
}

/*Размытие на зачеркнутый текст*/
del {
    filter: blur(3px);
    text-decoration: none;
    transition:.33s;
}
del:hover {
    filter: initial;
    transition:.63s;
}

#pre_placement > a {
	top: 0 !important;
}

.areafield.required>.input>span[style~="position:absolute;right:10px;top:10px;z-index:200;cursor:pointer"] {
	top: 40px !important;
	right: -40px !important;
}

/* гостевая */

#guestbook_wrap {
  background: var(--cover);
  border: 1px solid var(--borders);
  padding: 16px;
  border-radius: 15px;
  font: 300 10px/140% var(--font);
  display: flex;
  flex-direction: column;
  /* цвета статусов брони (их читает скрипт гостевой) */
  --cf-role-success-color: var(--links);
  --cf-role-success-border: color-mix(in srgb, var(--links) 35%, transparent);
  --cf-role-success-bg: color-mix(in srgb, var(--links) 10%, transparent);
}

#guestbook_wrap b {
  font-weight: 600
}

#guestbook_wrap p {
  padding: 0 !important;
  margin-top: 0;
}

#guestbook_wrap p  + p {
  margin-top: 10px !important;
}

.guestbook--header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
  text-transform: uppercase;
}

.guestbook--header span {
  text-transform: uppercase;
  color: var(--links);
  font: 500 36px var(--font2)
}

.guestbook--links {
  display: flex;
  gap: 5px;
}

.guestbook--links a {
  background: var(--links);
  color: var(--white) !important;
  font: 500 9px var(--font2);
  padding: 5px 20px;
  border-radius: 15px;
  transition: all .4s linear 0s !important;
}

.guestbook--links a:hover {
  background: var(--accent);
}

.guestbook--main {
  display: flex;
  gap: 20px;
}

.guestbook--desc {
  flex: 1;
}

.guestbook--need {
  background:
    var(--base-overlay2) repeat top left / auto,
    var(--base-overlay1) repeat top left / auto,
    var(--base-bg) no-repeat center center / cover;
  background-blend-mode: overlay, overlay, normal;
  color: var(--white);
  border-radius: 10px;
  width: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0px;
}

.guestbook--need span {
  background: rgba(var(--opacity-bg1), .15);
	border-radius: 50px;
	padding: 3px 10px 5px;
	text-transform: lowercase;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
  font: 300 10px var(--font2);
  margin-bottom: 5px !important;
}

.guestbook--need-list {
  display: flex;
  gap: 5px;
  padding: 0 !important;
  list-style: none;
  line-height: 0;
}

.guestbook--need-list a {
  display: block;
  padding: 5px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.guestbook--need-list img {
  height: 40px;
  width: 40px;
  border-radius: 5px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: .65;
  transition: all .3s linear 0s !important;
}

.guestbook--need-list img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.guestbook--claims {
  background: var(--cover);
  border: 1px solid var(--borders);
  padding: 16px;
  border-radius: 15px;
  font: 300 10px/140% var(--font);
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
}

.guestbook--claims b {
  font-weight: 600
}

.guestbook--claims-title {
  display: flex;
  gap: 5px;
  width: 100%;
}

.guestbook--claims-title b {
  text-transform: uppercase;
}

.guestbook--claims-title > b {
  font-size: 11px
}

.guestbook--claims-item {
  flex: 1;
  background: var(--cover2);
  border-radius: 10px;
  padding: 15px 15px;
}

.guestbook--claims-item span {
  color: var(--links);
  text-transform: uppercase;
  font: 500 10px var(--font2);
  margin-bottom: 10px !important;
  display: block;
}

.guestbook--claims-list {
  padding: 0 !important;
  list-style: none;
  gap: 4px;
  line-height: 120%;
  display: flex;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 10px;
  flex-direction: column;
}

.claim-date {
  font-weight: 600
}

li + .claim-date {
  margin-top: 10px
}

/* мобилка гостевой */

@media (max-width: 760px) {
  #guestbook_wrap {
    padding: 14px;
  }

  /* Заголовок, затем ссылки */
  #guestbook_wrap .guestbook--header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  #guestbook_wrap .guestbook--header > span {
    width: 100%;
    font-size: clamp(30px, 10vw, 36px);
    line-height: 1;
  }

  #guestbook_wrap .guestbook--links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
  }

  #guestbook_wrap .guestbook--links a {
    display: flex;
    min-width: 0;
    min-height: 24px;
    padding: 3px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
  }

  /* Нужные персонажи, затем описание */
  #guestbook_wrap .guestbook--main {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  #guestbook_wrap .guestbook--need {
    box-sizing: border-box;
    order: 1;
    width: 100%;
    min-height: 130px;
    padding: 12px 10px;
  }

  #guestbook_wrap .guestbook--desc {
    order: 2;
    width: 100%;
  }

  #guestbook_wrap .guestbook--need-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  #guestbook_wrap .guestbook--need-list img {
    width: 40px;
    height: 40px;
  }

  /* Брони складываются в три строки */
  .guestbook--claims {
    box-sizing: border-box;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    overflow: hidden;
  }

  .guestbook--claims-title {
    flex-direction: column;
    gap: 2px;
    margin-bottom: 5px;
  }

  .guestbook--claims-item {
    box-sizing: border-box;
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
  }

  .guestbook--claims-list {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-height: 230px;
    overflow-x: hidden;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  #guestbook_wrap,
  .guestbook--claims {
    padding: 10px;
  }

  #guestbook_wrap .guestbook--header > span {
    font-size: 29px;
  }

  #guestbook_wrap .guestbook--links {
    grid-template-columns: 1fr;
  }

  #guestbook_wrap .guestbook--links a {
    min-height: 24px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  #guestbook_wrap .guestbook--need {
    min-height: 120px;
    padding: 10px 8px;
  }

  #guestbook_wrap .guestbook--need-list {
    gap: 3px;
  }

  #guestbook_wrap .guestbook--need-list a {
    padding: 3px;
  }

  #guestbook_wrap .guestbook--need-list img {
    width: 38px;
    height: 38px;
  }
}

/* брони */

.cf-add-booking-wrap {
  margin: 10px 0 2px;
  text-align: right;
}

.cf-add-booking-btn {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: 600 10px/1.2 var(--font2), Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .72;
}

.cf-add-booking-btn:hover {
  opacity: 1;
}

.cf-add-booking-btn:disabled {
  cursor: wait;
  opacity: .4;
}

.cf-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(var(--rgb-black), .72);
}

.cf-booking-modal__box {
  width: min(680px, 100%);
  max-height: 85vh;
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--pun-border-in);
  border-radius: 14px;
  background: var(--pun);
  color: var(--text1);
  box-shadow: 0 20px 70px rgba(var(--rgb-black), .45);
  font: 13px/1.55 var(--font), Arial, sans-serif;
}

.cf-booking-modal h3 {
  margin: 0 0 12px;
  color: var(--text1);
  font-size: 17px;
  text-transform: uppercase;
}

.cf-booking-modal pre {
  overflow: auto;
  margin: 15px 0;
  padding: 15px;
  border: 1px solid var(--borders);
  border-radius: 8px;
  background: var(--cover2);
  color: var(--text1);
  white-space: pre-wrap;
}

.cf-booking-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cf-booking-modal button {
  padding: 8px 13px;
  border: 1px solid var(--borders);
  border-radius: 7px;
  background: transparent;
  color: var(--text1);
  cursor: pointer;
}

.cf-booking-modal button[data-confirm] {
  border-color: var(--links);
  background: var(--links);
  color: var(--white);
  font-weight: 700;
}

#forum_f37 {
	position: relative;
	z-index: 8;
	padding: 10px 0 15px !important;
	background: transparent;
	border: none;

	& h3,
	& td.tcr {
		display: none !important;
	}

	& .tclcon,
	& .tcl {
		position: relative;
		width: 100% !important;
		padding: 0 !important;
		border: none !important;
	}

	& .icon {
		display: none !important;
	}

	& .tcl {
		padding: 0 !important;
		background: transparent !important;
	}
}

 .we_need-wrapper {
     width: 100%;
     display: flex;
     flex-direction: column;
     font: 400 11px/150% var(--font);
	 padding: 0px 0px;
	 box-sizing: border-box;
	 margin: 10px 0 15px;
}

 .we_need-wrapper h5 {
     text-align: center;
     font: normal 10px var(--font2);
     color: var(--text2);
     padding: 0px 10px 8px;
     text-transform: uppercase;
	 letter-spacing: .2em
}

 .slider-container {
     position: relative;
     overflow: hidden;
     width: 100%;
     display: flex;
     gap: 0px;
     justify-content: space-between;
     box-sizing: border-box;
}

 .slider-track-wrapper {
     overflow: hidden;
     padding: 0px 0;
     flex: 1;
     max-width: 100%;
     box-sizing: border-box;
     position: relative;
	 margin: 0 5px
}

 .slider-track {
     display: flex;
     transition: transform 0.5s ease-in-out;
     gap: 5px;
     width: max-content;
}

 .slider-item {
     flex: 0 0 auto;
     min-width: 238px;
     max-width: 238px;
     margin: 0;
     overflow: hidden;
     transition: background 0.3s ease, border 0.3s ease;
     position: relative;
     display: flex;
     height: 100px;
     padding: 10px;
     box-sizing: border-box;
     gap: 10px;
	 background: var(--cover2);
	 border-radius: 15px;
	 border: 1px solid var(--cover2)
}

 .slider-item:hover {
	 background: var(--cover);
	 border: 1px solid var(--borders);
}

 .slider-item img {
     width: 80px;
     height: 100%;
     object-fit: cover;
     display: block;
     border-radius: 10px;
}

 .slider-content {
     flex: 1;
     display: flex;
     flex-direction: column;
     gap: 5px;
     align-items: flex-start;
     color: var(--text1) 
}

 #pun .tclcon .slider-content h3 {
     display: block !important;
     text-transform: uppercase !important;
}

 #pun .tclcon .slider-content h3 a {
     font-size: 11px;
     font-weight: 700;
     color: var(--text3);
	 background: var(--links);
	 padding: 3px 10px;
	 border-radius: 10px;
     transition: all .3s linear 0s !important;
	 display: block
}

 #pun .tclcon .slider-content h3 a:hover {
     color: var(--text4);
}

 .slider-content p {
     font-size: 10px;
     line-height: 1.3;
     box-sizing: border-box;
     height: 100%;
     flex: 1;
     min-height: 0;
     overflow-y: auto;
     padding-right: 10px !important;
}

 .slider-container .btn {
     width: 30px;
     background: var(--cover3);
     color: var(--text1);
     font-size: 10px;
     cursor: pointer;
     display: flex !important;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     z-index: 10;
	 height: 30px;
	 align-self: center;
	 border-radius: 100%;
	 box-shadow: 0 1px 2px 0 rgba(var(--rgb-black), 0.05), 0 4px 4px 0 rgba(var(--rgb-black), 0.04), 0 8px 5px 0 rgba(var(--rgb-black), 0.03), 0 15px 6px 0 rgba(var(--rgb-black), 0.01), 0 23px 6px 0 rgba(var(--rgb-black), 0);
}

 .slider-container .btn-prev:hover {
     color: var(--links);
	 background: var(--cover2)
}

 .slider-container .btn-next:hover {
     color: var(--links);
	 background: var(--cover2)
}


#pun #notify-link a,
#pun #navpm,
#pun #navpm a {
    display: flex;
    align-items: center;
    gap: 5px;
	height: 25px;
}
#pun #notify-link .unreads,
#pun #navpm .unreads,
#pun #navpm .num_msg {
  position: relative;
  top:0;
  right:0;
  height: auto;
  min-width:auto;
  padding:0 5px;
  border-radius:0;
  font:500 10px var(--font),Verdana !important;
  line-height:inherit;
  color:var(--text3);
  background:var(--accent);
  box-shadow: none;
  text-shadow:none;
  margin: 0 !important;
	min-height: 0;
	height: 100%;
	display: flex;
	align-items: center;
	margin-left: -5px !important
}

#pun .num_msg:before {
	display: none
}

/*****************
Стиль "Тихой Цитаты"
*****************/
.quiet-quote{
  position:relative;
  display: table;
  margin: 4px 15px 0px 19px!important; /*Отступы*/
  font-style: italic;
  font-size: 11px;
  color: #695f5f;
  /*text-align:justify;
  border:red solid 1px;*/
}
.quiet-quote>p{
  line-height:normal!important;
}
.quiet-quote:before, /*Шрифт, Цвет, Размер иконок*/
.quiet-quote:after{
  font-size: 17px;
  display: inline-block;
  position:absolute;
  z-index:99;
  font-weight: 900;
  color: #695f5f; /*Цвет Кавычек*/
  font-family:System, Arial, sans-serif;
}
.quiet-quote:before{
  content: "\201C";  /*Код левой кавычки к Тихой цитате*/
  left:-13px;
  top:5px;
}
/* Cкрыл Правую кавычку
.quiet-quote:after{
  content: "\201D";  */  /*Код правой кавычки к Тихой цитате*/
  right: -15px;
  bottom: -20px;
}
/*************************
/END//Стиль "Тихой Цитаты"
*************************/

.notification-type-toggle:first-of-type {
margin-right: 15px !important;
}

.notification-type-toggle + .notification-type-toggle {
  margin-left: 15px !important;
}

.container li.item10 {
    order: 10;
}

.footer_wrapper {
	display: flex;
	gap: 5px;
	margin: 20px 0 0;
	height: 130px;
}

.footer-img {
	background:var(--footer);
	box-shadow: var(--header-sdw);
	height: 130px;
	border-radius: 20px;
	width: 440px;
	border: 1px solid var(--pun-border-in);
	box-sizing: border-box;
}

#partners-banners {
	height: 130px;
	flex: 1;
	box-sizing: border-box;
	margin: 0px;
	padding: 10px !important;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--opacity-bg2),.1);
	border: 1px solid var(--pun-border-out) !important;
	border-radius: 20px;
}

#nc-banners {
	position: relative;
	padding: 0;
	height: 100%;
	box-sizing: border-box;
	width: 460px;
	display: flex;
	align-items: center;
	justify-content: center
}


.nc-banners-track{
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	height: 98px;
	overflow-y: auto;
	justify-content: flex-start;
	line-height: 0;
}

.nc-banners-track img {
	width: 88px;
	height: 31px;
	object-fit: contain;
	border-radius: 5px;
	opacity: .7;
	transition: all .4s linear 0s
}

.nc-banners-track img:hover {
	opacity: 1;
}

#header_wrapper {
    height: 300px;
    margin: 53px 0 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    color: var(--text3);
    font: 400 11px/120% var(--font2);

    & a {
        color: var(--text3);

        &:hover {
            color: var(--text4);
        }
    }

    .header-inner {
        height: 300px;
        padding: 120px 80px 40px;
        position: relative;
        box-sizing: border-box;
        background: var(--header);
        box-shadow: var(--header-sdw);
        border-radius: 15px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 280px));
        grid-template-rows: auto auto;
        grid-template-areas:
            "writers duet"
            "writers episode";
        justify-content: start;
        align-content: center;
        align-items: center;
        gap: 30px 0;
    }

    .header_item {
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
        position: relative;
        display: flex;
        flex-direction: column;

        & a {
            font-weight: 600;
        }

        .header-title {
            margin: 0;
            padding: 2px 15px 4px;
            position: absolute;
            align-self: flex-start;
            font: 200 10px/100% var(--font2);
            letter-spacing: 0.03em;
            text-transform: lowercase;
            background: var(--dark100);
            border: 1px solid rgba(var(--rgb-white), 0.1);
            border-radius: 15px;
        }

        & p {
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;

            & a {
                display: inline-flex;
                align-items: center;
                max-width: 100%;
                padding: 3px 10px;
                box-sizing: border-box;
                font-size: 12px;
                font-weight: 500;
                text-transform: lowercase;
                background: rgba(var(--opacity-bg2), 0.2);
                border: 1px solid rgba(var(--rgb-white), 0.1);
                border-radius: 15px;
                -webkit-backdrop-filter: blur(25px);
                backdrop-filter: blur(25px);
            }
        }

        &.hi-writers {
            grid-area: writers;

            .header-title {
                top: -17px;
                left: 30px;
                transform: rotate(2deg);
                z-index: 1;
                pointer-events: none;
            }

            & a {
                gap: 5px;
                padding-right: 3px;

                &::after {
                    content: attr(data-posts);
                    width: 15px;
                    height: 15px;
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 9px;
                    font-weight: 200;
                    color: var(--text3);
                    background: var(--dark100);
                    border-radius: 100%;
                }
            }
        }

        &.hi-duet {
            grid-area: duet;
            justify-self: flex-end;
            width: max-content;
            max-width: 100%;

            .header-title {
                bottom: -17px;
                right: 30px;
                transform: rotate(-2deg);
                z-index: 1;
                pointer-events: none;
            }

            & p {
                align-items: center;
                justify-content: center;
            }
        }

        &.hi-episode {
            grid-area: episode;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 0;

            .header-title {
                position: static;
                align-self: center;
                flex-shrink: 0;
                margin-right: -20px;
                white-space: nowrap;
                z-index: 1;
                pointer-events: none;
            }

            & p {
                width: auto;
                min-width: 0;
                flex: 0 1 auto;
                flex-wrap: nowrap;
                align-items: center;
                justify-content: center;

                & a {
                    display: block;
                    min-width: 0;
                    max-width: 220px;
                    padding-left: 25px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }

        &.hi-bestpost {
            width: 340px;
            padding: 10px 15px 25px;
            position: absolute;
            bottom: -10px;
            right: 40px;
            gap: 5px;
            background: rgba(var(--opacity-bg2), 0.2);
            border: 1px solid rgba(var(--rgb-white), 0.1);
            border-bottom: none;
            border-radius: 15px 15px 0 0;
            -webkit-backdrop-filter: blur(25px);
            backdrop-filter: blur(25px);
            transform: rotate(2deg);

            .header-title {
                top: -15px;
                right: 30px;
                z-index: 1;
            }

            & a {
                font-weight: 700;
            }

            & p {
                display: block;
                max-height: 80px;
                overflow: auto;
                padding-right: 10px;
                font: 400 11px/150% var(--font);
            }
        }
    }
}

@media print {
  .hi-bestpost p { overflow: visible !important; max-height: none !important; }
}

.header_banners-wrapper {
    max-width: 556px;
    padding: 0;
    position: absolute;
    left: 80px;
    bottom: 35px;
    z-index: 1;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 15px;

    & div {
        width: 100%;
        display: flex;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x proximity;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);

        &::-webkit-scrollbar {
            display: none;
        }
    }

    & span {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    & a {
        display: inline-block;
        padding: 5px 15px 4px;
        font-size: 9px;
        white-space: nowrap;
        text-decoration: none;
        text-transform: uppercase;
        color: var(--text3) !important;
        background: rgba(var(--opacity-bg1), 0.1);
        border: 1px solid rgba(var(--rgb-white), 0.07);
        border-radius: 15px;
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        will-change: transform;
        transition:
            transform 0.15s ease,
            background 0.25s ease,
            box-shadow 0.25s ease,
            color 0.25s ease,
            opacity 0.25s ease !important;

        &:hover {
            opacity: 1;
            background: var(--accent);
        }
    }

    .ad_d2 a {
        background: rgba(var(--opacity-bg2), 0.14);
    }

    &:hover {
        & a:not(:hover) {
            opacity: 0.65;
        }

        & + .header_banners-title {
            opacity: 1;
            left: 20px;
            bottom: 0;
        }
    }
}

.header_banners-title {
    width: auto;
    height: auto;
    padding: 7px 20px;
    position: absolute;
    left: 20px;
    bottom: -20px;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text3);
    background: var(--dark300);
    border-radius: 15px 15px 0 0;
    opacity: 0;
    transition:
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;

    & img {
        height: 12px;
        filter: brightness(1.5);
    }
}

#pun .view-dialog .fs-box > .container, #pun .view-search .fs-box > .container, #pun .view-bookmarks .fs-box > .container {
	padding-right: 10px !important;
}

.is-gecko .punbb .post .post-author {
    position: relative;
    top: auto;
    left: auto;
}

body[data-accent="green"] {
	--base-bg: #405138 url(https://forumstatic.ru/files/001c/11/e3/62302.webp);

	--header: url(https://forumstatic.ru/files/001c/11/e3/84506.webp);
--header-sdw: 0 0 1px 0 rgba(173, 117, 103, 0.72), 0 0 1px 0 rgba(173, 117, 103, 0.43), 0 0 1px 0 rgba(173, 117, 103, 0.13), 0 0 1px 0 rgba(173, 117, 103, 0.02);

	--dark100: #334B3C;
--dark300: #282C26;
--dark500: #4C4C4C;

--pun-img: url(https://forumstatic.ru/files/001c/11/e3/52296.webp);
        --pun: linear-gradient(180deg, #d3cab2 0%, #ece3d1 30.29%);
--pun-sdw: 0 11px 24px 0 rgba(87, 96, 41, 0.2), 0 44px 44px 0 rgba(87, 96, 41, 0.17), 0 99px 59px 0 rgba(87, 96, 41, 0.1), 0 176px 70px 0 rgba(87, 96, 41, 0.03), 0 275px 77px 0 rgba(87, 96, 41, 0);
--pun-border-out: rgba(255, 243, 153, 0.2);
--pun-border-in: #C2B7A3;

--footer: url(https://forumstatic.ru/files/001c/11/e3/67978.webp);

	--opacity-bg1:183, 237, 169;
	--opacity-bg2:137, 102, 67;

	--links: #367860;
--accent: #334B3C;
--white: #FDF1EA;

        --cover: #E3D9C4;
        --cover2: #D9CBB8;
--cover3: #ECDAD1;
	--borders: #CEC4AD;

--forum-img1: url(https://forumstatic.ru/files/0015/e5/b7/82832.webp);
--forum-img2: url(https://forumstatic.ru/files/0015/e5/b7/67406.webp);
--forum-img3: url(https://forumstatic.ru/files/0015/e5/b7/59846.webp);
--forum-img4: url(https://forumstatic.ru/files/0015/e5/b7/48651.webp);
--forum-img5: url(https://forumstatic.ru/files/0015/e5/b7/50435.webp);
}

body[data-accent="green"] #pun-navlinks:after {
	background: #878943
}

body.dark[data-accent="blue"] {

	--dark100: #494268;
--dark300: #252530;
--dark500: #4C4C4C;

        --pun: linear-gradient(180deg, #292236 0%, #282233 30.29%);
--pun-border-in: #4D4652;

	--text1: #EDDCD3;
        --text2: #9A8D86; /*light*/
--text3: #EDDCD3;
--text4: #F8C0A3;
	--links: #935661;
--accent: #594f84;
--white: #FDF1EA;

        --cover: #2F283B;
        --cover2: #2D2537;
--cover3: #453E52;
	--borders: #3D3A47;
}

body.dark[data-accent="green"] {
	--dark100: #334B3C;
--dark300: #1B2521;
--dark500: #4C4C4C;

        --pun: linear-gradient(180deg, #1b2623 0%, #20302a 30.29%);
--pun-border-in: #2F473E;

        --cover: #232D2B;
        --cover2: #1B2521;
--cover3: #2A3D36;
	--borders: #2C4139;

	--text1: #EDDCD3;
        --text2: #9A8D86; /*light*/
--text3: #EDDCD3;
--text4: #F8C0A3;
	--links: #437560;
--accent: #727937;
--white: #FDF1EA;
}

body.dark {
--sticker-bg1: url(https://forumstatic.ru/files/0015/e5/b7/69618.png);
--sticker-bg2: url(https://forumstatic.ru/files/0015/e5/b7/80957.png);
}