/*************************************************************
 - SETUP
**************************************************************/
/* A1 Import the colour scheme
-------------------------------------------------------------*/
/* A1.1 */
@import url(style_cs.1747059925.css);
@import url('https://fonts.googleapis.com/css2?family=Romanesco&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');



* {
  text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
    --black: #000000;
    --body: #a5bba0;
    --line: #475e43;
    --link: #537c4e;
    --link_lg: #c9c9c9;
    --pun_before: #030801;
    --button: #0a0f09;
    --forum_h: #96af94;
    --forum_ha: #263526;
    --podforum_a: #263527;
    --podforum_ha: #8b908c;
    --up: #273527;
    --mat: #273526;
    --q_box: #c9c9c9;
    --online: #567b52;
    --bg_nav: #0a1009;
    --nav_col: #adb6aa;
    --nav_ha: #31422f;
    --bg_pla: #9ea79b;
    --body_1: rgb(0 0 0 / 65%);
    --select: rgb(69 94 67 / 50%);
    --bg: url(https://forumupload.ru/uploads/001c/6e/ce/2/303565.jpg) no-repeat fixed top center / cover;
    --heder: url(https://forumupload.ru/uploads/001c/1e/c3/2/30753.jpg) no-repeat top center;
    --cat: url(https://forumupload.ru/uploads/001c/1e/c3/2/196479.jpg) no-repeat;
    --gradient: linear-gradient(180deg, rgb(200 200 200) 0%, rgb(166 174 164) 100%);
    --gradient2: linear-gradient(180deg, transparent 0%, rgb(166 174 164) 100%);
    --brdrimgpl: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #577c4e, rgba(255, 255, 255, 0) 100%) 1;

}

:root .night {
    --body: #030a03;
    --text: #8d948c;
    --forum_h: #0d160b;
    --podforum_a: #8d948c;
    --podforum_ha: #43593f;
    --mat: #4d6447;
    --gradient: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgb(21 29 21) 100%);
    --gradient2: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, transparent 100%);
    --q_box: #182218;
    --bg_pla: #181d15;
}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #475e43 #000;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--black);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--line);
  border: none;
  border-radius: 5px;
}

/* скрыть ненужное */
.punbb .modmenu .container span, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, #pun-navlinks .container li#navawards, #pun-status .status-right, li.pa-gifts, #pun-viewtopic li.pa-gifts, #pun .modlist, .closedatafield, .stickytext, .reactions-root, #s-block {
  display: none !important;
}

/* цвета выделения текста */
::-moz-selection {
  background: var(--select);
  color: var(--black);
}
::selection {
  background: var(--select);
  color: var(--black);
}

::-moz-selection {
  background: var(--select);
  color: var(--black);
}

::-webkit-selection {
  background: var(--select);
  color: var(--black);
}

.lastedit {
  display: none;
}

abbr {
  border-bottom: dotted 1px;
}

del {
filter: blur(2px);
    text-decoration: none;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

del:hover {
filter: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-content hr {
  border: none;
  width: 100%;
  background: var(--line);
  height: 1px;
}

#volSlider {
  box-shadow: inset 0 0 4px #607d8b !important;
  border: solid 1px var(--line) !important;
  background: var(--forum_h) !important;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/
/* A2.1 */
html, body {
  margin: 0;
  padding: 0;
}

/* A2.2 */
.punbb * {
  margin: 0;
}

/* 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;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type=checkbox], input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
  }
}
input[type=checkbox] {
  box-shadow: 0 0 0 1px var(--line) inset;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=radio] {
  box-shadow: 0 0 0 1px var(--line) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=checkbox]:checked, input[type=radio]:checked {
  background: var(--forum_h);
  box-shadow: 0 0 0 4px var(--line) inset;
}

/* A2.7 */
p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: auto;
  vertical-align: middle;
}

input[type=submit], input[type=button] {
  background: var(--forum_h) !important;
  color: var(--text) !important;
  outline: none;
  padding: 3px 10px;
  font-size: 12px !important;
  border: solid 1px var(--line) !important;
  border-radius: 10px;
  text-transform: lowercase;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  font-family: "Roboto" !important;
  transition: all 0.3s linear 0s;
}

input[type=submit]:hover, input[type=button]:hover {
  color: var(--link_lg) !important;
  outline: none;
  background: var(--forum_ha) !important;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

input[type=text], input[type=password], input[type=number], .punbb select {
  background: var(--forum_h);
  outline: none;
  color: var(--text);
  border: solid 1px var(--line);
  border-radius: 10px;
}

#pun-index thead, #pun-viewforum thead, #pun-online thead, #pun-userlist thead, #pun-searchtopics thead, #pun-respect thead {
  display: none;
}

#pun-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
  display: none;
}

/* A3 Text setup
-------------------------------------------------------------*/
/* A3.1 */
body {
  font-size: 100.01%;
}

/* A3.2 */
.punbb {
  font: normal 75% Roboto, verdana, arial, helvetica, sans-serif;
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em Roboto, arial, helvetica, sans-serif!important;
}

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 13px;
}

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% 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-weight: 400;
}

/* A3.9 */
.punbb .post-content em.bbuline {
    font-style: normal;
    text-decoration: underline;
}

/* A3.10 */
.punbb a {
  text-decoration: none;
}

/* 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 .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks 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;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
body {
  background: var(--bg);
  background-size: cover;
}

#pun {
  margin: 0 auto;
  width: 1170px;
  position: relative;
  margin-top: 60px;
  margin-bottom: 10px;
  padding: 270px 0 75px;
  border-radius: 20px;
  border: solid 1px var(--line);
}

#pun:before {
  content: "";
  width: 1170px;
  height: 100%;
  background: var(--heder), var(--pun_before);
  display: block;
  position: absolute;
  border-radius: 20px;
  top: 0;
  z-index: -1;
}

body {
  padding: 50px 0;
}

/* A5.2 */
.punbb {
  width: 1100px;
  height: auto;
  margin: 0 auto;
}

.punbb {
  box-sizing: border-box;
  background: var(--body);
  border-radius: 10px;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

/* A5.5 */
.punbb .post {
  margin-top: 1.4em;
}

#pun-searchposts .post {
  margin-top: 0;
}

/* A5.6 */
.punbb .toppost, .punbb .topicpost {
  margin-top: 0;
}

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
}

.punbb #pun-category1 {
  margin-top: 2em;
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: solid 1px rgba(67, 87, 94, 0.4901960784);
  width: 250px;
  margin: 5px auto 15px;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
}

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  text-align: justify;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.5em 0.7em 0.7em 0.7em;
  border: solid 1px var(--line);
  background: var(--body);
  border-radius: 10px;
}

.punbb .post-content .quote-box cite:before, .punbb .post-content .quote-box cite:after, .punbb .code-box strong.legend:before, .punbb .code-box strong.legend:after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--line);
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 10px;
  font: 500 12px Roboto;
}

.post-content .spoiler-box > div {
  background: url(http://forumstatic.ru/files/001b/c1/d6/94962.svg) no-repeat left center !important;
  background-size: 13px !important;
  margin: 10px;
}

.night .post-content .spoiler-box > div {
  background: url(http://forumstatic.ru/files/001b/c1/d6/39147.svg) no-repeat left center !important;
  background-size: 13px !important;
}

.post-content .spoiler-box > div.visible {
  background-image: url("http://forumstatic.ru/files/001b/c1/d6/28594.svg") !important;
  background-size: 13px !important;
  margin-bottom: 0;
}

.night .post-content .spoiler-box > div.visible {
  background-image: url("http://forumstatic.ru/files/001b/c1/d6/84603.svg") !important;
  background-size: 13px !important;
}

.quote-box p:last-of-type, blockquote p:last-of-type, .post-content p:last-of-type {
  padding-bottom: 0;
}

/* B2 Information boxes
-------------------------------------------------------------*/
/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: none;
  margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}

/* B3 Pagination and posting links
-------------------------------------------------------------*/
/* B3.1 */
.linkst, .linksb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  padding: 1em;
  line-height: 2;
  box-sizing: border-box;
}

.linksb {
  display: block;
  width: 100%;
  padding: 0 1em;
  clear: both;
  line-height: 2;
  box-sizing: border-box;
}

.linkst .pagelink, .linksb .pagelink {
  padding: 0 10px;
  border-radius: 10px;
  color: var(--text);
  border: solid 1px var(--line);
  font-weight: normal;
  box-sizing: border-box;
}

.linksb .new-topic a, .linksb .new-poll a, .linkst .new-topic a, .linkst .new-poll a, .postlink span a, .subscribelink a {
  background: var(--forum_h);
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--text) !important;
  border: solid 1px var(--line);
  font-weight: normal;
}

.linksb .new-topic a:hover, .linksb .new-poll a:hover, .linkst .new-topic a:hover, .linkst .new-poll a:hover, .postlink span a:hover, .subscribelink a:hover {
  background: var(--forum_ha);
  color: var(--link_lg) !important;
}

/* B3.2 */
.multipage {
  margin-bottom: 3em;
}

/* B3.3 */
.linkst .pagelink {
  font-size: 12px;
}

/* B3.4 */
.linkst .postlink {
  float: right;
  font-weight: bold;
  font-size: 12px;
}

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
}

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: auto;
  text-align: left;
}

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold;
}

/* B3.8 */
.subscribelink {
  clear: both;
  padding: 1em 0 0.5em 0;
}

.subscribelink a {
  margin-left: 10px;
}

.postlink.long {
  width: auto !important;
}

.linksb .postlink, .linkst .postlink, .subscribelink, .linksb .pagelink, .linkst .pagelink {
  text-transform: uppercase;
  font-size: 10px;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/
/* C1 Form layout
-------------------------------------------------------------*/
/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
}

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
}

/* 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 18px 0 18px;
  margin: 0 0 1em 0;
}

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0 0 0 11px;
    font-size: 1.1em;
}

#pun-profile fieldset legend {
  display: block;
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}

/* C1.6 */
#pun-profile fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}

/* C1.8 */
.punbb .fs-box {
  padding: 0.5em 0;
}

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 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 12em 0 0;
  height: 100%; /* For IE */
}

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  background: var(--forum_h);
  outline: none;
  border: solid 1px var(--line);
  color: var(--text);
}

/* 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;
}

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

/* C2 Table layout
-------------------------------------------------------------*/
/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
}

#pun-index .tcl {
  margin-left: -17px;
}

