/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1789824785.css);

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');


:root {
    --base-bg: #b7a490 url(https://forumstatic.ru/files/001c/c8/f4/53702.webp);
    --pun-bg: #e9e5dc;
    --base-bg2: #e3ded4;
    --text: #25201b;
    --sec-text: #655e58;
    --accent: #8d7757;
    --accent2: #b4bdc0;
    --navi-link: #38322c;
    --navi-link-hov: #6a563b;
    --main-font: montserrat;
    --sec-font: playfair display;
    --head: url(https://forumstatic.ru/files/001c/c8/f4/30320.webp);
    --profile-bg: url(#);
    --quote: #e3ded4;
    --bord: #d0cabf;
    --navi-bg: url(https://forumstatic.ru/files/001c/c8/f4/27597.webp);
    --cat-fon: url(https://forumstatic.ru/files/001c/c8/f4/52205.jpg?v=1);
    --tab-text: #25201b;
    --cfoot: url(https://forumstatic.ru/files/001c/c8/f4/86271.webp);
    --pf-bg: url(https://forumstatic.ru/files/001c/c8/f4/31197.jpg);
    --tab-link: #5a6a70;
    --tab-accent: #9e9588;
    --radius: 2px;
    --radius2: 3px;
    --dark-bord: #a38e7f;
    --column: url(https://forumstatic.ru/files/001c/c8/f4/47624.svg);
    --light-text: #ece7da;
    --mob-head: url(https://forumstatic.ru/files/001c/ca/68/76500.jpg);
}


.dark {
    --base-bg: #12100f url(https://forumstatic.ru/files/001c/c8/f4/97835.webp);
    --pun-bg: #151513;
    --base-bg2: #191918;
    --text: #d6d2cb;
    --sec-text: #d1ccc2;
    --accent: #7f6540;
    --accent2: #a3845b;
    --navi-link: #d1ccc2;
    --navi-link-hov: #af996e;
    --head: url(https://forumstatic.ru/files/001c/c8/f4/51398.webp);
    --quote: #131312;
    --bord: #453627;
    --navi-bg: url(https://forumstatic.ru/files/001c/c8/f4/80376.webp);
    --cat-fon: url(https://forumstatic.ru/files/001c/c8/f4/94900.jpg);
    --tab-text: #d1ccc2;
    --cfoot: url(https://forumstatic.ru/files/001c/c8/f4/94900.jpg);
    --pf-bg: url(https://forumstatic.ru/files/001c/c8/f4/48023.jpg);
    --tab-link: #af996e;
    --tab-accent: #484844;
    --dark-bord: #5a4837;
    --light-text: #d1ccc2;
    --name-i: url(https://forumstatic.ru/files/001c/c8/f4/10274.webp);
    --mob-head: url(https://forumstatic.ru/files/001c/c8/f4/97835.webp);
}




/* 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(--pun-bg);
    border: 1px solid var(--bord);
    outline: none;
    color: var(--text);
    border-radius: var(--radius) !important;
}

/* 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: 1200px;
    position: relative;
}


/* A5.2 */
.punbb {
    float: none;
    width: auto;
    height: auto;
    margin: 0 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: 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%;
  }

/* 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 {
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 0;
    color: var(--tab-text);
    font-weight: 500;
    margin: 0px 0 10px 0px;
    padding: 4px 26px;
    border-radius: var(--radius);
    background: var(--navi-bg);
    border: 1px solid var(--bord);
}

.punbb .code-box strong.legend a {
    color:var(--tab-link) !important;
}

.punbb .code-box strong.legend a:hover {
    color: var(--accent) !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;
    margin: 0px 0px 5px !important;
    position: relative;
    padding: 0 0px;
}

/* 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);
    margin-top: 6px;
}

/* 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;
    text-transform: lowercase;
    transition: all .4s linear 0s !important;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 0em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border-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-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0;
    align-items: center;
    display: flex;
}

/* 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 {
    font-family: var(--main-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    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;
}

/* 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 {
    margin: 0 50px 0 0px;
    text-align: justify;
    position: relative;
    font-family: var(--main-font);
    font-size: 11px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 4px;
    letter-spacing: 0;
    text-transform: lowercase;
}


/* C2.15 */
.punbb div.icon {
    float: left;
    display: block;
}




#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;
    background: var(--pun-bg);
    border: 1px solid var(--bord);
    border-radius: var(--radius);
}

/* C3.2 */
#pun-viewtopic .post h3 {
    text-align: center;
    display: flex;
    justify-content: flex-start;
    position: relative;
    margin-top: 20px;
}

.post h3 span strong:before {
    content: ', #';
}

/* C3.3 */
.punbb .post h3 span {
    display: flex;
    font: 400 10px var(--main-font);
    height: auto;
    align-items: center;
    justify-content: space-between;
    background: var(--pf-bg);
    margin-left: 0;
    padding: 4px 21px;
    border: 1px solid var(--bord);
    width: auto;
    text-transform: uppercase;
    border-radius: var(--radius);
    margin: 0 11px;
    border-width: 1px 1px 0 1px;
}


/* 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: 10px;
    font-family: var(--main-font);
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    background: var(--navi-bg);
    border-radius: var(--radius2);
    color: var(--tab-text);
    border: 1px solid var(--bord);
}

/* 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;
    margin: 0px 0 5px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* C3.8 */
.pa-author a {
    font-size: 15px;
    font-family: var(--sec-font);
    font-weight: 500 !important;
    text-transform: uppercase;
    border-radius: 0 0 100px 100px;
    background: var(--base-bg2);
    padding: 5px 20px;
    border: 1px solid var(--bord);
    border-width: 0 1px 1px 1px;
    box-shadow: 0px 1px 1px #3b3b3b12;
}


/* C3.9 */
li.pa-title {
    font-size: 10px;
    font-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    text-transform: lowercase;
    color: var(--text);
}


/* C3.11 */
.punbb .post-body {
    margin-left: 260px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
    padding: 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 10px 10px 0;
}

/* 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: 10px 0 0;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
    padding: 0;
}


/* 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
-------------------------------------------------------------*/
/* D3.1 */
#pun-navlinks {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-transform: uppercase;
    margin: 0;
    position: absolute;
    top: 0;
    background: var(--navi-bg);
    height: 62px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9;
    border: 1px solid var(--dark-bord);
    justify-content: space-between;
}

#pun-navlinks .container {
    padding: 0px 0 0 20px;
}

#pun-navlinks li {
    display: inline;
    margin: 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    margin: 0;
    padding: 0;
}

/* D4.2 */
#pun-ulinks .container {
    /* border: 1px solid red; */
    padding: 0px;
    height: auto;
    top: 114px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    display: inline-block;
}

/* D4.4 */
#pun-ulinks li a {
    padding: 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
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
    font-size: 10px;
    font-family: var(--main-font);
    font-weight: 400;
    letter-spacing: 0;
    height: auto;
    text-transform: none;
    width: 100%;
    color: var(--text);
    background: var(--pun-bg);
    padding: 5px 10px;
    border: 1px solid var(--bord);
}
#pun-status .container strong, #pun-status .container a {
    font-weight: 500 !important;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }




/* D5.4 */
#pun-crumbs1 {
    font-weight: 400;
}

/* D5.5 */
#pun-crumbs1 p.container {
    height: auto;
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 16px;
}


#pun-crumbs1 p.container a, #pun-crumbs2 p.container a {
    font-weight: 400;
    transition: 1s;
}


#pun-crumbs1 p.container a:hover, #pun-crumbs2 p.container a:hover {
    transition: 1s;
    font-weight: 400;
}


/* 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;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: center;
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats .container {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 15px 20px;
    font-family: var(--main-font);
    background: var(--pun-bg);
    border: 1px solid var(--bord);
    border-width: 0 1px 1px 1px;
    position: relative;
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


/* 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 {
    font-size: 9px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
}

/* 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: 10px;
    font-weight: 400;
    text-transform: uppercase;
    height: auto;
    margin-top: 20px;
}

/* 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;
}





.postlink.long {
    width: auto !important;
}


.forum tr {
    margin: 10px 0;
    display: flex;
    gap: 20px;
    font: 400 11px var(--main-font);
    align-items: center;
    background: var(--pun-bg);
    text-transform: lowercase;
    padding: 0 10px;
    border-radius: var(--radius);
    border: 1px solid var(--bord);
}

.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%;
}


#tooltip {
    position: absolute;
    background: var(--sec-text);
    z-index: 999;
    max-width: 200px;
    border: none;
    border-radius: var(--radius2);
    font-family: var(--main-font);
    font-size: 10px;
    display: none;
    color: var(--light-text);
    text-align: center;
    text-transform: uppercase;
    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;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}


#pun-admain .adlabel {
    width: 18em !important;
}


#pun-index .tcl h3 a {
    font-size: 21px;
    font-family: var(--sec-font);
    font-weight: 400;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 0;
    position: relative;
    z-index: 1;
}


#pun-index .tcl h3 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    width: 107%;
    height: 13px;
    background: #d0cabf7a;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.3s ease;
    z-index: -1;
}

#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}

#plng {
    font-size: 10px !important;
    font-weight: 400 !important;
    margin-top: 1px !important;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    font-family: var(--main-font);
    padding: 0px 20px;
    height: 27px;
    border: 1px solid var(--bord);
    border-radius: 4px;
    background: var(--pf-bg);
}
#chfont {
    position: fixed;
    top: 10px;
    left: 10px;
    text-align: center;
    z-index: 999;
    display: flex;
    gap: 5px;
    align-items: center;
    background: var(--tab-text);
    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;
}


#pun-searchposts  .post .post-author {
    margin: 10px;
    padding: 10px !important;
}



.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;
}




.pa-posts .fld-name, .pa-respect .fld-name, .pa-fld3 .fld-name, .pa-fld2 .fld-name {
    font-size: 0px;
}


.pa-posts .fld-name:before, .pa-respect .fld-name:before, .pa-fld3 .fld-name:before, .pa-fld2 .fld-name:before {
    content: '\f0e0';
    font-family: 'Font Awesome 5 Pro';
    font-size: 10px;
    color: var(--tab-link);
    margin-right: 5px;
    font-weight: 600;
}
.pa-respect .fld-name:before {
    content: '\f004';
}

.pa-fld3 .fld-name:before, #pa-fld3 span:before {
    content: '\f52d';
}

.pa-fld2 .fld-name:before, #pa-fld2 span:before {
    content: '\f51e';
}


.pa-respect span a {
    padding: 1px;
    width: 12px;
    height: 12px;
    position: absolute;
    margin-top: 0px;
    margin-left: -16px;
    /* border: 1px solid red; */
}

.pa-posts span a {
    padding: 1px;
    width: 12px;
    height: 12px;
    position: absolute;
    margin-top: 0px;
    margin-left: -12px;
    /* border: 1px solid red; */
}


.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
    height: auto !important;
    max-height: 200px;
}


.punbb .post-content blockquote p {
padding: 5px 0 5px 0;
}

.post-content .spoiler-box > div {
    background: transparent !important;
    position: relative;
    padding: 10px;
    font-family: var(--main-font);
}

.post-content .spoiler-box > div.visible {
    border-bottom: 1px solid var(--bord);
    background: var(--quote) !important;
}


.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;
}

