/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1789039476.css);

@import "http://fonts.fontstorage.com/import/bebasneue.css";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@font-face { font-family: Lighthaus;
src: local("Lighthaus"), url(https://forumstatic.ru/files/001a/28/10/78556.ttf) format('truetype');}
@import url('https://fonts.googleapis.com/css?family=Alegreya+SC');
@font-face { font-family: Calypso;
src: local("Calypso"), url(https://forumstatic.ru/files/001a/28/10/26384.ttf) format('truetype');}
@import url('https://fonts.googleapis.com/css?family=PT+Sans+Caption&display=swap');
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Alex+Brush|Almendra+SC|Amatic+SC|Anton|Arizonia|Bad+Script|Bangers|Bowlby+One|Cabin+Sketch|Caesar+Dressing|Caveat|Cookie|Cormorant+SC|Dancing+Script|Denk+One|Dorsa|Fredericka+the+Great|Great+Vibes|Indie+Flower|Jura|Kaushan+Script|Limelight|Lobster|Marvel|Megrim|Monoton|Oleo+Script|Open+Sans+Condensed:300|Oranienbaum|Oswald|Pacifico|Pattaya|Play|Playfair+Display+SC|PT+Sans+Caption|Qwigley|Roboto|Russo+One|Rochester|Sacramento|Sansita|Satisfy|Six+Caps|Special+Elite|Squada+One|Unica+One|Walter+Turncoat|Yanone+Kaffeesatz|Yeseva+One&subset=cyrillic-ext');
/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

#topic-users-in a:after {content: ","}
#topic-users-in a:last-child:after {content: ""}

/* скрыть говнину русфф */
.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}
div#pun-live-rusff {
    display: none;
}
.pl-reports {display:none!important;}

li#navawards {display: none !important;}

.pl-share {
display: none !important;
}


/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  font-size: 11px;
  }

/* 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%;
  }

/* A3.2 */
.punbb {
  font: normal 12px 'Montserrat', 'Roboto Mono', helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
background-color: rgb(75 59 48 / 10%) !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 h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
  font: 1em/110% 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: 0 auto;
  float: none;
  padding: 0;
  border: none;
  width: 850px;
  height: auto;
  }

/* A5.2 */
.punbb {
  width: 100%;
  height: auto;
  }

/* A5.3 ПЕРЕАДРЕСАЦИЯ */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
 min-height: 100px;
  }
#pun-redirect #pun-main {
  background: none !important;
}
#pun-redirect{
      border: 0 !important;
      margin:0!important;
      padding:0;
      left:0;right:0;
      top:0;bottom:0;
      position:fixed;
      width:100%;
      height:100%;
      text-align:center;
background: var(--bg);
background-size: cover;
    }
    #pun-redirect *{
      border:0 none;
    }
    #pun-redirect .main-title {
      display:none;
    }
#pun-redirect.punbb .backlink a {
color: var(--color9);
background: var(--color10);
font-family: var(--t5);
letter-spacing: 1px;
padding: 6px 15px 6px 15px !important;
margin-top: 15px !important;
display: inline-block;
border-radius: 20px;
}
  #pun-redirect.punbb .info .container {
text-align: center;
font: 500 10px var(--t5);
display: block;
margin: 4% auto 4% auto !important;
position: absolute;
left: 50%;
transform: translateX(-50%);
padding: 50px 0px;
width: 978px;
margin-top: 5%;
border-radius: 15px !important;
color: var(--color9) !important;
text-transform: lowercase;
letter-spacing: 2px;
}

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 20px;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 20px;
  }

/* 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 solid none;
  border-width: 0
  }

/* A5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 0em 0.1em 0em;
  border-style: none solid solid none;
  border-width: 0;
  text-align: center;
  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 РАЗДЕЛИТЕЛЬ ПОДПИСИ */
.punbb .post-sig dt {
  display: block;
  border-top: 2px dotted #a0abb2;
  width: 650px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 1em 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: 98%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.8em !important;
  border-style: solid;
  border-width: 0;
  }

/* B1.9 ЦИТАТА НАПИСАЛ(А) */
.punbb .quote-box cite, .punbb .code-box strong.legend, .punbb .code-box strong.legend a {
  display: block;
  color: #301101 !important;
  padding: 0.2em;
  font-family: Oswald;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  font-weight: normal !important;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  text-align: left;
  }

/* 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 {
  float: left;
  position: relative;
  width: 100%;
margin-top: -40px !important;
  height: 0;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
    top: -6px;
    left: 1em;
    width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -6px;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 20px 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 ОПИСАНИЯ ПОДФОРУМОВ */
.punbb .main .tcl {
  overflow: hidden;
  text-align: justify;
  width: 50%;
  left:12px;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 25%;
  }

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: center;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 НАЗВАНИЯ ПОДФОРУМОВ */
#pun-index .tcl h3 {
  border: 0px;
margin-left: 5px;
margin-top: 2px;
margin-bottom: 5px;
background: url("-") top center no-repeat !important;
width: 330px !important;
text-align: left !important;
  }