#pun-index .tclcon {
  padding-top: 20px;
    text-align: justify;
    width: 543.72px;
}

#pun-index .tclcon .subforums {
  padding-left: 10px;
  padding-bottom: 10px;
}

#pun-index .tclcon .subforums em {
  display: none;
}

#pun-index .tclcon .subforums a {
  font: 400 14px Roboto;
  text-transform: lowercase;
}

#pun-index .tclcon .subforums a:after {
  content: "•";
  padding: 0 7px;
}

#pun-index .tclcon .subforums a:last-child:after {
  content: "";
}

.tclbutton {
    display: flex;
    text-align: center;
    font-size: 12px;
    padding: 2px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
    width: 90%;
    margin: 10px auto -10px;
}

.tclbutton a {
    padding: 2px 20px;
    flex: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all .3s cubic-bezier(.64,.51,.55,1.16) 0s;
    cursor: crosshair;
    font-family: 'Roboto';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    border-radius: 10px;
    background: var(--forum_h);
   color: var(--text)!important;
}

.tclbutton a:hover {
    background: var(--forum_ha);
    color: var(--link_lg)!important;
}

#pun-viewforum #subforums {
  border-top: solid 1px var(--line);
  border-bottom: solid 1px var(--line);
  font-size: 13px;
}

#pun-index #pun-category tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.intd {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.intd:before {
  content: "";
  width: 13px;
  height: 1px;
  left: 35px;
  background: var(--line);
  position: absolute;
}

#pun-index .intd {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

#pun-index .intd:before, #pun-messages .intd:before {
  display: none;
}
.add2 {
    position: absolute;
    top: -3px;
    right: 0;
    color: var(--link);
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
}

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  line-height: 20px;
  width: 20%;
}

#pun-index .main .tcr {
  width: 25%;
  -webkit-box-ordinal-group: 4;
  -webkit-order: 3;
  -ms-flex-order: 3;
  order: 3;
}

.Tems_And_messages {
  display: flex;
   display: -webkit-box;
 display: -ms-flexbox;
 -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;

  opacity: 0.4;
}

#pun-index .lastpost-link {
  font: 400 12px Roboto;
  text-transform: uppercase;
}

#pun-index .lastpost {
  font-size: 12px;
}

/* 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 {
  position: absolute;
  top: -14px;
}

#pun-index .tcl h3 a {
  height: 30px;
  background: var(--forum_h);
  color: var(--text);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 5px 30px;
  box-sizing: border-box;
  font: 400 16px Roboto;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  border: solid 1px var(--line);
}

#pun-index .tcl h3 a:hover {
  background: var(--forum_ha);
  color: var(--link_lg);
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}

/* C2.11 */
.punbb .main td {
  padding: 0.8em 1em;
  border: none !important;
}

/* C2.12 */
.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

#pun-index .user-avatar {
  float: right !important;
  margin: 1px 0px 2px 2px !important;
}

.punbb .user-avatar .avatar-image {
  border-radius: 5px !important;
  opacity: 0.7 !important;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.punbb .user-avatar .avatar-image:hover {
  opacity: 1 !important;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.punbb .user-avatar .isonline {
  right: -2px !important;
  top: -3px !important;
  background: var(--online) !important;
  animation: blinkColor 3s linear infinite !important;
  -moz-animation: blinkColor 3s linear infinite !important;
  -webkit-animation: blinkColor 3s linear infinite !important;
}

/* C2.14 */
#pun-index tbody.hasicon tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 30px 40px;
  border-radius: 10px;
  border: solid 1px var(--line);
  position: relative;
}

/* C2.15 */
.punbb div.icon {
  line-height: 0;
}

/* C3 Topics
-------------------------------------------------------------*/
/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding: 0 15px;
}

.punbb .post h3 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}

.punbb .post h3:before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  background: var(--line);
}

/* C3.3 */
.punbb .post h3 span {
  padding: 10px 29px;
  box-sizing: border-box;
  height: 15px;
  background: var(--forum_h);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 10px;
  border: solid 1px var(--line);
  z-index: 1;
  gap: 3px;
  box-sizing: border-box;
  font-weight: 500;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 30px;
  text-align: right;
  font-weight: normal;
}

.punbb .post h3 strong:before {
  content: "\e838";
  font-family: Material Symbols Outlined;
  padding: 0 5px;
}

/* C3.5 */
.punbb .post .post-author {
  position: relative;
  float: left;
  width: 220px;
  margin-top: 2em;
  border: solid 1px var(--line);
  border-radius: 10px;
  background: var(--gradient);
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  line-height: 140%;
  width: 220px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  box-sizing: border-box;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding-bottom: 7px;
}

/* C3.7 */
.pa-author {
  width: 190px;
  text-align: center;
  padding: 3px 0 !important;
  font: 400 16px Roboto;
  text-transform: uppercase;
  border: solid 1px var(--line);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: var(--cat);
}

/* C3.8 */
.pa-author a {
    text-decoration: none;
    color: var(--link_lg) !important;
}

/* C3.9 */
li.pa-title {
  padding: 5px;
  font-size: 10px;
  width: 100%;
  text-align: center;
}

li.pa-avatar {
  width: 100%;
  text-align: center;
}

.pa-avatar img {
  border: solid 1px var(--line);
  padding: 6px;
  max-width: 180px;
  max-height: 180px;
  border-radius: 10px;
}

.post-author .pa-online {
  font-size: 0;
  background: var(--line);
  width: 25px;
  border-radius: 10px 0 0 10px;
  border: solid 1px var(--line);
  height: 25px;
  position: absolute;
  top: 20px;
  left: -27px;
}

.post-author .pa-last-visit {
  font-size: 0;
  background: var(--body);
  width: 25px;
  border-radius: 10px 0 0 10px;
  border: solid 1px var(--line);
  height: 25px;
  position: absolute;
  top: 20px;
  left: -27px;
}

.indOnline, .indOffline {
    position: absolute;
    color: transparent;
    left: -27px;
    top: 20px;
    width: 27px;
    height: 27px;
}

.indOnline:before {
    content: '\e8f4';
    font-family: Material Symbols Outlined;
    color: var(--link_lg);
    font-size: 21px;
    position: absolute;
    left: 4px;
    top: 1px;
}

#tuser {
    font-size: 0;
    opacity: 1!important;
    background: var(--line);
    width: 20px;
    border-radius: 10px 0 0 10px;
    border: solid 1px var(--line);
    height: 20px;
    position: absolute;
    top: 49px;
    left: -41px;
}

.icons-search:before {
    content: '\e8b6' !important;
    font-family: Material Symbols Outlined !important;
    font-size: 19px;
    color: var(--link_lg);
    position: absolute;
    left: 1px;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 225px;
}

/* C3.12 */
.punbb .post-box {
  padding: 20px;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
}

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
}

.punbb .post-links li a {
  background: var(--forum_h);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: var(--text) !important;
  border: solid 1px var(--line);
  font-weight: normal;
  margin-right: 10px;
  text-transform: uppercase;
}

.punbb .post-links .pl-reports a, .punbb .post-links .pl-quote a {
  margin-right: 0;
}

.punbb .post-links li a:hover {
  background: var(--forum_ha);
  color: var(--link_lg) !important;
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

.pa-reg {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.pa-posts, .pa-respect, li.pa-fld3, li.pa-fld4 {
  text-align: center;
  margin-top: 5px;
}

.pa-respect img {
  -webkit-filter: brightness(0.7);
  filter: brightness(0.7);
}

.post .post-author .pa-posts span, .post .post-author .pa-respect .fld-name a,
.isguest .post-author .pa-respect .fld-name, .post-author li.pa-reg span, .post-author li.pa-fld3 .fld-name, .post-author li.pa-fld4 .fld-name {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  font-size: 0;
  width: 18px;
  height: 18px;
  margin: 0 5px;
  text-align: center;
}

.pa-posts .material-icons {
    font-family: Material Symbols Outlined;
    font-size: 18px;
}

.post-author .pa-posts span:before, .post-author .pa-respect .fld-name a:before, .isguest .post-author .pa-respect .fld-name:before, .post-author li.pa-reg span:before, .post-author .pa-fld3 .fld-name:before, .post-author .pa-fld4 .fld-name:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  color: var(--line);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}


.post-author .pa-respect .fld-name a:hover:before {
  -webkit-filter: opacity(0.5);
  filter: opacity(0.5);
  outline: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-author li.pa-posts span:before {
  content: "\e0b7";
}

.post-author li.pa-respect .fld-name a:before {
  content: "\e87d";
}

.isguest .post-author li.pa-respect .fld-name:before {
  content: "\e87d";
}

.post-author li.pa-reg span:before {
  content: "\e7fe";
}

.post-author li.pa-fld3 .fld-name:before {
    content: "\f041";
    width: 55px;
    text-align: center;
}
.post-author li.pa-fld4 .fld-name:before {
  content: "\e3c9";
    width: 55px;
    text-align: center;
}

/* плашка */
.pla {
      height: 45px;
    width: 220px;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    background: var(--cat) !important;
    background-size: cover !important;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    border-top: solid 1px var(--line);
    border-bottom: solid 1px var(--line);
    margin: 5px 0;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.pla img {
    width: 220px;
    height: 45px;
    position: absolute;
    object-fit: cover;
    z-index: 0;
   opacity: .6;
}

.pla_txt {
  width: 220px;
  height: 45px;
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
    color: #c3cddf;
}

.pla_txt h13 {
  font: 400 12px Noto Serif;
  text-transform: uppercase;
  padding-bottom: 1px;
}

.pla_txt h18 {
    text-transform: lowercase;
    font: 500 10px Roboto;
    border-width: 1px 0px 0px;
    border-style: solid;
    border-image: var(--brdrimgpl);
    width: 190px;
}
/*старая плашка*/
.pl a {
    position: absolute;
    right: 0;
}
.pl img {
    max-width: 54px;
    max-height: 50px;
    display: block;
    float: right;
    margin-right: 6px;
    margin-top: -2px;
    z-index: 100;
    position: relative;
}
.invpl .pl img {
    margin-top: -2px;
}
.pl .pl1 {
    font: 400 12px Noto Serif;
    text-transform: uppercase;
    padding-bottom: 1px;
}
.pl2 {
    text-transform: lowercase;
    font: 500 10px Roboto;
    border-width: 1px 0px 0px;
    border-style: solid;
    border-image: var(--brdrimgpl);
}
.pa-fld2 {
    margin: 5px auto;
}




/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
}

/* C5 Message boxes
-------------------------------------------------------------*/
/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
}

/* C6 Profile
-------------------------------------------------------------*/
/* C6.1 */
#profile .container {
  padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

/* C6.4 */
#viewprofile ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
}

#profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  border: solid 1px var(--line);
  border-radius: 10px;
}

/* C6.5 */
#viewprofile h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
}

#profilenav h2 {
  background: var(--forum_h);
  padding: 3px;
  margin: 0 14px 0em 14px;
  border-radius: 5px 5px 0 0;
  border: solid 1px var(--line);
  border-bottom: none;
  text-align: center;
}

/* C6.6 */
#viewprofile h2 span {
  padding: 0 5px;
  position: relative;
}

#profilenav h2 span {
  padding: 0 5px;
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 auto;
}

/* C6.7 */
#viewprofile li, #setmods dl {
  margin-bottom: 0.2em;
  background: var(--body);
  border-radius: 10px;
  border: solid 1px var(--line);
}

#viewprofile #profile-right li {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

/* C6.8 */
#viewprofile li span {
  float: left;
  padding: 0.5em 1em;
  font-weight: bold;
}

#viewprofile tbody tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background: var(--bg);
  border: solid 1px var(--line);
  border-radius: 20px;
  padding: 15px;
}

#profile-left {
  width: 30%;
  padding-top: 0 !important;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

li#profile-name, li#profile-title, li#pa-avatar, li#pa-online {
  background: transparent;
  border: none;
}

li#pa-avatar img {
  padding: 7px;
  border: solid 1px var(--line);
  border-radius: 10px;
}

li#profile-title, li#pa-online, li#pa-avatar strong {
  color: var(--link_lg);
}

#viewprofile li#pa-edit {
  border: solid 1px var(--line);
}

#profile-right {
  width: 70%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 10px 0 0 10px;
  gap: 5px;
}

#viewprofile #profile-name strong {
  font: 100 18px Roboto!important;
  color: var(--link_lg);
  text-transform: uppercase;
}

li#pa-invites {
  display: none !important;
}
li#pa-fld1 {
    display: none!important;
}
li#pa-fld2 {
    grid-area: 3 / 1 / 4 / 3;
grid-template-columns: 1fr!important;
text-align: center;
}
#viewprofile li#pa-fld1 span, #viewprofile li#pa-fld2 span {
    display: none!important;
}

li.pa-fld2 { /*лз*/
    text-align: center;
    text-transform: uppercase;
    font-variant: all-small-caps;
    letter-spacing: 0.7px;
    line-height: 1;
    width: 220px;
}
.lzank {
    font-family: 'NOTO SERIF';
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0 !important;
}
.lz {
    border-image: var(--brdrimgpl);
    border-style: solid;
    border-width: 2px 0 0;
    padding: 5px !important;
}

.lzsp {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 0px 15px 5px;
    padding: 2px 0 4px;
}


/* посты*/

.pa-posts, .pa-respect, .pa-fld3, .pa-fld4 {
    width: 55px;
    margin: 3px 0px 0px 0px;
    font-size: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
    height: 40px;
    display: inline-block;
}

.pa-posts .material-icons, .pa-fld3 .fld-name, .pa-respect .fld-name, .pa-fld4 .fld-name {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 14px;
    text-align: center;
    margin-bottom: 5px;
    font-weight: normal;
}
.pa-respect .fld-name {
    color: transparent;
    font-size: 0;
}

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: normal;
  display: inline;
}

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal !important;
}

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

#profile-signature ul {
  border-top: none !important;
}

/* C7 User list
-------------------------------------------------------------*/
/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
}

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/
/* D1 Logo and description
-------------------------------------------------------------*/
/* D1.1 */
#pun-title {
  display: none;
}

/* D1.2 */
#pun-title h1 {
  display: block;
  height: 40px;
  padding: 2em 1em 0 1em;
}

/* D1.3 */
#pun-title .container {
  border-style: none solid none solid;
}

/* D1.4 */
#pun-title h1 span {
  font-size: 1.5em;
}

#pun-title table {
  border: none;
  height: 40px;
  width: 100%;
}

#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}

#pun-title td.title-logo-tdr {
  border: none;
  width: 468px;
  vertical-align: top;
  padding-top: 2px;
}

/* D2 Page navigation
-------------------------------------------------------------*/
/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  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
-------------------------------------------------------------*/
#pun-navlinks {
  position: -webkit-sticky;
  position: sticky;
  top: 342px;
  width: 100%;
  border-radius: 5px;
  z-index: 10;
}

#pun-navlinks .container {
  width: 1172px;
  height: 40px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  position: absolute;
  top: -342px;
  left: -36px;
  background: var(--body_1);
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 0 0 20px 20px;
  border: solid 1px var(--line);
  box-sizing: border-box;
}

#pun-navlinks li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-right: 0;
}

#pun-navlinks a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 5px;
  color: var(--link_lg);
  font: 400 14px Noto Serif;
  text-transform: uppercase;
  gap: 10px;
}

#pun-navlinks a:hover {
  color: var(--line);
}

#pun-navlinks a:before {
  content: "";
  width: 14px;
  height: 14px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: "Material Icons";
  font-size: 14px;
}

#pun-navlinks li#navindex a:before {
  content: "\ea44";
}

#pun-navlinks li#navuserlist a:before {
  content: "\e7fd";
}

#pun-navlinks li#navawards a:before {
  content: "\ea3f";
}

#pun-navlinks li#navsearch a:before {
  content: "\e8b6";
}

#pun-navlinks li#navprofile a:before {
  content: "\e9ed";
}

#pun-navlinks li#navpm a:before {
  content: "\e158";
}

#pun-navlinks li#navadmin a:before {
  content: "\e8b8";
}

#pun-navlinks li#navlogout a:before {
  content: "\e9ba";
}

#pun-navlinks li#navregister a:before {
  content: "\e266";
}

#pun-navlinks li#navlogin a:before {
  content: "\ea77";
}

#pun-navlinks li#navpr_1 a:before {
  content: "\e7f4";
}

/* D4 User links
-------------------------------------------------------------*/
/* D4.1 */
#pun-ulinks {
  margin-top: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#pun-ulinks .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  height: 30px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 0 0 10px 10px;
  border: solid 1px var(--line);
  border-top: 0;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  white-space: nowrap;
  text-transform: lowercase;
}

#pun-ulinks li a {
  position: relative;
}

#pun-ulinks li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2.5px;
  bottom: -9px;
  left: 0;
  background: var(--line);
  -webkit-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

#pun-ulinks li a:hover:before {
  -webkit-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

#pun-ulinks li:first-child {
  padding-left: 10px;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/
/* D5.1 */
#pun-status {
  position: absolute;
  top: -105px;
  left: -1px;
  height: 30px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-status .container {
    border: solid 1px var(--line);
    border-radius: 20px 20px 0 0;
    padding: 3px 20px;
    color: rgba(201, 201, 201, 0.83);
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-size: 13px;
    height: 23px;
    width: 1130px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--body_1) !important;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
  text-align: center;
  font-weight: normal;
}

#pun-index #pun-crumbs1 p.container {
  display: none;
}

/* D5.6 */
#pun-break1 {
  display: none;
}

/* D6 Announcement
-------------------------------------------------------------*/
/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
}

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#pun-announcement .container {
  padding: 1em;
  text-align: center;
  }

#pun-announcement a {
    position: relative;
    display: inline-block;
    padding: 7px 10px 7px 55px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    margin: 7px 2px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--forum_h);
}

#pun-announcement a.x:after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: -3px;
    left: 0px;
    animation: blinkColor 1.5s linear infinite;
    -moz-animation: blinkColor 1.5s linear infinite;
    -webkit-animation: blinkColor 1.5s linear infinite;
    background: var(--podforum_ha);
    z-index: 100;
}

.adata {
    position: absolute;
    float: left;
    display: flex;
    flex-wrap: wrap;
    height: 28px;
    width: 35px;
    justify-content: center;
    align-content: center;
    top: 0px;
    left: 10px;
    background: var(--line);
    color: var(--link_lg);
    padding: 0 3px;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 40px;
  width: auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-stats h2 {
  background: var(--forum_h);
  border: solid 1px var(--line);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 800px;
  height: 30px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#pun-stats h2 span {
  font: 400 16px Roboto;
  color: var(--text);
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  border: solid 1px var(--line);
  border-radius: 5px;
  line-height: 150%;
  padding: 3px 5px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  text-transform: lowercase;
}

#pun-stats .statscon {
  width: 100%;
  border: solid 1px var(--line);
  border-radius: 10px;
}

#pun-stats .statscon .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: space-evenly;
  -webkit-justify-content: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  padding: 10px;
}

/* D7.4 */
li#onlinelist {
  margin-top: 7px;
  float: left;
  width: 100%;
  line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
  padding: 0.4em 0 0 2.3em;
}

/* 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 {
  padding: 0.8em 1em;
  border-top-style: none;
  line-height: 150%;
  text-align: center;
  font-size: 9px;
  text-transform: lowercase;
}

/* D8.5 */
#pun-about p span {
  display: block;
  padding-left: 50%;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
}

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  text-align: center;
  font-weight: normal;
}

/* D8.8 */
#pun-break4 {
  display: none;
}

/* D9 Help file
-------------------------------------------------------------*/
/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em;
}

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em;
}

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top;
}

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* Иконки в форме ответа */
.punbb #main-reply {
  box-sizing: border-box;
  border: none;
  padding: 5px;
  background: var(--forum_h);
  border-radius: 10px;
  border: solid 1px var(--line);
  color: var(--text);
}

.punbb #form-buttons table {
  width: 100%;
}

.punbb #form-buttons tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 0 5px;
  width: 100%;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 20px;
  height: 20px;
  line-height: unset !important;
}

td#button-spoiler {
    display: none !important;
}
/* всплывающие окна */
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, .pun-modal .modal-inner.section {
  box-shadow: none !important;
  background: var(--body);
  border-radius: 10px;
}

.pun-modal h2, .pun-modal h1 {
  text-align: center;
  color: var(--text);
}

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1 {
  width: auto;
  text-align: center;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

#tags .container {
  background: var(--body);
  border: solid 1px var(--line) !important;
  top: 29px !important;
  border-radius: 10px;
  padding: 10px;
}

#pun-edit #tags .container {
  top: 52px !important;
}

#font-area {
  overflow-x: auto;
  height: 100%;
}

