/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1785264721.css);

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');
/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.5.2/css/pro.min.css');


:root {
    --base-bg: #050403 url(https://forumstatic.ru/files/001c/c1/ad/54507.jpg);
    --base-bg2: url(https://forumstatic.ru/files/001c/c1/ad/89619.jpg);
    --text: #010100;
    --sec-text: #000;
    --accent: #968169;
    --accent2: #481B16;
    --navi-link: #7C6142;
    --navi-link-hov: #977759;
    --main-font: inter;
    --sec-font: PT Serif;
    --head: url(https://forumstatic.ru/files/001c/c1/ad/33896.jpg);
    --quote: #e3cfb6;
    --cfoot: url(https://forumstatic.ru/files/001c/c1/ad/22528.jpg);
    --pf-bg: #E2D8CC;
    --tab-link: #e24444;
    --radius: 10px;
    --radius2: 20px;
    --category: url(https://forumstatic.ru/files/001c/c1/ad/46794.jpg);
    --old: url(https://forumstatic.ru/files/001c/c1/ad/16713.webp);
    --new: url(https://forumstatic.ru/files/001c/c1/ad/73367.webp);
    --pl-bg: #90755b;
    --profl: #E0D5C9;
    --prof-img: url(https://forumstatic.ru/files/001c/c1/ad/68238.webp);
    --pf-hr: url(https://forumstatic.ru/files/001c/c1/ad/49845.png?v=1);
}


  
/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
    font-size: 100.01%;
    position: initial !important;
}

/* A3.2 */
.punbb {
    font: normal 70% Verdana;
color: var(--text);
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 12px verdana, arial, helvetica, sans-serif;
    background: var(--quote);
    border: 1px solid var(--bord);
    outline: none;
    color: var(--text);
    border-radius: 5px;
}

/* 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 legend span {
    font-size: 11px;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: underline
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .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 {
    margin: auto;
    width: 1000px;
    margin-top: 0px;
    margin-bottom: 120px;
    position: relative;
}


/* A5.2 */
.punbb {
    float: none;
    width: auto;
    height: auto;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
 min-height: 100px;
  }

#pun-redirect {
    border: 0 none!important;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--base-bg) fixed top center/cover;
}
    #pun-redirect *{
      border:0 none;
    }
    #pun-redirect .main-title {
      display:none;
    }
#pun-redirect.punbb .info .container {
    text-align: center;
    display: block;
    margin: 5% auto;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--main-font);
    padding: 30px 0px;
    height: auto;
    border: 0 !important;
    text-transform: lowercase;
    width: 900px;
    font-weight: 500;
    margin-top: 120px;
    color: var(--tab-text);
}
#pun-redirect.punbb .info .container a {
    color: var(--red-accent) !important;
}

#pun-redirect.punbb .info .container a:hover {
    color: var(--tab-text) !important;
}



/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-debug h2 {
    font-family: var(--main-font);
    font-size: 10px !important;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    text-align: center;
    width: auto;
    letter-spacing: 0.6px;
    text-transform: lowercase;
    margin: -20px 0px 20px 0px;
}


#pun-main h1 {
    display: none;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    text-align: center;
    border-top: 1px dotted #707070;
    width: auto;
    margin: 20px 50px;
}

/* B1.3 */
.punbb .post-content p {
    margin: 0 0 0 0px;
    padding: 0 0 1em 0;
    line-height: 14px;
}

/* 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%;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 1em 0px 1em 0px;
    padding: 15px 20px 15px 20px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    gap: 4px;
    font-size: 11px;
    font-family: var(--main-font);
    text-transform: none;
    letter-spacing: 0;
    display: inline-flex;
    color: var(--pf-bg);
    margin: 0px 0 10px 0px;
    padding: 5px 10px 4px;
    border-radius: 5px;
    font-style: normal;
    background: var(--accent);
}

.punbb .code-box strong.legend a {
    color: var(--quote);
}

.punbb .code-box strong.legend a:hover {
    color: var(--pf-bg) !important;
}


/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* B3.2 */
.multipage {
  margin-top: 1em;
  }

/* B3.4 */
.linkst .postlink {
    text-align: right;
}

/* B3.5 */
.punbb .linksb {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
    margin: 10px 0;
}

/* B3.6 */
.linksb .pagelink {
    float: left;
    width: auto;
    text-align: left;
}

/* B3.7 */
.linksb .postlink {
    float: right;
    width: auto;
}

/* B3.8 */
.subscribelink {
    clear: both;
    display: flex;
    float: right;
    background: var(--quote);
    padding: 5px 15px 6px;
    border-radius: 4px;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
    padding: 0;
}

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0;
    font-size: 0;
}

/* C1.6 */
.punbb fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 0;
    font-family: var(--main-font);
    text-transform: uppercase;
}

/* 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;
    font-family: var(--main-font);
    margin-bottom: 0;
    display: inline-flex;
    text-transform: uppercase;
}

/* 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 {
  text-align: left;
  width: 45%;
  }

/* C2.2 */
#pun-viewforum .tc2, #pun-viewforum .tc3, #pun-viewforum .tcmod {
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    width: 8%;
}


/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 30%;
}

#pun-index .tcr {
    text-transform: none;
    width: 35%;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0;
    align-items: center;
    margin-right: 20px;
}

/* C2.4 */
#pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 40%;
    text-transform: lowercase;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: center;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 названия подфорумов*/ 
#pun-index .tcl h3 {
    display: flex;
    justify-content: space-between;
}

#pun-index .tcl {
    width: 70%;
    position: relative;
    overflow: visible;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
    border-style: solid none none solid;
    border-width: 1px 0 0 1px;
    padding: 10px 0;
    vertical-align: top;
}

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
    border-style: none none none solid;
    border-width: 0 0 0 1px;
    padding: 0.4em 1em 0.4em 1.5em;
  }

/* C2.13 */
.punbb .main .tcl {
      border-left-style: none;
      border-left-width: 0
      }

    * html .tclcon {height: 1px}

/* C2.14 */
#pun-index td div.tclcon {
    text-align: justify;
    position: relative;
    font-family: var(--main-font);
    font-size: 8px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 4px;
    letter-spacing: 0;
    text-transform: lowercase;
}


/* C2.15 */ 
.punbb div.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 11px;
    height: 70px;
    width: 61px;
    float: left;
    background: var(--old);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
}