/* 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;
font-size: 0;
  }

/* C2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 1.5em;
  }

/* C2.15 ИКОНКИ */
.punbb div.icon {float: left; display:block;

background-position: 0% 0%; background-repeat: no-repeat; margin-left:-8px;}

Div.icon {
    height: 17px;
    width: 17px;
    margin: -1px 12px 0px 0px;
    background-color: #341f10;
}

TR.inew Div.icon {
background-color: #341f10;}

TR.iclosed Div.icon {background-color: #341f10;}

TR.isticky Div.icon {background-color: #341f10;}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  background-image: url(https://forumupload.ru/uploads/001c/5a/80/2/757948.png);
    width: 1016px;
    margin-left: -39px;
    margin-bottom: 7px;
    height: 69px;
  }

/* C3.3 */
.punbb .post h3 span {
  padding: 0.5em 13px;
  display: block;
  margin-left: 6em;
  border-left-style: solid;
  border-left-width: 1px
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 20em;
  margin-top: -22px;
  margin-left: -21px;
  overflow: hidden;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* C3.7 */
.pa-author {

  font-weight: normal;
  }

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
  padding-bottom: 0.4em;

  color: #875f35 !important;
  }

/* СТРОЧКА АКТИВЕН */
li.pa-online {
  line-height: 0.8em;
    border-left-style: solid;
    border-left-width: 0em;
    color: #875f35;
    padding-left: 0.4em;
    margin-top: 1em;
    margin-bottom: 0.7em;
    font-size: 9px;
    font-family: 'Montserrat';
  }

/* C3.11 */
.punbb .post-body {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 0px;
  padding: 4px;
  }

/* C3.12 */
.punbb .post-box {
    padding: 0.3em 0.5em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 0px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 2em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  text-align:center;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 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;
  border-width: 0;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none;
  }

/* D1.4 */
#pun-title h1 span  {
  display: none;
  }


/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 20px;
  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 2em
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin-top: 10px;
  text-align: center;
  z-index: 1;
  }

/* D3.2 */
#pun-navlinks .container {
  padding: 0.5em 0.5em;
  }

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 1em;
  }


/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
  border-top: none;
  padding: 0.1em 0.5em;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* 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;
    z-index: 11;
  }

/* D5.2 */
#pun-status .container {
  padding: 0.5em;
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  }

/* D5.5 НАЗВАНИЕ ФОРУМА - верх*/
#pun-crumbs1 p.container {
  border-top: none;
  padding: 4em 1em 0.8em 1em;
    font-family: 'Montserrat';
    font-size: 10px;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 1px;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: -1em 0em -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: 0em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 0em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* 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: 1em;
  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;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 НАЗВАНИЕ ФОРУМА - низ*/
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 9px;
    font-family: Arial;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }


        /*БыстроПлюсы для Топика!*/
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
  text-align: center;
  outline: 1px solid transparent;
    font-weight: 700;
    background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
    background-size: 38px auto;
    position: relative;
    padding-left: 2px;
    padding-top: 2px;
    z-index: 100;
    width: 38px;
    height: 38px;
    text-align: center;
    font-size: 12px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 34px;
    letter-spacing: -1px;
    color: #321b03;
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: -5px;
    margin-top: 8px;
}


         /*настройка реакций*/

#pun .post-body .reactions-container {
    justify-content: flex-end;
    margin-right: 2px;
}


#pun .post-body .reaction-picker-button {
    border-radius: 4px;
    width: 20px;
    height: 20px;
    padding: 4px;
    margin-top: 4px;
    margin-left: 282px;
}


#pun .post-body .reaction-chip {
    background-color: #c9b492b3;
    border: 1px solid #4a3618b3;
}


#pun .post-body .emoji-mart {
    background-color: #cbbeae;
    border: #ada8a2;
    box-shadow: 0px 0px 20px #453b383b;
}

#pun .reactions-root .emoji-mart-category-label span {

background-color: #bfb2a2;
}

/* =========================================================
   MOVED FROM VISUALS — DESKTOP LAYOUT / GEOMETRY
   Second-pass refactor. Kept intact to preserve appearance.
   ========================================================= */

#pun-title, #pun-title .container {
    background-image: url(https://forumstatic.ru/files/001c/5a/80/56099.png);
    background-position: top center;
    background-repeat: no-repeat;
    border: none;
    margin-left: -444px !important;
    margin-top: -340px !important;
    height: 390px;
    width: 1900px;
}


#pun-navlinks  {
    position: relative;
    top: -23px;
    right: -10px;
    width: 100%;
    }


#pun-ulinks {
    position: relative;
    top: -89px;
    right: -35px;
    z-index: 10;
    text-align: center;
    width: 900px;
}


#pun-crumbs1 {
    margin-top: -84px;
}


#pun-status {
    background: rgb(24 18 12 / 50%);
    text-align: right;
    top: 300px;
    margin-left: -13px;
    position: absolute;
    line-height: 1.5;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 7px !important;
    width: 450px;
    text-shadow: 1px 1px 8px rgb(0 2 4);
  }


#pun {
     background-image: url("https://forumstatic.ru/files/001c/5a/80/39531.png");
     background-position: center;
     background-repeat: repeat-y;
     width: 1033px !important;
     margin-top: 330px !important;
     margin-bottom: 80px !important;
     background-color: transparent;
}