/* страница переадресации */
.redirect-page #pun {
  background: none;
  outline: none;
  padding: 0;
}

#pun-redirect h1 {
  width: auto !important;
  margin: 0 !important;
}

.redirect-page .punbb {
  font-size: 12px;
  border-radius: 10px !important;
}

/* админка */
#pun-admin_paid_services .linksb {
   clear: none;
   margin: 0 0 10px 0 !important;
}

/** ШАБЛОНЫ ОФОРМЛЕНИЯ **/

/*анкета
-------------------------------------------*/
.ank {
    max-width: 700px;
    margin: auto auto 15px auto;
    position: relative;
    padding-top: 15px;
    background: var(--bg_before);
    background-position: top left;
    background-size: cover;
    border: 1px solid var(--line);
    border-radius: 25px;
}
.ank p, .mpost p, .ch p, .vn p, .inf p, .winfo p, .rinf p { padding: 0!important; }
.aname {
    display: block;
    text-align: center;
    height: 30px;
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    background: var(--cat);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--link_lg);
}
.aname p {
    font-size: 20px !important;
}
.aname p, .aimg p, .avn p, .ac p, .avar .x p, /*абзацы в анкете*/
.ename p, .eimg p, /*абзацы в эпиках*/
.wname p, .winf p, /*абзацы в хочу к вам*/
.rabout p, /*абзацы в отношениях*/
.mname p { /*абзацы в описании тем*/
    display: block;
    margin: auto !important;
    width: fit-content;
    padding: 0 !important;
}
.aimg {
    width: 80%;
    margin: 20px auto auto auto;
}
.avn {
    letter-spacing: 1px;
    font-family: Roboto;
    text-transform: uppercase;
    font-variant: all-small-caps;
    margin-top: -6px;
    color: var(--nav_col);
    font-weight: 600;
}
.anv p {
    font-size: 10px !important;
}
.ac {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    margin: 10px 10px 25px;
    color: var(--nav_col);
    border-top: 3px dotted;
}
.ac span {
    line-height: 10px;
    padding-top: 5px;
}
.avar {
    width: 80%;
    margin: auto auto 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: auto;
    gap: 18px;
}
.avar .x, .winf .x {
     padding: 2px 5px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--forum_h);
    position: relative;

}
.avar .x:before, .winf .x:before {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translate(-50%, 0);
    color: var(--nav_col);
}
.avar .x:nth-child(1)::before { content: 'дата рождения'; }
.avar .x:nth-child(2)::before { content: 'семейное положение'; }
.avar .x:nth-child(3)::before { content: 'ориентация'; }
.avar .x:nth-child(4)::before { content: 'деятельность'; }
.avar .x:nth-child(5)::before { content: 'лояльность'; }
.avar .x:nth-child(6)::before { content: 'организация'; }
.winf .x:nth-child(1)::before { content: 'возраст'; }
.winf .x:nth-child(2)::before { content: 'способности'; }
.winf  .x:nth-child(3)::before { content: 'лояльность'; }
.winf .x:nth-child(4)::before { content: 'деятельность'; }
.winf .x:nth-child(5)::before { content: 'внешность'; }
.ainf {
    margin: 15px;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: var(--gradient);
 }
.ainf.s strong {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    font-size: 15px;
    color: var(--link);
}
.ainf.s:before { content: 'О способности'; }
.ainf.b:before { content: 'О персонаже'; }
.ainf.d:before { content: 'Дополнительно'; }
.ainf.p:before { content: 'Об игроке'; }
.ainf::before {
    position: absolute;
    margin-top: -17px;
    display: block;
    padding: 2px 8px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-size: 9px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    width: max-content;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--forum_h);
}
.player p {
    display: inline;
}
.player:before {
    display: inline;
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    font-size: 15px;
    color: var(--link);
}
.player.p:before { content: 'планы на игру: '; }
.player.f:before { content: 'как нашли нас: '; }
.player.c:before { content: 'контакты: '; }
/*нужные
--------------------------------------------*/
.need {
    display: grid;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    max-width: 650px;
    margin: auto;
    padding: 10px 20px 10px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg_before);
    background-size: cover;
    background-position: top left;
}

.need p, .nname p, .nin p, .n p, .nimg p {
    padding: 0 !important;
}
.nname p {
    font-size: 20px !important;
}
.nname {
    grid-area: 1 / 1 / 2 / 3;
    display: grid;
    justify-content: center;
    align-content: end;
    height: 30px;
    font-family: 'ROBOTO';
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    background: var(--cat);
    background-size: cover;
    padding-bottom: 3px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--nav_col);
}
.nin {
    grid-area: 2 / 1 / 3 / 3;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2px;
    align-content: center;
    margin-top: -110px;
    width: 400px;
}
.n {
    padding: 2px 10px;
    flex: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 15px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: var(--forum_h);
    position: relative;

}
.n:before {
    position: absolute;
    display: block;
    top: -16px;
    letter-spacing: 1px;
    padding: 2px 4px 2px 4px;
    font-family: Roboto;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    font-variant: all-small-caps;
    width: max-content;
    color: var(--link_lg);
}
.n:nth-child(1)::before { content: 'способности'; }
.n:nth-child(2)::before { content: 'лояльность'; }
.n:nth-child(3):before { content: 'организация'; }
.n:nth-child(4):before { content: 'деятельность'; }
.nimg {
    grid-area: 1 / 3 / 3 / 4;
    height: 200px;
    width: 200px;
    padding: 25px 0px 25px 20px;
    margin-right: -10px;	
}
.nimg img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 20px;
}
.imgn {
    letter-spacing: 1px;
   font-family: Roboto;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-variant: all-small-caps;
    margin: -8px 20px 0px 20px;
    color: var(--link_lg);
}
.ninf {
    grid-area: 3 / 1 / 4 / 4;
    background: var(--gradient);
    border-radius: 15px;
    border: 1px solid var(--line);
    padding: 15px;
}
.ninf .bbuline {
    display: block;
    text-decoration: none !important;
    font-family: 'Roboto';
    text-align: center;
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 0px 0px 5px;
    color: var(--nav_col);
    background: var(--cat);
    background-size: cover;
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--line);
    margin-top: -16px;
}
.ninf hr {
    margin-block-start: 8px;
    margin-block-end: 2px !important;
}
.post-content .need .quote-box, .post-content .ank .quote-box {
    grid-area: 4 / 1 / 5 / 4;
 }
 /*эпизоды
 ---------------------------------------*/
.ep {
    max-width: 650px;
    margin: auto;
    padding: 10px 20px 10px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg_before);
    background-size: cover;
    background-position: top left;
}
.ename, .wname {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    background: var(--cat);
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: var(--line);
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    color: var(--link_lg);
}
.ename p, .wname p { font-size: 20px!important; }
.eimg {
    width: 100%;
    margin: 20px auto 10px auto;
}
.einfo .x, .einfo .y {
    display: inline-block;
    width: 50%;
    font-family: 'Roboto';
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-weight: bold;
    color: var(--nav_col);
}
.einfo p {
    display: block;
    margin: auto !important;
    padding: 0 !important;
}
.einfo .x p {
    text-align: left;
}
.einfo .y p {
    text-align: right;
}
.inf {
    margin: 15px auto;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: var(--gradient);
}
/*хочу к вам
---------------------------------------*/
.wwy {
    max-width: 650px;
    margin: auto;
    padding: 10px 20px 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg_before);
    background-size: cover;
    background-position: top left;
}
.winf {
    width: 90%;
    margin: 20px auto 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    grid-template-rows: auto;
    gap: 15px;
}
.winfo {
    margin: 15px;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: var(--gradient);
}
.winfo:before {
    position: absolute;
    margin-top: -17px;
    display: block;
    padding: 2px 8px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-size: 9px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    width: max-content;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--forum_h);
}
.winfo.p:before { content: 'О персонаже'; }
.winfo.c:before { content: 'Контактная информация'; }
/*отношения
----------------------------------------------------*/
.rel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    grid-template-rows: auto;
    max-width: 650px;
    margin: auto;
    padding: 20px 20px 25px;
    background: var(--gradient);
    border: 1px solid var(--line);
}
.rel:not(:first-child) {
    margin-top: -1px;
}
.rel:nth-of-type(1) {
    border-radius: 20px 20px 0 0;
}
.rel:nth-last-of-type(1) {
    border-radius: 0 0 20px 20px;
}
.rinf {
    height: 75px;
    padding: 5px 10px 10px;
}
.rinf.b {
    border-left: 1px solid var(--line);
}
.rinf.b p {
    height: 75px;
    overflow-y: auto;
}

.rabout, .rimg {
    display: inline-block;
}
.rimg {
    width: 90px;
    height: 90px;
    margin: -5px auto auto 10px;
    border-radius: var(--brdr3) 0 var(--brdr3) 0;
}
.rimg p {
    padding: 0 !important;
}
.rimg img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    margin-top: -5px !important;
}
.rinf.a {
    padding: 0;
}
.rabout {
    width: 210px;
}
.rname {
    font-family: 'Noto Serif';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
}
.rname p {
    font-size: 25px!important;
}
.rrel {
    letter-spacing: 1px;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-variant: all-small-caps;
    border-width: 2px 0px 0px;
    border-style: solid;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--line), rgba(255, 255, 255, 0) 100%) 1;
}
/*описание темок
-------------------------------------*/
.mpost {
    position: relative;
    padding: 20px 0;
    max-width: 700px;
    margin: auto;
    background: var(--bg_before);
    background-position: top left;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.mname {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    background: var(--cat);
    background-size: cover;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--link_lg);
}
.mname p {
    font-size: 20px!important;
}

.minf {
    margin: 30px 35px 15px;
    padding: 15px;
    border-radius: 15px;
    background: var(--gradient);
    border: 1px solid var(--line);
}