tr.inew div.icon {
    background: var(--new);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


#pun-messages .main .tc2 {
  text-align: center;
  }
  

 /* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #202021 ;
}

/* CS2.1 */
.punbb .container, .punbb .post-body {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
.punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;

  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;

  }

/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }


/* C3.1 */
.punbb .post .container {
    border: none;
}

/* C3.2 */
#pun-viewtopic .post h3 {
    text-align: center;
    display: flex;
    position: relative;
    margin: 20px 0;
    justify-content: space-between;
    padding: 0;
}

.post h3 span strong:before {
    content: '\f075';
    font-size: 11px;
    color: var(--accent);
    font-family: 'Font Awesome 6 Pro';
    font-weight: 600;
    margin-right: 7px;
}

/* C3.3 */
.punbb .post h3 span {
    display: flex;
    font: 400 11px var(--main-font);
    height: auto;
    align-items: center;
    text-transform: lowercase;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--quote);
    margin-bottom: 10px;
}


/* C3.4 */
.punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: right;
    font-weight: normal;
    order: 2;
}
.punbb .post .post-author {
    float: left;
    width: 250px;
    font-size: 11px;
    margin: 1px;
    font-family: var(--main-font);
    margin-bottom: 50px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    background: linear-gradient(0deg, var(--profl), #dfd4c852), var(--prof-img) top / cover;
    border-radius: var(--radius) var(--radius) 0 0;
    position: sticky;
    top: 60px;
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    padding: 0 0 0px 0;
    line-height: 160%;
}

/* C3.7 */
.pa-author {
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    align-items: center;
}

/* C3.8 */
.pa-author a {
    font-size: 14px;
    font-family: var(--sec-font);
    text-transform: none;
    font-weight: 600 !important;
}


/* C3.9 */
li.pa-title {
    font-size: 7px;
    font-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    margin: 0 5px;
    text-transform: lowercase;

}


/* C3.11 */
.punbb .post-body {
    margin-left: 250px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
    padding: 0 0 0 20px;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
}

/* C3.15 */
.punbb .post-links ul {
    text-align: right;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    text-transform: lowercase;
    padding: 0;
    margin: 10px 15px 10px 10px;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 0;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    margin: 10px 0 0;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  padding-right: 2px;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {

  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px 0em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
    padding: 0 2.3em 2.3em 2.3em;
    border-top: none;
}

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
    margin: 0;
    border-style: none none none none;
    border-width: 0px 0px 0 0px;
}

/* D1.2 */
#pun-title h1 {
  display : block;}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;}


/* D1.4 */
#pun-title h1 span  {
  display: none;}

#pun-title h1 span  {
  font-size: 1.5em;}


/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 55px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline}

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;}

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;}

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em}



/* D3 Forum navigation
-------------------------------------------------------------*/
#pun-navlinks {
    align-items: center;
    text-transform: uppercase;
    width: 1000px;
    background: var(--text);
    height: 48px;
    margin: -57px 0px 0;
    position: sticky;
    top: 0;
    z-index: 9;
}

#pun-navlinks .container {
    position: relative;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pun-navlinks li {
    display: inline;
    margin: 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    position: absolute;
    top: 0;
    width: 100%;
}

/* D4.2 */
#pun-ulinks .container {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    display: inline-block;
}

/* D4.4 */
#pun-ulinks li a {
    padding: 2px 6px 0px 6px;;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
    font-size: 7px;
    font-family: var(--main-font);
    font-weight: 400;
    letter-spacing: 0;
    height: auto;
    display: flex;
    gap: 3px;
    color: var(--accent);
    flex-direction: column;
    position: absolute;
    top: 337px;
    left: 63px;
    z-index: 10;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }




/* D5.4 */
#pun-crumbs1 {
    font-weight: 400;
    margin: 0;
}

/* D5.5 */
#pun-crumbs1 p.container {
    height: auto;
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    margin: 10px 0 17px;
}




/* D5.6 */
#pun-break1 {
    margin: 0 1em;
    border-style: solid none;
    border-width: 1px 0;
    height: 0;
    margin: 0px 0 0 0 !important;
    position: relative;
    z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
    padding: 0;
    text-align: center;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 9px 0 -23px;
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats .container {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 15px 20px;
    font-family: var(--main-font);
    text-transform: none;
    background: var(--pf-bg);
    border-radius: var(--radius2);
    margin: 10px 0 0;
}

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
    text-align: right;
    line-height: 150%;
}

/* D7.4 */
li#onlinelist {
    margin-top: 0;
    border-top-style: solid;
    border-top-width: 1px;
    float: left;
    width: 100%;
    line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0.7em 0 0 0;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  margin-bottom: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
    display: block;
    margin-top: 107px;
    font-size: 9px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    position: absolute;
    width: 100%;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: 400;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    margin: 10px 0 10px;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style:  none;
  border-width: 0px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }



/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: none;
  border-bottom-width: 0px;
  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;
  }


#pun-status .status-right {
display: none;
}



.punbb th {
    font-size: 0 !important;
}

#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

html * {
    box-sizing: border-box;
}


.pa-ip {
    font-size: 9px;
    margin-top: 5px;
}

#pun-index .category h2, #pun-stats h2 {
    width: auto;
    height: auto;
    -webkit-text-size-adjust: 100%;
    display: flex;
    padding: 0 !IMPORTANT;
    justify-content: flex-start;
    gap: 0;
    text-transform: none !important;
    position: relative;
    margin: 0px 0 10px;
    flex-direction: column-reverse;
    align-items: center;
    z-index: 8;
}

#pun-index .category h2 span, #pun-stats h2 span {
    -webkit-text-size-adjust: 100%;
    font-size: 20px;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    letter-spacing: 0;
    gap: 10px;
    color: var(--navi-link);
    display: flex;
    font-family: var(--sec-font);
}

#pun-index .category table tr {
    -webkit-appearance: none;
    display: flex;
    gap: 0 30px;
    align-items: center;
    padding: 20px;
    position: relative;
}

#pun-viewforum .tcr {
    position: relative;
    display: flex;
    gap: 0 10px;
    align-items: center;
}



.postlink.long {
    width: auto !important;
}

.forum tr {
    display: flex;
    gap: 20px;
    font: 400 11px var(--main-font);
    align-items: center;
    text-transform: lowercase;
}

.forum thead {
    display: none;
}





.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}


.reactions-root {
    display: none;
}




#profile .container fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
}


 #pun-main h2 span {
    font-size: 0px;
}


#html-header {
    color: var(--tab-text);
}






