/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1751283907.css);

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.5.2/css/pro.min.css');

@font-face {
    font-family: 'Geologica';
    src: local('Geologica Thin');
    src: url('//forumstatic.ru/files/0019/78/44/52405.ttf') format('truetype');
}

@font-face {
    font-family: 'UrbanDecaySP';
    src: local('Urban Decay SP');
    src: url('https://forumstatic.ru/files/001a/f7/d1/91522.otf') format('truetype');
}


/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

* {
     text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    outline: none !important;
}

/* A2.1 */
html, body {margin: 0; padding: 0}

html {
    background: url(https://i.ibb.co/MyYTy123/dark-denim-3.png) top center repeat fixed;
    background-color: #181818;
}

/* 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;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

input[type="radio"] {
    box-shadow: none !important;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
    font-size: 100%;
    margin: -30px 0 -30px 0;
    padding: 40px 0;
}

/* A3.2 */
.punbb {
  font: normal 12px Geologica, verdana, arial, helvetica, sans-serif;
color: var(--Textmain);
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em Geologica, verdana, arial, helvetica, sans-serif;
  line-height: 150%;
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
    font: 12px geologica, monaco, "bitstream vera sans mono", "courier new", courier, monospace;
    line-height: 150%;
}

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
text-decoration: underline;
  }

abbr {
    cursor: help !important;
    border-bottom: 1px dotted #000;
}

.post .bookmark {
    right: -47px !important;
}

/* A3.10 */
.punbb a {
text-decoration: none !important;
  }

/* 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.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.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
    position: relative;
    width: 960px;
    min-height: 260px;
    margin: 40px auto 0px auto;
    padding: 530px 20px 20px 20px;
    background: var(--BGmain);
    border-radius: 20px;
    box-shadow: 0 0 30px -10px #000;
}

#pun::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 1040px;
    height: calc(100% - -40px);
    z-index: -1;
    background: transparent;
    border-radius: 20px;
    border: 1px solid #ffffff1c;
    background-image: url("https://forumstatic.ru/files/001a/f7/d1/67814.png");
    background-attachment: fixed;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }


/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.10 */

div#pun-viewforum .category {
    padding: 20px;
}

.category, #pun-stats {
    padding: 0;
    margin-bottom: 20px;
}

div#pun-viewforum .category .container {
    border-width: 1px;
    border-radius: 6px;
    line-height: 1.5;
}

#pun-stats .container {padding: 20px 20px 10px 20px !important;}

.category .container, #pun-stats .container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    font-size: 11px;
    background: var(--BGsec);
    border-radius: 20px;
}

.category h2 a {
    position: absolute;
    right: 10px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.category h2, #pun-stats h2 {
    height: 20px;
    padding: 0 !important;
    border-radius: 20px;
    overflow: visible;
    margin: 0 0 10px 0;
    position: relative;
    background: #1d1d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(https://forumstatic.ru/files/001a/f7/d1/67814.png);
    border: 1px solid rgb(59 59 59);
}

.category h2 span, #pun-stats h2 span {
    width: max-content;
    height: 27px;
    display: flex;
    font-family: 'Geologica';
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    color: #333 !important;
    letter-spacing: 2px;
    align-items: center;
    justify-content: center;
    background: url(https://forumstatic.ru/files/001a/f7/d1/30619.png);
    background-color: var(--BGsec);
    box-shadow: 0 0 10px -6px #000, 3px 3px 0 -1px var(--LinkMain);
    padding: 0 5px;
    transform: rotate(2deg);
}

#pun-index #pun-category1 h2 span, #pun-index #pun-category3 h2 span, #pun-index #pun-category5 h2 span, #pun-index #pun-category7 h2 span, #pun-index #pun-category9 h2 span {}

#pun-index #pun-category2 h2 span, #pun-index #pun-category4 h2 span, #pun-index #pun-category6 h2 span, #pun-index #pun-category8 h2 span, #pun-index #pun-category10 h2 span {transform: rotate(-2deg) !important;     box-shadow: 0 0 10px -6px #000, -3px -3px 0 -1px var(--LinkMain) !important;}


.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
    padding: 5px 10px;
    font-family: 'Geologica';
    text-align: center;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 10px 0 0 0;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    border-top: 1px solid var(--hrTop);
    margin: 0 0 5px 0;
    box-shadow: 0px 1px 0 0 var(--hrBottom);
}

hr {
    opacity: 1 !important;
    border: none !important;
    height: 1px;
    background: var(--hrTop);
    box-shadow: 0px 1px 0 0 var(--hrBottom);
}

/* B1.3 */
.post-content td p:last-child {
    padding-bottom: 10px !important;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 10px 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;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
    height: 40px !important;
    margin-bottom: 10px;
}

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 10px 0px 10px 0px;
    padding: 15px 17px 5px 15px;
    border-radius: 6px;
    background: var(--BGmain);
    border: 1px solid transparent;
}

.quote-box .quote-box {
    border: 1px solid var(--borderMain) !important;
    background: var(--BGsec) !important;
}


.quote-box.answer-box {
    border: none !important;
}

.quote-box.spoiler-box {

}

.quote-box.spoiler-box > div {
    display: flex;
    height: 20px;
    align-items: center;
    margin: 0 0 9px 0;
    font-family: 'Geologica';
    position: relative;
    background: none !important;
    line-height: 1.2;
    padding-left: 24px !important;
}

.quote-box.spoiler-box > div:before {
    content: '\e7cd';
    font-family: Material Symbols Outlined;
    font-size: 14px;
    position: absolute;
    left: -3px;
    color: var(--Textmain);
    transition: all .5s ease-in-out 0s;
}

.post-content .spoiler-box > div.visible:before {
    content: '\e7cd' !important;
    transform: rotate(180deg);
}

blockquote.visible {
    padding-top: 9px !important;
    border-top: 1px solid var(--borderMain);
}


/* B1.9 */
.punbb .code-box strong.legend {
    background: var(--BGsec);
    padding: 0 0 0 25px !important;
    border-radius: 4px 50px 50px 4px;
    height: 20px;
    display: flex !important;
    line-height: 0;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 10px 0 !important;
    font-size: 11px !important;
    font-weight: normal !important;
    position: relative;
}

.punbb .code-box strong.legend:before {
    content: '\f84d';
    font-family: Material Symbols Outlined;
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 20px;
    color: var(--Textmain);
}

.punbb .code-box strong.legend a.copy-code {
    font-weight: 800;
    color: var(--Textmain);
}

.quote-box.answer-box cite {
    background: var(--BGsec);
    padding: 0 0 0 10px !important;
    border-radius: 50px;
    height: 20px;
    display: flex !important;
    line-height: 0;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 10px 0 !important;
    font-size: 11px !important;
    font-weight: normal !important;
    position: relative;
}

.quote-box.answer-box cite a b {
    font-weight: normal !important;
}

.quote-box.answer-box cite a {
    font-weight: 800;
    color: var(--Textmain);
}

.quote-box.answer-box cite a:hover {color: var(--LinkMain);}

.quote-box.answer-box cite:before {
    content: '\e244';
    font-family: Material Symbols Outlined;
    position: absolute;
    top: 4px;
    left: -11px;
    font-size: 20px;
    color: var(--Textmain);
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-size: 12px;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  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 */
.modmenu {
    font-size: 11px;
    margin: 10px 0 0 0;
}

div#topic-users-in {
    margin: 10px 0 0 0;
    padding: 6px 6px 10px 6px;
}

div#topic-users-in p.container {
    padding: 0 !important;
}

div#topic-modmenu {
    margin: 10px 0 0 0;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 0;
    background: transparent;
}

div#topic-modmenu p.container {
    padding: 0;
}

.punbb .linkst {
    border-radius: 0 0 6px 6px;
    margin: -42px 0 10px 0;
}

#pun-userlist .linksb {border-radius: 6px 6px 0 0;}

div#pun-viewtopic .linkst {margin: 0 !important;}

.punbb .linkst, .punbb .linksb {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 30px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.punbb .linksb {
    display: flex;
    margin: 0 0 0 0;
}

div#pun-viewforum .linksb {
display: flex;
    margin: 0 0 0 0;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.subscribelink {
    position: absolute;
    right: 0;
}

#pun-viewtopic .linksb {
    margin: 0px 0 10px 0;
    border-radius: 0 0 6px 6px;
    height: 40px;
}

#pun-viewtopic .pagelink {order: 0;}
#pun-viewtopic .postlink {order: 2;}
#pun-viewtopic .subscribelink {order: 3;}

form#messages .postlink {
    border: none;
    box-shadow: none;
    background: none;
}

form#messages .linksb {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}


.linkst .pagelink, .linkst .postlink, .linksb .pagelink, .linksb .postlink, #pun-viewtopic .subscribelink {
    width: max-content !important;
    padding: 0 7px;
    font-family: 'Geologica';
    text-transform: uppercase;
    font-size: 9px;
    line-height: 0;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
    border-radius: 6px;
    border: 1px solid var(--borderMain);
}

.linkst .postlink {
    font-weight: bold;
}

.linkst .postlink a {
    color: var(--Textmain) !important;
}

.linkst .postlink a:hover {
    color: var(--LinkMain) !important;
}

/* B3.2 */
.multipage {
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {

  }

/* C1.2 */
.punbb .formsubmit {
    padding: 0 0 0 0;
    margin: 0 0 20px 0;
    text-align: center;
}

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */

div#post-form fieldset {border: none;}

.punbb fieldset {
    padding: 0 10px 0 10px;
    margin: 0 0 10px 0;
    border: 1px solid var(--borderMain);
    border-radius: 10px;
}

form#punbbsearch {
    font-size: 11px;
}

/* C1.5 */
.punbb fieldset legend {
    padding: 0 10px;
    margin: 0 0 0 10px;
}

/* C1.6 */
.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0 5px 0 5px;
    font-weight: bold;
    color: var(--Textmain);
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 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;
  }

/* 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: 50%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
th.tc3.registered {
    width: 12% !important;
}

.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* C2.4 */

#pun-userlist .main .tcl {
    width: 30%;
    padding-left: 30px;
}

.usertable {
    background: var(--BGsec);
    border-radius: 20px;
    margin: 20px 0;
    overflow: hidden;
    padding: 10px 0 20px 0px;
}

.usertable tbody {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

td.tc2.user_title {
    overflow: hidden;
    text-align: center !important;
    font-size: 10px;
    line-height: 1.2;
    padding: 3px 10px !important;
    margin: 10px 0;
    background: var(--BGmain);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    text-transform: lowercase;
}

#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2 {
  text-align: left;
  width: 20%;
  }

#pun-searchtopics .main .tc2 {
  text-align: center;
  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 .category tr {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 15px 0 10px 0;
    border-bottom: 1px solid var(--BGmain);
    padding-bottom: 20px;
}

#pun-index .category tr:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

#pun-index .tcl .tclcon {
    font-size: 11px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#pun-index .tcl h3 {
    font-size: 10px;
    font-weight: bold;
    font-family: 'Geologica';
    text-transform: uppercase;
    line-height: 0;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 4px 0;
    order: 1;
}

#pun-index .tcl h3 a {
    display: flex;
    width: max-content;
    height: 36px;
    line-height: 0;
    align-items: flex-start;
    position: relative;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

#pun-index .tcl h3 a:before {
    display: flex;
    font-size: 18px;
    width: max-content;
    height: 18px;
    line-height: 0;
    align-items: center;
    text-transform: uppercase;
    font-weight: bolder;
}

/*АДМИНКА ----*/
#pun-index tr#forum_f1 .tcl h3 a:before {content: 'This is my domain';}

/*ГОСТЕВАЯ ----*/
#pun-index tr#forum_f2 .tcl h3 a:before {content: 'Change your reality';}

/*ИЩУ ТЕБЯ ----*/
#pun-index tr#forum_f3 .tcl h3 a:before {content: 'we will meet again';}

/*ПРИЕМКА ----*/
#pun-index tr#forum_f4 .tcl h3 a:before {content: 'Erase my scars';}

/*ПРИНЯТЫЕ АНКЕТЫ ----*/
#pun-index tr#forum_f5 .tcl h3 a:before {content: 'Feels like Home';}

/*ОРГАНИЗАЦИОННАЯ ----*/
#pun-index tr#forum_f6 .tcl h3 a:before {content: 'Happy Day In Hell';}

