/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1754978299.css);

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

:root {
    --body-bg: #acb6b3 url(https://raw.githubusercontent.com/kor-fish/pokecore/refs/heads/main/images/bg1.jpg);
    --body-color: #e5e4e1;
    --dark-text: #232524;
    --light-text: #e2e2e2;
    --accent: #f89b5a;
    --soft-accent: #D9B48B;
    --dark-accent: #C27870;
    --header: url(https://raw.githubusercontent.com/kor-fish/pokecore/refs/heads/main/images/poke-header.jpg);
    --footer: url(https://raw.githubusercontent.com/kor-fish/pokecore/refs/heads/main/images/pokemon-bottom.jpg);
    --main-font: 'Sofia Sans';
    --bold-font: 'Russo One';
    --simple-bg: url(https://upforme.ru/uploads/001c/73/c0/2/624642.jpg);
    --profile-bg: url(https://forumstatic.ru/files/001c/59/08/23360.webp?v=1);
    --quote: #ddddd9;
    --quote-fon: url(https://forumstatic.ru/files/001c/59/08/23360.webp?v=1);
    --bord: #cfd0cc;
    --navi-fon: url(https://forumstatic.ru/files/001c/59/08/46056.webp?v=1);


    --dark-body-bg: #222a38 url(https://upforme.ru/uploads/001c/73/c0/2/754114.jpg);
    --dark-body-color: #d9d8d6;
    --dark-head: url(https://forumstatic.ru/files/001c/59/08/42585.webp);
    --dark-profile-bg: url(https://forumstatic.ru/files/001c/59/08/82378.webp);
    --dark-quote: #d2d2d2;
    --dark-quote-fon: url(https://forumstatic.ru/files/001c/59/08/82378.webp);
    --dark-bord: #c5c4c4;
    --dark-navi-fon: url(https://forumstatic.ru/files/001c/59/08/73148.webp);
}

.punbb .modmenu .container span, .stickytext, .closedatafield, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, span.mini_awards_label, #pun-status .status-right, li.pa-gifts, #pun-viewtopic li.pa-gifts, #pun .modlist, li.pa-ua, li.pa-fld1 {
  display: none !important;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  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;
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 12px verdana, arial, helvetica, sans-serif;
    background: var(--quote);
    border: 1px solid var(--bord);
    outline: none;
    border-radius: 0 0 3px 3px;
}

/* 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-pagelinks h2,
#pun-navlinks 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 {
    width: 998px;
    margin: 100px auto;
    padding-bottom: 40px;
    background: var(--body-color);
    box-sizing: border-box;
    position: relative;
    background: var(--footer) no-repeat bottom center var(--body-color);
    background-position: center calc(100% + 2px);
    border-radius: 10px;
}

/* A5.2 */
.punbb {
    float: none;
    width: auto;
    height: auto;
    margin: 0px 40px;
}

/* 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(--body-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: #000;
}



/* 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 10px 20px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--main-font);
    margin-bottom: 8px;
    width: auto;
    text-transform: none;
    font-style: normal;
    letter-spacing: 0;
    background: url(https://forumstatic.ru/files/001c/59/08/15481.webp) center/cover;
    display: inline-flex;
    padding: 3px 20px;
    gap: 4px;
    color: var(--body-color);
    margin-left: -21px;
    border-radius: 0 3px 3px 0;
}


/* 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);
    text-transform: none;
}

/* 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
  }

/* 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: 14px;
    font-weight: 400;
    font-family: var(--main-font);
    width: 8%;
}


/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 30%;
}

#pun-index .tcr {
    text-transform: none;
    width: 35%;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    display: flex;
    background: #d2d3d1;
    padding: 7px;
    border-radius: 5px;
}

/* 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(--bold-font);
    font-size: 22px;
    text-align: left;
    height: 32px;
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 3px;
    text-shadow: 0px 0px 1px #a8a9a6;
}

#pun-index .tcl h3::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 14px;
  background-image: url('https://upforme.ru/uploads/001c/73/c0/2/994316.png');
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  animation: rotateInfinitely 20s linear infinite;
  opacity: 0.5;
vertical-align: -1px;
}

@keyframes rotateInfinitely {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#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 {
    text-align: justify;
    position: relative;
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* C2.15 */
.punbb div.icon {
    float: left;
    display: block;
}




#pun-messages .main .tc2 {
  text-align: center;
  }
  

 /* C3 Topics

-------------------------------------------------------------*/

/* 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 ;
  }

.adminmain {
  margin-bottom: 4em !important;
}

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;

  }

/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }


/* C3.1 */
.punbb .post .container {
    border: none;
}

/* C3.2 */
#pun-viewtopic .post h3 {
    position: relative;
    border-right: none !important;
    border-bottom: none !important;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    position: relative;
    top: 22px;
}

.post h3 span strong:before {
    content: "#";
}

/* C3.3 */
.punbb .post h3 span {
    display: flex;
    font: 500 11px var(--main-font);
    height: auto;
    align-items: center;
    justify-content: space-between;
    background: var(--quote);
    margin-left: 255px;
    border-radius: 5px;
    padding: 5px 15px;
    gap: 20px;
    border: 1px solid var(--bord);
    width: 600px;
}


/* 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: 235px;
    background: var(--profile-bg) top right/cover;
    margin: -2px 0px 0px 0px;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 10px;
    padding-top: 0px;
    position: relative;
    border: 1px solid var(--bord);
    border-radius: 6px;
    box-shadow: -1px 0px 9px #d4d5d261;
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    padding: 0 0 10px 0;
    line-height: 160%;
}


/* C3.7 */
.pa-author {
    font-family: var(--bold-font);
    font-size: 19px;
    font-weight: 400 !IMPORTANT;
    letter-spacing: 0;
    text-transform: none;
    margin: 17px 0 10px;
    text-align: center;
    position: relative;
}

/* C3.8 */
.pa-author a {
    font-weight: 400 !important;
    color: #363e3c !important;
}

.pa-author a:hover {
    color: var(--soft-accent) !important;
}
.pa-author::first-letter {
    color: #4f726a;
    font-family: var(--bold-font);
}

/* C3.9 */
li.pa-title {
    font-size: 9px;
    font-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0.5px;
    text-align: center;
    margin: 5px 5px 0 5px;
    text-transform: uppercase;
}


/* C3.11 */
.punbb .post-body {
    margin-left: 245px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
    padding: 30px 0px 15px 10px;
}

/*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: 1px;
  }

/* C3.15 */
.punbb .post-links ul {
    padding: 0px 0px 10px;
    height: 2.5em;
    line-height: 2em;
    margin-left: -19.3em;
    text-align: right;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    text-transform: lowercase;
    border-bottom-style: dashed;
    border-color: #afafaf;
    border-bottom-width: 1px;
    background: transparent;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 0.5em 1em;
    text-align: right;
    font-size: 12px;
    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 {

  }

/* 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,
#pun-navlinks .container {
  border-style: none;
  border-width: 0;
  text-align: left;
  position: fixed !important;
  z-index: 9999;
}



/* D3.2 */

#pun-navlinks .container {
  margin-top: -350px !important;
  margin-left: -76px;
  padding: 0;
  background: transparent;
  word-spacing: 0;
}


/* D3.3 */

#pun-navlinks li {
  display: block;
  margin-bottom: 25px;
}



/* D3.4 */

#pun-navlinks li a {
  color: var(--body-color);
  font-family: 'Font Awesome 6 Pro';
  font-size: 20px;
}


#pun-navlinks .isactive a {
  color: var(--accent);
}

#pun-navlinks li a:hover {
  color: var(--light-color);
}



#pun-navlinks li span {
  background-size: 0;
  background-repeat: no-repeat;
  display: inline;
  transition: 0.5s ease;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */

#pun-ulinks {
  width: 100%;
  position: absolute;
  top: -30px;
  left: 0;
}

#pun-ulinks .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 20px;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-transform: lowercase;
  font: var(--main-font);
  color: #f7f7f7;
  opacity: 0.9;
}

#pun-ulinks li a:hover {
  opacity: 0.5;
}