.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 8%;
}





.html-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;}


.html-box a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 17px;
    padding: 5px 11px;
    line-height: 13px;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--navi-link) !important;
    background: var(--sec-text);
    font-family: var(--sec-font);
    align-content: center;
    justify-content: center;
}


.html-box a p.one {
    font-weight: 600;
    font-size: 11px;}

.html-box a:hover {
    background: var(--accent);
    color: var(--base-bg2) !important;
}


.html-box a data {
    background: var(--accent);
    padding: 0px 6px;
    font-size: 9px;
    border-radius: 10px;
    font-family: var(--main-font);
}


#tooltip {position: absolute; 
background: var(--accent); z-index: 999;
max-width: 200px; border: none; border-radius: 10px; box-shadow: 0 0 0px 1px rgba(0,0,0,.05) inset; font-family: var(--main-font); font-size: 11px; display: none; color: #efeee4; text-align: center; padding: 6px 22px; font-weight: 400;}



#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}



.sered {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

#pun .answer-box, #pun .code-box, #pun .hide-box {
    padding: 15px 20px !important;
    position: relative;
}


#pun-admain .adlabel {
    width: 18em !important;
}

#pun-index .tcl h3 a {
    font-size: 20px;
    font-family: var(--sec-font);
    font-weight: 400;
    text-transform: lowercase;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}

#plng {
    font-size: 10px !important;
    font-weight: 400 !important;
    margin-top: 0px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out 0s;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    font-family: var(--main-font);
    padding: 0px 0 0 15px;
    height: 28px;
    border: 1px solid #d3bfa7;
    border-radius: 4px;
    background: #ebd7bf;
    width: 200px;
}


#chfont {
    position: fixed;
    top: 10px;
    left: 10px;
    text-align: center;
    z-index: 999;
    display: flex;
    gap: 5px;
    align-items: center;
    background: var(--base-bg2);
    justify-content: center;
}
#chfontbut {
    width: 26px;
    height: 26px;
    float: left;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
#chfontbut::after {
    content: '\f013';
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 5px;
    font-size: 15px;
    font-family: 'FontAwesome';
    color: var(--text);
}
#chfont.active #chfontbut::after {
    display: block;
}
#chfont select {
    display: none;
    background-color: #dedddb;
    color: #150e0c;
    margin-bottom: 2px;
    cursor: pointer;
}
#chfontsize {
    width: auto;
    display: none;
    padding-right: 5px;
}
#chfont.active select, #chfont.active #chfontsize {
    display: flex;
    gap: 5px;
    align-items: center;
}
.fsizeplus, .fsizeminus {
    background-color: #9c2b3e;
    color: #e7e7e7;
    cursor: pointer;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
}
.fsizeplus::after {
    content: '+';
}
.fsizeminus::after {
    content: '-';
}
.fsize {
    color: #150e0c;
}



.post-content .spoiler-box > div {
    background: transparent !important;
    position: relative;
    padding: 10px;
    font-family: var(--main-font);
}

.spoiler-box {
    padding: 0 !important;
}

.post-rating p a:after {
    content: "\f004";
    margin-left: 5px;
    font-family: FontAwesome !important;
    font-weight: normal;
    color: var(--accent);
    font-size: 13px !important;
}

#pun .post-rating a {
    color: var(--text);
    font-size: 11px !important;
    display: flex;
    align-items: center;
    font-family: var(--main-font);
}

.post-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px !important;
    position: relative;
    float: right;
    z-index: 8;
    border: none !important;
    width: 30px;
    height: 26px;
}



.post-rating p a:hover:after {
    color: var(--sec-text);
}


#form-buttons td {
    background-image: none !important;
    position: relative;
    width: 26px;
    height: 26px;
    margin: 5px 0px 5px 0px;
}


#pun-index .category table tr td {
padding: 0;
}

.punbb .post-content .scrollbox {
    width: 100%;
    height: 3.5em !important;
    overflow: auto;
}


.punbb .post-content blockquote p {
padding: 5px 0 5px 0;
}



.post-content .spoiler-box > div.visible {
    border-bottom: 1px solid var(--bord);
}


.post-content .spoiler-box > blockquote.visible {
    padding: 10px 20px;
}


.post-content .spoiler-box>div:before {
    content: '\f070';
    font-family: 'FontAwesome';
    font-size: 11px;
    transition: all .5s ease-in-out 0s;
    align-items: center;
    margin-right: 10px;
    color: var(--sec-text);
    opacity: .5;
}

.post-content .spoiler-box > div.visible:before {
    content: '\f06e';
    opacity: 1;
}


#font-area {
    display: flex;
    height: 213px;
    overflow-y: hidden;
    text-align: left;
    width: 930px;
    flex-wrap: wrap;
    flex-direction: column;
}

select#mod-options {
    font-family: var(--main-font);
    font-size: 10px;
    text-transform: uppercase;
    padding: 0px 15px;
    margin: 0;
}


.banners {
    gap: 14px;
    width: 1000px;
    height: 46px;
    position: absolute;
    text-align: center;
    left: 0;
    margin: 35px 0 0 0px;
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    justify-content: flex-start;
}


#pun-profile #viewprofile ul {
    width: 100%;
    margin: 0;
    background: var(--quote);
    padding: 0;
    border-radius: var(--radius);
}


#viewprofile #profile-left {
    text-transform: lowercase;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    background: linear-gradient(45deg, #e5e4e4, transparent), var(--profile-bg) center / cover;
    font-size: 12px;
    font-family: var(--main-font);
    padding: 20px !IMPORTANT;
    color: #383636 !important;
    border-right: 1px solid var(--bord);
}


#profile-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: auto !important;
    border-radius: 0;
    padding: 20px !important;
    box-sizing: border-box;
}

#profile-right li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: auto;
    text-align: center;
    padding: 10px 10px !important;
    font-size: 11px;
    background: #d7be9f57;
    border: 1px solid #96816970;
    gap: 6px;
    font-family: var(--main-font);
    border-radius: var(--radius);
}

#profile-right #pa-fld1 {
    width: 100%;
}

#profile-right .pers_plash {
    background-image: none;
    background-repeat: no-repeat;
    width: 200px;
    height: 40px;
    position: relative;
    padding: 0 !important;
    margin: 0 !IMPORTANT;
}


#profile-right  .pers_plash_text {
    font-size: 7px !IMPORTANT;
    margin: 0 20px !important;
}