/*ОБСУЖДЕНИЯ СЮЖЕТА ----*/
#pun-index tr#forum_f7 .tcl h3 a:before {content: 'The Nexus Event';}

/*ИГРОВАЯ ЗОНА ----*/
#pun-index tr#forum_f8 .tcl h3 a:before {content: 'faster than a bullet';}

/*АЛЬТЕРНАТИВА ----*/
#pun-index tr#forum_f9 .tcl h3 a:before {content: 'New worlds await';}

/*АРХИВ ЭПИЗОДОВ ----*/
#pun-index tr#forum_f10 .tcl h3 a:before {content: 'Legends never die';}

/*ФЛУД И РАЗВЛЕЧЕНИЕ ----*/
#pun-index tr#forum_f13 .tcl h3 a:before {content: 'why so serious';}

/*ИВЕНТЫ ----*/
#pun-index tr#forum_f14 .tcl h3 a:before {content: '20 Minutes Adventure';}

/*ЛИЧНЫЕ ТЕМЫ ----*/
#pun-index tr#forum_f15 .tcl h3 a:before {content: 'personal responsibility';}

/*РЕКЛАМА ----*/
#pun-index tr#forum_f16 .tcl h3 a:before {content: 'ten thousand crossroads';}

/*ПАРТНЕРСТВО ----*/
#pun-index tr#forum_f17 .tcl h3 a:before {content: 'Dancing with a stranger';}

/*АРХИВЫ ----*/
#pun-index tr#forum_f19 .tcl h3 a:before {content: 'through the graveyard';}


.subforums {
    display: flex;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0;
    justify-content: center;
    line-height: 0;
    flex-wrap: wrap;
    order: 3;
}

.subforums a {
    display: flex;
    width: max-content;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    background: var(--BGmain);
    border-radius: 20px;
    height: 17px;
    color: var(--Textmain) !important;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
}

.subforums a:hover {
background: var(--borderMain);
}

.forum_description {
    display: flex;
    flex-direction: column;
    order: 2;
}

.forum_text {
    line-height: 150%;
    font-size: 10px;
    font-weight: normal;
}

.forum_navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 0 0;
}

.forum_navigation a {
    background: var(--BGmain);
    border-radius: 13px;
    padding: 0 10px;
    display: flex;
    gap: 4px;
    height: 14px;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    width: max-content;
    color: var(--Textmain) !important;
    justify-content: flex-start;
    align-items: center;
    font-weight: 900;
}

.forum_navigation a:hover {background: var(--borderMain);}


#pun-index .category td.tcr {
    padding: 0 0 0 20px !important;
    font-family: 'Geologica';
    line-height: 130%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    width: 40% !important;
}

.AvaLastWrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.LinkLastpost {
    display: flex;
    flex-direction: column;
    height: 50px;
    justify-content: space-around;
}

.Add {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding-right: 20px;
}

.themes, .messages {
    background: var(--BGmain);
    border-radius: 50px;
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 600;
    height: 14px;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.11 */
.punbb .main td {
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  }


/* C2.14 */

.multipage .forum .container {
    background: var(--BGsec);
    border-radius: 20px;
    padding: 10px 20px 10px 20px;
}

.multipage .forum tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--BGmain);
}

.multipage .forum tr.isticky:first-child {}

#pun-viewforum .forum tr .tcl {width: 50% !important;}
#pun-viewforum .forum tr .tc2 {width: 5% !important;padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}
#pun-viewforum .forum tr .tc3 {width: 11% !important;padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}
#pun-viewforum .forum tr .tcr  {width: 30% !important;}


#pun-viewforum .forum tr .tc2::before {content: 'ответов';}
#pun-viewforum .forum tr .tc3::before {content: 'просмотров';}


#pun-searchtopics .forum tr .tcl {width: 50% !important;}

#pun-searchtopics .forum tr .tc2 {width: 11% !important;padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}

#pun-searchtopics .forum tr .tc3 {width: 5% !important;padding-right:10px; display: flex;flex-direction: column;    align-items: center;font-size: 10px;}

#pun-searchtopics .forum tr .tcr  {width: 30% !important;}


#pun-searchtopics .forum tr .tc2::before {content: 'форум';}
#pun-searchtopics .forum tr .tc3::before {content: 'ответов';}


.multipage .forum tr:last-child {border-bottom: none;}

.multipage .forum tr td.tc5.iconset {order:1;}

.multipage .forum tr td.tc4 {
    order: 2;
    padding: 0 !important;
    width: 20px !important;
    height: 100% !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 0 20px;
}

.multipage .forum tr td.tcl {order:3;}
.multipage .forum tr td.tc2 {order:4;}
.multipage .forum tr td.tc3 {order:5;}

.multipage .forum tr td.tcr {
    order: 6;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 80px 10px 0px;
    width: 20% !important;
}

.multipage .forum th.tcr {width: 20% !important;}

div#pun-userlist em.user-avatar {
    position: relative !important;
}

.multipage em.user-avatar {
    position: absolute;
    right: 0;
}

#pun-userlist .usertable thead tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0 10px 20px 10px !important;
    font-size: 0;
    text-align: center !important;
    text-transform: uppercase;
    font-weight: 600;
}

#pun-userlist .usertable thead tr:before {
    content: 'Мугунхва кочи пиёсымнида';
    font-size: 9px !important;
    letter-spacing: 1px;
}

#pun-userlist .usertable thead tr th {display: none;}

.multipage .forum thead tr, #pun-userlist .usertable thead tr {
    color: #d6d6d6;
    height: 20px;
    padding: 0 !important;
    border-radius: 20px;
    overflow: hidden;
    margin: 0px -10px 10px -10px;
    position: relative;
    background: var(--accDark);
}

.multipage .forum thead tr th {
    display: flex;
    justify-content: center;
    font-family: 'Geologica';
    text-transform: lowercase;
    font-weight: 600;
    font-size: 9px;
}

#pun-index tbody.hasicon td.tcl {
    padding: 0px 0 0 30px;
    position: relative;
    width: 60%;
}

.multipage tbody.hasicon td.tcl {
    padding: 0;
    position: relative;
    margin: 0 0 0 20px;
}

.multipage tbody.hasicon td.tcl span.byuser {
    font-family: 'Geologica';
    font-size: 10px;
    display: block;
}

/* C2.15 */
.punbb div.icon {
  height: 0;
  line-height: 0.0;
  width: 0;
  }

/* C2.16 */

.punbb table div.icon {
    position: absolute;
    width: 18px;
    height: 18px;
    left: 0px;
    border-radius: 10px;
    background: var(--BGmain);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 0 !important;
}

.punbb table div.icon.inew {
    background: var(--LinkMain) !important;
}

.icon.inew:before {
    content: '\f06d' !important;
    font-family: "Font Awesome 6 Pro";
    font-size: 11px;
    color: var(--White);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#pun-messages table div.icon {
    position: inherit !important;
    width: 10px;
    height: 10px;
    float: left;
    margin: 9px 10px 0 0;
    background: var(--borderMain);
}

.multipage table div.icon {
    width: 10px;
    height: 10px;
    position: inherit !important;
    font-weight: 700;
    background: transparent;
    opacity: 0.6;
}

.multipage table div.icon:before {
    content: '\e105';
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
    color: var(--LinkMain);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.multipage table tr.isticky div.icon, .multipage table tr.iclosed.isticky div.icon {
    background: transparent;
}


.multipage table tr.isticky div.icon::before, .multipage table tr.iclosed.isticky div.icon::before {
    content: '\f005' !important;
}

.multipage table tr.iclosed div.icon {

}

.multipage table tr.iclosed div.icon:before {content: '\f023' !important;}

.multipage table tr.inew div.icon {
    opacity: 1 !important;
}

.multipage table tr.inew div.icon:before {content: '\f06d' !important;}


 /* Специальные иконки тем
-------------------------------------------------------------*/

input.iconid + img {width: 30px;height: 30px;}


.evening td.tc5.iconset img, .night td.tc5.iconset img, .evening td.pformright img, .night td.pformright img {
}

td.tc5.iconset img, td.pformright img {
    display: none;
}

td.pformright div {
    width: 44px;
    height: 20px;
    display: inline-block;
    border: 1px solid var(--borderMain);
    padding: 0 7px 0 0;
    border-radius: 5px;
    margin: 0 0 0 -29px !important;
    z-index: 0;
    position: relative;
    cursor: help !important;
}

td.tc5.iconset div {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

input.iconid {
    z-index: 1;
    position: relative;
    cursor: pointer !important;
}

td.pformright div:before {
    justify-content: flex-end !important;
}

td.tc5.iconset div:before, td.pformright div:before {
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
    color: var(--Textmain);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.blockOrga:before {content: '\f737';}
.blockAnketa:before {content: '\f2c2';}
.blockEpisode:before {content: '\e5a2';}
.blockFlood:before {content: '\f79f';}
.blockDiary:before {content: '\f499';}
.blockEvent:before {content: '\e31b';}
.blockPartner:before {content: '\f0a1';}




.icons-table:before {display: none;}

table.icons-table {
    background: var(--BGsec);
    border-radius: 5px;
}

.icons-table td {
    border: none !important;
    border-color: transparent !important;
}

.punbb .post h3 span div {display:none;}



 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: 0;
  padding-bottom: 0;
  }

/* C3.2 */

.punbb .post h3 {
    height: 20px;
    padding: 0 0px 0 20px !important;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0px;
    color: #d6d6d6;
    font-weight: bold;
    background: #1d1d1d;
    background-image: url(https://forumstatic.ru/files/001a/f7/d1/67814.png);
    border: 1px solid rgb(59 59 59);
}

/* C3.3 */

div#pun-searchposts .post h3 span {}

div#pun-searchposts .post h3 span .h3Links {
    height: 23px;
    display: flex !important;
    align-items: center;
}

div#pun-searchposts .post h3 span .h3Links a {
    color: var(--White) !important;
    font-weight: normal;
}

div#pun-searchposts .post h3 span .h3Links a:hover{
    color: var(--LinkMain)  !important;
}

div#pun-searchposts .post h3 span .h3Links a:nth-child(2) {
    max-width: 400px;
    overflow: hidden;
    height: 20px;
    display: inline-flex;
}

div#pun-searchposts .post h3 strong {}

div#pun-searchposts .post h3 div#fntSlider {}

.punbb .post h3 span {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: geologica;
    font-size: 10px;
    text-transform: uppercase;
    flex-direction: row-reverse;
    padding: 0 4px 0 4px;
}

.punbb .post h3 a {
    color: var(--White) !important;
    position: relative;
    display: flex;
    align-items: center;
    height: 14px;
    line-height: 0;
}

.punbb .post h3 a:hover {
    color: var(--LinkMain) !important;
}

.punbb .post h3 a.permalink:before {
    font-family: Material Symbols Outlined !important;
    content: '\e8b5' !important;
    position: absolute;
    left: -20px;
    font-size: 15px;
    font-weight: normal !important;
    color: var(--White) !important;
    width: 15px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.evening .post h3 a.permalink:before, .night .post h3 a.permalink:before {opacity: .5;}

.punbb .post.topic-starter h3 a.permalink:before {top: 1px;}

.punbb .post h3 strong {
    display: flex;
    align-items: center;
    flex-direction: row;
    background: var(--BGmain);
    height: 14px;
    width: 30px;
    border-radius: 10px 20px 20px 10px;
    justify-content: center;
    color: var(--Textmain);
    font-weight: 800;
}

/* C3.5 */

div#pun-searchposts .post-author {padding: 13px 0 13px 0;}

.post .post-author {
    float: left;
    width: 240px;
    border-radius: 10px;
    margin: 10px 0 0 0;
    text-align: center;
    padding: 10px 0;
    position: relative;
    background-color: var(--BGmain);
    display: flex;
    justify-content: center;
}

.post .post-author:before {
    content: '';
    width: 240px;
    height: 17px;
    background-color: var(--accDark);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
}

#tuser {
    opacity: 1 !important;
    position: absolute;
    top: -4px;
    transition: all .2s ease;
    width: 10px !important;
    height: 18px !important;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: -47px 0 0 -280px !important;
    background: transparent;
}

#tuser:hover {
    opacity: 0.5 !important;
}

.icons-search:before {
    font-family: "Font Awesome 6 Pro" !important;
    content: '\f865' !important;
    color: var(--Textmain) !important;
    font-size: 16px;
    opacity: 1;
    background: transparent;
}

.post-author ul {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    flex-direction: column;
}

/* Личное звание  ----*/