.mn2 {
    position: absolute;
    margin-top: 23px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    padding: 3px 8px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--forum_h);
    text-align: center;
}
.mn2 p {
    padding: 0 !important;
   font-size: 8px!important;
}
.minf .mname {
    margin-top: -15px;
    display: block;
    padding: 2px 9px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    width: fit-content;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: var(--line);
    border-radius: 0 0 10px 10px;.
}
/*хронология
-----------------------------------*/
.ch {
    display: grid;
    grid-template-columns: 100px auto;
    gap: 10px 5px;
    max-width: 650px;
    margin: auto;
    padding: 20px;
    border-radius: 20px;
    background: var(--gradient);
    border: 1px solid var(--line);
}
.cdata {
    align-content: space-around;
}
.cdata p {
    text-align: center !important;
    letter-spacing: 1px;
    font-family: Roboto;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    font-variant: all-small-caps;
}
.cname {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
}
.cname p {
    font-size: 14px!important;
}
.cinf {
    position: relative;
}
.cinf.s:before {
    content: '\e83a';
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 20px;
   color: #c5c503;
}
.cinf:after {
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0;
}
.cinf.a:after {
    content: '\e8b5';
}
.cinf.b:after {
    content: '\e2e6';
    color: green;
}
.cinf.c:after {
    content: '\e888';
    color: maroon;
}
/*внешности и имена
----------------------------*/
.vn {
     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    max-width: 700px;
    margin: auto;
    padding: 20px 0px;
    border-radius: 20px;
    background: var(--gradient);
    border: 1px solid var(--line);
}
.vl {
    display: grid;
    justify-content: center;
    letter-spacing: 1px;
    font-family: Roboto;
    font-weight: 600;
    text-transform: uppercase;
    font-variant: all-small-caps;
}
.vlet {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 3;
    justify-content: center;
    padding: 6px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--cat);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    color: var(--link_lg);
}
.vp {
    text-transform: lowercase;
    padding: 10px 20px;
}
.vp.f {
    display: grid;
    grid-column-start: 1;
}
.vp.m {
    display: grid;
    grid-column-start: 2;
}
.bankm p, .bankp p {
    padding: 0 15px !important;
}

/*лор
---------------------------------------*/
.mat {
    position: relative;
    width: 95%;
    margin: auto;
    background: var(--bg_before);
    background-size: cover;
    background-position: top left;
    border: 1px solid var(--line);
    border-radius: 25px;
}
.contentDRON .minf {
    margin: 30px !important;
}


/* табличка инвентарь
-----------------------*/
.inventar {
     position: relative;
    z-index: 1000;
    width: 790px;
    height: 500px;
    margin: auto;
    display: grid;
    grid-template-columns: 230px auto;
    gap: 0;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--gradient);
    color: var(--text);
 }
.leftinv { /*левая колонка*/
    display: grid;
    grid-template-rows: 185px 310px;
    gap: 0px;
    padding-bottom: 5px;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    background: var(--bg_pla);
    border-right: 1px solid var(--line);
}
.invav { /*картинка*/
    display: grid;
    justify-content: center;
    align-content: center;
    width: 200px;
}
.invav img {
    width: 150px;
    height: 150px;
    border-radius: 150px;
    object-fit: cover;
}
.invpl {/*плашки*/
    width: 230px;
    height: 310px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: -310px;
}
.pl {
    height: 45px;
    box-sizing: border-box;
    position: relative;
    margin: 10px auto;
    padding: 0px 54px 0px 11px;
    border: 0;
    z-index: 2;
    font-weight: bold !important;
    text-align: center;
    text-transform: uppercase;
    font-variant: all-small-caps;
    width: 220px;
    background: var(--cat);
    background-size: cover;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #c3cddf;
    display: flex;
    flex-direction: column;
    justify-content: center;

}


.rightint {/*правая колонка*/
    display: grid;
    grid-template-rows: 70px auto;
    border-radius: 0 var(--brdr1) var(--brdr1) 0;
    overflow: hidden;
}
.intname {/*имя перса*/
    text-align: center;
    font-family: Playfair Display SC;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    height: 16px;
    margin: -17px auto 0px;
}
.intname span {
    margin-left: 5px;
    font-family: 'Roboto';
    font-weight: 400;
}
.intstars {
    display: grid;
    grid-template-columns: repeat(auto-fill, 70px);
    gap: 24px;
    width: 446px;
    margin: auto;
}
.star {
    filter: grayscale(1);
    opacity: 0.3;
    width: 70px;
    height: 70px;
}
.star.active {
    filter: none;
    opacity: 1;
}
.star img {
    width: 70px;
}
.intcontent {/*пространство с подарками*/
    position: relative;
    width: 100%;
    height: 430px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 35px auto;
}
.intcontent input[type=radio] { display: none; }
.intcontent label {
    display: grid;
    align-content: start;
    padding: 0 5px;
}
.intcontent label:nth-of-type(1) {
    justify-content: end;
}
.intcontent label:nth-of-type(2) {
    justify-content: center;
}
.intcontent label:nth-of-type(3) {
    justify-content: start;
}
.intcontent label div {
    font-family: Corbel;
    text-transform: uppercase;
    font-variant: small-caps;
    font-size: 10px;
    padding: 4px 6px;
    width: 81px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: var(--forum_h);
    margin-top: 5px;
}
.contentSET {
    display: none;
    position: absolute;
    overflow-y: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 35px 10px 10px;
    transition: all .2s linear;
    scrollbar-width: none;
}
#INSET1:checked ~ #contentSET1,
#INSET2:checked ~ #contentSET2,
#INSET3:checked ~ #contentSET3 {display: grid;}
#contentSET1 {
    grid-template-columns: repeat(auto-fill, 99px);
    grid-template-rows: repeat(auto-fill, 99px);
    gap: 10px;
}
#contentSET3 {
    grid-template-columns: repeat(auto-fill, 168px);
    grid-template-rows: repeat(auto-fill, 71px);
    gap: 3px;
    margin-left: 7px;
}
.set {/*отдельная ячейка*/
    display: grid;
    align-content: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 15px;
    border: 1px solid var(--line);
}
.set img {
    max-width: 80px;
    max-height: 80px;
}
#pre-wrap { /*область закрытия всплывающей таблички*/
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 200;
}
#editbtn {/*кнопка редактирования*/
    position: absolute;
    top: 5px;
    right: 5px;
}
#contentSET2 {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(auto-fill, 100px);
    gap: 10px;
}
#contentSET2 .set, .gift .set {
    width: 243px;
    height: 80px;
    line-height: 12px;
    grid-template-columns: 100px 135px;
    font-family: 'Roboto';
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px;
}
.gift .set {
    margin: auto;
}
.smail p {padding: 0 !important;}/*сообщение для подарка*/
.smail p:nth-of-type(1) {
    line-height: 1 !important;
    padding-bottom: 2px !important;
}
.smail p:nth-of-type(2) {
    text-align: right;
    font-size: 10px;
}
.smail p:nth-of-type(2):before, .smail p:nth-of-type(2):after {content: ' - ';}
.gifts td p {
    text-align: center !important;
    padding: 0 !important;
    font-family: 'Roboto';
    font-variant: all-small-caps;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
}
/*таблица генерации
----------------------------------*/
#tableGenerate {
    padding: 10px 20px 20px;
    width: 600px;
    margin: auto;
    border-radius: var(--brdr2);
}
.tabgen {
    font-family: 'Roboto';
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-weight: bold;
    letter-spacing: 0.7px;
    text-align: right;
    display: grid;
    grid-template-columns: 150px 400px;
    height: 24px;
    margin-bottom: 10px;
}
button#generateButton, button#payButton {
    display: block;
    height: 20px;
    text-align: left !important;
   font-size: 10px !important;
    letter-spacing: 0px !important;
    font-family: Corbel !important;
    font-variant: small-caps !important;
    margin: auto;
    border-radius: var(--brdr4);
}


/*юзер панель
-----------------------------------*/
#upanel {
    position: absolute;
    background-size: 100%;
    background-repeat: no-repeat;
    top: -103px;
    right: 10px;
    z-index: 1;
    text-transform: uppercase;
    font-variant: all-small-caps;
    font-size: 12px;
    letter-spacing: 0.7px;
}
#upanel a {
    color: var(--link_lg);
}
.upanel {
    display: flex;
    align-items: center;
}
.uava {
    width: 30px;
    height: 30px;
    display: inline-block;
}
.uava img {
    width: 35px;
    height: 35px;
    margin-top: -3px;
    object-fit: cover;
    border-radius: 100%;
    opacity: 1 !important;
    filter: none !important;
}
.utd1, .utd2, .utd3 {
    margin-left: 10px;
    margin-top: -5px;
    color: rgba(201, 201, 201, 0.83);
    text-align: center;
}
.utd1 { margin-left: 15px; }

}
/*mask
----------------------*/
#mask_dialog .inner {
    border-radius: var(--brdr2);
    width: 850px;
    font-family: 'Roboto';
    text-transform: uppercase;
    font-variant: all-small-caps;
}
#mask_dialog .hv-form-block input, #mask_dialog .hv-form-block textarea {
    margin-left: 0px;
    outline: none;
    font-size: 10px !important;
    letter-spacing: 0px !important;
    font-family: Corbel !important;
    font-variant: small-caps !important;
    margin-bottom: 0px !important;
    border-radius: var(--brdr4);
}
/*переключатель
------------------------------------------*/
#stylelist {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 25px;
    margin-bottom: 5px;
    z-index: 1000;
    height: 30px;
}
}
#stylelist li:nth-of-type(1) {
    position: absolute;
}
#stylelist img {
    width: 35px;
}
#stylelist li {
    display: inline-block;
}
#stylelist li.active {
    opacity: 0.4;
}