.pa-respect img {
display: none;
}



#pun-profile #viewprofile ul {
    width: 100%;
    border: 1px solid var(--bord);
    margin: 0;
    padding: 0;
}
#viewprofile #profile-left {
    text-transform: lowercase;
    text-align: center;
    height: 100%;
    color: var(--tab-text) !important;
    float: left;
    width: 250px;
    font-size: 11px;
    margin: 10px;
    font-family: var(--main-font);
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    background: var(--navi-bg);
    border-radius: var(--radius2);
    border: 1px solid var(--bord);
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: visible;
}


#profile-name {
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    align-items: center;
    margin: 0px 0 5px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}


#profile-left #profile-name strong {
    font-size: 17px !important;
    font-family: var(--sec-font);
    font-weight: 500 !important;
    text-transform: uppercase;
    border-radius: 0 0 100px 100px;
    background: var(--base-bg2);
    padding: 5px 20px !important;
    border: 1px solid var(--bord);
    border-width: 0 1px 1px 1px;
    box-shadow: 0px 1px 1px #3b3b3b12;
}


#profile-left #profile-title strong {
    font-size: 10px;
    font-weight: 400 !important;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    text-transform: lowercase;
    color: var(--text);
}

#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;
}


#viewprofile #profile-left li strong, #viewprofile #profile-left li strong a {
    color: var(--tab-text);
    padding: 0;
}

#viewprofile #profile-left .lz-text {
    padding: 5px 15px !important;
    text-align: justify;
    font-size: 10px;
    color: var(--sec-text);
    font-weight: 500;
    position: relative;
    margin: 5px 0 10px;
    border: 1px solid var(--bord);
    background: var(--quote);
    border-width: 1px 0;
}

#viewprofile #profile-left #pa-fld4 {
    margin: 10px;
    display: flex;
    justify-content: center;
}

#viewprofile #profile-left #pa-fld4 .bad-plah {
    width: 228px;
}

#pa-fld3 span, #pa-fld2 span {
    display: flex !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    color: var(--navi-link);
    margin: 0 !important;
    flex-direction: row;
    font-weight: 400 !important;
    font-size: 0;
}

#viewprofile #profile-left #pa-online, #viewprofile #profile-left #pa-edit {
    margin: 10px 10px 0 10px;
    background: var(--quote);
    border: 1px solid var(--bord);
    padding: 3px;
    text-transform: lowercase;
    font-size: 10px;
    font-weight: 500 !important;
}

#viewprofile #profile-left #pa-edit {
margin: 10px;
}

#viewprofile #profile-left #pa-online strong {
    font-weight: 500 !important;
}




#pa-fld2, #pa-fld3 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 10px);
    letter-spacing: 0 !important;
}

#viewprofile #profile-left #pa-fld2 strong, #viewprofile #profile-left #pa-fld3 strong {
    font-weight: 400 !important;
}

#pa-fld3 span::before, #pa-fld2 span::before {
    content: '\f52d';
    font-family: 'Font Awesome 5 Pro';
    font-size: 11px;
    font-weight: 600;
}

#pa-fld2 span::before {
    content: '\f51e';
}

#pa-fld5 {
    width: 22px;
    background: var(--quote);
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--bord);
    top: 24px;
    position: absolute;
    left: -22px;
}


#profile-left li span {
    display: none;
}


#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: #00000008;
    border: 1px solid #0000000a;
    gap: 6px;
    font-family: var(--main-font);
}

#profile-right #pa-fld1 {
    width: 100%;
}



#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 {
    opacity: 0.5;
    border: none;
    margin-bottom: 0.8em;
    background: var(--head);
    height: 2px !important;
    box-shadow: 0px 0px 0px 1px var(--accent);
}

#pun-index .datetime, #pun-index .byuser {
    font-size: 11px;
    font-weight: 400;
    color: var(--sec-text);
    text-transform: lowercase;
}

#html-header a {
    color: var(--tab-link);
}

#html-header a:hover {
    color: var(--tab-text);
}


.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
    accent-color: var(--accent);
}



#post-form .container {
    padding: 0;
}


.tcr-wrap {
    display: flex;
    flex-direction: column;
    text-transform: none;
    gap: 2px;
}


#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(--text);
    font-size: 10px;
    background: var(--bord);
    padding: 2px 10px;
    border-radius: 10px;
}


.forum .tclcon > a, .forum .tcr a {
    display: block;
}


.forum .tclcon .byuser:before {
    content: 'создал:';
    color: var(--sec-text);
    opacity: .7;
}

span.pagestext {
    margin-left: -7px;
}


.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 {
    background: var(--quote);
    padding: 5px 10px;
    text-transform: lowercase;
    border-radius: 5px;
    font-size: 10px;
    font-family: var(--main-font);
    color: var(--text);
}

.pagelink strong {
    background: var(--quote);
    padding: 1px 4px 1px 3px;
    border-radius: 3px;
    border: 1px solid var(--bord);
}

.post h3 span a {
    font-weight: 700;
    color: var(--accent) !important;
}

.post h3 span a:hover {
    color: var(--text) !important;
}


.author-wrap {
    background: var(--pf-bg);
    margin: 0 10px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px #17121212;
}

.pa-posts, .pa-respect, .pa-fld3, .pa-fld2 {
    display: inline-flex;
    padding: 5px;
    width: calc(30% - 20px);
    justify-content: center;
    margin-top: 10px;
}

.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);
}




del {
    text-decoration: none!important;
    filter: blur(4px);
    transition-duration: 0.3s;
}
del:hover {
    filter: blur(0px);
     transition-duration: 0.3s;
}



#pun-index .category h2, #pun-stats h2 {
    width: auto;
    height: 50px;
    -webkit-text-size-adjust: 100%;
    display: flex;
    padding: 0 !IMPORTANT;
    justify-content: flex-end;
    gap: 0;
    text-transform: none !important;
    position: relative;
    margin: 0px 0 0px;
    flex-direction: row;
    align-items: center;
    z-index: 0;
    background: var(--cat-fon);
    overflow: hidden;
    border: 1px solid var(--bord);
}

#pun-index .category h2 span {
    font-family: var(--sec-font);
    position: relative;
    border-radius: var(--radius2);
    color: var(--text);
    display: flex;
    font-size: 22px;
    background: var(--navi-bg);
    text-transform: uppercase;
    font-weight: 400;
    margin-left: 0;
    z-index: 0;
    margin-right: 30px;
}



#pun-stats h2 span {
font-size: 0;
}

#pun-stats h2 span::before {
    content: 'Sleepless in New York';
    font-family: var(--sec-font);
    color: var(--tab-text);
    font-size: 18px;
    display: block;
    letter-spacing: 0px;
    text-transform: uppercase;
}
#pun-stats h2 {
    display: flex;
    justify-content: center;
}


#pun-index div.category .container {
    padding: 0;
    border-radius: var(--radius);
    background: var(--pun-bg);
    border: 1px solid var(--bord);
    position: relative;
    border-width: 0 1px 1px 1px;
}


/* Навигация */
.accordion {
    text-align: center;
    position: relative;
}

.accordion-btn {
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sec-font);
    font-size: 14px;
    letter-spacing: 0px;
    transition: all .7s ease-in-out 0s;
    background: var(--cat-fon);
    width: 230px;
    height: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--bord);
    display: flex;
    justify-content: center;
    align-items: center;
}
.accordion-btn.active {
    letter-spacing: 1px;
}
.accordion-content {
    background: var(--pf-bg);
    border-radius: var(--radius);
    position: absolute;
    top: 42px;
    width: 275px;
    z-index: 9;
    left: -26px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transform-origin: top center;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    pointer-events: none;
    box-shadow: 3px 3px 20px #dbd4ca;
    border: 1px solid var(--bord);
}