.post-author li.pa-fld1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 6px 10px 6px 10px;
    gap: 0 !important;
    width: 190px !important;
    position: relative;
}

.post-author li.pa-fld1 personalinfo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.post-author li.pa-fld1 name {
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
}

.post-author li.pa-fld1 name a {
    color: var(--Textmain);
}

.post-author li.pa-fld1 name a:hover {color: var(--LinkMain);}

.post-author li.pa-fld1 race:before {
    content: '\f890';
    font-family: "Font Awesome 6 Pro";
    font-size: 15px;
    font-weight: 900;
    transition: all .7s ease-in-out 0s;
    opacity: .8;
    transform: scaleX(-1);
}

.post-author li.pa-fld1 race {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    min-height: 10px;
    height: 18px;
    padding: 0;
    width: 18px;
    margin: 0 auto;
    font-size: 0;
    position: absolute;
    right: -3px;
    top: -3px;
}

.post-author li.pa-fld1 race:hover:before {
opacity: 1;
color: var(--LinkMain);
}

.post-author li.pa-fld1 career {
    font-size: 10px;
    line-height: 1.3;
    background: var(--BGmain);
    border-radius: 5px;
    padding: 3px;
    font-variant: small-caps;
    text-transform: lowercase;
}

.post-author li.pa-fld1 youtext {
    font-size: 10px;
    padding-top: 3px;
}


/* при просмотре профиля  ----*/

td#profile-right li#pa-fld1 strong {width: 100%;}

td#profile-right li#pa-fld1 personalinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 5px;
}

td#profile-left li#pa-fld1 name {
    display: flex;
    font-size: 12px;
    width: max-content;
    justify-content: center;
    text-align: center;
}

td#profile-left li#pa-fld1 name a {
    color: var(--Textmain) !important;
    text-align: center;
}

td#profile-left li#pa-fld1 name a:hover {
    color: var(--LinkMain) !important;
}

td#profile-left li#pa-fld1 race {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-bottom: 3px;
    text-transform: uppercase;
    font-size: 9px;
    margin-top: 0px;
}

td#profile-left li#pa-fld1 career {
    width: 100%;
    display: block;
    margin-bottom: 0px;
    padding-bottom: 3px;
    font-weight: normal;
    text-align: center;
}

td#profile-left li#pa-fld1 youtext {
    display: block;
    width: 100%;
    font-weight: normal;
    text-align: center;
}


/* Личное звание Конец ----*/


/* Плашка  ----*/

li.pa-fld3 {
    margin: 0 0 -10px 0;
    overflow: hidden;
    height: 40px;
    width: 240px !important;
    border-radius: 0 0 10px 10px;
}

li.pa-fld3 .ribbon {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    background-size: cover !important;
    width: 240px;
}

li.pa-fld3 .rqt {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-size: 9px;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 100%;
    text-shadow: 0 0 3px #000;
}

.rqt.darktxt {
    color: var(--accDark) !important;
    text-shadow: 0 0 3px #e5e5e5 !important;
}

li.pa-fld3 .line1 {
    display: flex;
    width: 240px;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 133%;
    flex-direction: column;
}

.line1 p:last-child {
    text-transform: lowercase;
    font-weight: 400;
}

/* Плашка  Конец ----*/

.post-author ul li {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

li.pa-fld5 {
    margin: 0;
    padding: 0;
    line-height: 0;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    width: 240px !important;
    height: 80px;
    position: absolute;
    z-index: 0;
    top: -10px;
    left: 0;
    pointer-events: none;
}

div#pun-messages .post-author ul li {
    display: flex;
    align-items: stretch;
}

.ProfileStat {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-transform: uppercase;
    justify-content: space-around;
    gap: 7px;
    height: 25px;
    align-items: center;
    padding: 0 !important;
    border-radius: 0 0 6px 6px;
    font-size: 9px;
}

.ProfileStat li {
    width: max-content !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0;
}

li.pa-respect {
    position: relative;
}

.pa-respect a[href*="&v=1&cod"] {
    width: 23px;
    height: 15px;
    display: flex;
    position: absolute;
    left: 19px;
    top: -7px;
    opacity: 0;
}

li.pa-posts span.fld-name:before, li.pa-fld2 span.fld-name:before, li.pa-respect span.fld-name a:before, li.pa-respect span.fld-name:before, li.pa-fld4 span.fld-name:before {
    font-family: Material Symbols Outlined;
    color: var(--Textmain);
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
}

li.pa-posts span.fld-name, li.pa-fld2 span.fld-name, li.pa-respect span.fld-name a, li.pa-respect span.fld-name, li.pa-fld4 span.fld-name, li.pa-fld5 span.fld-name {font-size: 0 !important;}

li.pa-posts span.fld-name:before { content: '\ef42';} 
li.pa-fld2 span.fld-name:before { content: '\e666';} 
li.pa-respect span.fld-name a:before, li.pa-respect span.fld-name:before { content: '\e743';} 
li.pa-fld4 span.fld-name:before { content: '\e850';} 

li.pa-respect span.fld-name a {
    display: flex;
    width: 100%;
    height: 100%;
}


li.pa-reg {
    font-size: 9px;
    text-transform: uppercase;
}

li.pa-ip {
    font-size: 7px;
    font-family: 'Geologica';
    overflow: hidden;
    width: 10px !important;
    height: 20px;
    position: absolute;
    left: -23px;
    bottom: -23px;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
    position: relative;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--Textmain);
    display: flex;
    flex-direction: row-reverse !important;
    justify-content: center !important;
    gap: 6px !important;
    align-items: center !important;
    z-index: 2;
    background: var(--BGmain);
    border-radius: 20px;
    min-width: 50px !important;
    max-width: 200px;
    width: max-content !important;
    padding: 2px 7px !important;
    margin: 10px auto 0 auto !important;
}

/* C3.8 */
.pa-author a {
    color: var(--Textmain) !important;
}

.pa-author a:hover {color: var(--LinkMain) !important;}

li.pa-avatar.item2 {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0 0 0;
    padding: 0;
    border-radius: 6px;
    line-height: 0;
    position: relative;
    z-index: 2;
}

li.pa-avatar.item2 img {
    border-radius: 10px;
    max-width: 180px;
    max-height: 180px;
}

/* C3.9 */
li.pa-title {
    font-size: 10px;
    line-height: 114%;
    font-weight: 100;
    font-family: arial;
    background: var(--BGsec);
    padding: 4px 0;
    width: 240px !important;
    margin: 5px 0 5px 0;
}

/* C3.11 */
div#pun-messages .post {
    margin-top: -20px !important;
    padding-top: 10px !important;
}

.punbb .post {
    background: var(--BGsec);
    scroll-margin-top: 102px;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
}

#post-preview .post-box {
    background: var(--BGsec);
    border-radius: 20px;
    padding: 10px;
}


.punbb .post-body {
    padding: 10px;
    margin: -10px 0 0 250px;
}

div#pun-messages .post h3 {
    margin: 0px 0 10px 0 !important;
    padding: 0 10px !important;
}

/* C3.12 */

.punbb .post-box {
    padding: 0px;
    text-align: justify;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }


/* C3.14 */
div#pun-searchposts .post-links {
    margin: 0 !important;
    width: 940px !important;
}

.punbb .post-links {
    margin-left: 230px;
    margin-top: 10px;
    width: 630px;
}


/* C3.15 */
.punbb .post-links ul {
    height: 22px;
    margin-left: -230px;
    text-align: right;
}

/* C3.16 */
.punbb .post-links li:first-child {
    padding-left: 0px;
}

.punbb .post-links li {
    display: inline-block;
    padding-left: 10px;
}

div#pun-messages .post-links li a {color: #333 !important;}

.punbb .post-links li a {
    width: max-content !important;
    padding: 0 9px;
    text-transform: uppercase;
    font-size: 9px;
    line-height: 0;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
    color: var(--Textmain);
    font-weight: 600;
    background: var(--BGmain);
    border-radius: 30px;
}

.punbb .post-links li a:hover {
    filter: invert(1);
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

del {
    text-decoration: none !important;
    filter: blur(2px);
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
}

del:hover {
    filter: blur(0px);
}

.post-content .highlight-text {
    background: var(--LinkMain) !important;
    color: #fff !important;
    padding: 1px 4px 2px 4px;
    border-radius: 3px;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
text-align: center;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong { }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */

.info {
    background: var(--BGsec);
    min-height: 90px;
    margin: -20px 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.punbb .info .container {
    padding: 10px;
    text-align: center;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */

div#pun-messages div#profile {
    padding: 20px;
    margin: -42px 0 0 0;
    border-radius: 0;
}

div#pun-messages #profile .container {padding: 0 0 0 0 !important;}

#profile .container {
}

#profile fieldset {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--borderMain) !important;
}

fieldset.radiofield {
    padding: 10px !important;
    background: none !important;
    background-color: rgb(230 230 230) !important;
}

/* C6.2 */

li#pa-register-date{order: 1;}
li#pa-last-visit {order: 2;}
li#pa-last-post {order: 3;}
li#pa-time-visit {order: 4;}

.postStat li {flex-grow: 1;}

div#viewprofile-next {
    padding: 0;
    margin-top: -25px;
}

div#viewprofile td#profile-right {
    width: 240px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 10px;
    align-content: space-around;
    border: 1px solid var(--borderMain) !important;
}

td#profile-right .reppostStat {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

td#profile-right .postStat {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
}

td#profile-right .repStat {
    display: flex;
    flex-wrap: wrap;
}

td#profile-right .visitStat {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    order: 4;
    width: 100%;
}

.visitStat li {}

td#profile-right li#pa-awards {order: 5;}

div#viewprofile li#pa-posts {
    display: flex;
    flex-direction: column !important;
}

div#viewprofile li#pa-fld5 strong {
    padding: 0 !important;
}

div#viewprofile li#pa-fld5 {
    background: transparent !important;
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    width: 240px !important;
    height: 80px !important;
    position: absolute;
    left: 0;
    border-radius: 10px 10px 0 0 !important;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

div#viewprofile li#pa-fld3 {
    order: 10;
    margin: 0;
    overflow: hidden;
    height: 40px;
    width: 240px !important;
    border-radius: 0 0 10px 10px;
}

.line1 {
    display: flex !important;
    width: 240px;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 600 !important;
    line-height: 133%;
    flex-direction: column;
    padding: 0 !important;
}


.night .ribbon {filter: brightness(.6);}

.evening .ribbon {filter: brightness(.8);}

.night li.pa-fld5 {filter: brightness(.6);}

.evening li.pa-fld5 {filter: brightness(.8);}

.ribbon {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    height: 40px;
    background-size: cover !important;
    width: 240px;
    padding: 0 !important;
}

.rqt {
    display: flex !important;
    flex-direction: column;
    color: #ffffff;
    font-size: 9px;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 100%;
    text-shadow: 0 0 3px #000;
    padding: 0 !important;
}


div#viewprofile li#pa-email {
    order: 6;
    border: none!important;
    text-transform: uppercase;
    padding: 0 !important;
    background: transparent !important;
}


div#viewprofile li#pa-email strong {
    padding: 0 !important;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
    flex-direction: row;
}

div#viewprofile li#pa-email a.sendpm {
    background: var(--accDark) !important;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    line-height: 0;
    height: 20px;
    border-radius: 20px;
    color: var(--White) !important;
    letter-spacing: 0.5px;
}

div#viewprofile td#profile-right li {
    background: var(--BGsec);
    padding: 7px;
    line-height: 150%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--borderMain);
    text-transform: uppercase;
    font-size: 8px;
}

div#viewprofile td#profile-right li span {}

div#viewprofile td#profile-right li strong {
    padding-left: 5px;
    padding-right: 0 !important;
}

div#viewprofile {
    position: relative;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 20px 20px;
    width: 750px;
    margin: 0 auto 30px auto !important;
    background-color: #181818;
    background-image: url("https://forumstatic.ru/files/001a/f7/d1/67814.png"), url(https://i.ibb.co/MyYTy123/dark-denim-3.png);
    border: 1px solid #ffffff1c;
}

div#viewprofile .container ul tbody tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 40px;
}

div#profile-signature {
    padding: 0 !important;
    margin: 10px 0 0 0;
    width: 100%;
    display: none;
}

#viewprofile #profile-signature ul {
    border-top: none !important;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 15px !important;
}