.punbb  {
    width: 969px !important;
    margin-left: 33px !important;
}


#pun-about .container {
  text-align: center !important;
    background-color: transparent;
    font-weight: normal;
    font-size: 10px !important;
    height: 50px;
    width: 1033px;
    margin-left: -44px;
    margin-top: 2px;
    background-image: url(https://forumstatic.ru/files/001c/5a/80/38880.png);
    background-repeat: no-repeat;
    background-position: bottom;
    position: absolute;
  }


#pun-stats h2,  .punbb .main h2, #pun-debug h2 {
    text-align: center;
    height: 59px;
    width: 1033px;
    margin-left: -33px;
    letter-spacing: 1px;
    font-family: Arial;
    font-size: 13px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-image: url(https://forumupload.ru/uploads/001c/5a/80/2/757948.png);
  }


#profilenav h2 {
   text-align: left !important;
   width: 150px !important; }


.punbb .post .post-author > ul {
    margin-top: 0;
    width: 241px !important;
    box-sizing: border-box;
    background: url(https://forumstatic.ru/files/001c/5a/80/53054.png) top center no-repeat, url(https://forumstatic.ru/files/001c/5a/80/37178.png) bottom center no-repeat, url(https://forumstatic.ru/files/001c/5a/80/71299.png) top center repeat-y;
    text-align: center;
    font-size: 9px;
    text-transform: uppercase;
    float: left;
    border: 0 solid transparent;
    padding-bottom: 18px !important;
    padding-top: 15px !important;
    color: #875f35 !important;

}


.pa-author {
font-family: Oswald;
    text-transform: uppercase;
    font-style: normal;
    line-height: 130%;
    padding-top: 0 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    text-decoration: none;
}


.pa-title {
 font-size: 10px;
 font-weight: normal !important;
 font-family: Arial;
 margin-top: 7px !important;
 margin-bottom:4px !important;
 color: #88949b;
 border: 0 !important;
 text-transform: none;
 letter-spacing: 1px;
}


.pa-posts, .pa-respect {
    display: inline-block;
    width: 40%;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    padding: 8px!important;
    letter-spacing:1px;
    font-size: 8px!important;
}


li.pa-avatar.item2 img {margin-left: 0 !important;
max-width: 180px;
max-height: 180px;
padding: 3px !important;
border: 1px solid #281908;
}


.hv-mask .pa-avatar img{
  max-width: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
padding: 3px !important;
border: 1px solid #281908;
}


.plsh {
    max-width: 46px;
    margin-top: 0 !important;
    margin-left: -20px !important;
    filter: sepia(55%) opacity(80%);
}


.fstr {
    margin-top: 0 !important;
    text-align: center;
    font-family: 'Montserrat';
    color: rgb(135 119 107);
    font-size: 15px;
    margin-left: -35px !important;
    width: 147px;
}


.sstr {
    text-align: center;
    color: rgb(135 119 107);
    font-size: 9px;
    font-family: 'Montserrat';
    margin-top: 3px !important;
    margin-left: -35px !important;
    width: 147px;

}


.pa-fld2 {
    position: relative;
    z-index: 2;
    margin-left: 11px !important;
    width: 198px;
    font-size: 0;
    background: #201401;
    height: 63px;
    top: 4px;
    border: 3px double rgb(66 58 51) !important;
}


.pa-fld1 {
    width: 203px;
    color: #88827b;
    background-color: #857d7d0d;
    margin-left: 11px !important;
    margin-top: 6px !important;
    text-transform: none;
    font-family: 'Montserrat';
    font-size: 11px !important;
    text-align: justify;
}


.name {
    text-align: center;
    padding: 6px;
    position: relative;
    font-size: 18px;
    font-family: Calypso;
}


.inf {
    padding: 7px;

}


.punbb .post {
    margin: 27px 6px !important;
}


#pun-main .post-content {
    text-align: justify !important;
    margin-top: -20px;
    margin-left: 5px;
    font-family: 'Montserrat';
}


#pun_wrap > #pun > #pun-viewtopic > #pun-main > div > div > h3 > span > strong {
    border: 0;
    margin-top: 31px;
    color: #b46907;
    font-size: 13px;
    text-align: center !important;
}


#pun_wrap > #pun > #pun-viewtopic > #pun-main > div > div > h3 > span > a{
    border: 0;
    position: relative;
    top: 32px;
    padding: 6px;
    color: #875f35;
    letter-spacing: 1px;
    font-family: 'Arial';
    font-size: 10px;
    text-transform: uppercase;
}


#pun-stats .container {
    background: rgb(197 184 165 / 16%);
    width: 95% !important;
    margin-left: 13px !important;
    margin-top: 13px !important;
}


#pun-index .category .container tr {
    background: rgb(189 168 145 / 28%);
    border-left: 5px solid #382213;
    width: 97% !important;
    margin-left: 10px !important;
    margin-top: 7px !important;
    font-family: Montserrat;
    font-size: 12px;
    line-height: 11px;
}


.category tr,#f-subforums tr{display:table;width:100%;clear:both;position:relative;}