#pun #profile-right li span {
    float: none;
    margin: 0;
    width: auto;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0 !important;
}


#profile-right li strong {
    padding: 0 !important;
    text-transform: none;
}


.post-content hr {
    border: none;
    background: #989697;
    height: 1px !important;
    opacity: 0.5;
    filter: alpha(opacity=50);
    margin-bottom: 20px!important;
    margin-top: 20px!important;
    margin-left: 50px;
    margin-right: 50px;
}
#pun-index .datetime, #pun-index .byuser {
    font-size: 10px;
    font-weight: 400;
    color: var(--sec-text);
    text-transform: lowercase;
}

#html-header a {
    color: var(--navi-link);
}

#html-header a:hover {
    color: var(--tab-link);
}


.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
    accent-color: var(--accent);
}



#post-form .container {
    padding: 0;
}


.navi-head {
    background: var(--quote);
    border: 1px solid var(--bord);
    border-width: 0 0 1px 0;
    margin: 0 -30px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: sticky;
    top: 0;
    z-index: 9;
}


.pf-text {
    display: flex;
    flex-direction: column;
    margin: 5px 0;
    gap: 5px;
    align-items: flex-start;
}


.pf-text span {
    font-style: italic;
    font-size: 11px;
    background: var(--bord);
    padding: 2px 10px;
    border-radius: 10px;
}

.pf-navi {
    display: flex;
    gap: 10px;}


.pf-navi a {
    background: var(--base-bg2);
    padding: 2px 9px 4px 9px;
    border-radius: 10px;
    color: var(--accent) !important;
    font-weight: 600;
    font-size: 10px;
    line-height: 14px;
    box-shadow: 2px 2px 6px #00000012;
}


.pf-navi a:hover {
    background: var(--accent);
    color: var(--base-bg2) !important;
}


.tcr-wrap {
    display: flex;
    flex-direction: column;
    text-transform: none;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}


.Add {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 10px;
    font-family: var(--main-font);
    letter-spacing: 0;
    color: #29292b;
    font-weight: 300;
    font-style: normal;
}

.tms, .mssg {
font-size: 0;
}

.tms:before {
    position: relative;
    display: block;
    font-weight: 600;
    content: '\f07b';
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.mssg:before {
    position: relative;
    display: block;
    content: '\f27a';
    font-weight: 600;
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.Tems_And_messages {
    display: flex;
    gap: 6px;
    align-items: center;
}


#pun-stats .statsinfo {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

#pun-stats .statsinfo li {
    flex-shrink: 1;
    flex-grow: 1;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--quote);
    font-size: 11px;
    background: var(--sec-text);
    padding: 2px 10px;
    border-radius: var(--radius2);
}

.forum .tclcon > a, .forum .tcr a {
    display: block;
}


.forum .tclcon .byuser:before {
    content: 'создал:';
    color: var(--sec-text);
    opacity: .7;
}


.forum .intd {
    display: flex;
    align-items: center;
}


.forum .tcr .byuser:before {
    content: 'последнее сообщение от:';
    color: var(--sec-text);
    opacity: .7;
}

.pagelink, .new-poll a, .new-topic a, .postlink span a {
    text-transform: lowercase;
    font-size: 10px;
    font-family: var(--main-font);
    color: var(--text);
    background: var(--quote);
    padding: 4px 8px;
    border-radius: var(--radius);
}

.pagelink strong {
    background: var(--quote);
    padding: 1px 4px 1px 3px;
    border-radius: 4px;
    box-shadow: 2px 3px 4px #00000017;
}

.post h3 span a {
    font-weight: 700;
    color: var(--accent) !important;
    margin-bottom: 10px;
}

.post h3 span a:hover {
    color: var(--text) !important;
}



.punbb .formal fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    font-family: var(--main-font);
}



span.qc-post-link {
    margin: 1px 10px;
}


span.closedatafield, span.stickytext {
    display: none;
}

#pun-modviewforum tr.inew div.icon {
    display: none;
}


.html-box a:hover data {
background: var(--sec-text);
}


#pun-index .category h2 seid {
    border-radius: 3px;
    color: var(--sec-text);
    font-family: var(--main-font);
    font-size: 10px;
    letter-spacing: 0;
    background: #dddddd;
    padding: 3px 10px;
    box-shadow: 0px 0px 10px #17121212;
}



#pun-stats h2 {
    display: flex;
    justify-content: center;
    margin: 0;
}





.bpost name {
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .5px;
    font-family: old standard tt;
    width: 100%;
    color: var(--quote);
}


.bpost text {
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 300;
    text-align: justify;
    overflow-y: auto;
    height: 155px;
    line-height: 17px;
    padding-right: 10px;
}


/*Инфо*/
.ashes-info, .ashes-ams {
    height: 47px;
    width: 234px;
    display: flex;
    justify-content: center;
    position: absolute;
    flex-wrap: wrap;
    gap: 4px;
    /* border: 1px solid red; */
    right: 36px;
    top: 45px;
    z-index: 1;
    align-items: flex-start;
    align-content: flex-start;
}


.ashes-info one, .ashes-ams one {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0;
    font-family: old standard tt;
    width: 100%;
    color: var(--quote);
}

.ashes-info two, .ashes-ams two {
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 10px;
}


.ashes-news {
    height: 140px;
    width: 234px;
    position: absolute;
    /* border: 1px solid red; */
    right: 36px;
    top: 99px;
    z-index: 1;
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 10px;
    overflow-y: auto;
    line-height: 14px;
    text-align: justify;
    padding-right: 10px;
}


.ashes-ams {
    top: 267px;
}


/*Навигация*/
.accordion {
    position: absolute;
    z-index: 9;
    top: 25px;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0;
    border-radius: 0;
    display: flex;
    height: 45px;
    justify-content: center;
    align-items: center;
    width: 134px;
    /* border: 1px solid red; */
    left: 710px;
}
.accordion-btn {
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    color: var(--base-bg2);
    padding: 2px 18px 2px;
    font-family: var(--sec-font);
    font-size: 0;
    background: transparent;
}
.accordion-btn.active {
    background-position-x: 100%;
}
.accordion-content {
    display: none;
    background: var(--sec-text);
    border-radius: 5px;
    position: absolute;
    top: 58px;
    width: 274px;
    z-index: 9999999;
    left: 50%;
    transform: translateX(-50%);
}
        .accordion-content.active {display: block;}