td#profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    gap: 5px;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 0 !important;
    position: relative;
    min-height: 290px;
    overflow: visible !important;
    border: 1px solid var(--borderMain) !important;
    justify-content: space-between;
}

#viewprofile li#profile-name {order: 1; z-index: 1;}

#viewprofile li#pa-avatar {
    order: 2;
    z-index: 1;
    width: 240px;
    text-align: center;
}

#viewprofile li#profile-title {
    order: 3;
    z-index: 1;
    margin: 0 0 10px 0;
    width: 240px;
}

#viewprofile li#pa-online {
    order: 4;
    width: 30px;
    height: 17px;
    position: absolute;
    left: -5px;
    top: -5px;
    background: var(--BGsec);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    z-index: 3;
    color: var(--Textmain);
    border: 1px solid var(--borderMain);
    line-height: 0;
    align-items: center;
}

#viewprofile li#pa-fld1 {
    order: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -10px 10px 0px 10px;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 6px 10px 6px 10px;
    gap: 0 !important;
    width: 190px !important;
}

#viewprofile personalinfo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    align-items: center;
}

#viewprofile race {
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    min-height: 10px;
    height: max-content;
    padding: 4px 10px;
    background: var(--BGmain);
    border-radius: 20px;
    width: max-content;
    margin: 0 auto;
}

#viewprofile career {
    font-size: 10px;
    line-height: 1.3;
}

#viewprofile youtext {
    font-size: 10px;
    border-top: 4px dotted var(--borderMain);
    padding-top: 3px;
}

#viewprofile li#profile-name strong {
    font-size: 11px;
    text-transform: uppercase;
    display: flex;
    justify-content: center !important;
    background: var(--BGmain);
    border-radius: 20px;
    width: max-content !important;
    padding: 0px 7px !important;
    margin: 10px 0 0 0 !important;
}

#viewprofile li#profile-title strong {
    font-size: 10px;
    text-align: center;
    display: block;
    font-family: 'Geologica';
    line-height: 100%;
    font-weight: normal !important;
}

#viewprofile li#pa-avatar div img {
    border-radius: 6px;
    max-width: 180px;
    max-height: 180px;
}

#viewprofile li#pa-online strong {font-size: 0px;}

#viewprofile li#pa-online strong:before {
    content: '\f690';
    font-family: "Font Awesome 6 Pro";
    font-size: 10px;
    color: var(--LinkMain);
}

#viewprofile li#pa-edit strong a {
    background: var(--accDark);
    color: var(--BGmain);
    display: flex;
    line-height: 0;
    width: max-content;
    height: 15px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.5px;
}

#viewprofile li#pa-edit strong a:hover, div#viewprofile li#pa-email a.sendpm:hover {filter: invert(1);}

div#pun-messages #profilenav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

div#pun-messages #profilenav ul {
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 30%;
    padding: 0 10px;
}

div#pun-messages #profilenav ul:last-child {
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 70%;
}

#profilenav {
    display: flex;
    margin-bottom: 20px;
}

/* C6.3 */

#profilenav li a {
    text-transform: uppercase;
    color: var(--Textmain) !important;
    font-weight: normal;
    background: transparent;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
}

#profilenav li a:hover, #profilenav li.isactive a {
    color: var(--White) !important;
    background: var(--LinkMain);
}


/* C6.4 */

#profilenav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0 0;
    width: 100%;
    background: var(--BGsec);
    height: 50px;
    align-items: center;
    border-radius: 10px;
}

#viewprofile ul {
  margin: 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
display: none;
}

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
    padding: 0 5px;
    position: relative;
    font-weight: bold;
}

/* C6.7 */
#setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }


/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
    float: left !important;
    margin: 0 20px 40px 0 !important;
    max-width: 180px;
    max-height: 180px;
}


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
    border-bottom: none;
    margin-bottom: 0;
    font-size: 11px;
}

/* C7.2 */
#pun-userlist .usertable .container {

  }

/* C7.3 */
#pun-userlist .usertable table {
    display: flex;
    flex-direction: column;
}

#pun-userlist .usertable tbody tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--BGmain);
    padding: 10px 10px 10px 10px;
    position: relative;
    border: 1px solid var(--borderMain);
    border-radius: 5px;
    width: 205px;
}

#pun-userlist .usertable tbody tr td {
    width: 100% !important;
}

#pun-userlist .usertable td.tcl.username {
    display: flex;
    padding: 0 0 0 0px !important;
    justify-content: center;
    align-items: center;
}

#pun-userlist span.usersname {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 100%;
    width: -webkit-fill-available;
    line-height: 1.2;
}

#pun-userlist .usertable span.usersname a {
    background: var(--BGmain);
    color: var(--Textmain) !important;
    border-radius: 5px;
    padding: 0 10px;
    display: flex;
    height: 100%;
    align-items: center;
    width: -webkit-fill-available;
    font-size: 13px;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
    font-weight: 800;
}

#pun-userlist .usertable span.usersname a:hover {
    background: var(--accDark);
    color: var(--BGmain) !important;
}

#pun-userlist td.tc3.num_posts, #pun-userlist td.tc3.registered, #pun-userlist td.tc3.last_visit {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0 0 0 10px;
    background: var(--BGmain);
    margin: 4px 0;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 10px;
}

#pun-userlist td.tc3.num_posts:before, #pun-userlist td.tc3.registered:before, #pun-userlist td.tc3.last_visit:before {
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 700;
}

#pun-userlist td.tc3.num_posts:before {
content: 'Сообщений:';
}

#pun-userlist td.tc3.registered:before {
content: 'Зарегистрирован:';
}

#pun-userlist td.tc3.last_visit:before {
content: 'Последний визит:';
}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {}

/* D1.2 */
#pun-title h1 {}

/* D1.3 */
#pun-title .container {}

/* D1.4 */
#pun-title h1 span  {}

#pun-title table {}

#pun-title td.title-logo-tdl {}

#pun-title td.title-logo-tdr {}

/* 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
-------------------------------------------------------------*/

/* D3.1 */

.MainNavigate.fixed {
    z-index: 999999;
    position: fixed;
    top: 0;
    width: 1000px;
    gap: 10px;
    margin: 0 0 0 -20px;
    left: inherit !important;
    border-radius: 0;
    height: 50px;
    background: var(--BGmain);
    border-bottom: 1px solid var(--borderMain);
}

.MainNavigate.fixed #pun-status span.item5 {
    right: 10px !important;
    left: inherit;
    top: 3px;
    bottom: inherit;
    filter: brightness(1.5);
    letter-spacing: 1px;
}

.MainNavigate.fixed #pun-ulinks li a, .MainNavigate.fixed #pun-navlinks a {

}

.MainNavigate {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 20px;
    position: absolute;
    top: 410px;
    left: 10px;
    background: var(--BGsec);
    width: 980px;
    border-radius: 15px;
    padding: 10px 0 0 0;
    z-index: 10000;
    align-items: center;
}

.MainNavigateWrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.MainNavigate.fixed .MainNavigateWrap {
    padding-left: 10px;
    margin: 5px 0 6px 0;
}

#pun-navlinks {
    margin: -12px 0 0 0;
}

.MainNavigate.fixed #pun-navlinks {
}

/* D3.2 */
#pun-navlinks > .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* D.3 */
#pun-navlinks>ul> li {
    font-family: Geologica;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

#pun-navlinks a {
    color: var(--Textmain);
    height: 20px;
    display: flex;
    line-height: 0;
    align-items: center;
    justify-content: center;
}

#pun-navlinks a:hover {
 color: var(--LinkMain) !important;
}

span.num_msg {
    position: inherit !important;
    margin: -4px 0 0 0 !important;
    height: 14px !important;
    width: 14px !important;
    line-height: 0 !important;
    display: flex !important;
    align-items: center;
    border-radius: 50% !important;
    background: var(--LinkMain) !important;
    font-size: 8px !important;
    justify-content: center;
    padding: 0 !important;
}


/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {margin: 0 !important;}

/* D4.2 */
#pun-ulinks .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Geologica';
    font-size: 9px;
    text-transform: uppercase;
    font-weight: normal;
    flex-direction: row;
    flex-wrap: nowrap;
}

#pun-ulinks li#h-premod a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.notify-bubble {
    background: var(--LinkMain) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-family: 'Geologica' !important;
    font-weight: 400 !important;
    border-radius: 50px !important;
    height: 14px !important;
    width: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: inherit !important;
    padding: 0 !important;
}


/* D4.4 */
#pun-ulinks li a {
    color: var(--Textmain);
    font-weight: 600;
}

#pun-ulinks li a:hover {
    color: var(--LinkMain) !important;
}


/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
    font-size: 10px;
}

#pun-status span.item5 {
    position: absolute;
    bottom: -4px;
    text-transform: uppercase;
    font-size: 8px;
    right: -26px;
    width: max-content;
}

/* D5.2 */
#pun-status .container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    height: 70px;
    max-width: 240px;
    overflow: hidden;
    justify-content: flex-start;
    margin: 0 0 0 10px;
    padding: 0 7px 0 0;
    border-right: 1px solid var(--borderMain);
}

.MainNavigate.fixed #pun-status .container {
    height: 50px;
}

.MainNavigate.fixed #u-ava {
    width: 50px;
    height: 50px;
}

.MainNavigate.fixed #u-ava a {
    width: 50px;
    height: 50px;
}

.MainNavigate.fixed #u-ava a img {
    width: auto;
    height: 50px;
}

#u-ava {
    display: flex;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
}

#u-ava a {
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
}

#u-ava a img {
    width: auto;
    height: 70px;
    border-radius: 10px;
    margin: auto;
}

.statustxt {
    display: flex;
    flex-direction: column;
}

.MainNavigate.fixed .statustxt span.item2, .MainNavigate.fixed .statustxt span.item1 {

}

/* D5.3 */
#pun-status span {

  }

/* D5.4 */

#pun-viewtopic #pun-crumbs1 {
    box-shadow: none;
    border-width: 0 0 1px 0 !important;
    margin: 10px 0 -13px 0;
}

#pun-viewtopic #pun-crumbs1 p.container {padding-bottom: 5px;background: none;}

#pun-crumbs1 {
    margin: 10px 0 30px 0;
}

div#pun-profile #pun-crumbs2 {
    margin: -24px 0 30px 0;
}

#pun-crumbs2 {
    margin: -4px 0 30px 0;
}

#pun-crumbs1, #pun-crumbs2 {
    height: 30px;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* D5.5 */
#pun-crumbs1 p.container, #pun-crumbs2 p.container.crumbs {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: geologica;
    font-size: 10px;
    text-transform: uppercase;
}

#pun-crumbs1 .container a:after, #pun-crumbs2 .container a:after, div#pun-searchposts .post h3 span a:after {
    content: '*';
    margin: 0px 4px 0px 4px;
    display: inline-block;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 330px;
    width: 960px;
}

#pun-announcement .container {padding: 0;}

#pun-announcement .html-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    justify-content: space-around;
    gap: 10px;
}

/* Announcements © max, the murderer!
------------------------------------------------------------------ */

#announcements {
    display: flex;
    position: relative;
    justify-content: center;
}

#announcements .inner {
    display: flex;
    overflow: auto hidden;
    gap: 10px;
    padding-bottom: 5px;
    width: 960px;
    padding-top: 20px;
    justify-content: flex-end;
}

#announcements .inner::-webkit-scrollbar {
    height: 2px;
}

.announcement {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    height: 40px;
    box-sizing: border-box;
    background: var(--BGsec);
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    color: var(--Textmain) !important;
    gap: 15px;
    transition: all 0.2s ease-in-out !important;
}

.announcement .column {
    overflow: hidden;
}

.announcement em {
    font: 800 12px geologica;
    text-transform: uppercase;
    height: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.announcement span {
    height: 11px;
    text-transform: lowercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.announcement .date {
    font: 800 10px geologica;
    box-sizing: border-box;
    height: 100%;
    line-height: 0;
    display: flex;
    align-items: center;
    /* border-right: 1px solid var(--borderMain); */
    padding: 0 6px 0 0;
}

.announcement:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px -10px #000;
    cursor: pointer;
    filter: invert(1);
}

.announcement:hover .date {
    background: rgb(var(--light100));
    color: rgb(var(--text900));
}

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
.statcont {
    width: 34%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: geologica;
    border-right: 1px solid var(--borderMain);
    padding-right: 10px;
    justify-content: center;
}

/* D7.4 */
li#onlinelist.item5.onlinelist {
    width: 62%;
    text-align: center;
}