#pun-index .category .tc2, #pun-index .category .tc3, #f-subforums .tc2, #f-subforums .tc3 {
    display: none!important;
  }


.Tems_And_messages {
    display: inline-block;
    height: 30px;
    text-align: right;
  }


.main table .Add {
display:none;
border: 0;
    position: relative;
    float: right;
    vertical-align: top!important;
    left: 0;
    top: -120px;
    color: #7d8988;
    font-size: 14px;
    font-family: Oswald;
    font-weight: bold;
    text-align: center !important;
  }


.Tems_And_messages .right {
    margin-left: 0;
  }


#forum_f5 .Add, #forum_f9 .Add {
margin-top: -10px;
}


#forum_f21 .Add, #forum_f18 .Add, #forum_f15 .Add, #forum_f10 .Add {
margin-top: 10px;
}


#forum_f11 .Add {
margin-top: 20px!important;
}


#forum_f1 .Add {
margin-top: 25px;
}


.ops {
border: 1px solid #9facab !important;
padding: 20px;
margin-left: -5px!important;
overflow-y: auto;
}


.opsnav {
    background: #9facab;
    text-align: center;
    padding: 3px;
    position: relative;
    display: inline-block;
    top: -9px;
    left: 6%;
    width: 90%;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 9px;}


#pun-index .category .container tr.inew {
    background: rgb(75 68 48 / 10%);
    border-left: 10px solid #6f3b12;
    box-sizing: border-box;
    width: 99% !important;
    margin-left: 5px !important;
}


#pun-index .category .container tr.inew .ops {
    background: transparent;
    border: 1px solid #9facab !important;
    box-sizing: border-box;
}


.go-up {
    top: 417px;
    margin-left: 996px !important;
    width: 13px;
    height: 45px;
    background: #bfa88a;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    z-index: 9999;
    transition: .5s ease-in-out !important;
    transform: rotate(0deg);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}


.go-down {
top: 466px;
margin-left: 996px !important;
width: 13px;
height: 45px;
background: #9f8a6e;
cursor: pointer;
opacity: 0.8;
position: fixed;
z-index: 9999;
transition: .5s ease-in-out !important;
transform: rotate(0deg);
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}


.FNTslider {
    position: relative;
    z-index: 1000;
    background: #9d836c;
    width: 110px;
    height: 6px;
    float: right;
    right: 193px;

}


.FNTslider .before {
    height: 4px;
    border: solid 1px transparent;
    border-right: none 0;
    position: absolute;
    background: #6a594c;
}


.FNTslider .thumb {
    width: 8px;
    height: 13px;
    position: relative;
    top: -4px;
    background: #240d02;
    cursor: pointer;
}


#pun-admain .adminmain .post {width: 80% !important;}


#pun-messages .post h3 {background: none;
    width: auto;
    text-shadow: none;}