/* 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 {
  border-bottom: none;
  margin-bottom: 0;
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 1;
}

/* D5.2 */
#pun-status .container {
  color: #e7eff3;
  font: 400 11px Arial;
  gap: 3px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: var(--stat_shadow);
}

.night #pun-status .container {
  color: #aaadae;
}

#pun-status .container a {
  color: #e7eff3 !important;
}

.night #pun-status .container a {
  color: #aaadae !important;
}

#pun-status .container a:hover {
  opacity: 0.5;
}

#pun-status .container span.item2 {
  text-transform: lowercase;
}

#pun-status .container span.item2:first-letter {
  text-transform: uppercase;
}

/* 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(--bold-font);
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    WIDTH: auto;
    margin-top: 30px;
}


#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: 0em 1em 0em 1em;
    margin-top: 18px;
    text-align: center;
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats .container {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 20px 25px;
    font-family: var(--main-font);
    background: var(--quote);
    border-radius: 6px;
    border: 1px solid #d9d2cd;
    font-family: var(--main-font);
}

/* 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: 30px;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
    display: block;
    padding-left: 50%;
    margin-top: 10px;
    font-size: 12px;
    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: 15px;
    font-weight: 400;
    text-transform: none;
    height: auto;
}

/* 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,
#pun-index .subforums, #f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

html * {
    box-sizing: border-box;
}





.pa-ip {
    font-size: 9px;
    margin-top: 5px;
}




#pun-index .category h2, #pun-stats h2 {
    width: auto;
    height: 48px;
    -webkit-text-size-adjust: 100%;
    margin: 0;
}




#pun-index .category h2 span, #pun-stats h2 span {
    -webkit-text-size-adjust: 100%;
    color: #ecefee40;
    font-size: 46px;
    font-family: var(--bold-font);
    position: relative;
    font-weight: 400;
    /* text-shadow: 0px 0px 1px #53686100, 5px 4px 10px #828d89; */
    text-transform: uppercase;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* font-style: italic; */
    /* height: 62px; */
    font-size: 0;
}