li#onlinelist.item5.onlinelist span, li#onlinelist.item5.users_24h span {
    text-align: justify;
    margin-top: 6px;
    font-family: 'Geologica';
}

span.e1, span.e2, span.e3 {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}
span.e1 a, span.e2 a, span.e3 a {
    color: var(--Textmain) !important;
}

span.e1 a:hover, span.e2 a:hover, span.e3 a:hover {
    color: var(--LinkMain) !important;
}

span.e4 {
    display: flex;
    font-size: 0;
    line-height: 0;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}


span.e4 a {
    font-size: 10px !important;
    display: flex;
    background: var(--BGmain);
    width: max-content;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--Textmain) !important;
}

span.e4 a:hover {
    color: var(--LinkMain) !important;
}


li#onlinelist.item5.users_24h {
    width: 100%;
    border-top: 1px solid var(--borderMain);
    padding-top: 15px;
    text-align: center;
}

/* D7.5 */
li#onlinelist div {
    font-family: 'Geologica';
}

/* 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 {
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 15px;
    line-height: 0;
    font-size: 8px;
    text-transform: uppercase;
    align-items: center;
    z-index: 0;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  position: relative;
  height: 0;
  z-index: 1;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  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 .user-avatar {
    border-radius: 50% !important;
    height: 50px !important;
    width: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.punbb .user-avatar a {
    border-radius: 50% !important;
    height: 50px !important;
    width: 50px !important;

}

.punbb .user-avatar .avatar-image {
    border-radius: 50% !important;
    height: 50px !important;
    width: 50px !important;
    transition: all .7s ease-in-out 0s;
    filter: opacity(0.8);
}

.punbb .user-avatar .avatar-image:hover {
    transition: all .7s ease-in-out 0s;
    filter: opacity(1);
}

.punbb .user-avatar .isonline {
    top: inherit !important;
    right: 0px !important;
    animation: none !important;
    -moz-animation: none !important;
    -webkit-animation: none !important;
    background: var(--LinkMain) !important;
    border: 3px solid var(--BGsec) !important;
    width: 10px !important;
    height: 10px !important;
    bottom: 0;
}

.punbb .user-avatar.no-avatar .avatar-image {
    background: url(https://forumstatic.ru/files/001a/f7/d1/79819.png) !important;
    background-size: cover !important;
}

/*Кнопки формы ответа*/

div#pun-profile #form-buttons tr {
    width: 855px !important;
    margin: 0 0 10px 10px !important;
}

div#pun-messages #form-buttons tr {
    margin: 0 0px 3px 0px !important;
    width: 835px !important;
}

div#pun-messages #form-buttons tr td#button-mask, div#pun-messages small#plng {display: none;}

div#pun-messages fieldset#post-new #main-reply {
    width: 820px;
    padding: 20px;
    font-family: 'Geologica';
    line-height: 150%;
    border-radius: 10px;
}

div#pun-edit #form-buttons tr {
    margin: 0 0 0 0px !important;
    width: 888px !important;
}

#form-buttons tr {
    display: flex;
    gap: 8px;
    flex-direction: row;
    margin: 0 0 10px -10px;
    height: 30px;
    padding: 0 10px;
    border-radius: 5px;
    background-color: var(--accDark);
    width: 898px !important;
    color: var(--BGsec);
    align-items: center;
    justify-content: space-around;
}

#form-buttons td {
    background: none !important;
    position: relative;
    width: 28px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
opacity: 1;
transition: all 0.3s linear 0s;
}

#form-buttons td:hover {
opacity: .6;
}

#form-buttons td img {
    height: 100% !important;
    width: 100% !important;
    opacity: 0;
}

#form-buttons td:after {
    font-family: Material Symbols Outlined;
    font-size: 22px;
    position: absolute;
    pointer-events: none;
    color: #e7e7e7;
    font-weight: 500;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

td#button-vkladka:after{content: '\e9f7';}
td#button-transL:after{content: '\e8e2';}
td#button-ChangeСase:after {content: '\e053';}
td#button-font:after{content: '\e264';}
td#button-size:after{content: '\e262';}
td#button-bold:after {content: '\e238';}
td#button-italic:after {content: '\e23f';}
td#button-underline:after {content: '\e249';}
td#button-strike:after {content: '\e257';}
td#button-indent:after {content: '\e23e';}
td#button-center:after {content: '\e234';}
td#button-right:after {content: '\e237';}
td#button-link:after {content: '\e178';}
td#button-spoiler:after {content: '\ea19';}
td#button-image:after {content: '\e3f4';}
td#button-image2:after {content: '\e43e';}
td#button-video:after {content: "\e1c4";}
td#button-hide:after {content: "\e897";}
td#button-quote:after {content: "\e244";}
td#button-code:after {content: "\e86f";}
td#button-color:after {content: "\e40a";}
td#button-table:after {content: "\f191";}
td#button-smile:after {content: "\e1d3";}
td#button-sticker:after {content: "\e1d3";}
td#button-keyboard:after {content: "\f028";}
td#button-addition:after {content: "\e146";}
td#button-mask:after {content: "\f4d6";}
td#button-styles:after {content: "\e619";}

#form-buttons {text-align: center;}

td#button-graffiti_rusff, td#button-files_rusff {display:none !important; overflow: hidden !important;}
#form-buttons td#button-left {display:none !important;}

div#pun-edit #tags .container, div#pun-edit #Styles {top: 92px !important;}

div#pun-post #tags .container, div#pun-post #Styles {top: 122px !important;}


#tags .container, #Styles {
    border-radius: 10px;
    border: 1px solid var(--borderMain);
    background: var(--BGmain);
    padding: 10px;
    top: 52px !important;
    overflow: auto;
    max-height: 200px;
    overflow: hidden auto;
}

div#font-area {left: 10px;}
div#size-area {left: 60px;}
div#image-area {left: 240px;right: inherit !important;}
div#video-area {right: inherit !important;left: 360px;}
div#color-area {right: inherit !important;left: 500px;}
div#table-area {right: 190px !important;}
div#keyboard-area {right: 10px !important;}
div#Styles {right: 160px !important;}
div#addition-area {right: 60px !important;}


/* Форма ответа в теме */
div#pun-viewtopic textarea#main-reply {
    width: 888px !important;
    border-radius: 10px;
    outline: none;
    padding: 20px;
    color: var(--Textmain);
    font-family: 'Geologica';
    line-height: 150%;
    margin: 2px 0 0 -10px !important;
    background: var(--BGsec);
}

.grippie {
    margin-right: 0px !important;
}

/* Форма ответа в профиле */

div#pun-profile textarea#main-reply {
    width: 838px !important;
    border-radius: 10px;
    outline: none;
    background: var(--BGsec);
    padding: 20px;
    color: #333;
    font-family: 'Geologica';
    line-height: 150%;
    margin: 2px 0px 0 10px !important;
}

dl.parsedsig {
    padding: 20px;
}

span.label {
    font-family: 'Geologica';
}

/* Счетчик символов */

#form-buttons {
    position: relative;
}

small#plng {
    line-height: 0;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    gap: 4px;
    color: #e7e7e7;
    text-transform: uppercase;
    border-right: 1px solid #9b9b9b;
    padding: 0 8px 0px 0;
    height: 20px;
    display: flex;
}

input[type="submit" i], input#cncl, input#reputationButtonSend, input#reputationButtonCancel, input#SubmitMPst, #mask_dialog input.button, input[type="button" i], input.button {
    cursor: pointer;
    width: max-content !important;
    padding: 0 15px;
    background: var(--BGsec);
    text-transform: uppercase;
    font-size: 9px !important;
    line-height: 0;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 10px 0 0 !important;
    transition: all .7s ease-in-out 0s;
    outline: none;
}


#keyboard-span input {
    text-shadow: none !important;
    margin: 3px 3px 0 0 !important;
    box-shadow: none;
}

input[type="submit" i]:hover, input#cncl:hover, input#reputationButtonSend:hover, input#reputationButtonCancel:hover, input#SubmitMPst:hover, #mask_dialog input.button:hover, input[type="button" i]:hover, input.button:hover {
    opacity: 0.7;
    transform: scale(0.95);
}

input, select, textarea {
    background: var(--BGsec);
    border: none;
    padding: 4px 5px;
    border-radius: 4px;
    margin: 4px 4px 3px 0 !important;
    color: var(--Textmain);
    font-size: 12px;
    outline: none;
}

textarea#main-reply {
    padding: 15px !important;
    width: calc(100% - 30px) !important;
}

#sTheme {
    margin: 0 -1px 0 0 !important;
    border-radius: 6px 0 0 6px !important;
    border: 1px solid var(--borderMain) !important;
}

i#isk {
    border-radius: 0 6px 6px 0 !important;
    display: flex;
    line-height: 0;
    background: var(--BGsec);
    justify-content: center;
    height: 23px !important;
    border: 1px solid var(--borderMain) !important;
}

/* Гостевые правки
-------------------------------------------------------------*/

div#pun.isguest .linksb {
    margin: 10px 0 0 0;
}


div#pun-login .formal, div#pun-register .formal {
    border-radius: 0;
    margin: -30px 0 0 0;
}

div#pun-search .formal {margin: -42px 0 0 0;border-radius: 0;}

div#pun.isguest div#pun-status span.item2 {
    display: flex;
    gap: 3px;
    flex-direction: row;
    justify-content: center;
}


div#pun.isguest div#pun-viewtopic .linksb {
    margin: 10px 0 10px 0 !important;
    border-radius: 6px !important;
}


div#pun.isguest div#pun-viewtopic textarea#main-reply {
    width: 880px !important;
}

div#pun.isguest #form-buttons tr {
    width: 899px !important;
}


div#pun.isguest div#pun-viewtopic .fs-box.hashelp  {
    display: flex;
    flex-direction: column;
}

div#pun.isguest div#pun-viewtopic .fs-box.hashelp p.inputfield.required {
    order: 1;
    margin: 0 0 0 10px;
}

div#pun.isguest div#pun-viewtopic .fs-box.hashelp div#form-buttons
{order: 2}

div#pun.isguest div#pun-viewtopic .fs-box.hashelp p.areafield.required 
{order: 3}


div#pun.isguest div#pun-viewtopic .fs-box.hashelp #tags .container {
    top: 117px !important;
    border-radius: 0 0 10px 10px !important;
}

/* Форум для баннеров
-------------------------------------------------------------*/

.catalog_banners {
    order: 3;
}

.banners {
    position: relative;
    text-align: center;
}

.banners:before {
    content: 'баннеры перемешиваются при обновлении страницы с:';
    margin: -5px 0 3px 0px;
    display: block;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.banners .cont {
    display: flex;
    gap: 5px;
    justify-content: space-evenly;
    max-height: 130px;
    overflow-y: hidden;
    overflow-x: auto;
    margin: 0 auto;
    flex-direction: row;
    text-align: center;
    width: 930px;
}

tr#forum_f18 {
    margin: 0 -10px -17px -10px !important;
}
tr#forum_f18 .icon, tr#forum_f18 h3, tr#forum_f18 td.tcr {display:none !important;}
tr#forum_f18 .tcl {width: 100% !important;padding: 0 !important;}


/* Сворачивание категорий  ----*/



/* Фоны доп. окон
-------------------------------------------------------------*/

div#forum-foundation {
    margin: -30px 0 24px 0 !important;
    padding: 20px;
    background: #d6d6d6;
}

div#forum-foundation .container {
    background: #d6d6d6;
}

div#pun-respect div#pun-main, div#pun-positive div#pun-main {
    background: #d6d6d6;
    margin: -30px 0 24px 0;
    padding: 0 0 0 20px;
}

div#pun-online div#pun-main {
    background: var(--BGsec);
    margin: -30px 0 24px 0;
    padding: 0 20px;
    border-radius: 10px;
}

div#profile.formal {
    border-radius: 0px;
    margin: -42px 0 12px 0;
}

.formal {
    border-radius: 10px;
    padding: 10px 20px;
}

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, .modal-inner.section {
    background: var(--BGmain);
    border-radius: 6px;
    z-index: 1000001 !important;
}

#pun-report .bg, #pun-reputation .bg, #pun-admin-award-form .bg {
    background: rgb(0 0 0 / 44%) !important;
    opacity: 1 !important;
    backdrop-filter: blur(3px) !important;
    z-index: 1000000 !important;
}