.accordion-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto; 
}
.content-grid {
    padding: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.menu-link {
    text-align: center;
    color: var(--tab-text) !important;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: var(--main-font);
    display: flex;
    justify-content: center;
    font-weight: 400;
    font-size: 10px;
    text-transform: uppercase;
    background: var(--navi-bg);
    flex: auto;
}

.menu-link:hover {
    background: var(--accent2);
}


.html-box a {
    text-align: center;
    height: 30px;
    overflow: hidden;
    border: 1px solid #81716652;
    color: var(--quote) !important;
    border-radius: 4px;
    transform: scale(1);
    display: flex;
    background: #0000000d;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    font-family: var(--main-font);
    gap: 10px;
    padding: 3px 10px;
}
.html-box a data {
    background: var(--navi-link);
    padding: 1px 5px;
    font-size: 10px;
    border-radius: var(--radius);
    transition: 1s;
}

.html-box a p.one {
    font-size: 10px;
    margin-top: 0;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0;
}

.html-box a:hover {
    transform: scale(.9);
}


#pun-index .category + .category {
margin-top: 20px;
}


#banners {
    position: absolute;
    /* border: 1px solid red; */
    margin-top: -47px;
    left: 100px;
    width: 858px;
    height: 34px;
}


#banners bnr {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    overflow-y: auto;
    height: 32px;
}


.proffl {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: #ffffff29;
    margin: 12px 12px 0;
    padding: 8px 10px;
    border-radius: var(--radius);
    border: 1px solid var(--bord);
}

#pun-index .category table tr {
    margin: 35px 20px;
    -webkit-appearance: none;
    display: flex;
    gap: 0 30px;
    align-items: center;
    position: relative;
    background: var(--quote);
    padding: 10px 20px;
}


.newtext {
display: none;
}





#pun-main {
    background: var(--pun-bg);
    padding: 20px 30px;
    color: var(--text);
    position: relative;
    border-radius: 0;
    margin-bottom: 0;
    border: 1px solid var(--dark-bord);
    border-bottom: 0;
}

.punbb-admin {
    background: var(--base-bg2);
    padding: 20px;
    border: 1px solid var(--dark-bord);
}


.head-f {
    height: 552px;
    position: relative;
    top: 93px;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
}


.head-f:before {
    content: '';
    background: var(--head);
    width: 1138px;
    height: 526px;
    position: absolute;
    z-index: -1;
}


.top-name {
    margin: 0 20px;
    font: 400 14px var(--sec-font);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.top-name:before {
    content: '';
    width: 1px;
    background: var(--dark-bord);
    height: 30px;
    opacity: .6;
}

.top-name:after {
    content: '';
    background: var(--accent);
    mask: var(--column);
    -webkit-mask: var(--column);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    width: 20px;
    height: 20px;
}


.head-f name {
    position: absolute;
    top: 114px;
    color: var(--light-text);
    font-size: 90px;
    font-family: var(--sec-font);
    text-transform: uppercase;
    text-shadow: 0px 0px 1px var(--accent), 0px 0px 3px #25201b4a, 0px 0px 50px #271e1cc2;
    z-index: 2;
}

.head-f quo {
    position: absolute;
    top: 233px;
    color: var(--light-text);
    font-family: var(--sec-font);
    font-style: italic;
    font-size: 17px;
    width: 700px;
    text-align: center;
    text-shadow: 0px 0px 1px var(--accent), 0px 0px 3px #25201b4a;
    z-index: 2;
}


.bad-a-tab {
    /* border: 1px solid red; */
    position: absolute;
    width: 1068px;
    height: 188px;
    left: 50%;
    transform: translateX(-50%);
    top: 461px;
    z-index: 9;
    border: 1px solid #b7afa2;
    background: var(--base-bg2);
    box-shadow: -2px 2px #d2ccbe, -3px 3px #b7afa2, 2px -2px #d2ccbe, 3px -3px #b7afa2;
}


#pun-main-sec {
    background: var(--base-bg2);
    border: 1px solid var(--bord);
    margin: 96px 0 15px;
    box-shadow: 0px 0px 0px 2px var(--base-bg2), 0px 0px 0px 3px var(--bord);
    padding: 20px;
}


#pun-stats {
    background: var(--base-bg2);
    margin: 0px 0 0px 0px;
    padding: 20px;
    border: 1px solid var(--dark-bord);
    border-radius: 0;
    border-width: 0 1px 1px 1px;
    border-top: 1px solid var(--bord);
}


#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
    position: relative;
    display: flex !important;
    flex: auto;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: var(--base-bg2);
    padding: 6px 10px;
    border: 1px solid var(--bord);
}
#pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span, #pun-stats li.item4 span {
    text-transform: uppercase;
    font-size: 11px;
    font-family: var(--sec-font);
    color: var(--sec-text);
}
#pun-stats li.item1 strong, #pun-stats li.item2 strong, #pun-stats li.item3 strong, #pun-stats li.item4 strong {
    font-size: 20px;
    font-family: var(--sec-font);
    font-weight: 300;
    padding: 4px;
    font-style: italic;
    text-transform: lowercase;
}

 #pun-stats li.item4 a {    font-weight: 300 !important;}












#pun-index .category table tbody.hasicon tr:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: -21px;
    width: 1096px;
    height: 1px;
    background: var(--bord);
}



#pun-index .category tr.inew {
    background: var(--pf-bg);
    border: 1px solid var(--bord);
    box-shadow: 3px 0 var(--accent2) inset;
}


.bad-a-tab {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    padding: 30px;
}


.bad-col-left,
.bad-col-center,
.bad-col-right {
    display: flex;
    flex-direction: column;
}


.bad-link {
    color: #778f9c; /* Голубой цвет */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bad-link:hover {
    color: #55707d; /* Чуть темнее при наведении */
    text-decoration: underline;
}


.bad-col-left .bad-col-title, .bad-col-center .bad-col-title, .bad-col-right .bad-col-title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--sec-text);
    font-family: var(--sec-font);
}

.bad-col-left .bad-quote {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--sec-text);
    font-family: var(--main-font);
    margin-bottom: 10px;
}

.bad-col-left .bad-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bad-col-left .bad-link {
    font-size: 17px;
}

.bad-col-left .bad-italic {
    font-style: italic;
    font-family: var(--sec-font);
}

.bad-col-left .bad-badge {
    background: var(--bord);
    color: var(--text);
    font-size: 9px;
    padding: 2px 5px;
    border-radius: var(--radius2);
    font-family: var(--main-font);
    text-transform: uppercase;
}

.bad-col-center .bad-text {
    font-size: 10px;
    text-align: justify;
    color: var(--tab-text);
    font-family: var(--main-font);
    font-weight: 400;
    height: 80px;
    overflow-y: auto;
    padding-right: 10px;
    /* border: 1px solid red; */
}

.bad-col-center .bad-read-more {
    display: block;
    text-align: right;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--tab-accent);
    font-size: 11px;
    letter-spacing: 0;
    cursor: pointer;
    font-family: var(--main-font);
    font-weight: 500;
}
.bad-col-right {
    align-items: flex-end;
    text-align: right;
    gap: 5px;
}

.bad-col-right .bad-episode-name {
    font-size: 16px;
    font-style: italic;
    text-transform: none;
    font-family: var(--sec-font);
}


.bad-nav-btn {
    margin-top: -10px;
}

.bad-col-right .bad-player-names {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--sec-text);
    margin-bottom: 16px;
    background: var(--bord);
    font-family: var(--main-font);
    padding: 3px 10px;
    font-weight: 500;
}

.bad-col-left,
.bad-col-center {
    position: relative;
}

.bad-col-left::after,
.bad-col-center::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20px; 
    width: 1px;
    background-color: var(--bord); 
}

.bad-col-left::after {
    right: -20px;
}

.bad-col-right {
    padding-left: 0;
}

.bad-col-center{
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.forum .tclcon > a, .forum .tcr a {
    display: block;
}


#pun-viewforum .tcr {
    display: flex;
    align-items: center;
}



#pun-navlinks.sticky-nav {
    position: fixed;
    top: 0;
    width: 1200px;
    z-index: 13;
    background: var(--navi-bg);
}

#pun-ulinks.sticky-nav .container {
position: initial;
}

#pun-ulinks.sticky-nav {
    position: fixed;
    left: 0;
    width: 1198px;
    z-index: 7;
    background: var(--pf-bg);
    margin-top: 0;
    transform: translateX(-50%);
    left: 50%;
    border-bottom: 1px solid var(--bord);
    height: 33px;
    display: flex;
    align-items: center;
}

.html-box {
    z-index: 9;
    display: flex;
    gap: 6px;
    position: absolute;
    top: 106px;
    width: 1100px;
    flex-direction: row;
    padding-bottom: 4px;
    overflow-x: auto;
    height: 47px;
    padding-right: 10px;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
}

a.lz-link {
    font-family: var(--sec-font);
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin: 5px;
}


.lz-text {
    background: var(--light-text);
    margin: 4px -10px -8px;
    padding: 5px 15px;
    text-align: justify;
    font-size: 10px;
    color: var(--sec-text);
    font-weight: 500;
    border-top: 1px solid var(--bord);
}

.pa-fld4 {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 5px;
    order: 3;
}

.bad-plah {
    width: 250px;
    height: 40px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    color: var(--tab-text);
    cursor: pointer;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 9px;
    flex-shrink: 0;
    margin: 0 auto;
}

.bad-plah-text {
    line-height: 12px;
    color: #ebebeb;
    font-weight: 600;
    font-size: 10px;
    z-index: 9;
    text-shadow: 1px 1px 10px rgb(0 0 0 / 29%);
    text-transform: lowercase;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.bad-plah-text one {
    font-size: 12px;
    font-weight: 600;
}

.bad-plah-text two {
    font-weight: 400;
    color: #f7f3ef;
}

.bad-plah img {
    width: 100%;
    height: 100%;
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.8);
}


