/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1788616035.css);

/* 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 {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* 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%;
    background-color: #343a37;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif
  }

/* 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: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: underline
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 30px auto;
  position: relative;

 box-shadow:
        -20px 0 30px rgba(0, 0, 0, 0.3),
         20px 0 30px rgba(0, 0, 0, 0.3),
         0 20px 35px rgba(0, 0, 0, 0.25);
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.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: none;
  }

/* A5.9 */
.punbb .container {
  border: none;
  }

/* A5.10 */
.punbb .section h2,
#pun-main h1,
#pun-main h2,
#pun-stats h2,
#pun-debug h2 {
    padding: 0.75em 1.2em;
    border: none;
}

/* Главная: категории без рамок */
#pun-index .category,
#pun-index .category .container {
  border: none !important;
 border-bottom: none !important;
  }

.punbb .category {
    margin-top: 8px;
}

.punbb #pun-category1 {
    margin-top: 0;
}

.punbb .main {
    margin-bottom: 8px;
}


/*************************************************************
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: 1px solid rgba(216, 208, 189, 0.28);
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  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%;
  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.4em 1.8em 1.4em 1.8em;
  padding: 1em;
  border-style: solid;
  border-width: 1px;
  }

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 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 {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  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 0 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: left;
  width: 50%;
  }

/* 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: 30%;
  }

/* 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: left;
  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 a {
    color: #d8d0bd !important;
    text-decoration: none !important;
font-weight: 700 !important;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 4px rgba(0, 0, 0, 0.35);
}

#pun-index .tcl h3 a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
font-weight: 700 !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
  }

/* 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
  }

/* Оформление списка форумов на главной */
#pun-index .main thead th {
  background: #343936 !important;
  color: #d8d0bd !important;
  border: none !important;
  padding-top: 0.65em;
  padding-bottom: 0.65em;
  font-weight: 700 !important;
  }

#pun-index .main tbody td {
  background: #292e2c !important;
  color: #b9b7ae !important;
  border: none !important;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  }

#pun-index .tcl p {
  color: #b9b7ae !important;
  }

#pun-index .main tbody td a {
  color: #d8d0bd !important;
  text-decoration: none !important;
  }

#pun-index .main tbody td a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  }

#pun-index td.tc2,
#pun-index td.tc3 {
  color: #b9b7ae !important;
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 4.2em
  }

/* C2.15 — иконки состояния форума */
.punbb div.icon {
    width: 30px;
    height: 30px;

    border: none !important;
    margin: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* Нет новых сообщений */
.punbb div.icon {
    background-image: url("https://i.ibb.co/1YT1t2bk/1.png");
}


/* Есть новые сообщения */
.punbb .inew div.icon {
    background-image: url("https://i.ibb.co/ZRz5Z45T/2.png");
}


/* C2.16 — положение иконки */
.punbb table div.icon {
    position: absolute;
    margin-left: -2.9em;
    margin-top: 0;
}

/* Текстовый блок названия и описания форума */
#pun-index .tcl .tclcon {
    margin-left: 15px !important;
}

/* C3 Topics / сообщения внутри темы
-------------------------------------------------------------*/

/* Общая карточка сообщения */
.punbb .post {
  border: none;
  margin-top: 8px;
}

.punbb .toppost,
.punbb .topicpost {
  margin-top: 0;
}

.punbb .post .container {
  margin-top: 0;
  padding-bottom: 0;
  border: none;
  background: #292e2c;
  color: #c7c2b5;
}

/* Верхняя строка сообщения: дата + номер поста */
.punbb .post h3 {
  margin: 0;
  border: none;
  background: #343936;
  color: #d8d0bd;
  font-weight: normal;
}

.punbb .post h3 span {
  display: block;
  margin-left: 19em;
  padding: 0.65em 1em;
  border: none;
  border-left: 1px solid rgba(216, 208, 189, 0.18);
  color: #d8d0bd;
}

.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  color: #d8d0bd;
}

.punbb .post h3 a {
  color: #d8d0bd !important;
  text-decoration: none !important;
}

.punbb .post h3 a:hover {
  color: #ffffff !important;
}

/* Левая колонка автора */
.punbb .post .post-author {
  float: left;
  width: 19em;
  margin-top: -2.15em;
  overflow: hidden;
  color: #b9b7ae;
}

.punbb .post .post-author ul,
.punbb .post .post-author p {
  padding: 0 1.2em 1em 1.2em;
  line-height: 145%;
  color: #b9b7ae;
}

.punbb .post .post-author a {
  color: #d8d0bd !important;
  text-decoration: none !important;
}

.punbb .post .post-author a:hover {
  color: #ffffff !important;
}

.pa-author {
  font-size: 1.1em;
  font-weight: 700;
  color: #d8d0bd;
}

.pa-author a {
  color: #d8d0bd !important;
  text-decoration: none !important;
}

li.pa-title {
  padding-bottom: 0.4em;
  font-weight: 700;
  color: #d8d0bd;
}

li.pa-online {
  line-height: 0.8em;
  border-left: 0.7em solid #d8d0bd;
  padding-left: 0.4em;
  margin-top: 0.7em;
}