/* акции
-------------------------------*/
.act {
    position: relative;
    min-height: 210px;
    box-sizing: border-box;
    padding: 10px 20px 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg_before);
    margin-top: 5px;
}
.acname {
    position: absolute;
    top: 15px;
    left: 190px;
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    color: var(--nav_col);
}
.acname p {
    font-size: 20px !important;
}
.actags, .acvn {
    position: absolute;
    font-family: Roboto;
    text-transform: uppercase;
   font-weight: bold;
    font-variant: all-small-caps;
    color: var(--nav_col);
}
.actags {
    top: 35px;
    left: 190px;
}
.acvn {
    top: 172px;
    left: 20px;
}
.acname p, .acimg p, .acin p, .acinf p {
    padding: 0 !important;
}
.acimg {
    position: absolute;
    top: 20px;
    left: 20px;
}
.acimg img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}
.acinf {
    padding: 10px;
    margin: 45px auto auto 170px;
    border-radius: 15px;
    background: var(--gradient);
    border: 1px solid var(--line);
}
/*биржа труда
--------------------------------------------------*/
.bir {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.bname {
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: center;
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    background: var(--cat);
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: var(--line);
    border-radius: 0 0 10px 10px;
    color: var(--nav_col);
}
.bname p {
    padding: 0 !important;
    font-size: 20px !important;
}
.bcat {
    height: 200px;
    overflow: auto;
    box-sizing: border-box;
    padding: 0px 15px 15px;
    margin: 5px;
    border-radius: 15px;
    scrollbar-width: none;
    background: var(--gradient);
    border: 1px solid var(--line);
}
.bcat p strong {
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 5px auto -15px;
}
/* способности
--------------------------------------------------*/
.spos {
    display: grid;
    grid-template-columns: 300px auto;
    grid-template-rows: auto auto;
    gap: 5px 20px;
    grid-template-areas:
        "one three"
        "two three";
}
.sname p {
    padding: 0 !important;
    text-align: right !important;
    font-size: 20px !important;
}
.sname {
    display: grid;
    grid-area: one;
    justify-content: end;
    font-family: 'ROBOTO';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-variant: all-small-caps;
    font-weight: bold;
    border-bottom: 3px solid var(--line);
}
.sher {
    grid-area: two;
    letter-spacing: 1px;
    font-family: Roboto;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    font-variant: all-small-caps;
}
.smain {
    display: grid;
    grid-area: three;
    align-content: center;
}
/* updates
----------------------------------------*/
.update {
    font-family: Roboto;
    text-transform: uppercase;
    font-variant: all-small-caps;
    letter-spacing: 0.7px;
    box-sizing: border-box;
    padding: 100px 20px 20px;
    border-radius: 20px;
    max-width: 600px;
    margin: auto auto 10px;
    border: 1px solid;
    position: relative;
    border-color: var(--line);
    background-image: var(--gradient);
}
.uimg {
    position: absolute;
    z-index: 1;
   width: 60px;
    height: 60px;
    border-radius: 100%;
    top: 20px;
    left: 20px;
}
.uimg img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 100%;
    border: 1px solid var(--line);
}
.uimg p {
    padding: 0 !important;
}
.uh {
    position: absolute;
    top: 31px;
    left: 0;
    right: 0;
    background: var(--cat);
    background-size: cover;
    color: var(--link_lg);
    padding: 6px 0 8px 120px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    z-index: 0;
}
.uh p {
    font-size: 25px !important;
}

/* гостевая
------------------------*/
.gost {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0px 0px;
    grid-template-areas:
        "aabout"
        "about"
        "bron";
    position: relative;
    width: 90%;
    margin: auto;
    box-sizing: border-box;
    padding: 25px;
    border-radius: 30px;
    background: var(--bg_before);
    border: 1px solid var(--line);
 }
.aabout {
    grid-area: aabout;
    font-family: Roboto;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-align: center;
    color: var(--nav_col);
}
.about {
    grid-area: about;
    box-sizing: border-box;
    padding: 15px 15px 30px;
    border-radius: 20px;
    font-family: Roboto;
    letter-spacing: 0.7px;
    border: 1px solid var(--line);
    background: var(--gradient);
}
.about:before {
    content: 'Knowhere';
    position: absolute;
    bottom: 168px;
    font-size: 70px !important;
    letter-spacing: 3px;
    font-family: 'Noto Serif Display';
    font-weight: bold;
    left: 50%;
    transform: translate(-50%, 0);
    text-transform: uppercase;
    color: var(--button);
    opacity: 0.7;
}
.night .about:before {    color: var(--nav_col); }
.bron {
    display: grid;
    grid-area: bron;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0px 10px;
    box-sizing: border-box;
    padding: 20px 15px 15px;
}
.br {
    height: 150px;
    overflow-y: auto;
    box-sizing: border-box;
    padding-top: 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--gradient);
}
.br:before {
    position: absolute;
    margin-top: -18px;
    margin-left: 5px;
    display: block;
    padding: 2px 4px 2px 2px;
    font-family: Roboto;
    letter-spacing: 0.8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--forum_h);
}
.br:nth-of-type(1)::before {
    content: 'придержанные и выкупленные внешности';
}
.br:nth-of-type(2)::before {
    content: 'придерженные способности';
}
/*лотерея
-----------------------*/
.lmain {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.lot {
    position: relative;
}
.lot.x {
    filter: grayscale(1);
}
.lnum {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto';
    font-weight: bold;
    color: #1d1d47;
}
.lnum p {
    font-size: 30px !important;
}

/* коннектиум
---------------------------------*/
.connectium {
    position: relative;
    max-width: 500px;
    margin: auto;
    background: #f9f9f9;
    border-radius: 10px;
}
.night .connectium {
    background: #010101;
}
.connectium p {
    padding: 0 !important;
}

.conav {
    position: absolute;
    top: 10px;
    left: 13px;
    width: 40px;
    height: 40px;
}
.conav img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    object-fit: cover;
}
.conname {
    position: absolute;
    top: 15px;
    left: 60px;
    margin-left: 10px;
    font-family: 'Roboto';
    font-weight: 600;
    text-transform: uppercase;
    font-variant: all-small-caps;
}
.conname p {
    font-size: 16px !important;
}
.conname:before {
    content: '@';
    position: absolute;
    margin-left: -10px;
    margin-top: 1px;
    font-size: 16px;
}
.conname:after {
    content: 'online';
    text-transform: lowercase;
    font-variant: none;
    font-size: 11px;
    color: gray;
    position: absolute;
    margin-left: -8px;
    margin-top: -6px;
}
.conimg {
    padding: 55px;
    background: url(https://forumupload.ru/uploads/001c/51/20/4/271579.png) no-repeat bottom;
    background-size: contain !important;
}
.night .conimg {
    background: url(https://forumupload.ru/uploads/001c/1e/c3/2/414066.png) no-repeat bottom;
}
.conimg img {
    width: 390px;
    height: 390px;
    object-fit: cover;
}
.conpost {
    padding: 0px 20px 15px;
}
.conpost.t {
    padding: 60px 20px 50px;
    background: url(https://forumupload.ru/uploads/001c/51/20/4/271579.png) no-repeat bottom;
    border-radius: 10px;
}
.night .conpost t {
    background: url(https://forumupload.ru/uploads/001c/1e/c3/2/414066.png) no-repeat bottom;
}
.contags {
    font-family: 'ROBOTO';
    color: gray;
    padding-top: 5px;
}

/*БыстроПлюсы для Топика!
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}*/
div .post-rating p>a {
text-align: center;
outline: 1px solid transparent;
font-weight: 700;
position: relative;
padding-left: 1px;
z-index: 100;
width: 36px;
height: 35px;
text-align: center;
font-size: 9px !important;
display: inline-block;
vertical-align: middle;
line-height: 31px;
letter-spacing: 2px;
}
.night .post-rating p>a {/*перекраска для другого стиля, удалите если у вас стоит стиль без перекрасок*/
  color: #ccc !important;
}
.post-rating p>a:after {
    font-family: 'Material Icons';
    font-size: 27px;
    content: '\e87d';
    color: var(--forum_h);
    position: absolute;
    z-index: -1;
    left: 5px;
    bottom: 4px;
    -webkit-text-stroke: 0.1px var(--line);
    text-stroke: 0.1px var(--line);
}
.night .post-rating p>a:after { }
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
    font-size: 0 !important;
    position: absolute;
    cursor: pointer;
    z-index: 200;
    width: 23px;
    height: 23px;
    display: block;
    background-size: 100%;
    margin-left: -5px;
    margin-top: 5px;
}
div.post-vote p>a:after {
    font-family: 'Material Icons';
    font-size: 26px;
    content: '\e0d8';
}


div.post-vote p {
  padding: 4px 13px !important;
  margin-right: 3px !important;
}


/**---------- МОБИЛЬНЫЙ СТИЛЬ ----------**/
@media screen and (max-width: 540px) {
  #pun-viewtopic .post {
    background: rgba(67, 87, 94, 0.1);
    border-radius: 10px;
    border: solid 1px var(--line);
    padding: 5px 0;
    border-left: none;
    border-right: 0;
    margin-top: 2em;
  }
  #pun-viewtopic .post:first-of-type {
    margin-top: 1.4em;
  }
#upanel {display:none;} 
#tuser {
    left: -18px;
    top: 0px;
    border-radius: 0 0 0 10px;
}
.fordescript {
    padding: 15px;
}
.lnum p {
    font-size: 15px !important;
}
/*счетчик символов*/
.post-symbols {
    top: 20px!important;
    left: 10px!important;
    right: 8px;
    width: auto!important;
}
  /**подпись**/
  img.sigimage {
    max-width: 100%;
  }
  .punbb .post-sig dt {
    margin: 15px auto;
  }
  /**окошки видео**/
  iframe {
    width: 100%;
  }
  #pun {
    box-sizing: border-box;
  }
  #pun, #pun:before, .punbb, #html-header, #pun-index .main .tcl {
    width: 100%;
  }
  .punbb .formal .container {
    padding: 0 !important;
  }
  body:before {
    display: none;
  }
  .punbb .formal .container {
    padding: 0;
  }
  #pun .post .post-content td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  .punbb .post-content {
    overflow: initial !important;
    height: auto !important;
  }
  .punbb .info-box {
    border: none;
  }
  #pun-debug h2, #pun-viewtopic h1, #pun-redirect h1, #pun-userlist h1, #pun-mod h2, #pun-search h1, #pun-profile h1, #pun-searchtopics h1, #pun-message h1, #pun-viewforum h1, #pun-viewtopic .main h2, #post-form h2, #pun-edit h1, #pun-modviewforum h1, #pun-register h1, #pun-login h1, #pun-online h1, #pun-viewforum h1, #pun-respect h1, #pun-poll h1, #pun-post h1, #pun-delete h1, #pun-movetopic h1, #pun-vip h1, #pun-deletetopic h1, #pun-upavatar h1, #pun-changepass h1, #pun-positive h1, #pun-deleteuser h1, #pun-upavatar h1, #pun-pages h1, #pun-rules h1, #pun-searchposts h1, #pun-post h2 {
    height: auto;
  }
  #pun-index h2 span, #pun-stats h2 span, #pun-debug h2 span, #pun-redirect h1 span, #pun-userlist h1 span, #pun-mod h2 span, #pun-search h1 span, #pun-profile h1 span, #pun-searchtopics h1 span, #pun-message h1 span, #pun-viewtopic h1 span, #pun-viewforum h1 span, #pun-viewtopic .main h2 span, #post-form h2 span, #pun-edit h1 span, #pun-modviewforum h1 span, #pun-register h1 span, #pun-login h1 span, #pun-online h1 span, #pun-respect h1 span, #pun-poll h1 span, #pun-post h1 span, #pun-post h2 span, #pun-delete h1 span, #pun-searchposts h1 span, #pun-movetopic h1 span, #pun-vip h1 span, #pun-deletetopic h1 span, #pun-upavatar h1 span, #pun-changepass h1 span, #pun-multimove .main h1 span, #pun-positive h1 span, #pun-deleteuser h1 span, #pun-upavatar h1 span, #pun-pages h1 span, #pun-rules h1 span {
    font-size: 18px;
    text-align: center;
  }
  /* название */
  .forname{
    width: 100%;
    font: 600 30px Noto Serif Display;
    top: 30px;
  }