.head-f::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgb(35 28 23 / 22%) 0%, rgb(24 20 17 / 33%) 40%, rgba(0, 0, 0, 0) 75%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}




.go-up, .go-down {
    background: var(--accent);
    width: 24px;
    height: 24px;
    border-radius: 100%;
    color: var(--light-text);
    border: 1px solid var(--bord);
}

.go-up span, .go-down span {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.go-up span:after {
    content: '\f106';
    font-size: 11px;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 600;
}

.go-down span:after {
    content: '\f107';
    font-size: 11px;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 600;
}


.pa-fld5 .pers-icon:before, #pa-fld5 .pers-icon:before {
    content: '';
    width: 14px;
    height: 14px;
    /* position: absolute; */
    display: block;
    mask: url(https://forumstatic.ru/files/001c/c8/f4/22106.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/c8/f4/22106.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    background: #000;
}


.pa-fld5 {
    margin: 25px 0px 0px -22px;
    position: absolute;
    width: 22px;
    background: var(--quote);
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--bord);
}












#stylelist {
    position: absolute;
    opacity: 1;
    top: 251px;
    padding: 0px;
    overflow: hidden;
    width: 1161px;
    list-style-type: none;
    display: flex;
    /* border: red 1px solid; */
    height: auto;
    flex-direction: row;
    left: 20px;
    gap: 10px;
    justify-content: space-between;
    z-index: 7;
}


#stylelist li[data="light"] a, #stylelist li[data="dark"] a {
    border-radius: 100%;
    font-weight: 400;
    font-size: 0;
    display: flex;
    /* padding: 4px; */
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}
#stylelist li[data="light"] a::before {
    content: '';
    background: var(--navi-bg) center/cover;
    mask: url(https://forumstatic.ru/files/001c/85/8d/44091.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/85/8d/44091.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    width: 23px;
    height: 23px;
}

#stylelist li[data="dark"] a::before {
    content: '';
    background: var(--navi-bg) center/cover;
    mask: url(https://forumstatic.ru/files/001c/c8/f4/32171.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/c8/f4/32171.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    width: 18px;
    height: 18px;
}


/***ТЕМНЫЙ***/
.dark .head-f name {
    position: absolute;
    top: 114px;
    font-size: 90px;
    font-family: var(--sec-font);
    text-transform: uppercase;
    z-index: 2;
    background: var(--name-i) center/cover;
    color: #000;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-shadow: none;
    background-clip: text;
}


.dark .accordion-content {
    box-shadow: 3px 3px 20px #151513;
}


.dark #stylelist li[data="light"] a::before {
background: var(--name-i) center/cover;
}

.dark #stylelist li[data="dark"] a::before {
background: var(--name-i) center/cover;
}

.dark .html-box a {
    color: var(--light-text) !important;
}

.dark .html-box a data {
    background: var(--accent);
    color: var(--light-text);
}


.dark .bad-a-tab {
    border: 1px solid #5a4837;
    background: var(--base-bg2);
    box-shadow: -2px 2px #151513, -3px 3px #453627, 2px -2px #151513, 3px -3px #453627;
}

.dark #pun-index .category h2::before {
    color: var(--tab-accent);
}

.dark #pun-index .category h2 span {
    color: var(--navi-link-hov);
}

.dark #pun-about p.container {
    background: var(--cfoot) center/cover;
}

.dark #pun-index .tcl h3 a::after {
    background: var(--base-bg2);
}


.podflinks a {
    background: var(--accent);
    padding: 2px 7px;
    color: var(--light-text) !important;
    text-transform: uppercase;
    font-size: 9px;
    border-radius: var(--radius);
}


.podflinks a:hover {
    background: var(--tab-link);
    box-shadow: 3px 3px 10px #5865686b;
}

.dark .podflinks a {
    background: var(--bord);
}


.dark .podflinks a:hover {
    background: var(--accent);
    box-shadow: 3px 3px 10px #291f1691;
}


.dark #tooltip {
    background: var(--base-bg2);
}

.dark .pa-fld5 .pers-icon:before {
    background: var(--light-text);
}

.dark .proffl {
    background: var(--base-bg2);
}

.dark .lz-text {
    background: var(--pun-bg);
}

.dark .button {
    background-color: var(--bord) !important;
}

.dark .button:hover {
    background-color: var(--base-bg2) !important;
    color: #ebebeb ! IMPORTANT;
}


.dark #pun-about p.container {
    width: 100%;
    height: 83px;
    margin: 2px 0 30px 0px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: -1;
    position: relative;
    border: 1px solid var(--dark-bord);
    padding-top: 10px;
}




/*** ЛС ***/
.nyc-character-sheet {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: var(--base-bg2);
    height: 700px;
    border: 1px solid var(--bord);
    position: relative;
    margin-top: 50px;
}

.nyc-sidebar {
    width: 30%;
    min-width: 280px;
    border-right: 1px solid var(--bord);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--pf-bg) center/cover;
}

/* Аватар */
.nyc-avatar-container {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    margin-bottom: 20px;
}

.nyc-avatar {
    width: 100px;
    height: 100px;
    background: var(--light-text);
    border-radius: 50%;
    border: 4px solid var(--bord);
    overflow: hidden;
}
.nyc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Информация о персонаже */
.nyc-profile-info {
    text-align: center;
    margin-bottom: 30px;
}

.nyc-char-name {
    display: block;
    font-size: 17px;
    color: var(--text);
    font-weight: normal;
    text-transform: uppercase;
    font-family: var(--sec-font);
    margin-bottom: 5px;
}
.nyc-char-status {
    font-size: 11px;
    color: var(--sec-text);
    font-family: var(--main-font);
    font-weight: 500;
}

.nyc-info-block {
    margin-bottom: 20px;
    background: var(--pun-bg);
    border-radius: var(--radius);
    border: 1px solid var(--bord);
}

.nyc-label-bar {
    background: var(--navi-bg);
    padding: 8px 10px;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0;
    font-family: var(--main-font);
    border-bottom: 1px solid var(--bord);
}

.nyc-text-content {
    font-size: 11px;
    color: var(--text);
    padding-left: 5px;
    font-family: var(--main-font);
    font-weight: 400;
    padding: 10px;
}

.nyc-links-block {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--bord);
}

.nyc-links-title {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: var(--sec-font);
}

.nyc-link-btn {
    display: inline-block;
    background: var(--tab-accent);
    color: var(--light-text) !important;
    padding: 5px 15px;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    letter-spacing: 0;
    border: 1px solid var(
    --dark-bord);
    border-radius: var(--radius);
}

.nyc-link-btn:hover {
    background: var(--accent);
}

/* --- Правая часть (Content) --- */
.nyc-main-content {
    width: 70%;
    padding: 20px;
}

.nyc-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.nyc-card-section {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bord);
    padding: 10px;
    background: var(--quote);
}

.nyc-section-title {
    display: block;
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 0;
    font-family: var(--sec-font);
    background: var(--navi-bg);
    padding: 2px 0;
    border: 1px solid var(--bord);
    border-radius: var(--radius);
}

.nyc-content-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    height: 255px;
    overflow-y: auto;
    padding-right: 5px;
    gap: 5px;
}


.nyc-content-box2 {
    display: flex;
    overflow-y: auto;
    padding-bottom: 5px;
    gap: 5px;
    flex-direction: row;
}

.nyc-content-box3 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    height: 255px;
    overflow-y: auto;
    padding-right: 5px;
    gap: 5px;
}

/* Специфичное позиционирование */
.nyc-tall-section {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.nyc-card-section:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.nyc-wide-section {
    grid-column: 1;
    grid-row: 2;
}

/* --- Адаптивность для мобильных --- */
@media (max-width: 768px) {
    .nyc-character-sheet {
        flex-direction: column;
    }
    
    .nyc-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #dcd6c0;
        padding-top: 60px;
    }
    
    .nyc-avatar-container {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .nyc-main-content {
        width: 100%;
    }

    .nyc-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .nyc-tall-section {
        grid-column: 1;
        grid-row: auto;
    }
}


.nyc-gift-img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.nyc-gift-ttl {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--tab-accent);
    color: var(--light-text);
    font-size: 10px;
    font-family: var(--main-font);
    padding: 5px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 5;
    box-sizing: border-box;
}
.nyc-gift:hover .nyc-gift-ttl {
    opacity: 1;
    visibility: visible;
}



.nyc-achievement-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.nyc-achievement-image {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
}

.nyc-achievement-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.nyc-achievement-ttl {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    background: var(--tab-accent);
    color: var(--light-text);
    font-size: 10px;
    font-family: var(--main-font);
}

.nyc-achievement-image:hover .nyc-achievement-ttl {
    opacity: 1;
    visibility: visible;
}


.nyc-gift {
    position: relative;
    display: inline-block;
    cursor: pointer;
}


.twnks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fm-toggle {
    display: none;
}

.arion-btn {
    cursor: pointer;
    position: fixed;
    top: 110px;
    left: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    background: var(--accent);
    border-radius: 4px;
    border: none;
    border: 1px solid var(--dark-bord);
}
.arion-cont {
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
    background: var(--pf-bg);
    border: 1px solid var(--dark-bord);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    width: auto;
    position: fixed;
    top: 161px;
    left: 10px;
    max-width: 300px;
}
.arion-cont.active {
    max-height: 200px;
    opacity: 1;
    padding: 15px;
    z-index: 999;
}