#pun-index .category h2 seid, #pun-stats h2 seid {
    background: #577a72;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11px;
    letter-spacing: .5px;
    box-shadow: 9px 3px 10px #838d8a85;
    color: #e9e9e9;
}


.punbb .code-box strong.legend a {
    font-weight: 500;
    color: #f1f0ee;
    text-transform: uppercase;
}

.punbb .code-box strong.legend a:hover {
    font-weight: 500;
    color: #ede4d4;
}

#pun-index .category table tr {
    -webkit-appearance: none;
    display: flex;
    padding: 0px 20px;
    gap: 0 30px;
    position: relative;
    align-items: center;
    background: var(--quote);
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid var(--bord);
}

#pun-index .category table tr + tr {
margin: 15px 0;

}


#pun-viewforum .tcr {
    position: relative;
    display: flex;
    gap: 0 10px;
    align-items: center;
}



.postlink.long {
    width: auto !important;
}

.pagelink, .new-poll a, .new-topic a, .postlink span a {
    background: var(--quote);
    padding: 3px 15px 4px;
    border-radius: 4px;
    text-transform: lowercase;
    transition: all .4s linear 0s !important;
}

.forum tr {
    margin: 10px 0;
    display: flex;
    gap: 20px;
    font: 400 11px var(--main-font);
    align-items: center;
    background: var(--light-text);
    text-transform: lowercase;
    border-radius: 5px;
}

.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(--body-color);
}


#html-header a {
    transition: all .7s ease-in-out 0s;
    color: #33564f;
    font-weight: 600;
}

#html-header a:hover {
    transition: all .7s ease-in-out 0s;
    color: var(--soft-accent);
}








.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 8%;
}


#tooltip {position: absolute; 
background: #587d76; z-index: 999;
max-width: 200px; border: none; border-radius: 10px; box-shadow: 0 0 0px 1px rgba(0,0,0,.05) inset; font-family: var(--main-font); font-size: 11px; display: none; color: #efeee4; text-align: center; padding: 6px 22px; font-weight: 400;}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}


.Add {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 10px;
    font-family: var(--main-font);
    letter-spacing: 0;
    color: #29292b;
}

.tms, .mssg {
font-size: 0;
}

.tms:before {
content: '\f07b';
    font-family: 'Font Awesome 6 Pro';
font-size: 12px;
    color: #779b93;
}

.mssg:before {
content: '\f075';
    font-family: 'Font Awesome 6 Pro';
font-size: 12px;
    color: #779b93;
}