/* =========================================================
   MOBILE FOUNDATION v0
   ТОЛЬКО ГЕОМЕТРИЯ.
   Не меняет шрифты, цвета, структуру таблиц или постов.
   ========================================================= */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    /* ОСНОВНОЙ КАРКАС */

    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    #pun_wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #pun {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;

        background-position: top center !important;
    }

    .punbb {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* ШАПКА */

    #pun-title,
    #pun-title .container {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;

        background-position: top center !important;
    }


    /* ОСНОВНАЯ НАВИГАЦИЯ */

    #pun-navlinks,
    #pun-navlinks .container {
        width: 100% !important;
        max-width: 100% !important;

        left: auto !important;
        right: auto !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* ПОЛЬЗОВАТЕЛЬСКОЕ МЕНЮ */

    #pun-ulinks,
    #pun-ulinks .container {
        width: 100% !important;
        max-width: 100% !important;

        left: auto !important;
        right: auto !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* ПРИВЕТСТВИЕ / СТАТУС */

    #pun-status,
    #pun-status .container {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        left: 0 !important;
        right: auto !important;

        box-sizing: border-box !important;
    }


    /* ОСНОВНОЕ СОДЕРЖИМОЕ */

    #pun-main {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* ЗАГОЛОВКИ КАТЕГОРИЙ */

    #pun-stats h2,
    .punbb .main h1,
    .punbb .main h2,
    #pun-debug h2 {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* ЗАГОЛОВОК ПОСТА */

    .punbb .post h3 {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* САМ ПОСТ:
       пока НЕ меняем профиль, только убираем старый
       19em-сдвиг текста за экран */

    .punbb .post-body {
        max-width: 100% !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }


    /* ССЫЛКИ ПОД ПОСТОМ */

    .punbb .post-links {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .punbb .post-links ul {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


    /* ПОДПИСЬ */

    .punbb .post-sig dt {
        max-width: 100% !important;
    }


    /* КАРТИНКИ */

    .punbb img {
        max-width: 100% !important;
        height: auto;
    }


    /* РЕАКЦИИ:
       убираем только фиксированный сдвиг на 282px */

    #pun .post-body .reaction-picker-button {
        margin-left: 0 !important;
    }


    /* СТРЕЛКИ */

    .go-up,
    .go-down {
        margin-left: 0 !important;
        left: auto !important;
        right: 0 !important;
    }


    /* НИЗ ФОРУМА */

    #pun-about,
    #pun-about .container {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }

}

/* =========================================================
   MOBILE INDEX v3
   Только главная страница
   ========================================================= */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    /* ---------- КАРКАС ---------- */

    #pun-index .category table,
    #pun-index .category tbody {
        display: block !important;
        width: 100% !important;
    }

    #pun-index .category thead {
        display: none !important;
    }

    /* Одна карточка */
    #pun-index .category .container tr {
        display: block !important;

        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;

        margin: 12px 14px !important;
        padding: 0 !important;

        position: static !important;

        background: rgba(189,168,145,.16) !important;
        border: 0 !important;
        border-left: 4px solid #382213 !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #pun-index .category .container tr.inew {
        width: calc(100% - 28px) !important;
        margin: 12px 14px !important;
        border-left-color: #6f3b12 !important;
    }

    #pun-index .category .container td {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* ---------- НАЗВАНИЕ + ОПИСАНИЕ ---------- */

    #pun-index .category td.tcl {
        padding: 16px 18px 14px !important;

        left: auto !important;

        border: 0 !important;
        overflow: visible !important;
    }

    #pun-index .category .tclcon {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    #pun-index .category .tcl h3 {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 10px !important;
        padding: 0 !important;

        background: none !important;

        text-align: left !important;
    }

    #pun-index .category .tcl h3 a {
        display: block !important;

        width: 100% !important;

        padding: 0 !important;

        font-family: Calypso !important;
        font-size: 23px !important;
        line-height: 1.1 !important;
        letter-spacing: 1px !important;

        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    /* Описание — спокойнее и читабельнее */
    #pun-index .category .ops {
        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        font-size: 11px !important;
        line-height: 1.42 !important;

        text-align: left !important;

        overflow: visible !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    #pun-index .category .opsnav {
        position: static !important;

        width: 100% !important;

        margin: 8px 0 0 !important;
        padding: 4px 7px !important;

        left: auto !important;
        top: auto !important;

        box-sizing: border-box !important;
    }


    /* ---------- СЧЁТЧИКИ ---------- */

    #pun-index .category td.tc2,
    #pun-index .category td.tc3,
    #pun-index .Tems_And_messages,
    #pun-index .main table .Add {
        display: none !important;
    }


    /* =====================================================
       ПОСЛЕДНЕЕ СООБЩЕНИЕ
       Не делаем grid: именно он в v2 сжал текст.
       ===================================================== */

    #pun-index .category td.tcr {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 10px 18px 12px !important;

        border: 0 !important;
        border-top: 1px solid rgba(74,52,34,.10) !important;

        background: rgba(95,73,53,.035) !important;

        font-size: 9px !important;
        line-height: 1.45 !important;

        text-align: left !important;

        overflow: visible !important;

        box-sizing: border-box !important;
    }

    /*
       Сбрасываем старые размеры/float у ВСЕХ внутренних
       контейнеров последнего сообщения.
    */
    #pun-index .category td.tcr .lastpost,
    #pun-index .category td.tcr > div,
    #pun-index .category td.tcr > p,
    #pun-index .category td.tcr > span {
        display: block !important;

        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;

        float: none !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;

        white-space: normal !important;
        overflow: visible !important;
    }

    #pun-index .category td.tcr a {
        width: auto !important;
        max-width: 100% !important;

        float: none !important;

        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    /* Ссылка на последнюю тему */
    #pun-index .category td.tcr a.lastpost-link {
        display: inline !important;

        font-size: 10px !important;
        line-height: 1.4 !important;
    }

    /* Аватар отдельно слева */
    #pun-index .category td.tcr img {
        float: left !important;

        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;
        max-width: 42px !important;

        margin: 0 10px 5px 0 !important;

        object-fit: cover !important;
    }

    /* После последнего сообщения очищаем float */
    #pun-index .category td.tcr::after {
        content: "";
        display: block;
        clear: both;
    }


    /* ---------- СТАРЫЕ ИКОНКИ ---------- */

    #pun-index .category div.icon {
        display: none !important;
    }


    /* ---------- ЗАГОЛОВОК КАТЕГОРИИ ---------- */

    #pun-index .category h2 {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }
}

/* ===== MOBILE NAV — KEEP SEPARATE ===== */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    #pun-navlinks,
    #pun-ulinks {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
    }

    #pun-navlinks .container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;

        gap: 4px 12px !important;

        width: 100% !important;
        padding: 14px 12px 7px !important;

        box-sizing: border-box !important;
    }

    #pun-navlinks li {
        display: inline-block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #pun-navlinks li a {
        display: inline-block !important;

        font-size: 17px !important;
        line-height: 1.15 !important;

        white-space: nowrap !important;
    }

    #pun-ulinks .container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;

        gap: 5px 11px !important;

        width: 100% !important;
        padding: 5px 14px 12px !important;

        box-sizing: border-box !important;
    }

    #pun-ulinks li,
    #pun-ulinks li a {
        display: inline-block !important;

        padding: 0 !important;
        margin: 0 !important;

        border: 0 !important;

        white-space: nowrap !important;
    }

    #pun-ulinks a {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
}