.arion-btn span::before {
    content: '';
    height: 21px;
    width: 21px;
    background: var(--light-text);
    mask: url(https://forumstatic.ru/files/001c/ca/68/88475.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/ca/68/88475.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    display: block;
}



#chfont {
    position: fixed; /*позиционирование*/
    top: 10px; /*отступ сверху*/
    right: 10px; /*отступ слева*/
    text-align: center; /*текст по центру*/
    line-height: 22px; /*высота строк*/
    -moz-opacity: .8; /*прозрачность*/
    opacity: .8;
    z-index: 999999;
}
#chfont:hover {
    opacity: 1; /*убирает прозрачность при наведении*/
    -moz-opacity: 1;
}
#chfontbut {/*иконка регулятора*/
    width: 26px; /*ширина*/
    height: 26px; /*высота*/
    background: url(https://i.gyazo.com/364c0e92a2be83cb87d9000ce2869eaf.png) center no-repeat; /*картинка иконки*/
    background-color: #d2c1b7; /*фон*/
    float: left; 
    border: solid 2px #70625a; /*рамка вокруг иконки*/
    margin-right: 2px;
    cursor: pointer;
    position: relative;
}
#chfontbut::after {/*крестик на иконке*/
    display: none;
    position: absolute;
    content: 'x';
    top: 0;
    right: 0;
    color: #920000; /*цвет крестика*/
    line-height: 7px; /*высота строки*/
    font-size: 12px; /*размер крестика*/
}
#chfont.active #chfontbut::after {
    display: block;
}
#chfont select {/*поле выбора вида шрифта*/
    display: none;
    background-color: #d2c1b7; /*цвет фона*/
    color: #150e0c; /*цвет текста*/
    margin-bottom: 2px; /*отступ снизу*/
    cursor: pointer;
}
#chfontsize {
    display: flex;
    flex-shrink: 0;
    height: 20px;
    gap: 4px;
}
#chfont.active select,
#chfont.active #chfontsize {
    display: block;
}
.fsizeplus, .fsizeminus {
    background: var(--plash-bg);
    color: var(--tab-text);
    cursor: pointer;
    border: 1px solid var(--green-bord);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13px;
}
.fsizeplus::after {
    content: '+';
}
.fsizeminus::after {
    content: '-';
}
.fsize {
    background: var(--ls-fon);
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font);
    font-weight: 600;
    border-radius: 4px;
}

.font-nav {
    display: flex;
    gap: 10px;
}

select#chfontfam {
    padding: 0;
    border-radius: 3px !important;
    background: var(--form-bg);
    color: var(--form-text);
    width: 118px;
    height: 20px;
}

.design-swap {
    display: flex;
    gap: 8px 20px;
    flex-wrap: wrap;
}

.podflinks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


#profile-right .lz-text {
    background: var(--quote);
    margin: 4px 0px 0px;
    padding: 5px 15px;
    text-align: justify;
    font-size: 10px;
    color: var(--sec-text);
    font-weight: 500;
    border-top: 1px solid var(--bord);
}

.newy-profile {
    width: 100%;
    max-width: 1050px;
    margin: 30px auto;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--pun-bg);
    color: var(--text);
    font-family: var(--main-font), sans-serif;
    border: 1px solid var(--bord);
}

.newy-profile * {
    box-sizing: border-box;
}

.newy-head {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    background: linear-gradient(45deg, black, transparent), url(https://forumstatic.ru/files/001c/c8/f5/30919.jpg) center/cover;
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px;
}

.newy-head-name {
    display: block;
    font-family: var(--sec-font), serif;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.newy-head-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
    color: var(--tab-accent);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.newy-head-dot {
    color: var(--light-text);
    opacity: .5;
}

.newy-head-quote {
    display: block;
    margin-top: 24px;
    color: var(--light-text);
    font-family: var(--sec-font), serif;
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
    opacity: 0.82;
}




.newy-body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    background: var(--pun-bg);
}

.newy-left {
    min-width: 0;
    padding: 12px;
    background: var(--base-bg2);
    border: 1px solid var(--bord);
    display: flex;
    flex-direction: column;
}

.newy-right {
    min-width: 0;
}

.newy-avatar {
    width: 188px;
    margin: 0 auto;
    background: var(--quote);
    display: flex;
    justify-content: center;
    padding: 4px;
    align-items: center;
    border: 1px solid var(--bord);
}

.newy-info {
    padding-top: 16px;
}

.newy-info-row {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 8px;
    padding: 4px 0;
    font-size: 11px;
    line-height: 1.5;
}

.newy-info-label {
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 9px;
    text-transform: uppercase;
}

.newy-info-value {
    color: var(--text);
}

.newy-online {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 5px;
    vertical-align: middle;
    border-radius: 50%;
    background: var(--tab-link);
}

.newy-divider {
    width: 100%;
    height: 1px;
    margin: 18px 0;
    background: var(--dark-bord);
    opacity: .7;
}

.newy-side-block {
    margin-bottom: 16px;
}

.newy-side-title {
    display: block;
    margin-bottom: 7px;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 9px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.newy-side-text {
    display: block;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 11px;
    line-height: 1.55;
}

.newy-twins {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.newy-twin {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.newy-twin-img {
    display: block;
    width: 40px;
    height: 48px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid var(--bord);
    filter: grayscale(1);
    transition: .25s ease;
}

.newy-twin-name {
    display: block;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 12px;
    line-height: 1.3;
    transition: .25s ease;
}

.newy-twin:hover .newy-twin-img {
    filter: grayscale(0);
}

.newy-twin:hover .newy-twin-name {
    color: var(--navi-link-hov);
}

.newy-section {
    margin-bottom: 14px;
    padding: 15px 17px 17px;
    background: var(--pun-bg);
    border: 1px solid var(--bord);
}

.newy-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

.newy-section-title {
    display: block;
    color: var(--text);
    font-family: var(--sec-font), serif;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.newy-section-link {
    display: block;
    flex-shrink: 0;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 9px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.newy-section-link:hover {
    color: var(--navi-link-hov);
}
.newy-achievements {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow-y: auto;
    height: 344px;
    padding-right: 10px;
}

.newy-achievement {
    min-height: 168px;
    padding: 18px 10px 13px;
    text-align: center;
    background: var(--base-bg2);
    border: 1px solid var(--bord);
}

.newy-achievement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    color: var(--text);
    font-family: var(--sec-font), serif;
    font-size: 40px;
    line-height: 1;
}

.newy-achievement-name {
    display: block;
    margin-top: 11px;
    color: var(--text);
    font-family: var(--sec-font), serif;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.newy-achievement-desc {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-family: var(--main-font);
    font-size: 9px;
    line-height: 1.45;
}

.newy-scroll {
    display: flex;
    gap: 7px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}
.newy-scroll-item {
    width: 50px;
    height: 50px;
}
.newy-scroll-item img {
    width: 50px;
}


.newy-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 5px;
}

.newy-stat {
    min-width: 0;
    padding: 7px 4px;
    text-align: center;
}

.newy-stat-symbol {
    display: block;
    height: 28px;
    color: var(--navi-link);
    font-family: 'FontAwesome';
    font-size: 19px;
    font-weight: 900;
    line-height: 28px;
    transition: .2s ease;
}

.newy-stat:hover .newy-stat-symbol {
    color: var(--accent);
}

.newy-stat-number {
    display: block;
    margin-top: 5px;
    color: var(--text);
    font-family: var(--sec-font), serif;
    font-size: 16px;
    line-height: 1.1;
}

.newy-stat-caption {
    display: block;
    margin-top: 2px;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 9px;
    line-height: 1.3;
}

.newy-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.newy-activity {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
    height: 100px;
    overflow-y: auto;
}

.newy-activity-row {
    display: flex;
    gap: 10px;
    color: var(--sec-text);
    font-family: var(--main-font);
    font-size: 11px;
    line-height: 1.4;
}

.newy-activity-date {
    display: block;
    color: var(--light-text);
    background: var(--accent);
    padding: 1px 6px;
    border-radius: var(--radius2);
    font-size: 10px;
}

.newy-activity-text {
    display: block;
    color: var(--sec-text);
}

.newy-activity-text a {
font-weight: 600;
}

.newy-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 20px;
}

.newy-about-text {
    display: block;
    color: var(--sec-text);
    font-family: var(--sec-font), serif;
    font-size: 11px;
    line-height: 1.55;
}

.newy-about-image {
    height: 100px;
    width: 228px;
    background: var(--navi-bg);
}
.newy-about-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.newy-about-quote {
    display: block;
    width: 75px;
    color: var(--light-text);
    font-size: 8px;
    line-height: 1.5;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}


.newy-head-sidequote-line {
    display: block;
    width: 28px;
    height: 1px;
    margin: 11px auto 0;
    background: var(--light-text);
    opacity: .5;
}

.newy-stat-symbol.fa-file-lines:before {
    content: "\f15c";
}

.newy-stat-symbol.fa-comments:before {
    content: "\f086";
}

.newy-stat-symbol.fa-circle-check:before {
    content: "\f058";
}

.newy-stat-symbol.fa-calendar-days:before {
    content: "\f073";
}

.newy-achievement-icon img {
    width: 50px;
}

.ban {
    position: absolute;
    margin: -85px 0 0 19px;
    /* border: 1px solid red; */
    width: 1163px;
    height: 33px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.ban img {
    opacity: .7;
    transition: all .7s ease-in-out 0s;
    
}



.ban img:hover {
    opacity: 1;
}


/*** МОБИЛЬНЫЙ ***/
@media screen and (max-width: 540px) {

html.force-mobile, body.force-mobile, .force-mobile #pun, .force-mobile .punbb {
    width: 100% !important;
    height: 100% !important; 
    padding: 0; 
    -webkit-text-size-adjust: none; 
    overflow-wrap: break-word; 
    float: none; 
    margin: auto;
}

.force-mobile  #pun-searchtopics .tc2 {
    width: 100% !important;
    display: flex !important;
    font-size: 11px;
    margin-left: 5px;
}



body.force-mobile  {
    position: relative;
    background-position: center 0;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch!important;
    overflow-y: scroll !important;
    z-index: 1;
}

.force-mobile #pun {
    max-width: 540px;
    padding: 0!important;
    border-radius: 0;
    background: var(--base-bg2);
    position: relative;
    border: none;
}

.force-mobile .punbb .pa-avatar:after {
display: none;
}


.force-mobile #pun-ulinks, .force-mobile #pun-navlinks .container li a, .force-mobile #pun-navlinks .container li a:hover {
    margin: 0 5px;
}


.force-mobile #pun-ulinks:before {
    content: "\f0c9";
    font-family: 'Font Awesome 6 Pro'!important;
    font-size: 25px!important;
    color: var(--text);
}

.force-mobile #pun-ulinks .container {
    width: 250px!important;
    top: 42px;
    padding: 10px !important;
    margin: 0 !important;
    left: 0;
    width: 140px;
    height: auto !important;
    background: var(--quote);
    border-radius: 6px;
    border: none;
    overflow: hidden;
    border: 1px solid var(--bord);
}