/* Аватар и ссылка в цитате
-------------------------------------------------------------*/
    .quote-box.with-avatar{}
    .author-avatar+span {margin-left:-40px;}
.author-avatar {
    float: left;
    width: 40px;
}

.author-avatar > img {
    width: 30px;
    border-radius: 3px;
    height: auto;
}

/* БыстроПлюсы для Топика!
-------------------------------------------------------------*/

.mylike div .post-rating p>a:before {
    content: "\f60a";
    font-size: 16px;
    display: inline-block;
    margin-left: -56px;
    margin-top: 0px;
    position: absolute;
    font-family: Material Symbols Outlined !important;
    color: var(--Textmain);
    opacity: 1 !important;
    font-weight: 800;
}

div.post-rating p {
    width: 55px;
    text-align: right;
    border-radius: 10px;
    height: 20px;
    position: absolute;
    bottom: -47px;
    right: 0;
}

div .post-rating p>a {
    outline: none;
    font-weight: 800 !important;
    z-index: 100;
    width: 32px;
    height: 16px;
    font-size: 10px !important;
    line-height: 0;
    letter-spacing: 2px;
    color: #fff !important;
    position: absolute;
    top: 5px;
    right: -7px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 20px 20px 10px;
    font-family: 'Geologica' !important;
}


div.post-vote {
    margin-bottom: 65px;
}

.mylike div.post-vote {
    display: none !important;
}

div.post-vote p>a {
    font-size: 0 !important;
    position: absolute;
    cursor: pointer;
    z-index: 200;
    width: 20px;
    height: 20px;
    display: flex;
    background-size: 80%;
    align-items: center;
    bottom: -45px;
    right: 34px;
}

div.post-vote p>a:hover {
opacity: 0.6;
}

div.post-vote p>a:before {
    font-family: Material Symbols Outlined;
    content: '\e0b9';
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
}

.post.dark-style div.post-vote p>a {/*перекраска для другого стиля, удалите если у вас стоит стиль без перекрасок*/
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}

/* Окно пресетов  ----*/

div#meny-styles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#Styles .container p {
    padding: 0;
}

/* Стикеры  ----*/

.hvStickerPackModal {
    background: var(--BGsec) !important;
    color: var(--Textmain) !important;
    border-radius: 20px !important;
    border: none !important;
}

.hvStickerPackModalContent {
    border: 1px solid var(--BGmain) !important;
    border-radius: 10px;
}

/* Маска профиля  ----*/

#mask_dialog .inner.container {
    border-radius: 6px;
    box-shadow: none;
    background: var(--BGmain) !important;
    padding: 20px;
    width: 900px !important;
    max-width: 1000px !important;
    z-index: 1000001 !important;
}

#mask_dialog .hv-preview-block {
    flex: inherit !important;
    width: 190px !important;
    margin: 0 20px 0 0 !important;
    background: var(--BGsec);
    border-radius: 10px;
    padding: 10px 0;
    max-width: inherit !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hv-form-block {
    flex: inherit !important;
    width: 550px;
    padding: 0 20px 0 0;
    line-height: 1.2;
    font-size: 10px;
    text-transform: uppercase;
}

.hv-mask-dialog-title {
    font-size: 11px !important;
    text-transform: uppercase;
    line-height: 1 !important;
    margin: -10px 0 10px 0;
    background: var(--BGsec);
    border-radius: 50px;
    padding: 6px 0;
}

.hv-preview-author {
    font-weight: bold;
    line-height: 1;
    font-size: 12px !important;
    order: 1;
}

.hv-preview-avatar {order: 2;}

.hv-preview-title {
    line-height: 1.1;
    font-size: 10px;
    text-transform: lowercase;
    order: 3;
}

/* Разное  ----*/
#volSlider .thumb {
    top: -16px !important;
}

li.item8.nav-item-notifications a {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

span.bubble {
    position: inherit !important;
    margin: 1px 0 0 0 !important;
    top: inherit !important;
    right: inherit !important;
    background: #333333 !important;
    border-radius: 50%;
    padding: 0 !important;
    line-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px !important;
    height: 14px !important;
    min-width: inherit !important;
    font-size: 7px !important;
    color: #d6d6d6;
}

.MainNavigate.fixed span.bubble {
    background: #cd9146 !important;
}

div#MyBookmarks, .editBookmark {
    background: #d6d6d6;
}

.editBookmark h1 {display: block !important;}


/* Правки полей текста на страницах  ----*/

div#pun-post #pun-crumbs1 {
    margin: 10px 0 -20px 0;
    height: 40px;
}

div#pun-post .fs-box.hashelp p.areafield.required textarea#main-reply {
    width: 880px !important;
    margin: 0 0 0 -10px !important;
    border-radius: 10px !important;
    padding: 20px;
}

div#pun-post .fs-box.hashelp {
    display: flex;
    flex-direction: column;
}

div#pun-post .fs-box p.inputfield:nth-child(7) {
    order: 1;
    margin: 0 0 0 10px;
}

div#pun-post .fs-box.hashelp div#form-buttons {
    order: 2;
}

div#pun-post .fs-box.hashelp p.areafield.required {
    order: 3;
}

div#pun-post .fs-box.hashelp table.icons-table {
    order: 4;
}

div#pun-post .fs-box.hashelp p.checkfield {
    order: 5;
}


/* Скроллы */


@-moz-document url-prefix() {
body * {
  scrollbar-width: thin;
  scrollbar-color: var(--LinkMain) #b4b4b4;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--LinkMain) #b4b4b4;
}
}


::-webkit-scrollbar-thumb {
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--LinkMain);
    cursor: pointer;
    border-radius: 10px;
}


::-webkit-scrollbar-button { 
    background-repeat:no-repeat; 
    width:6px; 
    height:0px 
} 

::-webkit-scrollbar-track {
    background-color: #b4b4b4;
    border-radius: 10px;
}

::-webkit-resizer{ 
background-repeat:no-repeat; 
width:7px; 
height:0px 
} 

::-webkit-scrollbar {width: 6px;}
::-webkit-scrollbar:horizontal {height: 6px;}

.punbb ::-webkit-scrollbar:horizontal {height: 3px;}

.punbb ::-webkit-scrollbar{width: 3px;}

postec::-webkit-scrollbar {
    width: 3px !important;
}

.shell a p::-webkit-scrollbar {
    width: 3px !important;
}

/* Стиль нужных  ----*/
.wanted {
    position: absolute;
    top: 230px;
    z-index: 1;
    left: 10px;
    width: 530px;
    height: 91px;
    display: flex;
    align-items: center;
}