/* Правая колонка с текстом сообщения */
.punbb .post-body {
  margin-left: 19em;
  padding: 0 0 1px 0;
  border: none;
  border-left: 1px solid rgba(216, 208, 189, 0.18);
  background: #292e2c;
  color: #c7c2b5;
}

.punbb .post-box {
  padding: 1.4em;
  color: #c7c2b5;
}

.punbb .post-content,
.punbb .post-content p,
.punbb .post-content li,
.punbb .post-content div,
.punbb .post-content span {
  color: #c7c2b5;
}

.punbb .post-content a {
  color: #d8d0bd !important;
}

.punbb .post-content a:hover {
  color: #ffffff !important;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

/* Нижняя строка действий сообщения */
.punbb .post-links {
  margin-left: 19em;
  border: none;
  border-left: 1px solid rgba(216, 208, 189, 0.18);
  background: #292e2c;
}

.punbb .post-links ul {
  height: 2.4em;
  line-height: 2.4em;
  margin-left: -19em;
  padding: 0 1em;
  border: none;
  border-top: 1px solid rgba(216, 208, 189, 0.18);
  background: #292e2c;
  text-align: right;
}

.punbb .post-links li {
  display: inline;
  padding-left: 1em;
}

.punbb .post-links a {
  color: #d8d0bd !important;
  text-decoration: none !important;
}

.punbb .post-links a:hover {
  color: #ffffff !important;
}

.pl-email,
.pl-website {
  float: left;
}

.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
-------------------------------------------------------------*/

#pun-title {
    margin: 0;
    height: 550px;
    border: none;
    background-image: url("https://i.ibb.co/g8PGrpR/1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


#pun-title .container {
    height: 100%;
    border: none;
    background: transparent;
}

#pun-title h1 {
    display: none;
}

#pun-title table {
    border: none;
    width: 100%;
    height: 100%;
}

#pun-title td.title-logo-tdl,
#pun-title td.title-logo-tdr {
    border: none;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

/* Верхняя строка меню */
#pun-navlinks {
    position: relative;
    top: -130px;
    z-index: 50;
    margin: 0 0 -70px 0;
    border: none;
    background: transparent;
}

#pun-navlinks .container {
    box-sizing: border-box;
    width: 100%;
    padding: 0.7em 4em;
    border: none;
    background: transparent;
}

#pun-navlinks ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

#pun-navlinks li {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    white-space: nowrap;
}

#pun-navlinks li a {
    display: block;
    padding: 0;

    color: #d8d0bd !important;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
 font-weight: 700 !important;

    text-decoration: none !important;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.45);
}

#pun-navlinks li a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* D4 User links
-------------------------------------------------------------*/

/* Нижняя строка меню */
#pun-ulinks {
    position: relative;
    top: -60px;
    z-index: 50;

    width: 100%;
    box-sizing: border-box;

    margin: 0 0 -50px 0;
    border: none;
    background: transparent;
}

#pun-ulinks .container {
    box-sizing: border-box;
    width: 100%;

    padding: 12px 4em 0;

    border: none !important;
  border-top: 1px solid #d8d0bd !important;

    background: transparent;
}

#pun-ulinks ul {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    margin: 0;
    padding: 0;
}

#pun-ulinks li,
#pun-ulinks li.item1 {
    display: block;
    margin: 0;
    padding: 0;

    border: none !important;
    white-space: nowrap;
}

#pun-ulinks li a,
#pun-ulinks li.item1 a {
    display: block;
    margin: 0;
    padding: 0;

    border: none !important;

    color: #c7c2b5 !important;
    text-decoration: none !important;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.45);
}

#pun-ulinks li a:hover,
#pun-ulinks li.item1 a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* Общий фон верхнего служебного блока */
#pun-status,
#pun-crumbs1 {
    background: #292e2c;
    color: #b9b7ae;
    border: none;
}


/* Строка "Привет, Master..." */
#pun-status,
#pun-status .container {
    margin: 0;
    border: none !important;
    background: #292e2c;
}

#pun-status .container {
    padding: 0.8em 1em;
    color: #b9b7ae;
}


/* Элементы строки приветствия */
#pun-status span {
    white-space: nowrap;
    margin-right: 0.5em;
}


/* Хлебные крошки */
#pun-crumbs1 {
    margin: 0;
    overflow: hidden;
    font-weight: normal;
    border: none !important;
    background: #292e2c;
}

#pun-crumbs1 p.container {
    border: none !important;
    padding: 1em 1em 0.8em 1em;
    font-size: 1.1em;

    background: #292e2c;
    color: #b9b7ae;
}


/* Все обычные ссылки внутри блока */
#pun-status a,
#pun-crumbs1 a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}


/* Ссылки при наведении */
#pun-status a:hover,
#pun-crumbs1 a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* Жирный текст */
#pun-status strong,
#pun-crumbs1 strong {
    color: #d8d0bd;
}

#pun-break1 {
    margin: 0;
    height: 0;

    border: none !important;
    border-top: 1px solid rgba(216, 208, 189, 0.45) !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: 4.3em 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: none;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border: none;
  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: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: 0 1em;
  border: none;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border: none;
  }


/* 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;
  }

/* =========================================================
E - MILLENIUM THEME: CONSOLIDATED PAGE STYLES
========================================================= */