.Tems_And_messages {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sered {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tcl-desc {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 5px 0;
}

.tcl-desc .text br{
    display: none;
}

.tcl-desc span {
    color: var(--sec-text);
    background: #d2d3d1;
    padding: 4px 20px;
    border-radius: 0 5px 5px 0;
    margin-left: -20px;
}

.tcl-desc .text {
    font-family: var(--main-font);
    margin-top: 4px;
    font-size: 12px;
}

.tcl-desc .text a {
    background: var(--soft-accent);
    border-radius: 6px;
    padding: 2px 15px 4px;
    font-size: 13px;
    font-weight: 400;
    text-transform: lowercase;
    color: var(--quote) !important;
}


.tcl-desc .text a:hover {
    background: var(--soft-accent);
}

.tcl-desc .text center {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.intd {
	display: flex;
	align-items: center
}


.multif {
    position: absolute;
    background: url(https://forumstatic.ru/files/001c/59/08/73579.webp?v=1);
    top: 170px;
    width: 226px;
    display: flex;
    height: 25px;
    left: 55px;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font);
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 5px;
}



.navi_links {
    position: absolute;
    top: 170px;
    width: 725px;
    display: flex;
    height: 25px;
    left: 300px;
    align-items: center;
    font-family: var(--main-font);
    font-size: 13px;
    text-transform: uppercase;
    color: var(--dark-text);
    gap: 5px;
}


#pun-index .category tr.inew {
    background: var(--quote-fon);
    box-shadow: 8px 8px 11px #d6d7d4c7;
    border: 1px solid #b3bcb9c4;
    overflow: hidden;
}



#pun-index .category tr.inew:before {
    background: #6f938b;
    content: ' ';
    position: absolute;
    height: 100%;
    width: 4px;
    left: 0;
}


#pun-index .category tr.inew .tcl-desc span {
    color: var(--sec-text);
    background: #c7c9c594;
    padding: 4px 14px;
    border-radius: 0 5px 5px 0;
    margin-left: -16px;
}


#plng {
    padding: 4px 10px;
    font-family: var(--main-font);
    font-size: 10px;
    font-style: normal;
    font-weight: normal;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    background: var(--quote);
    border: 1px solid var(--bord);
    border-radius: 3px;
}


.spoiler-box {
    padding: 0 !important;
}

.post-content .spoiler-box > div {
    text-transform: none;
    padding-left: 0 !important;
    text-align: center;
    font-family: var(--main-font);
    background: var(--quote-fon) !important;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 13px;
    display: flex;
    letter-spacing: 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
    color: var(--sec-text);
    gap: 10px;
}

.post-content .spoiler-box > blockquote.visible {
    padding: 20px;
}


.post-content .spoiler-box > div.visible {
    border-bottom: 1px solid var(--bord);
}


.proffl {
    border-radius: 4px;
    background: #dfdfdc;
    margin: 0 10px 10px;
    border: 1px solid var(--bord);
    box-shadow: 7px 5px 9px #d4d5d2;
}



.pa-fld1 {
    margin: 5px 9px 10px;
}

.pa-posts {
    width: 70px;
}


#stylelist {
    position: absolute;
    z-index: 200;
    opacity: 1;
    top: 19px;
    margin: 0;
    right: 40px;
    padding: 0px;
    overflow: hidden;
    width: 50px;
    list-style-type: none;
    display: flex;
    height: 30px;
    flex-direction: row;
    justify-content: space-between;
    opacity: 1;
    gap: 3px;
}
#stylelist li[data="light"] a, #stylelist li[data="dark"] a {
    border-radius: 100%;
    font-weight: 400;
    font-size: 0;
    color: var(--body-color);
    display: flex;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
}

#stylelist li[data="light"] a::before {
    content: '\f185';
    font-family: 'Font Awesome 6 Pro';
    font-size: 14px;
}

#stylelist li[data="dark"] a::before {
    content: '\f186';
    font-family: 'Font Awesome 6 Pro';
    font-size: 14px;
}


/** ------ design: dark edition ------ **/

.dark #pun {
    background: url(https://upforme.ru/uploads/001c/73/c0/2/194141.jpg) no-repeat bottom center var(--dark-body-color);
}

.dark #pun::before {
    background: linear-gradient(180deg, #3c425136, transparent);
    border-image: linear-gradient(to bottom, #2a3647, rgba(0, 0, 0, 0)) 1 100%;
}

.dark .multif {
    background: url(https://forumstatic.ru/files/001c/59/08/72770.webp);
}

.dark .activees div:after, .dark .activees2 div:after {
    background: #6f82b1;
}

.dark .best_ep a {
    color: var(--dark-accent) !important;
}

.dark .best_ep a:hover {
    color: var(--dark-text) !important;
}


.dark .activees div:hover:after, .dark .activees2 div:hover:after {
    background: #eed59c;
}

.dark #html-header a {
    color: var(--dark-sec-text);
}

.dark #html-header a:hover {
    color: var(--dark-accent);
}