.force-mobile #pun-ulinks li {
    display: block !important;
    margin-bottom: 5px!important;
    background: var(--accent);
    text-align: center;
    border-radius: 5px;
    transition: all .5s linear 0s !important;
    overflow: hidden;
    padding: 5px;
}

.force-mobile #pun-navlinks li#navpm span.num_msg {
    font-size: 15px !important;
    height: 18px;
    background: var(--sec-accent);
    border-radius: 100%;
    font-size: 10px !important;
    width: 18px;
}


.force-mobile .num_msg:before {
display: none !important;
}
.force-mobile #pun-ulinks li a {
    display: block !important;
    margin: 0!important;
    color: var(--light-text);
    font-size: 12px!important;
    padding: 0;
}


.force-mobile .notify-link {
    top: 9px;
    left: 10px;
}


.force-mobile #pun-ulinks {
    margin: 0px 0 0 10px !important;
    position: absolute;
    top: 80px !important;
    left: 0px;
    z-index: 8;
    width: 39px;
    background: #d0cabf42;
    border-radius: 4px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bord);
    backdrop-filter: blur(6px);
}

.force-mobile #pun-ulinks ul {
    display: none;
    z-index: 10000;
    position: absolute;
    top: 47px;
    right: 0;
}
.force-mobile #pun-ulinks:hover ul, .force-mobile #pun-ulinks:focus ul {display: block;}

.force-mobile #pun-ulinks > span.notify-bubble {display: block!important;}

.force-mobile #pun-navlinks .container li {padding: 0 1px !important; margin: 0!important; line-height: 19px !important;}
#navrules, #navextra2, #navextra3, #navextra4, #navextra5, #navextra6, #navextra7, #navextra8, #navextra9, #navextra10 {display: none !important;}
#pun-navlinks .container li a {
    display: inline-block !important;
    padding: 0 !important;
    font-size: 16px;
}
.force-mobile #pun-ulinks, .force-mobile #pun-navlinks .container li a, .force-mobile #pun-navlinks .container li a:hover {margin: 0 5px;}




.force-mobile #pun-status span {
    white-space: break-spaces;
    margin-right: 0.5em;
}



.force-mobile #pun-status .container {
    text-align: left!important;
    position: relative;
    box-sizing: border-box;
    top: -2px;
    left: 0;
    width: 100%;
    padding: 5px 10px;
    height: auto;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
}
.force-mobile #pun-crumbs1 p.container, .force-mobile #pun-crumbs2 p.container {
    text-align: left!important;
    margin: 0 10px;
    height: auto;
    padding: 0;
    box-sizing: border-box;
}
.force-mobile #pun-crumbs1 p.container {
    margin: 10px;
}


.force-mobile .punbb .linksb {
    gap: 10px;
    display: block;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    margin-top: 12px !important;
}

.force-mobile .punbb .linksb {
    margin: 0 10px;
}


.force-mobile .punbb tbody.hasicon td.tcl {
    padding: 0!important;
    display: block;
    width: 100%!important;
}


.force-mobile .forum td.tcr {
    margin-bottom: 0;
    display: block;
    text-align: right!important;
    width: 100% !IMPORTANT;
    margin-top: 2px;
    padding: 0;
}

.force-mobile #pun-index .category table tr {
    -webkit-appearance: none;
    display: block;
    position: relative;
    overflow: visible;
    margin: 0;
}

.force-mobile .pf-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.force-mobile #pun-stats .container {
    padding: 15px 15px 15px 15px!important;
    margin: 0;
    border-width: 1px 0;
    border-radius: 0;
}
.force-mobile #pun-stats li.item1, .force-mobile #pun-stats li.item2 {
    float: none !important;
    margin-bottom: 0px;
}
.force-mobile #pun-stats li.item3, .force-mobile #pun-stats li.item4 {
    text-align: left !important;
    margin-bottom: 0px;
}



.force-mobile #pun-crumbs2 .container {
    margin-left: 20px;
    margin-top: 0px;
}
.force-mobile .punbb .post .post-author {
    float: none!important;
    margin: 0 !important;
    border-width: 0;
    width: 100% !important;
    border-radius: 0 !important;
}
.force-mobile #pun-main .post-author ul {
    padding: 12px;
}

.force-mobile #pun-viewtopic .post h3 {
    border-radius: 0;
}

.force-mobile .punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: center;
    font-weight: normal;
    margin-top: 0;
}


.force-mobile .post-author li {
    text-align: left;
}


.force-mobile .punbb .linksb {
    gap: 10px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 12px !important;
}

.force-mobile .punbb .modmenu .container {
    text-transform: none;
    margin: 0 10px;
}

.force-mobile .pa-avatar img {
    object-fit: cover;
    width: 60px !important;
    height: 60px !important;
    border-radius: 4px;
    border: 1px solid var(--bord);
    box-shadow: -6px 6px 10px #00000021;
}
.force-mobile .punbb .post-links ul {
    padding: 0;
    height: auto;
    border-top-width: 1px;
    background: transparent;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    border: none;
    gap: 10px;
}

.force-mobile .punbb .post .container {
    padding-right: 0;
}




.force-mobile .punbb .post-box {
    padding: 10px 10px 0 10px!important;
}
.force-mobile .punbb .post-body {
    margin-left: 0px;
}

.force-mobile .punbb .formal .container {
    padding: 0;
}
.force-mobile .punbb fieldset {
    padding: 0 10px;
}


.force-mobile #pun-searchtopics .main .tcl, .force-mobile #pun-viewforum .main .tcl {
    width: 100% !important;
    padding: 0px;
}




.force-mobile #profile-right {
    width: 100% !important;
    display: block;
}
.force-mobile #profile-left {
    width: 100% !important;
    display: block;
}
.force-mobile #main-reply {
    /* width: 100% !important; */
    font-size: 17px;
}

.force-mobile #form-buttons td {
    padding: 0 5px !important;
    display: inline-block;
    width: 31px;
}


.force-mobile #button-files_rusff {
    display: none !important;
}



.force-mobile #form-buttons td:hover {
    background-color: transparent !important;
}


.force-mobile #form-buttons td {
    background-image: none !important;
    display: inline-block;
    position: relative;
    width: 27px;
    height: 27px;
    margin: 0px 0px 0px 0px !important;
}
.force-mobile #profilenav li {
    padding: 7px 15px!important;
    display: inline-block;
}
.force-mobile #profilenav {
    float: none!important;
    width: 100%!important;
    margin-left: 0 !important;
}

.force-mobile #profile .container {
    padding: 0 !important;
}

.force-mobile #notify-settings {
    display: none;
}

.force-mobile #viewprofile h2, .force-mobile #profilenav h2 {
    margin: 0 0 10px 0!important;
}
.force-mobile #viewprofile ul, .force-mobile #profilenav ul {
    padding: 0!important;
    margin: 0 0 15px 0!important;
    border: none!important;
    background-color: transparent!important;
}
.force-mobile .punbb tbody.hasicon td.tcl {
    padding: 0!important;
    display: block;
    width: 100%!important;
}
.force-mobile #pun-messages .tclcon {
    padding: 10px 0 10px 17px!important;
}

.force-mobile #pun-messages .user-avatar {
    display: none !IMPORTANT;
}

.force-mobile #pun-messages table Div.icon, .force-mobile #pun-messages TR.inew Div.icon {
    margin-top: 13px;
}
.force-mobile #register input, .force-mobile #register select, .force-mobile #profile input, .force-mobile #profile select, .force-mobile #punbbsearch input, .force-mobile #punbbsearch select {
    max-width: 200px!important;
}
.force-mobile #pun-userlist .main .tcl, .force-mobile #pun-searchtopics .main .tcl, .force-mobile #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 20%;
}


.force-mobile #pun-break1, .force-mobile #pun-break2, .force-mobile #pun-break3, .force-mobile #pun-break4, .force-mobile .category th, .force-mobile .category .tc2, .force-mobile .category .tc3, .force-mobile .forum th, .force-mobile .forum .tc2, .force-mobile .forum .tc3, .force-mobile #post-form legend {
    display: none !important;
    width: 0 !important;
}


.force-mobile #pun-userlist .user-avatar {
    display: none;
}
.force-mobile #pun-userlist .usertable .container {
    padding: 0 0.3em 2.3em 0.3em;
    border-top: none;
}