/* E1 Category headings on the index */
#pun-index .category h2,
#pun-index .category h2 span {
    font-weight: 700 !important;
}

/* E2 Statistics and footer */
#pun-stats,
#pun-stats .container,
#pun-about,
#pun-about .container,
#pun-crumbs2,
#pun-crumbs2 .container {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-stats .container,
#pun-about .container {
    padding: 12px 14px !important;
}

#pun-stats a,
#pun-about a,
#pun-crumbs2 a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-stats a:hover,
#pun-about a:hover,
#pun-crumbs2 a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

#pun-stats li#onlinelist,
#pun-stats li#onlinelist div,
#pun-break4,
div.punbb-admin #pun-about .container {
    border: none !important;
}

/* E3 Viewforum: breadcrumbs */
#pun-viewforum #pun-crumbs1,
#pun-viewforum #pun-crumbs1 .container,
#pun-viewforum #pun-crumbs2,
#pun-viewforum #pun-crumbs2 .container {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-viewforum #pun-crumbs1 a,
#pun-viewforum #pun-crumbs2 a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewforum #pun-crumbs1 a:hover,
#pun-viewforum #pun-crumbs2 a:hover {
    color: #ffffff !important;
}

/* E4 Viewforum: pagination and new topic links */
#pun-viewforum .linkst,
#pun-viewforum .linkst .container,
#pun-viewforum .linksb,
#pun-viewforum .linksb .container {
    background: #343936 !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-viewforum .linkst a,
#pun-viewforum .linksb a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewforum .linkst a:hover,
#pun-viewforum .linksb a:hover {
    color: #ffffff !important;
}

/* E5 Viewforum: section title */
#pun-viewforum .main h1,
#pun-viewforum .main h2 {
    background: #111412 !important;
    color: #d8d0bd !important;
    border: none !important;
    font-weight: 700 !important;
}

/* E6 Viewforum: topic table */
#pun-viewforum .main,
#pun-viewforum .main.forum,
#pun-viewforum .main .container,
#pun-viewforum .main table,
#pun-viewforum .main thead,
#pun-viewforum .main tbody,
#pun-viewforum .main tr,
#pun-viewforum .main th,
#pun-viewforum .main td {
    border: none !important;
}

#pun-viewforum .main thead th {
    background: #343936 !important;
    color: #d8d0bd !important;
    font-weight: 700 !important;
}

#pun-viewforum .main tbody td {
    background: #292e2c !important;
    color: #b9b7ae !important;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
}

#pun-viewforum .main tbody td.tcl,
#pun-viewforum .main tbody td.tc2,
#pun-viewforum .main tbody td.tc3,
#pun-viewforum .main tbody td.tcr {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-viewforum .main tbody td a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewforum .main tbody td a:hover {
    color: #ffffff !important;
}

/* E7 Viewforum: topic icon alignment */
#pun-viewforum tbody.hasicon td.tcl {
    position: relative;
}

#pun-viewforum tbody.hasicon td.tcl div.icon {
    top: 50% !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
}

/* E8 Viewforum: moderation bar */
#pun-viewforum .modmenu,
#pun-viewforum .modmenu .container {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-viewforum .modmenu a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewforum .modmenu a:hover {
    color: #ffffff !important;
}

/* E9 Viewforum: remove legacy separators */
#pun-viewforum #pun-main,
#pun-viewforum #pun-main.main,
#pun-viewforum #pun-main.forum,
#pun-viewforum #pun-break2,
#pun-viewforum #pun-break3,
#pun-viewforum #pun-break4 {
    border: none !important;
}

/* E10 Viewtopic: страница темы */
#pun-viewtopic #pun-main,
#pun-viewtopic #pun-main.main,
#pun-viewtopic .topic,
#pun-viewtopic .post,
#pun-viewtopic .post .container {
    border: none !important;
}

/* Панель "Страница / Ответить" */
#pun-viewtopic .linkst,
#pun-viewtopic .linkst .container,
#pun-viewtopic .linksb,
#pun-viewtopic .linksb .container {
    background: #343936 !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-viewtopic .linkst a,
#pun-viewtopic .linksb a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewtopic .linkst a:hover,
#pun-viewtopic .linksb a:hover {
    color: #ffffff !important;
}

/* Название темы */
#pun-viewtopic #pun-main h1,
#pun-viewtopic #pun-main > h2,
#pun-viewtopic .topic > h2 {
    background: #111412 !important;
    color: #d8d0bd !important;
    border: none !important;
    font-weight: 700 !important;
}

/* Сообщения */
#pun-viewtopic .post .container,
#pun-viewtopic .post-body,
#pun-viewtopic .post-box,
#pun-viewtopic .post-links,
#pun-viewtopic .post-links ul {
    background: #292e2c !important;
}

#pun-viewtopic .post h3 {
    background: #343936 !important;
    color: #d8d0bd !important;
    border: none !important;
}

#pun-viewtopic .post .post-author {
    background: #252a28 !important;
    color: #b9b7ae !important;
}

#pun-viewtopic .post-body,
#pun-viewtopic .post-links {
    border-left: 1px solid rgba(216, 208, 189, 0.18) !important;
}

#pun-viewtopic .post-links ul {
    border-top: 1px solid rgba(216, 208, 189, 0.18) !important;
}