/* ===== MOBILE CRUMBS FIX ===== */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    #pun-crumbs1 {
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        clear: both !important;
    }

    #pun-crumbs1 p.container,
    #pun-crumbs1 .container {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 12px 18px 10px !important;

        box-sizing: border-box !important;

        font-size: 9px !important;
        line-height: 1.4 !important;

        text-align: left !important;
    }

    /* гарантируем, что меню полностью закончится ДО breadcrumbs */
    #pun-ulinks {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        clear: both !important;
    }

    #pun-ulinks .container {
        padding-bottom: 14px !important;
    }
}

/* =========================================================
   MOBILE VIEWTOPIC v2
   Только открытая тема и посты.
   Главную страницу НЕ затрагивает.
   ========================================================= */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    /* ---------- КАРКАС ТЕМЫ ---------- */

    #pun-viewtopic #pun-main,
    #pun-viewtopic .topic,
    #pun-viewtopic .post,
    #pun-viewtopic .post .container {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    #pun-viewtopic .post .container {
        padding: 0 !important;
        overflow: hidden !important;
    }


    /* =====================================================
       ДАТА + НОМЕР ПОСТА
       ===================================================== */

    #pun-viewtopic .post h3 {
        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        background-size: cover !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post h3 span {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 7px 12px !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post h3 span > a,
    #pun-viewtopic .post h3 span > strong {
        position: static !important;
        float: none !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        font-size: 8px !important;
        line-height: 1.2 !important;
    }


    /* =====================================================
       АВТОР
       ===================================================== */

    #pun-viewtopic .post .post-author {
        float: none !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    #pun-viewtopic .post .post-author > ul {
        display: grid !important;

        grid-template-columns: 52px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;

        align-items: center !important;

        column-gap: 11px !important;
        row-gap: 2px !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        background: rgba(120,95,70,.13) !important;

        border: 0 !important;
        border-bottom: 1px solid rgba(70,48,31,.10) !important;

        box-sizing: border-box !important;

        text-align: left !important;
    }

    /* Аватар */
    #pun-viewtopic .pa-avatar {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #pun-viewtopic .pa-avatar img,
    #pun-viewtopic li.pa-avatar.item2 img,
    #pun-viewtopic .hv-mask .pa-avatar img {
        display: block !important;

        width: 46px !important;
        height: 46px !important;

        max-width: 46px !important;
        max-height: 46px !important;

        margin: 0 !important;
        padding: 1px !important;

        object-fit: cover !important;

        box-sizing: border-box !important;
    }

    /* Имя */
    #pun-viewtopic .pa-author {
        grid-column: 2 !important;
        grid-row: 1 !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;

        font-size: 15px !important;
        line-height: 1.15 !important;
    }

    #pun-viewtopic .pa-author a {
        font-size: 15px !important;
    }

    /* Статус */
    #pun-viewtopic .pa-title {
        grid-column: 2 !important;
        grid-row: 2 !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;

        font-size: 8px !important;
        line-height: 1.25 !important;
    }

    /*
       Остальную десктопную анкету автора
       в каждом мобильном посте скрываем.
    */
    #pun-viewtopic .post-author li:not(.pa-author):not(.pa-title):not(.pa-avatar) {
        display: none !important;
    }


    /* =====================================================
       ТЕКСТ ПОСТА
       ===================================================== */

    #pun-viewtopic .post-body {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post-box {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 16px 16px 18px !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post-content {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 15px !important;
        line-height: 1.62 !important;

        text-align: justify !important;
        text-justify: inter-word !important;

        hyphens: auto !important;
        -webkit-hyphens: auto !important;

        overflow-wrap: break-word !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post-content p {
        padding-top: .55em !important;
        padding-bottom: .55em !important;

        line-height: 1.62 !important;

        text-align: justify !important;
    }


    /* ---------- КАРТИНКИ ---------- */

    #pun-viewtopic .post-content img,
    #pun-viewtopic .post-content video,
    #pun-viewtopic .post-content iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    #pun-viewtopic .post-content iframe {
        width: 100% !important;
    }


    /* ---------- ЦИТАТЫ ---------- */

    #pun-viewtopic .post-content .quote-box,
    #pun-viewtopic .post-content .code-box {
        width: 100% !important;
        max-width: 100% !important;

        margin: 10px 0 !important;
        padding: 12px !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       РЕАКЦИИ
       ===================================================== */

    #pun-viewtopic .post-vote {
        margin-bottom: 5px !important;
    }

    #pun-viewtopic .post-vote p > a {
        position: static !important;

        margin: 4px 0 !important;
    }

    #pun-viewtopic .post-body .reactions-container {
        justify-content: flex-start !important;

        margin: 6px 0 0 !important;
    }

    #pun-viewtopic .post-body .reaction-picker-button {
        margin-left: 0 !important;
    }


    /* =====================================================
       ПРОФИЛЬ / ЛС / EMAIL / ЦИТИРОВАТЬ
       ===================================================== */

    #pun-viewtopic .post-links {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-viewtopic .post-links ul {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 4px 9px !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 7px 12px !important;

        background: rgba(100,75,50,.045) !important;

        border: 0 !important;
        border-top: 1px solid rgba(70,48,31,.10) !important;

        box-sizing: border-box !important;

        text-align: left !important;
    }

    #pun-viewtopic .post-links li {
        display: inline-block !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        font-size: 8px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
    }


    /* ---------- СТРЕЛКИ ---------- */

    #pun-viewtopic .go-up,
    #pun-viewtopic .go-down {
        margin-left: 0 !important;

        left: auto !important;
        right: 0 !important;
    }

}