.wanted h2 {
    display:none;
    height: 33px;
    padding: 0 !important;
    border-radius: 6px 6px 0 0;
    border: 1px solid #4a4a49;
    overflow: hidden;
    background: url(//forumstatic.ru/files/0019/7b/cd/25650.webp) -450px -1040px no-repeat;
    margin: 0 -21px 0 -21px;
}

.wanted h2 span {
width: 100%;
    height: 33px;
    display: flex;
    font-family: 'Geologica';
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #cd9146;
    letter-spacing: 2px;
    align-items: center;
    justify-content: center;
}

.shell {
    display: flex;
    height: 91px;
    width: 500px;
    overflow: hidden;
    gap: 10px;
    margin: 10px;
    justify-content: flex-start;
    align-items: center;
    -webkit-mask: linear-gradient(90deg, 
    #000 0%, 
    #000 70%, 
    transparent 100%);
    mask: linear-gradient(90deg, 
    #000 0%, 
    #000 30%, 
    transparent 100%);
    transition: -webkit-mask 0.3s ease;
    transition: mask 0.3s ease;
    transition: mask 0.3s ease, -webkit-mask 0.3s ease;
    flex-direction: row;
    flex-wrap: wrap;
}

.shell:hover {
  -webkit-mask: linear-gradient(90deg, 
    #000 0%, 
    #000 100%);
  mask: linear-gradient(90deg, 
    #000 0%, 
    #000 100%);
}

.shell a {
    width: 147px;
    min-width: 147px;
    height: 30px;
    display: flex;
    border-radius: 5px;
    background: #1d1d1d;
    padding: 5px;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    color: #c2c2c2 !important;
}

.shell a:hover {
    filter: opacity(1) grayscale(0);
    color: var(--LinkMain) !important;
}

.shell a:hover img {
transform: scale(1.1);
transition: all .3s ease-in-out 0s;
    filter: grayscale(0);
}

.shell wi {
    display: flex;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 2px;
    align-items: center;
    justify-content: center;
}

.shell a img {
    transition: all .3s ease-in-out 0s;
    width: auto;
    height: 30px;
    filter: grayscale(.5);
}

.shell a p {
    max-height: 30px;
    padding: 0 5px 0 0;
    margin: auto;
    font-size: 10px;
    line-height: 1.15;
    overflow: auto;
    width: 100px;
}


/* Стиль гостевой  ----*/

.gostevaya {
    background: var(--gostevayaBG) top left no-repeat, url(https://forumstatic.ru/files/001a/f7/d1/46496.webp);
    border-radius: 20px;
    position: relative;
    padding: 240px 0 0 0;
}

.metaverseTag {
    color: #fff;
    position: absolute;
    top: 5px;
    left: 458px;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
    mix-blend-mode: exclusion;
    filter: blur(1px);
    width: max-content;
    height: 40px;
    transform: rotate(1deg);
}

.admini p {padding: 0!important;}

.admini {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: flex-start;
    text-transform: uppercase;
    font-size: 8px;
    padding: 0 10px;
    width: max-content;
    gap: 4px;
    font-family: geologica;
    font-weight: 700;
    position: absolute;
    top: 150px;
    left: 401px;
    letter-spacing: 1px;
    line-height: 0;
    color: #000;
    background: url(https://forumstatic.ru/files/001a/f7/d1/30619.png);
    background-color: var(--BGsec);
    transform: rotate(-2deg);
    box-shadow: 1px 1px 0 var(--LinkMain);
    z-index: 1;
}

.janr {
    position: absolute;
    top: 143px;
    left: 30px;
    text-transform: uppercase;
    font-size: 10px;
    color: #000;
}

.pravila li p {
    background: url(https://forumstatic.ru/files/001a/f7/d1/30619.png);
    background-color: var(--BGsec);
    transform: rotate(2deg);
    box-shadow: 1px 1px 0 var(--LinkMain);
    padding: 2px 5px !important;
    margin: 0 0 6px 0 !important;
    display: block;
}

.pravila ul {
    list-style: none !important;
}

.pravila {
    position: absolute;
    right: 30px;
    top: 134px;
    width: 300px;
    display: flex;
    height: 120px;
    line-height: 0;
    font-size: 9px;
    text-transform: uppercase;
    color: #000;
    align-items: center;
}

.gostevaya .quote-box, .gostevaya .code-box {
    background: var(--BGsec) !important;
}

.gostevaya .code-box {
    margin: 0 0 0 0 !important;
    border-radius: 6px 6px 13px 13px !important;
}

.gostevaya .quote-box blockquote {
    height: 280px;
    overflow: auto !important;
    line-height: 150%;
    padding-right: 10px;
}

/* Стиль анкеты  ----*/
.anketa {
    background: var(--BGmain);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin: 0 auto 10px auto !important;
    max-width: 710px;
}

.kartinka {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: row;
}

.kartinka p img {
    border-radius: 10px;
    margin: 0 !important;
    max-height: 200px;
}

.kartinka p {
    padding: 0!important;
    margin: 0!important;
    line-height: 0!important;
    display: flex;
    gap: 10px;
    max-width: 730px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.ankInfo p {
    padding: 0!important;
    margin: 0!important;
    line-height: 1!important;
    text-align: center;
}

.shapka {
    display: flex;
    flex-direction: column;
    border-radius: 10px 10px 0 0;
    margin: -20px -20px 0 -20px !important;
    padding: 10px;
    background: url(https://forumstatic.ru/files/001a/f7/d1/71332.webp) top center no-repeat;
    background-color: #313131;
    height: max-content;
    overflow: hidden;
    color: #e8e8e8;
    text-shadow: 1px 1px 1px #000;
    gap: 10px;
}

.kartInfo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ankInfo {
    width: calc(100% - 20px);
    padding: 10px;
    background: rgb(0 0 0 / 28%);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: max-content;
    justify-content: space-between;
    align-items: center;
}

.ankImena {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.ankDrugoe {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 6px;
    height: max-content;
    align-items: center;
    justify-content: space-around;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.5px;
}


.imyaRus {
    min-height: 20px;
    width: max-content;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}

.imyaEng {
    min-height: 20px;
    width: max-content;
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 10px;
}

.prozviche {
    min-height: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio, .supersily {
    margin: 20px 0 0 0  !important;
    padding: 15px 17px 15px 15px;
    border-radius: 6px;
    background: var(--BGsec);
}

.anketa .quote-box {
    border: 1px solid var(--borderMain);
    border-radius: 6px;
}

.anketa .spoiler-box {
    background: var(--BGsec) !important;
}

.rabota {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 40px;
    background: rgb(0 0 0 / 28%);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    padding: 5px 8px;
}

.rabota p {
    padding: 0 !important;
    text-align: center;
}

.let, .rasa, .lokacia, .vneha {
    min-height: 20px;
    width: max-content;
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 8%);
    padding: 0 5px;
    border-radius: 4px;
    flex-grow: 1;
    justify-content: center;
    max-width: 660px;
}


/* Стиль картинок лора  ----*/

.quest {
    width: 700px;
    margin: auto;
    background: pink;
    height: auto;
    display: block;
    min-height: 200px;
    position: relative;
}

.quest .quote-box {
    box-shadow: 0 0 0 4px var(--borderMain);
    margin: 15px 0px 15px 0px !important;
}

.lore img, .quest img {border-radius: 10px;}

/* Стиль новостей форума  ----*/

.post_novosti {
    background: var(--BGmain);
    border-radius: 10px;
    padding: 20px;
    margin: 0 0 20px 0;
}

.post_novosti .quote-box {
    background: var(--BGsec) !important;
}

.post_novosti .zagolovok {
    color: var(--White);
    margin: -20px -20px 20px -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    padding: 9px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 1px 1px 0 #333;
    background: url(https://i.ibb.co/MyYTy123/dark-denim-3.png) top center repeat;
    background-color: #181818;
    border: 1px solid rgb(59 59 59);
}


/* Наполнение в шапке  ----*/

LogoGif {
    background: url(http://forumstatic.ru/files/001b/6f/11/29044.gif) top center no-repeat;
    width: 1000px;
    height: 95px;
    display: block;
    position: absolute;
    top: -60px;
    left: 0;
    mix-blend-mode: plus-lighter;
    filter: blur(1px) hue-rotate(10deg);
}

.header_info {
    position: absolute;
    top: 0px;
    display: flex;
    width: 1000px;
    height: 290px;
    left: 0;
}

.header_wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.header_info .back:before {
    content: '';
    background: var(--LinkMain);
    background: radial-gradient(circle, var(--LinkMain) 10%, rgba(0, 0, 0, 0) 36%);
    width: 60%;
    height: 60%;
    position: absolute;
    mix-blend-mode: darken;
    top: -20px;
    right: -180px;
}

.song {
    z-index: 1;
    position: absolute;
    font-size: 7px;
    text-transform: lowercase;
    line-height: 1.3;
    left: 440px;
    top: 100px;
    transform: rotate(-12deg);
    mix-blend-mode: soft-light;
    letter-spacing: 1px;
    width: max-content;
    height: max-content;
    overflow: hidden;
}

.song.s1 {
    top: 101px;
    right: 20px;
    left: inherit !important;
}

.song.s2 {
    left: 560px;
    top: 264px;
    transform: rotate(4deg);
}

.song.s3 {
    top: 284px;
    left: 790px;
    transform: rotate(-6deg);
}

.song a {
    color: #fff !important;
}

.song a:hover {
opacity: 0.6;
}


.header_info .back {
    width: 1000px;
    height: 370px;
    background: url(https://forumstatic.ru/files/001c/23/f5/63946.png);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 18px 18px 0 0;
}

.guestnav {
    width: 360px;
    height: 90px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: absolute;
    left: 25px;
    top: 103px;
    line-height: 0;
    align-content: center;
    align-items: center;
    gap: 3px 2px;
    z-index: 1;
    /* transform: rotate(2deg); */
}

.guestnav a:before {
    content: '\e5d6';
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 10px;
    margin: 0 5px 0 0;
    color: var(--LinkMain);
    opacity: 0.7;
}

.guestnav a {
    color: #000 !important;
    display: flex;
    padding: 9px 5px;
    background: rgb(29 29 29 / 77%);
    color: #eeeeee !important;
    font-weight: 300 !important;
    border-radius: 2px;
}

.guestnav a:hover {
color: var(--LinkMain) !important;
}

/*.guestnav::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% - -8px);
    height: calc(100% - 61px);
    z-index: -1;
    background: transparent;
    border-radius: 13px;
    border: 1px solid var(--BGmain);
    pointer-events: none;
}*/

.header_info postnedeli, .header_info postopisi, .header_info activisti {display: none !important;}

postnedeli a.postNick:first-letter {color: #e1a355;}

postnedeli a.postNick {
    margin-left: 100px;
    color: #d6d6d6 !important;
    display: block;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

postnedeli postec a {
    font-size: 10px;
    color: #d6d6d6 !important;
    text-shadow: 1px 1px 2px #000;
    display: block;
    white-space: pre-line;
}

postnedeli postec a:hover {
    color: #fff !important;
}

postec {
    height: 60px;
    overflow: auto;
    padding-right: 7px;
    line-height: 1.2;
}

postnedeli {
    position: absolute;
    right: 20px;
    top: 130px;
    z-index: 1;
    width: 280px;
    height: 77px;
    display: flex;
    flex-direction: column;
    gap: 7px 10px;
    line-height: 1;
    padding: 10px 10px 0 0;
    transition: all .7s ease-in-out 0s;
    text-align: justify;
    overflow: hidden;
}

postnedeli:before {
    content: 'хайлайт недели: ';
    font-family: geologica;
    font-size: 10px;
    position: absolute;
    left: 0;
    font-weight: 500;
    text-transform: lowercase;
    color: #fff;
    letter-spacing: 1px;
    top: 10px;
}



activisti {
    position: absolute;
    left: 20px;
    top: 60px;
    z-index: 1;
    width: 420px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 10px;
    line-height: 1;
    padding: 10px 0 0 10px;
    align-items: center;
    justify-content: flex-start;
    transition: all .7s ease-in-out 0s;
}

activisti:before {
    content: 'звезды недели';
    font-family: geologica;
    font-size: 10px;
    position: absolute;
    bottom: -15px;
    left: 15px;
    font-weight: 500;
    text-transform: lowercase;
    color: #fff;
    letter-spacing: 1px;
}


postopisi:before {
    content: 'герои недели';
    font-family: geologica;
    font-size: 10px;
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-weight: 500;
    text-transform: lowercase;
    color: #fff;
    letter-spacing: 1px;
}

postopisi {
    position: absolute;
    right: 20px;
    top: 60px;
    z-index: 1;
    width: 420px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 10px;
    line-height: 1;
    padding: 10px 10px 0 0;
    align-items: center;
    justify-content: flex-end;
    transition: all .7s ease-in-out 0s;
}

postopisi a num {
    display: flex;
    width: 100%;
    height: 100%;
    line-height: 0;
    align-items: center;
    justify-content: center;
    background: #cd9146;
    font-weight: 900;
    font-size: 13px;
    text-shadow: 1px 1px 3px #000;
    transform: scale(0);
    transition: all .5s ease-in-out 0s;
    border-radius: 50%;
}

postopisi a:hover num {
    transform: scale(1);
    transition: all .5s ease-in-out 0s;
}

postopisi a, activisti a {
    display: flex;
    padding: 0;
    border-radius: 50%;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 200;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    filter: opacity(0.7) grayscale(0.4);
}

postopisi a {
    box-shadow: 2px 2px 5px 0 #000;
}

activisti a {
    box-shadow: -2px -2px 5px 0 #000;
}


postopisi a:hover, activisti a:hover {
    filter: opacity(1) grayscale(0);
}

ttl {
    color: var(--primary-TEXT);
    padding-right: 2px;
    margin-left: 10px !important;
    font-weight: 600;
}

inf0, inf, .bestie, inf1, .amc {
    z-index: 1;
    position: absolute;
}


inf00 {
    position: absolute;
    z-index: 1;
    color: #1e1e1e;
    right: 158px;
    top: 20px;
    text-transform: uppercase;
    font-weight: 400;
    mix-blend-mode: overlay;
    font-size: 20px;
    transform: rotate(-9deg);
    height: 35px;
    display: flex;
    line-height: 0;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 200px;
    filter: blur(1px);
}

inf0 {
    position: absolute;
    right: 0px;
    top: 147px;
    overflow: hidden;
    width: 410px;
    height: 90px;
    border-width: 1px 1px 0 1px;
    display: flex;
    justify-content: center;
    font-size: 127px;
    font-weight: 400;
    align-items: center;
    line-height: 0;
    padding: 0 0 0 30px;
    mask-position: center;
    mask-repeat: no-repeat;
    font-family: UrbanDecaySP;
    color: white;
    transform: rotate(-10deg);
    letter-spacing: 5px;
    mix-blend-mode: overlay;
    filter: blur(0.5px);
}

inf1 {
    font-size: 9px;
    overflow: hidden;
    height: 21px;
    width: 230px;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 0;
    align-items: flex-start;
    position: absolute;
    top: 30px;
    left: 30px;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 700;
    background: rgb(29 29 29 / 77%);
    color: #c2c2c2 !important;
    padding: 10px;
    border-radius: 5px;
}

inf1 op {
    height: 15px;
    display: flex;
    align-items: center;
    width: max-content;
}

inf1 op:first-child {
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    padding-bottom: 7px;
}

inf1 op:last-child {

}

.amc {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: flex-start;
    text-transform: uppercase;
    font-size: 8px;
    padding: 0 10px;
    width: max-content;
    gap: 4px;
    font-family: geologica;
    font-weight: 700;
    position: absolute;
    top: 69px;
    left: 25px;
    letter-spacing: 1px;
    line-height: 0;
    color: #000;
    background: url(https://forumstatic.ru/files/001a/f7/d1/30619.png);
    background-color: var(--BGsec);
    transform: rotate(1deg);
    box-shadow: 1px 1px 0 var(--LinkMain);
}

.amc:before {
    content: 'амс:';
    font-family: geologica;
    font-size: 10px;
    font-weight: normal;
    text-transform: lowercase;
}

.amc a {
    display: block;
    color: #000 !important;
}

.amc a:hover {
    color: var(--LinkMain) !important;
}

.buyApt {
    position: absolute;
    top: 210px;
    z-index: 1;
    display: flex;
    gap: 2px;
    width: max-content;
    left: 10px;
}

.buyApt * {
    color: #000;
    background: url(https://forumstatic.ru/files/001a/f7/d1/30619.png);
    background-color: var(--BGsec);
    transform: rotate(-2deg);
    display: flex;
    width: max-content;
    box-shadow: 0 0 7px -3px #000;
    padding: 0 5px;
    height: 20px;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-weight: 300;
    font-size: 10px;
    box-shadow: 1px 1px 0 var(--LinkMain);
}


/* Оформление админки */

div#pun-admin_style #pun-admain .adformal p.submitend {
    position: fixed;
    top: 0;
    background: #333;
    z-index: 999999;
    width: 1000px;
    margin: 0 0 0 -206px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.punbb-admin #pun-navlinks {
    position: sticky;
    top: 40px;
    background: #333;
    z-index: 999999;
}

.punbb-admin #pun-ulinks {
    position: sticky;
    top: 62px;
    background: #b8b8b8;
    z-index: 999999;
}


.adformal {
    border: none !important;
}

#pun-admain fieldset {
    padding: 0 !important;
}

#pun.isuser.ismoderator.isadmin .punbb-admin {

}

.adformal h2, #pun-adnav h2 {
    padding: 0 10px !important;
    border-style: none !important;
    color: var(--borderMain)!important;
    border-radius: 15px 15px 0 0 !important;
    background: #333 !important;
    font-family: 'Geologica';
}

.adcontainer {
    border-radius: 10px !important;
    border: 1px solid var(--borderMain) !important;
    margin: 1px 0 0 0 !important;
    padding: 10px;
    background: var(--BGsec);
    margin-bottom: 20px !important;
}

#pun-admain legend span {
    padding: 5px 10px !important;
    background-color: #333 !important;
    border-radius: 10px;
    color: var(--BGmain) !important;
}

.punbb-admin {
    margin: -313px 0 0 0;
}



/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/ 
/*Cкрытие формы входа без клика*/ 
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}
#pun-navlinks #New-exit img{ 
position:absolute; 
width:17px; 
height:auto;
opacity:.8;
}
#pun-navlinks #New-exit:hover{
 opacity: .4;
}
/*Стиль доп-иконки Выход!*/ 

.punbb #pun-navlinks a#New-exit {
    position: absolute;
    z-index: 100000!important;
    margin-top: -1px!important;
    margin-left: 50px!important;
    float: none!important;
    background: var(--accDark);
    width: 26px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.punbb #pun-navlinks a#New-exit:before {
    content:none;
}

.punbb #pun-navlinks #form-login input {
    text-rendering: auto;
    margin-top: 4px!important;
    border-radius: 5px;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    display: inline-block!important;
    text-align: center;
    background-color: var(--BGmain);
    border: 1px solid var(--borderMain);
}

.punbb #form-login #fld1, #form-login #fld2 {
    background-color: rgb(231 231 231);
}


.punbb #pun-navlinks #form-login input[type="submit"]{ 
} 
/*Стиль формы входа*/ 

.punbb #pun-navlinks #form-login {
    display: block;
    color: var(--Textmain);
    text-transform: none;
    position: absolute!important;
    left: -300px;
    top: 17px;
    z-index: 100000!important;
    padding: 10px;
    background: var(--BGsec);
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--borderMain);
    width: 450px;
    font-weight: normal;
    font-family: 'Geologica';
}

#pun-navlinks #navlogin #form-login { 
 margin-left: -27px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
 margin-left: -27px;/*Подвижки формы влево от выход*/ 
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -120px!important;/*Подвижки формы влево от выход для АМС*/
} 
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */ 
#pun-navlinks #form-login input[value="Войти"]+p{ 
margin-bottom: 11px; 
margin-top: 11px; 
} 
.punbb #pun-navlinks #form-login a.Rega, .punbb #pun-navlinks #form-login a.Forgot {
    position: relative;
    text-transform: none!important;
    z-index: 20;
    cursor: pointer;
    color: var(--LinkMain) !important;
    font-size: 10px;
}
.punbb #pun-navlinks #form-login a.Rega:before, 
.punbb #pun-navlinks #form-login a.Forgot:before{
  content:none;
}
/* Помечаем красным незаполненные поля!*/ 
#form-login input.none{ 
outline:red dashed 2px!important; 
} 
/*Форма слево(с Никами) */ 