#pun-viewtopic .post-content,
#pun-viewtopic .post-content p,
#pun-viewtopic .post-content li,
#pun-viewtopic .post-content div,
#pun-viewtopic .post-content span {
    color: #c7c2b5 !important;
}

#pun-viewtopic .post a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-viewtopic .post a:hover {
    color: #ffffff !important;
}

/* Убираем старые белые разделители вокруг темы */
#pun-viewtopic #pun-break2,
#pun-viewtopic #pun-break3,
#pun-viewtopic #pun-break4,
#pun-viewtopic .topic,
#pun-viewtopic .post,
#pun-viewtopic .post .container {
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}


/* =========================================================
   E11 Viewtopic: финальная нормализация шапки и футера поста
   ========================================================= */

/* Верхняя строка поста: дата, номер, поделиться */
#pun-viewtopic .post h3,
#pun-viewtopic .post h3 span,
#pun-viewtopic .post h3 strong,
#pun-viewtopic .post h3 a {
    background: #343936 !important;
    color: #d8d0bd !important;
    border: none !important;
}

#pun-viewtopic .post h3 span {
    border-left: 1px solid rgba(216, 208, 189, 0.18) !important;
}

/* Нижняя строка действий без белой/светлой полосы */
#pun-viewtopic .post-links,
#pun-viewtopic .post-links ul,
#pun-viewtopic .post-links li {
    background: #292e2c !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Убираем любые старые разделители между телом поста и действиями */
#pun-viewtopic .post-body,
#pun-viewtopic .post-box,
#pun-viewtopic .post-content,
#pun-viewtopic .post-links,
#pun-viewtopic .post-links ul {
    border-top: none !important;
    border-bottom: none !important;
}

/* Разделитель колонок оставляем только вертикальным */
#pun-viewtopic .post-body,
#pun-viewtopic .post-links {
    border-left: 1px solid rgba(216, 208, 189, 0.18) !important;
}

/* =========================================================
   СЛУЖЕБНЫЕ СТРАНИЦЫ И АДМИН-ПАНЕЛЬ
   ========================================================= */

/* ---------- ПЕРЕАДРЕСАЦИЯ / СЛУЖЕБНЫЕ СООБЩЕНИЯ ---------- */

#pun-redirect,
#pun-maint {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-redirect .info,
#pun-redirect .info .container,
#pun-maint .info,
#pun-maint .info .container,
#pun-redirect .container,
#pun-maint .container {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

#pun-redirect h1,
#pun-redirect h2,
#pun-maint h1,
#pun-maint h2 {
    background: #111412 !important;
    color: #d8d0bd !important;
    border: none !important;
    font-weight: 700 !important;
}

#pun-redirect p,
#pun-maint p {
    color: #b9b7ae !important;
}

#pun-redirect a,
#pun-maint a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

#pun-redirect a:hover,
#pun-maint a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: ОБЩИЙ ФОН ---------- */

.punbb-admin,
.punbb-admin #pun-main,
.punbb-admin #pun-admain,
.punbb-admin #pun-admain .adcontainer,
.punbb-admin #pun-admain .container {
    background: #292e2c !important;
    color: #b9b7ae !important;
}

.punbb-admin #pun-main,
.punbb-admin #pun-admain {
    border: none !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: ЛЕВОЕ МЕНЮ ---------- */

.punbb-admin #pun-adnav,
.punbb-admin #pun-adnav .container,
.punbb-admin .adminmenu,
.punbb-admin .adminmenu .container {
    background: #111412 !important;
    color: #b9b7ae !important;
    border: none !important;
}

.punbb-admin #pun-adnav h2,
.punbb-admin .adminmenu h2 {
    background: #111412 !important;
    color: #d8d0bd !important;
    border: none !important;
    font-weight: 700 !important;
}

.punbb-admin #pun-adnav ul,
.punbb-admin #pun-adnav li,
.punbb-admin .adminmenu ul,
.punbb-admin .adminmenu li {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border: none !important;
}

.punbb-admin #pun-adnav a,
.punbb-admin .adminmenu a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

.punbb-admin #pun-adnav a:hover,
.punbb-admin .adminmenu a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.punbb-admin #pun-adnav li.isactive a,
.punbb-admin #pun-adnav li.active a,
.punbb-admin .adminmenu li.isactive a,
.punbb-admin .adminmenu li.active a {
    color: #ffffff !important;
    font-weight: 700 !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: ЗАГОЛОВКИ ---------- */

.punbb-admin #pun-admain h1,
.punbb-admin #pun-admain h2,
.punbb-admin #pun-admain h3,
.punbb-admin .adcontainer h1,
.punbb-admin .adcontainer h2,
.punbb-admin .adcontainer h3 {
    background: #111412 !important;
    color: #d8d0bd !important;
    border: none !important;
}

.punbb-admin #pun-admain h1,
.punbb-admin #pun-admain h2 {
    font-weight: 700 !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: БЛОКИ И FIELDSET ---------- */

.punbb-admin #pun-admain .adbox,
.punbb-admin #pun-admain .info-box,
.punbb-admin #pun-admain fieldset,
.punbb-admin #pun-admain .formal,
.punbb-admin #pun-admain .formal .container,
.punbb-admin #pun-admain .fs-box,
.punbb-admin #pun-admain .post-box {
    background: #292e2c !important;
    color: #b9b7ae !important;
    border-color: rgba(216, 208, 189, 0.28) !important;
}