.content-grid {
    padding: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu-link {
    text-align: center;
    color: var(--quote) !important;
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--navi-link);
    font-family: var(--main-font);
    display: flex;
    justify-content: center;
    font-size: 9px;
    flex: auto;
    text-transform: none;
}

.menu-link:hover {
    background: var(--sec-text);
}



/*Цитаты*/
.left-q, .right-q {
    position: absolute;
    /* border: 1px solid red; */
    top: 377px;
    left: 0;
    width: 310px;
    text-align: center;
    font-family: var(--main-font);
    color: var(--pf-bg);
    font-size: 10px;
    font-weight: 300;
}


.right-q {
    left: auto;
    right: 0;
    width: 281px;
}




div#pun-live-rusff {
    display: none;
}





.podf-links {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.podf-links a {
    color: var(--quote) !important;
    padding: 2px 10px 3px;
    background: var(--pl-bg);
    font-size: 10px;
    border-radius: var(--radius2);
}

.podf-links a:hover {
    background: var(--text);
}


.podf-text {
    margin: 0px 0 5px;
}

.punbb .fs-box {
    padding: 0;
    margin: 0px;
}

.punbb .code-box strong.legend {
    font-weight: 400;
}



#pun-navlinks.scrolled {
border-radius: 0;
}

#pun-ulinks.scrolled{
    background: var(--quote);
    margin: 0 -26px;
    position: sticky;
    top: 41px;
    margin-top: 29px;
    width: 1060px;
    padding: 7px 0 10px;
    z-index: 9;
}




/* === Стиль для текста из [mark] === */
.post-content .highlight-text {
    background-color: #7a3131!important;
    color: #ffffff!important;
    padding: 0px 4px;
    border-radius: 5px;
}

/* Обычное имя (чужая очередь) */
.tab-news .topic-mark {
    color: #bbbbbb;
}

/* Ваша очередь */
.tab-news .topic-mark-my-turn {
    color: #e24444; 
    font-weight: bold;
    text-shadow: 0 0 5px rgb(255 32 32);
    animation: pulse-my-turn 2s infinite;
}

@keyframes pulse-my-turn {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tab-news .loading {
    color: #666;
    font-style: italic;
}


.bpost {
    height: 83px;
    width: 540px;
    position: absolute;
    /* border: 1px solid red; */
    left: 152px;
    top: -320px;
    z-index: 8;
    overflow-y: auto;
    text-align: justify;
    font-family: var(--main-font);
    padding-right: 10px;
    font-size: 10px;
    letter-spacing: .4px;
    line-height: 17px;
}


/* блок админов */
.tab-ams {
    height: 53px;
    width: 182px;
    position: absolute;
    /* border: 1px solid red; */
    left: 796px;
    top: -306px;
    z-index: 9;
    font-family: var(--acc-font);
    padding-right: 10px;
    font-size: 17px;
    letter-spacing: .4px;
    line-height: 17px;
    font-style: italic;
    color: var(--base-bg2);
}
.tab-ams span {
    width: 100%;
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
}

.tab-ams a {
    text-transform: capitalize;
    font-family: var(--main-font);
    font-style: normal;
    font-size: 12px;
}

.admin-tooltip-box {
    position: fixed;
    width: 180px;
    background: url(https://forumstatic.ru/files/001c/97/8b/11282.jpg) left / cover;;
    border: 1px solid #272626;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.admin-tooltip-box .tooltip-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #484848;
    margin-bottom: 8px;
}

.admin-tooltip-box .tooltip-name {
    font-family: var(--acc-font);
    font-size: 14px;
    color: #e0e0e0;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.admin-tooltip-box .tooltip-info {
    font-family: var(--main-font);
    font-size: 10px;
    color: #e0e0e0;
    opacity: 0.8;
}




/*Плеер*/
.playerNode {
    position: absolute;
    left: 50%;
    top: 296px;
    z-index: 10;
    /* border: 1px solid red; */
}

.player-wrapper {
    height: 13px;
    width: 105px;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background: var(--accent);
}

.play-pause.paused {
background-size: contain;
}

.play-pause {
    background: none;
    background-size: contain;
    border: 0;
    width: 25px;
    height: 23px;
    padding: 0;
    position: absolute;
    top: 1px;
}

.track, .volume {
    height: 100%;
    background: linear-gradient(0deg, transparent 0, transparent 50%, white 50%, transparent calc(50% + 1px), transparent);
    display: inline-block;
    margin-left: 10px;
    position: relative;}

.track {
 width: calc(80% - 30px);
}

.volume {
    width: 20%;
}

.thumb {
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
    background: var(--base-bg2);
    border-radius: 50%;
    position: absolute;
}

.controls {
    position: absolute;
    top: -8px;
    left: -69px;
}

button.prev-track {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    position: absolute;
    left: -20px;
top: 3px;
}

button.next-track {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    position: absolute;
    left: 23px;
    top: 3px;
}

button.loop-toggle {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    background-image: none;
    position: absolute;
    left: 44px;
    top: 3px;
    background-size: contain;
}
html {
-webkit-text-size-adjust: 100%;
}


button.prev-track:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f053';
    color: var(--profl);
font-size: 10px;
}


button.next-track:before {
content: '\f054';
    font-family: 'Font Awesome 6 Pro';
    color: var(--profl);
font-size: 10px;
}


button.loop-toggle:before {
content: '\f363';
    font-family: 'Font Awesome 6 Pro';
    color: var(--profl);
font-size: 10px;
}

.play-pause:before {
content: '\f04c';
    font-family: 'Font Awesome 6 Pro';
    color: var(--profl);
font-size: 10px;
}
.play-pause.paused:before {
    content: '\f04b';
    font-family: 'Font Awesome 6 Pro';
    color: var(--profl);
font-size: 10px;
}


#post.container fieldset .fs-box {
    padding: 0;
    margin: 0px 20px;
}



/*Туман*/
.fog {
    position: absolute;
    top: -588px;
    left: 0;
    width: 1060px;
    height: 477px;
    overflow: hidden;
    background: url("background.jpg") center center;
    background-size: cover;
    z-index: 0;
    mix-blend-mode: color-dodge;
    /* border: 1px solid red; */
    opacity: .6;
    overflow: hidden;
    pointer-events: none;
}
.fog::before,
.fog::after,
.fog div::before, 
.fog div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x;
}
.fog div::before, 
.fog div::after    {
    left: 100%;
}
.fog::before, .fog div::before {
    background-image: url("https://forumstatic.ru/files/001c/97/8b/95301.png");
    animation: fogmove 100s linear 0s infinite;
}
.fog::after, .fog div::after {
    background-image: url("https://forumstatic.ru/files/001c/97/8b/53933.png");
    animation: fogmove 80s linear 0s infinite;
}
@keyframes fogmove {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}