#List-UserNames {
    height: 218px;
    width: 220px;
    padding: 10px;
    text-align: center;
    margin: 0;
    float: left;
    border-right: 1px solid var(--borderMain);
}

/*Стиль контейнера под список Ников*/ 
.punbb #List-UserNames ul {
    padding: 0;
    overflow: hidden;
    overflow-y: auto;
    height: 170px;
}

.punbb #List-UserNames li {
    display: block!important;
    position: relative;
    background: var(--BGmain);
    text-align: left;
    box-shadow: 1px 1px 0px 0px var(--LinkMain);
    padding-left: 5px!important;
    margin: 1px 7px 7px auto !important;
    padding: 2px 0 2px 8px !important;
    transition: .33s;
    border-radius: 5px;
}

.punbb #List-UserNames li:hover{ 
opacity:.8; 
} 
/*Стиль Ников*/ 

.punbb #List-UserNames li>b {
    cursor: pointer;
    font-family: 'Geologica' !important;
    line-height: 1.5;
    color: var(--Textmain);
}

.punbb #List-UserNames li>b:hover{ 
opacity:.8; 
} 

/*Скролл контейнера с никами*/ 
#List-UserNames ul::-webkit-scrollbar { 
width: 3px; 
height: 3px; 
} 
#List-UserNames ul::-webkit-scrollbar-track { 

} 
#List-UserNames ul::-webkit-scrollbar-thumb { 

} 
/*Кнопки Удалить (правее ников)*/ 
#List-UserNames ul li>span {
    display: inline-block;
    padding: 0 3px;
    position: absolute;
    opacity: .88;
    cursor: pointer;
    top: -3px;
    bottom: 0;
    right: 2px;
    color: var(--LinkMain);
    font-weight: 800;
    font-size: 14px;
}

/*Текст при отсутствии запомненных Ников!*/ 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справо, или через перенос ниже!"; 
} 
/*Кнопка выход-2*/ 
#navlogin #exit-2 { 
display:none; 
} 
#navlogout .Rega, 
#navlogout .Forgot { 
display:none; 
} 
/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/ 
#List-UserNames ul+span{ 
display:inline-block; 
padding:6px 0 8px 0; 
text-align:left; 
font: normal normal 400 10.56px/normal Verdana;
} 
/*Сам инпут*/ 

.punbb #List-UserNames input {
    border: 1px solid var(--borderMain);
    text-shadow: none!important;
    color: #333 !important;
    background-color: var(--BGmain);
    padding: 2px !important;
    vertical-align: middle;
}

/*Стрелочки к инпуту*/ 
#List-UserNames ul+span b{ 
font: normal normal 400 13px/normal Verdana; 
padding:0 3px; 
color: #342D2C; 
} 
/*Кликалка слево, чуть выше инпута*/ 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 
/*Кликалка справо*/ 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 
/*Подсказки на кликалках*/ 
.tipsy.a11 { 
font: normal normal 400 11px/normal Tahoma!important; 
margin-top:-22px!important; 
margin-left: 148px!important; 
max-width:170px; 
} 
/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/



/* Additional menus © max, the murderer! */

#pun-navlinks .container li {
    position: relative;
}

#pun-navlinks .container li#navadmin ul, #pun-navlinks .container li#navprofile ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    padding: 10px;
    left: -30px;
    top: 20px;
    min-width: 100%;
    width: max-content;
    background: var(--accDark);
    box-sizing: border-box;
    transform: scaleY(0);
    border-radius: 10px;
    z-index: 999;
}

#pun-navlinks .container li#navprofile:hover ul, #pun-navlinks .container li#navadmin:hover ul {
    transform: scaleY(1);
}

#pun-navlinks .container li#navprofile ul li, #pun-navlinks .container li#navadmin ul li  {
    display: block;
}

#pun-navlinks .container li#navprofile ul li a, #pun-navlinks .container li#navadmin ul li a {
    background: var(--BGmain);
    border-radius: 0.8rem;
    display: flex;
    text-align: left;
    font-size: 12px;
    font-family: inherit;
    text-transform: none;
    padding: 0px 10px;
    margin: 0;
    justify-content: flex-start;
    color: var(--Textmain) !important;
}

#pun-navlinks .container li#navprofile ul li a:hover, #pun-navlinks .container li#navadmin ul li a:hover {
    background: var(--BGmain);
    color: var(--LinkMain) !important;
}

#pun-navlinks .container li#navprofile ul ul, #pun-navlinks .container li#navadmin ul ul {
    border-radius: 0 1rem 1rem 0;
    position: absolute;
    width: max-content;
    left: 100%;
    top: 0;
    transform: scaleX(0) !important;
}

#pun-navlinks .container li#navprofile ul li.forms:hover ul, #pun-navlinks .container li#navadmin ul li.forms:hover ul {
    transform: scaleX(1) !important;
}


/* Menu on scroll */

#pun-navlinks.scrolled {
    border-radius: 0;
}


/* Навигация Вещего */

.spirit_nav-wrap {
    position: absolute;
    margin: auto;
    z-index: 9;
    right: 20px;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
}

.nav_button {
    border-radius: 100px;
    text-align: center;
    padding: 0;
    font-size: 0px;
    cursor: pointer;
    transition: all .4s linear 0s;
    color: transparent;
    width: 30px;
    height: 30px;
    display: flex;
    line-height: 0;
    align-items: center;
    justify-content: center;
    transition: all .7s ease-in-out 0s;
}

.nav_button:hover {opacity: .6;}

.nav_button::before {
    content: '\f53f';
    font-family: "Font Awesome 6 Pro";
    font-size: 24px;
    color: var(--Textmain);
    font-weight: 900;
}

.nav_button.i_active::before {
    color: var(--LinkMain);
}

.nav_block {
    display: none;
    background: var(--accDark);
    position: absolute;
    top: calc(100% + 5px);
    border-radius: 10px;
    width: 300px;
    max-height: 500px;
    right: 0;
    border: 1px solid var(--BGmain);
}

.nav_block .link {
  padding: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
  gap: 5px;
}

.nav_block .link a {

}

.nav_block .link a:hover {

}


/* Смена стиля */

ul.theme_switcher {
    display: flex;
    width: 150px;
    flex-wrap: wrap;
    gap: 20px 10px;
    position: relative;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0 auto;
}

ul.theme_switcher[data-switcher-id="switcher1"]:before {
    content: 'яркость темы';
    position: absolute;
    top: -30px;
    color: #bebebe;
    letter-spacing: 2px;
    font-size: 10px;
}

ul.theme_switcher[data-switcher-id="switcher2"]:before {
    content: 'цвет темы';
    position: absolute;
    top: -30px;
    color: #bebebe;
    letter-spacing: 2px;
    font-size: 10px;
}

/* Theme switcher © max, the murderer! */

.theme_switcher li {

}

.theme_switcher li label {
    display: none;
}

.theme_switcher li input {
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    margin: 0 !important;
}

.theme_switcher li input::before {
    font-family: "Font Awesome 6 Pro";
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    width: 30px;
    height: 30px;
    display: flex;
    background: #000;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    line-height: 0;
transition: all .7s ease-in-out 0s;
cursor: pointer;
}

.theme_switcher li input#morning_switcher1::before {
    content: '\f765';
}

.theme_switcher li input#day_switcher1::before {
    content: '\f185';
}

.theme_switcher li input#evening_switcher1::before {
    content: '\f749';
}

.theme_switcher li input#night_switcher1::before {
    content: '\f755';
}

.theme_switcher li input#red_switcher2::before {
    content: '\f111';
    color: #be3a3a;
}

.theme_switcher li input#blue_switcher2::before {
    content: '\f111';
    color: #3d5c96;
}

.theme_switcher li input#yellow_switcher2::before {
    content: '\f111';
    color: #987c11;
}

.theme_switcher li input#pink_switcher2::before {
    content: '\f111';
    color: #c15e8f;
}

.theme_switcher[data-switcher-id="switcher2"] li input[type="radio"]:checked::before
{font-weight: 900;}


.theme_switcher li input:hover::before, .theme_switcher li input[type="radio"]:checked, .theme_switcher li input[type="radio"]:checked::before {
    color: var(--LinkMain);
}




/* Индикатор активности пользователя */

.post-author.online:after {
    width: 30px;
    height: 16px;
    position: absolute;
    top: -7px;
    background: var(--BGsec);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    z-index: 3;
    line-height: 0;
    align-items: center;
    content: '\f0e7';
    font-family: "Font Awesome 6 Pro";
    font-size: 9px;
    color: var(--LinkMain);
    font-weight: 600;
}


/* Допы жопы */


input.dicebutton {
    padding: 0 10px !important;
    border-radius: 20px !important;
}

.dicebefore:before {
    content: '\f522';
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
    color: var(--Textmain);
    font-weight: 900;
}

.dicebefore {
    position: absolute;
    right: -8px;
    margin: -10px 0 0 0 !important;
    display: flex;
    align-items: center;
    line-height: 0;
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.post-content ul li {
    margin-bottom: 10px !important;
}

.post-author.no-avatar img.defavtr, .punbb .post[data-user-id="2"] li.pa-avatar.item2 img, .punbb .post[data-user-id="4"] li.pa-avatar.item2 img, em.user-avatar.no-avatar span.avatar-image {
filter: var(--avaFilter);
}

li#notify-link a {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5px;
}

#notify-link[data-number-unread="0"] .unreads {
    display: none !important;
}

#notify-link .unreads, #navpm .unreads {
    background: var(--LinkMain)!important;
    font-family: 'Geologica' !important;
    font-size: 10px !important;
    padding: 0 !important;
    display: flex !important;
    line-height: 0 !important;
    align-items: center;
    justify-content: center;
    height: 18px !important;
    width: 18px !important;
    border-radius: 50px !important;
    position: inherit !important;
    margin: 0 !important;
    top: inherit !important;
    right: inherit !important;
    left: inherit !important;
}

#pun-admain textarea, #pun-admain input, #pun-admain select, #pun-admain optgroup {
    font: 1em verdana, arial, helvetica, sans-serif;
    border: 1px solid var(--borderMain);
}