.punbb-admin #pun-admain fieldset {
    border: 1px solid rgba(216, 208, 189, 0.28) !important;
}

.punbb-admin #pun-admain legend,
.punbb-admin #pun-admain legend span {
    background: #292e2c !important;
    color: #d8d0bd !important;
    font-weight: 700 !important;
}

.punbb-admin #pun-admain label,
.punbb-admin #pun-admain strong,
.punbb-admin #pun-admain dt {
    color: #d8d0bd !important;
}

.punbb-admin #pun-admain p,
.punbb-admin #pun-admain li,
.punbb-admin #pun-admain dd,
.punbb-admin #pun-admain span {
    color: #b9b7ae;
}


/* ---------- АДМИН-ПАНЕЛЬ: ПОЛЯ ВВОДА ---------- */

.punbb-admin #pun-admain input[type="text"],
.punbb-admin #pun-admain input[type="password"],
.punbb-admin #pun-admain input[type="email"],
.punbb-admin #pun-admain input[type="number"],
.punbb-admin #pun-admain textarea,
.punbb-admin #pun-admain select {
    box-sizing: border-box;
    background: #171a19 !important;
    color: #d8d0bd !important;
    border: 1px solid rgba(216, 208, 189, 0.35) !important;
    outline: none;
}

.punbb-admin #pun-admain textarea {
    line-height: 1.45;
}

.punbb-admin #pun-admain input:focus,
.punbb-admin #pun-admain textarea:focus,
.punbb-admin #pun-admain select:focus {
    border-color: #d8d0bd !important;
}

.punbb-admin #pun-admain option,
.punbb-admin #pun-admain optgroup {
    background: #171a19 !important;
    color: #d8d0bd !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: КНОПКИ ---------- */

.punbb-admin #pun-admain input[type="submit"],
.punbb-admin #pun-admain input[type="button"],
.punbb-admin #pun-admain button {
    background: #343936 !important;
    color: #d8d0bd !important;
    border: 1px solid rgba(216, 208, 189, 0.35) !important;
    cursor: pointer;
}

.punbb-admin #pun-admain input[type="submit"]:hover,
.punbb-admin #pun-admain input[type="button"]:hover,
.punbb-admin #pun-admain button:hover {
    background: #414844 !important;
    color: #ffffff !important;
    border-color: #d8d0bd !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: ССЫЛКИ И ТАБЛИЦЫ ---------- */

.punbb-admin #pun-admain a {
    color: #d8d0bd !important;
    text-decoration: none !important;
}

.punbb-admin #pun-admain a:hover {
    color: #ffffff !important;
}

.punbb-admin #pun-admain table,
.punbb-admin #pun-admain tbody,
.punbb-admin #pun-admain tr,
.punbb-admin #pun-admain td,
.punbb-admin #pun-admain th {
    border-color: rgba(216, 208, 189, 0.22) !important;
}

.punbb-admin #pun-admain th {
    background: #343936 !important;
    color: #d8d0bd !important;
    font-weight: 700 !important;
}

.punbb-admin #pun-admain td {
    background: #292e2c !important;
    color: #b9b7ae !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: СТРАНИЦА "СВОЙ СТИЛЬ" ---------- */

.punbb-admin #pun-admain textarea[name*="style"],
.punbb-admin #pun-admain textarea[name*="css"],
.punbb-admin #pun-admain textarea.code,
.punbb-admin #pun-admain .code textarea {
    width: 100% !important;
    min-height: 560px;
    background: #171a19 !important;
    color: #d8d0bd !important;
    border: 1px solid rgba(216, 208, 189, 0.35) !important;
    font-family: monaco, "bitstream vera sans mono", "courier new", courier, monospace !important;
    font-size: 1em !important;
}


/* ---------- АДМИН-ПАНЕЛЬ: УБИРАЕМ СТАРЫЕ БЕЛЫЕ ПЛАШКИ ---------- */

.punbb-admin #pun-admain > .container,
.punbb-admin #pun-admain .adcontainer > .container,
.punbb-admin #pun-admain .formal > .container {
    background: #292e2c !important;
}

/* =========================================================
   MILLENNIUM — ПАНЕЛИ В ВЕРХНИХ УГЛАХ ШАПКИ
   ========================================================= */

#pun-title {
    position: relative;
}


/* общий контейнер */

#pun-title .millennium-panels {
    position: absolute;

    top: 145px;
    left: 40px;
    right: 40px;
    bottom: auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 60px;

    z-index: 20;

    pointer-events: none;
}


/* обе панели */

#pun-title .millennium-panel {
    box-sizing: border-box;

    width: 215px;
    min-height: 180px;

    padding: 18px 16px;

    background: rgba(17, 20, 18, 0.58);

    border: 1px solid rgba(216, 208, 189, 0.18);
    border-top: 2px solid rgba(216, 208, 189, 0.62);

    color: #b9b7ae;

    font-size: 11px;
    line-height: 1.45;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    pointer-events: auto;
}


/* заголовок */