.infotable { 
        display: none;
}
  /* навигация */
  .navigator {
    left: 37px;
  }
  .obj {
    width: 100%;
    height: 235px;
    top: 23px;
    box-sizing: border-box;
    border-left: none;
    border-right: none;
  }
  .obj_tabl {
    height: auto;
    gap: 10px;
    height: 220px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
  .need-slider_prev, .need-slider_next {
    width: auto;
  }
  .need-slide, .need-slide__img {
    width: 300px;
    height: 110px;
    gap: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .need-slide__img img {
    width: 50px;
    height: 50px;
    box-sizing: border-box;
  }
  .need-slide__img:before {
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    top: 20px;
  }
  .need_text {
    width: 220px;
  }
  .need_text span {
    height: auto;
    box-sizing: border-box;
  }
  .need_text p {
    display: none;
  }
  .need_link {
    grid-column: 1/-1;
  }
  /* объявление - навигация */
  .obj_nav {
    width: 100%;
  }
  .nav_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .nav_box a {
    width: 170px;
  }
  /* общая навигация */
  #pun-navlinks {
    top: 381px;
    width: 100%;
  }
  #pun-navlinks .container {
    width: 100%;
    top: -381px;
    left: 0;
  }
  #pun-navlinks a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    border-bottom: none !important;
  }
  #pun-navlinks a:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    font-size: 24px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks a:hover:before {
    opacity: 50%;
    outline: none;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks li#navindex a:before {
    content: "\ea44";
  }
  #pun-navlinks li#navuserlist a:before {
    content: "\e7fd";
  }
  #pun-navlinks li#navsearch a:before {
    content: "\e8b6";
  }
  #pun-navlinks li#navprofile a:before {
    content: "\e9ed";
  }
  #pun-navlinks li#navpm a:before {
    content: "\e158";
  }
  #pun-navlinks li#navadmin a:before {
    content: "\e8b8";
  }
  #pun-navlinks li#navlogout a:before {
    content: "\e9ba";
  }
  #pun-navlinks li#navregister a:before {
    content: "\e266";
  }
  #pun-navlinks li#navlogin a:before {
    content: "\ea77";
  }
  #pun-navlinks li#navpr_1 a:before {
    content: "\e7f4";
  }
  /* общая навигация - пользовательские ссылки */
  #pun-ulinks {
    position: absolute;
    top: -65px;
    right: 37px;
  }
  #pun-ulinks h2 {
    position: static;
    overflow: initial;
    width: 40px;
    height: 25px;
    margin: 0 auto;
    background: var(--body_1);
    border-radius: 5px;
    border: solid 1px var(--line);
    padding: 7px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #pun-ulinks h2 span {
    font-size: 0;
    height: auto;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(http://forumstatic.ru/files/001b/c1/d6/30333.svg) no-repeat center/cover;
    width: 20px;
    height: 20px;
    display: block;
  }
  #pun-ulinks ul {
    display: none !important;
  }
  #pun-ulinks:hover ul {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    top: 35px;
    right: -40px;
    width: 200px;
    height: auto;
    background: var(--black);
    border-radius: 5px;
    margin: 10px;
    padding: 5px 10px;
    border: solid 1px var(--line);
    -webkit-transform: translateY(10%);
    -ms-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-animation: ani 1s forwards;
    animation: ani 1s forwards;
    z-index: 9999;
  }
  @-webkit-keyframes ani {
    0% {
      -webkit-transform: translateY(10%);
      transform: translateY(10%);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  @keyframes ani {
    0% {
      -webkit-transform: translateY(10%);
      transform: translateY(10%);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  #pun-ulinks li, #pun-ulinks li a {
    text-align: center;
    margin: 5px 0;
    font-size: 12px;
    background: var(--body);
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-ulinks li a:before {
    display: none;
  }
  #pun-ulinks li {
    padding: 5px;
    border: solid 1px var(--line);
  }
  #pun-ulinks a:hover {
    color: var(--black) !important;
  }
  #pun-ulinks li.item1 {
    padding-left: 5px;
  }
  #pun-status {
    position: static;
    width: 100%;
    height: auto;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    top: 20px;
  }
  #pun-status .container {
    height: auto;
    width: 100%;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    line-height: 1.3;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background: var(--black) !important;
    border-left: none;
    border-right: none;
  }
  /**главная - категории**/
  .span.offctgr {
    width: 100%;
    margin-right: 16px;
  }
  #pun-index .category h2 {
    height: auto;
  }
  #pun-index .category h2 span {
    width: 98%;
    padding: 10px;
    margin: 0;
    height: 100%;
    font: 500 18px Noto Serif Display;
    text-align: left;
  }
  /**главная - форумы**/
  #pun-index .main .tcl {
    box-sizing: border-box;
  }
  #pun-index .tcl {
    margin-left: 0;
  }
  #pun-index tbody.hasicon tr {
    margin: 30px 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #pun-index .main .tcr {
    width: 100%;
    box-sizing: border-box;
  }
  .subforums {
    padding: 0;
  }
  .Tems_And_messages {
    display: none;
  }
  .forum_text {
    width: 100%;
    font-size: 11px;
    padding: 0;
    box-sizing: border-box;
  }
  /**главная - форумная навигация**/
  .menu {
    right: 0;
  }
  /**главная - иконки**/
  #pun-index div.icon {
    position: absolute;
    left: -4px;
    margin-right: 0;
    visibility: hidden;
  }
  /* главная - статистика */
  #pun-stats {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 10px;
  }
  #pun-stats h2 {
    width: 90%;
  }
  li#onlinelist div {
    padding: 0.4em 0;
  }
  /* главная - статистика - иконки */
  #pun-stats li {
    width: auto !important;
  }
  .stat {
    gap: 0;
    height: 20px;
  }
  #pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
  }
  #pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span, #pun-stats li.item4 span {
    font-size: 0;
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
  }
  #pun-stats li.item1 span:before, #pun-stats li.item2 span:before, #pun-stats li.item3 span:before, #pun-stats li.item4 span:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: "Material Icons";
    font-size: 20px;
    color: var(--gray);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-stats li.item1 span:before {
    content: "\e873";
  }
  #pun-stats li.item2 span:before {
    content: "\e0b7";
  }
  #pun-stats li.item3 span:before {
    content: "\e7f0";
  }
  #pun-stats li.item4 span:before {
    content: "\e7fe";
  }
  /**футер**/
  .futer {
    width: 100%;
  }
  .banners {
    width: 295px;
  }
  /* список тем */
  #pun-viewforum .user-avatar, #pun-modviewforum .user-avatar, #pun-searchtopics .user-avatar {
    display: none;
  }
  #pun-viewforum .main .tc2, #pun-viewforum .main .tc3, #pun-viewforum .main .tcmod, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3, #pun-searchtopics .main .tcmod {
    display: none;
  }
  .punbb .main .tclcon .stickytext, .punbb .main .tclcon .closedatafield, .punbb .main .tclcon .byuser {
    display: none;
  }
  #pun-viewforum .container tr, #pun-searchtopics .container tr {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr;
  }
  #pun-modviewforum .container tr {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr 0.3fr;
  }
  #pun-viewforum .container td.tcl, #pun-modviewforum .container td.tcl, #pun-searchtopics .container td.tcl {
    display: grid;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewforum .intd, #pun-modviewforum .intd, #pun-searchtopics .intd {
    display: grid;
    gap: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    grid-template-columns: 1fr 5fr;
  }
  #pun-viewforum .intd:before, #pun-modviewforum .intd:before, #pun-searchtopics .intd:before, #pun-modviewforum .tc2, #pun-modviewforum .tc3 {
    display: none;
  }
  #pun-viewforum .container td.tcr, #pun-modviewforum .container td.tcr, #pun-searchtopics .container td.tcr {
    display: grid;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-modviewforum .modmenu .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  /* модерация тем */
  #pun-modviewforum thead .tcl, #pun-modviewforum thead .tc2, #pun-modviewforum thead .tc3, #pun-modviewforum thead .tcr {
    font-size: 0;
  }
  /* страница участники */
  .usertable tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-userlist .main .tcl {
    margin-top: 0;
    margin-bottom: 0;
  }
  #pun-userlist .user-avatar, #pun-userlist .main .tc2, #pun-userlist .tc3.relation, #pun-userlist .tc3.num_posts, #pun-userlist .tc3.posts {
    display: none;
  }
  #pun-userlist .tc3.registered, #pun-userlist .tc3.last_visit, #pun-userlist thead {
    display: initial;
  }
  #pun-userlist thead {
    opacity: 0.6;
    text-transform: lowercase;
  }
  #pun-userlist .main .tc3, #pun-userlist .tcl.username, #pun-userlist .main .tcl {
    width: 100% !important;
  }
  #pun-userlist .main td {
    padding: 10px 0;
  }
  li#onlinelist:last-child {
    text-align: justify;
  }
  /* страница профиля */
  #viewprofile ul {
    padding: 10px;
  }
  #viewprofile tbody tr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
  #profile-left, #profile-right {
    width: 100% !important;
  }
  #profile-right {
    gap: 5px;
    margin: 0;
  }
  #viewprofile #profile-right li {
    display: grid;
    padding: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    box-sizing: border-box;
  }
  #viewprofile li span {
    float: initial;
    text-align: center;
    width: auto;
    padding: 3px 10px;
    margin-left: 0;
  }
  #profile-right li strong {
    padding: 5px !important;
  }
  li#pa-register-date, #viewprofile li#pa-fld1, #viewprofile li#pa-email, #viewprofile li#pa-posts, #pa-fld1, #pa-fld2 {
    width: 100% !important;
  }
  /* настройки профиля */
  #pun-profile .formal .container {
    padding: 0;
  }
  #profile .container {
    padding: 0;
  }
  #pun-profile #profile .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #profilenav {
    margin: 10px 0;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #profilenav h2 {
    padding: 5px;
    margin: 0;
    text-transform: uppercase;
    width: 90%;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto;
  }
  #profilenav ul {
    padding: 5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 5px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 5px 5px;
  }
  #profilenav li {
    padding: 5px;
    font-weight: bold;
    background: var(--body);
    border: solid 1px var(--line);
    margin: 0;
    border-radius: 5px;
  }
  #pun-profile .submitfield {
    padding: 0;
  }
  #pun-profile .submitfield input[type=submit], #pun-profile #update_comments, #pun-profile #del_file {
    margin: 10px 0;
  }
  #pun-profile #setmods dl {
    padding: 0;
    margin: 0;
    border: none;
  }
  #pun-profile #setmods dt {
    margin: 0;
    width: auto;
    float: none;
    padding: 0;
  }
  #pun-profile #setmods dd {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
  }
  #pun-profile .formsubmit {
    padding: 5px;
    margin: 0 0 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }




  /* страница лс */
  #messages .fs-box tr {
    display: grid;
    grid-template-columns: 1fr 1fr 0.1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #messages .fs-box .intd {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
  }
  #messages .fs-box td {
    width: auto !important;
    box-sizing: border-box;
    overflow: inherit !important;
    white-space: normal !important;
  }
  #messages .fs-box .tc3 {
    display: none;
  }
  #pun-messages .container .user-avatar, #pun-messages li.pa-reg, #pun-messages li.pa-posts {
    display: none;
  }
  #pun-messages .post-body {
    width: 100%;
  }
  #pun-messages .post-content p {
    font-size: 12px;
  }
  #pun-messages .post-box {
    margin: 0;
    padding: 15px;
  }
  #pun-messages .post-links {
    width: 100%;
    margin: 0;
  }
  #pun-messages fieldset {
    padding: 0 8px;
  }
  #pun-messages #notify-settings {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  /* минипрофиль */
  .punbb .post-body {
    margin-left: 0;
  }
  .punbb .post .container {
    margin: 0;
    padding: 4px 0;
  }
  .punbb .post .post-author {
    float: none;
    width: 100%;
    margin-top: 1em;
    box-sizing: border-box;
    border-left: none;
    border-right: none;
  }
  .punbb .post .post-author ul, .punbb .post .post-author p {
    width: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .post-author .pa-online, .post-author .pa-last-visit {
    top: -1px;
    left: initial;
    right: 8px;
    border-radius: 0 0 10px 0;
}

  .pa-author {
    width: 95%;
    padding: 3px 30px !important;
    box-sizing: border-box;
    overflow: hidden;
    height: 26px;
  }
  li.pa-avatar {
    width: auto;
    padding-top: 5px;
  }
  .pa-avatar img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    padding: 3px;
     object-fit: cover;
  }
  li.pa-respect {
    -webkit-box-ordinal-group: 9;
    -webkit-order: 8;
    -ms-flex-order: 8;
    order: 8;
  }