.dark #pun-index .category h2, .dark #pun-stats h2 {
    background: var(--dark-navi-fon);
}

.dark #pun-index .category h2 seid, .dark #pun-stats h2 seid {
    background: #282f40;
    box-shadow: 9px 3px 10px #272d3a85;
    color: #e9e9e9;
}


.dark #pun-index .category tr.inew {
    background: var(--dark-quote-fon);
    box-shadow: 8px 8px 11px #c5c5c578;
    border: 1px solid #b9b9b9;
}


.dark #pun-index .category tr.inew:before {
    background: #697ba3;
}

.dark #pun-index .category tr.inew .tcl-desc span {
    color: var(--dark-sec-text);
    background: #a7a7a733;
}

.dark .tcl-desc .text a:hover {
    background: #3c465e;
}

.dark .tcl-desc .text a {
    background: #56678f;
    color: var(--body-color) !important;
}


.dark #pun-index .category table tr {
    background: var(--dark-quote);
    border: 1px solid var(--dark-bord);
}

.dark .tms:before, .dark .mssg:before {
    color: #475578;
}

.dark .tcl-desc span {
    color: var(--dark-sec-text);
    background: #c6c7cb;
}


.dark #pun-stats .container {
    background: var(--dark-quote);
    border: 1px solid var(--dark-bord);
}


.dark #pun-stats .container a {
    color: var(--dark-accent);
}


.dark #pun-stats .container a:hover {
    color: var(--dark-text);
}


.dark .pagelink, .dark .new-poll a, .dark .new-topic a, .dark .postlink span a {
    background: var(--dark-quote);
}

.dark .forum tr {
    background: var(--dark-quote);
}

.dark .punbb .post h3 span {
    background: var(--dark-quote);
    border: 1px solid var(--dark-bord);
}


.dark .punbb .post .post-author {
    background: var(--dark-profile-bg) top right/cover;
    border: 1px solid var(--dark-bord);
    box-shadow: -1px 0px 19px #bbb7b785;
}

.dark .proffl {
    background: #d9d8d6;
    border: 1px solid var(--dark-bord);
    box-shadow: 7px 5px 9px #c0c0c04d;
}

.dark .pa-author::first-letter {
    color: #5d6d8d;
}

.dark .pa-author a {
    color: #262d3b !important;
}

.dark .pa-author a:hover {
    color: #5d6d8d !important;
}

.dark .lzname {
    background: url(https://forumstatic.ru/files/001c/59/08/62013.webp) center/cover;
}

.dark .fandom {
    background: var(--dark-profile-bg);
}

.dark .lzinfo {
    background: var(--dark-profile-bg);
    border: 1px solid var(--dark-bord);
}

.dark .punbb .post .post-author a:hover {
    color: var(--accent);
}


.dark #plng {
    background: var(--dark-quote);
    border: 1px solid var(--dark-bord);
}

.dark .post-content .spoiler-box > div {
    background: var(--dark-quote-fon) !important;
    color: var(--dark-sec-text);
}

.dark .punbb .quote-box cite, .dark .punbb .code-box strong.legend {
    background: url(https://forumstatic.ru/files/001c/59/08/62013.webp) center/cover;
}

.dark #pun-index .tcr {
    background: #c6c7cb;
}


.dark #tooltip {
background: #3e4d6e;}



#post-new legend strong {
    display: block;
    font-size: 12px;
    margin-top: 20px;
    font-family: var(--main-font);
    width: 100%;
}

.aimg {
    padding: var(--4);
    margin-left: var(--4);
    background: rgb(var(--secondary400) / .38);
    color: rgb(var(--dark-text900));
}