#pun-title .millennium-panel-title {
    margin: 0 0 14px;
    padding: 0 0 9px;

    border-bottom: 1px solid rgba(216, 208, 189, 0.18);

    color: #d8d0bd;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* =========================================================
   О ПРОЕКТЕ — ФИКСИРОВАННАЯ ВЫСОТА + СКРОЛЛ
   ========================================================= */

#pun-title .millennium-about {
    width: 215px;
    height: 200px;
    min-height: 180px;
    max-height: 200px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}


/* заголовок остаётся неподвижным */

#pun-title .millennium-about .millennium-panel-title {
    flex: 0 0 auto;
}


/* прокручивается только текст */

#pun-title .millennium-about-text {
    flex: 1 1 auto;

    min-height: 0;

    padding-right: 8px;

    overflow-y: auto;
    overflow-x: hidden;

    color: #b9b7ae;

    font-size: 9px;
    line-height: 1.45;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(216, 208, 189, 0.42)
        rgba(17, 20, 18, 0.20);
}


#pun-title .millennium-about-text p {
    margin: 0 0 8px;
}


#pun-title .millennium-about-text p:last-child {
    margin-bottom: 0;
}


#pun-title .millennium-about-lead {
    color: #d8d0bd;

    font-weight: 700;

    letter-spacing: .5px;
}


/* =========================================================
   СКРОЛЛБАР — CHROME / EDGE / SAFARI
   ========================================================= */

#pun-title .millennium-about-text::-webkit-scrollbar {
    width: 4px;
}


#pun-title .millennium-about-text::-webkit-scrollbar-track {
    background: rgba(17, 20, 18, 0.20);
}


#pun-title .millennium-about-text::-webkit-scrollbar-thumb {
    background: rgba(216, 208, 189, 0.38);

    border-radius: 2px;
}


#pun-title .millennium-about-text::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 208, 189, 0.62);
}


/* =========================================================
   ЭФИР
   ========================================================= */
/* НАЗВАНИЕ РАДИО */

#pun-title .millennium-radio-name {
    margin-bottom: 6px;

    color: #d8d0bd;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .4px;
}


/* ИСПОЛНИТЕЛЬ + ПЕСНЯ В ОДНУ СТРОКУ */

#pun-title .millennium-track {
    display: block;

    min-height: 0;
    margin-bottom: 14px;

    color: #b9b7ae;

    font-size: 10px;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ИСПОЛНИТЕЛЬ */

#pun-title .millennium-track-artist {
    display: inline;

    color: #d8d0bd;

    font-weight: 700;
}


/* ТИРЕ */

#pun-title .millennium-track-separator {
    display: inline;

    color: #8f9089;

    font-weight: 400;
}


/* НАЗВАНИЕ ПЕСНИ */

#pun-title .millennium-track-title {
    display: inline;

    color: #b9b7ae;

    font-weight: 400;
} 
/* =========================================================
   КНОПКИ ПЛЕЕРА — В РЯД ПО ЦЕНТРУ
   ========================================================= */

#pun-title .millennium-player {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100%;
    gap: 10px;

    margin: 10px 0 14px;
}


/* ВСЕ ТРИ КНОПКИ */

#pun-title .millennium-player button {
    position: static !important;
    float: none !important;
    display: flex !important;

    flex: 0 0 26px !important;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;

    height: 26px !important;
    min-height: 26px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(216, 208, 189, 0.35) !important;
    border-radius: 50% !important;

    background: rgba(17, 20, 18, 0.30) !important;

    color: #d8d0bd !important;

    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1 !important;

    text-align: center;

    cursor: pointer;

    box-shadow: none !important;
    outline: none;
}


/* ЦЕНТРАЛЬНАЯ PLAY */

#pun-title .millennium-player .millennium-play {
    flex-basis: 34px !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;

    border-color: rgba(216, 208, 189, 0.65) !important;

    background: rgba(216, 208, 189, 0.08) !important;

    font-size: 11px;
}


/* НАВЕДЕНИЕ */

#pun-title .millennium-player button:hover {
    border-color: #d8d0bd !important;
    background: rgba(216, 208, 189, 0.14) !important;
    color: #ffffff !important;
}


/* НАЖАТИЕ */

#pun-title .millennium-player button:active {
    transform: scale(0.92);
}

/* =========================================================
   MILLENNIUM — АНКЕТА ПЕРСОНАЖА
   ========================================================= */


/* ИМЯ */

.millennium-hname {
    box-sizing: border-box;

    margin: 0 0 20px;
    padding: 16px 18px 14px;

    border-top: 2px solid rgba(216, 208, 189, .65);
    border-bottom: 1px solid rgba(216, 208, 189, .18);

    background: #141615;

    color: #d8d0bd;

    line-height: 1.25;
}


/* прозвище */

.millennium-hname i {
    color: #b9b7ae;
}


/* =========================================================
   БЛОК
   ========================================================= */

.millennium-detailbox {
    box-sizing: border-box;

    margin: 0 0 14px;

    border: 1px solid rgba(216, 208, 189, .14);

    background: #292e2c;
}


/* =========================================================
   ЗАГОЛОВОК БЛОКА
   ========================================================= */