/*Персоналии*/

.lz_info .name {
    font-family: var(--sec-font);
    margin-top: 10px;
    font-size: 12px;
    position: relative;
}
.lz_info .name::after {
    content: '';
    background: url(https://forumstatic.ru/files/001c/c1/ad/92462.png) center/cover no-repeat;
    width: 100%;
    height: 6px;
    display: block;
    margin-top: 4px;
}

.pa-fld1 {
    display: flex;
    justify-content: center;
    cursor: default;
    flex-direction: column;
    font-size: 7px;
    font-family: var(--main-font);
}

.race-wizard, .race-vampire, .race-werewolf, .race-human, .race-demon, .race-fairy {
    background: var(--prof-img) center/cover;
    width: 100%;
    height: 40px;
    border-radius: 0 0 var(--radius) var(--radius);
}

.race-wizard span, .race-vampire span, .race-werewolf span, .race-human span, .race-demon span, .race-fairy span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    align-content: center;
    font-family: var(--sec-font);
    color: var(--pf-bg);
    font-size: 14px;
}

.pa-fld5 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}


#navprofiles a span {
font-size: 0;
}

#navprofiles a span::before {
content: 'твинки';
font: 600 11px var(--sec-font);
}


.punbb .post-rating p, .punbb .post-vote {
    color: var(--text);
    font-size: 11px !important;
    display: flex;
    align-items: center;
    font-family: var(--main-font);
}

.punbb .post-vote a:after {
    content: "\f086";
    margin-left: 5px;
    font-family: FontAwesome !important;
    font-weight: normal;
    color: var(--accent);
    font-size: 13px !important;
}
.mylike .post-rating a:after {
    color: var(--text);
}
.punbb .post-vote a:hover:after{
    color: var(--text);
}

.rsp_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    flex-direction: row-reverse;
}

.punbb .post-rating {
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

div.post-vote p {
    float: right !important;
    border: 0 !important;
    padding: 0 !important;
    margin-right: 15px !important;
    margin-top: -1px !important;
}

#pun-searchposts .post h3 span {
    display: block;
    font: 400 11px var(--main-font);
    height: auto;
    text-transform: lowercase;
    border-bottom: 1px solid #aeabac;
    margin: 10px;
    width: auto;
}


#pun-searchposts .post-author::before {
content: none;
}


#pun-searchposts .pa-author {
    margin: 0;
}



/*Страница продолжение*/
.lsnames {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}


.age-name {
    font-size: 25px;
    font-family: var(--sec-font);
}

.age-name age {
    color: var(--navi-link-hov);
}

.lsnames name {
    font-family: var(--main-font);
    font-size: 12px;}

.about-pers, .dop-char {
    display: flex;
    flex-direction: column;
    background: #0c0907;
    border: 1px solid #2b2118;
    gap: 3px;
    border-radius: 10px;
    margin: 10px 0;
}

.about-pers span, .dop-char span {
    background: var(--navi-link);
    margin: 10px 20px;
    border-radius: 18px;
    padding: 2px 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    text-align: center;
}


.about-pers text {
    margin: 0 20px 10px;
    font-family: var(--main-font);
    height: 65px;
    overflow-y: auto;
}

.others-char {
    margin: 0 20px 20px;
    font-family: var(--main-font);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 135px;
    overflow-y: auto;
}

.gifts-char {
    display: flex;
    flex-direction: row;
    background: url(https://forumstatic.ru/files/001c/97/8b/11282.jpg) left/cover;
    border: 1px solid #272626;
    gap: 20px;
    border-radius: 10px;
}

.pers-el {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 10px 20px;
    gap: 10px;
}


.pers-el span {
    background: var(--navi-link);
    border-radius: 18px;
    padding: 2px 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    text-align: center;
}


.pers-el text {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    height: 343px;
    overflow-y: auto;
}

.pers-el text img {
    width: 45px;
}
.punbb .post-links ul a {
    background: var(--quote);
    padding: 3px 15px 4px;
    text-transform: lowercase;
}



/*Модальное окно для быстрого редактирования доп.полей*/
#profileInfoModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
}
#profileInfoModal .modal-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1000px;
    height: 86vh;
    background: #050505;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#profileInfoModal .modal-header {
    padding: 7px 16px 0px 16px;
    background: #121212;
    font-weight: bold;
    color: #6d3d3d;
    text-align: center;
}
#profileInfoModal .modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #6d3d3d;
    margin-top: -6px;
    margin-bottom: 2px;
}
#profileInfoModal .modal-body {
    flex: 1;
    overflow: hidden;
}
#profileInfoModal iframe {
    width: 100%;
    height: 100%;
    border: none;
}















/*Категории*/

.punbb .category, #pun-stats {
    background: var(--category) repeat-y;
    border-radius: var(--radius);
    padding: 20px;
}

#pun-stats {
margin-top: 20px;
}

#pun-index .category-1 h2 span:after {
  content: "• информационный раздел";
}
#pun-index .category-2 h2 span:after {
  content: "• организационный раздел";
}
#pun-index .category-3 h2 span:after {
  content: "• игровой раздел";
}
#pun-index .category-5 h2 span:after {
  content: "• разговорный раздел";
}
#pun-index .category-4 h2 span:after {
  content: "• рекламный раздел";
}
#pun-index .category-6 h2 span:after {
  content: "• архивный раздел";
}
#pun-index .category-7 h2 span:after {
  content: "• админский раздел";
}

span.catToggle:after {
content: none !important;
}

#pun-index .category table tr + tr {
margin: 10px 0;
}

#u-ava {
    position: absolute;
    left: -54px;
    top: -16px;
    width: 50px;
    height: 50px;
}


abbr {
  border-bottom: 1px dotted var(--accent)!important;
  text-decoration: none;
}
.post-content abbr {
    cursor:help!important;
}

/*цвет админки*/
.ace_content {
    background: #bbbbbb!important;
}

/*Скрываем последний визит из профиля*/
li.pa-last-visit {display: none!important; }

/* Контейнер навигации — должен быть position: relative */
#pun-navlinks .container {
    position: relative;
}