li.pa-fld1 {
    -webkit-box-ordinal-group: 10;
    -webkit-order: 9;
    -ms-flex-order: 9;
    order: 9;
}

  li.pa-fld2 {
    -webkit-box-ordinal-group: 11;
    -webkit-order: 10;
    -ms-flex-order: 10;
    order: 10;
    width: 100%;
    display: none;
  }
.post-author ul:hover li.pa-fld2 {
    display: block;
}
  /* иконки редактирвоать/цитировать в постах */
  .post-links ul {
    padding: 0 !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .post-links li {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    padding: 0 0 0 5px !important;
  }
  li.pl-email.email {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .post-links li a {
    padding: 3px !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0 !important;
    width: 20px;
    height: 20px;
    margin: 0 5px !important;
  }
  .post-links a:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    left: 0;
    top: 0;
    pointer-events: none;
    font-family: Material Symbols Outlined;
    font-size: 18px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  .post-links li.pl-email.profile a:before {
    content: "\e7fd";
  }
  .post-links li.pl-email.pm a:before {
    content: "\e158";
  }
  .post-links li.pl-email a:before {
    content: "\e146";
  }
  .post-links li.pl-email.email a:before {
    content: "\e163";
  }
  .post-links li.pl-delete a:before {
    content: "\e872";
  }
  .post-links li.pl-edit a:before {
    content: "\f88d";
  }
  .post-links li.pl-quote a:before {
    content: "\e244";
  }
  .post-links li.pl-reports a:before {
    content: "\efaf";
  }
  #pun-searchposts .post-links ul li a:before {
    content: "\f178";
  }
  /* дата и время поста */
  #pun-searchposts .post h3 span {
    box-sizing: border-box;
    height: auto;
    padding: 5px 19px;
    width: 97%;
  }
  .punbb .post h3:before {
    display: none;
  }
  /* форма быстрого ответа */
  #tags .container {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    margin-bottom: 10px !important;
    background: transparent;
    height: 100px;
    overflow-y: scroll;
    padding: 10px !important;
    width: auto;
  }
  #form-buttons td#button-smile {
    display: none;
  }
  .punbb #form-buttons tr {
    gap: 10px 20px;
  }
  #form-buttons td {
    width: 25px;
    height: 25px;
  }
  #form-buttons td:before {
    width: 25px;
    height: 25px;
    font-size: 20px;
  }
  #pun-viewtopic p.formsubmit, #pun-post p.formsubmit, #pun-edit p.formsubmit {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
  #pun-viewtopic .formsubmit input {
    margin: 0;
  }
  #plng {
    width: 100%;
    text-align: center;
  }
  /* активные users */
  #pun-online .container tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    justify-items: center;
  }
  #pun-online .container .tcl.username {
    text-align: center;
    width: 100%;
  }
  #pun-online .container .tcl.action, #pun-online .container .tc3 {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  /* админка */
  .adminmain {
    padding-left: 0 !important;
  }
  #pun-admain1 form.adcontainer, #pun-admain2 form.adcontainer, #pun-admain-new form.adcontainer, #pun-admain1 div.adcontainer, #pun-admain2 div.adcontainer {
    padding: 18px 0 12px 0 !important;
  }
  #pun-adnav {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }
  #pun-adnav ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 5px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-adnav li {
    padding: 5px !important;
    background: var(--nav_col);
    border-radius: 5px;
  }
  #pun-adnav li.isactive ul.adsubnav {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-admain2 fieldset .subforums {
    margin-left: 0 !important;
  }
  #pun-admain fieldset .handle, #pun-admain fieldset p {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: auto !important;
    border: none !important;
    position: static !important;
    margin-bottom: 6px !important;
    padding: 0 0 6px 0 !important;
  }
  #pun-admain .adlabel {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    float: none !important;
    margin: 0 !important;
    position: static;
  }
  #pun-admain p.adsubmitfield .adlabel {
    padding-bottom: 0 !important;
  }
  #pun-admin_forms #pun-admain fieldset {
    padding: 0 !important;
  }
  /**всплывающие подсказки**/
  #tooltip {
    display: none !important;
  }
  /**внутренние уведомления**/
  #pun-navlinks li#navpm span.num_msg {
    margin-top: -5px;
  }
  .jGrowl-notification {
    z-index: 99999;
  }
  .jGrowl-close {
    margin: 0 !important;
  }
  /**формы, кнопки**/
  input[type=text] {
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewtopic input[type=text] {
    width: auto;
  }
  /**скрипт увеличения шрифта**/
  #chfont {
    top: 45px !important;
    right: initial !important;
    left: 8px !important;
  }
  #chfontbut {
    float: left !important;
    margin-right: 15px !important;
  }
  #chfontsize {
    float: right !important;
  }
  /**кнопки вверх-вниз**/
  .go-up, .go-down {
  display: none;
  }

  /**маска**/
  #mask_dialog .hv-mask-block {
      flex-direction: column; 
      align-items: center;
  }
  
  #mask_dialog .hv-preview-block img {
    max-width: 60px;
  }
  #mask_dialog .hv-preview-block {
    overflow: unset;
    overflow-y: visible;
    overflow-x: unset;
  }

/* шаблоны */
.bir {
    grid-template-columns: 1fr;
}

.mn2 {
    width: 70%;
}
.spos {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
        "one"
        "two"
        "three";
    margin-bottom: 5px;
}
.ch {
    grid-template-columns: 75px auto;
}
.rel {
    grid-template-columns: 1fr;
}
.rinf.b {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 20px;
}
.conimg img {
  width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.acname, .actags {
    left: 50%;
    transform: translate(-50%, 0);
}
.acimg {
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
}
.acvn {
    left: 50%;
    transform: translate(-50%, 0);
    top: 200px;
}
.acinf {
    margin: 210px auto auto auto;
}
.need {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
}
.nname {
    grid-area: 1 / 1 / 2 / 4;
}
.nin {
    grid-area: 3 / 1 / 4 / 4;
    margin-top: 247px;
    width: auto;
}
.nimg {
    grid-area: 2 / 1 / 3 / 4;
    padding: 25px 0;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
}
.imgn {
    text-align: center;
}
.ninf {
    grid-area: 4 / 1 / 5 / 4;
}
.post-content .need .quote-box {
    grid-area: 5 / 1 / 6 / 2;
}
.bron {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px 0;
    padding: 15px 0;
}
.about:before { display:none;}
.vp {
    text-align: left;
}
minf .mname {
    text-align: center;
    width: 92%;
}


}

/*угадайка*/
.ugad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.kadr {
    text-align: center;
}
.kadr img {
    width: 350px;
    height: 175px;
    object-fit: cover;
}


/*ФОНЫ*/
.post[data-user-id="4"] .post-author { /*Элла*/
    background: var(--gradient2), url(https://forumupload.ru/uploads/001c/51/20/4/112999.png) bottom;
}
.post[data-user-id="26"] .post-author {/*Ромео*/
background: var(--gradient2), url(https://forumupload.ru/uploads/001c/51/20/4/227983.png) bottom;
} 
.post[data-user-id="27"] .post-author {/*Аврора*/
background: var(--gradient2), url(https://forumupload.ru/uploads/001c/51/20/4/227983.png) bottom;
} 
.post[data-user-id="33"] .post-author {/*Джульета */
background: var(--gradient2), url(https://forumupload.ru/uploads/001c/51/20/4/112999.png) bottom;
} 
.post[data-user-id="37"] .post-author { /*Крис*/
    background: var(--gradient2), url(https://forumupload.ru/uploads/001c/51/20/4/112999.png) bottom;
}