.force-mobile #pun-userlist .main .tc2, #pun-searchtopics .main .tc2 {
    width: 15%;
}


.force-mobile #BookmCntToggle {
    position: absolute !important;
    left: 10px !IMPORTANT;
    width: 20px !important;
    height: 20px !IMPORTANT;
    opacity: .7;
    cursor: pointer;
    z-index: 2;
    transition: opacity .3s ease-out;
    top: 12px;
}


.force-mobile #tags .container {
    position: absolute;
    right: 0px;
    top: 83px !IMPORTANT;
    left: 0px;
    z-index: 2;
    width: 350px;
    padding: 10px;
    box-sizing: border-box;
}


.force-mobile .punbb .section h2, .force-mobile #pun-main h1, .force-mobile #pun-main h2, .force-mobile #pun-debug h2 {
    margin: 0;
    display: flex;
}
.force-mobile .post-img-Sp {
    width: 140px;
    margin: 10px 6px 0 !important;
    display: none;
}


.force-mobile #form-buttons tr {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0;
    flex-wrap: wrap;
    margin: 0;
    gap: 8px;
    margin-bottom: 20px;
}

.force-mobile #pun-index .category table tr {
    -webkit-appearance: none;
    display: block;
    margin: 10px;
    position: relative;
    overflow: visible;
}


.force-mobile #pun-index .category table tr + tr {
    margin: 15px 10px;
}

.force-mobile #pun-index .tcl h3 {
    text-align: left;
    height: auto;
    display: block;
    margin-top: 0px;
    letter-spacing: .5px;
    font-weight: 400;
}


.force-mobile .punbb .user-avatar {
    margin: 1px 0px 2px 20px!important;
    float: right !important;
    display: none;
}

.force-mobile #pun-viewforum .tcr {
    position: relative;
    display: block;
    width: 100%;
    gap: 0 10px;
    align-items: center;
}




.force-mobile #form-buttons table, 
.force-mobile #form-buttons tbody, 
.force-mobile #form-buttons tr {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0px;
}



.force-mobile #pun-index .tcr {
    width: 100%;
    display: block;
    text-align: right;
    margin-top: 10px;
}





.force-mobile .go-up, 
.force-mobile .go-down, 
.force-mobile #pun::before {
    display: none;
}


.force-mobile #pun-navlinks .container {
    padding: 0px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

.force-mobile #pun-index .category h2 span, .force-mobile #pun-stats h2 span {
    font-size: 14px;
    justify-content: center;
}


.force-mobile .punbb .post h3 span {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
}


.force-mobile #pun-stats h2 span {
    font-size: 0px;
}



.force-mobile #pun-mod .category .tc2 {
    display: block !important;
    width: auto !important;
}



.force-mobile #pun-ulinks .container {
    display: none;
}



.force-mobile #pun-navlinks .container li a {
    /*display: inline-block !important;*/
    padding: 0 !important;
    font-family: 'FontAwesome';
    font-size: 20px;
}
.force-mobile #pun-ulinks, 
.force-mobile #pun-navlinks .container li a, 
.force-mobile #pun-navlinks .container li a:hover {margin: 0 5px;}
.force-mobile #pun-navlinks .container li a span {font-size: 0 !important;}
.force-mobile #pun-navlinks li#navindex a:before {content: "\f015";}
.force-mobile #pun-navlinks li#navuserlist a:before {content: "\f0c0";}
.force-mobile #pun-navlinks li#navsearch a:before {content: "\f002";}
.force-mobile #pun-navlinks li#navprofile a:before {content: "\f2bd";}
.force-mobile #pun-navlinks li#navpm a:before {content: "\f0e0";}
.force-mobile #pun-navlinks li#navadmin a:before {content: "\f013";}
.force-mobile #pun-navlinks li#navlogout a:before {content: "\f08b";}
.force-mobile #pun-navlinks li#navregister a:before {content: "\f234";}
.force-mobile #pun-navlinks li#navlogin a:before {content: "\f02e";}
.force-mobile #pun-navlinks li#navpr_1 a:before {content: "\f1d8";}
.force-mobile #pun-navlinks li#navpr_2 a:before {content: "\f02d";}
.force-mobile #pun-navlinks li#navprofiles a:before {content: "\f02d";}
.force-mobile #pun-navlinks li#navextra1 a:before {content: "\f02e";    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-size: 20px;}
.force-mobile #pun-navlinks li#navextraBL a:before {content: "\f05e";    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-size: 20px;}


.force-mobile .Add {
    display: none;
}
.force-mobile #pun-index .tcl h3 a {
    font-size: 17px;
}

.force-mobile .pf-text {
    margin-top: 3px;
}



.force-mobile .forum tr {
    margin: 10px 0;
    display: flex;
    gap: 0;
    font: 400 11px var(--main-font);
    background: var(--quote);
    text-transform: lowercase;
    border-radius: 6px;
    padding: 10px;
    height: auto;
    flex-direction: column;
}

.force-mobile .pa-author a {
    font-weight: 400 !important;
    padding: 2px 10px;
    font-size: 15px;
}

.force-mobile .pa-fld4 {
    text-align: center !IMPORTANT;
}



.force-mobile .prof-wrap {
    background: var(--quote);
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #8f8d8d63;
    box-shadow: 6px 7px 10px #91909042;
}


.force-mobile #form-buttons {
    margin-bottom: 10px !important;
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}


.force-mobile #plng {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.force-mobile #form-buttons table tr {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    padding: 0;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}


.force-mobile #pun-adnav ul {
    display: flex !Important;
    flex-wrap: wrap !Important;
}


.force-mobile #pun-adnav {
    float: none !Important;
    width: 100% !Important;
    margin-left: 0 !Important;
}

.force-mobile .adminmain {
    padding-left: 0 !important;
    margin-bottom: 0 !IMPORTANT;
}

.force-mobile .punbb {
    height: auto !important;
}

.force-mobile .punbb-admin .adminmain {
    padding: 0em 0px !important;
}

.force-mobile .punbb-admin #pun-adnav {
    float: none;
    clear: both;
    width: 100%;
    margin-left: 0em;
    display: block;
    box-sizing: border-box;
}

.force-mobile .punbb-admin {
    width: 100%;
    max-width: 540px;
    background: #c9c7c4;
}
.force-mobile #pun-admain fieldset {
    border-color: transparent;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

.force-mobile .admin-advert-block {
    width: 100% !IMPORTANT;
    height: 60px;
}

.force-mobile #pun-admain fieldset {
    border-color: transparent;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

.force-mobile #pun-admain fieldset .handle, 
.force-mobile #pun-admain fieldset p {
    border-left-width: 10em !important;
}

.force-mobile #pun-admain .adlabel {
    width: 11em !important;
    margin-left: -10em !important;
}

.force-mobile #pun-stats .statsinfo {
    display: flex;
    margin-bottom: 0;
    margin-top: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}

.force-mobile #pun-ulinks.scroll_navi .container {
    display: none;
}

.force-mobile #pun-ulinks.scroll_navi:hover ul, 
.force-mobile #pun-ulinks.scroll_navi:focus ul {
    display: block;
    background: var(--profile-bg);
    border-radius: 6px;
}


.force-mobile #pun-navlinks.scroll_navi {
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--profile-bg) center/cover;
    height: 57px;
    left: auto;
    border-radius: 0;
    margin-left: -30px;
}

.force-mobile #pun-navlinks.scroll_navi .container {
    top: 0;
    height: 24px;
    margin-top: 0px;
}

.force-mobile .head-f {
    height: 240px;
    position: relative;
    top: 61px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mob-head) center/cover;
    justify-content: center;
}

.force-mobile .head-f name {
    position: relative;
    top: 0;
    color: var(--light-text);
    font-size: 56px;
    font-family: var(--sec-font);
    text-transform: uppercase;
    text-shadow: 0px 0px 1px var(--accent), 0px 0px 3px #25201b4a, 0px 0px 50px #271e1cc2;
    z-index: 2;
    text-align: center;
}


.force-mobile .head-f quo {
display: none;
}




.force-mobile .arion-cont {
    top: auto;
    bottom: 75px;
}





/*Скрыть с мобильного*/
.force-mobile .activees, .force-mobile .activees2,
.force-mobile .bnrs:after, .force-mobile .bnrs:before, 
.force-mobile .arion-que, .force-mobile .arion-activs,
.force-mobile .arion-fl, .force-mobile .arion-post,
.force-mobile .arion-ams, .force-mobile .arion-info,
.force-mobile .twinkle, .force-mobile .arion-head,
.force-mobile .roses, .force-mobile .arion-name,
.force-mobile .arion-quote, .force-mobile .arion-moon {
display:none;
}



/*Чекбокс*/
label.fm-toggle {
    display: inline-flex;
    cursor: pointer;
}

label.fm-toggle input {
    display: none;
}

label.fm-toggle {
    font-size: 0;
    display: none;
}

label.fm-toggle::before {
    content: "\f108";
    font-family: "Font Awesome 6 Pro";
    font-weight: 600;
    font-size: 20px;
}

label.fm-toggle:has(input:checked)::before {
    content: "\f3cd";
}

/* Эффект при клике (опционально) */
label.fm-toggle:active {
    opacity: 0.6;
}





/*Облегчение профиля*/


.force-mobile .author-wrap {
    margin: 10px 20px;
    border-radius: 0;
    background: var(--kndr-img) top center/cover;
    border: none;
    display: flex;
    gap: 10px;
    padding: 5px 10px !important;
    width: auto;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: row-reverse;
    box-shadow: 6px 5px 10px #00000000;
    border: 1px solid var(--dark-bord);
}