/* ===== MOBILE QUICK REPLY ===== */
@media (max-width: 700px) {

    /* вся зона редактора */
    #pun-viewtopic .areafield,
    #pun-viewtopic .areafield .input {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        margin-left: -18px !important;
        margin-right: -18px !important;
        padding: 0 !important;
    }

    /* поле ввода */
    #pun-viewtopic .areafield textarea {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 220px !important;
        min-height: 220px !important;
        margin: 8px 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;

        font-size: 16px !important;
        line-height: 1.45 !important;
        resize: vertical !important;
    }

    /* панель BBCode */
    #pun-viewtopic #form-buttons {
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }
}


/* ===== MOBILE FORUM STATS ===== */
@media (max-width: 700px) {

    #pun-stats .container,
    #pun-stats .statscon {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 20px !important;
        overflow: hidden !important;
    }

    #pun-stats .container *,
    #pun-stats .statscon * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #pun-stats p,
    #pun-stats li,
    #pun-stats .item1,
    #pun-stats .item2,
    #pun-stats .item3,
    #pun-stats .item4 {
        display: block !important;
        float: none !important;
        position: static !important;

        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 0 !important;

        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;

        font-size: 15px !important;
        line-height: 1.4 !important;
    }
}

/* ===== MOBILE DICE BUTTON ===== */
@media (max-width: 700px) {

    #pun-viewtopic input[type="button"][onclick*="dice"] {
        color: #654b3b !important;
        background: rgba(75, 59, 48, .05) !important;

        border: 1px solid rgba(80, 60, 45, .35) !important;
        box-shadow: none !important;
        text-shadow: none !important;
        outline: none !important;

        opacity: .55 !important;

        font-size: 11px !important;
        padding: 4px 8px !important;

        -webkit-tap-highlight-color: transparent !important;
    }

    #pun-viewtopic input[type="button"][onclick*="dice"]:active,
    #pun-viewtopic input[type="button"][onclick*="dice"]:focus {
        opacity: .8 !important;
        background: rgba(75, 59, 48, .10) !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* когда курсор стоит в поле ответа — делаем кнопку ещё тише */
    #pun-viewtopic:has(textarea:focus)
    input[type="button"][onclick*="dice"] {
        opacity: .28 !important;
    }
}

/* ===== HIDE SPARROW MOBILE ADS ===== */
@media (max-width: 700px) {
    [id*="sparrow"],
    [class*="sparrow"],
    iframe[src*="sparrow"] {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Убираем мобильную рекламу */
@media (max-width: 700px) {
    .caramel-bottomLine {
        display: none !important;
    }
}


@media (max-width: 700px) {
    #button-color,
    #button-color ~ td:not(#button-mask) {
        display: none !important;
    }
}

@media (max-width: 700px) {

    td[id^="button-"] {
        opacity: .5 !important;
    }

    td[id^="button-"] img {
        filter: grayscale(100%) sepia(25%) brightness(70%) !important;
    }

    td[id^="button-"]:active {
        opacity: .9 !important;
    }
}


@media (max-width: 700px) {

    /* убираем искусственное пустое место */
    #pun-viewtopic div.post-vote {
        margin: 6px 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #pun-viewtopic div.post-vote p > a {
        position: static !important;
        display: inline-block !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* +1 */
    #pun-viewtopic .post-rating {
        margin: 6px 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
    }

    #pun-viewtopic .post-rating p {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* реакции больше не уезжают вправо */
    #pun-viewtopic .reactions-root,
    #pun-viewtopic .reactions-container {
        width: auto !important;
        margin: 4px 0 !important;
        padding: 0 !important;
        justify-content: flex-start !important;
    }

    #pun-viewtopic .reaction-picker-button {
        margin: 0 5px 0 0 !important;
    }

    #pun-viewtopic .reaction-chip {
        margin: 0 5px 0 0 !important;
    }
}

/* ===== MOBILE POST ACTIONS ===== */
@media (max-width:700px) {

    #pun-viewtopic .mobile-post-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 7px !important;

        width: 100% !important;
        min-height: 34px !important;

        margin: 6px 0 8px !important;
        padding: 0 !important;
        box-sizing: border-box !important;

        transform: translateX(18px);
    }

    /* Все элементы компактно в одной строке */
    #pun-viewtopic .mobile-post-actions .post-rating,
    #pun-viewtopic .mobile-post-actions .post-vote,
    #pun-viewtopic .mobile-post-actions .reactions-root,
    #pun-viewtopic .mobile-post-actions .reactions-container {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #pun-viewtopic .mobile-post-actions p {
        margin: 0 !important;
        padding: 0 !important;
    }

    #pun-viewtopic .mobile-post-actions a {
        position: static !important;
        margin: 0 !important;
    }

    #pun-viewtopic .mobile-post-actions .reaction-picker-button,
    #pun-viewtopic .mobile-post-actions .reaction-chip {
        margin: 0 !important;
    }

    /* порядок:
       [+] &#8594; комментарий &#8594; реакции/сердечко &#8594; +1 */

    #pun-viewtopic .mobile-post-actions .reactions-root {
        order: 1 !important;
    }

    #pun-viewtopic .mobile-post-actions .post-vote {
        order: 2 !important;
    }

    #pun-viewtopic .mobile-post-actions .post-rating {
        order: 3 !important;
    }
}