.millennium-boxheader {
    box-sizing: border-box;

    padding: 9px 13px;

    border-top: 1px solid rgba(216, 208, 189, .48);
    border-bottom: 1px solid rgba(216, 208, 189, .14);

    background: #343936;

    color: #d8d0bd;

    line-height: 1.2;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* убираем лишние отступы от BBCode внутри заголовка */

.millennium-boxheader > *:first-child {
    margin-top: 0;
}

.millennium-boxheader > *:last-child {
    margin-bottom: 0;
}


/* =========================================================
   СОДЕРЖИМОЕ
   ========================================================= */

.millennium-boxbody {
    box-sizing: border-box;

    padding: 13px 15px 15px;

    background: #292e2c;

    color: #b9b7ae;

    line-height: 1.6;
}


.millennium-boxbody b {
    color: #d8d0bd;
}


/* таблицы внутри анкеты не должны получать форумные рамки */

.millennium-boxbody table {
    width: 100%;

    margin: 0;

    border: 0 !important;
    border-collapse: collapse;
}


.millennium-boxbody td {
    padding: 2px 12px 2px 0;

    border: 0 !important;

    background: transparent !important;

    vertical-align: top;
}

/* =========================================================
   MILLENNIUM — ФИКС НИЖНЕЙ НАВИГАЦИИ ШАПКИ
   ========================================================= */

/* убираем старое смещение */

#pun-navlinks,
#pun-ulinks {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    box-sizing: border-box;

    margin: 0 !important;
}


/* основной ряд */

#pun-navlinks {
    top: 470px !important;

    height: 49px;

    z-index: 30;

    background: transparent !important;
}


/* второй ряд */

#pun-ulinks {
    top: 510px !important;

    height: 84px;

    z-index: 30;

    background: rgba(41, 46, 44, 0.42) !important;
}


/* сами контейнеры не должны раздувать блок */

#pun-navlinks .container,
#pun-ulinks .container {
    margin: 0 !important;
    padding-left: 35px !important;
    padding-right: 35px !important;

    border-left: 0 !important;
    border-right: 0 !important;

    box-sizing: border-box;
}


/* чтобы абсолютные блоки ориентировались на сам форум */

#pun {
    position: relative;
}

.millennium-template {
    margin: 18px 0;

    border: 1px solid rgba(216, 208, 189, .16);

    background: #171a19;
}

/* =========================================================
   MILLENNIUM — КОД АНКЕТЫ
   ========================================================= */

.millennium-template {
    display: block !important;
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: none !important;

    margin: 18px 0;

    overflow: hidden;

    border: 1px solid rgba(216, 208, 189, .16);

    background: #171a19;
}


/* =========================================================
   ВЕРХНЯЯ ПАНЕЛЬ
   ========================================================= */

.millennium-template-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    box-sizing: border-box !important;

    width: 100% !important;

    padding: 10px 14px;

    border-bottom: 1px solid rgba(216, 208, 189, .16);

    background: #343936;

    color: #d8d0bd;

    font-family: Tektur, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 1.2px;
}


/* =========================================================
   КНОПКА КОПИРОВАНИЯ
   ========================================================= */

.millennium-template-copy {
    position: static !important;
    float: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    box-sizing: border-box !important;

    width: auto !important;
    min-width: 112px !important;
    height: 26px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid rgba(216, 208, 189, .32) !important;
    border-radius: 0 !important;

    background: rgba(17, 20, 18, .22) !important;

    color: #d8d0bd !important;

    font-family: Tektur, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 24px !important;

    letter-spacing: 1px;
    text-align: center;

    cursor: pointer;

    outline: none !important;
    box-shadow: none !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}


.millennium-template-copy:hover {
    border-color: rgba(216, 208, 189, .70) !important;

    background: rgba(216, 208, 189, .08) !important;

    color: #ffffff !important;
}


.millennium-template-copy:active {
    background: rgba(216, 208, 189, .14) !important;
}


/* =========================================================
   ПОЛЕ С КОДОМ
   ========================================================= */

.millennium-template-code {
    position: static !important;
    float: none !important;

    display: block !important;

    box-sizing: border-box !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 260px !important;

    margin: 0 !important;
    padding: 16px 18px !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    resize: none !important;

    background: #171a19 !important;

    color: #b9b7ae !important;

    font-family: Consolas, Monaco, monospace !important;
    font-size: 11px !important;
    line-height: 1.5 !important;

    white-space: pre !important;

    overflow-x: auto !important;
    overflow-y: scroll !important;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(216, 208, 189, .40)
        #171a19;
}


/* =========================================================
   СКРОЛЛБАР
   ========================================================= */

.millennium-template-code::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}


.millennium-template-code::-webkit-scrollbar-track {
    background: #171a19;
}


.millennium-template-code::-webkit-scrollbar-thumb {
    background: rgba(216, 208, 189, .35);

    border-radius: 3px;
}


.millennium-template-code::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 208, 189, .60);
}


.millennium-template-code::-webkit-scrollbar-corner {
    background: #171a19;
}

.post-author .pa-fld1,
.post-author .pa-fld2,
.post-author .pa-fld3 {
    margin: 0 !important;
    padding: 2px 0 !important;

    color: #b9b7ae;

    font-size: 11px;
    line-height: 1.35;
}