.force-mobile .pa-title {
    font-size: 10px !IMPORTANT;
    margin: 33px 0 0 0!important;
}

.force-mobile .pa-author {
    margin: 21px 0 0 96px;
    font-size: 20px;
    display: flex;
    gap: 20px;
    position: absolute;
    /* border: red 1px solid; */
}

.force-mobile .pa-author a {
    border-radius: 4px;
}

.force-mobile .pa-fld1, .force-mobile .pa-fld4, .force-mobile .pa-fld5 {
    display: none;
}

.force-mobile .punbb .post .post-author .pa-avatar {
    width: 60px;
}

.force-mobile .accordion {
    position: absolute;
    z-index: 2;
    top: 32px;
    left: 50%;
    height: 40px;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    width: 150px;
}

.force-mobile .reveal-modal.xlarge {
    margin-left: 0 !important;
    width: 100% !important;
    left: 0;
}

.force-mobile .modal_wrap info {
    padding: 0;
    width: 100%;
    height: auto;
}


.force-mobile .reveal-modal .close-reveal-modal {
    right: 0;
}



.force-mobile #pun-index .category.category-1 .container::before, 
.force-mobile #pun-index .category.category-2 .container::before, 
.force-mobile #pun-index .category.category-3 .container::before, 
.force-mobile #pun-index .category.category-4 .container::before, 
.force-mobile #pun-index .category.category-5 .container::before, 
.force-mobile #pun-index .category.category-6 .container::before,
.force-mobile #pun-index .category.category-7 .container::before {
    height: 30px;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
}

.force-mobile #pun-announcement {
    border-radius: 0;
    margin-top: 0;
    display: block;
    top: -117px;
    background: transparent;
}

.force-mobile .head-f:before, .force-mobile .bad-a-tab {
display: none;
}

.force-mobile .accordion-btn {
    font-size: 17px;
    text-align: center;
}


.force-mobile .arion-cont {
    top: auto;
    bottom: 75px;
}


.force-mobile .bnrs {
    background: var(--cfoot) center/cover;
    position: absolute;
    height: 60px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    right: 0;
}

.force-mobile #pun-navlinks {
    margin-top: 0;
    border-radius: 0;
    justify-content: center;
}


.force-mobile #pre_placement>a {
    top: -9px;
    right: -9px !important;
    border: 0 none;
    z-index: 100;
}

.force-mobile tr.inew div.icon {
    margin-left: -33px;
    margin-top: 3px;
    width: 19px;
    height: 19px;
    border-radius: 4px;
}


.force-mobile .punbb .post-links {
    margin-left: 0;
}


.force-mobile #pun .pa-title {
    align-self: start;
    grid-area: title;
    margin: -25px 0 0 -3px  !important;
    text-align: left !important;
    line-height: 12px;
}

.force-mobile #pun .pa-avatar {
    grid-area: ava;
    height: 50px;
    width: 50px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.force-mobile .allps {
    margin-top: 0 !important;
    width: 100%;
    display: flex;
    grid-area:reps;
}

.force-mobile .indOnline, .force-mobile .indOffline {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background: var(--pun-bg);
    border-radius: 4px;
    top: 0;
    left: auto;
    transform: none;
    box-shadow: 3px 2px 10px #0000001c;
    right: -31px;
}
.force-mobile .post-author::before {
    width: 100%;
    height: 100%;
}

.force-mobile #darkbd .punbb .post .post-author {
    background: var(--drk-quote);
    color: var(--drk-text);
}


.force-mobile #darkbd .post-author ul {
    background: linear-gradient(90deg, var(--drk-quote), transparent), var(--drk-profile-bg) top center/cover;
}
.force-mobile .arion-form__field {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
}

.force-mobile .arion-form__label {
    width: 100%;
}

.force-mobile .arion-form__textarea {
    width: 100% !important;
    margin: 0;
}

.force-mobile .arnew {
    width: 100%;
}

.force-mobile .gnm {
    display: flex;
    justify-content: center;
    margin: 20px 0px;
    align-items: center;
    gap: 0;
    width: 100%;
    flex-direction: column;
}

.force-mobile .gb-card {
    font-size: 10px;
    gap: 5px;
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-shrink: 0;
    align-items: center;
    font-family: var(--main-font);
    justify-content: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}


.force-mobile .gb-card em, .force-mobile .gb-card span {
    font-size: inherit;
    font-style: normal !important;
    text-transform: uppercase;
}

.force-mobile .gbook name {
    margin-top: -17px;
    margin-bottom: -22px;
    width: 100%;
}

.force-mobile .gb-card text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.force-mobile .gbook quo {
    margin: 0 20px;
    margin-top: -19px;
}

.force-mobile .vneh {
    margin: 20px 20px;
    justify-content: space-between;
}


.force-mobile .claim-f {
    width: 100%;
}

.force-mobile .gb-needs {
    margin: 20px 20px;
    flex-direction: column;
}

.force-mobile .arion-news::before {
display: none;
}

.force-mobile .arion-news {
    padding: 0 20px;
}


.force-mobile .ar-news {
    width: 100%;
}

.force-mobile .arion-news-acts {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 10px;
    justify-content: flex-start;
}


.force-mobile .frw {
display: None;
}



.force-mobile .news {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    margin: 0 10px;
}


.force-mobile #MyBookmarks h2, #MyBookmarks h1, .editBookmark h2 {
    display: block !important;
    color: var(--text) !important;
}



.force-mobile #navpm .notify-link .unreads, .force-mobile #navprofile .notify-link .unreads {
    font-size: 1.3em;
    line-height: 18px;
    height: 20px;
    min-width: 20px;
    border-radius: 10px;
    right: auto;
    left: -30px;
    top: -37px;
    background: var(--sec-accent);
    font-size: 10px;
}
.force-mobile #stylelist {
    width: 100%;
    top: 131px;
    justify-content: space-around;
    left: 0;
}

.force-mobile .html-content iframe {
    width: 100% !IMPORTANT;
}

.force-mobile #pun-viewtopic .post h3 {
    top: 0;
    margin: 10px 0 0 0;
}


.force-mobile #pun-crumbs2 p.container {
    margin: 30px 10px 0;
}

.force-mobile body {
    min-height: 100vh !important; 
    background: var(--base-bg) fixed top center/cover !important;
    background-size: cover !important; 
}

.force-mobile .arion-btn {
    top: auto;
    bottom: 10px;
}
label.fm-toggle {
    display: flex;
}

.force-mobile .top-name {
display: none;
}

.force-mobile #pun-main-sec {
    margin: 0px 0 15px;
    border: none;
    box-shadow: none;
}


.force-mobile #pun-main {
    background: var(--pun-bg);
    padding: 0;
    color: var(--text);
    position: relative;
    border-radius: 0;
    margin-top: 52px;
    border: none;
    border-bottom: 0;
}

.force-mobile #pun-stats {
    background: var(--base-bg2);
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
}

.force-mobile .punbb .section, .force-mobile .punbb .main {
    margin-bottom: 0;
}

.force-mobile #pun-about p.container {
    width: 100%;
    height: 100px;
    margin: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 0;
    position: relative;
    border: none;
    padding-top: 10px;
}


.force-mobile #pun-stats h2 {
    display: flex;
    justify-content: center;
    border: 1px solid var(--bord);
    border-width: 1px 0 0;
}

.force-mobile #pun-main h1, .force-mobile #pun-index .category table tbody.hasicon tr:not(:last-child):after, .force-mobile .html-box {
display: none;
}

.force-mobile #pun-index td div.tclcon {
    margin: 0;
}


.force-mobile .proffl {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: minmax 1fr 1fr;
    gap: 16px;
    grid-template-areas: "ava author"
        "ava title"
        "reps reps";
    padding: 10px 20px !important;
    width: auto;
    border-radius: 6px;
    backdrop-filter: None;
}

.force-mobile .pa-posts, .force-mobile .pa-respect, .force-mobile .pa-fld3, .force-mobile .pa-fld2 {
    display: inline-flex;
    padding: 5px;
    width: calc(20% - 20px);
    justify-content: center;
    margin-top: 10px;
}


.force-mobile .newy-body {
    display: flex;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    background: var(--pun-bg);
    flex-direction: column;
}


.force-mobile .newy-about {
    display: flex;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}

.force-mobile .newy-achievement {
    min-height: auto;
    padding: 18px 10px 13px;
    text-align: center;
    background: var(--base-bg2);
    border: 1px solid var(--bord);
}


.force-mobile .newy-bottom-grid {
    display: flex;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    flex-direction: column;
}

.force-mobile .ban {
    position: absolute;
    margin: -85px 0 0 6px;
    /* border: 1px solid red; */
    width: 97%;
    height: 33px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.force-mobile .go-up, .force-mobile .go-down {
    display: none;
    position: fixed;
    margin-left: auto;
    z-index: 9999;
    cursor: pointer;
    opacity: 1;
    margin-bottom: 140px;
    right: 0;
}

}

/*** КОНЕЦ МОБИЛЬНОГО  ***/












.punbb-admin #pun-status .container {
    margin: 57px 0 0;
}



.punbb-admin #pun-ulinks .container {
margin-top: 10px;
}











.dark [data-user-id="2"] .pa-avatar img, .dark [data-user-id="5"] .pa-avatar img, .dark [data-user-id="6"] .pa-avatar img {
   filter: brightness(0.45) contrast(0.85) saturate(0.7) sepia(0.4);
}


.dark [data-group-id="3"] .pa-avatar img, .dark [data-group-id="5"] .pa-avatar img {
   filter: brightness(0.45) contrast(0.85) saturate(0.7) sepia(0.4);
}