/* Родительский элемент пункта с подменю */
#pun-navlinks .container li.has-submenu {
    position: relative;
}

/* Выпадающее меню */
#pun-navlinks .container li.has-submenu > ul {
    position: absolute;
    top: 100%;           
    left: -60px;             
    min-width: 160px;    
    width: max-content;
    z-index: 9999!important;
    background: #121212;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 4px 0;
    margin: 4px 0 0 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease-out;
    opacity: 0;
}

/* Появление при наведении */
#pun-navlinks .container li.has-submenu:hover > ul {
    transform: scaleY(1);
    opacity: 1;
}

/* Элементы меню */
#pun-navlinks .container li.has-submenu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

/* Ссылки внутри */
#pun-navlinks .container li.has-submenu ul li a {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
    color: #bbbbbb;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

#pun-navlinks .container li.has-submenu ul li a:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-radius: 4px;
    margin: 0 4px;
}


/* === Профиль-меню (аналогично админке) === */

/* Родительский элемент */
#pun-navlinks .container li#navprofile.has-submenu {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
}

/* Выпадающее меню */
#pun-navlinks .container li#navprofile.has-submenu > .profile-submenu {
    position: absolute;
    top: 100%;
    left: -40px;              /* центрирование */
    min-width: 160px;
    width: max-content;
    z-index: 9999 !important;
    background: #121212;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 3px 0;
    margin: 0;
    
    /* Анимация */
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

/* Появление при наведении */
#pun-navlinks .container li#navprofile.has-submenu:hover > .profile-submenu {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

/* Элементы списка */
#pun-navlinks .container li#navprofile.has-submenu .profile-submenu li {
    list-style: none;
    margin: 0;
    padding: 1px 0;
    display: block;
    position: relative;
}

/* Ссылки */
#pun-navlinks .container li#navprofile.has-submenu .profile-submenu li a {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
    color: #bbbbbb;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    position: relative;
    z-index: 1;
}

/* Ховер на ссылку */
#pun-navlinks .container li#navprofile.has-submenu .profile-submenu li a:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-radius: 4px;
    margin: 0 4px;
}

/* === Опционально: отключаем padding/margin на мобильных, если нужно === */
@media (max-width: 768px) {
    #pun-navlinks .container li#navprofile.has-submenu {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}



/* горизонтальное меню 
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

.menu-container {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
  gap: 8px !important;
}

.snip1434 {
    font-family: var(--main-font);
    border: 1px solid var(--dark-bord) !important;
    border-radius: 50px;
    overflow: hidden;
    color: var(--navi-link);
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    text-align: center;
    display: inline-block;
    outline: 1px dashed #414141;
    position: relative;
    font-size: 10px;
    background-color: #1c1c1c;
    letter-spacing: 1px;
    top: 52px;
    transition: all 0.5s ease;
    box-shadow: #0000004d 0px 2px 5px 0px, inset 0 0 20px 0px #00000036;
    outline-offset: -5px;
}

.snip1434:hover,
.snip1434.hover {
  color: #ffffff;
  cursor: pointer;
  outline: 1px dashed #ada8a8;
}

.icon {
  font-size: 12px;
  animation: pulse 1.5s infinite;
}
*/


#html-footer {
    margin-bottom: 0;
}



img.usav {
    width: 45px;
    z-index: 9999;
    position: relative;
}


#pun-main .post-author ul {
    text-align: center;
    background: var(--profl);
    margin: 15px;
    border-radius: var(--radius);
    padding: 10px 0;
}
.punbb .category .container {
    background: var(--pf-bg);
    border-radius: var(--radius2);
}



#pun-index .category table tr:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 7px;
    background: url(https://forumstatic.ru/files/001c/c1/ad/64889.png) center no-repeat;
}


/* Flow Around */

#float {
    display: none;
    position: absolute;
    --width: 120px;
    margin-top: 90px;
    left: calc(50% - var(--width));
    text-align: center;
    background: var(--pf-bg);
    border: 1px solid #333;
    padding: 8px 16px;
    z-index: 1;
}

#float strong {
    display: block;
    margin-bottom: 7px;
}

#float i {
    font-size: 16px;
    padding: 0 8px;
}

#float i:hover {
    opacity: .6;
}

#h-unanswered, #h-myposts, #h-replies {
    display: None !important;
}


a#open-debts-modal {
font-size: 0;
}

a#open-debts-modal::before {
content: 'долги';
font: 600 11px var(--sec-font);
}







/*Поля в профиле*/

.prof-f {
    margin: 5px 20px 25px;
    background: linear-gradient(180deg, #AA9B89, #DACFC2);
    border: 1px solid #AD9F8D;
    padding: 0;
    border-radius: 5px;
}

.pa-respect, .pa-posts, .pa-fld2, .pa-fld4 {
    display: flex;
    gap: 3px;
    font-size: 8px;
    justify-content: flex-start;
    position: static !important;
    flex-direction: row;
    width: 100% !important;
    align-items: center;
    padding: 0 7px;
}


.allps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 10px;
    position: relative;
    border-top: 1px solid #ad9f8d;
}



.pa-respect .fld-name, .pa-posts .fld-name, .pa-fld2 .fld-name, .pa-fld4 .fld-name {
    position: relative;
    z-index: 9;
    flex: 0 0 auto;
    font-size: 0;
    height: 9px;
    display: flex;
    align-items: center;
}

.pa-respect .fld-name:before, .pa-posts .fld-name:before, .pa-fld2 .fld-name:before, .pa-fld4 .fld-name:before {
    content: '';
    color: var(--accent);
    font-family: 'Font Awesome 6 Pro';
    font-weight: 600;
    font-size: 8px;
}

.pa-posts .fld-name:before {
        content: '\f0e0';
}

.pa-fld2 .fld-name:before {
    content: '\f255';
}

.pa-fld4 .fld-name:before {
    content: '\f53d';
}

.pa-respect .fld-name:before {
    content: '\f004';
}


.pa-respect, .pa-fld4 {
    flex-direction: row-reverse;
}


.allps:has(.pa-fld2, .pa-post):before {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #ad9f8d;
}



.blood-f {
    margin: 10px 10px 0 0;
    padding: 6px 10px;
    background: var(--text);
    font-size: 10px;
    font-weight: bold;
    color: var(--pf-bg);
    border-radius: 5px;
}


#pun-status .container a {
    color: var(--navi-link-hov) !important;
}


#pun-status .container a:hover {
    color: var(--pf-bg) !important;
}