/* Убираем текст над формой ответа */
#post fieldset legend {
    font-size: 0 !important;
}

/* Но кнопка предпросмотра остаётся нормального размера */
#togglePreview {
    font-size: initial !important;
}

/* Компактный предпросмотр — desktop */
@media screen and (min-width: 701px) {

    #togglePreview {
        position: relative !important;
        z-index: 50 !important;
        pointer-events: auto !important;
    }

    #togglePreview .button {
        width: auto !important;
        min-width: 0 !important;
        height: 24px !important;

        padding: 2px 10px !important;
        margin: 0 !important;

        font: 11px/18px Arial, sans-serif !important;

        opacity: .65;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
}

/* =========================================================
   MOBILE SEARCH POSTS
   "Мои сообщения" / результаты поиска по сообщениям
   ========================================================= */

@media screen and (max-width: 700px),
       screen and (max-device-width: 700px) {

    /* ---------- общий каркас выдачи ---------- */

    #pun-searchposts #pun-main,
    #pun-searchposts .main,
    #pun-searchposts .post,
    #pun-searchposts .post .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post {
        margin-top: 12px !important;
        margin-bottom: 16px !important;
    }

    #pun-searchposts .post .container {
        padding: 0 !important;
        overflow: hidden !important;
    }


    /* ---------- заголовок найденного сообщения ---------- */

    #pun-searchposts .post h3 {
        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background-image: none !important;
        background: rgba(70,48,31,.055) !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post h3 span {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px 10px !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 8px 12px !important;

        border: 0 !important;

        box-sizing: border-box !important;

        font-size: 8px !important;
        line-height: 1.35 !important;
    }

    #pun-searchposts .post h3 span > a,
    #pun-searchposts .post h3 span > strong {
        position: static !important;
        float: none !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        font-size: 8px !important;
        line-height: 1.35 !important;

        text-align: left !important;
    }


    /* ---------- автор: компактная верхняя строка ---------- */

    #pun-searchposts .post .post-author {
        float: none !important;
        clear: both !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post .post-author > ul {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;

        gap: 4px 12px !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 10px 14px !important;

        float: none !important;

        background: rgba(120,95,70,.10) !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(70,48,31,.10) !important;

        box-sizing: border-box !important;

        text-align: left !important;
    }

    #pun-searchposts .post-author .pa-author,
    #pun-searchposts .post-author .pa-title,
    #pun-searchposts .post-author .pa-replies {
        display: block !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        position: static !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post-author .pa-author,
    #pun-searchposts .post-author .pa-author a {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    #pun-searchposts .post-author .pa-title,
    #pun-searchposts .post-author .pa-replies {
        font-size: 8px !important;
        line-height: 1.3 !important;

        letter-spacing: .6px !important;
        opacity: .70;
    }

    /*
       В выдаче важны только имя, статус и число ответов.
       Остальная большая десктопная мини-анкета не нужна.
    */
    #pun-searchposts .post-author li:not(.pa-author):not(.pa-title):not(.pa-replies) {
        display: none !important;
    }


    /* ---------- тело сообщения ---------- */

    #pun-searchposts .post-body {
        float: none !important;
        clear: both !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 15px 16px 17px !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        font-size: 15px !important;
        line-height: 1.62 !important;

        text-align: justify !important;
        text-justify: inter-word !important;

        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    #pun-searchposts .post-content p {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: .5em 0 !important;

        box-sizing: border-box !important;

        line-height: 1.62 !important;
        text-align: justify !important;
    }

    #pun-searchposts .post-content img,
    #pun-searchposts .post-content video,
    #pun-searchposts .post-content iframe {
        max-width: 100% !important;
        height: auto !important;
    }


    /* ---------- низ результата / ссылки ---------- */

    #pun-searchposts .post-links {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .post-links ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        align-items: center !important;

        gap: 4px 9px !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        line-height: normal !important;

        margin: 0 !important;
        padding: 7px 12px !important;

        box-sizing: border-box !important;

        border: 0 !important;
        border-top: 1px solid rgba(70,48,31,.08) !important;

        text-align: right !important;
    }

    #pun-searchposts .post-links li {
        display: inline-block !important;
        float: none !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 8px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
    }


    /* ---------- пагинация ---------- */

    #pun-searchposts .linkst {
        float: none !important;
        position: static !important;

        width: 100% !important;
        height: auto !important;

        margin: 8px 0 12px !important;
        padding: 0 14px !important;

        box-sizing: border-box !important;
    }

    #pun-searchposts .linkst .pagelink {
        position: static !important;

        width: auto !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }
}