.post-author .pa-fld1 {
    margin-top: 8px !important;
    padding-top: 8px !important;

    border-top: 1px solid rgba(216, 208, 189, .18);
}

.post-author .pa-fld3 {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;

    border-bottom: 1px solid rgba(216, 208, 189, .18);
}

.post-author .pa-ua {
    display: none !important;
}

.post-author .pa-author {
    background: none !important;
    background-image: none !important;
    padding-left: 0 !important;
}

.post-author .pa-author::before,
.post-author .pa-author::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

.post-author .pa-author span,
.post-author .pa-author a {
    background-image: none !important;
}

.post-author .pa-author {
    position: relative;
    left: 0;

    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

.post-author .millennium-field-label {
    color: #d8d0bd !important;
    font-weight: 700 !important;
}

/* =========================================================
   РАМКА АВАТАРА
   ========================================================= */

.post-author .pa-avatar {
    box-sizing: border-box;

    margin: 6px 0 8px !important;
    padding: 4px !important;

    border: 1px solid rgba(216, 208, 189, .28);
    border-top: 2px solid rgba(216, 208, 189, .65);

    background: #171a19;

    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}


/* сама картинка */

.post-author .pa-avatar img {
    display: block;

    box-sizing: border-box;

    width: 100%;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

.post-author .pa-title {
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    color: #b9b7ae !important;
}

/* =========================================================
   ГЛАВНЫЕ РАЗДЕЛЫ ФОРУМА
   ========================================================= */

#pun-category1 > h2,
#pun-category2 > h2,
#pun-category3 > h2,
#pun-category4 > h2 {
    box-sizing: border-box;

    min-height: 76px !important;
    margin: 0 !important;
    padding: 17px 20px 14px !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #141615 !important;

    border: none !important;
    border-top: 1px solid rgba(216, 208, 189, 0.28) !important;
    border-bottom: 1px solid rgba(216, 208, 189, 0.28) !important;

    color: #d8d0bd !important;

    font-family: Tektur, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;

    letter-spacing: 2px !important;
    text-align: center !important;
    text-transform: uppercase;
}


/* ---------- ПОДЗАГОЛОВКИ ---------- */

#pun-category1 > h2::after,
#pun-category2 > h2::after,
#pun-category3 > h2::after,
#pun-category4 > h2::after {
    display: block;

    margin-top: 6px;

    color: #b9b7ae;

    font-family: Arial, sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 400;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* БИБЛИОТЕКА */
#pun-category1 > h2::after {
    content: "\418 \421 \422 \41e \420 \418 \42f  \41c \418 \420 \410";
}

/* КОСМОПОРТ */
#pun-category2 > h2::after {
    content: "\41f \41e \414 \413 \41e \422 \41e \412 \41a \410  \41a  \418 \413 \420 \415";
}

/* ОРБИТА */
#pun-category3 > h2::after {
    content: "\418 \413 \420 \41e \412 \42b \415  \42d \41f \418 \417 \41e \414 \42b";
}

/* ЗЕМЛЯ */
#pun-category4 > h2::after {
    content: "\412 \41d \415 \418 \413 \420 \41e \412 \41e \415  \41e \411 \429 \415 \41d \418 \415";
}

/* =========================================================
   ПОРЯДОК ЭЛЕМЕНТОВ В ПРОФИЛЕ АВТОРА
   ========================================================= */

.post-author > ul {
    display: flex !important;
    flex-direction: column !important;
}


/* Имя */
.post-author .pa-author {
    order: 1;
}


/* Статус */
.post-author .pa-title {
    order: 2;
}


/* Аватар */
.post-author .pa-avatar {
    order: 3;
}


/* Персонажные поля */
.post-author .pa-fld1 {
    order: 4;
}

.post-author .pa-fld2 {
    order: 5;
}

.post-author .pa-fld3 {
    order: 6;
}


/* Форумная статистика — ниже персонажных полей */
.post-author .pa-posts {
    order: 10;
}

.post-author .pa-respect {
    order: 11;
}

.post-author .pa-time-visit {
    order: 12;
}

.post-author .pa-online {
    order: 13;
}

.post-author .pa-ua {
    order: 14;
}

.post-author .pa-fld1 {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(216, 208, 189, 0.20) !important;
}

.post-author .pa-fld3 {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(216, 208, 189, 0.20) !important;
}

.post-author .millennium-field-label {
    color: #d8d0bd !important;
    font-weight: 700 !important;
}

/* ===== ДО НОВОГО ТЫСЯЧЕЛЕТИЯ ===== */

#millennium-countdown {
    position: absolute;
    left: 50%;
    top: 415px;
    transform: translateX(-50%);

    width: 450px !important;
    box-sizing: border-box;
    padding: 8px 22px;

    background: rgba(18, 21, 19, 0.78);

    border-top: 1px solid rgba(216, 208, 189, 0.75);
    border-bottom: 1px solid rgba(216, 208, 189, 0.45);

    text-align: center;
    color: #d8d0bd;

    font-size: 11px;
    line-height: 20px;
    letter-spacing: 2px;

    z-index: 20;
}

#millennium-countdown b {
    margin-left: 10px;
    color: #f0eadc;
    font-size: 14px;
    letter-spacing: 1px;
}