#pun-main {
    background: var(--base-bg2) repeat;
    border-radius: var(--radius);
    padding: 6px 30px;
    margin: 0px 0 0 0;
}

.punbb-admin {
    background: var(--base-bg2);
    padding: 20px;
}


.lz-work {
    color: var(--profl);
}



/*** всплывающая ***/
.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
    top: 0;
    left: 0;
    background: #000000bf;
}
.reveal-modal {
    visibility: hidden;
    top: 100px;
    left: 50%;
    margin-left: -300px;
    width: 832px !IMPORTANT;
    position: absolute;
    z-index: 101;
    padding: 0;
}
.reveal-modal.small     { width: 200px; margin-left: -140px;}
.reveal-modal.medium     { width: 400px; margin-left: -240px;}
.reveal-modal.large     { width: 600px; margin-left: -340px;}
.reveal-modal.xlarge {
    width: 800px;
    margin-left: -440px !important;
    margin-top: -50px !important;
}
	
.reveal-modal .close-reveal-modal {
    font-size: 22px;
    line-height: .5;
    position: absolute;
    top: 0;
    right: -56px;
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.modal_wrap info {
    display: block;
    background: var(--prof-img) center/cover;
    height: 500px;
    width: 858px;
    margin: auto;
    padding: 0;
    overflow-y: auto;
    color: var(--pf-bg);
    border-radius: 10px;
    border: 1px solid #2b2118;
    display: flex;
    gap: 20px;
}

.blood-info {
    display: flex;
    flex-direction: column;
    width: 260px;
    background: #0c0907;
    border: 1px solid #2b2118;
    gap: 10px;
    margin: 20px;
    border-radius: 10px;
}


.av-name, .pers-info, .blood-twinks {
    margin: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.av-name name {
    font-weight: 600 !important;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-size: 12px;
    color: var(--base-bg2) !IMPORTANT;
    padding: 0px 10px 1px;
}


.av-name av img {
    filter: grayscale(100%);
    transition: all .6s ease-in-out 0s;
    width: 125px;
    height: 125px;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
}

.pers-info, .blood-twinks {
    background: var(--quote);
    padding: 10px 20px;
    border: 1px solid var(--dark-bord);
    border-radius: 10px;
    font-family: var(--main-font);
    display: flex;
    align-items: flex-start;
    color: var(--sec-text);
}


.av-name {
    margin: 20px 20px 10px;
}

.blood-twinks span {
    background: var(--navi-link);
    border-radius: 10px;
    padding: 0 10px 1px;
    text-transform: uppercase;
}



.blood-twinks twn a {
    color: var(--navi-link-hov) !important;
}

.blood-twinks twn a:hover {
    color: var(--navi-link) !important;
}



.blood-act {
    display: flex;
    flex-direction: column;
    width: 535px;
    gap: 10px;
    margin: 20px -20px;
    border-radius: 10px;
}


/* Стили для переключателей вкладок */
.tab {
    padding: 5px 20px 4px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--quote);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    background: var(--sec-text);
    font-family: var(--sec-font);
    text-transform: none;
    border-radius: 20px;
}
        
.tab:hover {
    background-color: var(--accent2);
    color: var(--tab-text);
}
        
        /* Скрываем радио-кнопки */
        .tab-input {
            display: none;
        }
        
        /* Стили для активной вкладки */
#tab1:checked ~ .tabs-header label[for="tab1"], #tab2:checked ~ .tabs-header label[for="tab2"] {
    color: var(--pf-bg);
    background-color: var(--accent2);
}
        

        
        /* Стили для контейнеров содержимого */
.tab-content {
    display: none;
    padding: 0;
    animation: fadeIn 0.5s ease;
    margin: 14px !important;
}
        
        /* Показываем содержимое первой вкладки по умолчанию */
        #tab1:checked ~ .tab-content-1,
        #tab2:checked ~ .tab-content-2 {
            display: block;
        }


.tabs-header {
    display: flex;
    justify-content: center;
    gap: 20px;}


#pa-avatar img {
    border-radius: 10px;
}
#pa-edit a {
    color: var(--pf-bg) !important;
    border-radius: 5px;
    background: var(--accent2);
    padding: 3px 10px;
    text-align: center;
    display: block;
}




.punbb .main {
    margin: 0;
}
















/*Фоны пользователей*/
.post-author::before {
    content: '';
    width: 250px;
    height: 180px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    mask: linear-gradient(0deg, rgba(217, 217, 217, 0) 0%, #141c1b 100%);
    -webkit-mask: linear-gradient(0deg, rgba(217, 217, 217, 0) 0%, #141c1b 100%);
    overflow: hidden;
    filter: grayscale(.4);
    border-radius: var(--radius) var(--radius) 0 0;
}

.post[data-user-id="3"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/813537.jpg');
}
.post[data-user-id="2222"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/15/10/2/68012.jpg');
}
.post[data-user-id="58"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/56465.png');
}
.post[data-user-id="70"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/15/10/2/726424.jpg');
}
.post[data-user-id="103"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/301914.jpg');
}
.post[data-user-id="13"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/159899.jpg');
}
.post[data-user-id="101"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/295977.jpg');
}
.post[data-user-id="40"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/15/10/2/726424.jpg');
}
.post[data-user-id="54"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/15/10/3/192148.jpg');
}
.post[data-user-id="88"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/281173.jpg');
}
.post[data-user-id="109"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/15/10/2/577871.jpg');
}
.post[data-user-id="89"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/650543.jpg');
}
.post[data-user-id="62"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/415661.jpg');
}
.post[data-user-id="107"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/981349.jpg');
}
.post[data-user-id="130"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/981349.jpg');
}
.post[data-user-id="81"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/754771.jpg');
}
.post[data-user-id="125"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/543908.jpg');
}
.post[data-user-id="66"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/56834.jpg');
}
.post[data-user-id="50"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/415661.jpg');
}
.post[data-user-id="140"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/86345.jpg');
}
.post[data-user-id="106"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/669614.jpg');
}
.post[data-user-id="20"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/99028.jpg');
}
.post[data-user-id="121"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/186068.jpg');
}
.post[data-user-id="143"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/35827.jpg');
}
.post[data-user-id="32"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/72352.jpg');
}
.post[data-user-id="129"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/942682.jpg');
}
.post[data-user-id="150"] .post-author::before {
    background-image: url('https://upforme.ru/uploads/001c/3d/c8/58/415661.jpg');
}