.Spb1 {
    display: block;
    margin: 10px 30px 5px;
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 20px;
    text-transform: uppercase;
    font-size: 10px;
    background: url(https://forumstatic.ru/files/001c/59/08/15481.webp) center/cover;
    color: var(--dark-navi-link);
}

.dark .Spb1 {
    background: url(https://forumstatic.ru/files/001c/59/08/62013.webp) center/cover;
}


.logo_tit p {
    padding: 0 !important;
    line-height: normal !important;

}


.logo_tit {
    background: url(https://forumstatic.ru/files/001c/59/08/13299.webp) right/cover;
    width: 600px;
    height: 122px;
    margin: 10px auto;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 6px 5px 30px #a9a7a4;
    align-items: center;
    border: 1px solid #47665d;
}


.lt_name {
    color: var(--body-color);
    font-family: var(--bold-font);
    letter-spacing: 1px;
    font-size: 29px;
    text-shadow: 1px 1px #3f5d54, 7px 4px 20px #2e4a43;
    height: 48px;
}


.lt_quo {
    font-family: var(--main-font);
    color: var(--body-color);
    background: #3c585080;
    padding: 2px 20px;
    border-radius: 4px;
}


.dark .logo_tit {
    background: url(https://forumstatic.ru/files/001c/59/08/36395.webp) right/cover;
    box-shadow: 6px 5px 30px #8f8d8a;
    border: 1px solid #2f3b5b;
}

.dark .lt_name {
    color: var(--dark-body-color);
    font-family: var(--bold-font);
    text-shadow: 1px 1px #2b3856, 7px 4px 20px #242a39;
}

.dark .lt_quo {
    color: var(--dark-body-color);
    background: #2a375599;
}


.dark #pun [data-user-id="13"] .pa-avatar img, .dark #viewprofile-next.formal.id-13 #profile-left li#pa-avatar div,
.dark #pun [data-user-id="4"] .pa-avatar img, .dark #viewprofile-next.formal.id-4 #profile-left li#pa-avatar div {
    filter: brightness(.9) saturate(0%) invert(0%) sepia(51%) saturate(436%) hue-rotate(178deg) brightness(71%) contrast(73%);
}



#topic-users-in a:not(:last-child)::after {
    content: ',';
}

.go-up, .go-down {
    border: 1px solid #44675f;
    background: #4b6b63;
    width: 29px;
    height: 29px;
    border-radius: 100%;
    box-shadow: none;
    color: #f7f6f1;
}
.dark .go-up, .dark .go-down {
    border: 1px solid #6b7387;
    background: #485779;
    color: #f2f1ec;
}
.go-up span, .go-down span {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}


.go-up:hover, .go-down:hover {
    border: 1px solid #c5c5c5;
    background: #768580;
    width: 29px;
    height: 29px;
    border-radius: 100%;
    box-shadow: 0px 0px 10px #b9b8b6;
    color: #fffffe;
}

.dark .go-up:hover, .dark .go-down:hover {
    border: 1px solid #333c4c;
    background: #10141a;
    width: 29px;
    height: 29px;
    border-radius: 100%;
    box-shadow: 0px 0px 10px #1b1c1c;
    color: #d0d0d0;
}


.go-up span:after {
    content: '\f106';
    font-size: 13px;
    font-family: 'Font Awesome 6 Pro';

}

.go-down span:after {
    content: '\f107';
    font-size: 13px;
    font-family: 'Font Awesome 6 Pro';

}

.banners-button {
    width: 130px;
    height: 40px;
    position: absolute;
    overflow: auto;
    text-align: center;
    border: 1px solid var(--dark-text), .8;
    font-family: var(--bold-font);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
    margin: -34px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.15) 100%), 
        var(--simple-bg);
    border-radius: 5px;
    color: var(--body-color);
}


.banners-button a {
    color: var(--body-color) !important;
}


.banners {
    position: absolute;
    margin-top: 20px;
    left: 100px;
    width: 979px;
    display: flex;
    gap: 10px;
}



.banners img {
    opacity: .4;
}


.banners img:hover {
    opacity: .9;
}


.tcl-desc .text bnrs a {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.tcl-desc .text bnrs {
    display: block;
    margin-top: 5px;
}

.header-text-line{
    position: absolute;
    top: 390px;
    left: -3px;
    width: 1004px;
    font-family: var(--main-font);
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
    gap: 10px;
    height: 22px;
    background: var(--soft-accent);
    justify-content: center;
    border-radius: 3px;
}

.footer-banners {
  position: relative;
  width: 550px;
  height: 95px;
  top: 28px;
  overflow-y: auto;
  left: 400px;
}

  scrollbar-width: none; 
  -ms-overflow-style: none; /* Для IE и старого Edge */
}

.footer-banners::-webkit-scrollbar {
  display: none;
}


  .scroll-container-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 500px; /* ширина блока */
    margin: auto;
  }

  .scroll-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
  }

  .scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    scrollbar-width: none; /* скрыть скролл в Firefox */
  }

  .scroll-container::-webkit-scrollbar {
    display: none; /* скрыть скролл в Chrome/Safari */
  }

  .scroll-container a {
    white-space: nowrap;
    background: #555;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .scroll-container a:hover {
    background: #777;
  }